/*
Theme Name: WB Altitude Two Child
Theme URI: https://web.bird.digital/
Author: Web Bird Digital
Author URI: https://web.bird.digital/
Description: A child theme of the Altitude Two Template
Version: 0.0.1
Template: wb_altitude_two
License: Private - Do Not Modify, Do Not Distribute
License URI: https://web.bird.digital/terms-and-conditions/
Text Domain: wb

This theme is private and not to be modified or distributed without permission from Web Bird Digital. This theme remains the property of Web Bird Digital.
*/

html {
    font-size: 20px;
    font-size: var(--wp--preset--font-size--medium);
}

html .fixed_header {
    box-shadow: none;
}

.wp-block-spacer {
    margin: 0 !important;
}

.headerbar-top .wp-block-wb-icons svg {
    position: relative;
    top: 2px;
}

/* Social block */
html .wb-social-block .icon {
    background-color: transparent;
}

/* Search block styling */
header .wp-block-search.wp-block-search__button-only .wp-block-search__inside-wrapper {
    align-items: center;
}
header .wp-block-search.wp-block-search__button-only .wp-block-search__button {
    background: transparent;
    color: inherit;
}
header .wp-block-search.wp-block-search__button-only .wp-block-search__input {
    max-height: 55px;
    color: inherit;
}

#cff.cff-masonry {
    max-width: none !important;
    margin: 0 auto;
    float: none !important;
}
:is(.is-layout-constrained,.entry-content,.additional-content) > .cff-wrapper {
    width: 100%;
    max-width: calc(min(var(--wp--style--global--wide-size), (100vw - var(--pad-plus-scroll))));
    margin-left: auto;
    margin-right: auto;

    z-index: 0;
}
.cff-item {
    z-index: 0 !important;
}

html .nav_dot{
    margin-left: 10px;
    margin-right: 10px;
}
html .nav_dot::before {
    background: #e2e3ef;
}
html .nav_dot.dot_active::before,
html .nav_dot:hover::before {
    background: var(--wp--preset--color--primary);
}

.wp-element-caption {
    font-size: 0.85rem;
    opacity: 0.7;
}

.overflow_background_right,
.overflow_background_left {
    position: relative;
}
.overflow_background_right::before,
.overflow_background_left::before {
    content: '';
    display: block;
    height: 100%;
    width: calc( 100% + 30% );
    position: absolute;
    left: 0;
    top: 0;
    background-color: #eff8fa;
    background-color: inherit;
    z-index: 0;
    z-index: -5;
}
.overflow_background_left::before{
    left: -30%;
}
.overflow_background_right > .wp-block-group,
.overflow_background_left > .wp-block-group {
    position: relative;
}

html .cog-cognito--styled .cog-body a,
:root:root:root:root:root .cog-cognito--styled .cog-body a {
    color: var(--wp--preset--color--primary) !important;
}

html .cog-cognito--styled .cog-button--primary,
:root:root:root:root:root .cog-cognito--styled .cog-button--primary {
    background-color: var(--wp--preset--color--primary) !important;
    border-color: var(--wp--preset--color--primary) !important;
}
html .cog-cognito--styled .cog-button--secondary,
:root:root:root:root:root .cog-cognito--styled .cog-button--secondary {
    color: var(--wp--preset--color--primary) !important;
    border-color: var(--wp--preset--color--primary) !important;
}

html .wb_logocarousel .logocarousel_wrap {
    flex-basis: calc(20% - 2.5rem);
}
.wb_logocarousel .nav_link {
    background: transparent !important;
}

@media screen and (max-width: 768px){
    .disable-mobile-margins {
        margin: 0 !important;
        position: static !important;
        max-width: 100%;
    }
    .overflow_background_right::before,
    .overflow_background_left::before {
        content: none;
    }
    .no_mobile_padding {
        padding: 0 !important;
    }
}