.modal_1 {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
 .redactor-content h1 {
    font-size: 20px;
}

 .redactor-content img {
    vertical-align: middle;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0.5rem;
}
 .redactor-content ul {
    padding-left: 30px;
    list-style: circle;
}
 .redactor-content ol {
    padding-left: 30px;
}
 .redactor-content li {
    font-size: 17px;
}
 .redactor-content p {
    margin-top: 12px;
}
 .redactor-content a {
    text-decoration: underline;
}
 .redactor-content a:hover {
    text-decoration: none;
}

.redactor-content b, .redactor-content strong {
    font-weight: 700;
}
 .redactor-content table {
  max-width: 100%;
  width: 100%;
  background-color: #fff;
  border: 0;
  overflow: auto;
}
 .redactor-content tr {
  font: 18px;
}
 .redactor-content th, .redactor-content td {
  padding: 16px 24px;
  border: 1px solid #D6D6D6;
}
 .redactor-content th:first-child, .redactor-content td:first-child {
  width: 54%;
}
 .redactor-content th:not(:first-child), .redactor-content td:not(:first-child) {
  text-align: center;
}
 .redactor-content td {
  font-weight: normal;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 5px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


@media screen and (max-width: 900px) {
  .modal-content h2 {
    font-size: 15px;
  }

  .modal-content p {
    font-size: 13px;
    padding-top: 10px;
  }
  .wrapper-swipe .carousel-swipe {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}


@media only screen and (max-width: 1200px) {

  .aside__service ul {

    position: relative;

  }



  .service {

    flex-wrap: wrap;

    flex-direction: column-reverse;

  }


}
@media only screen and (max-width: 753px) {
    .main-slider .slick-dots {
        margin-top: 8px;
    }
}

@media only screen and (max-width: 768px) {
    .main-slider__img {
        height: 220px;
    }
    
    .car {
        top: 55px;
        position: relative;
    }
    
    .main {
        top: 55px;
        position: relative;
    }
  .main .main-card__item-info_desctop {
    display: none;
  }
  .main .main-card__item-info_mobile {
    display: block;
  }
  .main .main-banner__mobile {
    display: block;
  }
  .main .banner-link {
    position: absolute;
    bottom: 20px;
  }
  .main .banner-link a {
    padding: 5px 10px;
    width: auto;
    font-size: 14px;
  }
  .main  .main-card__item-info a {
    min-width: auto;
    padding: 10px 14px;
  }
  .main .main-allnews {
    width: auto;
    padding: 5px 10px;
    font-size: 12px;
  }
  .main .main-cars__btns {
    width: 100%;
    align-items: center;
  }
  .main .main-cars__btns a {
    width: 48%;
    font-size: 14px;
    padding: 10px;
  }
  .main .mySwiperBanner .swiper-pagination {
    display: none;
  }
  .main .main-cars__info h2 {
    font-size: 26px;
  }
  .main .main-cars__info p {
    max-width: 100%;
    margin: 10px auto;
    font-size: 14px;
  }
  .main .main-cars__info small {
    font-size: 14px;
  }
  .main .banner-txt__mobile {
    text-align: center;
  }
  .main .main-infos_img {
    max-width: 80px;
    width: 100%;
  }
  .main .main-card__item-img img {
    height: 250px;
  }
  .main .main-card__item div {
    height: 100%;
  }
  .main .main-news__title h3 {
    font-size: 16px;
  }
  .main .main-card__item-info p {
    font-size: 14px;
  }
  .main .swiper-pagination {
    margin-top: 20px;
  }
  .column2ul {
    display:contents;
    width: 100%;
  }
}

@media only screen and (max-width: 730px) {
    .main-slider .slick-dots {
        margin-top: 0px;
    }
}

@media (max-width: 649px) {
    .main-slider__img {
        height: 200px;
    }
  .wrapper-swipe .carousel-swipe {
    grid-auto-columns: 100%;
  }
  .compare_block  .compare_price {
    font-size: 16px;
    color: #e29724;
  }
  
  .compare_block .compare_info p {
    font-size: 12px;
  }
  
  .compare_block .cars_row {
    padding: 10px;
  }
  
  .compare_block .compare_info_block {
    padding: 5px;
  }
  
  .compare_block .compare_info_block h3 {
    font-size: 13px;
    height: 40px;
    padding-top: 5px;
  }
}

@media (max-width: 527px) {
    .main-slider__img {
        height: 160px;
    }
}

@media (max-width: 440px) {
    .main-slider__img {
        height: 130px;
    }
}

@media only screen and (max-width: 500px) {
  .header-image_mobile {
    height:200px;
    object-fit: cover;
  }
}
