@media(max-width: 1920px) {

    .view-stranica-uslugi .view-content .views-row {
        width: 22%;
        max-width: 23%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .photoswipe-gallery .field__items .field__item {
        width: 23% !important;
        max-width: 23% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 20px !important;
    } 

    .telHeader {
        font-weight: 700;
        font-size: 20px;
        margin-left: 10px;
        
    }

    .gallery-item .views-row  {
        width: 23%;
        max-width: 23%;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
    }

    .photoswipe-gallery .field__items .field__item {
        width: 23%;
        max-width: 23%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 20px;
    } 

    .form-item-soglasie-na-obrabotku-dannyh {
        margin-right: 60px;
        font-size: 14px;
    }
    
    
    .form-item-soglasie-na-obrabotku-dannyh input {
        left: -8px;
    } 

    /* .webform-button--submit {
        width: 452px !important;
    } */

    .white-block .region-my-form {
    border-left: 10px solid #eeeeee;
    border-right: 10px solid #eeeeee;
    border-top: 10px solid #eeeeee;
    }

    .region-my-form .webform-submission-form {
        height: 400px !important;
    }

    .js-form-type-number {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .text-formy-zag {
        margin-right: 30px;
        
      }

      .webform-submission-form input[type="submit"] {
        width: 452px;
      }

    #edit-soglasie-na-obrabotku-dannyh { 
        margin-top: 0px;
        margin-right: 0px !important;
    }

    .js-form-required {
        margin-right: 0px !important;
    }

    .js-form-type-checkbox {
        margin-right: 60px;
    }
}

@media(max-width: 1200px) {

    .view-stranica-uslugi .view-content .views-row {
        width: 23%;
        max-width: 23%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .form-item-soglasie-na-obrabotku-dannyh {
        margin-right: 10px;
    }
    
    
    .white-block .region-my-form {
        border: 0px;
        }

    .js-form-type-tel {
        margin-bottom: 10px !important;
    }

    #edit-nomer-telefona {
        position: relative !important;
        top: 15px !important;
    }

    .text-formy-zag {
        font-size: 35px;
        margin-right: 0px;
      }

    .text-formy {
        font-size: 18px;
      }

    .gallereyLink {
        margin-right: 40px
    }

    .iconka-preimushestva .field--name-field-ikonka-preimushchestva img {
        width: 40px !important;
        height: 40px !important;
    }

    .iconka-preimushestva-2 .field--name-field-ikonka-preimushchestva img {
        width: 50px !important;
        height: 50px !important;
    }
    .text-priemushestva-2 {
        font-size: 20px;
        text-align: center;
    }

    .text-priemushestva {
        font-size: 20px;
    }

    .container-preimushestv {
        height: 90px;
    }

    .container-preimushestva-2  {
        height: 90px;
        margin-left: 37px;
        margin-right: 37px;
    }

    .telHeader {
        width: 73% !important;
        margin-left: 10px !important;
        font-weight: 600 !important;
    }

    .svgHeader {

    }

    .hero-section {
        height: 1200px;
        /* background-color: black; */
    
    }

    .fontAdapt {
        font-size: 18px !important;
    }

    #edit-soglasie-na-obrabotku-dannyh {
        position: relative;
        top: 12px !important;
        left: -10px !important;
    }

    .white-block {
        height: 550px !important;
    }

    .js-form-type-tel input {
        width: 205%;
    }

    .js-form-type-textfield input {
        width: 205% !important;
    }

    .js-form-item-soglasie-na-obrabotku-dannyh input {
        top: 30px;
        left: -1px;
    }

    .webform-submission-form input[type="submit"] {
        width: 385px;
      }

    .p-custom {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 60px;
        padding-bottom: 5px;
    }

    .padding {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 30px;
        padding-bottom: 5px;
    }

    .fs-40 {
        font-size: 30px;
    }

    .height-132 {
        height: auto;
    }

    .menu-column2 ul {
        word-wrap: wrap;
    }

    .posSVG {
        top: 113px;
    }

    .empty {
        height: 60px;
        width: 100vw;
      }

      .uslugi-items .views-row {
        width: 23%;
        padding-left: 10px;
        padding-right: 10px;
      }

      .gallery-item .views-row {
        width: 23%;
        max-width: 23%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 20px;
     }

      .gallery-item  {
        gap: 0px;
     }

     .photoswipe-gallery .field__items .field__item {
        width: 23%;
        max-width: 23%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 20px;
    } 

}

@media(max-width: 991px) {

    .view-stranica-uslugi .view-content .views-row {
        width: 30%;
        max-width: 30%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .uslugi-items .views-row {
        width: 30%;
        padding-left: 10px;
        padding-right: 10px;
      }

    .container-preimushestva-2  {
        height: 90px;
        margin-left: 77px;
        margin-right: 77px;
    }


    .text-formy-zag {
        font-size: 31px;
        margin-left: 20px;
      }

    .text-formy  {
        font-size: 16px;
      }

      #block-vesta-theme-tekstformyblok  .field--name-field-tekst-formy {
        margin-right: 20px;
        margin-left: 20px;
      }

    .gallereyLink {
        margin-right: 65px;
        justify-content: end;
        
    }

    .zagolovok-o-kompanii {
      
      }

      .iconka-zagolovks .field--name-field-ikonka-zagolovka-o-kompani img {
    
      }

    .text-o-kompanii {
        font-weight: 400;
        font-size: 16px;
      }
      

    #heroSec1 {
        margin-top: 290px !important;
      }
      

    #header {
        display: none !important;
    }

    #edit-soglasie-na-obrabotku-dannyh {
        position: relative;
        top: 0px !important;
        left: -10px !important;
    }

    
    .fontAdapt {
        font-size: 14px !important;
    }

    .pr-146px {
        padding-right: 0px;
    }

    .js-form-item-soglasie-na-obrabotku-dannyh input {
        top: 0px;
        right: 15px;
    }

    .webform-submission-form input[type="submit"] {
        width: 290px;
      }

    .p-custom {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 30px;
        padding-bottom: 5px;
    }

    .padding {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 15px;
        padding-bottom: 5px;
    }

     #arrow1 {
        position: relative;
        left: 50px;
     }

     #arrow2 {
        position: relative;
        left: 50px;
     }

     .textHero1 {
        font-size: 37px;
     }
     .textHero2 {
        font-size: 27px;
     }
     
     .empty {
        height: 50px !important;
     }

     .gallery-item {
        justify-content: space-between;
     }

     .gallery-item .views-row {
        width: 33%;
        max-width: 33%;
        padding-left: 10px;
        padding-right: 10px;
     }

     .photoswipe-gallery .field__items .field__item {
        width: 33% !important;
        max-width: 33% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 20px !important;
    } 

     .gallereyLink {
        margin-right: 20px;
     }

     #footer .mt-100 {
        margin-top: 40px;
     }

     .gallery-item {
        justify-content: center;
     }

     .text-formy .field--name-body {
        margin-right: 20px;
        margin-left: 20px;
      }

      .socseti-containerMob img {
        height: 25px;
      }

      .socseti-containerMob {
        margin-right: 10px;
      }

}

@media(max-width: 768px) {

    .socseti-containerMob {
        margin-right: 10px;
      }

    .view-stranica-uslugi .view-content .views-row {
        width: 40%;
        max-width: 40%;
    }

    .region-content h2 {
        font-size: 32px !important;
        text-align: center;
      }

      .search-results li h3 {
        font-size: 22px !important;
        margin-left: 20px;
      }

    #edit-nomer-telefona {
        position: static !important;
        
    }

    .form-text-container {
        justify-content: flex-start !important;
        align-items: start;
        margin-top: 35px;
    }

    .text-formy-zag {
        margin-right: 80px;
        margin-left: 0px;
      }

      .white-block {
        margin-top: 40px;
      }

    .uslugi-items {
        
        justify-content: center;
        
      }

    .container-preimushestva-2 {
        width: auto;
    }

    .field--name-field-fotografiya-v-pravoy-sekci img {
        width: 80%;
        height: 80%;
    }

    .field--name-field-ssylka-v-pravoy-sekcii-o-k {
        margin-right: 10%;
       
    }
    
    .right-section-link {
        height: 40px !important;
    }

    .field--name-field-fotografiya-v-pravoy-sekci .field__item {
        display: flex;
        justify-content: center;
    }

    .region-quality {
        margin-top: 30px;
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }

    .text-priemushestva-2  {
        text-align: center;
    }

    #block-vesta-theme-preimuschestvo2 {
        width: 300px;
      }

    .container-preimushestva-2 {
       margin-left: 0px;
       margin-right: 0px;
    }

    #companyContainer {
        max-width: 100%;
    }

    #heroSec1 {
        margin-top: 50px !important;
      }

    .superfish-menyu--2 li {
        text-align: center !important;
    }

    .empty-container {
        height: 150px !important;
    }

    #yellowLine {
        display: none;
    }

    #arrow1 {
        position: static;
     }

     #arrow2 {
        position: static;
     }

     .icon1 {
        width: 100% !important;
     }
     .icon2 {
        width: 100% !important;
     }
     .icon3 {
        width: 100% !important;
     }

    .uslugiContainer {
        width: 210px !important;
    }

    #block-vesta-theme-khirosekciya-2 {
        position: static;
        /* top: -162px; */
    }

    .empty {
        height: 50px;
      }

   #header {
    position: static !important;
    padding-bottom: 40px;
   }

    .p-custom {
        padding-top: 10px;
        text-align: center;
    }

    .js-form-item-soglasie-na-obrabotku-dannyh input {
        top: 10px;
        right: 15px;
    }

    .js-form-item-soglasie-na-obrabotku-dannyh {
        top: -30px;
        right: 15px;
    }

    .js-form-type-textfield input {
        width: 222% !important;
        margin-left: 0px !important;
    }

    .js-form-item-god-vypuska input {
        
        width: 109%;
        
    }

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

#edit-vash-kommentariy {                              
        
        width: 223% !important;
        margin-left: 0px;
        margin-top: 16px !important; 
        
    }

    .js-form-item-soglasie-na-obrabotku-dannyh {
        margin-left: 75px;
    }

    .webform-submission-form input[type="submit"] {
        width: 546px !important;
        margin-left: 0px !important;
        margin-top: 20px !important;
        top: -65px;
      }

      .white-block {
        /* height: 450px !important; */
        position: static !important;
    }

    .js-form-type-tel input {
        width: 111%;
    }

    #header {
        /* background-color: black; */
    }

    .field_soderzhanie_stranicy {
        text-align: center;
    }

    .empty-container {
        height: 300px;
    }

    .p-200 {
        height: 700px;
    }

    .posSVG {
        display: none;
    }

    .empty-container-175 {
        height: 30px;
        width: 100vw;
    }

    .sf-accordion-toggle {
        display: none;
    }

    .js-form-type-checkbox {
        margin-left: 30px !important;
        margin-bottom: 15px !important;
        text-align: start !important;
    }

    .white-block {
        position: static !important;
        margin-top: 70px;
        height: 470px !important;
        }

        .webform-button--submit {
            margin-left: 140px !important;
            margin-top: 40px !important;
        }

    .textHero1 {
        font-size: 32px;
    }    
    .textHero2 {
        font-size: 22px;
    }    
    .textHero3 {
        font-size: 19px;
    }    

    .hero-button {
      padding: 11px 30px;
      font-size: 17px !important;
    }

    #block-vesta-theme-khirosekciya-2 {
        justify-content: start !important;
        margin-top: 50px;
        height: 600px;
    }

    .empty {
        display: none;
    }

    .gallery-item {
        justify-content: flex-start;
        flex-direction: row;
        padding: 0px !important;
        margin: 0px !important;
        gap: 20px;
        width: 100%;
    }

    .gallery-items {
        display: flex;
        justify-content: center;
    }

    .uslugi-items {
        justify-content: start;
        gap: 30px;
        width: 100%;
    }

    .uslugi-items .views-row {
        width: 250px;
    }

    .js-form-type-tel {
        width: 100%;
    }

    .uslugi-items .views-row img {
        width: 250px;
    }

    .webform-submission-form .form-item {
        margin-top: 0px;
    }

    .region-my-form {
        margin-top: 15px;
    }

    .js-form-item-vash-kommentariy {
        margin-top: 15px;
    }

    .text-formy {
        margin-top: 50px !important;
    }

    .gallery-item .views-row {
        width: 48%;
        max-width: 48%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 20px;
     }

     .photoswipe-gallery .field__items .field__item {
        width: 48% !important;
        max-width: 48% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-bottom: 20px !important;
    } 

     .gallery-item {
        justify-content: space-between;
     }

     .field_zagolovok_gallerei {
        
     }

     .field_podrobnee_uslugi {
       
     }

     .page-title {
        font-size: 27px;
     }

     .textHero1 {
        font-size: 25px !important;
     }

     .textHero3 {
        font-size: 17px !important;
     }

     .field--name-field-podzagolovok2 .field__item {
        font-size: 18px !important;
     }

     #block-vesta-theme-khirosekciya-2 {
        justify-content: center !important;
     }

     .iconka-zagolovks img {
        width: 25px !important;
        height: 25px !important;
     }

     .iconka-zagolovks  {
        line-height: 52px;
     }

     .zagolovok-o-kompanii {
        font-size: 23px !important;
     }

     .text-o-kompanii {
        font-size: 17px;
     }

     .text-priemushestva {
        font-size: 17px !important;
     }

     .text-priemushestva-2 {
        font-size: 17px !important;
     }

     .right-section-link a {
        font-size: 20px;
     }

     .usugi981 {
       font-size: 23px !important;
     }

     .uslugi4343 {
        width: 25px !important;
        height: 25px !important;  
     }

     .uslugi-text {
        font-size: 18px !important;
     }

     .field_zagolovok_gallerei {
        font-size: 23px !important;
        position: relative;
        top: 2px;
     }

     .details {
        font-size: 20px !important;
     }

     .svg321 {
        width: 25px;
        height: 25px;
     }

     .fs-20 {
        font-size: 18px !important;
     }

}



@media(max-width: 576px) {

    .logoMob {
        height: 60px !important;
        width: 60px !important;
        max-height: 60px !important;
        max-width: 60px !important;
    }

    .socseti-containerMob img {
        max-height: 25px;
        max-width: 25px;
        min-height: 25px;
        min-width: 25px;
    }

    .custm8713 {
        padding-left: 0px !important;
    }

    .socseti-containerMob {
        margin-right: 0px;
      }

    .page-title {
        font-size: 23px;
    }

    #main-content .container .node__content {
        margin-left: 30px !important;
    }

    .view-stranica-uslugi .view-content {
        justify-content: center !important;
    }

    .view-stranica-uslugi .view-content .views-row {
        width: 76%;
        max-width: 76%;
    }

    .container-under-gallerey {
        width: 310px !important;
    }

    .text-formy {
        margin-top: 40px !important;
        margin-left: 20px !important;
    }

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

    .uslugi-items .views-row {
        width: 277px;
    }

    .uslugi-items .views-row img {
        width: 277px;
    }

    .gallereyLink .field__item a {
        min-width: 155px !important;
        min-height: 57px !important;
        font-size: 24px;
        margin-left: 20px;
    }

    .gallery-item {
        justify-content: center;
    }

    .text-formy-zag {
        margin-right: 0px;
        margin-left: 0px;
        text-align: center;
      }

    #flexBasisCustom {
        flex-basis: 80% !important;
        justify-content: end;
    }

    .customButtonGr {
        /* margin-right: 60px !important; */
        margin-right: auto;
    }

    #crossCustom {
        /* margin-right: 55px !important; */
        margin-right: 0px;
    }

    .asideMenu {
        
    }

    .js-form-type-tel {
        width: 100% !important;
    }

    .js-form-type-tel input{
        width: 102% !important;
    }

    #edit-model-avtomobilya {
        
    }

    #edit-model-avtomobilya input {
        
    }

    .js-form-type-number {
        width: 92% !important;
    }

    .js-form-type-number input {

    }

    .js-form-type-textfield {
    width: 100% !important;
    }

    .js-form-item-vash-kommentariy {
        width: 45% !important;
    }

    .js-form-item-vash-kommentariy input {
        width: 12% !important;
    }

    .js-form-type-textfield input {
        width: 100% !important;
        margin: 0px !important;
    }

    .fs-57 {
        font-size: 35px;
    }
    .fs-32 {
        font-size: 20px;
    }

    .white-block {
        height: 550px !important;
    }

    .padding {
        padding-top: 60px;
    }

    .fs-24 {
        font-size: 17px;
    }

    .empty-container {
        height: 300px;
    }

    h1 {
        margin-bottom: 0px;
    }

    #superfish-menyu li:first-child {
        margin-left: 0px;
    }
    
    #superfish-menyu li:last-child {
        margin-right: 0px;
    }

    #superfish-menyu {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #superfish-menyu li {
        margin: 0px;
    }

    .empty-container-175 {
        height: 100px;
    }

    .js-form-type-checkbox {
        margin-left: 32px !important;
        margin-top: 10px !important;
    }
    
    .webform-button--submit {
        margin-left: 80px !important;
    }

        .white-block {
        position: static !important;
        margin-top: 70px;
        height: 470px !important;
        }

      .form-text-container {
        margin-top: 10px;
    }

    .webform-button--submit {
        margin-top: 50px !important;
    }

    .white-block {
        height: 500px !important;
        width: 100% !important;
        top: -64px;
    }
    
    .textHero1 {
        
    }    
    .textHero2 {

    }    
    .textHero3 {

    }  

    .webform-submission-form input[type="submit"] {
        width: 100% !important;
    }

    .webform-submission-form .js-form-wrapper {
        width: 100% !important;
    }

    #block-vesta-theme-blokuslugi .fs-32 {
        font-size: 32px !important;
    }

    .gallery-item .views-row {
        width: 48%;
        max-width: 48%;
    }
    
    .photoswipe-gallery .field__items .field__item {
        width: 48% !important;
        max-width: 48% !important;
        
    } 

    .gallery-item  {
        gap: 10px !important;
        
     }

     

     .black-box {
        height: 300px !important;
     }

     .form-text-container {
        justify-content: center !important;
     }

     .text-formy {
        font-size: 15px;
     }

     #superfish-menyu--2 {
        font-size: 18px !important;
     }

     #block-vesta-theme-nomertelefona--3 {
        font-size: 14px!important;
        text-align: center;
     }

     #footer #block-vesta-theme-nomertelefona--3 {
        text-align: left;
     }

     .telC {
        width: 20px!important;
        height: 20px!important;
     }

     #block-vesta-theme-pochta--2 {
        font-size: 16px!important;
     }

     .pochtaC {
        width: 23px!important;
        height: 23px!important;
     }

     .pochtaContainer {
        padding-top: 15px!important;
     }

     .telContainer {
        padding-top: 25px!important;
     }

     .field--name-field-telegram-foto img {
        width: 25px!important;
        height: 25px!important;
     }

     .field--name-field-votsap-foto img {
        width: 25px!important;
        height: 25px!important;
     }

     .footerContainer {
        margin-top: 0px !important;
     }

     .logo svg {
        width: 80px!important;
     }

    .footerContainerEnd {
        margin-top: 25px !important;
    }

    #scrollTopButton {
        position: fixed;
        bottom: 15px !important;
        right: 15px !important;
      }

}

/* _______________ */


@media(max-width: 495px) {

    .photoswipe-gallery .field__items .field__item {
        width: 48% !important;
        max-width: 48% !important;
    }

    .photoswipe-gallery .field__items {
        justify-content: center;
    } 

    .js-form-type-tel {
        width: 100% !important;
    }

    .js-form-type-tel input{
        width: 100% !important;
    }

    #edit-nomer-telefona {
        width: 102% !important;
    }

    .js-form-item-model-avtomobilya {
        width: 100% !important;
    }

    .js-form-item-model-avtomobilya input {
        width: 100% !important;
    }

    div [data-drupal-selector="edit-actions"] {
        width: 100% !important;
    }

    div[data-drupal-selector="edit-actions"] input {
        width: 100% !important;
        margin: 0px !important;
    }

    .js-form-type-checkbox {
        margin-left: 32px !important;
        margin-top: 10px !important;
    }

    .text-formy-zag {
        font-size: 26px;
      }

      .white-block {
        position: static !important;
        margin-top: 70px;
        height: 540px !important;
        }

        .region-content .search-form .js-form-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .region-content .search-form .js-form-wrapper > input {
            margin-top: 30px;
            margin-right: 30px;
        }

}

@media(max-width: 400px) {

    .svg389712 {
        display: none;
    }

    #flexBasisCustom {
        padding-left: 9px !important;
        padding-right: 10px !important;
    }

    .basis387215 {
        max-width: 60px !important;
    }

    .text-formy-zag {
        font-size: 20px !important;
    }

    .text-formy {
        margin-top: 10px !important;
        margin-left: 0px !important;
    }

.asideMenu {
    animation-name: asideWidthMob;
    animation-duration: 0.4s;
    animation-fill-mode: both;
}

.asideMenu.close {
    animation-name: asideCloseMob;
    animation-duration: 0.4s;
    animation-fill-mode: both;
    will-change: width !important; /* Будет изменяться только ширина */
    opacity: 1 !important; /* Убедимся, что при закрытии нет изменений в прозрачности */
  }

    

}