/*
 Theme Name:   Sailing Child
 Theme URI:    http://sailing.thimpress.com/
 Description:  Sailing Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     sailing
 Version:      1.0.0
 Text Domain:  sailing-child
*/
/* Customs CSS by George and Fred under here! */
/* --- Global Layout Containment for All Pages --- */
.site-main,
.entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 50px;
    box-sizing: border-box;
}

/* --- Default Solid Background for Main Content --- */
.entry-content {
    background: #fff;
    border-radius: 5px;
    box-sizing: border-box;
}

/* --- Transparent Background for Elementor Content (Homepage, etc.) --- */
body.home .entry-content .elementor-container {
    background: rgba(255, 255, 255, 0.75);
    padding: 20px;
    border-radius: 5px;
    box-sizing: border-box;
}

/* --- Transparent Background for Accommodation, Cart, Checkout --- */
body.single-accommodation .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
    background: rgba(255, 255, 255, 0.75);
}

/* --- Accommodation Page Layout & Background --- */
.eshb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 50px;
    box-sizing: border-box;
}

.eshb-contents {
    background: rgba(255, 255, 255, 0.75);
    padding: 20px;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* --- Booking Widget Styling --- */
.ehb-booking-widget,
.ehb-booking-form {
    background: rgba(255, 255, 255, 0.75);
    padding: 30px;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* --- Cart & Checkout Layout Containment --- */
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Prevent Content Bleed in Forms --- */
.woocommerce-cart form,
.woocommerce-checkout form,
.ehb-booking-form {
    padding: 20px;
}

/* --- Datepicker Calendar Visibility Fix --- */
.daterangepicker.dropdown-menu {
    z-index: 99999 !important;
}

.eshb-booking,
.eshb-booking-form,
.eshb-form-group,
.eshb-form-groups,
body {
    overflow: visible !important;
    position: relative !important;
    z-index: 0 !important;
}


