/**
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.md
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to support@qloapps.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your needs
* please refer to https://store.webkul.com/customisation-guidelines for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/licenses/afl-3.0.php Academic Free License 3.0
*/

#page #header {
    background: #fff !important;
    background-image: none !important;
}

#page #header .header-top,
#page #header .header-top > .container,
#page #header .header-top > .container > .row,
#page #header .header-top > .container > .row > div {
    background: #fff !important;
}

#page #header .shopping_cart > a:first-child:before,
#page #header .shopping_cart > a:first-child:after {
    color: #000 !important;
}

#page #header .nav_toggle .icon-bar {
    background-color: #000 !important;
}

/* column for equal height */

.row.row-equal-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.row.row-equal-height > [class*="col-"] {
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

/* Package serach result block */

#category_search_wrapper {
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#module-wktourpackages-packagedetail .search_panel_block,
#module-wktourpackages-packagecategory .search_panel_block {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

#module-wktourpackages-packagedetail #category_search_wrapper.col-sm-12,
#module-wktourpackages-packagecategory #category_search_wrapper.col-sm-12 {
    padding-left: 0;
    padding-right: 0;
}

#module-wktourpackages-packagecategory #category_search_wrapper {
    width: calc(100% - 15px);
    max-width: calc(100% - 15px);
    box-sizing: border-box;
}

/* Let the search row reach the outer category wrapper edge. */

.category_wrapper > .col-xs-12.margin-btm-30 {
    padding-right: 0;
}

#category_search_wrapper form {
    width: 100%;
}

#category_search_wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

#category_search_wrapper .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

#category_search_wrapper .row > [class*="col-"] + [class*="col-"] {
    padding-left: 14px;
}

#category_search_wrapper .row > [class*="col-"]:not(:last-child) {
    padding-right: 14px;
}

#module-wktourpackages-packagedetail
    #category_search_wrapper
    .row
    > [class*="col-"]:first-child,
#module-wktourpackages-packagecategory
    #category_search_wrapper
    .row
    > [class*="col-"]:first-child {
    padding-left: 0;
}

#module-wktourpackages-packagedetail
    #category_search_wrapper
    .row
    > [class*="col-"]:last-child,
#module-wktourpackages-packagecategory
    #category_search_wrapper
    .row
    > [class*="col-"]:last-child {
    padding-right: 0;
}

#category_search_wrapper .row + .row {
    margin-top: 0;
}

#category_search_wrapper label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #1f2a37;
    text-transform: uppercase;
    letter-spacing: 0;
}

#category_search_wrapper .form-group {
    margin-bottom: 0;
}

#category_search_wrapper .pkg-search-input {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.12);
    font-size: 15px;
    color: #1f2937;
}

#category_search_wrapper .pkg-search-input::placeholder {
    color: #a3a3a3;
    opacity: 1;
}

#category_search_wrapper .input-date {
    display: flex;
    align-items: center;
    height: 45px;
    min-height: 45px;
}

#category_search_wrapper #package_date_label {
    cursor: pointer;
    line-height: 45px;
}

#category_search_wrapper .search_room_submit_block {
    display: block;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: 0;
}

/* Keep the search row inside the wrapper while preserving a small gap. */

#category_search_wrapper form > .row:last-child > .form-group {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    #category_search_wrapper form > .row:last-child {
        display: grid;
        grid-template-columns: 40fr 40fr 20fr;
        gap: 14px;
        align-items: end;
    }
    #category_search_wrapper form > .row:last-child > [class*="col-"] {
        float: none;
        width: auto;
        max-width: none;
        min-width: 0;
    }
    #category_search_wrapper form > .row:last-child > .form-group:nth-child(1) {
        grid-column: 1;
    }
    #category_search_wrapper form > .row:last-child > .form-group:nth-child(2) {
        grid-column: 2;
    }
    #category_search_wrapper
        form
        > .row:last-child
        > .search_room_submit_block {
        grid-column: 3;
        width: auto;
    }
    #category_search_wrapper
        form
        > .row:last-child
        > .search_room_submit_block
        .package_search_submit {
        width: 100%;
    }
}

#category_search_wrapper form > .row:last-child > .search_room_submit_block {
    margin-right: 0 !important;
}

#category_search_wrapper .package_search_submit {
    width: 100%;
    max-width: 100%;
    display: block;
    height: 48px;
    min-height: 48px;
    margin-top: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: var(--primary-base);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.12);
}

#category_search_wrapper .package_search_submit span {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
}

#category_search_wrapper .package_search_submit:hover,
#category_search_wrapper .package_search_submit:focus {
    background: var(--primary-dark);
    color: #ffffff;
}

#category_search_wrapper .location_search_results_ul {
    top: 100%;
    margin-top: 4px;
}

#category_search_wrapper .category_search_mobile_label {
    display: none;
}

.no_package_results {
    background: #ffffff;
    box-shadow: 0 3px 15px 1px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0.6;
    font-size: 22px;
    color: #333333;
    text-align: center;
    padding: 30px 15px;
}

.pkg_img_wrapper {
    justify-content: center;
    padding: 30px;
}

.pkg_detail_wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    line-height: 25px;
    margin-top: 10px;
}

.pkg_detail_wrapper.pkg_result_card {
    padding-left: 0;
    padding-right: 0;
}

.pkg_detail_wrapper > .row.row-equal-height {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.pkg_info_wrapper {
    line-height: 30px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.pkg_info_wrapper > div {
    justify-content: center;
    padding-top: 15px;
}

.pkg_info_wrapper .pkg_heading {
    font-size: 20px;
    color: #333333;
}

.pkg_info_wrapper .pkg_days_wrapper {
    opacity: 0.6;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    border: 1px solid rgba(151, 151, 151, 0.5);
    border-radius: 3px;
    padding: 4px 10px;
}

.pkg_route_info {
    font-size: 16px;
    color: #333333;
}

.pkg_info_wrapper .pkg_final_price_block {
    margin-bottom: 9px;
    font-size: 28px;
    line-height: 38px;
    color: #333333;
}

.pkg_final_price {
    white-space: nowrap;
}

.pkg_info_wrapper .pkg_price_block {
    background: #f7f7f7;
    border-radius: 0px 7px 7px 0px;
    position: relative;
    padding: 44px 14px 18px;
}

.pkg_info_wrapper .pkg_orig_price {
    opacity: 0.5;
    font-size: 18px;
    color: #333333;
    margin-bottom: 0px;
}

.pkg_info_wrapper .price_dtl_txt {
    opacity: 0.5;
    line-height: 16px;
    font-size: 12px;
    color: #333333;
    display: block;
}

.pkg_themes_info_list li {
    display: inline-block;
    text-align: center;
    margin-right: 20px;
    opacity: 0.6;
    font-size: 14px;
    color: #333333;
}

/* offer toottip css */

.pkg_info_wrapper .pkg_price_block .pkg_discount_btn.tooltip {
    position: absolute;
    top: 16px;
    right: 14px;
    background: #417505;
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 12px;
    line-height: 17px;
    color: #ffffff;
    cursor: pointer;
    padding: 2px 9px 2px 9px;
    z-index: 2;
}

.tooltip {
    position: relative;
}

.tooltip .tooltiptext {
    text-transform: none;
    visibility: hidden;
    width: 120px;
    background-color: #417505;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 9px;
    position: absolute;
    z-index: 99999;
    top: 135%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #417505 transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/*
.pkg_info_wrapper p {
    margin-bottom: 15px;
} */

.pkg_info_wrapper .button.button-medium {
    padding: 0px 15px;
    border-radius: 4px;
}

.pkg_info_wrapper .button.button-medium span {
    padding: 7px 10px 7px 14px;
    text-transform: uppercase;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: -0.34px;
    text-align: center;
}

.results_main_head {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
}

@media (min-width: 768px) {
    .pkg_detail_wrapper > .row.row-equal-height {
        align-items: stretch;
    }

    .pkg_detail_wrapper > .row.row-equal-height > .pkg_img_wrapper {
        flex: 0 0 25%;
        max-width: 25%;
        width: 25%;
        padding: 24px;
    }

    .pkg_detail_wrapper > .row.row-equal-height > .col-sm-9 {
        flex: 1 1 75%;
        max-width: 75%;
        width: 75%;
        padding-left: 0;
    }

    .pkg_detail_wrapper .pkg_info_wrapper {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .pkg_detail_wrapper .pkg_info_wrapper > .pkg_info_block {
        flex: 1 1 auto;
        max-width: none;
        width: auto;
        padding: 24px 24px 24px 0;
    }

    .pkg_detail_wrapper .pkg_info_wrapper > .pkg_price_block {
        flex: 0 0 220px;
        min-width: 220px;
        max-width: 220px;
        width: 220px;
        margin-left: auto;
        padding: 44px 20px 20px;
    }
}

@media (max-width: 767px) {
    #module-wktourpackages-packagecategory .category_wrapper,
    #module-wktourpackages-packagedetail .category_wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
    #module-wktourpackages-packagecategory .category_wrapper > hr,
    #module-wktourpackages-packagedetail .category_wrapper > hr {
        margin: 0 0 12px;
        border-top: 1px solid #ececec;
    }
    #module-wktourpackages-packagecategory #category_search_wrapper,
    #module-wktourpackages-packagedetail #category_search_wrapper {
        margin-top: 6px;
        margin-bottom: 14px;
    }
    #module-wktourpackages-packagecategory
        .category_wrapper
        > .col-xs-12.margin-btm-30,
    #module-wktourpackages-packagedetail
        .category_wrapper
        > .col-xs-12.margin-btm-30 {
        padding-left: 0;
        padding-right: 0;
    }
    #module-wktourpackages-packagecategory #category_search_wrapper .row,
    #module-wktourpackages-packagedetail #category_search_wrapper .row {
        margin-left: 0;
        margin-right: 0;
    }
    #module-wktourpackages-packagecategory #category_search_wrapper .row + .row,
    #module-wktourpackages-packagedetail #category_search_wrapper .row + .row {
        margin-top: 2px;
    }
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        .row
        > [class*="col-"],
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        .row
        > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    #module-wktourpackages-packagecategory #category_search_wrapper label,
    #module-wktourpackages-packagedetail #category_search_wrapper label {
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.2;
    }
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        > form
        > .row:first-child,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        > form
        > .row:first-child {
        display: none;
    }
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        .category_search_mobile_label,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        .category_search_mobile_label {
        display: block;
        margin: 0 0 6px;
        font-size: 13px;
        font-weight: 700;
        color: #1f2a37;
        text-transform: uppercase;
        letter-spacing: 0;
    }
    #category_search_wrapper .col-sm-5,
    #category_search_wrapper .col-sm-2 {
        width: 100%;
        float: none;
    }
    #category_search_wrapper .row:last-child .col-sm-5 {
        margin-bottom: 12px;
    }
    #category_search_wrapper .col-sm-2 {
        margin-top: 6px;
    }
    #module-wktourpackages-packagecategory #category_search_wrapper .input-date,
    #module-wktourpackages-packagedetail #category_search_wrapper .input-date {
        align-items: center;
        padding-top: 0;
    }
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        #package_date_label,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        #package_date_label {
        display: flex;
        align-items: center;
        line-height: 1.2;
        padding-top: 0;
    }
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        #package_date_label
        span,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        #package_date_label
        span {
        display: block;
        line-height: 1.2;
    }
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        .pkg-search-input,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        .pkg-search-input,
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        #package_date_label,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        #package_date_label {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        .pkg-search-input:focus,
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        .pkg-search-input:active,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        .pkg-search-input:focus,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        .pkg-search-input:active,
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        #package_date_label:focus,
    #module-wktourpackages-packagecategory
        #category_search_wrapper
        #package_date_label:active,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        #package_date_label:focus,
    #module-wktourpackages-packagedetail
        #category_search_wrapper
        #package_date_label:active {
        outline: 2px solid rgba(var(--primary-rgb), 0.35);
        outline-offset: 1px;
        box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
    }
    #module-wktourpackages-packagecategory
        .ui-datepicker
        .ui-datepicker-current-day
        a,
    #module-wktourpackages-packagecategory .ui-datepicker .ui-state-active,
    #module-wktourpackages-packagecategory .ui-datepicker td a.ui-state-active,
    #module-wktourpackages-packagedetail
        .ui-datepicker
        .ui-datepicker-current-day
        a,
    #module-wktourpackages-packagedetail .ui-datepicker .ui-state-active,
    #module-wktourpackages-packagedetail .ui-datepicker td a.ui-state-active {
        background-color: var(--primary-base) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16) !important;
    }
    #category_search_wrapper .package_search_submit {
        margin-top: 0;
    }
    .category_packages_wrapper {
        margin-top: 10px;
    }
    .category_results_wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .category_filters_wrapper {
        margin-top: 0;
    }
    .pkg_detail_wrapper .pkg_img_wrapper,
    .pkg_detail_wrapper > .row.row-equal-height > .col-sm-9,
    .pkg_info_wrapper .pkg_info_block,
    .pkg_info_wrapper .pkg_price_block {
        float: none;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .pkg_detail_wrapper {
        overflow: hidden;
    }
    .pkg_detail_wrapper .pkg_img_wrapper {
        display: block;
        padding: 14px;
    }
    .pkg_detail_wrapper .pkg_img_wrapper .row {
        margin-left: 0;
        margin-right: 0;
    }
    .pkg_detail_wrapper .pkg_img_wrapper a,
    .pkg_detail_wrapper .pkg_img_wrapper img {
        display: block;
        width: 100%;
    }
    .pkg_detail_wrapper .pkg_img_wrapper img {
        height: 170px;
        object-fit: cover;
    }
    .pkg_info_wrapper .pkg_info_block {
        padding: 12px 14px 18px;
    }
    .pkg_info_wrapper .pkg_price_block {
        padding: 16px 14px 18px;
        border-radius: 0 0 7px 7px;
    }
    .pkg_info_wrapper .pkg_price_block .pkg_discount_btn.tooltip {
        position: static;
        margin-bottom: 8px;
    }
    .pkg_info_wrapper .pkg_final_price_block {
        margin-bottom: 12px;
    }
    .pkg_info_wrapper .button.button-medium {
        display: block;
        width: 100%;
    }
    .filter_main_head {
        margin: 0 0 10px;
        font-size: 18px;
    }
    .package_filter_block {
        margin-top: 14px;
        border-radius: 4px;
    }
    .package_filter_block + .package_filter_block {
        margin-top: 16px;
    }
    .results_main_head {
        margin-bottom: 10px;
    }
    .package_sort_cont {
        float: unset !important;
        max-width: unset !important;
    }
    .pf_sub_cont {
        max-height: none;
        padding-bottom: 12px;
    }
}

/* Filters of the page */

.rating_span {
    opacity: 0.6;
    font-size: 15px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin: 0px 20px 15px 0px;
    padding: 5px 10px;
    cursor: pointer;
    display: inline-block;
    color: #333333;
}

.filter_main_head {
    font-size: 20px;
    color: #333333;
    line-height: 1.6;
}

.package_filter_block {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 3px 9px 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 20px;
}

.package_filter_block div.pack_filter_head {
    padding: 10px;
}

.package_filter_block div.pack_filter_head div.pack_filter_head_wrapper span {
    font-size: 16px;
    color: #333333;
    letter-spacing: 0;
    text-align: left;
    display: block;
}

.package_filter_block div.pack_filter_head span.clear_filter {
    cursor: pointer;
    font-size: 12px;
    color: #a9a9a9;
    letter-spacing: 0;
    text-align: left;
    text-decoration: underline;
}

.pf_sub_cont {
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 5px;
    padding: 0 10px 10px;
}

.package_filt {
    margin-bottom: 15px;
}

.sub_package_filt {
    margin-top: 10px;
    margin-left: 10px;
}

.ratting_img_style {
    height: 14px;
    width: 92px;
    transform: translate(0px, 6px);
}

.ratting_5 {
    background-position: 0 0;
}

.ratting_4 {
    background-position: 0 -28px;
}

.ratting_3 {
    background-position: 0 -54px;
}

.ratting_2 {
    background-position: 0 -81px;
}

.ratting_1 {
    background-position: 0 -108px;
}

.ratting_0 {
    background-position: 0 -135px;
}

.filters_name,
.price_filter_subcont span {
    font-size: 16px;
    color: #555555;
    font-weight: 400;
}

.package_filt div.checker {
    display: inline-block;
}

.package_filt span.filters_name,
.package_filt span.ratting_img_style {
    display: inline-block;
}

#filter_price_silder {
    margin-top: 15px;
}

#filter_price_silder .ui-slider-range {
    background-color: var(--primary-base);
    background-image: none;
}

#filter_price_silder .ui-slider-handle {
    background-color: #ffffff;
    background-image: none;
    border-color: #bebbbb;
    border-radius: 50%;
    outline: none;
}

#filter_price_silder.ui-widget-content {
    border: none;
}

.package_filter_block .ui-slider-horizontal {
    height: 0.3em;
}

.package_filter_block .ui-slider-horizontal .ui-slider-handle {
    top: -0.5em;
}

.package_sort_cont {
    width: 100%;
    max-width: 250px;
    color: #333333;
}

#package_sort_btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: right;
    width: 100%;
}

#package_sort_btn .sort_btn_span {
    margin-right: 5px;
}

#package_sort_btn .sort_value {
    font-weight: bold;
}

.package_sort_cont .dropdown-menu {
    left: 0;
    margin: 0px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.package_sort_cont .dropdown-menu .sort_result.selected {
    font-weight: bold;
    color: var(--primary-base);
}

.error-border {
    border: 2px solid #dc3545 !important;
}
