#urmc-header-wrapper {
    width: 100%;
    min-width: 311px;
    height: 65px;
    background: #00467b;
}

#urmc-header-wrapper header#urmc-main-heading {
    width: 96%;
    max-width: 1024px;
    height: 65px;
    margin: auto;
    padding: 0 2%;
}

#urmc-header-wrapper header#urmc-main-heading a#urmc-ribbon-logo {
    float: left;
    margin: 5px 20px 0 0;
}

#urmc-header-wrapper header#urmc-main-heading #toggle-container {
    height: 0;
    cursor: pointer;
}

#urmc-header-wrapper header#urmc-main-heading nav {
    font-family: Open sans;
    font-size: 95%;
    padding-top: 23px;
}

#urmc-header-wrapper header#urmc-main-heading nav .right-nav-wrapper {
    position: fixed;
    width: 200px;
    height: 0;
    right: -200px;
    background: #eff7fc;
    -webkit-box-shadow: inset 7px 0 8px -5px #a0c4dd;
    box-shadow: inset 7px 0 8px -5px #a0c4dd;
}

#urmc-header-wrapper header#urmc-main-heading nav form.search.mobile-search {
    display: none;
}

#urmc-header-wrapper header#urmc-main-heading nav form.search {
    position: relative;
    top: -3px;
    float: right;
    height: 25px;
    width: 16%;
    padding: 0;
    font-size: 100%;
    background-color: #d5e8f4;
    border: 0;
}

#urmc-header-wrapper header#urmc-main-heading nav form.search input {
    width: 163px;
    height: 100%;
    padding: 0 25px 0 0;
    border: 0;
    text-indent: 5px;
    background: #fff;
    -webkit-appearance: none;
}

#urmc-header-wrapper header#urmc-main-heading nav ul {
    margin: 0;
    padding: 0;
}

#urmc-header-wrapper header#urmc-main-heading nav ul li {
    position: relative;
    height: 35px;
    float: left;
    margin: 0 2%;
    padding: 0;
    line-height: 1.4;
    list-style-type: none;
    background: 0 0;
}

#urmc-header-wrapper header#urmc-main-heading nav ul li a.primary-nav, #urmc-header-wrapper header#urmc-main-heading nav ul li a:hover.primary-nav {
    font-family: 'Open Sans',sans-serif;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: inherit;
}

#urmc-header-wrapper header#urmc-main-heading nav ul li a, #urmc-header-wrapper header#urmc-main-heading nav ul li a:hover {
    font-size: 16px;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: .05em;
}

#urmc-header-wrapper header#urmc-main-heading nav form.search {
    position: relative;
    top: -3px;
    float: right;
    height: 25px;
    width: 163px;
    padding: 0;
    font-size: 100%;
    background-color: #d5e8f4;
    border: 0;
}

.popup-menu {
    visibility: hidden;
    position: fixed;
    top: 65px;
    right: -200px;
    width: 200px;
    background-color: #eff7fc;
    height: calc(100vh - 65px);
    transition: 0.3s;
    box-shadow: inset 7px 0 8px -5px #a0c4dd;
    z-index: 99999;
}

header#urmc-main-heading #overlay {
    visibility: hidden;
    position: fixed;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0;
    cursor: pointer;
    transition: 0.3s;
    z-index: 999999;
}

@media screen and (max-width: 1024px) {
    #urmc-header-wrapper header#urmc-main-heading {
        width: 100%;
        padding: 0;
    }

    #urmc-header-wrapper header#urmc-main-heading #urmc-ribbon-logo {
        margin-left: 10px !important;
    }

        #urmc-header-wrapper header#urmc-main-heading #toggle-container {
            width: 60px;
            height: 65px;
            float: right;
            background: url(ribbonImages/pancakes-white.svg) center no-repeat;
        }

    #urmc-header-wrapper header#urmc-main-heading nav {
        position: absolute;
        top: 0;
        right: -200px;
        width: 200px;
        display: none;
        margin-bottom: 20px;
        float: none;
    }

    #urmc-header-wrapper header#urmc-main-heading nav form.search.mobile-search {
        display: block;
    }

    #urmc-header-wrapper header#urmc-main-heading nav form.search {
        width: 75%;
        margin: 20px auto;
        float: none;
    }

    #urmc-header-wrapper header#urmc-main-heading nav ul {
        padding: 0;
    }

    #urmc-header-wrapper header#urmc-main-heading nav ul li {
        height: auto;
        width: 100%;
        float: none;
        margin: auto;
        background: 0 0;
    }

    #urmc-header-wrapper header#urmc-main-heading nav ul li a.primary-nav {
        padding: 8px 0 8px 15px;
        font-size: 16px;
        color: #0061ab !important;
        border-top: 1px solid #b7d4e9;
        text-transform: none;
        text-align: left;
    }

    #urmc-header-wrapper header#urmc-main-heading nav ul li a, #urmc-header-wrapper header#urmc-main-heading nav ul li.nav-expanded nav {
        display: block;
    }

    #urmc-header-wrapper header#urmc-main-heading nav form.search.desktop-search, #urmc-header-wrapper header#urmc-main-heading nav ul li:hover nav {
        display: none;
    }

    #urmc-header-wrapper.right-nav-expand header#urmc-main-heading .right-nav-wrapper {
        right: 0;
        top: 0;
        height: 100%;
    }

    .right-nav-expand .popup-menu {
        visibility: visible;
        right: 0px;
    }

    .right-nav-expand #urmc-main-heading #overlay {
        visibility: visible;
        right: 200px;
        opacity: 0.6;
    }

    .right-nav-expand #urmc-main-heading .popup-menu nav {
        display: block !important;
        right: 0px !important;
    }

    #urmc-header-wrapper header#urmc-main-heading nav ul li:hover {
        background: #e5f0f7;
        box-shadow: inset 7px 0 8px -5px #a0c4dd;
    }

    #urmc-header-wrapper header#urmc-main-heading nav ul li:last-child a.primary-nav {
        border-top: 1px solid #b7d4e9;
        border-bottom: 1px solid #b7d4e9;
    }
}
