/*------------------------------------------------------------------
[Table of contents]

1. Top panel
2. Main slider section
3. Most popular section
4. Destinations section
5. Search tour section
6. Stories section
7. Blog section
8. Subscribe section
9. Instagram section
10. Footer
11. Socials
12. Media queries
-------------------------------------------------------------------*/

/*----------------------------------------------------------------------------------
1. Top panel
-----------------------------------------------------------------------------------*/
.top_panel {
    position: absolute;
    top: 48px;
    z-index: 2;
    
    .menu_wrap {
        width: 1090px;
    }
    
    .wrap_float {
        position: relative;
    }
    
    .currency {
        width: 48px;
        height: 48px;
        
        position: absolute;
        top: 50%;
        margin-top: -24px;
        left: -150px;
        border-radius: 50%;
        
        select {
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 50%;
            background: rgba(152, 152, 152, .33);
            font-size: 15px;
            font-weight: 700;
            color: #fff;
            text-transform: uppercase;
            padding: 0 8px;
            
            &:hover {
                cursor: pointer;
            }
        }
    }
    
    .user {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        margin-top: -24px;
        right: -150px;
        transition: all .2s linear;
        
        .userlink {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, .33);
            border-radius: 50%;
            position: relative;
            overflow: hidden;
            
            img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                position: relative;
                z-index: 1;
            }
            
            &:before {
                width: 20px;
                height: 18px;
                background: url(../img/user.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                top: 50%;
                left: 50%;
                margin-left: -10px;
                margin-top: -9px;
                content: '';
                transition: all .2s linear;
            }

            &:after {
                width: 20px;
                height: 18px;
                background: url(../img/user-hover.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                top: 50%;
                left: 50%;
                margin-left: -10px;
                margin-top: -9px;
                content: '';
                opacity: 0;
                transition: all .2s linear;
            }

            &:hover {
                background: #fff;
                transition: all .2s linear;
                cursor: pointer;
                
                * {
                    cursor: pointer;
                }

                &:before {
                    opacity: 0;
                    transition: all .2s linear;
                }

                &:after {
                    opacity: 1;
                    transition: all .2s linear;
                }
            }
        }
        
        .usermenu {
            background: #2E2E2E;
            width: 190px;
            border-radius: 20px 0 20px 20px;
            position: absolute;
            right: 0;
            top: 100%;
            margin-top: 10px;
            padding: 20px 20px;
            display: none;
            
            ul {
                li {
                    margin-bottom: 10px;
                    
                    &:last-child {
                        margin-bottom: 0;
                    }
                    
                    a {
                        color: #919193;
                        font-size: 16px;
                        width: 100%;
                        display: block;
                        float: left;
                        
                        &:hover {
                            color: #FF3B00;
                        }
                    }
                }
            }
        }
    }
    
    .left {
        width: 350px;
        padding-right: 40px;
        
        .search_btn {
            background: rgba(255, 255, 255, .33);
            border-radius: 50%;
            width: 48px;
            height: 48px;
            position: relative;
            margin-right: 40px;
            
            span {
                display: none;
            }
            
            &:before {
                width: 18px;
                height: 18px;
                background: url(../img/search-icon.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                top: 50%;
                left: 50%;
                margin-top: -9px;
                margin-left: -9px;
                content: '';
                transition: all .2s linear;
            }
            
            &:after {
                width: 18px;
                height: 18px;
                background: url(../img/search-hover.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                top: 50%;
                left: 50%;
                margin-top: -9px;
                margin-left: -9px;
                content: '';
                opacity: 0;
                transition: all .2s linear;
            }
            
            &:hover {
                background: #fff;
                transition: all .2s linear;
                cursor: pointer;
                
                &:before {
                    opacity: 0;
                    transition: all .2s linear;
                }
                
                &:after {
                    opacity: 1;
                    transition: all .2s linear;
                }
            }
        }
        
        .logo {
            width: 138px;
            height: 48px;
            width: auto;
            display: block;
            float: left;
            
            img {
                height: 100%;
                width: auto;
                display: block;
                float: left;
            }
        }
    }
    
    .center {
        width: auto;
        
        .menu {
            width: auto;
            
            ul {
                width: auto;
                
                li {
                    width: auto;
                    margin-right: 70px;
                    position: relative;
                    
                    &:last-child {
                        margin-right: 0;
                    }
                    
                    &.dropdown_li {
                        & > a {
                            pointer-events: none;
                        }
                    }
                    
                    a {
                        font-size: 18px;
                        display: block;
                        float: left;
                        line-height: 48px;
                        width: auto;
                        color: #fff;
                        position: relative;
                        
                        span {
                            transition: all .2s linear;
                            border-bottom: 1px solid rgba(255, 255, 255, 0);
                        }
                        
                        &:hover {
                            span {
                                border-color: #fff;
                                transition: all .2s linear;
                            }
                        }
                        
                        &:before {
                            width: 9px;
                            height: 9px;
                            position: absolute;
                            content: '';
                            background: #D03000;
                            left: 50%;
                            margin-left: -4px;
                            top: 1px;
                            border-radius: 50%;
                            display: none;
                        }
                        
                        &.active {
                            &:before {
                                display: block;
                            }
                        }
                    }
                    
                    .dropdown_ul {
                        position: absolute;
                        width: 220px;
                        background: #fff;
                        border-radius: 0 12px 12px 12px;
                        top: 100%;
                        left: 0;
                        padding: 20px;
                        display: none;
                        -webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.1);
                        -moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.1);
                        box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.1);
                        
                        li {
                            margin-right: 0;
                            margin-bottom: 11px;
                            clear: both;
                            
                            &:last-child {
                                margin-bottom: 0;
                            }
                            
                            a {
                                font-size: 16px;
                                color: #919193;
                                line-height: normal;
                                
                                &:hover {
                                    color: #FF3B00;
                                }
                            }
                        }
                    }
                }
            }
            
            .mobile_content {
                display: none;
            }
        }
    }
    
    .right {
        width: auto;
        float: right;
        
        .tel {
            width: auto;
            margin-right: 58px;
            
            a {
                display: block;
                line-height: 48px;
                float: left;
                color: #fff;
                font-size: 18px;
                
                span {
                    transition: all .2s linear;
                    border-bottom: 1px solid rgba(255, 255, 255, 0);
                }
                
                &:hover {
                    span {
                        border-color: #fff;
                        transition: all .2s linear;
                    }
                }
            }
        }
        
        .favorites-count {
            display: block;
            float: left;
            width: auto;
            
            &:hover {
                ._counter {
                    background: #222;
                    transition: all .2s linear;
                }
            }
            
            ._counter {
                width: 48px;
                height: 48px;
                background: #D03000;
                border-radius: 50%;
                font-size: 18px;
                color: #fff;
                line-height: 48px;
                text-align: center;
                transition: all .2s linear;
            }
            
            ._text {
                font-size: 18px;
                color: #fff;
                width: auto;
                line-height: 48px;
                margin-left: 13px;
            }
        }
    }
    
    .mobile_btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .33);
        float: right;
        display: none;
        position: relative;
        transition: all .2s linear;
//            transition-delay: .3s;
        
        &.opened {
            transform: rotate(45deg);
            transition: all .2s linear;
            transition-delay: .3s;
            
                span {
                    &:nth-child(1) {
                        top: 23px;
                        transition: all .2s linear;
                    }
                    
                    &:nth-child(2) {
                        transform: rotate(90deg);
                        transition: all .3s linear;
                        transition-delay: .5s;
                    }
                    
                    &:nth-child(3) {
                        top: 23px;
                        transition: all .2s linear;
                    }
                }
            }
        
        span {
            height: 3px;
            border-radius: 2px;
            background: #fff;
            position: absolute;
            display: block;
            width: 20px;
            left: 14px;
            
            &:nth-child(1) {
                top: 16px;
                transition-delay: .6s;
                transition: all .4s linear;
            }
            
            &:nth-child(2) {
                top: 23px;
                //transition: all .3s linear;
            }
            
            &:nth-child(3) {
                top: 30px;
                transition-delay: .6s;
                transition: all .4s linear;
            }
        }
    }
    
    &.inversion {
        .left .search_btn {
            background: #C7C7C7;
        }
        
        .currency select {
            background: #C7C7C7;
        }
        
        .center .menu ul li a {
            color: #222;
            
            &:hover {
                span {
                    border-color: #222;
                }
            }
        }
        
        .right .tel a {
            color: #222;
        }
        
        .right .favorites-count ._text {
            color: #222;
        }
        
        .user {
            background: #C7C7C7;
        }
    }
}


/*----------------------------------------------------------------------------------
2. Main slider section
-----------------------------------------------------------------------------------*/
.main_slider {
    height: 100vh;
    background: #000;
    overflow: hidden;
    
    .slider-track {
        transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
      }
    
    .slider_wrap {
        .slide {
            
            position: relative;
            transition: all .2s linear;
            
            &.slick-active {
                .slide_content {
                    .title_wrap {
                        transform: none;
                        transition: all .7s ease-out;
                    }
                    
                    .text {
                        transform: none;
                        transition: all 1s ease-out;
                    }
                    
                    .next_title {
                        transform: none;
                        transition: all .7s ease-out;
                    }
                    
                    .buttons {
                        transform: none;
                        transition: all 1.3s ease-out;
                    }
                }
            }
            
            &.slick-active .bg-img {
              transform: scale(1);
            }
            
            .bg-img {
                background-position: center center;
                background-repeat: no-repeat;
                background-size: cover;
                position: absolute;
                width: 100%;
                height: 100%;
                width: 100%;
                  transition: all 1s cubic-bezier(0.7, 0, 0.3, 1);
                  transform: scale(1.2);
            }
            
            .wrap_float {
                position: relative;
                z-index: 1;
                height: 100vh;
            }
            
            &:before {
                height: 50%;
                background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
                background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
                background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
                opacity: .77;
            }
            
            .slide_content {
                position: absolute;
                bottom: 0;
                left: 0;
                
                padding-bottom: 140px;
                
                .title_wrap {
                    position: relative;
                    width: auto;
                    margin-bottom: 30px;
                    max-width: 50%;
                    transition: all .4s ease-out;
                    transform: translateX(-100vw);
                    
                    .slide_title {
                        font-size: 157px;
                        font-family: 'Prata', serif;
                        color: #fff;
                        width: auto;
                        line-height: 1;
                    }
                    
                    .country {
                        font-size: 25px;
                        color: #fff;
                        position: absolute;
                        right: 0;
                        width: auto;
                        top: -64px;
                        text-align: right;
                        padding-left: 18px;
                        
                        &:before {
                            width: 9px;
                            height: 9px;
                            background: #D03000;
                            border-radius: 50%;
                            content: '';
                            position: absolute;
                            left: 0;
                            top: 13px;
                        }
                    }
                }
                
                .text {
                    color: rgba(255, 255, 255, .58);
                    font-size: 25px;
                    max-width: 565px;
                    clear: both;
                    transform: translateX(-100vw);
                    transition: all .4s ease-out;
                }
                
                .buttons {
                    margin-top: 50px;
                    clear: both;
                    transform: translateX(-100vw);
                    transition: all .4s ease-out;
                    
                    .btn {
                        background: #D03000;
                        height: 50px;
                        line-height: 50px;
                        width: auto;
                        padding: 0 30px;
                        font-size: 21px;
                        color: #fff;
                        border-radius: 8px;
                        display: block;
                        float: left;
                    }
                    
                    .link {
                        line-height: 50px;
                        width: auto;
                        display: block;
                        float: left;
                        font-size: 21px;
                        color: #fff;
                        margin-left: 50px;
                        
                        span {
                            border-bottom: 1px solid rgba(255, 255, 255, 0);
                            transition: all .2s linear;
                        }
                        
                        &:hover {
                            span {
                                border-color: #fff;
                                transition: all .2s linear;
                            }
                        }
                    }
                }
            }
            
            .next_title {
                font-size: 120px;
                color: #fff;
                font-family: 'Prata', serif;
                filter: blur(5px);
                position: absolute;
                width: auto;
                right: 0;
                top: 0;
                opacity: .77;
                transition: all .1s linear;
                transform: translateX(50vw);
                
                &:hover {
                    opacity: 1;
                    filter: none;
                    transition: all .1s linear;
                    cursor: pointer;
                }
            }
        }
    }
    
    .arrows {
        position: absolute;
        z-index: 2;
        bottom: 140px;
        right: 50%;
        margin-right: -720px;
        width: auto;
        
        .arrow {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .42);
            position: relative;
            transition: all .2s linear;
            
            &:before {
                width: 16px;
                height: 12px;
                background: url(../img/left-arrow.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                content: '';
                top: 50%;
                left: 50%;
                margin-top: -6px;
                margin-left: -8px;
                opacity: 1;
                transition: all .2s linear;
            }
            
            &:after {
                width: 16px;
                height: 12px;
                background: url(../img/right-arrow.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                content: '';
                top: 50%;
                left: 50%;
                margin-top: -6px;
                margin-left: -8px;
                opacity: 0;
                transition: all .2s linear;
                transform: rotate(180deg);
            }
            
            &.next {
                margin-left: 18px;
                transform: rotate(180deg);
            }
            
            &:hover {
                background: #fff;
                transition: all .2s linear;
                cursor: pointer;
                
                &:before {
                    opacity: 0;
                    transition: all .2s linear;
                }
                
                &:after {
                    opacity: 1;
                    transition: all .2s linear;
                }
            }
        }
    }
}


/*----------------------------------------------------------------------------------
3. Most popular section
-----------------------------------------------------------------------------------*/
.most_popular {
    overflow: hidden;
    padding: 100px 0 50px;
    
    .title_wrap {
        position: relative;
        padding-right: 300px;
        position: relative;
    }
    
    .controls {
        width: auto;
        position: absolute;
        right: 0;
        bottom: 0;
        
        .link {
            font-size: 18px;
            color: #222;
            width: auto;
            display: block;
            float: left;
            line-height: 44px;
            margin-right: 30px;
            
            &:hover {
                color: #FF3B00;
            }
        }
        
        .arrows {
            position: relative;
            z-index: 2;
            width: auto;
            
            .arrow {
                width: 44px;
                height: 44px;
                border-radius: 50%;
                background: #C7C7C7;
                position: relative;
                transition: all .2s linear;
                
                &:before {
                    width: 16px;
                    height: 12px;
                    background: url(../img/left-arrow.svg) center center no-repeat;
                    background-size: contain;
                    position: absolute;
                    content: '';
                    top: 50%;
                    left: 50%;
                    margin-top: -6px;
                    margin-left: -8px;
                    opacity: 1;
                    transition: all .2s linear;
                }

                &:after {
                    width: 16px;
                    height: 12px;
                    background: url(../img/right-arrow.svg) center center no-repeat;
                    background-size: contain;
                    position: absolute;
                    content: '';
                    top: 50%;
                    left: 50%;
                    margin-top: -6px;
                    margin-left: -8px;
                    opacity: 0;
                    transition: all .2s linear;
                    transform: rotate(180deg);
                }

                &.next {
                    margin-left: 18px;
                    transform: rotate(180deg);
                }

                &:hover {
                    background: rgba(199, 199, 199, .18);
                    transition: all .2s linear;
                    cursor: pointer;

                    &:before {
                        opacity: 0;
                        transition: all .2s linear;
                    }

                    &:after {
                        opacity: 1;
                        transition: all .2s linear;
                    }
                }
            }
        }
    }
    
    .slick-list {
        overflow: visible;
        
    }
    
    .slick-track {
        will-change: transform;
    }
    
    
}

.tour_item {
    width: 700px;
    margin-right: 40px;
    height: 350px;
    position: relative;
    border-radius: 13px;
    padding: 40px 48px;
    display: block;
    float: left;
    background-size: cover;
    background-position: center center;
    
    &:hover {
        .shadow {
            opacity: 1;
            transition: all .2s ease-out;
        }
    }
    
    .shadow {
        filter: blur(10px);
        -webkit-filter: blur(10px);
        -moz-filter: blur(10px);
        position: absolute;
        top: 10px;
        left: -6px;
        right: -6px;
        bottom: -10px;
        z-index: -1;
        width: auto;
        opacity: 0;
        transition: all .21s ease-out;
        will-change: opacity;
    }
    
    &:before {
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
        opacity: .77;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 13px;
    }
    
    &_top {
        position: relative;
        z-index: 1;
        padding-right: 80px;
        
        .country {
            font-size: 16px;
            display: flex;
            justify-content: center;
            flex-direction: column;
            color: #fff;
            height: 60px;
            
            span {
                padding-left: 12px;
                position: relative;
                
                &:before {
                    width: 6px;
                    height: 6px;
                    background: #D03000;
                    border-radius: 50%;
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 8px;
                }
            }
        }
        .add_bookmark {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .54);
            position: absolute;
            right: 0;
            top: 0;
            
            &:hover {
                cursor: pointer;
                
                * {
                    cursor: pointer;
                }
            }
            
            .not-added {
                width: 18px;
                height: 22px;
                background: url(../img/bookmark.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                top: 50%;
                left: 50%;
                margin-top: -11px;
                margin-left: -9px;
                content: '';
                opacity: 1;
            }
            
            .is-added {
                width: 18px;
                height: 22px;
                background: url(../img/bookmark-active.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                top: 50%;
                left: 50%;
                margin-top: -11px;
                margin-left: -9px;
                content: '';
                z-index: 2;
            }
            
            i {
                &.not-added {
                  display: block;
                  position: relative;
                  z-index: 1;
                }
                &.is-added {
                  display: none;
                  position: relative;
                }
              }
            
            .fav-overlay {
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 60px;
                height: 60px;
                border-radius: 50%;
                background: #D03000;
                transform: scale(0);
                transition: all .4s;
                z-index: 1;
              }
            
            
            &.added {
                .fav-overlay {
                  transform: scale(1);
                }
                i {
                  &.not-added {
                    display: none;
                  }
                  &.is-added {
                    display: block;
                  }
                }
            }
        }
    }
    
    &_bottom {
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 0;
        padding: 0 40px 48px;
        
        ._title {
            font-size: 33px;
            font-family: 'Prata', serif;
            color: #fff;
            margin-bottom: 27px;
        }
        
        ._info {
            &_left {
                width: auto;
                
                .days {
                    font-size: 21px;
                    color: rgba(255, 255, 255, .53);
                    width: auto;
                    margin-right: 8px;
                }
                
                .cost {
                    font-size: 21px;
                    font-weight: 700;
                    color: #fff;
                    width: auto;
                }
            }
            
            &_right {
                width: auto;
                float: right;
                
                .rating-stars {
                    width: auto;
                    margin-right: 12px;
                    
                    .star {
                        position: relative;
                        width: 24px;
                        height: 28px;
                        
                        &:before {
                            width: 18px;
                            height: 16px;
                            background: url(../img/star.svg) center center no-repeat;
                            background-size: contain;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            margin-top: -8px;
                            margin-left: -9px;
                            content: '';
                            opacity: .41;
                        }
                        
                        &.filled {
                            &:before {
                                display: none;
                            }
                            
                            &:after {
                                width: 18px;
                                height: 16px;
                                background: url(../img/star-active.svg) center center no-repeat;
                                background-size: contain;
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                margin-top: -8px;
                                margin-left: -9px;
                                content: '';
                            }
                        }
                    }
                }
                
                .rating-text {
                    font-size: 18px;
                    color: #fff;
                    line-height: 28px;
                    width: auto;
                }
            }
        }
    }
}


/*----------------------------------------------------------------------------------
4. Destinations section
-----------------------------------------------------------------------------------*/
.destinations {
    padding: 50px 0;
    
    .title_wrap {
        position: relative;
        padding-right: 300px;
        position: relative;
    }
    
    .controls {
        width: auto;
        position: absolute;
        right: 0;
        bottom: 0;
        
        .link {
            font-size: 18px;
            color: #222;
            width: auto;
            display: block;
            float: left;
            line-height: 44px;
            
            &:hover {
                color: #FF3B00;
            }
        }
    }
}

.destinations_item {
    position: relative;
    width: 23%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 13px;
    margin-right: 2.66666667%;
    margin-bottom: 2.66666667%;
    display: block;
    float: left;
    
    &:nth-child(5),
    &:nth-child(6),
    &:nth-child(7),
    &:nth-child(8) {
        margin-bottom: 0;
    }
    
    &:nth-child(4n) {
        margin-right: 0;
    }
    
    &:hover {
        .shadow {
            opacity: 1;
            transition: all .2s ease-out;
        }
    }
    
    .shadow {
        filter: blur(10px);
        -webkit-filter: blur(10px);
        -moz-filter: blur(10px);
        position: absolute;
        top: 10px;
        left: -6px;
        right: -6px;
        bottom: -10px;
        z-index: -1;
        opacity: 0;
        width: auto;
        transition: all .21s ease-out;
        will-change: opacity;
    }
    
    &:before {
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
        opacity: .77;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 13px;
    }
    
    .sq_parent {
        width: 100%;
        position: relative;
        padding-bottom: 100%;
        overflow: hidden;
        
        .sq_wrap {
            position: absolute;
            width: 100%;
            height: 100%;
            
            .sq_content {
                float: left;
                width: 100%;
                height: 100%;
            }
        }
    }
    
    ._content {
        position: relative;
        height: 100%;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 30px;
        transform: translateY(30px);
        transition: all .2s ease-in;
        
        ._title {
            font-size: 34px;
            color: #fff;
            font-family: 'Prata', serif;
            text-align: center;
            margin-bottom: 20px;
        }
        
        ._info {
            color: rgba(255, 255, 255, .53);
            text-align: center;
            opacity: 0;
            transition: all .2s ease-in;
        }
    }
    
    &:hover {
        ._content {
            transform: none;
            transition: all .2s ease-in;
            
            ._info {
                opacity: 1;
                transition: all .2s ease-in;
            }
        }
    }
}


/*----------------------------------------------------------------------------------
5. Search tour section
-----------------------------------------------------------------------------------*/
.search-tour {
    padding: 50px 0;
}

.search-form {
    background: #0030D0;
    height: 260px;
    border-radius: 13px;
    padding: 60px;
    position: relative;
    
    .label {
        font-size: 21px;
        color: rgba(255, 255, 255, .47);
        margin-bottom: 26px;
    }
    
    .destination-col {
        width: 310px;
        margin-right: 85px;
        
        .label {
            margin-bottom: 34px;
        }
        
        .select_wrap {
            height: 58px;
            position: relative;
            background: #1140DE;
            border-radius: 8px;
            
            &:before {
                width: 16px;
                height: 22px;
                background: url(../img/geo.svg) center center no-repeat;
                background-size: contain;
                position: absolute;
                content: '';
                top: 50%;
                margin-top: -11px;
                right: 20px;
            }
            
            select {
                width: 100%;
                height: 100%;
                border: 0;
                display: block;
                float: left;
                font-size: 21px;
                color: #fff;
                font-weight: 400;
                background: none;
                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
                position: relative;
                z-index: 1;
                padding-left: 24px;
                padding-right: 45px;
                
                &:focus {
                    outline: 0;
                }
                
                &:hover {
                    cursor: pointer;
                }
            }
        }
    }
    
    .date-col {
        width: 210px;
        border-right: 1px solid rgba(255, 255, 255, .24);
        margin-right: 27px;
        
        .date_div {
            width: auto;
            position: relative;
            
            .desctop-input {
                position: absolute;
                width: 100%;
                height: 100%;
                left: 0;
                opacity: 0;
                cursor: pointer;
                background: none;
            }
            
            .mobile-input {
                position: absolute;
                width: 100%;
                height: 100%;
                opacity: 0;
                display: none;
                background: none;
            }
        }
        
        .date_div_right {
            width: auto;
            margin-left: 15px;
            padding-top: 10px;
        }
        
        .day {
            width: auto;
            font-size: 59px;
            font-family: 'Prata', serif;
            color: #fff;
        }
        
        .month {
            font-size: 17px;
            color: #fff;
            width: auto;
            margin-bottom: 5px;
        }
        
        .year {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            width: auto;
            clear: both;
        }
    }
    
    .num-col {
        width: 190px;
        border-right: 1px solid rgba(255, 255, 255, .24);
        
        &.last {
            border-right: 0;
            padding-left: 38px;
        }
        
        .num_wrap {
            width: auto;
            margin-top: -3px;
        }
        
        .buttons {
            width: 28px;
            padding-top: 8px;
            
            button {
                width: 28px;
                height: 28px;
                border-radius: 50%;
                background: none;
                display: block;
                float: left;
                clear: both;
                
                
                &.plus {
                    position: relative;
                    margin-bottom: 6px;
                    
                    &:before {
                        width: 12px;
                        height: 12px;
                        background: url(../img/plus.svg) center center no-repeat;
                        background-size: contain;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        margin-top: -6px;
                        margin-left: -6px;
                        content: '';
                    }
                }
                
                &.minus {
                    position: relative;
                    
                    &:before {
                        width: 12px;
                        height: 2px;
                        background: url(../img/minus.svg) center center no-repeat;
                        background-size: contain;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        margin-top: -1px;
                        margin-left: -6px;
                        content: '';
                    }
                }
                
                &:hover {
                    background: #1140DE;
                }
            }
        }
        
        .val {
            font-size: 59px;
            margin-left: 10px;
            line-height: 1.4;
            font-family: 'Prata', serif;
            color: #fff;
            width: 80px;
            height: 76px;
            padding-left: 0;
            padding-right: 0;
            padding-bottom: 0;
            padding-top: 10px;
            background: none;
            border: 0;
            display: block;
            float: left;
            
            &.zero {
                opacity: .4;
            }
        }
    }
    
    .btn {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: #D03000;
        position: absolute;
        top: 50%;
        margin-top: -9px;
        right: 54px;
        
        &:before {
            width: 18px;
            height: 18px;
            background: url(../img/search-icon.svg) center center no-repeat;
            background-size: contain;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -9px;
            margin-left: -9px;
            content: '';
        }
        
        span {
            display: none;
        }
    }
}


/*----------------------------------------------------------------------------------
6. Stories section
-----------------------------------------------------------------------------------*/
.stories {
    overflow: hidden;
    padding: 50px 0;
    
    .title_wrap {
        position: relative;
        padding-right: 300px;
        position: relative;
    }
    
    .controls {
        width: auto;
        position: absolute;
        right: 0;
        bottom: 0;
        
        .link {
            font-size: 18px;
            color: #222;
            width: auto;
            display: block;
            float: left;
            line-height: 44px;
            margin-right: 30px;
            
            &:hover {
                color: #FF3B00;
            }
        }
        
        .arrows {
            position: relative;
            z-index: 2;
            width: auto;
            
            .arrow {
                width: 44px;
                height: 44px;
                border-radius: 50%;
                background: #C7C7C7;
                position: relative;
                transition: all .2s linear;
                
                &:before {
                    width: 16px;
                    height: 12px;
                    background: url(../img/left-arrow.svg) center center no-repeat;
                    background-size: contain;
                    position: absolute;
                    content: '';
                    top: 50%;
                    left: 50%;
                    margin-top: -6px;
                    margin-left: -8px;
                    opacity: 1;
                    transition: all .2s linear;
                }

                &:after {
                    width: 16px;
                    height: 12px;
                    background: url(../img/right-arrow.svg) center center no-repeat;
                    background-size: contain;
                    position: absolute;
                    content: '';
                    top: 50%;
                    left: 50%;
                    margin-top: -6px;
                    margin-left: -8px;
                    opacity: 0;
                    transition: all .2s linear;
                    transform: rotate(180deg);
                }

                &.next {
                    margin-left: 18px;
                    transform: rotate(180deg);
                }

                &:hover {
                    background: rgba(199, 199, 199, .18);
                    transition: all .2s linear;
                    cursor: pointer;

                    &:before {
                        opacity: 0;
                        transition: all .2s linear;
                    }

                    &:after {
                        opacity: 1;
                        transition: all .2s linear;
                    }
                }
            }
        }
    }
    
    .slick-list {
        overflow: visible;
    }
}

.story_item {
    width: 260px;
    height: 400px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-right: 35px;
    border-radius: 13px;
    display: block;
    float: left;
    
    &:hover {
        .shadow {
            opacity: 1;
            transition: all .2s ease-out;
        }
    }
    
    &:hover {
        ._content {
            transform: none;
            transition: all .2s ease-in;
            
            .text {
                opacity: 1;
                transition: all .2s ease-in;
            }
        }
    }
    
    .shadow {
        filter: blur(10px);
        -webkit-filter: blur(10px);
        -moz-filter: blur(10px);
        position: absolute;
        top: 10px;
        left: -6px;
        right: -6px;
        bottom: -10px;
        z-index: -1;
        width: auto;
        opacity: 0;
        transition: all .21s ease-out;
        will-change: opacity;
    }
    
    &:before {
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
        opacity: .77;
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        border-radius: 13px;
    }
    
    .item_wrap {
        position: relative;
        height: 100%;
        overflow: hidden;
    }
    
    ._content {
        position: relative;
        height: 100%;
        text-align: center;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        transform: translateY(60px);
        transition: all .2s ease-in;
        
        .flag {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: inline-block;
            float: none;
            overflow: hidden;
            
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
        
        .country {
            font-size: 32px;
            color: #fff;
            font-family: 'Prata', serif;
            margin-top: 10px;
        }
        
        .text {
            font-size: 21px;
            color: rgba(255, 255, 255, .56);
            margin-top: 8px;
            opacity: 0;
            height: 56px;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            transition: all .2s ease-in;
        }
    }
}


/*----------------------------------------------------------------------------------
7. Blog section
-----------------------------------------------------------------------------------*/
.blog {
    padding: 50px 0;
    
    .title_wrap {
        position: relative;
        padding-right: 300px;
        position: relative;
    }
    
    .controls {
        width: auto;
        position: absolute;
        right: 0;
        bottom: 0;
        
        .link {
            font-size: 18px;
            color: #222;
            width: auto;
            display: block;
            float: left;
            line-height: 44px;
            
            &:hover {
                color: #FF3B00;
            }
        }
    }
}

.blog_item {
    position: relative;
    width: 456px;
    width: 32%;
    margin-right: 2%;
    display: block;
    float: left;
    
    &:nth-child(3n) {
        margin-right: 0;
    }
    
    &:hover {
        .blog_item_top {
             .shadow {
                opacity: 1;
                transition: all .2s ease-out;
            }
        }
    }
    
    &_top {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        border-radius: 13px;
        margin-bottom: 20px;
        
        .tags {
            .tag {
                height: 28px;
                line-height: 28px;
                background: #000;
                width: auto;
                padding: 0 10px;
                border-radius: 5px;
                font-size: 15px;
                color: #fff;
                margin-right: 8px;
                
                &.red {
                    background: #D03000;
                }
                
                &.green {
                    background: #2FB26B;
                }
                
                &.blue {
                    background: #1140DE;
                }
                
                &.black {
                    background: #222;
                }
            }
        }
        
        &:before {
            background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
            opacity: .63;
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 13px;
        }
        
        .sq_parent {
            width: 100%;
            position: relative;
            padding-bottom: 60%;
            overflow: hidden;
            
            
            .sq_wrap {
                position: absolute;
                width: 100%;
                height: 100%;
                padding: 20px 30px;
                
                .sq_content {
                    float: left;
                    width: 100%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                }
            }
        }
        
        ._title {
            font-size: 25px;
            font-family: 'Prata', serif;
            color: #fff;
        }
        
        .shadow {
            filter: blur(10px);
            position: absolute;
            top: 10px;
            left: -6px;
            right: -6px;
            bottom: -10px;
            z-index: -1;
            width: auto;
            opacity: 0;
            transition: all .21s ease-out;
            will-change: opacity;
        }
    }
    
    &_bottom {
        
        .author {
            padding-left: 60px;
            position: relative;
            margin-bottom: 15px;
            
            .userpic {
                width: 42px;
                height: 42px;
                border-radius: 50%;
                overflow: hidden;
                position: absolute;
                top: 0;
                left: 0;
                
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            
            .date {
                color: #919193;
                font-size: 15px;
                height: 42px;
                display: table-cell;
                vertical-align: middle;
                float: none;
            }
        }
        
        .text {
            font-size: 21px;
            color: #919193;
        }
    }
}


/*----------------------------------------------------------------------------------
8. Subscribe section
-----------------------------------------------------------------------------------*/
.subscribe_section {
    padding: 50px 0;
    
    .subscribe_block {
        //height: 222px;
        position: relative;
        border-radius: 10px;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 64px 160px;
        
        &:before {
            background: #151515;
            opacity: .28;
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            border-radius: 10px;
            content: '';
        }
        
        .left {
            position: relative;
            z-index: 1;
            width: auto;
        }
        
        .right {
            position: relative;
            z-index: 1;
            width: auto;
            padding: 16px 0;
            float: right;
            
            .input_wrap {
                height: 58px;
                background: rgba(0, 0, 0, .64);
                border-radius: 5px;
                width: 314px;
                
                &.select_wrap {
                    position: relative;
                    margin-right: 30px;
                    
                    &:before {
                        width: 16px;
                        height: 22px;
                        background: url(../img/geo.svg) center center no-repeat;
                        background-size: contain;
                        position: absolute;
                        content: '';
                        top: 50%;
                        margin-top: -11px;
                        right: 24px;
                    }
                }
                
                .input {
                    height: 58px;
                    display: block;
                    float: left;
                    background: none;
                    width: 100%;
                    border: 0;
                    font-size: 21px;
                    color: #fff;
                    padding: 0 28px;
                }
                
                select {
                    width: 100%;
                    height: 100%;
                    border: 0;
                    background: none;
                    font-size: 21px;
                    color: rgba(255, 255, 255, .63);
                    padding: 0 50px 0 28px;
                    font-weight: 400;
                    position: relative;
                    z-index: 1;
                    
                    &.selected {
                        color: #fff;
                    }
                    
                    &:focus {
                        outline: 0;
                    }
                }
            }
            
            .submit {
                background: #D03000;
                height: 58px;
                width: 58px;
                border-radius: 50%;
                border: 0;
                position: relative;
                margin-left: 25px;
                
                &:before {
                    width: 24px;
                    height: 16px;
                    background: url(../img/mail.svg) center center no-repeat;
                    background-size: contain;
                    position: absolute;
                    content: '';
                    top: 50%;
                    left: 50%;
                    margin-top: -8px;
                    margin-left: -12px;
                }
                
                span {
                    display: none;
                }
            }
        }
        
        ._title {
            font-size: 48px;
            color: #fff;
            font-family: 'Prata', serif;
            width: auto;
        }
        
        ._subtitle {
            font-size: 18px;
            color: rgba(255, 255, 255, .58);
            width: auto;
            clear: both;
        }
    }
}


/*----------------------------------------------------------------------------------
9. Instagram section
-----------------------------------------------------------------------------------*/
.instagram_posts {
    padding-top: 50px;
    
    .post {
        display: block;
        float: left;
        width: 20%;
        height: 20%;
        position: relative;
        overflow: hidden;
        
        .sq_parent {
            width: 100%;
            position: relative;
            padding-bottom: 100%;
            overflow: hidden;
            
            .sq_wrap {
                position: absolute;
                width: 100%;
                height: 100%;
                
                .sq_content {
                    float: left;
                    width: 100%;
                    height: 100%;
                }
            }
        }
        
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        &:before {
            background: #000;
            opacity: 0;
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            transition: all .2s ease-out;
        }
        
        &:after {
            width: 34px;
            height: 34px;
            background: url(../img/instagram-icon.svg) center center no-repeat;
            background-size: contain;
            position: absolute;
            content: '';
            top: 50%;
            left: 50%;
            margin-top: -17px;
            margin-left: -17px;
            transition: all .3s ease-out;
            transform: scale(.3);
            opacity: 0;
            z-index: 1;
        }
        
        &:hover {
            &:before {
                opacity: .23;
                transition: all .2s ease-out;
            }
            
            &:after {
                transform: none;
                opacity: 1;
                transition: all .3s ease-out;
            }
        }
    }
}


/*----------------------------------------------------------------------------------
10. Footer
-----------------------------------------------------------------------------------*/
.footer {
    background: #151515;
    padding: 66px 0;
    position: relative;
    z-index: 1;
    
    &_top {
        .left {
            width: 60%;
        }
        
        .right {
            width: 37%;
            float: right;
            
            .contacts_info {
                .tel {
                    width: 50%;
                    padding-right: 20px;
                    
                    a {
                        font-size: 26px;
                        font-weight: 700;
                        color: #fff;
                        display: block;
                        float: left;
                        width: auto;
                    }
                }
                
                .email {
                    width: 50%;
                    
                    a {
                        font-size: 22px;
                        color: #fff;
                        display: block;
                        float: left;
                        width: auto;
                    }
                }
                
                p {
                    font-size: 18px;
                    color: rgba(255, 255, 255, .37);
                    width: auto;
                    clear: both;
                }
            }
            
            .address {
                font-size: 18px;
                color: #fff;
                padding-left: 28px;
                position: relative;
                margin-bottom: 30px;
                margin-top: 40px;
                
                &:before {
                    width: 16px;
                    height: 22px;
                    background: url(../img/geo.svg) center center no-repeat;
                    background-size: contain;
                    position: absolute;
                    left: 0;
                    top: 5px;
                    content: '';
                }
            }
        }
        
        .col {
            width: 33.333%;
            padding-right: 42px;
        }
        
        ._title {
            font-size: 28px;
            color: #fff;
            font-family: 'Prata', serif;
            margin-bottom: 32px;
        }
        
        ul {
            li {
                margin-bottom: 18px;
                
                a {
                    font-size: 18px;
                    color: rgba(255, 255, 255, .38);
                    display: block;
                    width: auto;
                    line-height: 20px;
                    
                    &:hover {
                        color: #fff;
                    }
                }
            }
        }
    }
    
    &_bottom {
        padding-top: 80px;
        
        a {
            &:hover {
                color: #fff;
            }
        }
        
        .left {
            width: 60%;
            color: rgba(255, 255, 255, .53);
        }
        
        .right {
            width: 37%;
            float: right;
            color: rgba(255, 255, 255, .53);
        }
    }
}


/*----------------------------------------------------------------------------------
11. Socials
-----------------------------------------------------------------------------------*/
.social-links {
    .link {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: block;
        float: left;
        position: relative;
        margin-right: 23px;

        &:last-child {
            margin-right: 0;
        }

        span {
            display: block;
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            z-index: 1;
            background: inherit;

            &:before {
                position: absolute;
                top: 50%;
                left: 50%;
                content: '';
                background-position: center center;
                background-repeat: no-repeat;
                background-size: contain;
            }
        }

        &:after {
            background: inherit;
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border-radius: 50%;
            content: '';
            filter: blur(6px);
            -webkit-filter: blur(6px);
            -moz-filter: blur(6px);
            opacity: 0;
            transition: all .1s linear;
            will-change: opacity;
        }

        &:hover {
            &:after {
                opacity: 1;
                transition: all .1s linear;
            }
        }

        &.facebook {
            background: #33589E;

            span:before {
                width: 13px;
                height: 25px;
                background-image: url(../img/facebook-logo.svg);
                margin-top: -13px;
                margin-left: -7px;
            }
        }

        &.instagram {
            background: rgb(76,90,209); /* Old browsers */
            background: -moz-linear-gradient(-45deg, rgba(76,90,209,1) 0%, rgba(255,55,86,1) 42%, rgba(255,62,55,1) 60%, rgba(255,212,43,1) 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(-45deg, rgba(76,90,209,1) 0%,rgba(255,55,86,1) 42%,rgba(255,62,55,1) 60%,rgba(255,212,43,1) 100%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(135deg, rgba(76,90,209,1) 0%,rgba(255,55,86,1) 42%,rgba(255,62,55,1) 60%,rgba(255,212,43,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c5ad1', endColorstr='#ffd42b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

            span:before {
                width: 22px;
                height: 22px;
                background-image: url(../img/instagram-logo.svg);
                margin-top: -11px;
                margin-left: -11px;
            }
        }

        &.pinterest {
            background: #C8232C;

            span:before {
                width: 20px;
                height: 24px;
                background-image: url(../img/pinterest.svg);
                margin-top: -12px;
                margin-left: -10px;
            }
        }

        &.twitter {
            background: #4BA0EB;

            span:before {
                width: 26px;
                height: 20px;
                background-image: url(../img/twitter-logo.svg);
                margin-top: -10px;
                margin-left: -13px;
            }
        }

        &.youtube {
            background: #FF000E;

            span:before {
                width: 23px;
                height: 16px;
                background-image: url(../img/youtube-logo.svg);
                margin-top: -8px;
                margin-left: -12px;
            }
        }
    }
}

.modal_search {
    background: rgba(0, 48, 208, .89);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: none;
    
    .close {
        background: rgba(255, 255, 255, .33);
        border-radius: 50%;
        width: 48px;
        height: 48px;
        position: absolute;
        display: block;
        top: 30px;
        right: 50px;
        z-index: 1;
        
        &:before {
            position: absolute;
            width: 16px;
            height: 16px;
            background: url(../img/close.svg) center center no-repeat;
            background-size: contain;
            top: 50%;
            left: 50%;
            margin-top: -8px;
            margin-left: -8px;
            content: '';
            transition: all .2s linear;
        }
        
        &:hover {
            cursor: pointer;
            
            &:before {
                transform: rotate(90deg);
                transition: all .2s linear;
            }
        }
    }
    
    .search-tour {
        height: 100%;
        display: flex;
        align-items: center;
    }
}

.safari-browser {
    .main_slider .slider_wrap .slide {
        width: 100vw !important;
    }
}


/*----------------------------------------------------------------------------------
12. Media queries
-----------------------------------------------------------------------------------*/
@media screen and (min-width: 1041px) {
    .button {
        &:hover {
            background: #FF3B00 !important;
            -webkit-box-shadow: 0px 3px 15px 0px rgba(255,59,0,0.78);
            -moz-box-shadow: 0px 3px 15px 0px rgba(255,59,0,0.78);
            box-shadow: 0px 3px 15px 0px rgba(255,59,0,0.78);
        }
    }
    
    .sidebar .search-form .btn {
        &:after {
            transition: all .2s linear;
        }
        
        &:hover {
            &:after {
                background: #FF3B00 !important;
                -webkit-box-shadow: 0px 3px 15px 0px rgba(255,59,0,0.78);
                -moz-box-shadow: 0px 3px 15px 0px rgba(255,59,0,0.78);
                box-shadow: 0px 3px 15px 0px rgba(255,59,0,0.78);
                transition: all .2s linear;
            }
        }
    }
}

@media screen and (max-width: 1930px) {
    .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title {
        font-size: 136px;
    }    
}

@media screen and (max-width: 1762px) {
    .top_panel .wrap_float {
        padding: 0 72px;
    }
    
    .top_panel .currency {
        left: 0;
    }
    
    .top_panel .user {
        right: 0;
    }
    
    .top_panel .left {
        width: 292px;
    }
    
    .top_panel .center .menu ul li {
        margin-right: 50px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title {
        font-size: 110px;
    }
    
    .main_slider .slider_wrap .slide .next_title {
        font-size: 90px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .text {
        font-size: 20px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap .country {
        font-size: 20px;
        top: -50px;
    }
    
    .main_slider .slider_wrap .slide .slide_content {
        padding-bottom: 70px;
    }
    
    .main_slider .arrows {
        bottom: 70px;
    }
    
    .top_panel .menu_wrap {
        width: 1004px;
    }
}

@media screen and (max-width: 1520px) {
    .wrap {
        max-width: 1300px;
    }
    
    .tour_item {
        width: 630px;
    }
    
    .tour_item_bottom ._title {
        font-size: 28px;
    }
    
    .destinations_item ._content ._title {
        font-size: 30px;
    }
    
    .main_slider .arrows {
        margin-right: -650px;
    }
    
    .search-form .destination-col {
        width: 276px;
    }
    
    .search-form .destination-col {
        margin-right: 45px;
    }
    
    .search-form .date-col {
        width: 187px;
    }
    
    .search-form .num-col {
        width: 165px;
    }
    
    .subscribe_section .subscribe_block {
        padding: 60px 100px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .buttons {
        margin-top: 33px;
    }
    
    .blog_item_bottom .text {
        font-size: 18px;
    }
    
    .story_item ._content .country {
        font-size: 30px;
    }
    
    .top_panel .menu_wrap {
        width: 864px;
    }
    
    .popup {
        width: 570px;
        
        .scroll {
            .scroll_wrap {
                padding-top: 100px;
            }
        }
    }
    
    .popup .close {
        top: 30px;
        right: 30px;
    }
    
    .search-form .btn {
        margin-top: -7px;
    }
}

@media screen and (max-width: 1400px) {
    .wrap {
        max-width: 1280px;
    }
    
    .tour_item {
        width: 620px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title {
        font-size: 100px;
    }
    
    .main_slider .arrows {
        margin-right: -640px;
        bottom: 50px;
    }
    
    .main_slider .slider_wrap .slide .next_title {
        font-size: 60px;
        top: 20px;
    }
    
    .main_slider .slider_wrap .slide .slide_content {
        padding-bottom: 50px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap {
        margin-bottom: 15px;
    }
    
    .top_panel {
        top: 34px;
    }
    
    .most_popular {
        padding: 40px 0;
        padding-top: 80px;
    }
    
    .title {
        font-size: 42px;
    }
    
    .destinations,
    .search-tour,
    .stories,
    .blog,
    .subscribe_section {
        padding: 40px 0;
    }
    
    .instagram_posts {
        padding-top: 40px;
    }
    
    .top_panel .menu_wrap {
        width: 844px;
    }
    
    .popup .scroll .scroll_wrap {
        padding-top: 86px;
        padding-bottom: 40px;
    }
    
    .popup.profile-setting .scroll .scroll_wrap {
        padding-top: 100px;
    }
    
    .popup-body .form .input {
        height: 50px;
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .popup-body .form .textarea {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .popup-body .form .submit {
        height: 50px;
    }
    
    .popup-head .title {
        font-size: 40px;
    }
    
    .popup-body .form .label {
        margin-bottom: 10px;
        margin-top: 8px;
    }
    
    .top_panel .right .tel {
        margin-right: 26px;
    }
    
    .top_panel .center .menu ul li {
        margin-right: 40px;
    }
}

@media screen and (max-width: 1300px) {
    .wrap {
        max-width: 1180px;
    }
    
    .top_panel .center .menu ul li {
        margin-right: 36px;
    }
    
    .top_panel .left .search_btn {
        margin-right: 28px;
    }
    
    .top_panel .right .favorites-count ._text {
        display: none;
    }
    
    .main_slider .arrows {
        margin-right: -590px;
    }
    
    .tour_item {
        width: 570px;
    }
    
    .search-form {
        padding: 40px 30px;
        height: auto;
    }
    
    .search-form .num-col {
        width: 146px;
    }
    
    .search-form .num-col.last {
        width: 170px;
    }
    
    .search-form .btn {
        right: 30px;
    }
    
    .subscribe_section .subscribe_block {
        padding: 60px 50px;
    }
    
    .top_panel .menu_wrap {
        width: 744px;
    }
    
    .load_more {
        width: 92px;
        height: 92px;
        font-size: 16px;
    }
    
    .search-form .btn {
        margin-top: -5px;
    }
}

@media screen and (min-width: 1201px) {
    .top_panel .menu_wrap {
        display: block !important;
    }
}

@media screen and (max-width: 1200px) {
    .top_panel {
        z-index: 3;
    }
    
    .top_panel .currency {
        display: none;
    }
    
    .top_panel .right {
        display: none;
    }
    
    .top_panel .user {
        display: none;
    }
    
    .top_panel .mobile_btn {
        display: block;
    }
    
    .top_panel .wrap_float {
        padding: 0;
    }
    
    .wrap {
        max-width: 940px;
    }
    
    .top_panel .center {
        display: none;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap .country {
        width: 100%;
        text-align: left;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap .country:before {
        top: 9px;
    }
    
    .main_slider .arrows {
        margin-right: -470px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .next_title {
        display: none !important;
    }
    
    .destinations_item ._content ._title {
        margin-bottom: 5px;
    }
    
    .search-form .date-col {
        &:nth-child(2) {
            clear: both;
        }
    }
    
    .search-form .destination-col {
        max-width: 576px;
        margin-right: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .search-form .label {
        margin-bottom: 16px;
    }
    
    .search-form .destination-col .label {
        margin-bottom: 16px;
    }
    
    .blog_item {
        width: 48%;
        margin-right: 4%;
        
        &:nth-child(2) {
            margin-right: 0;
        }
        
        &:last-child {
            display: none;
        }
    }
    
    .subscribe_section .subscribe_block .left {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .subscribe_section .subscribe_block ._title,
    .subscribe_section .subscribe_block ._subtitle {
        width: 100%;
    }
    
    .subscribe_section .subscribe_block .right {
        width: 100%;
    }
    
    .subscribe_section .subscribe_block .right .input_wrap {
        width: 34vw;
    }
    
    .instagram_posts .post {
        width: 25%;
        
        &:last-child {
            display: none;
        }
    }
    
    .footer_top .left {
        width: 100%;
    }
    
    .footer_top .right {
        width: 100%;
        margin-top: 30px;
    }
    
    .footer_top .right .contacts_info .tel {
        max-width: 300px;
    }
    
    .footer_bottom .right {
        clear: both;
        float: left;
        width: 100%;
        margin-top: 14px;
    }
    
    .footer_bottom {
        padding-top: 50px;
    }
    
    .top_panel .menu_wrap {
        display: none;
        width: 100%;
        background: #000;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: auto;
        z-index: 4;
        
        .close {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .33);
            float: right;
            position: absolute;
            right: 0;
            top: 34px;
            transition: all .2s linear;
//                transition-delay: .3s;
            
            &.opened {
                transform: rotate(45deg);
                transition: all .2s linear;
                transition-delay: .3s;
                
                span {
                    &:nth-child(1) {
                        top: 23px;
                        transition: all .2s linear;
                    }
                    
                    &:nth-child(2) {
                        transform: rotate(90deg);
                        transition: all .3s linear;
                        transition-delay: .5s;
                    }
                    
                    &:nth-child(3) {
                        top: 23px;
                        transition: all .2s linear;
                    }
                }
            }
            
            span {
                height: 3px;
                border-radius: 2px;
                background: #fff;
                position: absolute;
                display: block;
                width: 20px;
                left: 14px;
                
                &:nth-child(1) {
                    top: 16px;
                    transition: all .4s linear;
                    transition-delay: .6s;
                }
                
                &:nth-child(2) {
                    top: 23px;
                    //transition: all .3s linear;
                    
                }
                
                &:nth-child(3) {
                    top: 30px;
                    transition: all .4s linear;
                    transition-delay: .6s;
                }
            }
        }
    }
    
    .top_panel .user {
        display: block;
        left: 50%;
        margin-left: -470px;
        top: 34px;
        margin-top: 0;
    }
    
    .top_panel .right {
        display: block;
    }
    
    .top_panel .right .favorites-count {
        display: block;
        position: absolute;
        left: 50%;
        margin-left: -400px;
        top: 34px;
    }
    
    .top_panel .right .favorites-count ._text {
        display: block;
        color: #fff;
    }
    
    .top_panel .right .tel {
        display: none;
    }
    
    .top_panel .center {
        display: block;
        width: 940px;
        left: 50%;
        position: relative;
        margin-left: -470px;
        padding-top: 112px;
        padding-bottom: 50px;
        
        .menu {
            width: 100%;
            
            ul {
                width: 100%;
                
                li {
                    width: 100%;
                    text-align: left;
                    margin-right: 0;
                    
                    a {
                        font-size: 28px;
                        font-family: 'Prata', serif;
                        width: 100%;
                        display: block;
                        float: left;
                        border-bottom: 1px solid rgba(255, 255, 255, .18);
                        line-height: 80px;
                        margin-right: 0;
                        
                        &.active {
                            
                            span {
                                position: relative;
                                padding-right: 20px;
                                
                                &:before {
                                    width: 9px;
                                    height: 9px;
                                    background: #d03000;
                                    right: 0;
                                    top: 50%;
                                    margin-top: -4px;
                                    content: '';
                                    border-radius: 50%;
                                    position: absolute;
                                }
                            }
                        }
                        
                        span {
                            border-bottom: 0;
                        }
                        
                        &:hover {
                            span {
                                border-bottom: 0;
                                transition: none;
                            }
                        }
                    }
                    
                    &.dropdown_li {
                        a {
                            &.hover {
                                &:before {
                                    background: #fff;
                                    transition: all .2s linear;
                                }
                                
                                &:after {
                                    background-image: url(../img/minus-2.svg);
                                }
                            }
                            
                            &:before {
                                width: 44px;
                                height: 44px;
                                background: rgba(255, 255, 255, .44);
                                border-radius: 50%;
                                content: '';
                                position: absolute;
                                right: 0;
                                left: auto;
                                top: 50%;
                                margin-top: -22px;
                                transition: all .2s linear;
                                display: block;
                            }
                            
                            &:after {
                                width: 12px;
                                height: 12px;
                                background: url(../img/plus-2.svg) center center no-repeat;
                                background-size: contain;
                                position: absolute;
                                content: '';
                                top: 50%;
                                margin-top: -6px;
                                right: 16px;
                            }
                        }
                    }
                    
                    .dropdown_ul {
                        border-bottom: 1px solid rgba(255, 255, 255, .18);
                        border-radius: 0;
                        padding-left: 0;
                        padding-right: 0;
                        
                        li {
                            a {
                                border-bottom: 0;
                                
                                &:before,
                                &:after {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }
            
            .currency_mob {
                position: relative;
                padding-left: 60px;
                margin-top: 30px;
                margin-bottom: 20px;
                
                select {
                    width: 48px;
                    height: 48px;
                    border: 0;
                    border-radius: 50%;
                    background: rgba(152, 152, 152, .33);
                    font-size: 15px;
                    font-weight: 700;
                    color: #fff;
                    text-transform: uppercase;
                    padding: 0 8px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    
                    &:hover {
                        cursor: pointer;
                    }
                }
                
                p {
                    font-size: 18px;
                    color: rgba(255, 255, 255, .38);
                    line-height: 48px;
                }
            }
            
            .mobile_content {
                display: block;
                
                .tel {
                    margin-bottom: 27px;
                    
                    a {
                        font-size: 26px;
                        font-weight: 600;
                        color: #fff;
                    }
                    
                    p {
                        font-size: 18px;
                        color: rgba(255, 255, 255, .37);
                    }
                }
                
                .link {
                    width: 45px;
                    height: 45px;
                    border-radius: 50%;
                    display: block;
                    float: left;
                    position: relative;
                    margin-right: 23px;
                    
                    &:last-child {
                        margin-right: 0;
                    }
                    
                    span {
                        display: block;
                        position: relative;
                        width: 100%;
                        height: 100%;
                        border-radius: 50%;
                        z-index: 1;
                        background: inherit;
                        
                        &:before {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            content: '';
                            background-position: center center;
                            background-repeat: no-repeat;
                            background-size: contain;
                        }
                    }
                    
                    &.facebook {
                        background: #33589E;
                        
                        span:before {
                            width: 13px;
                            height: 25px;
                            background-image: url(../img/facebook-logo.svg);
                            margin-top: -13px;
                            margin-left: -7px;
                        }
                    }
                    
                    &.instagram {
                        background: rgb(76,90,209); /* Old browsers */
                        background: -moz-linear-gradient(-45deg, rgba(76,90,209,1) 0%, rgba(255,55,86,1) 42%, rgba(255,62,55,1) 60%, rgba(255,212,43,1) 100%); /* FF3.6-15 */
                        background: -webkit-linear-gradient(-45deg, rgba(76,90,209,1) 0%,rgba(255,55,86,1) 42%,rgba(255,62,55,1) 60%,rgba(255,212,43,1) 100%); /* Chrome10-25,Safari5.1-6 */
                        background: linear-gradient(135deg, rgba(76,90,209,1) 0%,rgba(255,55,86,1) 42%,rgba(255,62,55,1) 60%,rgba(255,212,43,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c5ad1', endColorstr='#ffd42b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
                        
                        span:before {
                            width: 22px;
                            height: 22px;
                            background-image: url(../img/instagram-logo.svg);
                            margin-top: -11px;
                            margin-left: -11px;
                        }
                    }
                    
                    &.pinterest {
                        background: #C8232C;
                        
                        span:before {
                            width: 20px;
                            height: 24px;
                            background-image: url(../img/pinterest.svg);
                            margin-top: -12px;
                            margin-left: -10px;
                        }
                    }
                    
                    &.twitter {
                        background: #4BA0EB;
                        
                        span:before {
                            width: 26px;
                            height: 20px;
                            background-image: url(../img/twitter-logo.svg);
                            margin-top: -10px;
                            margin-left: -13px;
                        }
                    }
                    
                    &.youtube {
                        background: #FF000E;
                        
                        span:before {
                            width: 23px;
                            height: 16px;
                            background-image: url(../img/youtube-logo.svg);
                            margin-top: -8px;
                            margin-left: -12px;
                        }
                    }
                }
            }
        }
    }
    
    .top_panel .center .menu ul li .dropdown_ul {
        position: static;
        width: 100%;
        background: none;
        
        li {
            a {
                font-size: 18px;
                color: rgba(255, 255, 255, .38);
                font-family: 'Nunito', sans-serif;
            }
        }
    }
    
    .top_panel .center .menu ul li.dropdown_li>a {
        pointer-events: inherit;
    }
    
    .page .posts .tour_item {
        width: 49%;
        margin-right: 2%;
        margin-bottom: 2%;
    }
    
    .tour_item_bottom ._info_right {
        float: left;
        margin-top: 6px;
        clear: both;
    }
    
    .tour_item_bottom ._title {
        font-size: 24px;
        margin-bottom: 17px;
    }
    
    .breadcrumbs {
        padding-top: 110px;
    }
    
    .top_panel.inversion .mobile_btn {
        background: #c7c7c7;
    }
    
    .top_panel.inversion .center .menu ul li a {
        color: #fff;
    }
    
    .top_panel.inversion .right .favorites-count ._text {
        color: #fff;
    }
    
    .top_panel.inversion .user {
        background: rgba(255,255,255,0.33);
    }
    
    .page.static-page .left_content .description {
        font-size: 20px;
    }
    
    .page.static-page .left_content p:not([class]) {
        font-size: 18px;
    }
    
    .page.static-page .left_content .two-colums .col {
        margin-right: 0;
        width: 100%;
    }
    
    .page.static-page .left_content ul li,
    .page.static-page .left_content ol li {
        font-size: 18px;
    }
    
    .page.static-page .left_content ul li:before {
        top: 8px;
    }
    
    .top_panel .user .usermenu {
        right: auto;
        left: 0;
        border-radius: 0 20px 20px 20px;
    }
    
    .top_panel .user .userlink {
        &:hover {
            background: rgba(255,255,255,0.33);
            
            &:before {
                opacity: 1;
            }
            
            &:after {
                display: none;
            }
        }
    }
    
    .footer_top .right .contacts_info .tel a {
        font-size: 24px;
    }
    
    .search-form .btn {
        margin-top: 55px;
    }
    
    .story_item ._content .text {
        height: 52px;
    }
}

@media screen and (max-width: 1040px) {
    .destinations_item .shadow,
    .tour_item .shadow,
    .story_item .shadow,
    .blog_item_top .shadow,
    .social-links .link:after {
        display: none;
    }
    
    .destinations_item ._content,
    .story_item ._content {
        transform: none;
    }
    
    .destinations_item ._content ._info,
    .story_item ._content .text {
        opacity: 1;
    }
    
    .mobile:not(.ie-browser) .search-form .date-col .date_div .desctop-input {
        display: none;
    }
    
    .mobile:not(.ie-browser) .search-form .date-col .date_div .mobile-input {
        display: block;
        z-index: 1;
    }
    
    .mobile:not(.ie-browser) .ui-widget.ui-widget-content {
        display: none !important;
    }
    
    .mobile .main_slider .slider_wrap .slide .wrap_float {
        height: inherit;
    }
    
    //mobile
    .mobile .most_popular {
        
        .wrap {
            width: 100%;
            max-width: 100%;
        }
        
        .controls .arrows {
            display: none;
        }
        
        .title_wrap {
            padding-left: 4%;
            padding-right: 4%;
        }
        
        .section_content {
            overflow: auto;
            
            .tour-slider {
                white-space: nowrap;
                width: auto;
                padding-left: 4%;
                
                .tour_item {
                    display: inline-block;
                    float: none;
                    vertical-align: top;
                    white-space: normal;
                    margin-bottom: 20px;
                    
                    &:last-child {
                        margin-right: 4vw;
                    }
                }
            }
        }
    }
    
    .mobile .stories {
        .wrap {
            width: 100%;
            max-width: 100%;
        }
        
        .controls .arrows {
            display: none;
        }
        
        .title_wrap {
            padding-left: 4%;
            padding-right: 4%;
        }
        
        .section_content {
            overflow: auto;
            
            .stries_slider {
                white-space: nowrap;
                width: auto;
                padding-left: 4%;
                
                .story_item {
                    display: inline-block;
                    float: none;
                    vertical-align: top;
                    white-space: normal;
                    margin-bottom: 20px;
                    margin-right: 23px;
                    
                    &:last-child {
                        margin-right: 4vw;
                    }
                }
            }
        }
    }
    
    .safari-browser {
        .search-form .num-col .val {
            padding-top: 10px;
        }
    }
    
    .main_slider .arrows .arrow {
        &:hover {
            background: rgba(255,255,255,0.42);
            
            &:before {
                opacity: 1;
            }
            
            &:after {
                opacity: 0;
            }
        }
    }
    
    .most_popular .controls .link,
    .destinations .controls .link,
    .stories .controls .link,
    .blog .controls .link {
        color: #ff3b00;
    }
    
    .popup-head .link,
    .popup-body .form .link {
        text-decoration: underline;
    }
}

@media screen and (max-width: 1040px) and (orientation: landscape) {
    .main_slider,
    .main_slider .slider_wrap .slide .wrap_float {
        height: 460px !important;
    }
    
    .main_slider {
        position: relative;
    }
}

@media screen and (min-width: 1001px) {
    .footer_top .col ul {
        display: block !important;
    }
}

@media screen and (max-width: 1000px) {
    .wrap {
        max-width: 100%;
        width: 92%;
    }
    
    .main_slider .arrows {
        right: 4%;
        margin-right: 0;
    }
    
    .destinations_item {
        width: 300px;
    }
    
    .destinations {
        
        .wrap {
            width: 100%;
        }
        
        .title_wrap {
            padding-left: 4%;
            padding-right: 4%;
        }
        
        .controls {
            right: 4%;
        }
        
        .section_content {
            overflow: auto;
            
            .scroll {
                width: auto;
                white-space: nowrap;
                padding-left: 4%;
                
                .destinations_item {
                    width: 300px;
                    display: inline-block;
                    float: none;
                    margin-right: 20px;
                    vertical-align: top;
                    margin-bottom: 20px;
                    
                    &:last-child {
                        margin-right: 4vw;
                    }
                }
            }
        }
    }
    
    .search-form .destination-col {
        max-width: 100%;
    }
    
    .search-form .num-col {
        &:nth-child(4) {
            clear: both;
        }
    }
    
    .search-form .date-col {
        width: 50%;
        margin-right: 0;
        border-right: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.24);
    }
    
    .search-form .num-col {
        width: 50%;
        border-right: 0;
        padding-top: 30px;
    }
    
    .search-form .num-col.last {
        padding-left: 0;
    }
    
    .search-form .btn {
        position: relative;
        right: auto;
        top: auto;
        margin-top: 0;
        clear: both;
        padding-left: 70px;
        background: none;
        width: auto;
        margin-top: 40px;
        border-radius: 0;
        
        &:after {
            width: 54px;
            height: 54px;
            background: #d03000;
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: 0;
            content: '';
        }
        
        &:before {
            z-index: 2;
            left: 28px;
        }
        
        span {
            display: block;
            font-size: 21px;
            color: #fff;
        }
    }
    
    .blog_item_top ._title {
        font-size: 22px;
    }
    
    .subscribe_section .subscribe_block .right .input_wrap.select_wrap {
        width: 48%;
        margin-right: 4%;
    }
    
    .subscribe_section .subscribe_block .right .submit {
        padding-left: 70px;
        background: none;
        margin-left: 0;
        right: auto;
        width: auto;
        margin-top: 30px;
        
        &:after {
            width: 54px;
            height: 54px;
            background: #d03000;
            border-radius: 50%;
            content: '';
            left: 0;
            top: 0;
            position: absolute;
        }
        
        &:before {
            z-index: 1;
            left: 15px;
            margin-left: 0;
            margin-top: -10px;
        }
        span {
            display: block;
            font-size: 21px;
            color: #fff;
        }
    }
    
    .main_slider .slider_wrap .slide.slick-active .slide_content .title_wrap {
        width: 100%;
    }
    
    .footer_top .col {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        padding-right: 0;
        
        ul {
            display: none;
            padding-bottom: 16px;
        }
    }
    
    .footer_top .left ._title {
        margin-bottom: 0;
        padding: 20px 0;
        font-size: 28px;
        position: relative;
        
        &.active {
            &:before {
                background: #fff;
                transition: all .2s linear;
            }
            
            &:after {
                background-image: url(../img/minus-2.svg);
            }
        }
        
        &:before {
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, .44);
            border-radius: 50%;
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            margin-top: -22px;
            transition: all .2s linear;
        }
        
        &:after {
            width: 12px;
            height: 12px;
            background: url(../img/plus-2.svg) center center no-repeat;
            background-size: contain;
            position: absolute;
            content: '';
            top: 50%;
            margin-top: -6px;
            right: 16px;
        }
    }
    
    .footer_top .right {
        margin-top: 0;
        
        ._title {
            padding-top: 20px;
            margin-bottom: 23px;
        }
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap {
        max-width: 100%;
    }
    
    .search-form .num-col .buttons button {
        width: 42px;
        height: 42px;
        background: #1140de;
    }
    
    .search-form .num-col .buttons {
        width: 42px;
    }
    
    .search-form .num-col .val {
        margin-left: 16px;
        height: 100px;
    }
    
    .ui-widget.ui-widget-content {
        left: 50% !important;
        transform: translateX(-50%);
        border-radius: 15px;
    }
    
    .top_panel .center {
        width: 92%;
        left: 4%;
        margin-left: 0;
    }
    
    .top_panel .user {
        left: 4%;
        margin-left: 0;
    }
    
    .top_panel .right .favorites-count {
        left: 4%;
        margin-left: 60px;
    }
    
    .page .posts .tour_item {
        padding: 20px;
    }
    
    .tour_item_bottom {
        padding: 0 20px 20px;
    }
    
    .modal_search .search-tour {
        background: #0030d0;
    }
    
    .pagination ul {
        margin: 0 3px;
    }
}

@media screen and (max-width: 760px) {
    .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title {
        font-size: 54px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap .country {
        font-size: 19px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .text {
        font-size: 19px;
    }
    
    .most_popular .title_wrap {
        padding-right: 0;
    }
    
    .title {
        text-align: center;
        font-size: 32px;
    }
    
    .subtitle {
        text-align: center;
        font-size: 18px;
    }
    
    .stories .title_wrap {
        padding-right: 0;
    }
    
    .blog .title_wrap {
        padding-right: 0;
    }
    
    .most_popular .controls,
    .destinations .controls,
    .stories .controls,
    .blog .controls {
        position: relative;
        right: auto;
        width: 100%;
        text-align: center;
        
        .link {
            display: inline-block;
            float: none;
            margin-right: 0;
            margin-top: 20px;
        }
        
        .arrows {
            width: 100%;
            
            .arrow {
                display: inline-block;
                float: none;
            }
        }
    }
    
    .section_content {
        margin-top: 18px;
    }
    
    .story_item {
        margin-right: 25px;
    }
    
    .blog_item {
        width: 100%;
    }
    
    .blog_item {
        margin-bottom: 38px;
    }
    
    .tour_item {
        margin-right: 30px;
    }
    
    .instagram_posts .post {
        width: 50%;
    }
    
    .blog_item_top ._title {
        font-size: 25px;
    }
    
    .blog_item:last-child {
        display: block;
        margin-bottom: 0;
    }
    
    //mobile
    .mobile .most_popular .title_wrap,
    .mobile .stories .title_wrap {
        padding-right: 4%;
    }
    
    .page .posts .tour_item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .page.favourites-list .page_head .select_wrap {
        clear: both;
        float: left;
        margin-top: 14px;
    }
    
    .popup-body .subtitle {
        text-align: left;
    }
    
    .description-block .title {
        text-align: left;
    }
    
    .pagination {
        text-align: center;
        
    }
    
    
}

@media screen and (max-width: 640px) {
    .main_slider .slider_wrap .slide .slide_content .title_wrap .country {
        top: -44px;
    }
    
    .top_panel .left {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
    
    .top_panel .left .search_btn {
        margin-right: 0;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .top_panel .mobile_btn {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .top_panel .left .logo {
        display: inline-block;
        float: none;
    }
    
    .main_slider .slider_wrap .slide .slide_content .buttons .btn {
        font-size: 19px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .buttons .link {
        margin-left: 22px;
    }
    
    .main_slider .arrows .arrow {
        margin-left: 0;
        
        &.prev {
            display: none !important; 
        }
    }
    
    .main_slider .arrows .arrow.next {
        margin-left: 0;
    }
    
    .main_slider .arrows {
        width: 44px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .buttons .btn {
        height: 44px;
        line-height: 44px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .buttons .link {
        height: 44px;
        line-height: 44px;
    }
    
    .most_popular {
        padding-top: 50px;
    }
    
    .tour_item {
        margin-right: 0;
        margin: 0 1px;
        padding: 24px;
    }
    
    .tour_item_bottom {
        padding: 0 24px 24px;
    }
    
    .tour_item_bottom ._info_right .rating-text {
        display: none;
    }
    
    .tour_item_bottom ._info_right .rating-stars {
        margin-right: 0;
        
    }
    
    .tour_item_bottom ._info_right {
        clear: both;
        float: left;
        width: 100%;
    }
    
    .tour_item_bottom ._info_left .days {
        font-size: 18px;
    }
    
    .tour_item_bottom ._info_left .cost {
        font-size: 18px;
    }
    
    .tour_item_bottom ._title {
        margin-bottom: 13px;
    }
    
    .tour_item_bottom ._title {
        font-size: 25px;
    }
    
    .most_popular .slick-list {
        overflow: hidden;
    }
    
    .tour_item_top .add_bookmark {
        width: 50px;
        height: 50px;
    }
    
    .tour_item_top .add_bookmark .fav-overlay {
        width: 50px;
        height: 50px;
    }
    
    .tour_item_top .add_bookmark .is-added {
        width: 14px;
        margin-left: -7px;
    }
    
    .tour_item_top .add_bookmark .not-added {
        width: 14px;
        margin-left: -7px;
    }
    
    .most_popular {
        padding-bottom: 25px;
    }
    
    .destinations, .search-tour, .stories, .blog, .subscribe_section {
        padding: 25px 0;
    }
    
    .search-tour {
        .wrap {
            max-width: 100%;
            width: 100%;
            
        }
        
        .search-form {
            padding: 40px 4%;
            border-radius: 0;
        }
    }
    
    .search-form .date-col .date_div_right {
        clear: both;
        margin-left: 0;
        padding-top: 0;
    }
    
    .search-form .date-col .day {
        line-height: 1.2;
    }
    
    .blog_item_top .sq_parent .sq_wrap {
        padding: 20px;
    }
    
    .subscribe_section .subscribe_block {
        padding: 45px 18px;
    }
    
    .subscribe_section .subscribe_block ._title {
        font-size: 31px;
    }
    
    .subscribe_section .subscribe_block .right .input_wrap.select_wrap {
        width: 100%;
        margin-right: 0;
        margin-bottom: 14px;
        
        select {
            font-size: 18px;
        }
    }
    
    .subscribe_section .subscribe_block .right .input_wrap {
        width: 100%;
        
        .input {
            font-size: 18px;
        }
    }
    
    .subscribe_section .subscribe_block .right {
        padding-bottom: 0;
    }
    
    .footer_top .left ._title {
        font-size: 24px;
    }
    
    .footer_top .right .contacts_info .tel {
        width: 100%;
        padding-right: 0;
    }
    
    .footer_top .right .contacts_info .email {
        width: 100%;
        margin-top: 17px;
    }
    
    .main_slider .slider_wrap .slide .slide_content {
        padding-bottom: 22px;
    }
    
    .main_slider .arrows {
        bottom: 22px;
    }
    
    .top_panel {
        top: 18px;
        height: 48px;
    }
    
    .modal_search .close {
        right: 4%;
        top: 18px;
        
        &:hover {
            &:before {
                transform: none;
            }
        }
    }
    
    //mobile 
    .mobile .most_popular .section_content .tour-slider .tour_item {
        width: 300px;
        margin-right: 20px;
        height: 340px;
    }
    
    .top_panel .user {
        top: 18px;
    }
    
    .top_panel .right .favorites-count {
        top: 18px;
    }
    
    .top_panel .menu_wrap .close {
        top: 18px;
    }
    
    .top_panel .center {
        padding-top: 80px;
    }
    
    .tour_item_top .country {
        height: 50px;
    }
    
    .description-block {
        padding-top: 30px;
    }
    
    .breadcrumbs {
        padding-top: 85px;
    }
    
    .page.favourites-list .page_head .select_wrap {
        width: 100%;
        max-width: 100%;
    }
    
    .popup {
        width: 100%;
        
        .scroll {
            .scroll_wrap {
                padding-left: 18px;
                padding-right: 18px;
                padding-top: 85px;
            }
        }
    }
    
    .popup .close {
        top: 20px;
        right: 20px;
    }
    
    .popup-head .title {
        font-size: 31px;
    }
    
    .popup-body .subtitle {
        text-align: left;
    }
    
    .popup-head {
        margin-bottom: 12px;
    }
    
    .popup-body .form .input {
        margin-bottom: 13px;
    }
    
    .popup-head,
    .popup-body,
    .popup-foot {
        max-width: 100%;
    }
    
    .popup .select-userpic {
        left: 18px;
        top: 20px;
    }
    
    .popup.success-popup .popup-head .title:before {
        width: 38px;
        height: 38px;
        top: 0;
    }
    
    .popup.success-popup .popup-head .title:after {
        left: 11px;
        top: 8px;
    }
    
    .popup.success-popup .popup-head .title {
        padding-left: 52px;
    }
    
    .popup {
        right: -101%;
    }
    
    .top_panel .user .usermenu ul li a {
        font-size: 18px;
    }
    
    .top_panel .user .usermenu {
        width: 220px;
    }
    
    .popup-head .link {
        bottom: 6px;
    }
}

@media screen and (max-width: 480px) {
    .top_panel .center .menu ul li a {
        font-size: 22px;
    }
    
    .top_panel .center .menu ul li a {
        line-height: 60px;
    }
    
    .page.static-page .left_content .description {
        font-size: 18px;
    }
    
    .page.static-page .left_content p:not([class]) {
        font-size: 16px;
    }
    
    .page.static-page .left_content ul li, .page.static-page .left_content ol li {
        font-size: 16px;
    }
    
    .page.static-page .left_content ul li:before {
        width: 6px;
        height: 6px;
    }
    
    .page.static-page .left_content h2,
    .page.static-page .left_content h3,
    .page.static-page .left_content h4,
    .page.static-page .left_content h5,
    .page.static-page .left_content h6 {
        margin: 20px 0 5px;
    }
    
    .page.static-page .page_head {
        margin-bottom: 8px;
    }
    
    .popup .scroll .scroll_wrap {
        padding-top: 65px;
    }
    
    .popup .close {
        width: 40px;
        height: 40px;
        top: 10px;
    }
    
    .popup .select-userpic {
        top: 10px;
        
        .userpic {
            width: 40px;
            height: 40px;
            line-height: 40px;
        }
        
        .select {
            label {
                line-height: 40px;
            }
        }
    }
    
    .popup .close {
        right: 18px;
    }
    
    .search-form .date-col .day {
        font-size: 46px;
    }
    
    .search-form .label {
        font-size: 19px;
        margin-bottom: 10px;
    }
    
    .search-form .num-col {
        padding-top: 18px;
    }
    
    .search-form .destination-col .select_wrap {
        height: 50px;
        
        select {
            font-size: 19px;
        }
    }
    
    .search-form .destination-col .label {
        margin-bottom: 10px;
    }
    
    .search-form .btn {
        margin-top: 24px;
    }
    
    .search-form .destination-col {
        margin-bottom: 25px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title {
        font-size: 48px;
    }
    
    .popup.profile-setting .scroll .scroll_wrap {
        padding-top: 65px;
    }
}

@media screen and (max-width: 400px) {
    .main_slider .slider_wrap .slide .slide_content .buttons .btn {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .main_slider .slider_wrap .slide .slide_content .buttons .link {
        font-size: 16px;
    }
    
    .destinations .section_content .scroll .destinations_item {
        width: 270px;
        margin-right: 13px;
        margin-bottom: 13px;
    }
    
    .search-form .num-col.last {
        width: 50%;
    }
    
    .story_item {
        margin-right: 13px;
    }
    
    .blog_item_top .sq_parent {
        padding-bottom: 80%;
    }
    
    .blog_item_top ._title {
        font-size: 21px;
    }
    
    .social-links .link {
        margin-right: 15px;
    }
    
    .footer_top .right .address {
        font-size: 17px;
    }
    
    .ui-widget.ui-widget-content {
        width: 296px;
    }
    
    .mobile .most_popular .section_content .tour-slider .tour_item {
        width: 270px;
        margin-right: 13px;
        margin-bottom: 13px;
    }
    
    .mobile .stories .section_content .stries_slider .story_item {
        margin-right: 13px;
        margin-bottom: 13px;
    }
    
    .subscribe_section .subscribe_block .right .input_wrap select {
        padding-left: 18px;
    }
    
    .subscribe_section .subscribe_block .right .input_wrap .input {
        padding: 0 18px;
    }
    
    .top_panel .center .menu .mobile_content .link {
        margin-right: 14px;
    }
    
    .pagination {
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (max-width: 358px) {
    .pagination ul li a {
        width: 44px;
        height: 44px;
        line-height: 44px;
    }
    
    .pagination .arrow {
        width: 44px;
        height: 44px;
    }
}

@media screen and (max-width: 340px) {
    .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title {
        font-size: 41px;
    }
    
    .popup.book-now-popup .tour-info .col .date .day {
        font-size: 38px;
    }
    
    .os-ios .popup.book-now-popup .tour-info .col .date .day {
        line-height: 1;
        margin-bottom: 0;
    }
    
    .popup.book-now-popup .tour-info .col .date {
        padding-left: 60px;
        padding-top: 2px;
        margin-bottom: 10px;
    }
    
    .os-ios .popup.book-now-popup .tour-info .col .date {
        padding-top: 0;
    }
    
    .popup.book-now-popup .tour-info .col .label {
        font-size: 17px;
    }
    
    .popup.book-now-popup .tour-info {
        margin-top: 2px;
    }
}

@media screen and (max-height: 654px) {
    .modal_search .search-tour {
        display: block;
        padding: 0;
    }
    
    .modal_search {
        overflow: auto;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .shadow {
        display: none !important;
    }
    
    .tour_item,
    .destinations_item,
    .story_item{
        &:hover {
            -webkit-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
            -moz-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
            box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
        }
    }
    
    .blog_item:hover {
        .blog_item_top {
            -webkit-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
            -moz-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
            box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
            transition: all .2s linear;
        }
    }
    
    .top_panel .currency select {
        font-size: 13px;
        padding: 0 5px;
    }
    
    .search-form .num-col .val {
        padding-top: 0;
    }
    
    .social-links .link:after {
        display: none;
    }
    
    .travel-list .posts .item:hover .item_left .image {
        -webkit-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
        -moz-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
        box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.37);
        transition: all .2s linear;
    }
    
    .sidebar .search-form .btn {
        border-radius: 0;
    }
    
    .subscribe_section .subscribe_block .right .input_wrap.select_wrap:before {
        right: 28px;
    }
}