* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Haval", sans-serif;
  font-size: 16px;
  color: #121314;
  position: relative;
  font-weight: 400;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  max-width: 1920px;
  background: #f8f8f8;
}

.fancybox-slide--html .fancybox-close-small {
  /* color: white !important; */
}

.fancybox-button svg {
  transform: scale(2);
}

.compensate-for-scrollbar {
  margin-right: auto !important;
  overflow: auto !important;
}

.fancybox-content {
  overflow: hidden;
}

input[type="file"] {
  display: none;
}

sup {
  display: inline-block;
  vertical-align: top;
  top: -3px;
  position: relative;
  font-size: 80%;
}

img {
  border-style: none;
  vertical-align: middle;
  max-width: 100%;
}

select::-ms-expand {
  display: none;
}

select::-ms-expand {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.fancybox-type-image .fancybox-close {
  right: 9px;
}

.fancybox-close {
  background: url(../img/bg_close.png) 50% 50% no-repeat !important;
  color: black;
  width: 22px !important;
  height: 22px !important;
  top: -25px !important;
  right: -25px !important;
}

.container {
  margin: 0px auto;
  padding: 0px 15px;
  max-width: 1140px;
  position: relative;
}

@media (min-width: 576px) {
  .container {
    width: 540px;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .container {
    width: 720px;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .container {
    width: 960px;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1550px;
    max-width: 100%;
  }
}

.has-danger input,
.has-danger select,
.has-danger textarea {
  border-width: 2px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #eba5a3;
}

#form_popup,
#form_popup2 {
  display: none;
}

.popup_container {
  width: 420px;
  max-width: 100%;
  padding: 5px 29px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box; /* border: 2px solid black; */
  background: white;
  text-align: center;
  padding-bottom: 30px;
}

.popup_container .agree_field {
  color: black;
  font-size: 10px;
}

.popup_container .agree_field a {
  color: black;
}

.popup_container h2 {
  font-size: 20px;
  font-weight: 700;
  /* text-transform: uppercase; */
  padding: 0px;
  margin: 0px;
  padding-bottom: 29px;
  text-align: center;
  padding-top: 25px;
  color: black;
}

.popup_container .form_comment {
  text-align: center;
  font-size: 20px;
  color: #414141;
  padding-bottom: 15px;
}

.popup_container .form_comment a {
  display: block;
  color: #414141;
  text-decoration: none;
}

.popup_container .close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  -moz-transform: rotate(45deg); /* Aey Firefox */
  -ms-transform: rotate(45deg); /* Aey IE */
  -webkit-transform: rotate(45deg); /* Aey Safari, Chrome, iOS */
  -o-transform: rotate(45deg); /* Aey Opera */
  transform: rotate(45deg);
  cursor: pointer;
}

.popup_container .close:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 16px;
  width: 34px;
  height: 1px;
  display: block;
  background-color: #a8a8a8;
}

.popup_container .close:after {
  content: "";
  position: absolute;
  left: 16px;
  top: 0px;
  width: 1px;
  height: 34px;
  display: block;
  background-color: #a8a8a8;
}

.popup_container .form-group {
  margin-bottom: 19px;
}

.not_agree button {
  background-color: #cccccc !important;
  cursor: auto !important;
  color: white !important;
}

.agree_field {
  font-size: 10px;
  line-height: 100%;
  position: relative;
  display: inline-block;
  padding-left: 20px;
  top: 0px;
}

.agree_field input {
  position: absolute;
  top: -1px;
  left: 0px;
  margin: -0px;
}

.agree_field span {
  padding-left: 25px;
  display: inline-block;
}

form {
}

form .form-group {
  margin-bottom: 10px;
  position: relative;
}

form .form-group input[type="tel"],
form .form-group input[type="text"],
form .form-group select {
  height: 48px;
  width: 100%;
  color: #121314;
  font-size: 12px;
  box-sizing: border-box;
  font-weight: 400;
  font-family: "Haval", sans-serif;
  padding: 0px 20px;
  outline: none;
  background: white;
  border-radius: 0px;
  border: 1px solid #121314;
  transition: all 0.1s;
}

form .form-group input[type="tel"]:hover,
form .form-group input[type="text"]:hover,
form .form-group select:hover {
  border-width: 2px;
}

form .form-group input[type="tel"]::placeholder,
form .form-group input[type="text"]::placeholder {
  color: #121314;
}

form .form-group select {
  appearance: none;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  background: url(../img/ico_select.png) 95% 50% no-repeat #ffffff;
  font-family: "Haval", sans-serif;
  outline: none;
}

form .form-group button {
  width: 100%;
  cursor: pointer;
  font-family: "Haval", sans-serif;
  outline: none;
}

form .form-group button:hover {
}

.form_title {
  color: black;
  font-size: 36px; /* text-transform: uppercase; */
  padding: 0px;
  margin: 0px;
  text-align: center;
  padding-bottom: 47px;
}

.form_title span {
  display: block;
  color: #ff0000;
  white-space: nowrap;
}

.btn {
  box-sizing: border-box;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: 48px;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn span {
  display: block;
  position: relative;
  padding-right: 20px;
  z-index: 1;
}

.btn:before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background: #121314;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.btn:after {
  content: "";
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: block;
  transform: skewX(-35deg);
  position: absolute;
  top: 0;
  left: -15px;
  border: 2px solid #121314;
  background: #121314;
  transition: all 0.3s;
}

.btn.glass {
  color: #121314;
}

.btn.glass:after {
  background: transparent;
}

.btn.light:after {
  background: #00cabf;
  border-color: #00cabf;
}

.btn.light:before {
  background: #00cabf;
  z-index: 1;
}

.btn.light:hover:after {
  background: #ffffff;
  border-color: #00cabf;
}

.btn.light:hover {
  color: #00cabf;
}

.btn.white {
  color: #121314;
}

.btn.white:after {
  background: #ffffff;
  border-color: #ffffff;
}

.btn:hover:before {
  background: #00cabf;
}

.btn:hover:after {
  background: #00cabf;
  border-color: #00cabf;
}

.btn:hover {
  color: #ffffff;
}

/**********************
        HEADER
**********************/

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: #f8f8f8;
  padding: 24px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo2 {
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid #C0C0C0;
}
.head_wrap {
  display: flex;
  flex-direction: column;
  gap: 12px 0;
}

.top_phone {
  display: block;
  font-weight: 500;
  padding: 5px 0 5px 28px;
  background: url("../img/ico_phone.svg") 0 50% no-repeat;
}

.top_phone:hover {
  text-decoration: underline;
}

.top_addr {
  padding: 5px 0 5px 28px;
  background: url("../img/ico_loc.svg") 0 50% no-repeat;
}

header .btn {
  width: 270px;
  margin-right: -130px;
}

header .m_btn {
  display: none;
}

.menu {
  position: fixed;
  top: 108px;
  left: 0;
  right: 0;
  z-index: 5;
  border-top: 1px solid #bdbdbd;
  padding: 15px 0;
  background: #f8f8f8;
}

.menu .container {
  display: flex;
  justify-content: space-between;
}

.menu .container > div {
  display: flex;
  gap: 0 32px;
}

.menu a {
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s;
}

.menu a:hover {
  color: #00cabf;
}

/**********************
        BANNER
**********************/

.banner {
  position: relative;
  margin-top: 150px;
}

.banner .swiper-slide {
  overflow: hidden;
}

.banner picture img {
  max-width: none;
  height: 750px;
  transform: translateX(-50%);
  left: 50%;
  display: block;
  position: relative;
}

.title_container {
  position: absolute;
  width: 100%;
  left: 0;
  padding: 0 15px;
  top: 53px;
  top: 81px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.title_container .title_wrap {
  margin: 0 auto;
  max-width: 100%;
  padding: 30px 136px 30px;
  background: #ffffffb2;
  text-align: center;
}

.title_container.title_wt .title_wrap {
  background: transparent;
  color: #ffffff;
}

.title_container .title1 {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  margin-top: -50px;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  z-index: 2;
}
.title_container .title1:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00cabf;
  transform: skewX(-35deg);
  z-index: -1;
}

.title_container .title1 span {
  padding: 10px 0 10px 44px;
  background: url("../img/title_ico.png") 0 50% no-repeat;
}

.title_container .title2 {
  font-size: 38px;
  font-weight: 500;
  line-height: 120%;
}
.title_container .title2.padding-top {
  padding-top: 120px;
}

.title_container .title2 span {
  display: inline-block;
  color: #00cabf;
}

.title_container .title2 span b {
  display: block;
  transform: skewX(32deg);
  font-weight: 500;
}

.title_container .btn {
  width: 336px;
  margin: 24px auto 0;
  /* overflow: initial; */
}
.title_container .btn:after {
  /* left: -5px; */
}
.title_container .btn:before {
  background: transparent;
}
.title_container .btn:hover:before {
  background: transparent;
}

.lines {
  background: url("../img/bg_lines.svg") 100% -560px no-repeat;
  background-size: 100%;
}

.timer_block {
  padding-top: 50px;
}

.timer_block .container {
  display: flex;
  gap: 0 130px;
  align-items: center;
}

.timer_title {
  font-size: 20px;
  text-transform: uppercase;
  line-height: 120%;
  margin-bottom: 25px;
  font-weight: 500;
}

.banner .swiper-button-next,
.banner .swiper-button-prev {
  color: #00cabf;
}
.banner .swiper-button-prev {
  left: 2%;
}
.banner .swiper-button-next {
  right: 2%;
}

.banner .swiper-pagination-bullet {
  background: #ffffff;
}
.banner .swiper-pagination-bullet-active {
  background: #00cabf;
}

/**********************
         CARS
**********************/

.cars_items {
  margin-top: 120px;
}

.cars_items_title {
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 500;
}

.car_item {
  padding: 50px 0;
  background: #fff;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
  margin-bottom: 60px;
}

.car_item .container {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
}

.car_text {
  width: 25%;
}

.car_text .car_name {
  font-size: 40px;
  font-weight: 500;
}

.car_text .car_props {
  margin: 35px 0;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
}

.car_text .car_props a {
  display: block;
  padding: 7px 0 7px 46px;
  background: url("../img/arrow_r.svg") 0 50% no-repeat;
  font-size: 20px;
}

.car_text .car_props a span {
  color: #00cabf;
  font-size: 24px;
}

.car_text .car_props .car_profit {
  white-space: nowrap;
}

.car_text .car_btns {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
}

.car_text .car_btns .anchor {
  display: block;
  color: #00cabf;
  text-transform: uppercase;
  text-decoration: underline;
  margin-top: 50px;
  transition: all 0.3s;
}

.car_text .car_btns .anchor:hover {
  color: #121314;
}

.car_image_wrap {
  width: 68%;
  display: flex;
  justify-content: space-between;
}

.car_colors {
  display: flex;
  flex-direction: column;
  gap: 23px 0;
}

.car_colors > div {
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
}

.car_colors > div.active:before {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  left: -3px;
  width: 54px;
  height: 54px;
  border: 1px solid #121314;
}

.car_specs {
  display: flex;
  gap: 0 40px;
  width: 60%;
  align-self: flex-end;
}

.car_specs .column {
  display: flex;
  flex-direction: column;
  gap: 18px 0;
}

.car_specs .column div {
  padding: 5px 0 5px 35px;
}

.car_specs .column div.ico1 {
  background: url("../img/car_ico1.svg") 0 50% no-repeat;
}

.car_specs .column div.ico2 {
  background: url("../img/car_ico2.svg") 0 50% no-repeat;
}

.car_specs .column div.ico3 {
  background: url("../img/car_ico3.svg") 0 50% no-repeat;
}

.car_specs .column div.ico4 {
  background: url("../img/car_ico4.svg") 0 50% no-repeat;
}

.car_specs .column div.ico5 {
  background: url("../img/car_ico5.svg") 0 50% no-repeat;
}

.car_specs .column div.ico6 {
  background: url("../img/car_ico6.svg") 0 50% no-repeat;
}

.car_gallery_wrap {
  width: 37%;
}

.car_gallery_tabs {
  display: flex;
  margin-bottom: 35px;
  gap: 0 30px;
}

.car_gallery_tabs > div {
  color: #626970;
  font-size: 18px;
  position: relative;
  cursor: pointer;
}

.car_gallery_tabs > div:hover {
  color: #121314;
  text-decoration: underline;
}

.car_gallery_tabs > div.active {
  font-weight: 500;
  color: #121314;
}

.car_gallery_tabs > div.active:hover {
  text-decoration: none;
}

.car_gallery_tabs > div:first-child:after {
  content: "/";
  color: #00cabf;
  position: absolute;
  right: -20px;
  font-weight: 400;
}

.car_gallery {
  display: none;
  gap: 0 18px;
}

.car_gallery.show {
  display: flex;
}

.car_gallery a {
  width: 176px;
  height: 112px;
}

.car_gallery a img {
  width: 100%;
  height: 100%;
}

/**********************
       COMPLECTS
**********************/

#instock {
  padding: 120px 0;
}

.instock_title {
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 40px;
}

#filter_table {
  display: none;
}

.filter_models {
  display: inline-flex;
  gap: 0 40px;
  border-bottom: 1px solid #929090;
}

.filter_models > div {
  font-size: 20px;
  font-weight: 500;
  color: #929090;
  padding: 10px 12px 20px;
  border-bottom: 4px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.filter_models > div.active {
  border-color: #00cabf;
  color: #121314;
}

.filter_models > div:hover {
  color: #121314;
}

.filter_compls {
  margin-top: 30px;
  display: flex;
  gap: 0 40px;
}

.filter_compls > div {
  width: 260px;
  cursor: pointer;
  display: none;
}

.filter_compls > div.show {
  display: flex;
}

.filter_compls > div.active {
  color: #ffffff;
}

.filter_compls > div.active:after {
  background: #00cabf;
  border-color: #00cabf;
}

.tb_complects {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tb_complects > div:first-child {
  display: none;
}

.tb_complects > div {
  padding: 40px 60px;
  background: #fff;
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.compl_title {
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
}

.compl_title b {
  display: block;
  margin-top: 8px;
  font-weight: 500;
}

.compl_image {
  margin-top: 40px;
  text-align: center;
}

.compl_techs {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 0 30px;
}

.compl_techs > div {
  color: #626970;
}

.compl_techs > div b {
  display: block;
  font-weight: 400;
  font-size: 20px;
  margin-top: 8px;
  color: #121314;
}

.compl_btns {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px 0;
}

.tb_complects_showmore {
  display: block;
  margin-top: 40px;
  font-size: 18px;
  text-decoration: underline;
}

/**********************
       CREDIT
**********************/

.credit {
  padding: 50px 0;
  background: url("../img/credit_bg.jpg") 50% no-repeat;
}

.credit > img {
  display: none;
}

.credit_wrap {
  background: rgba(18, 19, 20, 0.7);
  backdrop-filter: blur(10px);
  width: 475px;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 50px;
  color: #ffffff;
}

.credit_title {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
}

.credit_comment {
  font-size: 20px;
  line-height: 130%;
  margin-top: 20px;
}

.credit_comment b {
  font-weight: 500;
  font-size: 24px;
}

#credit_form {
  margin-top: 20px;
}

#credit_form input[type="tel"] {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

#credit_form input[type="tel"]::placeholder {
  color: #ffffff;
}

/**********************
        TRADEIN
**********************/

.tradein {
  margin-top: 120px;
  background: url("../img/tradein_bg.png") 100% 50% no-repeat;
  background-size: 58%;
}

.tradein > img {
  display: none;
}

.tradein_wrap {
  margin-left: 130px;
}

.tradein_title {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
}

.tradein_comment {
  margin-top: 20px;
  font-size: 20px;
  line-height: 140%;
}

#tradein_form {
  margin-top: 20px;
  width: 371px;
  max-width: 100%;
}

#tradein_form .form-group {
  margin-bottom: 16px;
}

/**********************
      TEST_DRIVE
**********************/

.test_drive {
  margin-top: 120px;
  display: flex;
}

.test_drive_wrap {
  width: 47%;
  padding: 100px 130px;
  color: #ffffff;
  background: #121314;
}

.test_drive_title {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
}

.test_drive_comment {
  margin-top: 20px;
  font-size: 20px;
  line-height: 130%;
}

#test_drive_form {
  margin-top: 20px;
}

#test_drive_form input[type="tel"] {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

#test_drive_form input[type="tel"]::placeholder {
  color: #ffffff;
}

.test_drive_img {
  width: 53%;
}

.test_drive_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/**********************
        OFFER
**********************/

.offer {
  margin-top: 120px;
  padding: 70px 0;
  background: url("../img/offer_bg.jpg") 50% no-repeat;
}

.offer_wrap {
  width: 560px;
  max-width: 100%;
  margin-left: 130px;
  position: relative;
  z-index: 1;
}

.offer_title {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 130%;
}

.offer_comment {
  margin-top: 20px;
  line-height: 130%;
  font-size: 20px;
}

#offer_form {
  margin-top: 20px;
}

#offer_form .form-group {
  margin-bottom: 16px;
}

.offer_car {
  position: absolute;
  right: 55px;
  top: -95px;
  width: 55%;
}

/**********************
      ADVANTAGES
**********************/

.advantages {
  padding: 100px 0 120px;
  background: #121314;
  color: #ffffff;
}

.ags_title {
  text-align: center;
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 500;
}

.ags_list {
  margin-top: 30px;
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  gap: 24px 0;
}

.ags_list > div {
  width: 32.3%;
  background-color: #2a2d30 !important;
  min-height: 200px;
  padding-top: 108px;
  text-align: center;
  line-height: 130%;
  text-transform: uppercase;
}

.ags_list > div.ico1 {
  background: url("../img/ags_ico1.svg") 50% 48px no-repeat;
}

.ags_list > div.ico2 {
  background: url("../img/ags_ico2.svg") 50% 48px no-repeat;
}

.ags_list > div.ico3 {
  background: url("../img/ags_ico3.svg") 50% 48px no-repeat;
}

.ags_list > div.ico4 {
  background: url("../img/ags_ico4.svg") 50% 48px no-repeat;
}

.ags_list > div.ico5 {
  background: url("../img/ags_ico5.svg") 50% 48px no-repeat;
}

.ags_list > div.ico6 {
  background: url("../img/ags_ico6.svg") 50% 48px no-repeat;
}

/**********************
      CONTACTS
**********************/

.contacts {
  background: #121314;
  padding-top: 20px;
}

.contacts_title {
  color: #ffffff;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
}

.cont_wrap {
  width: 560px;
  max-width: 100%;
  padding: 40px;
  position: absolute;
  top: 120px;
  z-index: 1;
  background: #ffffff;
}

.bot_logo_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot_addr {
  margin-top: 30px;
  padding: 5px 0 5px 32px;
  background: url("../img/ico_loc_bot.svg") 0 50% no-repeat;
}

.bot_logo1 {
  margin-bottom: 8px;
}

.bot_phone {
  display: block;
  margin-top: 20px;
  padding: 5px 0 5px 32px;
  background: url("../img/ico_phone_bot.svg") 0 50% no-repeat;
}

.bot_time {
  margin-top: 20px;
  padding: 5px 0 5px 32px;
  background: url("../img/ico_time.svg") 0 50% no-repeat;
}

.quest {
  margin-top: 30px;
  line-height: 130%;
}

.cont_wrap .btn {
  margin-top: 30px;
}

#map1 {
  margin-top: 40px;
  width: 100%;
  height: 600px;
  background: url("../img/map.jpg") 50% no-repeat;
}

/**********************
        FOOTER
**********************/

footer {
  padding: 60px 0;
  background: #121314;
  color: #ffffff;
}

.foot_wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.foot_wrap .yurinfo {
  line-height: 130%;
  font-size: 14px;
}

.foot_links {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}

.foot_links a {
  font-size: 14px;
}

footer .disclamer {
  color: #ffffff;
  font-size: 14px;
  text-align: left;
  display: none;
  padding-top: 20px;
  line-height: 130%;
}

/*------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 1600px) {
  .container {
    padding: 0 30px;
  }

  /*******************************************************************/

  header .btn {
    margin-right: -50px;
  }

  /*******************************************************************/

  .test_drive_wrap {
    padding: 100px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 15px;
  }
  .title_container .title2.padding-top {
    padding-top: 0;
  }
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
  .btn {
    font-size: 12px;
  }

  .top_addr {
    display: none;
  }

  header .btn {
    display: none;
  }

  header {
    padding: 15px 0;
  }

  .menu {
    top: 88px;
  }

  .menu a {
    font-size: 12px;
  }

  .menu .container > div {
    gap: 0 20px;
  }

  /*******************************************************************/

  .banner {
    margin-top: 130px;
  }

  .banner picture img {
    height: 500px;
  }

  .title_container {
    top: 54px;
  }

  .title_container .title_wrap {
    padding: 20px 30px;
  }

  .title_container .title1 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: -38px;
  }

  .title_container .title2 {
    font-size: 24px;
  }

  .title_container .btn {
    margin-top: 10px;
  }

  .timer_block .container {
    flex-direction: column-reverse;
    gap: 30px 0;
  }

  div[id^="timer"] {
    white-space: nowrap;
    /*transform: scale(.7) !important;*/
  }

  .timer_text {
    width: 100%;
  }

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

  .timer_title {
    text-align: center;
  }

  /*******************************************************************/

  .car_text {
    width: 35%;
    position: relative;
    margin-bottom: 30px;
  }

  .car_text .car_btns .anchor {
    margin-top: 20px;
    font-size: 14px;
  }

  .car_image_wrap {
    width: 60%;
    align-items: center;
    gap: 0 30px;
  }

  .car_colors {
    gap: 10px 0;
  }

  .car_colors > div {
    width: 25px;
    height: 25px;
  }

  .car_colors > div.active:before {
    width: 29px;
    height: 29px;
  }

  .car_specs {
    gap: 0 20px;
  }

  .car_specs .column {
    gap: 10px 0;
  }

  .car_specs .column div {
    font-size: 12px;
    line-height: 130%;
  }

  .car_gallery a {
    height: auto;
  }

  /*******************************************************************/

  #instock {
    padding: 60px 0;
  }

  .instock_title {
    font-size: 34px;
  }

  .tb_complects > div {
    padding: 30px 15px;
  }

  .compl_techs > div {
    font-size: 12px;
  }

  .compl_techs > div b {
    font-size: 14px;
  }

  /*******************************************************************/

  .tradein {
    margin-top: 60px;
  }

  .tradein_wrap {
    margin-left: 0;
  }

  .tradein_title {
    font-size: 34px;
  }

  .tradein_comment {
    font-size: 16px;
  }

  #tradein_form .form-group {
    margin-bottom: 10px;
  }

  /*******************************************************************/

  .test_drive {
    margin-top: 60px;
  }

  .test_drive_wrap {
    padding: 30px;
  }

  .test_drive_title {
    font-size: 34px;
  }

  .test_drive_comment {
    font-size: 16px;
  }

  /*******************************************************************/

  .offer {
    margin-top: 60px;
  }

  .offer_wrap {
    margin-left: 0;
  }

  .offer_title {
    font-size: 34px;
  }

  .offer_comment {
    font-size: 16px;
  }

  #offer_form {
    width: 450px;
  }

  .offer_car {
    right: 0;
    top: 0;
  }

  /*******************************************************************/

  .cont_wrap {
    padding: 15px;
    width: 500px;
  }

  /*******************************************************************/

  .foot_wrap .yurinfo {
    font-size: 12px;
  }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
  .logo1 {
    width: 25%;
  }

  .logo2 {
    width: 25%;
  }

  .menu {
    top: 68px;
  }

  .menu a {
    font-size: 10px;
  }

  /*******************************************************************/

  .banner {
    margin-top: 105px;
  }

  .banner picture img {
    height: 370px;
  }

  .title_container .title1 {
    font-size: 18px;
  }

  .title_container .title2 {
    font-size: 22px;
  }

  .title_container .btn {
    display: none;
  }

  div[id^="timer"] {
    white-space: nowrap;
    transform: scale(0.8) !important;
  }

  /*******************************************************************/

  .lines {
    background-position: 100% -200px;
  }

  .cars_items {
    margin-top: 60px;
  }

  .car_item .container {
    flex-direction: column;
    padding-top: 50px;
  }

  .car_image_wrap {
    width: 100%;
    order: 1;
  }

  .car_text {
    width: 100%;
    order: 2;
    position: unset;
  }

  .car_text .car_props {
    margin: 20px 0;
  }

  .car_text .car_name {
    position: absolute;
    top: 0;
    left: 15px;
  }

  .car_gallery_wrap {
    order: 3;
    width: 100%;
  }

  .car_gallery_tabs {
    justify-content: center;
  }

  .car_gallery {
    justify-content: center;
  }

  .car_specs {
    order: 4;
    width: 100%;
    margin-top: 30px;
  }

  /*******************************************************************/

  #instock {
    padding: 0;
  }

  .tb_complects {
    grid-template-columns: repeat(2, 1fr);
  }

  /*******************************************************************/

  .credit {
    margin-top: 60px;
    background: #121314;
    padding: 0;
  }

  .credit > img {
    display: block;
  }

  .credit_wrap {
    width: 100%;
    background: none;
    padding: 30px 0;
    text-align: center;
  }

  .credit_comment br {
    display: none;
  }

  #credit_form {
    text-align: left;
  }

  /*******************************************************************/

  .tradein {
    margin-top: 0;
    background: none;
  }

  .tradein > img {
    display: block;
  }

  .tradein_wrap {
    padding: 30px 0;
    text-align: center;
  }

  .tradein_comment br {
    display: none;
  }

  #tradein_form {
    width: 100%;
    text-align: left;
  }

  /*******************************************************************/

  .test_drive {
  }

  .test_drive {
    flex-direction: column-reverse;
  }

  .test_drive_wrap {
    width: 100%;
    text-align: center;
  }

  .test_drive_comment br {
    display: none;
  }

  .test_drive_img {
    width: 100%;
  }

  #test_drive_form {
    text-align: left;
  }

  /*******************************************************************/

  .offer {
    padding: 40px 0;
  }

  .offer_car {
    display: none;
  }

  .offer_wrap {
    text-align: center;
    width: 100%;
  }

  #offer_form {
    width: 100%;
    text-align: left;
  }

  /*******************************************************************/

  .advantages {
    padding: 60px 0;
  }

  .ags_title {
    font-size: 34px;
  }

  .ags_list {
    gap: 20px 0;
  }

  .ags_list > div {
    width: 49%;
  }

  /*******************************************************************/

  .cont_wrap {
    position: relative;
    width: 100%;
    top: 0;
    margin-top: 30px;
  }

  #map1 {
    height: 400px;
    background-position: 71%;
  }

  /*******************************************************************/

  footer {
    padding: 30px 0;
  }

  .foot_wrap {
    flex-flow: wrap;
    gap: 20px 0;
  }

  .foot_wrap .yurinfo {
    width: 100%;
  }
}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 767px) {
  .fancybox-type-image {
    width: 100% !important;
    margin: 0px !important;
    left: 0px !important;
  }

  .fancybox-close {
    right: 9px !important;
    top: 9px !important;
  }

  .fancybox-inner {
    width: 100% !important;
    margin: 0px !important;
    padding: 0px !important;
  }

  .fancybox-wrap {
    margin: 0px !important;
    width: 100% !important;
    left: 0px !important;
    top: 20px !important;
  }

  .fancybox-type-image .fancybox-close {
    top: -8px !important;
  }

  .popup_container {
    width: 100%;
  }

  .agree_field {
    font-size: 2.5vw;
  }

  /*******************************************************************/

  header .m_btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    width: 30px;
    height: 21px;
    z-index: 1;
    top: 3px;
    right: 15px;
  }

  header .m_btn span {
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    background: #121314;
    transition: all 0.3s linear;
  }

  header .m_btn span:nth-child(2) {
    opacity: 1;
  }

  header .m_btn.active span:nth-child(1) {
    transform-origin: top right;
    transform: rotate(-45deg);
    top: -1px;
  }

  header .m_btn.active span:nth-child(2) {
    opacity: 0;
  }

  header .m_btn.active span:nth-child(3) {
    transform-origin: bottom right;
    transform: rotate(45deg);
    bottom: -1px;
  }

  .menu {
    display: block;
    position: fixed;
    top: 107px;
    background: white;
    width: 100%;
    height: auto;
    right: -100%;
    left: unset;
    transition: all 0.3s linear;
    z-index: 2;
    padding: 20px 0;
  }

  .menu.active {
    right: 0;
  }

  .menu .container,
  .menu .container > div {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }

  /*******************************************************************/

  header {
    padding: 10px 0 5px;
    box-shadow: 0px 0px 10px #b3b3b3;
  }

  header .container {
    flex-flow: wrap;
    justify-content: flex-start;
  }

  header .logo1 {
    order: 1;
    width: 35%;
    margin-right: 10px;
  }

  header .logo2 {
    order: 2;
    width: 50%;
    margin-top: -5px;
  }

  .head_wrap {
    order: 3;
    width: 100%;
    align-items: center;
    margin-top: 5px;
  }

  header .btn {
    display: none;
  }

  .top_addr {
    display: none;
  }

  .top_phone {
    font-size: 14px;
  }

  /*******************************************************************/

  .banner {
    margin-top: 95px;
  }

  .banner picture img {
    height: auto;
    width: 100%;
  }

  .title_container {
    position: relative;
    top: 0;
    padding: 0;
  }

  .title_container .title_wrap {
    padding: 0;
    background: none;
    margin-bottom: 20px;
  }

  .title_container.title_wt .title_wrap {
    color: #121314;
  }

  .title_container .title1 {
    font-size: 3vw;
    margin-bottom: 10px;
    margin-top: 0;
  }

  .title_container .title1 span {
    padding-left: 35px;
    background-size: 30px;
  }

  .title_container .title2 {
    font-size: 3.4vw;
  }

  .title_container .title2 br {
    display: none;
  }

  .title_container .btn {
    display: none;
  }

  .timer_block {
    padding-top: 30px;
  }

  .timer_block .container {
    flex-direction: column-reverse;
    gap: 30px 0;
  }

  div[id^="timer"] {
    white-space: nowrap;
    transform: scale(0.45) !important;
  }

  .timer {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: center;
  }

  .timer_title {
    text-align: center;
    font-size: 4vw;
    margin-bottom: 10px;
  }

  .timer_title br {
    display: none;
  }

  .banner .swiper-button-prev,
  .banner .swiper-button-next {
    display: none;
  }

  /*******************************************************************/

  .lines {
    background: none;
  }

  .cars_items_title {
    font-size: 6vw;
  }

  .cars_items {
    margin-top: 60px;
  }

  .car_item {
    padding: 30px 0;
  }

  .car_item .container {
    flex-direction: column;
    padding-top: 50px;
  }

  .car_image_wrap {
    width: 100%;
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 15px 0;
  }

  .car_colors {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 0 15px;
  }

  .car_colors > div {
    width: 30px;
    height: 30px;
  }

  .car_colors > div.active:before {
    width: 34px;
    height: 34px;
  }

  .car_text {
    width: 100%;
    order: 2;
    position: unset;
  }

  .car_text .car_props {
    margin: 20px 0;
  }

  .car_text .car_name {
    position: absolute;
    top: 0;
    left: 15px;
    font-size: 8vw;
  }

  .car_text .car_props .car_profit {
    white-space: normal;
  }

  .car_text .car_props a {
    font-size: 4vw;
  }

  .car_text .car_props a span {
    font-size: 5vw;
  }

  .car_text .car_btns .anchor {
    margin-top: 0;
    font-size: 4vw;
    text-align: center;
  }

  .car_gallery_wrap {
    order: 3;
    width: 100%;
    margin-top: 30px;
  }

  .car_gallery_tabs {
    margin-bottom: 15px;
  }

  .car_gallery_tabs > div {
    font-size: 4vw;
  }

  .car_gallery {
    gap: 0 10px;
  }

  .car_gallery_tabs {
    justify-content: center;
  }

  .car_gallery {
    justify-content: center;
  }

  .car_gallery a {
    height: 70px;
  }

  .car_specs {
    order: 4;
    width: 100%;
    margin-top: 30px;
    flex-direction: column;
    gap: 5px 0;
  }

  .car_specs .column {
    gap: 5px 0;
  }

  .car_specs .column div {
    font-size: 3.5vw;
    line-height: 130%;
  }

  /*******************************************************************/

  #instock {
    padding: 0;
  }

  .instock_title {
    font-size: 6vw;
    text-align: center;
    margin-bottom: 30px;
  }

  .filter_models {
    justify-content: center;
    width: 100%;
  }

  .filter_models > div {
    padding: 10px 10px 15px;
  }

  .filter_compls {
    gap: 0 15px;
  }

  .tb_complects {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .tb_complects > div {
    padding: 20px 15px;
  }

  .compl_title {
    font-size: 5vw;
  }

  .compl_image {
    margin-top: 20px;
  }

  .compl_techs {
    margin-top: 20px;
  }

  .compl_techs > div {
    font-size: 3vw;
  }

  .compl_techs > div b {
    font-size: 4vw;
  }

  .compl_btns {
    margin-top: 20px;
  }

  .tb_complects_showmore {
    margin-top: 20px;
    font-size: 4vw;
  }

  /*******************************************************************/

  .credit {
    margin-top: 60px;
    background: #121314;
    padding: 0;
  }

  .credit > img {
    display: block;
  }

  .credit_wrap {
    width: 100%;
    background: none;
    padding: 30px 0;
    text-align: center;
  }

  .credit_title {
    font-size: 6vw;
  }

  .credit_comment {
    font-size: 4vw;
  }

  .credit_comment b {
    display: block;
    font-size: 5vw;
  }

  .credit_comment br {
    display: none;
  }

  #credit_form {
    text-align: left;
  }

  /*******************************************************************/

  .tradein {
    margin-top: 0;
    background: none;
  }

  .tradein > img {
    display: block;
  }

  .tradein_wrap {
    padding: 30px 0;
    text-align: center;
    margin-left: 0;
  }

  .tradein_title {
    font-size: 6vw;
  }

  .tradein_comment {
    font-size: 4vw;
  }

  .tradein_comment br {
    display: none;
  }

  #tradein_form {
    width: 100%;
    text-align: left;
  }

  #tradein_form .form-group {
    margin-bottom: 10px;
  }

  /*******************************************************************/

  .test_drive {
    margin-top: 30px;
  }

  .test_drive {
    flex-direction: column-reverse;
  }

  .test_drive_wrap {
    width: 100%;
    text-align: center;
    padding: 30px 15px;
  }

  .test_drive_title {
    font-size: 6vw;
  }

  .test_drive_comment {
    font-size: 4vw;
  }

  .test_drive_comment br {
    display: none;
  }

  .test_drive_img {
    width: 100%;
  }

  #test_drive_form {
    text-align: left;
  }

  /*******************************************************************/

  .offer {
    padding: 40px 0;
    margin-top: 30px;
  }

  .offer_car {
    display: none;
  }

  .offer_wrap {
    text-align: center;
    width: 100%;
    margin-left: 0;
  }

  .offer_title {
    font-size: 6vw;
  }

  .offer_comment {
    font-size: 4vw;
  }

  .offer_comment br {
    display: none;
  }

  #offer_form {
    width: 100%;
    text-align: left;
  }

  /*******************************************************************/

  .advantages {
    padding: 60px 0;
  }

  .ags_title {
    font-size: 6vw;
  }

  .ags_list {
    gap: 10px 0;
  }

  .ags_list > div {
    width: 49%;
    font-size: 2.5vw;
    min-height: 140px;
    background-position: 50% 20px !important;
    padding-top: 80px;
  }

  /*******************************************************************/

  .contacts_title {
    font-size: 6vw;
  }

  .cont_wrap {
    position: relative;
    width: 100%;
    top: 0;
    margin-top: 30px;
    padding: 20px 15px;
  }

  .bot_addr {
    margin-top: 20px;
    font-size: 3vw;
  }

  .bot_phone {
    margin-top: 10px;
    font-size: 3vw;
  }

  .bot_time {
    margin-top: 10px;
    font-size: 3vw;
  }

  .bot_logo1 {
    margin-bottom: 5px;
  }

  .quest {
    font-size: 3vw;
    text-align: center;
    margin-top: 20px;
  }

  .quest br {
    display: none;
  }

  .cont_wrap .btn {
    margin-top: 10px;
  }

  #map1 {
    height: 350px;
    background-position: 65%;
  }

  /*******************************************************************/

  footer {
    padding: 30px 0;
  }

  .foot_wrap {
    flex-flow: wrap;
    gap: 20px 0;
  }

  .foot_wrap .yurinfo {
    width: 100%;
    font-size: 3vw;
  }
}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {
}

@media (max-width: 360px) {
}

@media (max-width: 320px) {
}
