@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css);
@import url(animate.css);

@font-face {
    font-family: Orion;
    src: url(../fonts/saturn-extendeditalic.ttf);
}

@font-face {
    font-family: Lato;
    src: url(../fonts/Lato/Lato-Regular.ttf);
}

@font-face {
    font-family: Lato-Light;
    src: url(../fonts/Lato/Lato-Light.ttf);
}

@font-face {
    font-family: Lato-Bold;
    src: url(../fonts/Lato/Lato-Bold.ttf);
}

@font-face {
    font-family: Lato-Black;
    src: url(../fonts/Lato/Lato-Black.ttf);
}

@font-face {
    font-family: Open-Sans;
    src: url(../fonts/Open_Sans/OpenSans-ExtraBold.ttf);
}

@font-face {
    font-family: Fontello;
    src: url(../fonts/fontello/fontello.ttf);
}

.loader {
  height: 100vh;
  width: 100vw;
  color: white;
}

.loader i {
  color: #2e2e2e;
  font-size: 50px;
  margin-right: -50%;
  top: 48%;
  left: 48%;
  transform: translate(-50%, -50%);
  position: absolute;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  width: 100%;
  background: white;
  height: 65px;
  padding: 10px 0;
  justify-content: center;
  position: fixed;
  box-shadow: 0 0 10px 0 grey;
  z-index: 1000;
}

@media screen and (max-width: 749px) {
  .nav {
    height: auto;
    padding: 20px 0;
  }
}

.nav__container {
  display: flex;
  max-width: 900px;
  width: 100%;
  justify-content: space-between;
}

@media screen and (max-width: 749px) {
  .nav__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.nav__list {
  display: flex;
  list-style: none;
  font-family: Lato;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  font-size: 14px;
}

.nav__list--item {
  margin: 0;
  padding: 0 20px;
}

.nav__list--item-red a {
  color: #fa0f0f !important;
}

.display-block {
  display: block;
}

.nav-bars {
  position: absolute;
  top: 25px;
  right: 20px;
  font-size: 23px;
  border: none;
  background: transparent;
  display: none;
  outline: none;
  cursor: pointer;
}

@media screen and (max-width: 749px) {
  .nav-bars {
    display: block;
  }
}

@media screen and (min-width: 750px) {
  .nav__list {
    display: flex !important;
  }
}

@media screen and (max-width: 749px) {
  .nav__list {
    margin: 20px 0 10px 0;
    flex-direction: column;
    display: none;
  }

  .nav__list--item {
    font-size: 18px;
    margin: 10px 0;
  }
}

.nav__list--item a {
  color: #2e2e2e;
  text-decoration: none;
}

.nav__company-name {
  display: flex;
  align-items: center;
  font-family: Orion;
  margin: 0;
  padding: 0 20px;
  font-weight: 600;
  font-size: 25px;
  color: #fa0f0f;
  text-decoration: none;
}

.nav__company-name span {
  margin-left: 10px;
}

.nav__list--item-phone {
  color: #2882f3;
  font-size: 16px;
}

.nav__list--item-phone i {
  margin-right: 5px;
}

.lesson {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  margin: 0;
  width: 30px;
  height: 30px;
  color: white;
  text-align: center;
  background-color: #2782F3;
  border: 3px solid white;
  font-family: Open-Sans;
}

.lead__container {
  height: 600px;
  width: 100%;
  margin-top: 85px;
  background: #2e2e2e;
  background-size: cover;
  -webkit-background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.lead__container-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #2e2e2e75;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  top: 0;
}

video {
  height: 100%;
  width: 100%;
  object-position: top;
  object-fit: fill;
}

.lead__container .lead__container-main, .lead__container .lead__container-second {
  text-align: center;
  display: block;
  font-family: Lato-Bold;
  margin: 10px 0;
  color: white;
  padding: 0 15px;
}

.lead__container-main {
  font-size: 45px;
}

.lead__container-second {
  font-size: 35px;
}

@media screen and (max-width: 749px) {
  .lead__container {
    max-height: 500px;
    height: auto;
    margin-top: 76px;
  }

  video {
    object-fit: contain;
    width: 100%;
  }

  .lead__container-main {
    font-size: 25px;
  }

  .lead__container-second {
    font-size: 15px;
  }
}

.info__container {
  display: flex;
  background: white;
  padding: 70px 20px 0 20px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.info__container--header {
  font-family: Lato;
  font-size: 18px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  justify-content: center;
  display: flex;
}

@media screen and (max-width: 749px) {
  .info__container--header {
    text-align: center;
  }
}

.info__box--container {
  width: 100%;
  max-width: 900px;
  justify-content: center;
  display: flex;
  margin-top: 45px;
  flex-direction: column;
}

.info__box--wrapper {
  width: 100%;
  display: flex;
}

@media screen and (max-width: 749px) {
  .info__box--wrapper {
    flex-direction: column;
  }
}

.info__box {
  justify-content: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-self: flex-start;
  padding: 0 20px;
}

@media screen and (max-width: 749px) {
  .info__box {
    width: calc(100%  - 40px);
    margin: 0 0 25px 0;
  }
}

.info__box--icon-fa {
  display: flex;
  justify-content: center;
  font-style: normal;
  font-size: 50px;
  color: #2782F3;
  margin: 0 0 10px 0;
}

.info__box--text {
  font-size: 16px;
  font-family: Lato-Light;
  letter-spacing: 0.7px;
  margin: 10px 0;
  text-align: center;
  line-height: 20px;
}

@media screen and (max-width: 749px) {
  .info__box--text {
    display: flex;
    max-width: 350px;
    align-self: center;
  }
}

.info__box--board {
  width: 100%;
  max-width: 900px;
  border-bottom: 1px solid #f6f6f6;
  padding: 30px 0;
  align-self: center;
  display: flex;
}

.main__container {
  display: flex;
  width: 100%;
  justify-content: center;
}

.main__content {
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  max-width: 860px;
  padding: 20px;
  background: white;
  min-height: 300px;
}

.main__content-contact {
  min-height: 400px;
}

.main__content h2 {
  font-family: Lato;
  font-size: 30px;
  margin: 10px 0;
  color: #797979;
}

.main__content h3 {
  font-family: Lato;
  font-size: 22px;
  margin: 10px 0;
  color: #2982f0
}

.main__content p {
  font-family: Lato-Light;
  font-size: 16px;
  max-width: 600px;
  text-align: justify;
  margin: 10px 0;
  line-height: 20px;
}

.main__content ul {
  font-family: Lato-Light;
  font-size: 16px;
}

.main__content li {
  list-style: none;
  margin: 10px 0;
  max-width: 600px;
}

.main__content-text {
  margin: 10px 0;
  padding: 0 20xpx;
  text-align: center;
  font-size: 20px !important;
  line-height: 30px !important;
}

@media screen and (max-width: 749px) {
  .offer--list {
      padding: 0 20px;
  }

  .main__content-ul {
    padding: 0;
  }
}

.offer--list li {
  list-style: circle;
}

.main__content li p {
  padding: 0 0 0 20px;
  width: auto;
  max-width: 550px;
}

.main__content b {
  font-family: Lato;
  font-size: 18px;
}

@media screen and (max-width: 749px) {
  .main__content p {
    max-width: none;
    width: 100%;
  }
}

.main__content--text-box {
  margin: 10px 0;
}

.main__content--text-bold {
  font-family: Lato;
  font-size: 22px;
  max-width: 600px;
  text-align: justify;
  margin: 2px 0;
  line-height: 25px;
  display: block;
  color: #2882f3;
}

@media screen and (max-width: 749px) {
  .main__content--text-bold {
    text-align: left;
  }
}

.main__content h5.main__content--text-bold {
  margin: 10px 0 0 0;
  text-align: left;
  font-size: 22px;
  color: #2882f3;
}

.main__content--text {
  font-family: Lato-Light;
  font-size: 18px;
  max-width: 600px;
  text-align: justify;
  margin: 2px 0;
  line-height: 20px;
  display: block;
}

.main__content i {
  margin: 0 5px 0 0;
  font-size: 16px;
}

.main__content h4 {
  font-family: Lato;
  text-align: center;
  font-size: 24px;
  color: #393939;
  margin: 50px 0 30px 0;
}

.main__content h5 {
  font-family: Lato;
  text-align: center;
  font-size: 20px;
  color: #393939;
  margin: 70px 0 0 0;
}

.offer__info {
  width: 100%;
  height: 225px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/background_3.jpg);
  background-position: center;
  background-size: cover;
}

.offer__info-2 {
  width: 100%;
  height: 225px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/background_4.jpg);
  background-position: center;
  background-size: cover;
}

.offer__info span {
  font-family: Lato-Bold;
  font-size: 35px;
  color: white;
  text-align: center;
  padding: 0 20px;
  text-shadow: 1px 2px black;
}

@media screen and (max-width: 749px) {
  .offer__info span {
    font-size: 28px;
  }
}

.offer__container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-top: 25px;
  flex-wrap: wrap;
}

@media screen and (max-width: 749px) {
  .offer__container {
    flex-direction: column;
  }

  .offer__container ul {
    align-items: center;
  }
}

/*  CHILD 1 */
.offer__box:nth-child(1) {
  border-top: 10px solid #2882f3;

}

.offer__box:nth-child(1) .offer__box-price--number, .offer__box:nth-child(1) .offer__box-list i {
  color: #2882f3;
}

/* CHILD 2 */
.offer__box:nth-child(2) {
  border-top: 10px solid #fa0f0f;
  background: #393939;
}

.offer__box:nth-child(2) .offer__box-price--number, .offer__box:nth-child(2) .offer__box-list i {
  color: #fa0f0f;
}

/* CHILD 3 */
.offer__box:nth-child(3) {
  border-top: 10px solid #ffc107;
}

.offer__box:nth-child(3) .offer__box-price--number, .offer__box:nth-child(3) .offer__box-list i {
  color: #ffc107;
}

.offer__box {
  background: #2e2e2e;
  color: white;
  padding: 30px 5px;
  display: flex;
  align-self: stretch;
  justify-content: flex-start;
  flex: 1;
  flex-direction: column;
}

.offer__box-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  list-style: none;
  padding-left: 20px;
}

.offer__box-list li {
  display: flex;
  font-family: Lato-Light;
  font-size: 16px;
  margin: 40px 0 0 0;
}

.offer__box-list li b {
  font-family: Lato;
  font-size: 16px;
}

.offer__box-price {
  font-family: Lato;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 40px 0 30px 0;
}

.offer__box-price--number {
  font-size: 22px;
}

.offer__box-price--info {
  margin: 5px 0 0 0;
  font-size: 16px;
  font-family: Lato-Light;
  color: #d7d7d7;
}

.offer__box--header {
  font-family: Lato;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.offer__box--header i {
  color: white;
  font-size: 40px;
  margin-bottom: 15px;
}

.main__content--text-phone {
  font-size: 25px;
  color: red;
  font-family: Lato-Bold;
}

.main__content--text-phone i {
  color: black;
  font-size: 22px;
}

footer {
  width: 100%;
  display: flex;
  background: #1b1b1b;
  height: 150px;
  justify-content: center;
}

@media screen and (max-width: 749px) {
  footer {
    height: auto;
  }
}

.footer__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 860px;
  padding: 20px;
}

@media screen and (max-width: 749px) {
  .footer__container {
    flex-direction: column;
  }
}

.footer__container--main-info {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
}

.footer__container--main-info h4 {
  font-family: Lato;
  font-size: 13px;
  color: white;
  margin: 0 0 15px 0;
}


.footer__container--main-info h4 span {
  font-family: Lato-Light;
  font-size: 12px;
  color: white;
  display: block;
}

.footer__container--main-info span {
  font-family: Lato-Light;
  font-size: 12px;
  color: white;
}

.footer__container--main-info span i {
  margin: 0 5px 0 0;
}

.howto__container {
  margin-top: 100px;
}

.howto__container ul li b {
  color: #fa0f0f;
}

.howto__text {
  color: black;
  font-family: Lato;
  font-size: 18px;
  text-align: center;
  display: block;
  margin: 40px 0;
}

.howto__bold {
  color: black;
  font-family: Lato;
}

select {
  border: 1px solid #ccc;
  border-radius: 3px;
  overflow: hidden;
  padding: 5px 8px;
  box-shadow: none;
  background: transparent;
  background-image: none;
  font-size: 12px;
  -webkit-appearance: none;
  outline: none;
}

.s-hidden {
  visibility:hidden;
  padding-right:10px;
}
.select {
  margin-left: 5px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  color: #000000;
  border: 1px solid #ccc;
  width: 130px;
}
.styledSelect {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: white;
  padding: 5px 8px;
  line-height: 16px;
  font-size: 12px;
}
.styledSelect:after {
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-color: black transparent transparent transparent;
  position: absolute;
  top: 10px;
  right: 8px;
}
.styledSelect:active, .styledSelect.active {
  background-color:#eee;
}
.options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0 0;
  padding: 0 0;
  list-style:none;
  border: 1px solid #ccc;
  background-color: white;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 14px !important;
}
.options li {
  padding: 0 6px;
  margin: 0 0;
  padding: 10px;
}
.options li:hover {
  background-color:#39f;
  color:white;
}

.totalPrice {
  font-size: 22px;
  color: #fa0f0f;
  font-family: Lato-Bold;
  text-decoration: underline;
  padding: 0 40px;
}

@media screen and (max-width: 749px) {
  .totalPrice {
    padding: 0;
  }
}

.vehicle-img {
  padding: 0 20px;;
  width: calc(100% - 40px);
  max-width: 500px;
}

.main__content-news {
  background: linear-gradient(90deg, #195298 0%, #216ac5 35%, #2782F3 100%);
  justify-content: center;
  min-height: 400px !important;
  flex-direction: column;
}

.news__p {
  align-self: center;
  text-align: center;
  font-weight: 500;
  font-size: 28px;
  color: white;
  font-family: Lato;
  margin: 15px 0;
  display: block;
  padding: 0 20px;
}

.news__p--bold {
  font-family: Lato-Bold;
  font-size: 30px;
}

.news__p:first-child {
  font-family: Lato-Bold;
}

.news__p:last-child {
  font-size: 32px;
  font-family: Lato-Bold;
}

@media screen and (max-width: 749px) {
  .news__p {
    font-size: 22px !important;
  }
}