/* ---------------------------------------------------------------------------
   wwwroot/css/shared/global/11-top-navigation.css

   Loaded by _Layout.cshtml as part 11 of 17 for every page.
   Cascade order is the file order in that <link> list:
     previous: 10-responsive.css
     next:     12-modal.css

   Split out of a single monolithic stylesheet. Do not reorder the <link>
   tags and do not move a rule between these files: both change the cascade.
--------------------------------------------------------------------------- */
/* ==========================================================================
   LAYER 6 - TOP NAVIGATION
   From global-navbar.css, previously injected by the _TopNavigation partial.
   ========================================================================== */
.topnav {
/*    overflow: hidden;*/
    background-color: var(--c-brand);
    position: absolute;
    width: 100%;
    z-index: 100;
}

.topnav .mrp-row {
    padding-right: 10px;
    padding-top: 12px;
    padding-bottom: 8px;
}

.large-device .mrp-row {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
    flex-wrap: nowrap;
}

.top-nav-lilo {
    border: 1px solid #fff;
    background-color: rgb(57,57,57);
    color: #fff;
    padding: 7px 10px 10px 10px;
    font-size: 0.95rem;
}

    .top-nav-lilo:hover {
        background-color: #474747;
    }

.mrp-column.site-name {
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
}

.site-name-link {
    color: #fff;
    text-decoration: none;
}

    .site-name-link:hover {
        color: #fff;
        text-decoration: none;
    }

.mrp-column.site-name .milliman-header-verbiage {
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: normal;
    padding-right: 8px;
}


.mrp-column.lilo {
    cursor: pointer;
    font-size: 0.9rem;
}

.mrp-column.home-selection {
    cursor: pointer;
}


.mrp-grid {
    height: auto;
}

.mrp-column {
    float: left;
    padding: 10px;
    color: #fff;
}

    .mrp-column.lilo {
        text-align: right;
    }

    .mrp-column.contact {
        text-align: right;
        float: right;
    }

.large-left {
    width: auto;
/*    flex: 1 1 auto;*/
    padding-left: 30px;
}

.large-right-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding-right: 1rem;
}

.small-far-left {
    width: 25%;
    margin-left: 30px;
}

.small-left {
    width: 25%;
}

.small-middle {
    width: 25%;
}

.small-right {
    width: 25%;
    float: right;
}


mrp-row:after {
    content: "";
    display: table;
    clear: both;
}


.contact {
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.contact:hover {
    color: var( --bs-gray-400 );
}

a.contact {
    text-decoration: none;
    color: #fff;
}

a.contact:hover {
    text-decoration: none;
    color: var( --bs-gray-400 );
}


ul.hamburger-items {
    /* Permanently collapsed - the only toggle for this list is commented out in
       global-navbar.js. Was an inline style attribute. */
    display: none;
}

ul.hamburger-items li {
    background-color: rgb(57,57,57);
    padding: 7px;
    text-align: left;
    font-size: 0.8rem;
    cursor: pointer;
}


/* Label kept in the DOM for assistive tech but not painted. */
.visually-collapsed {
    display: none;
}

.topnav-icon {
    margin-top: -2px;
}

.topnav-icon--lead {
    margin-top: -3px;
    margin-right: 4px;
}

.hamburger-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .hamburger-link:hover {
        font-weight: bold;
    }


.milliman-header-verbiage {
    font-size: 1.9em;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    .small-device {
        display: block;
    }

    .large-device {
        display: none;
    }
}


@media screen and (min-width: 768px) {

    .small-device {
        display: none;
    }

    .large-device {
        display: block;
    }
}

/* --------------------------------------------------------------------------
   Wrapping helpers consumed by _TopNavigation (.site-name-link.nowrap and the
   profile menu option .wrap). They used to sit in css/shared/utils.css, which
   the partial injected with a <link> that resolved to a 404 - so neither rule
   has actually been applied. _TopNavigation renders on every page, so its
   styles belong here.
   -------------------------------------------------------------------------- */
.nowrap {
    white-space: nowrap !important;
}

.wrap {
    white-space: normal !important;
}

/* Transparent hit-area rect inside the inline Carbon logout glyph. */
.cls-1 {
    fill: none;
}

.topnav-logout-icon {
    fill: rgb(15, 98, 254);
}
