html {
  overflow-x: hidden;
}

body {
  font-family: "TT TANK";
  font-size: 16px;
  color: #e9e9e9;
  position: relative;
  font-weight: 400;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  max-width: 1920px;
  background: url(../img/bg1.jpg) 50% 0 no-repeat #1c2121;
}

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

.resp_table {
  width: 100%;
}

.resp_table tr td:before {
  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:hover {
  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: 1140px;
    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,
#popup_techs_tank_300,
#popup_techs_tank_500 {
  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: #252c2c;
  text-align: center;
  padding-bottom: 30px;
  border-radius: 10px;
}

.popup_container.popup_techs {
  width: 600px;
  text-align: left;
  padding: 20px 30px;
}

.popup_container.popup_techs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.popup_container.popup_techs ul li {
  font-size: 18px;
  font-weight: 300;
  padding-left: 20px;
  margin: 10px 0;
  display: block;
  position: relative;
}

.popup_container.popup_techs ul li:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #ff9549;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 4px);
  left: 0;
}

.popup_container .agree_field {
  font-size: 12px;
}

.popup_container .agree_field a {
}

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

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

.popup_container .form-group input[type="text"] {
  color: black;
  display: block;
  height: 56px;
  line-height: 56px;
  text-decoration: none;
  text-align: left;
  /* text-transform: uppercase; */
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  background: #f3f3f3;
  border: 1px solid #f3f3f3;
  padding: 10px;
}

.popup_container .form-group textarea {
  color: black;
  display: block;
  height: 100px;
  text-decoration: none;
  text-align: left;
  /* text-transform: uppercase; */
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  background: none;
  border: 1px solid #c0c6c9;
  padding: 10px;
  resize: none;
  font-family: "TT TANK";
  font-size: 16px;
}

.popup_container .form-group select {
  color: #1d1f20;
  height: 50px;
  border: 1px solid white;
  width: 100%;
  font-size: 16px;
  font-weight: 300;
  font-family: "TT TANK";
  padding-left: 10px;
  height: 38px;
  background-color: white;
  border-radius: 5px;
  border: 1px solid #c0c6c9;
}

.popup_container .form-group select option {
}

.popup_container .form-group button:before {
  display: none;
}

.popup_container .form-group button:after {
  display: none;
}

.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;
  color: #ffffff;
}

.agree_field a {
  color: #ffffff;
}

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

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

.popup_container .form-disclamer {
  color: #b8b8b8;
  font-size: 10px;
  padding-top: 10px;
  text-align: center;
}

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: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: 400;
  font-family: "TT TANK";
  padding: 0px 25px;
  outline: none;
  background: transparent;
  border-radius: 7px;
  border: 1px solid #e9e9e9;
}

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: "TT TANK";
  outline: none;
}

form .form-group button {
  width: 100%;
  cursor: pointer;
  font-family: "TT TANK";
  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: #ff9549;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 252px;
  max-width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: 400;
  color: #252c2c;
  text-decoration: none;
  outline: none;
  border: none;
  transition: all 0.3s;
  text-align: center;
  border-radius: 7px;
}

.btn:hover {
  background: #e1792f;
}

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

.btn.glass:hover {
  background: #3a4141;
  border-color: #3a4141;
}

.btn.glass.green:hover {
  background: #ff9549;
  color: #252c2c;
  border-color: #ff9549;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(28, 33, 33, 0.85);
  backdrop-filter: blur(5px);
}

.head_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.top_phone {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.top_addr {
  color: #ffffff;
  font-size: 14px;
  margin-top: 5px;
}

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

.logo1 {
  position: relative;
  padding-right: 20px;
  margin-right: 20px;
}

.logo1:before {
  content: "";
  width: 1px;
  height: 14px;
  background: #bdbfbf;
  position: absolute;
  right: 0;
  top: calc(50% - 7px);
}

.menu {
  border-top: 1px solid #666b6b;
  display: flex;
  justify-content: space-between;
}

.menu_cars,
.menu_blocks {
  display: flex;
  justify-content: space-between;
}

.menu a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-right: 45px;
  position: relative;
  padding: 15px 0 20px;
}

.menu a:before {
  content: "";
  height: 4px;
  width: 100%;
  background: #ff9549;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.3s;
  transform: scaleX(0);
  transform-origin: 50% 50%;
}

.menu a:hover:before {
  transform: scaleX(1);
}

.menu a:last-child {
  margin-right: 0;
}

header .m_btn {
  display: none;
}

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

.banner .banner_slider {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.banner .banner_slider .swiper-slide {
  height: 900px;
}

.banner .banner_slider .slide1 {
  background: url("../img/slide1.jpg") 50% 0 no-repeat;
}

.banner .banner_slider .slide2 {
  background: url("../img/slide2.jpg") 50% 0 no-repeat;
}

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

.banner_slider .swiper-button-prev {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  background: url("../img/bn_prev.png") 50% no-repeat rgba(37, 44, 44, 0.8);
  left: 180px;
  transition: all 0.3s;
}

.banner_slider .swiper-button-next {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  background: url("../img/bn_next.png") 50% no-repeat rgba(37, 44, 44, 0.8);
  right: 180px;
  transition: all 0.3s;
}

.banner_slider .swiper-button-prev:hover,
.banner_slider .swiper-button-next:hover {
  background-color: rgba(102, 107, 107, 0.8);
}

.banner_slider .swiper-pagination {
  bottom: 55px;
  text-align: left;
  font-weight: 300;
  font-size: 24px;
  padding-left: 15px;
}

.banner_slider .swiper-pagination b {
  font-size: 40px;
  font-weight: 700;
}

.banner_slider .swiper-scrollbar {
  bottom: 40px !important;
  background: none;
}

.banner_slider .swiper-scrollbar:before {
  content: "";
  width: 100%;
  height: 1px;
  background: #ffffff;
  position: absolute;
  bottom: 0;
  left: 0;
}

.banner_slider .swiper-scrollbar .swiper-scrollbar-drag {
  background: #ff9549;
}

.slide1 {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.title_container {
  margin-top: 158px;
  padding: 17px 26px;
  width: unset;
  background: #e3e6e5cc;
  backdrop-filter: blur(4px);
}

.title1 {
  color: #252c2c;
  font-size: 44px;
}

.title1 b {
  display: block;
  margin-top: 10px;
}

.title1 .text_sm {
  font-size: 0.6em;
}

.title2 {
  font-family: "TT TANK", sans-serif;
  margin-top: 10px;
  color: #252c2c;
  font-size: 36px;
  font-weight: 500;
}

.title2 b {
  font-weight: 700;
}

.title_container .btn {
  width: 272px;
  margin-top: 25px;
}

.timer_block {
  margin-top: 520px;
  display: flex;
  justify-content: space-between;
}

.timer_form {
  width: 46%;
}

.timer_title {
  font-size: 24px;
  margin-bottom: 25px;
}

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

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

/**********************
         OFFERS
**********************/

.offers {
  margin-top: 106px;
}
.offers_title {
  width: 100%;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 30px;
}
.offers_title b {
  font-weight: 700;
}
.offers_content {
  padding: 40px;
  background: #242b2b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 12px;
}
.offers_text {
  width: 48%;
}
.offers_props {
  display: grid;
  row-gap: 14px;
}
.offers_props > div {
  position: relative;
  padding-left: 40px;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
}
.offers_props > div:before {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
}
.offers_props .ico1:before {
  background: url(../img/offers_props_ico1.svg) no-repeat;
}
.offers_props .ico2:before {
  background: url(../img/offers_props_ico2.svg) no-repeat;
}
.offers_list {
  margin-top: 34px;
  margin-bottom: 0;
  display: grid;
  row-gap: 8px;
  padding-left: 28px;
}
.offers_list span {
  font-size: 18px;
  font-weight: 300;
  position: relative;
  left: -30px;
}
.offers_list li {
  font-size: 18px;
  font-weight: 300;
}
.offers_list li:nth-child(2) {
  margin-top: 16px;
}
.offers_img {
  position: relative;
  width: 52%;
  border-radius: 10px;
  overflow: hidden;
}
.offers_img img {
  max-width: inherit;
  position: relative;
  left: 50%;
  top: 50%;
  height: 102%;
  transform: translate(-50%, -50%);
}
.offers_block {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #666b6b;
  display: flex;
  justify-content: space-between;
}
.offers_block_title {
  font-size: 20px;
  font-weight: 300;
}
#offers_form {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  width: 52%;
}
#offers_form .form-group {
  margin-bottom: 10px;
  position: relative;
  width: 49%;
}

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

.cars_items_title {
  font-size: 40px;
  margin-top: 65px;
  margin-bottom: 25px;
}

.cars_items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 20px;
}

.car_item {
  box-sizing: border-box;
  width: 49.2%;
  padding: 20px 20px 40px;
  background: #252c2c;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.car_item:hover {
  border-color: #ff9549;
}

.car_image {max-height: 330px;border-radius: 10px;}

.car_image .swiper-slide img {
  width: 100%;
  border-radius: 10px;
}

.car_image .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #e9e9e9;
  opacity: 1;
  border-radius: 4px;
  transition: all 0.3s;
  margin: 0 3px !important;
}

.car_image .swiper-pagination-bullet-active {
  width: 38px;
  background: #ff9549;
}

.car_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 20px;
}

.car_name {
  font-size: 40px;
  text-transform: uppercase;
}

.car_compl {
  display: block;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding-left: 52px;
}

.car_compl:before {
  content: url("../img/compl_ico.png");
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ff9549;
  padding-top: 5px;
  position: absolute;
  top: 1px;
  left: 0;
  transition: all 0.3s;
}

.car_compl:hover:before {
  top: -2px;
  left: -4px;
  width: 44px;
  height: 44px;
}

.car_profit {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 20px;
}

.car_profit b {
  font-weight: 400;
  color: #ff9549;
}

.car_techs > div {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid #666b6b;
  font-size: 20px;
}

.car_techs > div:last-child {
  border-bottom: 1px solid #666b6b;
}

.car_techs > div span {
  font-weight: 300;
  display: block;
  padding-left: 20px;
  position: relative;
}

.car_techs > div span:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #ff9549;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 4px);
  left: 0;
}

.car_techs > div b {
  font-weight: 400;
}

.car_btns {
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
}

.car_btns .btn {
  width: 49%;
}

.car_offer {
  width: 49.2%;
  background: url(../img/car_offer_bg.jpg) 50% 0 no-repeat;
  border-radius: 10px;
}
.car_offer_cont {
  padding: 20px;
}
.car_offer_title {
  font-size: 40px;
  font-weight: 500;
  text-transform: uppercase;
  color: #e9e9e9;
}
.car_offer_comment {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 300;
  color: #e9e9e9;
}
#car_offer_form {
  margin-top: 20px;
}

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

#instock {
  position: relative;
  margin-top: 100px;
}

#instock .compl_title {
  font-size: 40px;
  margin-bottom: 35px;
}

#instock .models {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 55px;
  position: relative;
}

#instock .models:after {
  content: "";
  width: 100%;
  height: 1px;
  background: #666b6b;
  position: absolute;
  bottom: 0;
  left: 0;
}

#instock .model_name {
  font-size: 24px;
  color: #7c8080;
  transition: all 0.3s;
  width: 49%;
  padding-bottom: 20px;
  position: relative;
  cursor: pointer;
}

#instock .model_name:after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #ff9549;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s;
  z-index: 1;
}

#instock .model_name.active {
  color: #ffffff;
}

#instock .model_name.active:after {
  opacity: 1;
}

#instock .compls {
  display: none;
}

#instock .compl_items {
}

#instock .compl_items .item {
  background: #252c2c;
  box-sizing: border-box;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  margin-bottom: 15px;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

#instock .compl_items .item:hover {
  border-color: #ff9549;
}

#instock .compl_items .item.show {
  display: flex;
}

#instock .compl_items .compl_colors {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#instock .compl_items .compl_colors > div {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  text-align: center;
}

#instock .compl_items .compl_colors > div span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

#instock .compl_items .compl_colors > div:after {
  content: "";
  width: 22px;
  height: 22px;
  background: #3a4141;
  position: absolute;
  top: -3px;
  left: -3px;
  box-shadow: 0px 6px 12px 0px rgba(16, 19, 19, 0.3);
  border-radius: 50%;
  opacity: 0;
  z-index: 0;
}

#instock .compl_items .compl_colors > div:last-child {
  margin-bottom: 0;
}

#instock .compl_items .compl_colors > div.active:after {
  opacity: 1;
}

#instock .compl_items .compl_image {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 143px;
  width: 40.6%;
}

#instock .compl_items .compl_info {
  width: 33%;
}

#instock .compl_items .compl_info .name {
  font-size: 24px;
  color: #e9e9e9;
  margin-bottom: 15px;
}

#instock .compl_items .compl_info .info_desc {
  color: #e9e9e9;
  text-decoration: none;
}

#instock .compl_items .compl_info .info_desc img {
  margin-left: 10px;
}

#instock .compl_items .compl_btns {
}

#instock .compl_items .compl_btns .btn:nth-child(1) {
  margin-bottom: 10px;
}

/**********************
    CREDIT_TRADEIN
**********************/

.credit_tradein {
  margin-top: 100px;
  display: flex;
  justify-content: space-between;
}

.credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 49.5%;
  background: #242b2b;
  border-radius: 0 12px 12px 0;
  transition: all 0.3s;
}

.tradein {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 49.5%;
  background: #242b2b;
  border-radius: 12px 0 0 12px;
  transition: all 0.3s;
}

.credit_bg {
  overflow: hidden;
  border-radius: 0 12px 12px 0;
  width: 100%;
  height: 600px;
}

.tradein_bg {
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  width: 100%;
  height: 600px;
}

.credit_bg img,
.tradein_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credit_wrap,
.tradein_wrap {
  width: 645px;
  max-width: 100%;
  padding: 60px 0;
}

.credit_title,
.tradein_title {
  font-size: 40px;
  margin-bottom: 30px;
}

.credit_comment,
.tradein_comment {
  font-size: 20px;
  margin-bottom: 35px;
  font-weight: 300;
}

#credit_form,
#tradein_form {
  display: flex;
  justify-content: space-between;
  flex-flow: wrap;
}

#credit_form .form-group.wide,
#tradein_form .form-group.wide {
  width: 57%;
}

#credit_form .form-group.short,
#tradein_form .form-group.short {
  width: 41%;
}

/**********************
       TESTDRIVE
**********************/

.testdrive {
  margin-top: 100px;
  background: url("../img/testdrive_bg.jpg") 50% 30px no-repeat;
  padding-bottom: 710px;
}

.testdrive > img {
  display: none;
}

.testdrive_wrap {
  width: 635px;
  max-width: 100%;
}

.testdrive_title {
  font-size: 40px;
  margin-bottom: 25px;
}

.testdrive_comment {
  font-size: 20px;
  margin-bottom: 35px;
  font-weight: 300;
}

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

#testdrive_form .form-group.wide {
  width: 57%;
}

#testdrive_form .form-group.short {
  width: 41%;
}

/**********************
        QUEST
**********************/

.quest {
  margin-top: 100px;
  background: url("../img/quest_bg.jpg") 50% 0 no-repeat;
  border-radius: 12px;
  padding: 90px 0;
}

.quest_wrap {
  width: 375px;
  max-width: 100%;
  margin: 0 auto;
}

.quest_title {
  font-size: 40px;
  margin-bottom: 35px;
}

.quest_comment {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 35px;
}

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

.contacts {
  margin-top: 100px;
  position: relative;
}

.cont_wrap {
  box-sizing: border-box;
  width: 562px;
  max-width: 100%;
  padding: 55px 95px;
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 1;
  background: #252c2c;
  border-radius: 10px;
}

.cont_title {
  font-size: 40px;
  margin-bottom: 25px;
}

.cont_dealer {
  font-size: 24px;
  margin-bottom: 30px;
}

.bot_addr {
  font-size: 20px;
  position: relative;
  padding-left: 30px;
  margin-bottom: 25px;
}

.bot_worktime {
  font-size: 20px;
  position: relative;
  padding-left: 30px;
  margin-bottom: 25px;
  font-weight: 300;
}

.bot_phone {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding-left: 30px;
}

.bot_addr:before,
.bot_phone:before,
.bot_worktime:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #ff9549;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 4px);
  left: 0;
}

.cont_wrap .btn {
  margin-top: 35px;
  width: 100%;
}

.yurinfo {
  font-size: 12px;
  margin-top: 15px;
}

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

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

footer {
  padding: 15px 0;
  background: #1c2121;
}

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

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

footer .switch {
  color: #e9e9e9;
  font-size: 16px;
  text-decoration: none;
  font-weight: 300;
}

footer .yurlink {
  color: #e9e9e9;
  font-size: 16px;
  text-decoration: none;
  font-weight: 300;
}

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

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

@media (max-width: 1600px) {
  .banner_slider .swiper-button-prev {
    left: 30px;
  }

  .banner_slider .swiper-button-next {
    right: 30px;
  }

  .credit_wrap,
  .tradein_wrap {
    width: 80%;
  }

  .credit_comment br,
  .tradein_comment br {
    display: none;
  }
}

@media (max-width: 1180px) {
  .offers_content {
    padding: 24px;
  }
  .offers_title {
    font-size: 30px;
  }
  .offers_list li {
    font-size: 16px;
  }
  #offers_form .form-group {
    width: 100%;
  }
}

/*IPAD PRO BEGIN*/
@media (min-width: 768px) and (max-width: 1199px) {
  .timer_block {
    flex-direction: column-reverse;
  }

  .timer_form {
    width: 100%;
    margin-bottom: 30px;
  }

  /**************************************************************************/
  .car_techs > div {
    font-size: 16px;
  }

  .car_btns .btn {
    font-size: 14px;
  }

  /**************************************************************************/
  #instock .compl_items .compl_info {
    width: 25%;
  }

  /**************************************************************************/
  .credit_tradein {
    flex-direction: column;
  }

  .credit,
  .tradein {
    width: 100%;
  }
}

/*IPAD PRO BEGIN*/

/*IPAD BEGIN*/
@media (min-width: 768px) and (max-width: 991px) {
  header .btn {
    display: none;
  }

  .menu a {
    font-size: 14px;
    margin-right: 15px;
  }

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

  .offers_text {
    width: 100%;
  }
  .offers_img {
    margin-top: 20px;
    width: 100%;
    height: 46vw;
  }

  /**************************************************************************/
  .cars_items {
    flex-flow: wrap;
  }

  .car_item {
    width: 100%;
    margin-bottom: 40px;
  }

  /**************************************************************************/
  #instock .compl_items .item {
    flex-flow: wrap;
  }

  #instock .compl_items .compl_btns {
    width: 100%;
    margin-top: 20px;
  }

  #instock .compl_items .compl_btns .btn {
    width: 100%;
  }

  /**************************************************************************/
  .credit_wrap,
  .tradein_wrap {
    box-sizing: border-box;
    width: 100%;
    padding: 30px 15px;
  }

  /**************************************************************************/
  .testdrive_wrap {
    width: 100%;
  }

  /**************************************************************************/
  .cont_wrap {
    position: relative;
    width: 100%;
    top: 0;
    margin-bottom: 40px;
  }

  /**************************************************************************/
  #map1 {
    background-position: 78% 50%;
  }
}

@media (max-width: 991px) {
  .car_offer {
    width: 100%;
    background-position: 50% 70%;
    height: 100vw;
    background-size: 100%;
  }
  .car_offer_title {
    font-size: 5vw;
  }
  .car_offer_comment {
    margin-top: 3vw;
    font-size: 2.6vw;
  }
  .car_offer_cont {
    padding: 14px;
  }
}

/*IPAD END*/

/*MOBILE BEGIN*/
@media (max-width: 767px) {
  body {
    background: url(../img/bg1.jpg) 50% 200px no-repeat #1c2121;
    background-size: contain;
  }
  .offers_title {
    font-size: 20px;
  }
  .offers_text {
    width: 100%;
  }
  .offers_img {
    margin-top: 20px;
    width: 100%;
    height: 50vw;
  }
  .offers_block {
    display: grid;
    row-gap: 14px;
  }
  #offers_form {
    width: 100%;
  }

  .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: block;
    position: absolute;
    width: 30px;
    height: 21px;
    z-index: 1;
    top: 22px;
    right: 15px;
  }

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

  header .m_btn span:nth-child(1) {
    top: 0;
  }

  header .m_btn span:nth-child(2) {
    top: calc(50% - 1px);
    opacity: 1;
  }

  header .m_btn span:nth-child(3) {
    bottom: 0;
  }

  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: #252c2c;
    width: 100%;
    height: auto;
    right: -100%;
    left: unset;
    transition: all 0.3s linear;
    z-index: 2;
    padding: 10px 0;
  }

  .menu.active {
    right: 0;
  }

  .menu_cars,
  .menu_blocks {
    flex-direction: column;
    align-items: center;
  }

  .menu a {
    padding: 10px 0;
    margin-right: 0;
  }

  .head_wrap {
    padding: 10px 0;
    flex-flow: wrap;
  }

  .logo_wrap {
    order: 1;
  }

  .top_addr_wrap {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .top_addr {
    display: none;
  }

  .head_wrap .btn {
    display: none;
  }

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

  .banner .banner_slider {
    top: 90px;
  }

  .banner .banner_slider .swiper-slide {
    height: 300px;
  }

  .banner .banner_slider .slide1 {
    background-size: 650px auto;
    background-position: 45% 0;
  }

  .banner .banner_slider .slide2 {
    background-size: 650px auto;
    background-position: 60% 0;
  }

  .banner_slider .swiper-button-prev {
    left: 5px;
  }

  .banner_slider .swiper-button-next {
    right: 5px;
  }

  .banner_slider .swiper-pagination {
    bottom: 20px;
  }

  .banner_slider .swiper-scrollbar {
    bottom: 10px !important;
  }
  .slide1 {
 
    align-items: center;
  }

  .title_container {
    margin-top: 100px;
    background-color: unset;
    backdrop-filter: unset;
    padding: 0;
  }

  .title1 {
    text-align: center;
    font-size: 18px;
  }

  .bigbanner .title1 {
    color: #ffffff;
  }

  .title2 {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
  }

  .title_container .btn {
    display: none;
  }

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

  .timer_block {
    margin-top: 360px;
    flex-direction: column-reverse;
  }

  .timer_title {
    text-align: center;
  }

  .timer_form {
    width: 100%;
  }

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

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

  div[id^="timer"] {
    transform: scale(0.6) !important;
  }

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

  .cars_items_title {
    margin-top: 20px;
    font-size: 30px;
  }

  .cars_items {
    flex-flow: wrap;
  }

  .car_item {
    width: 100%;
    margin-bottom: 30px;
    padding: 15px;
  }

  .car_title {
    margin: 15px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .car_name {
    margin-bottom: 10px;
  }

  .car_profit {
    font-size: 24px;
  }

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

  .car_btns {
    flex-direction: column;
    margin-top: 10px;
  }

  .car_btns .btn {
    width: 100%;
    margin-top: 10px;
  }

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

  #instock {
    margin-top: 40px;
  }

  #instock .compl_title {
    font-size: 30px;
  }

  #instock .compl_items .item {
    padding: 20px 15px;
    flex-flow: wrap;
  }

  #instock .compl_items .compl_image {
    width: 85%;
  }

  #instock .compl_items .compl_info {
    width: 100%;
    margin: 10px 0;
  }

  #instock .compl_items .compl_btns {
    width: 100%;
    margin-top: 15px;
  }

  #instock .compl_items .compl_btns .btn {
    width: 100%;
  }

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

  .credit_tradein {
    flex-direction: column;
    margin-top: 40px;
  }

  .credit,
  .tradein {
    width: 100%;
    border-radius: unset;
  }

  .credit_bg,
  .tradein_bg {
    width: 100%;
    height: 200px;
    border-radius: unset;
  }

  .credit_title,
  .tradein_title {
    font-size: 30px;
  }

  .credit_comment,
  .tradein_comment {
    font-size: 16px;
  }

  .credit_wrap,
  .tradein_wrap {
    box-sizing: border-box;
    width: 100%;
    padding: 30px 15px;
  }

  #credit_form .form-group.wide,
  #tradein_form .form-group.wide {
    width: 100%;
  }

  #credit_form .form-group.short,
  #tradein_form .form-group.short {
    width: 100%;
  }

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

  .testdrive {
    background: none;
    padding: 0;
    margin-top: 0;
  }

  .testdrive > img {
    display: block;
  }

  .testdrive_wrap {
    padding: 30px 0;
  }

  .testdrive_title {
    font-size: 28px;
  }

  .testdrive_comment {
    font-size: 16px;
  }

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

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

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

  .quest {
    margin-top: 20px;
    background: none;
    padding: 0;
  }

  .quest_title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .quest_comment {
    font-size: 16px;
  }

  .quest_comment br {
    display: none;
  }

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

  .contacts {
    margin-top: 40px;
  }

  .cont_wrap {
    position: relative;
    top: 0;
    left: 0;
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .cont_title {
    font-size: 30px;
  }

  .cont_dealer {
    font-size: 20px;
  }

  .bot_addr {
    font-size: 16px;
  }

  .bot_worktime {
    font-size: 16px;
  }

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

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

  .foot_wrap {
    flex-direction: column;
  }

  footer .logo_wrap {
    order: unset;
    margin-bottom: 5px;
  }

  footer .switch {
    margin-bottom: 10px;
  }
}

@media (max-width: 540px) {
  .timer_block {
    margin-top: 270px;
  }
}

/*MOBILE END*/

/* Portrait phones and smaller */
@media (max-width: 390px) {
  .timer_block {
    margin-top: 220px;
  }
  .car_offer {
    background-position: 50% 0;
    height: 118vw;
  }
  .car_offer_title {
    font-size: 7vw;
  }
  .car_offer_comment {
    font-size: 3.6vw;
  }
}

@media (max-width: 360px) {
  .title1 {
    font-size: 16px;
  }

  .title2 {
    font-size: 16px;
  }

  div[id^="timer"] {
    transform: scale(0.5) !important;
  }
}

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