@media (min-width: 576px) {
    .offer-block .content {
        min-height: 248px;
    }
    .offer-block .offer-dates {
        max-height: 22px;
    }
    .offer-block .other-dates {
        display: none;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .menu-toggler,
    .mobile-menu-container {
        display: none;
    }

    .owl-carousel .owl-dots {
        display: none;
    }

    .col.mainbar {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 60%;
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
    .col.sidebar {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 40%;
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }

    .index-banner-wrapper > .container {
        position: relative;
        z-index: 3;
        margin-top: -115px;
    }

    .form-section .title + .toggle-next {
        float: right;
        margin-top: -45px;
    }

    #user-managment-container .menu-item {
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .col.mainbar {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 71%;
        -ms-flex: 0 0 71%;
        flex: 0 0 71%;
        max-width: 71%;
    }
    .col.sidebar {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 29%;
        -ms-flex: 0 0 29%;
        flex: 0 0 29%;
        max-width: 29%;
    }

    .departure-row.show + .departure-row .departure-cell:before {
        content: none;
        display: none;
    }
    .departure-row .hotel-wrap {
        position: relative;
        padding-left: 32%;
    }
    .departure-row .hotel-wrap .hotel-title {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 32%;
        max-width: 32%;
        margin-bottom: 0;
        text-align: right;
        border-right: 1px solid #dedede;
        padding: 28px;
    }
    .departure-row.expanded {
        background: #fbfbfb;
    }

    .departure-row .sec-2 .departure-cell[data-title]:before {
        left: 28px;
    }
}

@media (min-width: 1200px) {
    .search-block .input-group.fa-calendar {
        max-width: 120px;
    }
}

@media (min-width: 1254px) {
    .container {
        max-width: 1210px;
    }
}

@media (min-width: 1498px) {
    .container {
        max-width: 1484px;
    }
}

@media (max-width: 1497px) {
    .payment-methods > li > div {
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (max-width: 1199px) {
    .departure-row .sec-1 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 37%;
        -ms-flex: 0 0 37%;
        flex: 0 0 37%;
        max-width: 37%;
    }
    .departure-row .sec-2 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 46%;
        -ms-flex: 0 0 46%;
        flex: 0 0 46%;
        max-width: 46%;
        padding-left: 0;
    }

    nav.view {
        -webkit-justify-content: space-between;
        justify-content: space-between;
        padding: 0 40px;
    }
    nav.view a {
        margin-right: 24px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    header .left {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    header .top .menu li + li {
        margin-left: 8px;
    }
    #logo {
        margin-right: auto;
    }

    header .bottom .menu a {
        height: 53px;
        padding: 0 16px;
        font-size: 13px;
    }

    header .content-wrap {
        -ms-flex-direction: column-reverse;
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-align-items: flex-end;
        align-items: flex-end;
    }
}

@media (max-width: 991px) {
    header .left {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        margin-top: 6px;
        padding-top: 4px;
        border-top: 1px solid #e6e6e6;
    }

    .view .col.mainbar,
    .view .col.sidebar {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tour-sidebar-map {
        display: none;
    }

    .departure-row {
        margin-bottom: 20px;
        border-bottom: 1px solid #dedede;
    }
    .departure-row .sec-1 {
        border-bottom: 1px solid #dedede;
    }
    .departure-row .sec-1,
    .departure-row .sec-2,
    .departure-row .sec-3 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .departure-row .sec-1 .departure-cell,
    .departure-row .sec-2 .departure-cell,
    .departure-row .sec-3 .departure-cell {
        padding-top: 40px;
    }
    .departure-row .departure-cell[data-title]:before {
        left: 0;
        right: 0;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        display: block;
        width: 100%;
        border-bottom: 1px solid #dedede;
        padding: 6px 28px;
        background: #ebf5fa;
        white-space: nowrap;
    }
    .departure-row .sec-1 .left + .departure-cell {
        border-right: none;
    }
    .departure-row .sec-1 .left + .departure-cell[data-title]:before {
        padding-left: 46px;
    }
    .departure-row .sec-2 .departure-cell:not(:last-child) {
        border-right: 1px solid #dedede;
    }
    .departure-row .sec-3 .departure-cell {
        padding: 20px 28px 14px 28px !important;
        border-top: 1px solid #dedede;
    }

    .sticky-sidebar-sm-fix {
        position: fixed !important;
        z-index: 1;
    }

    .sticky-sidebar-wrapper:not(.is-sticky) {
        opacity: 0;
        visibility: hidden;
    }
    .sticky-sidebar-wrapper {
        margin-bottom: -63px;
    }

    .booking-block-placeholder {
        height: 63px;
        margin-top: 20px;
    }

    .box.booking-block {
        height: 63px;
        padding: 5px 10px;
        margin-bottom: 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        border-radius: 0;
    }
    .booking-block ul {
        display: none;
    }
    .booking-block .sum {
        margin-right: 20px;
        margin-bottom: 0;
        margin-left: -10px;
    }
    .booking-block .sum > * {
        padding: 10px;
    }
    .booking-block .sum > div span {
        font-size: 11px;
        margin-bottom: 6px;
    }
    .booking-block .sum > div.date strong,
    .booking-block .sum > div strong {
        font-size: 16px;
    }
    .booking-block .btn {
        height: 38px;
        font-size: 13px;
        padding: 0 28px;
    }
}

@media (max-width: 767px) {

    .fancybox-slide>*:not(.fancybox-loading) {
        padding: 34px 15px;
    }
    .fancybox-close-small {
        top: 0 !important;
        right: 0 !important;
    }

    #logo img {
        max-height: 42px;
    }

    .mobile-menu-container {
        position: fixed;
        bottom: 0;
        width: calc(100% - 60px);
        left: 100%;
        -webkit-transition: .2s ease;
        -moz-transition: .2s ease;
        -ms-transition: .2s ease;
        -o-transition: .2s ease;
        transition: .2s ease;
        z-index: 999;
        top: 0;
        background: #0680c5;
    }

    .mobile-menu-container .menu a {
        display: block;
        color: #fff;
        font-size: 16px;
        background: #0680c5;
        padding: 8px 15px;
        border-bottom: 1px solid rgba(255,255,255, 0.15);
    }

    .menu-open .mobile-menu-container {
        left: 60px;
    }
    .menu-open {
        overflow: hidden;
    }

    .menu-open header {
        left: calc(-100% + 60px);
    }

    .menu-open .logo-wrap + div {
        left: calc(100% - 30px);
    }

    header .left .menu {
        display: none !important;
    }

    .col.mainbar,
    .col.sidebar {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .search-block {
        margin-left: -15px;
        margin-right: -15px;
    }

    .header-phone > * {
        display: none;
    }
    .header-phone:before {
        content: '\f095';
        font-family: "Font Awesome\ 5 Pro";
        font-weight: 300;
        font-size: 24px;
        color: #fff;
    }

    header {
        height: 74px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 8;
        width: 100%;
        -webkit-transition: .2s ease;
        -moz-transition: .2s ease;
        -ms-transition: .2s ease;
        -o-transition: .2s ease;
        transition: .2s ease;
    }
    #page {
        padding-top: 74px;
    }
    header .right .menu .menu-item:not(#user-managment-container) {
        margin-right: 14px;
        padding-right: 18px;
        border-right: 1px solid #e6e6e6;
    }
    #user-managment-container {
        margin-right: 0;
    }
    header .right .menu .menu-item:last-child {
        margin-right: 18px;
    }
    header .right .menu .menu-item .fal {
        color: #fff;
    }

    .subscription-section .form-inline {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        margin-bottom: 0;
    }
    .subscription-section .form-inline > div {
        margin-bottom: 14px;
    }
    .subscription-section .btn {
        width: 100%;
    }

    .subscription-section .title {
        font-size: 20px;
        line-height: normal;
        margin-bottom: 16px;
    }

    .index-banner-content {
        text-align: center;
        width: 100%;
    }
    .index-banner-content .content:not(:last-child):before {
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    .index-banner-content .title {
        font-size: 28px;
    }
    .index-banner-content .content {
        font-size: 20px;
        padding-bottom: 13px;
        margin-bottom: 17px;
    }
    .index-banner-content .price-block {
        font-size: 30px;
    }
    .index-banner-content .price-block .value {
        font-size: 40px;
    }

    .index-banner-owl {
        height: 416px;
    }

    .departure-table .discount-bubble {
        display: none;
    }

    .view-description .cont > .page-module,
    .day-wrap .cont > .page-module {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .view-description .cont > .page-module + div,
    .day-wrap .cont > .page-module + div {
        width: 100%;
    }

    .box {
        padding: 18px 10px;
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: 10px;
    }


    .view-gallery .view-gallery-owl .item {
        height: 200px;
    }
    .view-gallery .view-gallery-owl .item a {
        display: block;
        height: 100%;
        width: 100%;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    .view-gallery .view-gallery-owl .item img {
        position: absolute;
        top: -9999px;
        bottom: -9999px;
        left: -9999px;
        right: -9999px;
        margin: auto;
        min-height: 100%;
        min-width: 100%;
        max-width: none;
        z-index: 1 !important;
    }


    .booking-block-placeholder {
        height: 48px;
        margin-top: 0;
    }

    .box.booking-block {
        padding: 5px;
        height: 48px;
    }
    .booking-block .sum {
        margin-left: -4px;
        margin-right: 4px;
    }
    .booking-block .sum > * {
        padding: 4px;
    }
    .booking-block .sum > div span {
        font-size: 9px;
    }
    .booking-block .sum > div.date strong,
    .booking-block .sum > div strong {
        font-size: 12px;
    }
    .booking-block .btn {
        font-size: 11px;
        padding: 0 8px;
    }

    .comment-wrapper {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }
    .comment-profile {
        padding-right: 0;
        margin-bottom: 14px;
    }

    nav.view {
        -webkit-justify-content: space-between;
        justify-content: space-between;
        padding: 0 15px;
    }
    nav.view a {
        margin-right: 14px;
    }


    .fancybox-slide>* {
        border-radius: 0;
        padding: 32px 20px;
    }

    .steps {
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }
    .steps .step {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        font-size: 15px;
        text-align: center;
    }
    .steps .nr {
        margin-right: 0;
        margin-bottom: 6px;
    }

    .order-summary .title {
        padding: 10px 18px;
    }
    .order-summary .content {
        padding: 20px 18px;
    }

    table.orders thead {
        display: none;
    }
    table.orders tr {
        display: block;
    }
    table.orders tr + tr {
        margin-top: 15px;
    }
    table.orders tr td {
        width: 100% !important;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        padding: 15px !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
    }
    table.orders tr td:not(:last-child) {
        padding-bottom: 0 !important;
    }
    table.orders tr td:before {
        max-width: none !important;
        width: auto !important;
        display: block !important;
        margin: -15px -15px 15px -15px !important;
        border-bottom: none !important;
    }
    table.orders .toggleable-content {
        display: block !important;
    }
    table.orders .table-toggler {
        display: none !important;
    }

    table.agents thead {
        display: none;
    }
    table.agents tr {
        display: block;
        padding-left: 32px;
        position: relative;
    }
    table.agents tr + tr {
        margin-top: 10px;
    }
    table.agents td {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        width: 100% !important;
        padding: 10px 0;
        position: relative;
        border-bottom: none;
        border-top: 1px solid #dedede;
    }
    table.agents td:not(:last-of-type) {
        padding-right: 0;
    }
    table.agents td[data-label]:before {
        content: attr(data-label);
        background: #dedede;
        max-width: 40%;
        width: 100%;
        margin: -11px 10px -10px 0;
        border-top: 1px solid #fff;
        padding: 10px;
        font-weight: 500;
    }
    table.agents td:first-of-type {
        padding-top: 10px;
        border-left: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 32px !important;
        border-bottom: none;
        border-top: none;
    }
    table.agents td[data-label]:nth-of-type(2):before {
        margin: -12px 10px -10px 0;
    }
    table.agents td:last-of-type {
        border-right: none;
        border-bottom: 1px solid #dedede;
    }

    .nav-tabs.profile {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    .nav-tabs.profile .nav-link {
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }


    #transfer-modal {
        width: calc(100% - 44px);
    }
}

@media (max-width: 479px) {
    nav.view a {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        text-align: center;
        line-height: 1.3;
    }
}