/* Shared navbar/header styles. */

header.navbar.navbar-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: none;
    
    padding-right: var(--sbw, 0px) !important;
    
    background: #fff;
    
    color: #111 !important;
    --bs-body-color: #111;
    --bs-emphasis-color: #111;
}

header.navbar.navbar-sticky a,
    header.navbar.navbar-sticky .nav-link,
    header.navbar.navbar-sticky .dropdown-toggle,
    header.navbar.navbar-sticky .btn {
        color: #111 !important;
    }

header.navbar .brand-logo {
    height: 56px;
    width: auto;
    display: block;
}

.header-actions-pill {
    border-radius: 999px;
    padding: .25rem .4rem;
    background: rgba(255, 255, 255, .38);
    border: 1px solid rgba(255, 255, 255, .45);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-actions-pill:hover,
    .header-actions-pill.is-solid {
        background: rgba(255, 255, 255, 1) !important;
        border-color: rgba(0, 0, 0, .12) !important;
        box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
    }

body.is-landing .header-actions-pill {
    background: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.header-actions-pill .btn.btn-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
}

header.navbar.navbar-sticky {
    background-color: rgba(255, 255, 255, 1) !important;
    color: #111 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    padding-bottom: 0 !important;
    border-bottom: 0px solid rgba(0, 0, 0, 0.14) !important;
    --bs-body-bg: transparent;
    --bs-body-color: #111;
    --bs-emphasis-color: #111;
    --bs-navbar-color: #111;
    --bs-navbar-hover-color: #111;
    --bs-navbar-active-color: #111;
    --bs-navbar-brand-color: #111;
    --bs-navbar-brand-hover-color: #111;
}

header.navbar.navbar-sticky::after {
    content: "";
    position: absolute;
    left: 2rem;
    right: var(--map-page-gutter);
    bottom: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.14);
    pointer-events: none;
    z-index: 0;
}

header.navbar.navbar-sticky > .container-fluid {
    position: relative;
    z-index: 1;
}

header.navbar.navbar-sticky a,
    header.navbar.navbar-sticky .nav-link,
    header.navbar.navbar-sticky .dropdown-toggle,
    header.navbar.navbar-sticky .btn,
    header.navbar.navbar-sticky .navbar-brand {
        color: #111 !important;
    }

header.navbar.navbar-sticky .dropdown-menu {
        background-color: #fff !important;
        color: #111 !important;
        border-color: rgba(0,0,0,.15) !important;
    }

header.navbar.navbar-sticky .dropdown-item {
        color: #111 !important;
    }

header.navbar.navbar-sticky .dropdown-item:hover,
        header.navbar.navbar-sticky .dropdown-item:focus {
            background-color: rgba(0,0,0,.06) !important;
        }

header.navbar.navbar-sticky .dropdown > .theme-switcher.btn {
    background-color: #fff !important;
    border: 1px solid rgba(0,0,0,.15) !important; 
    color: #111 !important;
    box-shadow: none !important;
}

header.navbar.navbar-sticky .dropdown > .theme-switcher.btn i,
    header.navbar.navbar-sticky .dropdown > .theme-switcher.btn svg {
        color: #111 !important;
        fill: #111 !important;
        stroke: #111 !important;
    }

header.navbar.navbar-sticky .dropdown > .theme-switcher.btn:hover,
    header.navbar.navbar-sticky .dropdown > .theme-switcher.btn:focus {
        background-color: #fff !important;
        border-color: rgba(0,0,0,.25) !important;
    }

header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu {
    background-color: #fff !important;
    color: #111 !important;
    border-color: rgba(0,0,0,.15) !important;
}

header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu .dropdown-item {
        color: #111 !important;
        background-color: transparent !important;
    }

header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu .dropdown-item:hover,
        header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu .dropdown-item:focus {
            background-color: rgba(0,0,0,.06) !important;
            color: #111 !important;
        }

header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu .dropdown-item.active,
        header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu .dropdown-item:active {
            background-color: rgba(0,0,0,.10) !important;
            color: #111 !important;
        }

header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu .theme-icon i,
    header.navbar.navbar-sticky .dropdown > .theme-switcher + .dropdown-menu .item-active-indicator {
        color: #111 !important;
    }

header.navbar.navbar-sticky {
    box-shadow: none !important;
}

header.navbar.navbar-sticky > .container-fluid {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

.map-header-action-btn,
header.navbar.navbar-sticky .theme-switcher.btn.map-header-action-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1f1913 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.theme-switcher {
    display: none !important;
}

.map-header-action-btn:hover,
    .map-header-action-btn:focus,
    header.navbar.navbar-sticky .theme-switcher.btn.map-header-action-btn:hover,
    header.navbar.navbar-sticky .theme-switcher.btn.map-header-action-btn:focus {
        background: #fff !important;
        color: #111 !important;
        border-color: rgba(0, 0, 0, 0.18) !important;
    }

.map-header-action-btn i,
    header.navbar.navbar-sticky .theme-switcher.btn.map-header-action-btn i {
        color: #1f1913 !important;
    }

.map-header-action-btn:hover i,
    .map-header-action-btn:focus i,
    header.navbar.navbar-sticky .theme-switcher.btn.map-header-action-btn:hover i,
    header.navbar.navbar-sticky .theme-switcher.btn.map-header-action-btn:focus i {
        color: #111 !important;
    }

header.navbar.navbar-sticky > .container-fluid.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 992px) {
header.navbar.navbar-sticky > .container-fluid.px-lg-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (min-width: 1400px) {
header.navbar.navbar-sticky > .container-fluid.px-xxl-4 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

@media (max-width: 767.98px) {
.map-header-action-btn,
    header.navbar.navbar-sticky .theme-switcher.btn.map-header-action-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
}
