/*
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
--------------------------------------------------------------*/

/*--------------------------------------------------------------
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: sticky!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: sticky!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 {
    padding: 0;
    margin: 0;
    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
--------------------------------------------------------------*/
body header .navbar-toggler {
    order: 3;
    margin-left: 0;
}
.navbar {
    padding: 0;
}
@media screen and (max-width: 991px) {
    .search-menu-icon {
        margin-left: auto !important;
    }

    .offcanvas {
    background: #0a4934;
}

.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) {
    .offcanvas-body > div.ms-auto {
        margin-left: 70px!important;
    }



}

/*--------------------------------------------------------------
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-footer {
    /* background-color: #d7e3d6; */
}
.card {
    border:0;
}


.card-review,
.wp-singular.cpt_zb5_review-template-default .zenbuilder5-div.border{
        background-color: #f4f8f7;
        padding: 1rem !important;
}

.wp-singular.cpt_zb5_review-template-default .zenbuilder5-div.border{
        border-radius: 30px;
        border: none!important;
        padding: 2rem !important;
}

.card-review .card-review-rating svg, 
.star-rating svg {
    fill: #20c997!important;
}


/*--------------------------------------------------------------
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) {  

}



.carousel-fw-overflow {
    overflow: visible!important;
    height: 240px;
}

@media (min-width: 768px) {
    .carousel-fw-overflow {
        height: 300px;
    }
}

@media (min-width: 992px) {
    .carousel-fw-overflow {
        height: 500px;
    }
}

.carousel-fw-overflow .wp-block-zenbuilder5-carousel-swiper-item {
    height: auto!important;
    align-items: unset;
}

.carousel-fw-overflow .wp-block-zenbuilder5-carousel-swiper-item figure.wp-block-image img{
    height: 100%!important;
    object-fit: cover!important;
}
