.layout-topbar,
.layout-topbar *,
.moe-footer,
.moe-footer * {
    box-sizing: border-box;
}

.layout-topbar {
    position: relative;
    right: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 120px;
    padding-bottom: 70px;
    background: var(--moe-blue, #14254A);
    border-bottom: 15px solid #FEDB73;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
    color: white;
}

.layout-topbar .layout-topbar-content {
    position: relative;
    padding: 1px 20px;
}

.layout-topbar .navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.layout-topbar .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0.75rem;
    margin: 0 auto;
}

.layout-topbar .navbar-brand {
    display: inline-block;
    padding: 0.3125rem 0;
    margin-left: 1rem;
    font-size: 1.25rem;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.layout-topbar .responsiveItem {
    display: block;
    width: 100%;
    height: auto;
}

.layout-topbar .logoStyling {
    max-width: 200px;
}

.layout-topbar .navbar-collapse {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
}

.layout-topbar .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: white !important;
    text-decoration: none;
}

.layout-topbar .nav-link:hover {
    color: #47A3DA !important;
}

.layout-topbar .ev-home-link {
    flex: 0 0 auto;
    white-space: nowrap;
}

.layout-topbar .logoutStyling {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-right: auto;
}

.layout-topbar .logoutStyling form {
    margin: 0;
}

.layout-topbar .logoutStyling .nav-link {
    white-space: nowrap;
}

.layout-topbar .ev-profile-chip,
.layout-topbar .ev-profile-chip:link,
.layout-topbar .ev-profile-chip:visited,
.layout-topbar .ev-profile-chip:hover,
.layout-topbar .ev-profile-chip:focus,
.layout-topbar .ev-profile-chip:active,
.layout-topbar .ev-profile-chip i,
.layout-topbar .ev-profile-chip .ev-profile-name,
.layout-topbar .ev-profile-chip .ev-profile-role {
    color: #ffffff;
    text-decoration: none;
}

.layout-topbar .ev-profile-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    padding: 4px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.layout-topbar .ev-profile-chip > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.layout-topbar .ev-profile-chip .ev-profile-name,
.layout-topbar .ev-profile-chip .ev-profile-role {
    display: block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.layout-topbar .ev-profile-chip:hover,
.layout-topbar .ev-profile-chip:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.layout-topbar .ev-profile-chip:focus-visible {
    outline: 3px solid #FEDB73;
    outline-offset: 2px;
}

.layout-topbar .ev-menu-toggle {
    margin-right: 12px;
}

.moe-wordmark {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    order: 5;
    margin-right: auto;
    margin-left: 18px;
    padding: 0;
    background: none;
    border: 0;
    line-height: 0;
}

.moe-wordmark img {
    display: block;
    width: 168px;
    height: 59px;
    max-width: 100%;
    object-fit: contain;
}

.moe-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

.moe-footer .upperFooter {
    display: flex;
    justify-content: center;
    padding: 15px 0 12px;
    background-color: var(--moe-blue, #14254A);
    font-size: 13px;
    text-align: center;
}

.moe-footer .upperFooter a {
    color: #DDDDDD !important;
    text-decoration: none;
}

.moe-footer .upperFooter a:hover {
    color: white !important;
}

.moe-footer .upperFooter h2 {
    color: #47A3DA;
}

.moe-footer .footerMiniCol {
    min-width: 300px;
    max-width: 100%;
    color: white;
}

.moe-footer .footerText a {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.moe-footer .iconColor {
    color: #14254A;
}

.moe-footer .iconColor:hover {
    color: #14254A;
}

.moe-footer .col {
    color: white;
}

.moe-footer .widthContainer {
    max-width: 1320px;
    margin: 0 auto;
}

.moe-footer .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.moe-footer .col,
.moe-footer .col-lg {
    flex: 0 0 auto;
    width: 100%;
    padding: 0 12px;
}

.moe-footer .col {
    flex: 1 0 0%;
}

.moe-footer .fa-2x {
    font-size: 2em;
}

.moe-footer .fa-fw {
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

@media (min-width: 992px) {
    .moe-footer .col-lg {
        flex: 1 0 0%;
        width: auto;
    }
}

@media (max-width: 1024px) {
    .moe-footer .footerMiniCol {
        width: 1000px;
    }

    .layout-topbar nav.navbar {
        background: var(--moe-blue, #14254A) !important;
    }
}

@media (max-width: 900px) {
    .layout-topbar {
        position: sticky;
        height: auto;
        min-height: 136px;
        padding-bottom: 6px;
    }

    .layout-topbar .navbar {
        padding: 6px 0;
    }

    .layout-topbar .container-fluid {
        flex-wrap: wrap;
        gap: 6px 8px;
        padding: 0 0.25rem;
    }

    .layout-topbar .navbar-brand {
        flex: 0 0 auto;
        order: 1;
        margin-left: 0;
    }

    .layout-topbar .logoStyling {
        max-width: 140px;
    }

    .layout-topbar .navbar-collapse {
        order: 3;
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    .layout-topbar .ev-profile-chip span,
    .layout-topbar .ev-profile-chip > span {
        display: flex;
    }

    .layout-topbar .ev-profile-chip .ev-profile-name,
    .layout-topbar .ev-profile-chip .ev-profile-role {
        display: block;
        max-width: 96px;
    }

    .layout-topbar .ev-profile-name {
        font-size: 0.82rem;
    }

    .layout-topbar .ev-profile-role {
        font-size: 0.72rem;
    }

    .layout-topbar .logoutStyling {
        gap: 6px;
    }

    .layout-topbar .logoutStyling .nav-link {
        padding: 0.5rem 0.4rem;
        font-size: 0.9rem;
    }

    .layout-topbar .ev-home-link {
        order: 1;
        padding: 0.5rem 0.4rem;
        font-size: 0.9rem;
    }

    .layout-topbar .ev-menu-toggle {
        flex: 0 0 42px;
        order: 2;
        margin-right: auto;
    }

    .moe-wordmark {
        order: 2;
        margin-left: 6px;
    }

    .moe-wordmark img {
        width: 124px;
        height: 44px;
    }

    .ev-sidebar {
        top: 136px;
    }
}

@media (max-width: 400px) {
    .layout-topbar .logoStyling {
        max-width: 110px;
    }

    .layout-topbar .ev-profile-chip .ev-profile-name,
    .layout-topbar .ev-profile-chip .ev-profile-role {
        max-width: 72px;
    }

    .moe-wordmark img {
        width: 100px;
        height: 35px;
    }
}
