/*
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.
*/
.wp-block-spacer{
    margin: 0 !important;
}

/* Social block */
html .wb-social-block .icon {
    background-color: transparent;
}

.wp-element-caption{
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Fix footer margin */
footer.wp-block-template-part {
    margin-top: 0;
}

/* Fix top bar scroll animation */
html .headerbar-top {
    -webkit-transition: max-height 0.3s ease, padding 0.3s ease;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
html .menu_resize_active .headerbar-top {
    padding: 0 !important;
}

/* Hide buttons / logo in header on smaller screens, on scroll */
@media screen and (min-width: 600px) and (max-width: 1400px){
    html .menu_resize_active .wp-block-site-logo {
        max-height: 0 !important;
        overflow: hidden;
    }
    html .fixed_header .wp-block-buttons.hide_mob {
        display: none;
    }
}

/* Submenus in primary nav to have dark text */
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    color: var(--wp--preset--color--secondary) !important;
}

/* Sidebar Nav to have dark text */
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
    color: var(--wp--preset--color--secondary) !important;
}

/* Cap pribanner at window height */
.entry-content > .pribanner:first-child {
    padding-bottom: 0 !important;
    height: max( 600px, ( 100vh - 150px ) );
}