﻿/* Language Bar */
/****************/

.language-bar {
    font-weight: 400;
    padding: 0.25em 2em;
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 35px;
}

    .language-bar div, .language-bar span {
        font-size: 0.8rem;
        line-height: 0.9em;
    }

    .language-bar a {
        color: #404040;
        display: inline;
    }

.language-bar-left {
    margin-right: auto;
    padding-left: .25em;
    max-width: 60%;
}

#s4-workspace div.language-bar-left a, #s4-workspace div.language-bar-left span {
    line-height: 1.1rem;
}

#s4-workspace .lang-logo, .agency-logo.hide-for-large {
    width: 25px;
    height: 25px;
    margin-left: -5px;
    margin-right: 5px;
}

a#btn-language {
    word-break: normal;
    font-size: .8em;
}

#btn-language > i {
    font-size: 1.3em;
}

#google_translate_element {
    position: absolute;
    display: inline-block;
    opacity: 0;
    right: 0;
    top: .5em;
    height: 2em;
}

#ctl00_ctl67_mobileSearch {
    margin-left: -15px;
}
/* Global and Desktop Nav Styles */
/*********************************/
.top-bar {
    padding: 0 0 0 .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 65px;
    background-color: #fafafa;
}

.top-bar-title {
    flex-direction: row;
    display: flex;
    flex-wrap: nowrap;
    flex: 0 1 auto;
    align-items: flex-start;
    margin: 0;
    max-width: 60%;
}

.top-bar-logo > img {
    height: 40px;
    width: 40px;
    max-width: inherit;
    margin-left: -5px;
    margin-right: 5px;
}

.top-bar-title a {
    display: flex;
    align-items: center;
}

    .top-bar-title a, .top-bar-title a:hover {
        color: #003146 !important;
        text-decoration: none;
    }

        .top-bar-title a span {
            align-self: center;
            flex: 0 1 auto;
            word-break: initial;
            text-decoration: none;
        }

.top-bar-agencyTitle {
    line-height: 1.42857143;
    padding-left: 0.25em;
    max-width: 324px;
}

.top-bar ul {
    background-color: transparent;
    height: 65px;
    align-items: center;
    justify-content: flex-end;
}

.top-bar li.is-submenu-item {
    border-top: 2px solid #fafafa;
}

.top-bar ul.is-dropdown-submenu, .top-bar ul.is-dropdown-submenu:hover {
    border-left: 2px solid #e6e7e8 !important;
    border-right: 2px solid #e6e7e8 !important;
    border-bottom: 2px solid #e6e7e8 !important;
}

li.is-dropdown-submenu-parent.opens-left.is-active > ul {
    height: auto;
    border: 1px #fafafa;
}

.is-dropdown-submenu-parent i.pai-chevron-down {
    display: none;
}

.top-bar .dropdown.menu > li {
    height: inherit;
}

    .top-bar .dropdown.menu > li > a {
        padding-top: 1.2rem;
    }

.top-bar .pai-fw {
    color: #003146;
    font-size: 1.5em;
    text-align: left;
}

.top-bar ul > li > a.top-nav-top-item, .top-bar ul > li > a.top-nav-search {
    color: #003146;
    padding-bottom: 1.114em;
    height: inherit;
}

.top-bar-right > ul > li.is-dropdown-submenu-item:hover,
.top-bar-right > ul > li.is-dropdown-submenu-item:active,
.top-bar-right > ul > li.is-dropdown-submenu-item.is-active > a,
.top-bar-right > ul > li.is-dropdown-submenu-parent:hover,
.top-bar-right > ul > li.is-dropdown-submenu-parent:active,
.top-bar-right > ul > li.is-dropdown-submenu-parent.is-active > a,
.top-bar-right > ul > li > a.top-nav-top-item.top-nav-parent:hover,
.top-bar-right > ul > li > a.top-nav-top-item.top-nav-parent:active {
    background: none repeat scroll 0 0 #e6e7e8 !important;
    color: #404040 !important;
    font-style: italic;
}

li.is-dropdown-submenu-item a {
    color: #003146 !important;
}

.top-bar ul > li.is-dropdown-submenu-parent > ul {
    font-style: normal;
}

.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
    display: none;
}

.top-bar .warning, .top-nav .warning:hover {
    background-color: #ffe066;
    color: #404040;
    font-weight: 600;
    height: 65px;
}

a.top-nav-parent, a.warning {
    height: 100%;
    color: #003146;
}

.is-dropdown-submenu-parent i.pai-chevron-down {
    position: absolute;
    left: 40%;
    top: 65%;
    color: #404040;
    display: none;
}

.is-dropdown-submenu-parent.is-active i.pai-chevron-down {
    display: inline-block;
}

/* Fouc fix */
div.top-bar-right {
    display: none;
}

.top-bar-right .menu li {
    margin: auto;
}

@media screen and (max-width: 1023px) {
    .top-bar-right .menu li:first-child {
        margin-left: -16px;
        /* border-right: 2px solid #FAFAFA; */
    }

    .top-bar-right .menu li:last-child {
        margin-left: 15px;
    }

    #top-bar-mobile > div.top-bar-right.hide-for-large > ul > li {
        margin-left: 4rem;
        border: none;
        margin-top: .4rem;
        font-size: 24px;
    }

    #AccordianMenuBtn {
        position: absolute;
        left: 1.5rem;
    }
}
/* Desktop Only Styles */
/***********************/

@media screen and (min-width: 1024px) {
    .top-bar {
        max-height: 65px;
    }

        .top-bar .top-bar-title {
            max-width: 65%;
            padding: .25em 1.5em;
        }

    .top-bar-right {
        height: 65px;
    }

    .top-bar > li.is-dropdown-submenu-parent.opens-left.is-active > ul {
        z-index: 900;
    }

    .off-canvas-wrapper {
        overflow: inherit;
    }

    a.top-nav-parent, a.warning {
        height: 100%;
    }

    .dropdown > li > a:hover, .dropdown > li.hover {
        background-color: #fafafa;
    }

    #s4-workspace .top-nav ul {
        height: 4.063rem;
    }
}

/* Mobile Nav Styles */
/*********************/
.position-left {
    width: 100%;
    -ms-transform: translateX(-100%px);
    transform: translateX(-100%);
}

.main-nav-scrolled {
    position: fixed;
    width: 100%;
    top: 0;
}

.is-open {
    display: block;
}

.nav-container {
    z-index: 12;
}

#open-menu .menu-title {
    color: #003146;
}

#topNavMobileNav {
    margin-top: -1px;
    background-color: transparent;
    z-index: 12;
    width: 100%;
}

a#AccordianMenuBtn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#topNavMobileNav > .row {
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    margin-right: 0;
    border-bottom: 1px solid #fafafa;
}

#topNavMobileNav a.no-children:active, #topNavMobileNav a.no-children:hover, #topNavMobileNav a.no-children:focus {
    color: #003146 !important;
    background-color: #fafafa;
}

div.top-bar-right.hide-for-large {
    max-width: 30%;
    flex: 0 0 auto;
    justify-content: flex-end;
    height: 100%;
    align-items: center;
}

.is-active > .accordion-title::before {
    content: '\2013' !important;
}

.mobile-accordion a.no-children, .mobile-accordion a.no-children:active, .mobile-accordion a.no-children:hover, .mobile-accordion a.no-children:focus, .mobile-accordion a.no-children:visited {
    color: #003146;
    display: inline-block;
    padding: 1.25rem 1rem 1.25rem 1rem;
    width: 100%;
    height: 100%;
}

.mobile-accordion .accordion-list-item {
    list-style: none;
}

    .mobile-accordion .accordion-list-item a {
        color: #003146;
    }

.mobile-accordion .accordion-content {
    padding: 0;
    border: 0;
}

    .mobile-accordion .accordion-content ul {
        margin-bottom: 0;
        margin-left: 0;
    }

.mobile-accordion {
    background-color: rgba(72, 72, 72, 0.8);
    height: 100%;
    padding-bottom: 12rem;
    margin-top: -8px;
}

    .mobile-accordion .accordion-title, .mobile-accordion .accordion-title:hover, .mobile-accordion .accordion-title:focus, .mobile-accordion .accordion-title:visited, .no-children.accordion-link {
        color: #003146 !important;
        font-size: 1em;
        vertical-align: middle;
        border: none;
        background-color: #fafafa;
    }

/* Mobile Only Styling */
/***********************/
.top-bar .pai-fw {
    color: #003146;
    font-size: 1.5rem;
    text-align: left;
}

@media screen and (max-width: 1023px) {

    .top-bar {
        padding: .25em 1em;
    }

    .top-bar-title.title-overlay {
        max-width: 100%;
    }

        .top-bar-title.title-overlay:focus, .top-bar-title.title-overlay > a:focus {
            outline: none;
        }

    .top-bar-agencyTitle > a, .top-bar-agencyTitle > a > span {
        line-height: 1.42857143;
    }

    .top-bar-logo {
        width: 40px;
    }

    .top-bar-right.hide-for-large li {
        text-align: center;
        height: inherit;
    }

        .top-bar-right.hide-for-large li:nth-child(2) {
            width: 2px;
            height: 50px;
            background-color: #003146;
        }

        .top-bar-right.hide-for-large li:first-child {
            height: 100%;
        }

    #btn-language {
        width: 62px;
        margin-top: 12px;
    }

        #btn-language > a {
            z-index: 2;
        }

        #btn-language > i {
            width: 3.25714em;
            z-index: 3;
            font-size: 1.3em;
        }

        #btn-language > span {
            top: -9px;
            height: 100px;
            z-index: -0;
            pointer-events: none;
            margin-left: -10px;
        }

    .language-bar .menu {
        height: 65px;
    }

        .language-bar .menu i {
            font-size: 24px;
        }

    .mobile-accordion > div {
        border-top: 1px solid #e6e6e6 !important;
        margin: 0;
    }

        .mobile-accordion > div:first-child {
            margin-top: .5rem;
        }

    .mobile-accordion .accordion-list-item a:hover {
        color: #fafafa !important;
    }

    .mobile-accordion .accordion-list-item a {
        text-align: left;
        display: block;
        padding: 1em;
    }

    .nav-container .accordion-title::before {
        font-size: 1.5rem;
        top: 40%;
        position: absolute;
    }

    .language-bar {
        padding: .25em 1em;
    }

    div#openMenu.float-right {
        float: none !important;
    }

    #AccordianMenuBtn #closeMenu {
        padding: .25em 1em .25em .75em;
        color: #003146;
    }

    #topNavMenuBtn, a#AccordianMenuBtn, #topNavMenuBtn:active, a#AccordianMenuBtn:active, #topNavMenuBtn:hover, a#AccordianMenuBtn:hover, #topNavMenuBtn:focus, a#AccordianMenuBtn:focus, #topNavMenuBtn:visited, a#AccordianMenuBtn:visited {
        line-height: .9rem !important;
        text-align: center;
        color: #003146 !important;
    }

    a#topNavMenuBtn, a#AccordianMenuBtn {
        padding: 0;
    }

    a#topNavMenuBtn {
        margin: .8rem 0;
    }

    #topNavMenuBtn .pai-times {
        display: none;
    }

    #topNavMenuBtn .pai-bars {
        font-size: 1.5em;
    }

    #topNavMobileNav .accordion-link:hover {
        text-decoration: none;
        background-color: #003146;
    }

    #openMenu {
        padding-bottom: .25em;
    }

    .top-bar .pai-times {
        font-size: 24px;
    }

    span.menu-title {
        font-size: 1rem; /*Changed to make it the same size as all of the other items in top nav*/
        text-align: left;
        margin-left: -4px;
    }

    .top-bar .pai-fw {
        margin-top: 5px;
    }

    a.accordion-item, a.accordion-title.primary-color {
        text-decoration: none !important;
    }

    .accordion-item.primary-color.is-active > a {
        color: #404040 !important;
        font-size: 1em;
        vertical-align: middle;
        border: none;
        background-color: #e6e7e8 !important;
        text-decoration: none;
        font-style: italic;
    }
}

#s4-workspace .dropdown .is-dropdown-submenu a {
    padding: .6rem 1rem;
    line-height: 1.5rem;
}

#s4-workspace .is-dropdown-submenu {
    min-width: 300px;
}

#nav-icon1 {
    width: 30px;
    height: 15px;
    position: relative;
    margin: auto;
}

    #nav-icon1 span {
        display: block;
        position: absolute;
        height: 3px;
        width: 25px;
        background: #003146;
        ;
        opacity: 1;
        left: 0;
    }

        #nav-icon1 span:nth-child(1) {
            top: 0px;
        }

        #nav-icon1 span:nth-child(2) {
            top: 6px;
        }

        #nav-icon1 span:nth-child(3) {
            top: 12px;
        }


/*Escape Button*/
.pcv-tooltip {
    position: absolute;
    top: 0px;
    right: 95px;
    visibility: hidden;
    background-color: #000;
    border: 1px solid #fff;
    padding: 10px 15px;
    width: 200px;
    color: #fff;
    text-align: left;
    font-size: 12px;
    z-index: 9999999999;
    -moz-box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
}

.pcv-tooltip-bottom {
    position: absolute;
    top: -175px;
    right: 150px;
    visibility: hidden;
    background-color: #000;
    border: 1px solid #fff;
    padding: 10px 15px;
    width: 200px;
    color: #fff;
    text-align: left;
    font-size: 12px;
    z-index: 9999999999;
    -moz-box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
}

#aEscape:hover .pcv-tooltip, #aMobileEscape:hover .pcv-tooltip-bottom {
    visibility: visible;
}
/*Top Nav sizing issues - need to integrate this code into above*/

.top-bar-agencyTitleSmall {
    display: none;
}

@media screen and (max-width: 1680px) and (min-width: 1386px) {
    a.top-nav-parent, a.top-nav-top-item {
        font-size: 16px !important;
    }

    div.top-bar-agencyTitle span {
        font-size: 16px !important;
    }

    a.top-nav-search i {
        font-size: 18px !important;
    }
}

@media screen and (max-width: 1385px) and (min-width: 1024px) {
    a.top-nav-parent, a.top-nav-top-item {
        font-size: 14px !important;
    }

    div.top-bar-agencyTitle span {
        font-size: 14px !important;
    }

    a.top-nav-search i {
        font-size: 18px !important;
    }

    .top-bar-agencyTitleSmall {
        display: flex;
        font-size: 16px !important;
    }

    .top-bar-agencyTitle {
        display: none;
    }

    .top-bar .dropdown.menu > li > a {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* new topnav layout styles */
.top-bar-right nav ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.top-bar-right nav li {
    display: block;
    float: left;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
    background-color: #fafafa;
}

nav ul li ul {
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    margin-top: 1rem;
    left: 0;
    display: none;
}

nav ul li:hover > ul,
nav ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
    top: 100%;
    left: auto;
    right: 0;
}

.menu.vertical.dropdown.submenu.is-dropdown-submenu {
    height: auto;
}

.menu.vertical.dropdown.submenu.is-dropdown-submenu li {
    height: auto;
}

.top-bar ul > li > a.top-nav-parent:hover,
.top-bar ul > li > a.top-nav-parent:active,
.top-bar ul > li > a.top-nav-parent:focus,
.top-bar ul > li > a.top-nav-top-item:hover,
.top-bar ul > li > a.top-nav-top-item:active,
.top-bar ul > li > a.top-nav-top-item:focus,
.top-bar ul > li:focus,
.top-bar ul > li:focus > .top-nav-parent,
.dropdown > li > a:hover,
.dropdown > li.hover,
.is-dropdown-submenu-parent:hover > a,
.menu.vertical.dropdown.submenu.is-dropdown-submenu:hover,
.menu.vertical.dropdown.submenu.is-dropdown-submenu:focus,
.menu.vertical.dropdown.submenu.is-dropdown-submenu > li > a:focus {
    color: #fafafa !important;
}

.is-dropdown-submenu {
    z-index: 9999;
}