@media only screen and (min-width : 1920px){
    .left-hide,
    .right-hide{
        display: block;
    }
}
@media only screen and (max-width : 1300px){
    .banners-four .banner-blue .background-svg{
        top: -814px;
    }
}
@media only screen and (max-width : 1200px){
    .banners-reviews .reviews-slider .slick-list{
        width: auto;
        padding: 0 24px;
    }
    .banners-reviews .container{
        margin: 0;
    }

}
@media only screen and (max-width : 1150px){
    /* поиск */
    .first-screen form .groups{
        flex-wrap: wrap;
        width: calc(100% / 4* 3);
    }
    .first-screen form .group-item-delivery{
        width: calc(100% / 3* 2 - 2px);
    }
    .first-screen form .group-item{
        width: calc(100%/3 - 2px);
    }
    .first-screen form .groups ~.group-item{
        width: calc(100%/4);
    }
    .first-screen form .groups .group-item:last-child,
    .first-screen form .groups .group-item:last-child button.dropdown-toggle{
        border-radius: 0 0 8px 0;
    }
    .first-screen form .groups .group-item:nth-child(2),
    .first-screen form .groups .group-item:nth-child(2) button.dropdown-toggle{
        border-radius: 0 8px 8px 0;
    }
    .first-screen form .groups .group-item:nth-child(2) button.dropdown-toggle.show{
        border-radius: 0 8px 0 0;
    }
    .first-screen form .groups .group-item:nth-child(3),
    .first-screen form .groups .group-item:nth-child(3) button.dropdown-toggle{
        border-radius: 0 0 0 8px;
    }
    .first-screen form .group-item-delivery .group-item:first-child,
    .first-screen form .group-item-delivery .group-item:first-child button{
        border-radius: 8px 0 0 0;
    }
    .first-screen form .group-item-delivery .group-item:last-child,
    .first-screen form .group-item-delivery .group-item:last-child button.dropdown-toggle{
        border-radius: 0;
    }
    /* поиск end*/

    .title-block{
        width: 60%;
    }
    .banners-two .cards .card .text .title{
        width: 90%;
    }
}
@media only screen and (max-width : 1100px){
    .title-block{
        width: 65%;
    }
    .banners-one .banners-blocks{
        padding: 0;
    }
    .banners-four .banner-blue::before{
        right: -10px;
    }
    .banners-four .banner-blue::after{
        right: -277px;
    }
    .banners-four .banner-blue .background-svg{
        top: -695px;
        left: -731px;
    }
}
@media only screen and (max-width : 1000px){
    .title-block{
        width: 70%;
    }
    .banners-two .cards .card .text .title{
        width: 100%;
    }
    .banners-four .banner-blue::before{
        top: 6px;
        right: -86px;
    }
    .banners-four .banner-blue::after{
        top: 80px;
    }
    .banners-four .banner-blue .background-svg{
        top: -574px;
        left: -632px;
    }
}
@media only screen and (max-width : 920px){
    .banners-one .banners-blocks .block{
        width: 100%;
    }
}
@media only screen and (max-width : 900px){
    .title-block{
        width: 80%;
    }
    .banners-one .banners-blocks .block .title{
        font-size: 42px;
    }
    .banners-one .banners-blocks .block .sub-title{
        margin-bottom: 8px;
    }

    .banners-video .video{
        width: 100%;
        height: 400px;
    }
}
@media only screen and (max-width : 860px){
    .banners-reviews .container{
        margin: 0;
    }
    .banners-reviews .reviews-slider .slick-list{
        width: auto;
        padding: 0 16px;
    }
    .banners-four .banner-blue::before{
        top: 6px;
        right: -30%;
    }
    .banners-four .banner-blue::after{
        top: 80px;
        right: -40%;
    }
    .banners-four .banner-blue .sub-title,
    .banners-four .banner-blue .title{
        width: 60%;
    }
    .banners-four .banner-blue .background-svg{
        top: -387px;
        left: -531px;
    }
}
@media only screen and (max-width : 800px){
    /* поиск */
    .first-screen form .groups{
        width: 100%;
    }
    .first-screen form .group-item-delivery{
        width: calc(100% - 2px);
    }
    .first-screen form .group-item{
        width: calc(100%/3 - 2px);
    }
    .first-screen form .groups ~.group-item{
        width: 198px;
        flex-shrink: 0;
    }
    .first-screen form .groups .group-item:last-child,
    .first-screen form .groups .group-item:last-child button.dropdown-toggle{
        border-radius: 0 0 8px 0;
    }
    .first-screen form .groups .group-item:nth-child(2),
    .first-screen form .groups .group-item:nth-child(2) button.dropdown-toggle{
        border-radius: 0 0 0 8px;
    }
    .first-screen form .groups .group-item:nth-child(3),
    .first-screen form .groups .group-item:nth-child(3) button.dropdown-toggle{
        border-radius: 0;
    }
    .first-screen form .group-item-delivery .group-item:first-child{
        border-radius: 8px 0 0 0;
    }
    .first-screen form .group-item-delivery .group-item:last-child,
    .first-screen form .group-item-delivery .group-item:last-child button.dropdown-toggle{
        border-radius: 0 8px 0 0;
    }

    .select2-container--default .select2-selection--single,
    .first-screen form .group-item button.dropdown-toggle{
        padding: 17px 16px;
    }
    .__select__sub_title,
    .select2-container--default .select2-selection--single .select2-selection__rendered,
    .first-screen form .group-item .__select__title,
    .first-screen form .group-item button.dropdown-toggle{
        font-size: 15px;
        line-height: 18px;
    }
    .first-screen form .group-item .__select__title{
        line-height: 22px;
        left: 16px;
    }
    .select2-container--default .select2-selection--single{
        align-items: flex-end;
    }
    /*.first-screen form .group-item.show .__select__title,*/
    /*.first-screen form .group-item.select .__select__title,*/
    /*.first-screen form .groups .group-item .calendar.selected .__select__title{*/
    /*    top: 17px;*/
    /*    left: 16px;*/
    /*    color: var(--medium-gray);*/
    /*}*/
    .first-screen form .group-item.selected button.dropdown-toggle .__select__title,
    .first-screen form .group-item button.dropdown-toggle.show .__select__title,
    .first-screen form .groups .group-item .calendar.selected .__select__title {
        top: 17px;
        left: 16px;
        color: var(--medium-gray);
        z-index: 2;
    }
    .first-screen form .group-item:nth-child(2).show{
        border-radius: 0;
    }
    .first-screen form .group-item.selected button.dropdown-toggle,
    .first-screen form .groups .group-item .calendar.selected{
        align-items: flex-end;
        flex-direction: column;
        justify-content: flex-end;
    }

    button.calendar.selected .__select__sub_title{
        height: 18px;
    }


    /* поиск end*/

    .title-block{
        width: 90%;
    }
    .banners-one{
        padding: 60px 0 40px 0;
    }
    .banners-one .banners-blocks .block .title{
        font-size: 38px;
    }
    .banners-one .banners-blocks .block{
        padding: 32px 0;
    }
    .banners-two .cards .card .text .title{
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 8px;
    }
    .banners-video .sub-title{
        margin: 0 26px;
        width: auto;
    }
    .banners-reviews .sub-title{
        width: auto;
        margin: 0 42px;
    }
}
@media only screen and (max-width : 780px) {
    .first-screen{
        background: linear-gradient(180deg, #162B57 -140.71%, rgba(22, 43, 87, 0) 145.27%), url(../image/home1.png) no-repeat center;
        background-size: cover;
    }
    #parallax{
        display: none;
    }
    .banners-four .banner-blue::before{
        top: 6px;
        right: -39%;
    }
    .banners-four .banner-blue::after{
        top: 80px;
        right: -49%;
    }
    .banners-four .banner-blue .background-svg {
        top: -573px;
        left: -774px;
        width: 260%;
    }
}
@media only screen and (max-width : 744px) {
    .first-screen{
        padding-top: 80px;
    }
    .first-screen .container{
        display: flex;
        flex-direction: column-reverse;
    }
    .title-block{
        text-align: center;
        margin: 0 auto 56px auto;
    }
    .title-block .sub-title{
        width: 90%;
        margin: 0 auto;
    }
}
@media only screen and (max-width : 720px) {
   /* поиск*/
   .first-screen form{
        flex-direction: column;
   }
    .first-screen form .groups ~.group-item{
        width: 100%;
    }
   /* поиск end*/

   .title-block,
   .title-block .sub-title{
        width: 100%;
   }
    .banners-one .banners-blocks,
    .banners-two .cards{
        flex-direction: column;
    }
    .banners-two .container{
        margin: 0;
    }
    .banners-two .cards{
        gap: 0;
        padding-bottom: 80px;
    }
    .banners-two .cards .slick-list,
    .banners-reviews .reviews-slider .slick-list{
        padding: 0 12px;
    }
    .banners-two .cards .slick-track {
        padding: 60px 0 34px 0;
        display: flex;
        gap: 12px;
    }
    .banners-reviews .reviews-slider .slick-track{
        gap: 12px;
    }
    .banners-two .cards .card{
        width: 280px;
        display: flex;
    }
    .banners-two{
        padding: 0;
    }
    .banners-two .cards .slick-dots{
        padding-top: 0;
    }
    .banners-reviews .slide-review[aria-hidden="true"]{
        opacity: 1;
    }
    .banners-four .banner-blue::before{
        right: -41%;
    }
    .banners-four .banner-blue::after{
        right: -57%;
    }
    .banners-four .banner-blue .sub-title, .banners-four .banner-blue .title {
        width: 70%;
    }
}
@media only screen and (max-width : 700px){
    .banners-four .banner-blue::before{
        right: -50%;
    }
    .banners-four .banner-blue::after{
        right: -70%;
    }
}
@media only screen and (max-width : 620px){
    .title-block .title{
        font-size: 32px;
        line-height: 43.2px;
    }
    .banners-four .banner-blue .sub-title,
    .banners-four .banner-blue .title{
        width: 100%;
    }
    .banners-four .banner-blue{
        padding: 48px 24px 254px 24px;
    }
    .banners-four .banner-blue .background-svg{
        display: none;
    }
    .banners-four .banner-blue::before{
        width: 362.4px;
        height: 155.13px;
        top: inherit;
        right: 30%;
        bottom: 57px;
    }
    .banners-four .banner-blue::after{
        width: 455.22px;
        height: 194.55px;
        right: 0%;
        top: inherit;
        bottom: 19px;
    }
}
@media only screen and (max-width : 580px){
    .banners-four .banner-blue::before{
        right: 20%;
    }
    .banners-four .banner-blue::after{
        right: -20%;
    }

    .banners-video .video{
        height: 300px;
        margin-top: 40px;
    }

    #modalDialog .modal-dialog{
        max-width: none;
        margin: 1.75rem 10px;
    }
    #modalDialog .modal-body{
        padding: 40px 24px;
    }
    #modalDialog button.close-modal{
        right: 0;
        top: -50px;
    }
    #modalDialog .modal-body::before{
        content: none;
    }
    #modalDialog .modal-title{
        padding: 0;
    }
}
/* начин моб версия */
@media only screen and (max-width : 540px){
    /* поиск*/
    .first-screen form .group-item-delivery{
        flex-direction: column;
    }
   .first-screen form .group-item-delivery,
   .first-screen form .group-item{
        width: 100%;
    }
    .first-screen form .group-item-delivery .group-item:first-child,
    .first-screen form .group-item-delivery .group-item:first-child button.dropdown-toggle,
    .first-screen form .group-item-delivery .group-item:first-child button.dropdown-toggle.show{
        border-radius: 8px 8px 0 0;
    }
    .first-screen form .groups .group-item:last-child,
    .first-screen form .groups .group-item:last-child button.dropdown-toggle{
        border-radius: 0 0 8px 8px;
    }
    .first-screen form .group-item-delivery .group-item:last-child,
    .first-screen form .group-item-delivery .group-item:last-child button.dropdown-toggle,
    .first-screen form .groups .group-item:nth-child(2),
    .first-screen form .groups .group-item:nth-child(2) button.dropdown-toggle{
        border-radius: 0;
    }
    .first-screen form .group-item button.dropdown-toggle,
    .select2-container--default .select2-selection--single{
        padding: 15px 16px 15px 24px;
    }
    .first-screen form .group-item .__select__title{
        left: 24px;
    }
    /*.first-screen form .group-item.show .__select__title,*/
    /*.first-screen form .group-item.select .__select__title,*/
    /*.first-screen form .groups .group-item .calendar.selected .__select__title{*/
    /*    left: 24px;*/
    /*    top: 15px;*/
    /*}*/
    .first-screen form .group-item.selected button.dropdown-toggle .__select__title,
    .first-screen form .group-item button.dropdown-toggle.show .__select__title,
    .first-screen form .groups .group-item .calendar.selected .__select__title {
        left: 24px;
    }
    .__select__sub_title,
    .select2-container--default .select2-selection--single .select2-selection__rendered,
    .first-screen form .group-item .__select__title,
    .first-screen form .group-item button.dropdown-toggle{
        font-size: 17px;
        line-height: 22px;
    }
    .first-screen form .group-item-delivery .button-swap{
        transform: rotate(90deg);
        left: inherit;
        right: 24px;
        top: 56px;
    }
   /* поиск end*/

    .first-screen{
        padding: 30px 0;
    }
    .title-block .title{
        margin-bottom: 12px;
    }
    .title-block{
        margin-bottom: 30px;
    }
    .banners-one{
        padding: 60px 0;
    }
    .banners-one .banners-blocks .block{
        padding: 35px 0;
    }
    .banners-one .banners-blocks .block .title{
        font-size: 48px;
    }
    .banners-one .banners-blocks .block .sub-title{
        margin-bottom: 12px;
    }
    .banners-reviews .sub-title,
    .banners-reviews .title{
        margin: 0 12px;
    }
    .banners-reviews .title{
        margin-bottom: 12px;
    }

    .banners-video .video{
        height: 250px;
    }
}
@media only screen and (max-width : 480px){
    body::after {
        position: absolute;
        content: '';
        background: url(../image/background.svg) no-repeat;
        background-size: cover;
        background-position: 51% 2%;
        opacity: .8;
        top: 919px;
        /* left: 0; */
        height: 40%;
        width: 100%;
        right: 0;
        z-index: -1;
    }
    .banners-video .sub-title{
        margin: 0 16px;
    }
    .banners-video .title{
        margin: 0 26px 12px 26px;
    }
    .banners-video .video{
        height: 200px;
    }
}
@media only screen and (max-width : 420px){
    .banners-four .banner-blue::before{
        right: 0;
    }
    .banners-four .banner-blue::after{
        right: -40%;
    }
}
@media only screen and (max-width : 380px){
    .banners-four .banner-blue::after {
        right: -50%;
    }
    .banners-video .video{
        height: 187px;
    }
}
