/* Styles for MLH OAuth warning banner */
.sticky-mlh-warning{
    position: fixed;
    left: 0;
    right: 0;
    /* top is controlled by the --nav-height CSS variable which JS will set */
    top: var(--nav-height, 0px);
    z-index: 1029;
    background: #fffbe6;
    color: #7a5a00;
    border-bottom: 1px solid #ffe58f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sticky-mlh-warning .mlh-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    text-align: center;
    font-size: 1.05rem;
    font-family: inherit;
    line-height: 1.3;
}
.sticky-mlh-warning a{
    color: #d48806;
    text-decoration: underline;
    font-weight: 600;
}
.sticky-mlh-warning .mlh-close{
    position: absolute;
    right: 12px;
    top: 8px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #7a5a00;
    cursor: pointer;
    padding: 4px 8px;
}
.sticky-mlh-warning .mlh-close:focus{outline:2px solid #d48806; border-radius:4px}

/* The main content area should account for nav + banner heights.
   JS sets --nav-height and --mlh-banner-height on :root. Default to just navbar height of 0. */
.container-fluid[role="main"]{
    padding-top: calc(var(--nav-height, 0px) + var(--mlh-banner-height, 0px));
}
