/* Main Menu Styles */


.header-nav-row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin-top: 12px;
}

.header-nav-mobile-button {
    display: none;
    margin: 30px 30px 0 0;
    font-size: 42px;
}

.header-nav-cell {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    height: 88px;
    color: #b2b2b2;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.header-nav-icon {
    font-size: 52px;
    padding: 0 !important;
}

.header-nav-label {
    padding: 2px 4px 3px 4px;
}

.header-nav-cell:hover .header-nav-icon,
.header-nav-cell.active .header-nav-icon {
    color: #6b6b6b;
}

.header-nav-cell:hover .header-nav-label,
.header-nav-cell.active .header-nav-label {
    background-color: #fa4c06;
    color: #FFF;
}

#main_header_menu .healthinfo-icon {
    margin-top: 2px;
    height: 52px;
    background-image: url("../images/mayo-header-icon.png");
    background-repeat: no-repeat;
    background-position: center center;
}

/*#main_header_menu .header-nav-cell:hover .healthinfo-icon,
#main_header_menu .header-nav-cell.active .healthinfo-icon {
    background-image: url("../images/mayo_header_nav_active.png");
}*/

#menu_unread_message_count {
    position:absolute;
    text-align:center;
    top: 8px;
    left: 51px;
    border-radius: 50%;
    width: 18px;
    font-size: 10pt;
    height: 18px;
    color: white;
    background-color: red;
}

.conditional-resource {
    display: none;
}


@media (min-width: 769px) {
    #main_header_menu {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .header-nav-mobile-button {
        display: block;
    }

    #main_header_menu {
        position: absolute;
        display: none;
        right: 0;
        top: 88px;
        width: 160px;
        z-index: 100;
    }

    .header-nav-row {
        flex-direction: column;
        justify-content: normal;
        background-color: #FFF;
        width: 160px;
    }

    .header-nav-cell {
        flex-direction: row;
        height: auto;
        height: initial;
        border-bottom: 2px solid #d2d2d2;
        padding: 7px 0 5px 7px;
    }

    .header-nav-cell.active {
        background-color: #fa4c06;
    }

    .header-nav-row i {
        font-size: 24px;
    }

    #main_header_menu .healthinfo-icon {
        height: 24px;
        width: 22px;
        background-image: url("../images/mayo_header_nav_sm.png");
        background-repeat: no-repeat;
        background-position: center center;
    }

    #main_header_menu .header-nav-cell:hover .healthinfo-icon,
    #main_header_menu .header-nav-cell.active .healthinfo-icon {
        background-image: url("../images/mayo_header_nav_sm_active.png");
    }

    .header-nav-label {
        width: 120px;
        text-align: left;
    }

    #main_header_menu .header-nav-cell:hover .header-nav-label {
        background-color: transparent;
        color: #b2b2b2;
    }

    .header-nav-cell.active .header-nav-icon {
        color: #FFF;
    }

    .header-nav-cell.active .header-nav-label {
        background-color: transparent;
        color: #FFF;
    }

    #menu_unread_message_count {
        text-align: center;
        top: 8px;
        left: 21px;
        width: 16px;
        font-size: 9pt;
        height: 16px;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 769px) {
    .header-nav-cell {
        width: 120px;
    }
}
