/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* ==================================================
   SINGLE TOUR - ITINERARY
   ================================================== */

.tour-itinerary .itinerary-day {
    margin-bottom: 40px;
}

.tour-itinerary .itinerary-title {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 12px;

    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;

    color: #811a18;
}

.tour-itinerary .itinerary-icon {
    font-size: 15px;
    line-height: 1;
    color: #811a18;
}

.tour-itinerary .itinerary-activities ul,
.tour-itinerary .itinerary-activities ol {
    margin: 0;
    padding-left: 22px;
}

.tour-itinerary .itinerary-activities li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #333;
}


/* ==================================================
   RECAPTCHA BADGE
   ================================================== */

.grecaptcha-badge,
.grecaptcha-badge iframe,
.grecaptcha-badge > div {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ==================================================
   TOUR RATES
   ================================================== */


/* --------------------------------------------------
   RATE OPTION
   -------------------------------------------------- */

.tour-rate-option {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-bottom: 40px;

    box-sizing: border-box;
}


/* --------------------------------------------------
   SCROLLABLE TABLE WRAPPER
   -------------------------------------------------- */

.tour-rates-wrapper {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    box-sizing: border-box;

    /*
     * Hide the browser's native scrollbar.
     * The custom slider below the table is used instead.
     */
    scrollbar-width: none;
}


/* Chrome, Edge and Safari */
.tour-rates-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}


/* --------------------------------------------------
   RATE TABLE
   -------------------------------------------------- */

.tour-rates-table {
    width: 100%;

    border-collapse: collapse;
    box-sizing: border-box;
}

.tour-rates-table th,
.tour-rates-table td {
    padding: 12px 15px;

    border: 1px solid #ddd;

    text-align: center;
    white-space: nowrap;

    box-sizing: border-box;
}


/* --------------------------------------------------
   RATE TABLE TITLE
   -------------------------------------------------- */

.tour-rates-table .tour-rates-title-row th {
    padding: 15px;

    text-align: left;
    white-space: normal;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}


/* --------------------------------------------------
   TABLE COLUMN HEADINGS
   -------------------------------------------------- */

.tour-rates-table .tour-rates-heading-row th {
    text-align: center;
    font-weight: 700;
}


/* Season column */
.tour-rates-table .tour-rates-heading-row th:first-child,
.tour-rates-table tbody td:first-child {
    text-align: left;
}


/* ==================================================
   CUSTOM HORIZONTAL SLIDER
   ================================================== */

/*
 * Hidden by default.
 * JavaScript adds .is-visible when the table overflows.
 */
.tour-rates-slider-container {
    display: none;

    width: 100%;
    max-width: 100%;

    padding: 8px 2px 2px;

    box-sizing: border-box;
}


/* Slider */
.tour-rates-slider {
    display: block;

    width: 100%;
    height: 28px;

    margin: 0;
    padding: 0;

    appearance: none;
    -webkit-appearance: none;

    background: transparent;

    cursor: pointer;
    touch-action: manipulation;
}


/* --------------------------------------------------
   CHROME / EDGE / SAFARI SLIDER
   -------------------------------------------------- */

.tour-rates-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;

    background: #d9d9d9;

    border-radius: 20px;
}

.tour-rates-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 60px;
    height: 20px;

    margin-top: -6px;

    background: #811a18;

    border: 0;
    border-radius: 20px;

    cursor: grab;
}

.tour-rates-slider:active::-webkit-slider-thumb {
    cursor: grabbing;
}


/* --------------------------------------------------
   FIREFOX SLIDER
   -------------------------------------------------- */

.tour-rates-slider::-moz-range-track {
    width: 100%;
    height: 8px;

    background: #d9d9d9;

    border-radius: 20px;
}

.tour-rates-slider::-moz-range-thumb {
    width: 60px;
    height: 20px;

    background: #811a18;

    border: 0;
    border-radius: 20px;

    cursor: grab;
}


/* --------------------------------------------------
   SLIDER KEYBOARD FOCUS
   -------------------------------------------------- */

.tour-rates-slider:focus-visible {
    outline: 2px solid #811a18;
    outline-offset: 3px;
}


/* ==================================================
   TABLET & MOBILE
   1024px AND BELOW
   ================================================== */

@media (max-width: 1024px) {

    .tour-rate-option,
    .tour-rates-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }


    /*
     * Deliberately make the table wider than its
     * container so users can swipe horizontally.
     */
    .tour-rates-table {
        width: 850px;
        min-width: 850px;
    }


    .tour-rates-table th,
    .tour-rates-table td {
        min-width: 80px;
        padding: 10px 12px;
    }


    /* Wider Season column */
    .tour-rates-table .tour-rates-heading-row th:first-child,
    .tour-rates-table tbody td:first-child {
        min-width: 120px;
    }


    /* Rate table title */
    .tour-rates-table .tour-rates-title-row th {
        min-width: 0;

        padding: 12px;

        text-align: left;
        white-space: normal;

        font-size: 16px;
    }


    /*
     * JavaScript adds .is-visible only when
     * horizontal scrolling is required.
     */
    .tour-rates-slider-container.is-visible {
        display: block;
        margin-top: 6px;
    }

}


/* ==================================================
   MOBILE
   767px AND BELOW
   ================================================== */

@media (max-width: 767px) {

    .tour-rate-option {
        margin-bottom: 30px;
    }


    .tour-rates-table {
        width: 800px;
        min-width: 800px;
    }


    .tour-rates-table .tour-rates-title-row th {
        font-size: 15px;
    }

}


/* ==================================================
   LARGE SCREENS
   HIDE CUSTOM SLIDER
   ================================================== */

@media (min-width: 720px) {

    .tour-rates-slider-container,
    .tour-rates-slider-container.is-visible {
        display: none !important;
    }

}


/* ==================================================
   ELEMENTOR SHORTCODE WIDTH FIX
   ================================================== */

/*
 * Prevent Elementor's shortcode widget from being
 * stretched by the wide table on smaller screens.
 */
.elementor-widget-shortcode:has(.tour-rate-option),
.elementor-widget-shortcode:has(.tour-rate-option) > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}