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

html {
  overflow-x: hidden;
}

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

.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: 100%;
  position: relative;
}

@media (min-width: 1200px) {
  .container {
    width: 1120px;
    padding: 0 30px;
  }
}

.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: 500px;
  max-width: 100%;
  padding: 30px;
  overflow: hidden;
  position: relative;
  background: white;
}

.popup_container h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: black;
  padding: 0;
}

.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;
}

.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 input[type="number"],
form .form-group select {
  height: 50px;
  width: 100%;
  color: #000000;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  padding: 0px 20px;
  outline: none;
  background: transparent;
  border-radius: 0px;
  border: 1px solid #1b203d;
}

form .form-group select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: url(../img/ico_select.png) 95% 50% no-repeat transparent;
  font-family: "Montserrat", sans-serif;
  outline: none;
}

form .form-group button {
  width: 100%;
  cursor: pointer;
  font-family: "Montserrat", 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: #b70021;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  height: 50px;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.btn.glass {
  border: 1px solid #1b203d;
  background: #ffffff;
  color: #1b203d;
}

.btn:hover {
  background: #1b203d;
  color: #ffffff;
}

.blocks_title {
  font-size: 96px;
  font-weight: 900;
  color: #f4f4f4;
  text-align: center;
  text-transform: uppercase;
}

.blocks_title span {
  font-size: 36px;
  font-weight: 700;
  display: block;
  margin-top: -35px;
  color: #1b203d;
  text-transform: none;
}

.anim {
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(200px);
}

.anim.animated {
  opacity: 1;
  transform: translateY(0);
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: #ffffff;
  padding: 23px 0;
}

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

.mob_logo_wrap {
  display: none;
}

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

.logo1 span {
  display: block;
  font-size: 14px;
  margin-left: 20px;
  padding-left: 29px;
  position: relative;
}

.logo1 span:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: calc(50% - 4.5px);
  width: 9px;
  height: 9px;
  background: #8a8a8a;
  border-radius: 50%;
}

.top_addr {
  padding-left: 24px;
  background: url(../img/ico_loc.svg) 0 50% no-repeat;
  font-size: 14px;
}

.top_phone {
  padding-left: 24px;
  background: url(../img/ico_phone.svg) 0 50% no-repeat;
  font-size: 14px;
}

.menu {
  position: fixed;
  top: 79px;
  left: 0;
  right: 0;
  background: #ededed;
  padding: 14px 0;
  z-index: 15;
}

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

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

.menu a {
  font-size: 14px;
  position: relative;
}

.menu a:before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #b70021;
  transition: all 0.4s ease-out;
}

.menu a:hover:before {
  width: 100%;
}

header .m_btn {
  display: none;
}

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

.banner {
  margin-top: 124px;
}

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

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

.title_container .title_wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 30px 65px;
}

.title_container .title1 {
  width: 100%;
  padding-left: 75px;
  font-size: 33px;
  background: url("../img/title_ico.svg") 0 50% no-repeat #ffffff;
}

.timer_block {
  background: #1b203d;
  padding: 30px 0;
}

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

#timer_form {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
}

#timer_form .form_comment {
  color: #ffffff;
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 20px;
  display: block;
  width: 100%;
}

#timer_form .form-group {
  width: 49%;
}

#timer_form input[type="tel"] {
  height: 60px;
  color: #ffffff;
  border-color: #ffffff;
  transition: all 0.4s ease-out;
}

#timer_form input[type="tel"]:hover,
#timer_form input[type="tel"]:focus {
  background: #ffffff;
  color: #1b203d;
}

#timer_form .btn {
  height: 60px;
}

#timer_form .btn:hover {
  color: #1b203d;
  background: #ffffff;
}

#timer_form .agree_field {
  color: #ffffff;
}

.timer {
  margin-top: 30px;
}

div[id^="timer"] {
  text-align: right !important;
}

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

.cars_items {
  margin-top: 50px;
}

.cars_menu {
  padding: 0 75px;
  display: flex;
  justify-content: space-evenly;
}

.cars_menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px 0;
}

.cars_menu a span {
  font-size: 24px;
  transition: all 0.4s ease-out;
  position: relative;
}

.cars_menu a span:before {
  content: "";
  display: block;
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #b70021;
  transition: all 0.4s ease-out;
}

.cars_menu a:hover span:before {
  width: 100%;
}

.cars_menu a:hover span {
  font-weight: 700;
}

.car_item {
  margin-top: 55px;
  display: flex;
  justify-content: space-between;
}

.car_text {
  width: 34%;
  background: #f5f5f5;
  padding: 20px 30px 25px;
}

.car_name {
  font-weight: 700;
  font-size: 25px;
}

.car_profit {
  width: fit-content;
  display: flex;
  align-items: center;
  min-height: 33px;
  padding-left: 63px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  padding-right: 30px;
  background: url("../img/ico_profit.svg") 30px 50% no-repeat #1b203d;
  margin-left: -30px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.car_profit:before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 45px;
  transform: skewX(-45deg);
  left: -150%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  animation: flareAnimation 2s infinite linear;
}

.car_profit span {
  position: relative;
  z-index: 1;
}

@keyframes flareAnimation {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

.car_techs {
  margin-top: 23px;
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}

.car_techs > div {
  padding: 1px 0 1px 28px;
}

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

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

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

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

.car_btns {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px 0;
}

.car_image_wrap {
  width: 64%;
  background: #f5f5f5;
  padding: 25px 25px 25px 35px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.car_image {
  margin-top: 40px;
}

.car_date {
  position: absolute;
  top: 0;
  left: 0;
  color: #ffffff;
  font-weight: 500;
  background: #b70021;
  padding: 9px 40px;
  overflow: hidden;
}

.car_date:before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 45px;
  transform: skewX(-45deg);
  left: -150%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  animation: flareAnimation 2s infinite linear;
}

.car_date span {
  position: relative;
  z-index: 1;
}

.car_colors_wrap {
  display: flex;
  justify-content: center;
}

.car_colors {
  display: flex;
  align-items: center;
  height: 24px;
  gap: 0 7px;
  padding-left: 31px;
  background: url("../img/ico_colors.svg") 0 50% no-repeat;
  margin-top: 15px;
}

.car_colors > div {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.car_gallery_wrap {
  width: 170px;
  height: 375px;
  display: flex;
  position: relative;
}

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

.car_gallery .swiper-slide {
  height: 115px !important;
}

.car_gallery .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.car_gallery .swiper-slide a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

#instock {
  margin-top: 95px;
}

#filter_table {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

#filter_table .select_container {
  width: 32.5%;
}

#filter_table select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid #1b203d;
  font-family: "Montserrat";
  height: 50px;
  padding-left: 20px;
  background: url("../img/ico_select.png") 95% 50% no-repeat transparent;
  font-size: 16px;
}

.tb_complects {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 25px 0;
}

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

.tb_complects > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 40px;
  padding-right: 25px;
  background: #f4f4f4;
}

.compl_wrap {
  padding: 20px 0;
}

.compl_name {
  font-size: 25px;
  text-transform: uppercase;
}

.compl_name span {
  display: inline-block;
  background: #ffffff;
  padding: 0 15px;
  font-weight: 700;
  text-transform: none;
  margin-left: 15px;
}

.compl_techs {
  display: flex;
  flex-flow: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px 0;
  margin-top: 15px;
}

.compl_techs > div {
  width: 49%;
  padding: 1px 0 1px 28px;
}

.compl_techs > div.ico1 {
  background: url("../img/compl_techs_ico1.svg") 0 50% no-repeat;
}

.compl_techs > div.ico2 {
  background: url("../img/compl_techs_ico2.svg") 0 50% no-repeat;
}

.compl_techs > div.ico3 {
  background: url("../img/compl_techs_ico3.svg") 0 50% no-repeat;
}

.compl_techs > div.ico4 {
  background: url("../img/compl_techs_ico4.svg") 0 50% no-repeat;
}

.compl_btns {
  display: flex;
  gap: 0 15px;
  margin-top: 20px;
}

.compl_btns .btn {
  width: 49%;
}

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

/**********************
       DESIGN
**********************/

.design {
  margin-top: 90px;
}

.design_tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 12px;
  margin-top: -30px;
  margin-bottom: 35px;
}

.design_tabs > div {
  font-size: 36px;
  font-weight: 700;
  color: #9c9c9c;
  cursor: pointer;
  transition: all 0.4s ease-out;
}

.design_tabs > div.active {
  color: #1b203d;
}

.design_tabs .line {
  margin-top: 10px;
  width: 170px;
  height: 2px;
  background: #9c9c9c;
  pointer-events: none;
  position: relative;
}

.design_tabs .line:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 123px;
  background: #b70021;
  transition: all 0.4s ease-out;
}

.design_tabs .line.right:before {
  left: 47px;
}

.design_slider {
  display: none;
}

.design_text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 70px;
  left: 0;
  z-index: 1;
  color: #ffffff;
  font-size: 26px;
}

.design_slider .design_nav {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 25px;
  width: 100%;
  left: 0;
  gap: 0 10px;
}

.design_slider .swiper-button-prev,
.design_slider .swiper-button-next {
  position: relative;
  width: 49px;
  height: 49px;
  background: url("../img/arrow.png") 50% no-repeat;
  right: 0;
  left: 0;
  transition: all 0.4s ease-out;
}

.design_slider .swiper-button-next {
  transform: rotate(180deg);
}

.design_slider .swiper-button-prev:hover,
.design_slider .swiper-button-next:hover {
  background: url("../img/arrow_hov.png") 50% no-repeat;
}

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

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

.tradein {
  margin-top: 70px;
}

.tradein_wrap {
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
}

#tradein_form {
  width: 530px;
  max-width: 100%;
  padding: 52px;
  background: #f5f5f5;
}

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

#tradein_form .agree_field {
  display: block;
}

.tradein_img {
  width: 37%;
  height: 489px;
}

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

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

.advantages {
  margin-top: 65px;
}

.ags_list {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

.ags_list .ags_item {
  width: 23.5%;
  height: 232px;
  padding: 140px 15px 15px;
  font-size: 14px;
  color: #ffffff;
  transition: all 0.4s ease-out;
  cursor: pointer;
}

.ags_list .ags_item b {
  font-weight: 600;
}

.ags_list .ags_item.ico1 {
  background: url("../img/ags_ico1.svg") 5px 0 no-repeat #b70021;
}

.ags_list .ags_item.ico2 {
  background: url("../img/ags_ico2.svg") 0 10px no-repeat #b70021;
}

.ags_list .ags_item.ico3 {
  background: url("../img/ags_ico3.svg") 0 15px no-repeat #b70021;
}

.ags_list .ags_item.ico4 {
  background: url("../img/ags_ico4.svg") 8px 15px no-repeat #b70021;
}

.ags_list .ags_item:hover {
  background-color: #1b203d;
}

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

.contacts {
  margin-top: 65px;
}

.contacts_wrap {
  position: absolute;
  top: 225px;
  z-index: 1;
  background: #ffffff;
}

.contacts_text {
  padding: 25px;
}

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

.contacts_logo_wrap .logo2 {
  width: 49%;
  margin-right: 10px;
  padding-right: 20px;
  position: relative;
}

.contacts_logo_wrap .logo1 {
  width: 49%;
}

.contacts_logo_wrap > div img {
  width: 100%;
}

.contacts_logo_wrap .logo2:before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: calc(50% - 4.5px);
  width: 9px;
  height: 9px;
  background: #8a8a8a;
  border-radius: 50%;
}

.bot_dealer {
  margin-top: 25px;
  font-size: 20px;
}

.bot_addr {
  margin-top: 23px;
  padding-left: 24px;
  background: url("../img/ico_loc.svg") 0 50% no-repeat;
}

.bot_phone {
  display: block;
  margin-top: 23px;
  padding-left: 24px;
  background: url("../img/ico_phone.svg") 0 50% no-repeat;
}

.worktime {
  margin-top: 23px;
  padding-left: 24px;
  background: url("../img/ico_loc.svg") 0 50% no-repeat;
}

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

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

footer {
  padding: 33px 0;
  background: #1b203d;
}

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

.yurinfo {
  font-size: 14px;
  color: #ffffff;
}

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

.foot_wrap > a {
  color: #ffffff;
  font-size: 14px;
}

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

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

@media (max-width: 1600px) {
  .banner picture img {
    height: 550px;
  }
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
  .banner picture img {
    height: 400px;
  }

  .title_container {
    top: 30px;
  }

  .title_container .title_wrap {
    padding: 30px;
  }

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

  #timer_form .form_comment {
    font-size: 22px;
  }

  /*******************************************************************/
  .car_text {
    padding: 25px 15px;
  }

  .car_profit {
    margin-left: -15px;
    background-position: 15px 50%;
  }

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

  #filter_table select {
    font-size: 14px;
  }

  .compl_wrap {
    width: 65%;
  }

  .compl_techs {
    gap: 10px 0;
  }

  .compl_techs > div {
    width: 100%;
  }

  /*******************************************************************/
  .design_text {
    top: 30px;
    font-size: 20px;
  }

  .design_slider .design_nav {
    justify-content: space-between;
    padding: 0 15px;
    top: 20%;
  }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
  .anim {
    transform: translateY(0);
    opacity: 1;
  }

  .blocks_title {
    font-size: 70px;
  }

  .blocks_title span {
    font-size: 30px;
  }

  /*******************************************************************/
  header {
    padding: 10px 0;
  }

  .top_addr {
    display: none;
  }

  .menu {
    top: 54px;
    padding: 10px 0;
  }

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

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

  /*******************************************************************/
  .banner {
    margin-top: 85px;
  }

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

  .banner picture img {
    height: 300px;
  }

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

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

  .timer_block .timer {
    margin-top: 0;
  }

  #timer_form .form_comment {
    text-align: center;
  }

  /*******************************************************************/
  .cars_menu {
    padding: 0;
  }

  .car_item {
    flex-direction: column-reverse;
    padding-top: 100px;
  }

  .car_text {
    width: 100%;
    background: none;
    padding: 0;
  }

  .car_title {
    position: absolute;
    top: 0;
    left: 0;
  }

  .car_profit {
    margin-top: 10px;
  }

  .car_image_wrap {
    width: 100%;
  }

  /*******************************************************************/
  .tradein_img.img2 {
    display: none;
  }

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

  .tradein_img.img1 {
    width: 100%;
  }

  #tradein_form {
    width: 100%;
  }

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

  .ags_list .ags_item {
    font-size: 12px;
  }

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

  .contacts_wrap {
    position: relative;
    top: 0;
    width: 100%;
    margin-top: 50px;
  }

  .contacts_logo_wrap {
    width: 50%;
  }

  .contacts_img {
    display: none;
  }

  .contacts_text {
    padding: 0;
  }

  #map1 {
    height: 450px;
    background-position: 72% 50%;
  }

  /*******************************************************************/
  .foot_wrap {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px 0;
    position: relative;
  }

  .yurinfo {
    top: 0;
    position: absolute;
    left: 0;
  }
}

/*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%;
  }

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

  header .m_btn span {
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    background: #b70021;
    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: flex;
    flex-direction: column;
    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;
    row-gap: 10px;
  }

  .menu.active {
    right: 0;
  }

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

  .menu a {
    padding: 0;
  }

  /*******************************************************************/
  .anim {
    transform: translateY(0);
    opacity: 1;
  }

  .blocks_title {
    font-size: 15vw;
  }

  .blocks_title span {
    font-size: 6vw;
  }

  /*******************************************************************/
  header {
    padding: 10px 0;
  }

  header .container > .logo1,
  header .container > .logo2 {
    display: none;
  }

  header .container {
    flex-flow: wrap;
  }

  .mob_logo_wrap {
    display: flex;
    align-items: flex-start;
    gap: 0 20px;
    width: 85%;
  }

  .mob_logo_wrap .logo1 {
    flex-direction: column;
  }

  .mob_logo_wrap .logo1 span {
    padding-left: 0;
    margin-left: 0;
    font-size: 3vw;
  }

  .mob_logo_wrap .logo1 span:before {
    display: none;
  }

  .top_addr {
    display: none;
  }

  .top_phone {
    margin: 5px auto 0;
  }

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

  .banner {
    margin-top: 0;
  }

  .title_container .title_wrap {
    padding: 15px;
    padding: 4px 15px;
  }

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

  .title_container {
    top: 100px;
  }

  .title_container .title1 {
    font-size: 5vw;
    background: none;
    text-align: center;
    padding-left: 0;
  }

  .title_container .title1 b {
    display: block;
  }

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

  .timer_block .timer {
    margin-top: 0;
  }

  #timer_form .form_comment {
    text-align: center;
  }

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

  div[id^="timer"] {
    text-align: center !important;
    transform: scale(0.85) !important;
  }

  #timer_form .form_comment {
    font-size: 5vw;
  }

  #timer_form .form-group {
    width: 100%;
  }

  /*******************************************************************/
  .cars_menu {
    padding: 0;
    gap: 0 15px;
  }

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

  .car_item {
    flex-direction: column-reverse;
    padding-top: 100px;
  }

  .car_text {
    width: 100%;
    background: none;
    padding: 0;
  }

  .car_title {
    position: absolute;
    top: 0;
    left: 0;
  }

  .car_profit {
    margin-top: 10px;
  }

  .car_image_wrap {
    width: 100%;
    padding: 15px;
    flex-direction: column;
  }

  .car_image {
    margin-top: 30px;
  }

  .car_colors {
    margin-top: 10px;
  }

  .car_gallery_wrap {
    height: auto;
    width: 100%;
    margin-top: 20px;
  }

  .car_gallery_wrap .swiper-slide {
    height: auto !important;
  }

  .car_techs {
    gap: 15px 0;
  }

  .car_techs > div {
    font-size: 4.5vw;
  }

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

  #filter_table {
    flex-direction: column;
    gap: 10px 0;
  }

  #filter_table .select_container {
    width: 100%;
  }

  .tb_complects {
    margin-top: 40px;
  }

  .tb_complects > div {
    flex-direction: column;
    padding: 15px;
    gap: 10px 0;
  }

  .compl_image {
    width: 100%;
  }

  .compl_name {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 5vw;
    gap: 10px 0;
  }

  .compl_name span {
    margin-left: 0;
  }

  .compl_techs {
    gap: 10px 0;
  }

  .compl_techs > div {
    width: 100%;
  }

  .compl_btns {
    flex-direction: column;
    gap: 10px 0;
  }

  .compl_btns .btn {
    width: 100%;
  }

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

  .design_tabs {
    gap: 0 10vw;
    margin-top: -20px;
  }

  .design_tabs > div {
    font-size: 6vw;
  }

  .design_tabs .line {
    display: none;
  }

  .design_slider .swiper-slide {
    display: flex;
    flex-direction: column-reverse;
  }

  .design_text {
    position: relative;
    color: #000000;
    top: 0;
    font-size: 4.5vw;
    margin-top: 20px;
    padding: 0 15px;
  }

  .design_text br {
    display: none;
  }

  .design_slider .design_nav {
    justify-content: space-between;
    top: 30%;
    bottom: unset;
  }

  .design_slider .design_nav .swiper-button-prev {
    transform: scale(0.7);
  }
  .design_slider .design_nav .swiper-button-next {
    transform: rotate(180deg) scale(0.7);
  }

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

  .tradein .blocks_title {
    padding: 0 15px;
  }

  .tradein .blocks_title span {
    font-size: 5vw;
  }

  .tradein_img.img2 {
    display: none;
  }

  .tradein_wrap {
    flex-direction: column-reverse;
    margin-top: 20px;
  }

  .tradein_img.img1 {
    width: 100%;
    height: auto;
  }

  #tradein_form {
    width: 100%;
    padding: 15px;
  }

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

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

  .advantages .blocks_title {
    font-size: 9vw;
  }

  .advantages .blocks_title span {
    margin-top: -10px;
  }

  .ags_list {
    flex-flow: wrap;
    gap: 10px 0;
    margin-top: 20px;
  }

  .ags_list .ags_item {
    width: 100%;
    background-size: 60px !important;
    padding: 15px 15px 15px 80px;
    height: auto;
    font-size: 3.5vw;
    background-position: 10px 50% !important;
  }

  /*******************************************************************/
  .contacts_wrap {
    position: relative;
    top: 0;
    width: 100%;
    margin-top: 50px;
  }

  .contacts_logo_wrap {
    width: 100%;
  }

  .contacts_img {
    display: none;
  }

  .contacts_text {
    padding: 0;
  }

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

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

  footer {
    padding: 20px 0;
  }

  .foot_wrap {
    flex-direction: column;
    align-items: center;
    gap: 10px 0;
  }

  .yurinfo {
    width: 100%;
    margin-bottom: 10px;
  }
}

/*MOBILE END*/

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

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

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