
@media screen and (max-width: 1023px){
    .comments-card .rating-chart-form__title {
        font-size: 11px;
    }
}

@media screen and (max-width: 1099px) {
    .rating-chart-form__item_col-text {
        width: 100%;
        margin: 0;
        padding-top: 50px;
        padding-bottom: 18px;
        padding-right: 20px;
    }
    .rating-chart-form_subtotal {
        flex-wrap: wrap;
    }
    .rating-chart-form_total {
        height: auto;
    }
}

@media screen and (max-width: 690px) {
    .rating-chart-form_subtotal {
        display: none;
    }
    .rating-chart-form_total {
        height: 162px;
        border-left: 0;
        margin: 0 auto;
    }
    .comment-card {
        flex-flow: column;
    }
    .comments-card-list__item:first-child .comment-card__author {
        border: 0;
        padding-bottom: 15px;
    }
    .comment-card__author {
        text-align: center;
        border-top: 1px solid #d5d5d5;
        width: 100%;
    }
    .comment-card__body {
        border-top: 0;
        padding-top: 0;
        margin-left: 0;
    }
    .avatar-comment-card_cottage {
        margin: 0 auto 15px;
    }
}

@media screen and (max-width: 1600px){
    #carousel-left {
        position:absolute;
        bottom:125px;
        left:10%;
        cursor:pointer;
        z-index: 20;
    }
    #carousel-right {
        position:absolute;
        bottom:125px;
        right:10%;
        cursor:pointer;
        z-index: 20;
    }
}

@media screen and (max-width: 1280px){
    .title{
        font-size: 40px;
        line-height: 37px;
    }
    .subtitle{
        font-size: 14px;
        line-height: 26px;
    }
    .container{
        width: 90%;
        min-width: auto;
        max-width: 100%;
    }
    /* Header */

   
    .header__logo{
        height: 110px;
    }
    .logo__image{
        width: 110px;
    }
    .hero__title{
        font-size: 50px;
        line-height: 57px;
        margin-bottom: 40px;
    }
    .hero__wrapper{
        margin: 0 auto;

    }
    /* End Header */

    /* About */

    .feature__title{
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
    }
    .feature__subtitle{
        font-weight: 400;
        font-size: 16px;
        line-height: 20px;
    }
    .feature-wrapper{
        width: 50%;
        justify-content: center;
        margin-bottom: 50px;
    }
    .feature-wrapper:nth-child(3n) {
        justify-content: center;
    }
    /* End About */

    /* Popular slider */
    #carousel-left {
        position:absolute;
        bottom:125px;
        left:50px;
        cursor:pointer;
        z-index: 20;
    }
    #carousel-right {
        position:absolute;
        bottom:125px;
        right:50px;
        cursor:pointer;
        z-index: 20;
    }
    .price__title {
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
    }
    .price__subtitle .price__subtitle_blue {
        font-size: 24px;
        line-height: 34px;
    }
    .popular-prices__wrapper {
        min-height: 200px;
    }
    .popular__prices {
        padding: 70px 0;
    }
    .popular__title{
        margin-bottom: 60px;
    }
    .slider__wrapper{
        padding-top: 60px;
    }
    .prices__wrapper{
        width: 80%;
    }
    /* End Popular slider */
    /* Tours */
    .tour__title {
        font-size: 24px;
        line-height: 29px;
    }
    .tours__wrapper{
        padding: 80px 0;
    }
    .tours__title{
        margin-bottom: 40px;
    }
    .tours__content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }
    /* Choice */
    .choice__subtitle {
        font-size: 16px;
        line-height: 187%;
    }
    .choice__title {
        line-height: 56px;
    }
    .choice__text{
        margin-left: 140px;
    }
    /* End choice */

    /* Services */
    .services__wrapper{
        padding: 80px 0px;
    }
    .services__title{
        margin-bottom: 40px;
    }
    .services__content {
        width: 80%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 20px 20px;
        grid-template-areas:
            "q"
            "w"
            "r"
            "t"
            "a"
            "s"
            "d"
            "f";
    }
    .services__item_small, .services__item_small .back{
        height: auto;
    }
    /* End Services */

    /* Teams */
    .teams__wrapper{
        padding: 80px 0px;
    }
    .teams__title{
        margin-bottom: 40px;
    }
    .teams__content{
        padding: 0px 40px;
    }
    /* End Teams */
   
    /* Contacts */
    .contacts__wrapper{
        padding: 60px 60px 80px 80px;
        margin-top: -275px;
    }
    .map{
        height: 750px;
        overflow: hidden;
    }
    /* End Contacts */

    /* Footer */
    .footer__wrapper{
        padding: 60px 0px;
    }
    /* End Footer */
    .swiper-slide{
        width: 580px;
        height: 290px;
    }
    .popular-slider__wrapper{
        height: 290px;
    }
    .popular-slider__content{
        top:12px;
    }
    
}

@media screen and (max-width: 1000px){
    .nav{
        display: none;
    }
    .video{
        display: none;
    }
    .call{
        display: none;
    }
    .mobile__phones.call {
        display: flex;
        justify-content: center;
        padding: 20px 0;
    }
    .header__social{
        display: none;
    }
    .bar{
        display: flex;
        flex-grow: 1;
        justify-content: flex-end;
    }
    .mobile-title{
        display: flex;
        flex-direction: column;
    }
    .header__wrapper{
        flex-direction: column;
        position: static;
    
    }
    .header__navigation{
        width: 100%;
        flex-wrap: nowrap;
        padding: 15px 25px;
        position: absolute;
        background: var(--blue-dark);
        left: 0;
        top: 0;
        justify-content:space-between;
        align-items: center;
    }
    .logo__image{
        width: 50px;
    }
    .header__logo{
        height: auto;
        flex-grow: unset;
        flex-basis: auto;
        margin-right: 20px;
    }
    .top-image{
        height: 19px;
        margin-bottom: 8px;
    }
    .bottom-image{
        height: 10px;
    }
    .bar img{
        height: 22px;
    }
    .hero__wrapper{
        padding: 0;
        padding-top: 70px;
    }

    /* About */
    .about__text{
        flex-direction: column;
    }
    .about__wrapper{
        padding: 20px 0;
    }
    .about__subtitle{
        flex-basis: auto;
        text-align: justify;
    }
    .about__title{
        margin-right: 0;
        margin-bottom: 20px;
    }
    /* End About */

    /* Choice */
    .choice__wrapper{
        flex-direction: column;
    }
    .choice__wrapper{
        padding: 60px 0px;
    }
    .choice__title{
        width: auto;
        margin-bottom: 20px;
    }
    .choice__text{
        margin-left: 0;
    }
    .choice__subtitle{
        text-align: justify;
    }

    /* Tour */
    .tours__content{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6 / 1fr);
    }

    /* Teams */
    .teams__content{
        padding: 0;
        flex-direction: column;
    }
    .teams__item{
        flex-basis: auto;
        text-align: center;
        margin-bottom: 40px;
    }
    .teams__decription{
        margin: 0 auto;
    }

    /* Contacts */
    .contacts__wrapper{
        position: static;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 40px 60px 40px 80px;
    }
    .title{
        font-size: 30px;
    }
    .feature__title{
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
    }
    .feature__subtitle{
        font-size: 14px;
    }
    .tour__title{
        font-size: 24px;
    }
    .mobile {
        display: none;
        position: fixed;
        overflow-y:scroll;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: var(--blue-dark);
        z-index: 2;
    }
    .mobile__wrapper{
        color: #ffffff;
    }
    .mobile__menu{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
        padding-top: 20px;
        gap: 20px;
    }
    .mobile__wrapper{
        margin: 20px 25px;
    }
    .mobile__item{
        position: relative;
        display: inline-block;;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 1px;
        font-variant: small-caps;
        color: #FFF;
        -webkit-transition: all .3s linear;
        -moz-transition: all .3s linear;
        -o-transition: all .3s linear;
        -ms-transition: all .3s linear;
        transition: all .3s linear;
    }
    .mobile__close{
        width: 30px;
        height: 30px;
        position: absolute;
        right: 25px;
        top: 35px;
        -webkit-transition: all .3s linear;
        -moz-transition: all .3s linear;
        -o-transition: all .3s linear;
        -ms-transition: all .3s linear;
        transition: all .3s linear;
    }
    .mobile__close:hover{
        transform: rotate(360deg);
    }
    .mobile__logo{
        padding-bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .mobile__social{
        padding: 30px 40px 0px 40px;
    } 
    .mobile-logo__item .logo__image{
        width: 60px;
    }
    .mobile-logo__item .logo__link {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .mobile .socail__image{
        height: 40px;
    }
    .price__title{
        font-size: 18px;
    }
    .not-for-mobile{
        display: none;
    }
    .swiper-slide{
        width: 510px;
        height: 250px;
    }
    .popular-slider__wrapper{
        height: 250px;
    }
    .popular-slider__content{
        top:8px;
    }
    .title-slider{
        font-size: 20px;
    }
    .city-sliter{
        font-size: 16px;
    }
}

@media screen and (max-width:800px){
    .hero__title{
        font-size: 40px;
        line-height: 47px;
        margin-bottom: 30px;
    }
    .hero__subtitle{
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
    }
    .services__content{
        width: 100%;
    }
    .services__item_big, .services__item_big .back{
        height: 330px;
    }
    .contacts__title{
        margin-bottom: 20px;
    }
    .phones__item,
    .email__item{
        font-size: 18px;
        line-height: 22px;
    }
    .contacts__email{
        padding: 10px 0px;
    }
    .contacts__worktime,
    .contacts__adress{
        font-size: 18px;
        line-height: 22px;
    }
    .footer__wrapper{
        justify-content: center;
    }
    .footer-content__wrapper{
        flex-direction: column;
        width: auto;
    }
    .footer-nav{
        margin-bottom: 30px;
    }
    .additional-inf{
        margin-bottom: 30px;
    }
    .accept{
        flex-direction: column;
    }
    .email{
        margin-bottom: 20px;
    }
    .accept__item{
        width: 100%;
        
    }

    .teams__item + .teams__item {
        margin-left: unset;
    }

    .teams__content{
        padding: 0;
        flex-direction: column;
    }

    .choice__title{
        line-height: 40px;
    }
    .map{
        height: 560px;
    }
    .swiper-button-next, .swiper-container-rtl .swiper-button-prev{
       right: 20px; 
    }
    .swiper-button-prev, .swiper-container-rtl .swiper-button-next{
        left: 20px;
    }
}

@media screen and (max-width:768px){
    .container{
        width: 100%;
        min-width: auto;
        max-width: 100%;
        padding: 0 25px;
    }
    .feature-wrapper{
        width: 100%;
    }
    .logo__image{
        width: 50px;
    }
    .top-image{
        height: 19px;
    }
    .bottom-image{
        height: 10px;
    }
    .bar img{
        height: 22px;
    }
    .front__title{
        font-size: 22px;
    }
    .back__title{
        font-size: 22px;
    }
    .back__subtitle{
        font-size: 14px;
        line-height: 178%;
    }
    .back__button{
        padding: 10px 30px;
    }
    .header__navigation {
        padding: 15px 25px;
    }
    .container.container-full{
        padding: 0;
    }
    .swiper-button-next, .swiper-container-rtl .swiper-button-prev{
        right: 10px;
    }
    .swiper-button-prev, .swiper-container-rtl .swiper-button-next{
        left:10px;
    }
    .swiper-slide{
        width: 460px;
        height: 260px;
    }
    .popular-slider__wrapper{
        height: 260px;
    }
    .popular-slider__content{
        top:17px;
    }
    .price__title{
        font-size: 14px;
        line-height: 20px;
    }
    .price__subtitle .price__subtitle_blue{
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width:570px){
    .accept{
        width: 100%;
    }
    .services__item_big, .services__item_big .back{
        height: 260px;
    }
    .services__item_big .front__title{
        left: 40px;
        top: 40px;
    }
    .services__item_small .front__title{
        right: 40px;
        bottom: 40px;
    }
    .tour__price .price__subtitle_blue{
        font-size: 24px;
    }
    .map{
        height: 440px;
    }
    .swiper-button-next img,
    .swiper-button-prev img{
        width: 17px;
    }
    .swiper-slide{
        width: 325px;
        height: 160px;
    }
    .popular-slider__wrapper{
        height: 160px;
    }
    .popular-slider__content{
        top:17px;
    }
    .title-slider{
        font-size: 16px;
        line-height: 17px;
    }
    .city-sliter{
        font-size: 14px;
        line-height: 17px;
    }
    .popular__prices{
        padding: 50px 0;
    }
    .popular-prices__wrapper{
        min-height:145px;
    }
}
@media screen and (max-width:480px){
    .hero__title{
        font-size: 30px;
        line-height: 37px;
    }
    .hero__subtitle{
        font-size: 16px;
        line-height: 20px;
    }
    .email{
        margin-bottom: 10px;
    }
    .checkbox label{
        font-size: 10px;
        line-height: 12px;
    }

    .accept__checkbox {
        margin-bottom: 10px;
    }

    .services__item_big, .services__item_big .back{
        height: 225px;
    }
    .front__title{
        font-size: 20px;
    }
    .back__title{
        font-size: 20px;
    }
    .back__subtitle{
        font-size: 12px;
    }
    .services__item_small .front__title{
        right: 30px;
        bottom: 30px;
    }
    .services__item_big .front__title{
        left: 30px;
        top: 30px;
    }
    .button {
        font-size: 12px;
    }
    .choice__button{
        width: 100%;
        text-align: center;
    }
    .teams__name{
        font-size: 25px;
        line-height: 25px;
    }
    .teams__decription{
        font-size: 16px;
    }
    .choice__subtitle{
        line-height: 178%;
    }
    .contacts__wrapper{
        padding: 40px 20px 40px 20px;
    }
    .contacts__worktime, .contacts__adress{
        font-size: 16px;
    }
    .phones__item, .email__item{
        font-size: 16px;
    }
    .footer-content__wrapper{
        width: 100%;
    }
    .feature-wrapper{
        padding: 0 10px;
    }
    .feature__image-container{
        margin-right: 25px;
    }
    .arrow-slider{
        padding: 5px 10px;
    }
    .swiper-button-next, .swiper-container-rtl .swiper-button-prev{
        right: 0px;
    }
    .swiper-button-prev, .swiper-container-rtl .swiper-button-next{
        left:0px;
    }
}
@media screen and (max-width:380px){
    .container{
        padding: 0 15px;
    }
    .mobile__wrapper{
        margin: 20px 15px;
    }
    .mobile__close {
        right: 15px;
    }
    .hero__title{
        font-size: 28px;
    }
    .hero__subtitle{
        font-size: 15px;
    }
    .features__item{
        flex-basis: auto;
    }
    .swiper-slide{
        width: 300px;
        height: 160px;
    }
    .popular-slider__wrapper{
        height: 160px;
    }
    .popular-slider__content{
        top:17px;
    }
    .official-inf{
        width: 100%;
    }
    /* .feature-wrapper:first-child .feature__image{
        width: 50px;
        
    }
    .feature__image{
        width: 60px;
    } */
}

@media screen and (max-height:510px) and (max-width:768px){
    .header__wrapper{
        min-height: 510px;
    }
} 

