/*
 Theme Name:   BBTheme Child
 Theme URI:    https://bbtheme.baasbox.dev/
 Description:  BBTheme Child Theme
 Author:       Baasbox
 Author URI:   https://baasbox.com
 Template:     bb-theme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  bbchild
*/
h5{ letter-spacing: 2px;}

.bb-header-logo-desktop{ max-height: 72px !important;}
header .navbar-nav a{ color: #0e3568;}
header .navbar .current-menu-item a{ color: #134382; font-weight: 700;}

.btn{ text-transform: uppercase;}

/* Home Header */
@media (min-width: 1024px){
    body.home:not(.scroll) header.fabrx-header{ position: fixed; background: transparent !important;}
    body.home:not(.scroll) header.fabrx-header .bb-header-logo-desktop{ filter: brightness(0) invert(1);}
    body.home:not(.scroll) header.fabrx-header .nav-link{ color: #fff;}
} 



/* Feature - feature6 */
@media(min-width: 768px){
    .bb-widget-feature6 h2{ font-size: 70px; line-height: 1.2;}
}
@media(min-width: 1100px){ .bb-widget-feature6 h2{ font-size: 80px; line-height: 1.2;}}
@media(max-width: 768px){ .bb-widget-feature6 h2{ font-size: 60px; line-height: 1.2; }}

.bb-widget-feature6{ position: relative; overflow-x: hidden; }
.bb-widget-feature6::after{
    content: ' ';
    background: #134382;
    width: 120%;
    height: 95%;
    position: absolute;
    top: 10px;
    left: -10%;
    transform: rotate(1deg);
    z-index: -1;
}
.bb-widget-feature6::before{
    content: ' ';
    background: #D9141E;
    width: 100%;
    height: 10%;
    position: absolute;
    top: 0;
    left:0%;
    z-index: -2;
}

/* Feature - featurecontent - featurefullwidth - cardslider */
@media(min-width: 768px){
    .bb-widget-feature-content h5{ font-size: 16px; letter-spacing: 2px; margin-bottom: 32px !important;}
    .home .bb-widget-feature-content h2,
    .home .bb-widget-testimonials-slider h3,
    .bb-widget-feature5 h2,
    .bb-widget-cardslider .h2{ font-size: 90px; line-height: 1.2;}
}
@media(min-width: 1100px){ .home .bb-widget-feature-content h2, .bb-widget-feature5 h2, .bb-widget-cardslider .h2, .home .bb-widget-testimonials-slider h3{ font-size: 95px; }}
@media(max-width: 768px){ .home .bb-widget-feature-content h2, .bb-widget-feature5 h2, .bb-widget-cardslider .h2, .home .bb-widget-testimonials-slider h3{ font-size: 56px; line-height: 1.2; }}
@media(max-width: 1024px){ .bb-widget-feature5 .row{flex-direction: column-reverse;} .bb-widget-feature5 .row > div{ width: 100%;}  .bb-widget-feature5 img{ display: none}}
@media(min-width: 1024px) and (max-width: 1310px){ .bb-widget-feature5 img{ margin: 0 -16px;} }
/* Feature - featuretabs */
.bb-widget-feature-tabs path, 
.bb-widget-feature-tabs .h6{ color: #134382 !important; fill: #134382;}
@media(min-width: 768px){
  .home .bb-widget-feature-tabs h2{ font-size: 105px; line-height: 1.2;}
}
@media(min-width: 1100px){ .home .bb-widget-feature-tabs h2{ font-size: 115px; }}
@media(max-width: 768px){ .home .bb-widget-feature-tabs h2{ font-size: 56px; line-height: 1.2; }}

/* ATF bb-widget-atf3 */
.bb-widget-atf3 h5{ font-weight: 400; letter-spacing: 7px;}

/* Feature-4 */
@media(max-width: 1024px){
    .bb-widget-feature4 img{ display: none}
}
@media (min-width: 768px){
    .bb-widget-feature4.fabrx-section {
    padding-top: 50px;
    padding-bottom: 50px;
}}


/* --------- Contact page ---------- */
.page-id-2571 .card.shadow-40{ box-shadow: none;}
.page-id-2571 .card .card-body{ padding: 0 25px 0 0 !important;}
.page-id-2571 .card h4{ font-size: 24px; line-height: 140%;}
.page-id-2571 .bb-widget-feature4 path{ fill: #fff !important;}
.page-id-2571 .bb-widget-feature4 .nav-link{ border-color: #fff !important;}
@media(min-width: 1200px){
    .page-id-2571 .card h4{ font-size: 28px; line-height: 140%;}
    .page-id-2571  .elementor-widget-image img{ min-height: 500px; object-fit: cover;} 

}




.fabrx-form .form-control{ border-color:#cecece !important;}
.fabrx-form .form-control:focus, .fabrx-form .form-control:hover{ border-color: #134382 !important;}
.wpcf7-form.sent .wpcf7-response-output::before,
.wpcf7-form.invalid .wpcf7-response-output::before{display: none;}




/* --------- CookieBot ---------- */
#CybotCookiebotDialog a, #CybotCookiebotDialog div, #CybotCookiebotDialogBodyContentControls, #CybotCookiebotDialogBodyContentTitle{font-family: 'Open Sans',sans-serif !important;}
#CybotCookiebotDialogPoweredbyLink{ display: none !important}
a#CybotCookiebotDialogBodyLevelButtonAccept, a#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll, a#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection{    background-color: #134382 !important; border: 1px solid #134382 !important;}
#CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll{ color: #134382 !important; border: 1px solid #134382 !important; background: #fff !important}


/* Footer */
footer.fabrx-footer img{ max-height: 80px !important;}



.bb-widget-cardslider div.card-swiper-next,
.bb-widget-testimonials-slider div.testimonial-swiper-next,
.card-slider-fullwidth-swiper div.card-slider-fullwidth-swiper-next {
    background: #134382;
}


footer.fabrx-footer {
    background-color: #312b6a;
}


footer a.nav-link {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover, footer a:focus {
    color: #db0837;
    opacity: 1.00;
}

footer.fabrx-footer img {
  filter: saturate(0%) brightness(0%) invert(100%);
  opacity: 1;
}
