/*
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;
} */
.project-content ul li, 
.multi-column-list li {
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 1rem;

}

@media (min-width: 976px) {

    .project-content ul,
    .multi-column-list {
        columns: 3; /* Number of columns */
        column-gap: 3rem; /* Space between columns */
    }

    .project-content ul li, 
    .multi-column-list li {
        break-inside: avoid; /* Prevent items from breaking between columns */
        margin-bottom: 1.5rem; 
    }
}

.project-content ul li::before {
    content: "•";
    color: #0a5ac2;
    font-weight: bold;
    display: inline-block;
    width: 1.1em;
    margin-left: -1.1em;
}

.project-content ul li, 
.multi-column-list li {
    font-weight: inherit;
    font-size: inherit;
    margin-bottom: 1rem;

}

/*-------------------------------------------------------------
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
    HEAD - Breadcrumbs
Hero (HERO)
	HERO - Layout
Carousel (CARO)
	CARO - Layout
Accordion (ACORD)
	ACORD - Style
Footer (FOOT)
    FOOT - Layout
    FOOT - Links
Posts (POST)
    POST - Cards
    POST - Buttons
Components (COMP)
    COMP - Cards
Bootstrap (BOOT)
	BOOT - Breakpoints Examples
CPT Projects (CPT-PROJ)
    CPT-PROJ - Customisations
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - Body
--------------------------------------------------------------*/
body,
.editor-styles-wrapper .is-root-container {
    /* background-color: #d7e3d6; */
}

@media (min-width: 1400px) {
    .container,
    .navbar-collapse>.ms-auto,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1590px;
        max-width: 1366px;
    }
}

/*--------------------------------------------------------------
GLOB - Typography
--------------------------------------------------------------*/

.is-style-small-caps {
    font-weight: 500;
    color: #ba9762;
    letter-spacing: 0.2rem;
    font-size: 1.1rem;
}

.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,
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {

        word-break: break-word;
}

.is-style-lead {
    line-height: 2.2rem;
}

.custom-header-style {
    padding: 0 0 0 2rem;
    position: relative;
}

.custom-header-style:before {
    content: '';
    width: 4px;
    height: calc(100% - 20px);
    background-color: #0a5ac2;
    display: block;
    position: absolute;
    top: 9px;
    left: 0;
}

/*--------------------------------------------------------------
GLOB - UL
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - HR
--------------------------------------------------------------*/
hr {
    width: 100%;
    opacity: 1;
    border-bottom: 0!important;
    background-color: #2b3337!important;
}

hr.has-contrast-background-color {
    background-color: #2b3337!important;
    border-color: #2b3337!important;
    color: #2b3337!important;
}

/*--------------------------------------------------------------
GLOB - Links
--------------------------------------------------------------*/

/*--------------------------------------------------------------
GLOB - Buttons
--------------------------------------------------------------*/
.btn {
    padding-left: 2.3rem;
    padding-right: 2.3rem;
    font-weight: 500;
    /* text-transform: uppercase; */
    /* letter-spacing: .1rem; */
    font-size: 1.2rem;
}

.btn svg {
    width:15px;
    color: var(--bs-primary);
}

.btn-outline-light svg {
    color: white;
}

.btn-outline-light:hover svg {
    color: var(--bs-primary);
}


.btn:not(.btn-lg):not(.btn-sm) {
    padding-top: .9rem;
    padding-bottom: .9rem;
    font-size: .8rem;
}

#btn-back-to-top {
    /* background-color: #121f3d;
    border-color: #0d172a; */
    background-color: #fff;
    border-color: #fff;
    color: #fff;
}

#btn-back-to-top svg{
    color: #0d172a;
}

.btn-sm, 
.btn-group-sm>.btn, 
.btn-group-sm>.wp-element-button, 
.btn-group-sm>.wp-block-button__link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/*--------------------------------------------------------------
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
--------------------------------------------------------------*/
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 {
    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 - Links
--------------------------------------------------------------*/
.nav-link,
.nav-link:hover,
.nav-link:focus, 
#primary-menu .dropdown-item,
#primary-menu .dropdown-item:hover,
#primary-menu .dropdown-item:focus 
{
    text-decoration: none;
    font-size: 1rem;
    color: #727272;
    color: #fff;
    font-weight: 600;
    /* text-transform: uppercase; */
    letter-spacing: .3px;
}

.current-menu-item .nav-link,
#primary-menu .current-menu-item .dropdown-item,
.nav-link:hover,
.nav-link:focus, 
#primary-menu .dropdown-item:hover,
#primary-menu .dropdown-item:focus 
{
    color: #2b3337;
    color: #f9d28d;
    text-decoration: underline;
}

#primary-menu .dropdown-item:hover,
#primary-menu .dropdown-item:focus 
{
    background-color: #f9d28d;
    background-color: #113f61;
    text-decoration: underline;
}

.dropdown-item.active, .pagination .dropdown-item.current, .dropdown-item:active {
    text-decoration: none;
    background-color: #fff;
}

@media (max-width: 991px) {
    .zenbuilder5-dropdown-toggle::after {
        width: 2rem;
        height: 1rem;
    }
}

@media (min-width: 992px) {

    .nav-link,
    .nav-link:hover,
    .nav-link:focus, 
    #primary-menu .dropdown-item,
    #primary-menu .dropdown-item:hover,
    #primary-menu .dropdown-item:focus 
    {
        font-size: 1.2rem;
    }

    /* #primary-menu .nav-link,
    #primary-menu .dropdown-item
    {
        color: #727272;
        color: #2b3337;
    } */

    #primary-menu .current-menu-item .nav-link,
    #primary-menu .current-menu-item .dropdown-item,
    #primary-menu .current-page-parent > .nav-link,
    #primary-menu .nav-link:hover,
    #primary-menu .nav-link:focus, 
    #primary-menu .dropdown-item:hover,
    #primary-menu .dropdown-item:focus 
    {
        text-decoration: none;
        color: #2b3337;
        color: #1d2325;
        color: #f9d28d;
    }
    
    #primary-menu .current-menu-item .nav-link,
    #primary-menu .current-menu-item .dropdown-item,
    #primary-menu .current-menu-parent .nav-link  {
        color: #f9d28d;
    }




    .navbar-expand-lg .navbar-nav .dropdown-menu {
        background-color: #113f61;
    }

    .nav-link + .zenbuilder5-dropdown-toggle::after
    {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23727272' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    }

    .nav-link.show + .zenbuilder5-dropdown-toggle::after
    {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232a5fc9' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    }

    #primary-menu > li {
        margin-right: 1rem;
    }

    /* Define the underline effect */
    .active .nav-link,
    .active .nav-link:hover,
    .active .nav-link:focus {
        position: relative;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: .5rem;
        bottom: -3px;
        /* bottom: 0; */
        top: 100%;
        width: calc(100% - 1rem);
        height: 1px; 
        background-color: #2b3337;
        background-color: #0a5ac2;
        background-color: #f9d28d;
        transform: scaleX(0);
        transform-origin: bottom right;
        transition: transform 0.2s 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;
    }
}

/*--------------------------------------------------------------
HEAD - breadcrumbs
--------------------------------------------------------------*/

.breadcrumb {
    margin-bottom: 0;
}

.fw-page-breadcrumbs #breadcrumbs a {
    color: white;
}

.fw-page-breadcrumbs #breadcrumbs li.active,
.wp-zenbuilder5-breadcrumbs .separator{
    color: rgb(143 160 177);
}

/*--------------------------------------------------------------
HEAD - Navigation
--------------------------------------------------------------*/
body header .navbar-toggler {
    order: 3;
}

body header .navbar-toggler svg {
    width: 40px;
    height: 40px;
    /* fill: #07778f; */
    width: 33px;
    height: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-menu-icon svg {
    color: var(--bs-body);
    color: #000;
}

.search-menu-icon {
    background-color: #fff;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
        margin-left: auto;
}

/* body header .navbar-toggler {
    margin-left: 0;
} */

@media screen and (max-width: 991px) {
    .search-menu-icon {
        margin-left: auto !important;
    }
}

#search-form button {
    justify-content: center;
}

#search-form .form-control {
    padding: 0.65rem 0.75rem;
}

/* .zenbuilder5-dropdown-toggle::after {
    fill: #07778f;
    color:#07778f;
}
.zenbuilder5-dropdown-toggle {
    fill: #07778f;
    color:#07778f;
} */

.wp-block-zenbuilder5-custom-nav {
    padding-top:2rem ;
    padding-bottom:2rem ;
}

@media (min-width: 992px) {
    .navbar-collapse>.ms-auto {
        /* margin-right: auto !important; */
    }

    .wp-block-zenbuilder5-custom-nav {
        padding-top:0 ;
        padding-bottom:0 ;
    }

    .dropdown-item {
        padding:.5rem 1rem;
    }

    header #primary-menu>li:last-child .nav-link:before {
        display: none;
    }
}

@media (max-width: 991px) {
    #navbarNavDropdown,
    #navbarNavDropdown .dropdown-menu {
        background-color: #113f61;
    }
}

#navbarNavDropdown .btn svg, .offcanvas .btn svg {
    color: white;
}

.offcanvas,.offcanvas .dropdown-menu {
    background-color: #113f61;
}

.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;

}

/*--------------------------------------------------------------
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
--------------------------------------------------------------*/

/*--------------------------------------------------------------
ACORD - Style
--------------------------------------------------------------*/


.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a5ac2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");

}

.accordion .accordion-button {
  font-weight: 700;
    font-size: 1.4rem;
    padding: 1.5rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    color: inherit;
    background-color: transparent;
    box-shadow: none;
}
.accordion-item:first-of-type .accordion-button,
.accordion-item:first-of-type,
.accordion,
.accordion-item:last-of-type,
.accordion-item {
    border:none;
}
.accordion-item,
.accordion-item:first-of-type {
    border-bottom: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);;
}
.accordion-button {
    font-weight: 900;
    font-size: 1.6rem;
    padding: 1.5rem 1rem;
}

/*--------------------------------------------------------------
FOOT - Layout
--------------------------------------------------------------*/

footer .col-lg-3.text-center.border{
    border-color: #324256!important;
}

footer > section.bg-primary .btn-primary {
    border-color: #ffffff!important;
    border-width: 2px;
}

.footer-logo {
    width: 300px;
}

footer .pt-20 {
    padding-top: 25.5rem !important;
}

footer .mb-n20 {
    margin-bottom: -25.5rem !important;
}
/*--------------------------------------------------------------
FOOT - Links
--------------------------------------------------------------*/
footer a,
footer a:hover {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/*--------------------------------------------------------------
POST - Cards
--------------------------------------------------------------*/
.wp-block-zenbuilder5-blog-archive .card-footer {
    display: none;
}

.wp-block-zenbuilder5-blog-archive > .container > .row > div {
    margin-bottom: 3rem!important;
}

.wp-block-zenbuilder5-blog-archive .card-body  {
    padding-left: 0;
    padding-right: 0;
}

.wp-block-zenbuilder5-card {
    /* box-shadow: 0 5px 33px 0 rgba(64, 92.00000000000006, 146, .25)!important; */
}

.post-type-archive-cpt_zb5_project .wp-block-zenbuilder5-card,
.tax-cpt_zb5_project_category .wp-block-zenbuilder5-card,
.cpt_zb5_project-template-default .wp-block-zenbuilder5-card {
    box-shadow: none!important;
}

/*--------------------------------------------------------------
POST - Buttons
--------------------------------------------------------------*/
.row-categories-blog .btn{
    padding: 6px 15px;
}

.pagination .page-item{
    margin-right: .5rem;
}

.pagination .page-item span,
.pagination .page-item a{
    border-radius: 3rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*--------------------------------------------------------------
COMP - Cards
--------------------------------------------------------------*/
.card-footer {
    /* background-color: #d7e3d6; */
}
.card {
    /* border:0; */
}

.modal-content {
    border-radius: 0;
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.5;
    background-color: #011230;
}

/*--------------------------------------------------------------
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) {

}

/*--------------------------------------------------------------
CPT-PROJ - Customisations
--------------------------------------------------------------*/
.dyn-cards-case-studies .card-footer {
    display: none;
}

.dyn-cards-case-studies .swiper {
    overflow: visible;
}

/* This is hidden and then displayed using JS to improve the layout */
/* div:not(.wp-admin)  */
.js-dynamic-attributes ul li {
    display: none;
}

.swiper-button-prev:before, .swiper-button-next:before {
    border-radius: 0;
}


.wp-block-zenbuilder5-cpt-project-testimonial-section {
    font-size: 3rem;
    background-color: #000916!important;
    margin-bottom: 2rem;
    background-image: linear-gradient(0deg, rgba(10, 45, 94, 0.91) 0%, rgba(0, 20, 63, 0.93) 100%)!important;;
}

.single-cpt_zb5_project .wp-block-cover .wp-block-zenbuilder5-cpt-project-location {
    font-size: 1.5rem;
}

.js-gallery-not-present .wp-block-zenbuilder5-responsive-spacer:first-child{
    padding-bottom: 3rem !important;
}
.js-gallery-not-present .wp-block-zenbuilder5-responsive-spacer:last-child{
    display: none;
}

@media (min-width: 992px) {
    .single-cpt_zb5_project .wp-block-cover .wp-block-zenbuilder5-cpt-project-location {
        font-size: 2.5rem;
    }
}

.ft-card-swiper.swiper .card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    z-index: 1;
}

.wp-block-zenbuilder5-cpt-project-testimonial-section .bg_overlay{
    display: none;
}

@media (min-width: 768px) {
    .wp-block-zenbuilder5-cpt-project-testimonial-section .wp-block-zenbuilder5-responsive-spacer.pb-md-11 {
        padding-bottom: 3rem !important;
    }
}
