﻿.navbar .dropdown-menu.dropdown-closed,
.category-dropdown-menu.dropdown-closed {
    animation: hide-navbar-dropdown .15s ease backwards !important;
}

.navbar .dropdown-menu.show,
.category-dropdown-menu.show {
    animation: show-navbar-dropdown .25s ease forwards;
}

.navbar .container {
    position: relative;
}

.navbar .dropdown-menu {
    left: auto;
}

.navbar .collapse,
.navbar .dropdown,
.navbar .dropup,
.navbar .nav {
    position: static;
}

.navbar .dropdown-menu,
.category-dropdown-menu {
    transition: all .2s ease;
    opacity: 0;
}

video:-webkit-full-screen .navbar {
    display: none !important;
}

.dropdown-closed {
    transition: all .2s ease;
    display: block;
}

.menu-chevron {
    transition: all .2s ease-in-out !important;
    position: relative;
    backface-visibility: hidden;
}

#loginIcon,
#openSearchIcon {
    height: 16px;
    width: 16px;
    display: block;
    overflow: visible;
}

.dropdown-menu {
    font-size: inherit !important;
}

    .dropdown-menu .divider {
        background-color: rgba(0, 0, 0, 0.1);
        height: 1px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .dropdown-menu > li > a {
        color: #005792;
    }

    .dropdown-menu > li {
        width: 100%;
    }

.patient-portal-link:hover {
    color: #022e4c;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown.show #mainMenuChevron {
    transform: rotate(180deg);
    position: relative;
    backface-visibility: hidden;
}

#mobileMenuButton {
    padding: 0;
    margin: 1px 0px 0px 0px;
    transition: opacity 0.3s ease-in-out;
}

.open > .dropdown-menu {
    animation-name: fade-in;
    animation-duration: .2s;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    -webkit-animation-name: fade-in;
    -webkit-animation-duration: .2s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-name: fade-in;
    -moz-animation-duration: .2s;
    -moz-animation-iteration-count: 1;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: forwards;
}

#navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 70px;
    border-radius: 0;
    -webkit-font-smoothing: antialiased;
    border: 0;
    z-index: 1048;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 15px 10px 15px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.1s ease-in-out;
    font-family: akzidenz-grotesk, sans-serif;
    letter-spacing: 0.2px;
    box-shadow: 0 0px 40px rgba(0,0,0,.1), 0 4px 3px rgba(0,0,0,.01);
}

    #navbar li.dropdown {
        margin-bottom: 1px;
    }

    #navbar li ul.dropdown-menu {
        width: 300px;
    }


.banner-message {
    z-index: 1001;
}

    .banner-message .container.body-content {
        padding: 5px 15px !important;
    }


.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/*#region Menubar Logo*/

#menuBarLogo .cls-1,
#largeFontMenuLogo .light-green-shield-section {
    fill: #bcd331;
}


#menuBarLogo .cls-1,
#menuBarLogo .cls-2,
#menuBarLogo .cls-3 {
    fill-rule: evenodd;
}

#menuBarLogo .cls-2,
#menuBarLogo .cls-5,
#largeFontMenuLogo .light-blue-shield-section {
    fill: #00add7;
}

#menuBarLogo .cls-3,
#menuBarLogo .cls-4,
#largeFontMenuLogo .blue-shield-section {
    fill: #005792;
}

#menuBarLogo {
    width: auto;
    height: 50px;
    padding: 0;
    max-width: 200px;
}

#largeFontMenuLogo {
    display: none;
    width: auto;
    height: 50px;
    padding: 0;
}

/*#endregion*/

/*#region Dropdowns*/

.dropdown-menu-nav {
    border-radius: 10px !important;
    margin: 5px !important;
    border: none;
    -webkit-box-shadow: 0px 0px 40px rgba(0, 0, 0, .17) !important;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, .175) !important;
    -moz-box-shadow: 0px 0px 40px rgba(0, 0, 0, .17) !important;
    z-index: 100;
    max-height: calc(100vh - 120px);
}

.category-dropdown-menu.dropdown-closed {
    animation: hide-navbar-dropdown .15s ease backwards !important;
}

.category-dropdown-menu.show {
    animation: show-navbar-dropdown .25s ease forwards;
}

.category-dropdown-menu {
    transition: all .2s ease;
    opacity: 0;
}

.category-dropdown-menu {
    border-radius: 10px !important;
    margin-top: 5px !important;
    border: none;
    -webkit-box-shadow: 0px 0px 40px rgba(0, 0, 0, .17) !important;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, .175) !important;
    -moz-box-shadow: 0px 0px 40px rgba(0, 0, 0, .17) !important;
    z-index: 100;
    max-height: 400px;
    min-width: 300px;
    overflow-y: auto;
    padding: 15px;
}

    .category-dropdown-menu .dropdown-item {
        color: #005792;
        transition: all 0s ease-in-out;
        width: 100%;
        padding: 10px 15px 10px 15px;
        display: inline-block;
        border-radius: 5px;
        font-weight: normal;
        font-family: akzidenz-grotesk, sans-serif;
        font-weight: 400;
    }

        .category-dropdown-menu .dropdown-item:hover {
            color: #fff !important;
            background-color: #005792 !important;
        }

        .category-dropdown-menu .dropdown-item:focus {
            color: #fff !important;
            background-color: #005792 !important;
        }

/*#endregion*/


.underline-menu-item:after {
    max-width: 50px;
}

:not(.active).underline-menu-item:after {
    content: '';
    height: 1px;
    transition: all 0.2s ease-in-out;
}

:not(.active).underline-menu-item:after {
    display: block;
    margin: auto;
    width: 0;
    background: 0 0;
}

.underline-menu-item:hover:after {
    width: 35px;
    background: #005792;
}

.new-nav-list {
    list-style-type: none;
    padding: 15px;
    right: inherit;
    overflow: auto;
}

#navabrSearchBodyContent {
    z-index: 1003;
}

#searchInputWrapper {
    padding: 0px 15px 15px 15px;
    z-index: 1005;
    position: relative;
    transition: all 0.3s ease-in-out;
    transform: translateY(-20px);
}

#btnOpenSearch,
#btnToggleLoginDropdown {
    padding: 12px 12px;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

#btnCloseSearch {
    font-size: 1.75rem;
    background-color: transparent;
    padding: 0;
    border: 0;
    float: right;
}

    #btnCloseSearch:hover span {
        opacity: 1;
    }


    #btnCloseSearch span {
        opacity: .5;
        transition: all .3s ease-in-out
    }

#clickToCloseSearchArea {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background-color: rgba(0,0,0,0);
    transition: all 0.3s ease-in-out;
}

.new-nav-link {
    width: 100%;
    padding: 10px 15px;
    display: inline-block;
    border-radius: 5px;
}

#navbar .new-nav-link {
    transition: all 0s ease-in-out;
}

    #navbar .new-nav-link:hover {
        color: #fff !important;
        background-color: #005792 !important;
    }

    #navbar .new-nav-link:focus {
        color: #fff !important;
        background-color: #005792 !important;
    }

.navbar-show {
    transform: translateY(0);
}

.navbar-hide {
    transform: translateY(-74px);
}

#navbarInputGroup {
    margin-bottom: 30px;
}

.navbar-brand {
    padding: 0;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
    background-color: rgba(0,0,0,0);
}

#navbarLinkContainer,
#navbarSearchContainer {
    margin: 0;
    align-items: center;
}


#navbarSearchInputContainer {
    position: absolute;
    top: 70px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    height: 0%;
    transition: opacity 0.3s ease-in-out, height 0s linear 0.3s;
    z-index: 1003;
    visibility: hidden;
    overflow-x: hidden;
}

    #navbarSearchInputContainer.search-open {
        height: 100vh;
        opacity: 1;
        visibility: visible;
        transition: height 0s ease-in-out, opacity 0.3s ease-in-out, visibility 0s ease-in-out;
    }

        #navbarSearchInputContainer.search-open #searchInputWrapper {
            transform: translateY(0);
        }

        #navbarSearchInputContainer.search-open #clickToCloseSearchArea {
            background-color: rgba(0,0,0,0.7);
        }

.new-nav-link,
.navbar-links,
li.dropdown a {
    text-decoration: none !important;
}

.navbar-brand {
    margin: 0 !important;
}

.navbar-header {
    margin: 0 !important;
}

.navbar-default .navbar-nav > li > a {
    color: #005792;
    font-weight: 500 !important;
    text-shadow: none;
}

    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-nav > li > a:hover {
        color: #005792;
    }

.nav > li > a {
    padding: 12px 12px;
    display: block;
}

#condensedDropdown,
#condensedMenuAboutUs,
#condensedMenuCareers,
#condensedMenuResources {
    display: none;
}

#condensedMenuDropdownList {
    max-width: calc(100% - 10px) !important;
    width: auto !important;
    right: 0 !important;
}

#condensedMenuDropdownItems {
    flex-wrap: nowrap;
    display: flex;
}

#siteSearchResults {
    position: absolute;
    top: 122px;
    left: 0;
    right: 0;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, .175) !important;
}

    #siteSearchResults button {
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: left;
        color: #005792;
        padding: 10px;
        display: flex;
        align-items: center;
        font-weight: normal;
    }

        #siteSearchResults button p {
            margin: 0;
        }

    #siteSearchResults:after {
        content: "Press enter to view all results";
        margin-top: 15px;
        text-transform: uppercase;
        font-weight: 700;
        color: #838383;
        text-align: center;
        width: 100%;
        display: block;
    }

    #siteSearchResults label {
        margin: 15px 10px;
    }

#mainMenuButton {
    margin-right: 0;
    font-size: 1em;
    border-radius: 6px !important;
    background-color: transparent;
    transition: all .2s ease-in-out !important;
    padding: 12px 0px;
    width: 70px;
    border: none;
}

    #mainMenuButton:not(.collapsed) {
        background-color: rgba(0, 0, 0, 0.1) !important;
    }

        #mainMenuButton:not(.collapsed) #mobileMenuButton {
            display: none;
        }


@keyframes show-navbar-dropdown {
    0% {
        opacity: 0;
        transform: translate(0, 10px);
        transition: visibility .45s, opacity .45s, transform .45s;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes hide-navbar-dropdown {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(0, 10px);
    }
}


@media (min-width:940px) and (max-width:1120px) {
    #condensedDropdown,
    #condensedMenuResources {
        display: inline-block !important;
    }

    #resourcesMenuItem {
        display: none;
    }

    #aboutMenu,
    #careersMenu {
        right: 0;
        left: auto;
    }
}

@media (min-width:768px) and (max-width:939px) {
    #condensedDropdown,
    #condensedMenuAboutUs,
    #condensedMenuCareers,
    #condensedMenuResources {
        display: inline-block !important;
    }

    #aboutMenuItem,
    #careersMenuItem,
    #resourcesMenuItem {
        display: none;
    }
}

@media(max-width: 1300px) {
    body.large #menuBarLogo {
        display: none;
    }

    body.large #largeFontMenuLogo {
        display: block;
    }

    body.extra-large #menuBarLogo {
        display: none;
    }

    body.extra-large #largeFontMenuLogo {
        display: block;
    }
}

@media(max-width: 1024px) {
    #menuBarLogo,
    #largeFontMenuLogo {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #menuBarLogo {
        max-width: 165px;
    }

    #searchButtonText {
        display: none;
    }
}

@media(min-width: 768px) and (max-width: 790px) {
    .nav > li > a {
        padding: 12px 10px !important;
    }
}

@media (max-width:1210px) and (min-width:767px) {
    .dropdown-menu > li > a:focus,
    .dropdown-menu > li > a:hover {
        background-color: transparent;
        color: rgba(0,0,0,1);
    }
}

@media (max-width:767px) {

    #condensedMenuDropdownList {
        display: none;
    }

    #siteMessage small,
    #siteMessage a {
        line-height: 1rem !important;
        font-size: 0.75rem !important;
    }

    #siteMessage .border-right {
        border-right: none !important;
    }

    #menu {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav > li > a {
        width: 100%;
        display: inline-block;
    }

    #condensedDropdown {
        display: none !important;
    }

    #menuBarLogo {
        padding: 5px 0px 5px 0px;
        display: block !important;
    }

    #largeFontMenuLogo {
        display: none !important;
    }

    .dropdown-menu-nav {
        max-height: none;
        box-shadow: none !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    #navbar li.dropdown {
        padding-left: 4px;
        padding-right: 4px;
        width: 100%;
    }

    .new-nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 15px !important;
        display: inline-block;
        width: 100% !important;
    }

    .dropdown-toggle.navbar-links {
        border-radius: 10px !important;
    }

    #navbar {
        box-shadow: 0 3px 6px rgba(0,0,0,.13),0 3px 4px rgba(0,0,0,.01);
    }

    .dropdown-menu {
        z-index: 1000000;
        margin: 5px 0px 0px 0px !important;
    }

    .navbar-default .navbar-nav > li > a {
        color: rgba(0,0,0,1);
        transition: all .3s ease-in-out;
        text-shadow: none;
    }

        .navbar-default .navbar-nav > li > a:focus,
        .navbar-default .navbar-nav > li > a:hover {
            color: rgba(0,0,0,1);
        }

    #navbar .show > a,
    #navbar .navbar-nav > .show > a:focus,
    #navbar .navbar-nav > .show > a:hover {
        background-color: rgba(0,0,0,0.1);
        border-radius: 3px;
    }

    #navbar li ul.dropdown-menu {
        width: 100% !important;
    }


    .navbar-form {
        margin: 0;
    }

        .navbar-form .navbar-left {
            border: 0 !important;
        }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        border-color: transparent;
    }

    .navbar-collapse {
        box-shadow: none;
        border: none !important;
        will-change: auto;
        padding-right: 15px;
        padding-left: 15px;
    }

        .navbar-collapse.show {
            overflow-y: hidden;
        }

    #navbarLinkContainer {
        width: 100%;
        max-height: calc(100vh - 70px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #navbarSearchInputContainer:after {
        content: "";
        height: 1px;
        width: 100%;
        display: block;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .dropdown-menu.show {
        animation: unset;
        opacity: 1;
    }

    #navbarLinkContainer {
        transform: translateY(-20px);
        transition: transform 0.3s ease-in-out;
    }

    .offcanvas-collapse {
        position: fixed;
        top: 70px;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100vw;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: hidden;
        opacity: 0;
        height: 0%;
        transition: opacity 0.3s ease-in-out, height 0s linear 0.3s;
    }

        .offcanvas-collapse.open {
            height: calc(100vh - 70px);
            opacity: 1;
            transition: height 0s ease-in-out, opacity 0.3s ease-in-out;
        }

            .offcanvas-collapse.open #navbarLinkContainer {
                transform: translateY(0px);
            }

    #navbarLinkContainer {
        width: 100%;
        padding-bottom: 100px;
        display: inline-block;
    }

    #navbar {
        box-shadow: 0 0 30px rgba(0,0,0,.13),0 3px 20px rgba(0,0,0,.01);
    }

    :not(.active).underline-menu-item:after {
        height: 0;
        width: 0;
        background: 0 0;
        transition: width 0s ease,background-color 0s ease;
    }

    .underline-menu-item {
        width: 100% !important;
    }

    #careersMenuItem,
    #doctorsAndSpecialitiesMenuItem,
    #healthServcesMenuItem,
    #patientPortalMenuItem,
    #resourcesMenuItem,
    #aboutMenuItem,
    #findADoctorMenuItem,
    #loginMenuItem {
        display: inline-block !important;
    }
}
