/*
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
*/

/* Development CSS code can be added here for testing */
/* *{
    border: 1px solid red;
} */


/* body.front-page.trans-header-logo-page header.wp-block-template-part.section-header-nav-sticky,

body.home header.wp-block-template-part.section-header-nav-sticky {
    background-color: #21325b!important;
} */

figure.featured img {
    display: block;
    width: 100%;
    -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 10px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 10px;
    border: 3px solid #eee;
}

h1, h2, h3, h4, h5, h6 {
    color: #02528A;
    font-weight: 600;

    margin-bottom: 1em;
}

* {
    font-family: 'Source Sans 3', sans-serif;
}

/*-------------------------------------------------------------
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
Bootstrap (BOOT)
	BOOT - Breakpoints Examples
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - Body
--------------------------------------------------------------*/
body,
.editor-styles-wrapper .is-root-container {
    /* background-color: #d7e3d6; */
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #f8f5f3;
}

/*--------------------------------------------------------------
GLOB - Typography
--------------------------------------------------------------*/

/* .display-1,
.is-style-display-1,
.display-2,
.is-style-display-2,
.display-3,
.is-style-display-3,
.display-4,
.is-style-display-4,
.is-style-display-5,
.display-5,
.is-style-display-6,
.display-6 {
    font-weight:400;
} */

/* h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.is-style-display-1, .is-style-display-2, .is-style-display-3, .is-style-display-4, .is-style-display-5, .is-style-display-6 {
    text-transform:capitalize;
} */

.grecaptcha-badge { 
    visibility: hidden !important;
}

.is-style-lead {
    line-height: 2rem;
}

/* Adds a line before the CTA headers */
.custom-header-style {
    padding: 0 0 0 2rem;
    position: relative;
}

.custom-header-style:before {
    content: '';
    width: 4px;
    height: calc(100% - 20px);
    background-color: #f90706;
    display: block;
    position: absolute;
    top: 9px;
    left: 0;
}

/*--------------------------------------------------------------
GLOB - UL
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - HR
--------------------------------------------------------------*/
hr {
    width: 100%;
    opacity: 1;
    border-bottom: 0!important;
    background-color: #384400!important;
}

hr.has-contrast-background-color {
    background-color: #384400!important;
    border-color: #384400!important;
    color: #384400!important;
}

/*--------------------------------------------------------------
GLOB - Links
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - Buttons
--------------------------------------------------------------*/
.btn {
    /* text-transform: uppercase; */
    font-weight: 400;
    padding: 13px 29px;
    line-height: 17px;
}

.btn:hover {
    text-decoration: none;
}

/*--------------------------------------------------------------
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
--------------------------------------------------------------*/
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
--------------------------------------------------------------*/
.offcanvas-logo-mobile img {
    max-height: 25px !important;
    max-width: none;
    width: auto;
}

.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%;
    } */

.dropdown-toggle svg {
    width: .6rem;
    color: #33a7b1;
}

}

/*--------------------------------------------------------------
HEAD - Links
--------------------------------------------------------------*/
header a {
    text-decoration: none;
}

#primary-menu a,
#primary-menu a:hover,
#primary-menu a:focus {
    /* color: #2e2322; */
    /* font-size: .8rem;
    font-weight: 500;
    text-transform: uppercase; */
}

#primary-menu > .menu-item  {
    /* font-family: 'Playfair Display'; */
    /* text-transform: uppercase; */
    /* color: #2e2322; */
    font-size:1.1rem ;
}

@media (min-width: 992px) {
    #primary-menu > .menu-item  {
        margin-right: .15rem;
        letter-spacing: .5px;
    }

    .dropdown-item.active, 
    .pagination .dropdown-item.current, 
    .dropdown-item:active {
        text-decoration: none;
        /* background-color: #f5eaeb; */
    }

    /* #primary-menu a,
    #primary-menu a:hover,
    #primary-menu a:focus {
        color: #fff;
        color:  rgba(255, 255, 255, 0.85);
    } */

}


@media (min-width: 992px) {

    /* Define the underline effect */
    .active .nav-link,
    .active .nav-link:hover,
    .active .nav-link:focus {
    position: relative;
    /* color: #33a7b1 !important; */
    }

    .active .nav-link::before,
    .nav-link:hover::before,
    .nav-link:focus::before {
    /* color: #33a7b1 !important; */
    }

    /* .nav-link::before {
    content: '';
    position: absolute;
    left: .5rem;
    bottom: -3px;
    bottom: 5px;
    width: calc(100% - 1rem);
    height: 1px;
    background-color: #377dff;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
    }

    .dropdown-toggle.nav-link::before {
    left: .5rem;
    width: calc(100% - 38px - .5rem);
    }

    .active .nav-link::before,
    .nav-link:hover::before,
    .nav-link:focus::before {
    transform: scaleX(1);
    transform-origin: bottom left;
    } */
}

/* Header button (last) special styling */
/* @media (min-width: 992px) {
    header #primary-menu>li:last-child .nav-link {
        background-color: #61c3b4;
        color: #fff;
        background-color: #fff;
        color: #1e2022;
        border-color: #fff;
        border: 1px solid #fff;
        padding: 12px 19px;
        line-height: 12px;
        border-radius: .35rem;
        margin-left: 1.5rem;
        text-decoration: none;
    }
} */

/*--------------------------------------------------------------
HEAD - Navigation
--------------------------------------------------------------*/
/* @media (min-width: 992px) {
    .offcanvas-body > .ms-auto{
        margin-right: auto;
    }
} */

/*--------------------------------------------------------------
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 */


@media (min-width: 1400px) {
    .container, .navbar-collapse>.ms-auto, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1200px;
    }
}

/*--------------------------------------------------------------
CARO - Layout
--------------------------------------------------------------*/

/*--------------------------------------------------------------
FOOT - Layout
--------------------------------------------------------------*/
footer > section.bg-primary .btn-primary {
    border-color: #ffffff!important;
    border-width: 2px;
} 

.footer-logo {
    width: 300px;
}

.wp-block-zenbuilder5-footer-info {
    font-size: .8rem;
}

/*--------------------------------------------------------------
FOOT - Links
--------------------------------------------------------------*/
footer a,
footer a:hover {
    text-decoration: none;
} 

footer a:hover {
    text-decoration: underline;
} 


/*--------------------------------------------------------------
POST - Buttons
--------------------------------------------------------------*/
.row-categories-blog .btn{
    padding: 6px 15px;
}

#btn-back-to-top.btn {
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    width: 3.125rem;
    height: 3.125rem;
    background-color: rgba(113, 134, 157, .1);
    color: #677788;
    font-size: 1rem;
    opacity: .9;
    border-radius: 50%;
    transition: .3s ease-out;
    color: #677788!important;
    border:none;
}

/*--------------------------------------------------------------
COMP - Cards
--------------------------------------------------------------*/
.card-footer {
    /* background-color: #d7e3d6; */
}
.card {
    border:0;
}

/*--------------------------------------------------------------
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) {  

}



@media (min-width: 976px) {

    .multi-column-list {
        columns: 3; /* Number of columns */
        column-gap: 3rem; /* Space between columns */
    }

    .multi-column-list li {
        break-inside: avoid; /* Prevent items from breaking between columns */
        margin-bottom: 1.5rem; 
        columns: auto;
    }
}
















