/*
	Custom CSS
	Please make sure your CSS rules are 
	more particular / have higher priority
	then other page styles
*/


#events h3 {
	/* add your css rule here */
}


#events p.duration,
#events div.duration {
	/* add your css rule here */
}


#events p.description,
#events div.description {
	/* add your css rule here */
}


#events .selectedEvent {
	/* add your css rule here */
}


#events input.reserve_time_btn {
	/* add your css rule here */
}


#events input.select_another_btn {
	/* add your css rule here */
}


#eventForm #start_date-block-container h3,
#eventForm #timeline-container h3 {
	/* add your css rule here */
}


#eventForm #save_button {
	/* add your css rule here */
}


div.ui-widget-content {
	/* add your css rule here */
}


div.ui-widget-header {
	/* add your css rule here */
}


#timeline-container table.timeline {
	/* add your css rule here */
}


.timeline td.not_worked_time {
	/* add your css rule here */
}


.timeline td.free_time {
	/* add your css rule here */
}


.timeline td.selected_time {
	/* add your css rule here */
}


.timeline td.reserved_time {
	/* add your css rule here */
}


div#loading {
	/* add your css rule here */
}


#start_date-block-container .zend_form dt,
#start_date-block-container .zend_form dt b,
#start_date-block-container .zend_form dd label {
	/* add your css rule here */
}


/* =========================================================
   REST DAYS — HEADER
   Matches takerestdays.com
   ========================================================= */

#header {
	background: #F7F2EA !important;
	border: 8px solid #FFFFFF !important;
	width: 100% !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}


/* =========================================================
   HEADER NAVIGATION WIDTH
   ========================================================= */

.header__menu-container.nav-wrapper {
	width: 300px !important;
	min-width: 300px !important;
}


/* =========================================================
   BOOKING PROGRESS BAR
   ========================================================= */

#sb-timeline .steps-nav {
	min-height: 61px !important;
	height: 61px !important;
}


#sb-timeline .steps-nav .step_info_item {
	min-height: 61px !important;
	height: 61px !important;
}


#sb-timeline .steps-nav .step_info_item > a {
	min-height: 61px !important;
	height: 61px !important;
}


#sb-timeline .steps-nav .title-small {
	font-size: 14px !important;
	line-height: 61px !important;
}


/* =========================================================
   PROGRESS BAR COLORS
   ========================================================= */

#sb-timeline .steps-nav .step_info_item {
	background-color: #e8e2d9 !important;
}


#sb-timeline .steps-nav .step_info_item.active {
	background-color: #D8C6AE !important;
}


#sb-timeline .steps-nav .step_info_item.active .title-small {
	color: #3D3935 !important;
}


#sb-timeline .steps-nav .step_info_item:not(.active) {
	background-color: #eee9e1 !important;
}


#sb-timeline .steps-nav .step_info_item:not(.active) .title-small {
	color: #514b45 !important;
}


#sb-timeline .steps-nav .step_info_item:not(.active)::after {
	border-left-color: #eee9e1 !important;
}


#sb-timeline .steps-nav .step_info_item.active::after {
	border-left-color: #D8C6AE !important;
}


/* =========================================================
   REST DAYS — HERO / BANNER
   Show on Home, hide on Booking page
   ========================================================= */

#sb_main.page--booking #main-buttons {
	display: none !important;
}





/* =========================================================
   REST DAYS — HIDE HEADER CART
   ========================================================= */

#sb_cart {
	display: none !important;
}


/* =========================================================
   REST DAYS — HIDE CART POPUP
   ========================================================= */

#sb_cart_popup {
	display: none !important;
}


/* =========================================================
   REST DAYS — HIDE "OUR TIME" / TIMEZONE LINE
   ========================================================= */

#sb_booking_company_time {
	display: none !important;
}

/* =========================================================
   REST DAYS — HOME HERO SIZE + BUTTON POSITION
   ========================================================= */

/* Make homepage hero taller */
#sb_main.page--index #main-buttons {
    min-height: 520px !important;
    height: 520px !important;
    position: relative !important;
}

/* Make hero containers fill the banner */
#sb_main.page--index #main-buttons .container-fluid,
#sb_main.page--index #main-buttons .wrapper {
    min-height: 520px !important;
    height: 520px !important;
}

/* Keep wrapper available for SimplyBook widgets */
#sb_main.page--index #main-buttons .wrapper {
    position: relative !important;
}

/* Put Book Now at the bottom center */
#sb_main.page--index #main-buttons .btn-bar {
    position: absolute !important;
    left: 50% !important;
    bottom: 50px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 10 !important;
}



/* =========================================================
   REST DAYS — HOME HERO BOOK BUTTON
   ========================================================= */

#sb_main.page--index #main-buttons .btn-bar .book {
    background: #A66F32 !important;
    color: #FFFFFF !important;
    border: 2px solid #A66F32 !important;
    border-radius: 10px !important;
    padding: 15px 34px !important;
    min-width: 205px !important;
    min-height: 0 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
}

/* Remove SimplyBook's check/icon */
#sb_main.page--index #main-buttons .btn-bar .book i,
#sb_main.page--index #main-buttons .btn-bar .book::after {
    display: none !important;
}

/* Hover */
#sb_main.page--index #main-buttons .btn-bar .book:hover {
    background: #8f5f2b !important;
    border-color: #8f5f2b !important;
}


/* =========================================================
   REST DAYS — HIDE ABOUT US TITLE
   ========================================================= */

#sb_main.page--index #about-us > .section-pd > h3.title.title--h3 {
    display: none !important;
}

/* =========================================================
   REST DAYS — TIGHTEN HOME CONTENT BELOW HERO
   ========================================================= */

/* Remove extra SimplyBook space left by hidden About Us title */
#sb_main.page--index #about-us > .section-pd {
    padding-top: 18px !important;
}

/* Remove the extra top padding from our custom HTML wrapper */
#sb_main.page--index #about-us .txt > div {
    padding-top: 0 !important;
}

/* =========================================================
   REST DAYS — EXPERIENCE LABEL
   Stop SimplyBook from stretching pill full width
   ========================================================= */

#sb_content #about-us .txt > div > div:first-child > div:first-child {
    display: inline-block !important;
    width: auto !important;
    max-width: max-content !important;
}


/* =========================================================
   REST DAYS — RECOVERY, YOUR WAY
   ========================================================= */

#sb_content #about-us .txt .rd-recovery-section {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 70px auto 0 !important;
    padding: 80px 40px 45px !important;
    text-align: center !important;
    background: #f3f3f1 !important;
    border-radius: 24px !important;
}

#sb_content #about-us .txt .rd-recovery-eyebrow {
    display: inline-block !important;
    width: auto !important;
    max-width: max-content !important;
    background: #f3eee7 !important;
    color: #3d3935 !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    margin: 0 auto 14px !important;
}

#sb_content #about-us .txt .rd-recovery-heading {
    width: auto !important;
    margin: 0 0 48px !important;
    color: #3d3935 !important;
    font-size: 50px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
    text-align: center !important;
}

#sb_content #about-us .txt .rd-recovery-grid {
    display: flex !important;
    width: 100% !important;
    gap: 2px !important;
    align-items: stretch !important;
    justify-content: center !important;
}

#sb_content #about-us .txt .rd-recovery-card {
    flex: 1 1 0 !important;
    width: auto !important;
    background: #ffffff !important;
    padding: 42px 34px !important;
    text-align: left !important;
}

#sb_content #about-us .txt .rd-recovery-card:first-child {
    border-radius: 18px 0 0 18px !important;
}

#sb_content #about-us .txt .rd-recovery-card:last-child {
    border-radius: 0 18px 18px 0 !important;
}

#sb_content #about-us .txt .rd-recovery-number {
    width: auto !important;
    color: #a66f32 !important;
    font-size: 44px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    margin-bottom: 26px !important;
}

#sb_content #about-us .txt .rd-recovery-card h3 {
    width: auto !important;
    color: #3d3935 !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 0 0 14px !important;
}

#sb_content #about-us .txt .rd-recovery-card p {
    width: auto !important;
    color: #514b45 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 0 12px !important;
}

/* Mobile */
@media (max-width: 780px) {

    #sb_content #about-us .txt .rd-recovery-heading {
        font-size: 36px !important;
        margin-bottom: 30px !important;
    }

    #sb_content #about-us .txt .rd-recovery-grid {
        flex-direction: column !important;
        gap: 14px !important;
    }

    #sb_content #about-us .txt .rd-recovery-card {
        width: 100% !important;
        border-radius: 14px !important;
        padding: 30px 24px !important;
    }
}

/* Force space above "YOUR REST DAY" inside grey section */
#sb_main.page--index #sb_content #about-us .txt .rd-recovery-section {
    padding-top: 35px !important;
    box-sizing: border-box !important;
}

/* Bring "YOUR REST DAY" closer to the heading */
#sb_main.page--index #sb_content #about-us .txt .rd-recovery-eyebrow {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}



/* =========================================================
   REST DAYS — WHY REST DAYS SECTION
   ========================================================= */

#sb_content #about-us .txt .rd-why-section {
    display: flex !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 70px auto 0 !important;
    padding: 70px 55px !important;
    gap: 70px !important;
    align-items: center !important;
    background: #FFFFFF !important;
    border: 10px solid #F7F2EA !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
}

#sb_content #about-us .txt .rd-why-copy {
    flex: 1 1 0 !important;
    width: auto !important;
    text-align: left !important;
}

#sb_content #about-us .txt .rd-why-eyebrow {
    display: inline-block !important;
    width: auto !important;
    max-width: max-content !important;
    background: #f3eee7 !important;
    color: #3d3935 !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 22px !important;
}

#sb_content #about-us .txt .rd-why-copy h2 {
    width: auto !important;
    margin: 0 0 24px !important;
    color: #3D3935 !important;
    font-size: 42px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
}

#sb_content #about-us .txt .rd-why-copy p {
    width: auto !important;
    margin: 0 0 24px !important;
    color: #514B45 !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
}

#sb_content #about-us .txt .rd-why-image-wrap {
    flex: 1 1 0 !important;
    width: auto !important;
    text-align: center !important;
}

#sb_content #about-us .txt .rd-why-image-wrap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 14px !important;
    object-fit: cover !important;
}


/* Mobile */
@media (max-width: 780px) {

    #sb_content #about-us .txt .rd-why-section {
        flex-direction: column !important;
        padding: 40px 24px !important;
        gap: 32px !important;
        border-width: 8px !important;
    }

    #sb_content #about-us .txt .rd-why-copy h2 {
        font-size: 34px !important;
    }

    #sb_content #about-us .txt .rd-why-copy p {
        font-size: 16px !important;
    }
}


/* =========================================================
   REST DAYS — WHY REST DAYS FINAL SPACING
   ========================================================= */

/* Let the cream frame use the full available width */
#sb_main.page--index #sb_content #about-us .txt .rd-why-section {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Add white breathing room above the sauna image */
#sb_main.page--index #sb_content #about-us .txt .rd-why-image-wrap {
    padding-top: 30px !important;
    box-sizing: border-box !important;
}


/* =========================================================
   REST DAYS — FAQ SECTION FORMATTING
   ========================================================= */

#sb_content #about-us .txt .rd-faq-section {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 70px auto 0 !important;
    padding: 70px 55px 55px !important;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* HAVE QUESTIONS? pill */
#sb_content #about-us .txt .rd-faq-eyebrow {
    display: inline-block !important;
    width: auto !important;
    max-width: max-content !important;
    background: #F7F2EA !important;
    color: #3D3935 !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    margin: 0 auto 20px !important;
}

/* Main heading */
#sb_content #about-us .txt .rd-faq-heading {
    width: auto !important;
    max-width: 720px !important;
    margin: 0 auto 55px !important;
    color: #3D3935 !important;
    font-size: 45px !important;
    line-height: 1.02 !important;
    font-weight: 500 !important;
    text-align: center !important;
}

/* FAQ list area */
#sb_content #about-us .txt .rd-faq-list {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

/* Each FAQ row */
#sb_content #about-us .txt .rd-faq-item {
    width: 100% !important;
    border-bottom: 1px solid #E8E2D9 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Question */
#sb_content #about-us .txt .rd-faq-item summary {
    width: 100% !important;
    list-style: none !important;
    cursor: pointer !important;
    position: relative !important;
    padding: 18px 48px 18px 0 !important;
    color: #3D3935 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* Hide browser's default triangle */
#sb_content #about-us .txt .rd-faq-item summary::-webkit-details-marker {
    display: none !important;
}

/* Plus button */
#sb_content #about-us .txt .rd-faq-item summary::after {
    content: "+" !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #F3EEE7 !important;
    color: #3D3935 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

/* Minus when open */
#sb_content #about-us .txt .rd-faq-item[open] summary::after {
    content: "−" !important;
}

/* Answer */
#sb_content #about-us .txt .rd-faq-answer {
    width: 100% !important;
    padding: 0 50px 20px 0 !important;
}

#sb_content #about-us .txt .rd-faq-answer p {
    width: auto !important;
    margin: 0 !important;
    color: #514B45 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* View all FAQs */
#sb_content #about-us .txt .rd-faq-link {
    display: inline-block !important;
    width: auto !important;
    margin-top: 30px !important;
    color: #3D3935 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 780px) {

    #sb_content #about-us .txt .rd-faq-section {
        padding: 45px 24px 40px !important;
    }

    #sb_content #about-us .txt .rd-faq-heading {
        font-size: 38px !important;
        margin-bottom: 35px !important;
    }

    #sb_content #about-us .txt .rd-faq-item summary {
        font-size: 16px !important;
        padding-right: 42px !important;
    }

    #sb_content #about-us .txt .rd-faq-answer {
        padding-right: 10px !important;
    }
}

/* /* =========================================================
   REST DAYS — WHY REST DAYS FRAME
   Same width as other sections
   Thick cream sides, thin cream top/bottom
   ========================================================= */

#sb_main.page--index #sb_content #about-us .txt .rd-why-section {
    width: 100% !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    background: #FFFFFF !important;

    border-left: 18px solid #F7F2EA !important;
    border-right: 18px solid #F7F2EA !important;
    border-top: 3px solid #F7F2EA !important;
    border-bottom: 3px solid #F7F2EA !important;

    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* =========================================================
   REST DAYS — HIDE SIMPLYBOOK FOOTER / COPYRIGHT
   ========================================================= */

#footer {
    display: none !important;
}



/*
===========================================
===========================================

 Compress text spacing in top booking bar 
===========================================
===========================================

*/


#sb-timeline .steps-nav .title-small {
    margin-bottom: 4px !important;
    line-height: 1 !important;
}

#sb-timeline .steps-nav .title-sub {
    margin-top: 0 !important;
    line-height: 1 !important;
}

/* Style the selected value shown under each booking-step title */
#sb-timeline .steps-nav .title-sub {
    margin-top: 0 !important;      /* Keeps the second line tucked close to the title */
    line-height: 1 !important;     /* Prevents extra vertical spacing */
    font-size: 14px !important;    /* Slightly smaller than the main step title */
    font-style: italic !important; /* Gives the selected value a softer secondary look */
    font-weight: 400 !important;   /* Keeps it light instead of bold */
    color: #7A6756 !important;     /* Warm brown to match the Rest Days palette */
}




/* =========================================================
   REST DAYS — FIX BOOKING BAR TEXT CLIPPING
   ========================================================= */

#sb-timeline .steps-nav,
#sb-timeline .steps-nav .step_info_item,
#sb-timeline .steps-nav .step_info_item > a {
    height: 78px !important;
    min-height: 78px !important;
}

/* Center title + selected value vertically */
#sb-timeline .steps-nav .step_info_item > a {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    box-sizing: border-box !important;
}

/* Main heading */
#sb-timeline .steps-nav .title-small {
    line-height: 1.2 !important;
    margin: 0 0 4px !important;
}

/* Selected service underneath */
#sb-timeline .steps-nav .title-sub {
    line-height: 1.2 !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
}




/* =========================================================
   REST DAYS — SERVICE CARD IMAGE SIZE + FULL CENTERING
   Keep service icons fully visible and centered
   ========================================================= */

#sb_main .service-item img {
    width: 80% !important;
    height: 80% !important;

    margin-left: 8% !important;
    margin-right: 14% !important;

    margin-top: 8% !important;
    margin-bottom: 10% !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
}



/* =========================================
   REST DAYS — STRIPE CHECKOUT PAGE
   ========================================= */

/* Stack the payment + summary vertically */
.invoice-pay-page--select-pm .invoice-pay-page--grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 22px !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}

/* Make both sections full width */
.invoice-pay-page--select-pm .left-block,
.invoice-pay-page--select-pm .right-block {
    width: 100% !important;
    max-width: 680px !important;
    flex: none !important;
}


/* -------------------------
   PAYMENT METHOD AREA
   ------------------------- */

/* Center heading/instructions */
.invoice-pay-page--select-pm .left-block {
    text-align: center !important;
}

/* Hide generic instruction text */
.invoice-pay-page--select-pm .left-block > p {
    display: none !important;
}

/* Payment method heading */
.invoice-pay-page--select-pm .left-block h1,
.invoice-pay-page--select-pm .left-block h2,
.invoice-pay-page--select-pm .left-block h3 {
    font-size: 21px !important;
    font-weight: 500 !important;
    color: #3D3935 !important;
    margin-bottom: 18px !important;
}

/* Make Stripe option smaller / cleaner */
.invoice-pay-page--select-pm .payment-system,
.invoice-pay-page--select-pm .payment-method,
.invoice-pay-page--select-pm .payment-provider {
    margin: 0 auto !important;
}


/* -------------------------
   ORDER SUMMARY CARD
   ------------------------- */

.invoice-pay-page--select-pm .right-block {
    background: #F8F8F6 !important;
    border: 1px solid #EAE1D2 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 28px 30px !important;
}

/* Order summary heading */
.invoice-pay-page--select-pm .invoice-title {
    font-size: 22px !important;
    font-weight: 500 !important;
    color: #3D3935 !important;
}

/* Hide invoice creation / due dates */
.invoice-pay-page--select-pm .invoice-info .part {
    color: #3D3935 !important;
}

/* specifically suppress date / due date block where possible */
.invoice-pay-page--select-pm .invoice-info .part:last-child,
.invoice-pay-page--select-pm .right-block--header .part:last-child {
    display: none !important;
}


/* -------------------------
   TABLE
   ------------------------- */

.invoice-pay-page--select-pm table {
    background: transparent !important;
}

.invoice-pay-page--select-pm table thead {
    display: none !important;
}

.invoice-pay-page--select-pm table td {
    border: none !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    color: #3D3935 !important;
}


/* -------------------------
   TOTAL
   ------------------------- */

.invoice-pay-page--select-pm .right-block--footer {
    border-top: 1px solid #EAE1D2 !important;
    margin-top: 15px !important;
    padding-top: 20px !important;
}


/* -------------------------
   PROCEED BUTTON
   ------------------------- */

.invoice-pay-page--select-pm .btn,
.invoice-pay-page--select-pm button {
    background: #9A6A36 !important;
    border-color: #9A6A36 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    letter-spacing: .3px !important;
    padding: 14px 24px !important;
    box-shadow: none !important;
}

.invoice-pay-page--select-pm .btn:hover,
.invoice-pay-page--select-pm button:hover {
    background: #82592e !important;
    border-color: #82592e !important;
}


/* -------------------------
   PAGE SPACING
   ------------------------- */

.invoice-pay-page--select-pm {
    padding-top: 38px !important;
    padding-bottom: 60px !important;
}


/* MOBILE */
@media (max-width: 767px) {

    .invoice-pay-page--select-pm .invoice-pay-page--grid {
        padding: 0 15px !important;
    }

    .invoice-pay-page--select-pm .right-block {
        padding: 22px 18px !important;
    }
}