/*
Theme Name: Zen Builder 5 Child
Template: zenbuilder5
Theme URI: https://theme-zen.com/
Author: ThemeZen
Author URI: https://theme-zen.com/
Description: Make custom changes for your website in this child theme.
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 7.4
Version: 1.0.0
License: ThemeZen Licence
License URI: 
Text Domain: zenbuilder5
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/

/*-------------------------------------------------------------
Globals (GLOB)
    GLOB - Body
    GLOB - Typography
    GLOB - Forms
    GLOB - UL
    GLOB - HR
    GLOB - Links
    GLOB - Buttons
Header (HEAD)
    HEAD - Header over hero
    HEAD - Layout
    HEAD - Logo
	HEAD - Navigation
    HEAD - Links
Hero (HERO)
	HERO - Layout
Carousel (CARO)
	CARO - Layout
Footer (FOOT)
    FOOT - Layout
    FOOT - Links
Posts (POST)
    POST - Buttons
Components (COMP)
    COMP - Cards
    COMP - Accordion
    COMP - WP Gallery
    COMP - WP Table
Bootstrap (BOOT)
	BOOT - Breakpoints Examples
--------------------------------------------------------------*/

.ft-cards-events .wp-block-zenbuilder5-card .card-img-top {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
    margin-top: 0;
}

#primary-menu.navbar-nav .nav-link.dropdown-toggle {
    margin-right: 0;
}


.card-review-rating svg,
.star-rating svg {
    fill: #20c997;
    margin-right: .25rem;
}

.dynamic-reviews .card {
    background-color: #f4f8f7;
    padding: 1rem !important;
}

.post-type-archive-cpt_zb5_event .wp-block-zenbuilder5-card .card-img-top,
.tax-cpt_zb5_event_category .wp-block-zenbuilder5-card .card-img-top {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
}

.icon-40 {
    width: 40px;
    height: 40px;
}

header.wp-block-template-part {
    position: relative!important;
}

.hero-banner .badge {
    font-size: 1.2rem;
}

header.wp-block-template-part, body.home header.wp-block-template-part.section-header-nav-sticky {
    box-shadow: none!important;
}

/* Target the div containing the image */
.circle-bg {
    position: relative;  /* KEY: This makes the absolute positioning work relative to the figure */
    display: inline-flex;  /* Makes the circle wrap tightly around the icon */
    align-items: center;
    justify-content: center;
}

.circle-bg:before {
    content: '';
    background-color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;  /* Center vertically */
    left: 50%;  /* Center horizontally */
    transform: translate(-50%, -50%);  /* Adjust to exact center */
    z-index: -1;
}

.has-contrast-color,
.wp-elements-9b801333d4f7e52f2d04ed6a77d17320 a:where(:not(.wp-element-button)),
.wp-elements-9657b5e08ef7dfabf2825c31f84518e0 a:where(:not(.wp-element-button)) {
    color: #0b4330 !important;
}
/* Premium Cottage Heading Style */
.wp-block-zenbuilder5-section > .wp-block-zenbuilder5-container > .wp-block-zenbuilder5-row > .wp-block-zenbuilder5-col > h2,
.h-premium {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Main decorative line */
.wp-block-zenbuilder5-section > .wp-block-zenbuilder5-container > .wp-block-zenbuilder5-row > .wp-block-zenbuilder5-col > h2:after,
.h-premium:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 2px;
    background: linear-gradient(
        to right,
        #c8a96b,
        #e7d3a7,
        #c8a96b
    );
    border-radius: 10px;
}

/*--------------------------------------------------------------
GLOB - Body
--------------------------------------------------------------*/

@media (min-width: 1400px) {
    .container, .navbar-collapse>.ms-auto, 
    .container-sm, .container-md, .container-lg, .container-xl, 
    .container-xxl {
        max-width: 1600px;
    }
}
/*
Source - https://stackoverflow.com/a
Posted by Yann39, modified by community. See post 'Timeline' for change history
Retrieved 2025-12-19, License - CC BY-SA 4.0
*/
.grecaptcha-badge { 
    visibility: hidden !important;
}

/*--------------------------------------------------------------
GLOB - Typography
--------------------------------------------------------------*/
.is-style-lead {
    line-height: 2rem;
}

/*--------------------------------------------------------------
GLOB - Forms
--------------------------------------------------------------*/
.form-control {
    padding: 14px 22px;
}
/*--------------------------------------------------------------
GLOB - UL
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - HR
--------------------------------------------------------------*/
hr {
    width: 100%;
    border-bottom: 0!important;
}

/*--------------------------------------------------------------
GLOB - Links
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - Buttons
--------------------------------------------------------------*/
.btn {
    letter-spacing: 1px;
    font-weight: bold;
    padding: 13px 29px;
    line-height: 17px;
    font-size: 18px;
}

/*--------------------------------------------------------------
HEAD - Header over hero
--------------------------------------------------------------*/
@media (min-width: 992px) {
    /* Header bg */
    
    /* Overlayed on hero (Fixed default) */
    /* body.home header.wp-block-template-part {
        background-color: transparent;
    } */
    
    /* Not overlayed on hero */
    body.home header.wp-block-template-part {
        position: relative!important;
    }

    /* Header links */
    /* Colour on hero (default) */
    /* .home header:not(.section-header-nav-sticky) .nav-link,
    .home header:not(.section-header-nav-sticky) .nav-link:hover,
    .home header:not(.section-header-nav-sticky) .nav-link:focus {
        color: #fff;
    } */
}

/*--------------------------------------------------------------
HEAD - Layout
--------------------------------------------------------------*/
header .border-bottom {
    border-color: #94a99d85!important;
   
}

body.home header.wp-block-template-part {
    transition: all 0.5s ease;
}

body.home header.wp-block-template-part {
    box-shadow:none;
}

header.wp-block-template-part,
body.home header.wp-block-template-part.section-header-nav-sticky {
    background-color: #fff;
    box-shadow:none;
    box-shadow: 4px 4px 30px 0 rgba(0, 0, 0, 0.09);
}

header.wp-block-template-part.section-header-nav-sticky {
    box-shadow: 4px 4px 30px 0 rgba(0, 0, 0, 0.09);
}

@media (min-width: 992px) {
    /* Header bg */
    /* body.home header.wp-block-template-part {
        background-color: transparent;
    } */

    body.home header.wp-block-template-part {
        position: relative!important;
    }

}

@media (min-width: 992px) and (max-width: 1200px) {
    
    /* Center logo to fit with menu */
    .navbar-nav-wrap {
        justify-content: center;
    }

    #navbarNavDropdown > div.ms-auto {
        margin-left: 0!important;
        width: 100%;
    }

    #navbarNavDropdown > div.ms-auto > #primary-menu {
        justify-content: center;
    }

}

/*--------------------------------------------------------------
HEAD - Logo
--------------------------------------------------------------*/
.wp-block-site-logo {

    margin-right: 10px;
}

header .custom-logo-link {
    transition: all 0.3s ease-in-out;
    max-width: 100%;
}

header .logo-text {
    max-width: 6rem;
    line-height: 1rem;
}

header .logo-text p:nth-child(1){
    font-size: .7rem;
}
header .logo-text p:nth-child(2){
    /* font-size: .6rem!important; */
    display: none;
}

@media (min-width: 992px) { 
    header .logo-text {
        max-width: 12rem;
    }
    header .logo-text p:nth-child(1){
        font-size: 1.1rem;
    }
    header .logo-text p:nth-child(2){
        /* font-size: .6rem!important; */
        display: block;
    }
}

header .custom-logo-link,
header.section-header-nav-sticky .custom-logo-link {
    /* max-width:  60px; */
}

header .custom-logo-link {
    max-width:  60px;
}

/* header.section-header-nav-sticky .custom-logo-link {
    max-width:  50%;
    transition: all 0.3s ease-in-out;
} */

@media (min-width: 992px) {
    header .custom-logo-link {
        max-width:100%;
    }

    /* header.section-header-nav-sticky .custom-logo-link {
        max-width:  80%;
    } */
}

/*--------------------------------------------------------------
HEAD - Navigation
--------------------------------------------------------------*/
.navbar-toggler {
    color: #000 !important;
    border-color: #000 !important;
}

body header .navbar-toggler {
    order: 3;
    margin-left: 0;
}

@media screen and (max-width: 991px) {
    .search-menu-icon {
        margin-left: auto !important;
    }

    .offcanvas {
        background: #fff;
    }

/* .navbar-nav .dropdown-menu {
    background: #116247;
    color: #fff;
}
.navbar-nav .dropdown-menu a{

    color: #fff;
} */

.offcanvas .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
}
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {

        margin-right: 1.2rem;
    }
}



/*--------------------------------------------------------------
HEAD - Links
--------------------------------------------------------------*/
header a {
    text-decoration: none;
}

/* .nav-link,
.nav-link:hover,
.nav-link:focus {
    color: #fff;
}
.dropdown-toggle svg {
    color: white;
    width: 10px;
}

.search-menu-icon svg{
    color: #fff;
} */

/*--------------------------------------------------------------
HERO - Layout
--------------------------------------------------------------*/

/* Start: The home page hero carousel item (first) needs fixed heights, based on users content, stops height changing */
body.home .carousel-item .zenbuilder5-section {
    height: 600px!important;
}

@media (min-width: 992px) {
    body.home .carousel-item .zenbuilder5-section {
        height: 700px!important;
    }
}

@media (min-width: 1200px) {
    body.home .carousel-item .zenbuilder5-section {
        height: 800px!important;
    }
}

body.home .carousel-item .zenbuilder5-section .container,
body.home .carousel-item .zenbuilder5-section .container .row {
    height: 100%;
}
/* End: The home page hero carousel item (first) needs fixed heights, based on users content, stops height changing */

/*--------------------------------------------------------------
CARO - Layout
--------------------------------------------------------------*/

/*--------------------------------------------------------------
FOOT - Layout
--------------------------------------------------------------*/
footer {
    background-color: #fff;
}

.footer-logo {
    width: 300px;
}

/*--------------------------------------------------------------
FOOT - Links
--------------------------------------------------------------*/
footer a,
footer a:hover {
    text-decoration: none;
} 

footer a:not(.btn):hover {
    text-decoration: underline;
} 


/*--------------------------------------------------------------
POST - Buttons
--------------------------------------------------------------*/
.row-categories-blog .btn{
    padding: 6px 15px;
}

/*--------------------------------------------------------------
COMP - Cards
--------------------------------------------------------------*/
.card.bg-primary a {
    color: #fff;
}

.card-footer {
    /* background-color: #d7e3d6; */
}
.card {
    border:0;
}
/*--------------------------------------------------------------
COMP - Accordion
--------------------------------------------------------------*/
.wp-block-zenbuilder5-accordion.accordion,
.wp-block-zenbuilder5-accordion-item.accordion-item,
.accordion-header {
    border: none;
    border-radius: 0;
    box-shadow: none!important;
}


.accordion-button:not(.collapsed) {

}

.accordion-button {
    background-color: var(--wp--preset--color--gray-100)!important;
    padding: 2rem;
    margin-bottom: 1.5rem ;
    border-radius: 1.5rem;
    box-shadow: none!important;
    font-size: 1.3rem !important;
}
/*--------------------------------------------------------------
COMP - WP Gallery
--------------------------------------------------------------*/
/* === MASONRY GALLERY LAYOUT === */

/*--------------------------------------------------------------
COMP - WP Table
--------------------------------------------------------------*/
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color:#f4f8f7;
}

/*--------------------------------------------------------------
BOOT - Breakpoints Examples
--------------------------------------------------------------*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {   

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {  

}







