/**
 * Header.
 */

.top-info-banner {
    background-color: var(--school-primary-color);
    padding: 10px 0;
}

.top-info-banner > p {
    color: #FFF;
    font-size: .8rem;
    margin: 0;
    text-align: center;
}

.top-info-banner > p > a {
    display: block;
    text-decoration: underline;
}

@media (min-width: 475px) {
    .top-info-banner > p > a {
        display: inline;
    }
}

.site-header {
    border-bottom: 2px solid var(--school-primary-color);
    padding: 20px;
    position: relative;
}

.header-top {
    align-items: center;
    display: flex;
    gap: 20px;
}

.site-header .header-title {
    color: var(--school-primary-color);
    font-family: var(--school-head-font-family);
    flex-grow: 1;
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.site-header .header-title span {
    color: var(--school-secondary-color);
    display: block;
    font-size: .8em;
}

.site-header .student-area-access {
    display: none;
}

.mobile-menu .student-area-access {
    font-size: .9rem;
    padding: .6em 1.5em;
}

.mobile-menu .student-area-access > a,
.site-header .student-area-access > a {
    display: flex;
    gap: 1em;
    min-height: 1rem;
}

.mobile-menu .student-area-access > a > svg,
.site-header .student-area-access > a > svg {
    width: 1.5em;
}

.nav-header-menu-main {
    display: flex;
    justify-content: center;
}

.header-menu-main {
    color: #383838;
    display: none;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-around;
    max-width: var(--school-body-max-width);
    width: 100%;
}

.header-menu-main a:hover {
    color: var(--school-primary-color);
}

.header-menu-main .has-mega > a {
    padding-right: 2em;
    position: relative;
}
.header-menu-main .has-mega > a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' width='12' height='16' fill='%23000000'%3E%3Cpath d='M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-40%);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .site-header .header-title {
        font-size: 2rem;
        padding: 1rem;
    }

    .site-header .header-title span {
        color: inherit;
        display: inline;
        font-size: 1em;
    }

    .site-header .student-area-access {
        display: block;
        font-size: .8rem;
        position: absolute;
        right: 20px;
        top: 32%;
    }

    .header-menu-main {
        display: flex;
    }
}


@media (min-width: 850px) {
    .header-top {
        margin-bottom: 20px;
    }

    .site-header .header-title {
        text-align: center;
    }
}

