/*
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-wb-accordion {
    margin: 6px 0;
}

header .wp-block-search.wp-block-search__button-only .wp-block-search__input {
    color: #fff;
}
header .wp-block-search.wp-block-search .wp-block-search__button {
    margin: 0 !important;
}

html .login_field_container>input[type="text"],
html .login_field_container>input[type="password"],
html .login_field_container>input[type="email"],
html .login_field_container>input[type="date"],
html .login_field_container>select,
html .address_field_container input {
    border-radius: 3px;
    -webkit-appearance: none;
    padding: 10px 18px;
    font-size: 16px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.wb-members-block {
    font-size: 0.9rem;
}
.wb-members-block h2 {
    margin: 0;
}

html .login_field_container>label {
    font-size: 0.8rem;
}
html .address_field_container input:first-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
html .address_field_container input:last-child {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.wb_memarea_form.user_update {
    margin-bottom: 2em;
}
.wb_memarea_form.user_update .card-head {
    display: none;
}


@media screen and (max-width: 999px) {
    /* Handbook sidebar becomes dropdown on Mobile */
    .handbook_wrapper>#handbook_sidebar {
        width: 100%;
        max-width: 100%;
    }
    #handbook_sidebar .chapter_wrap {
        opacity: 0 !important;
        max-height: 0;
        pointer-events: none;
        transition: opacity 0.4s ease, max-height 0.4s ease-out;
    }
    #handbook_sidebar.toggled_open .chapter_wrap {
        opacity: 1 !important;
        max-height: 1800px;
        pointer-events: all;
        transition: opacity 0.4s ease, max-height 0.4s ease-in;
    }
    .handbook_chapters .sub_chapters {
        max-height: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    #handbook_sidebar.toggled_open .handbook_chapters .chapter_expanded+.sub_chapters {
        max-height: 800px !important;
        max-height: var(--opened-height) !important;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    /* More padding on buttons to make touchscreen use easier */
    .close_chapter_nav {
        padding: 16px 24px;
    }
    .chapter_expander {
        padding: 16px 24px;
    }
    .handbook_chapters a.chapter {
        padding: 16px 8px 16px 13px
    }
}
