/* Colors quick reference 
 dark-blue: #40586f
 light blue: #88d4f5
 navy blue: #003556
 grey: #e7ebf1
 grey2: #c9c7c7
 red: #833a3c

 text: #40586f
 text2: #353535
*/
.sticky-wrapper,
.header-sticky-wrap {
    width: 100%;
    z-index: 99999;
    position: relative;
}
.site-header {
    height: 130px;
    background:white;
}
.home .site-header {
    z-index: 2;
    position: relative;
}
.site-branding {
    width: 29%;
    position: relative;
}
.site-branding::before {
    background: white;
    content: '';
    display: block;
    width: calc(100% + 1000px);
    height: 100%;
    position: absolute;
    z-index: -1;
    left: -1000px;
    top: 0;
}
.header-right {
    width: 71%;
    position: relative;
    z-index: 10000;
}
.header-right > div {
    height: 65px;
}
@media(max-width: 1000px) {
    div.site-name {
        font-size: 14px;
    }
    div.site-tagline {
        font-size: 9px;
    }
}
@media(max-width: 767px) {
    .site-header {
        flex-direction: column;
        height: auto;
    }
    .site-branding {
        width: 100%;
        padding: 20px 15px;
        display: flex;
        justify-content: space-between;
    }
    .site-branding .mobile-menu {
        margin-left: 20px;
    }
    .site-branding .menu-toggle {
        color: #7f7f7f;
    }
    div.site-name {
        font-size: 16px;
    }
    div.site-tagline {
        font-size: 10px;
    }
    .header-right {
        width: 100%;
    }
    .header-right__top {
        display: none;
    }
}
@media(max-width: 480px) {
    .site-logo {
        width: 5rem;
    }
    div.site-name {
        font-size: 14px;
    }
    div.site-tagline {
        font-size: 9px;
    }
}
@media(max-width: 374px) {
    .site-logo {
        width: 4rem;
    }
    div.site-name {
        font-size: 13px;
    }
    div.site-tagline {
        font-size: 9px;
    }
}

.white-triangle-left {
    position: relative;
    width: 209px;
    padding-right: 45px;
}
.white-triangle-left + div {
    width: calc(100% - 209px);
}
.white-triangle-left::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 65px 0 0px 42px;
    border-color: transparent transparent transparent #ffffff;
}
.header-right__bottom .white-triangle-left::before {
    left: 42px;
}
.header-right__bottom .white-triangle-left::after {
    /* Rectangle to fill the left hand gap */
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 100%;
    background-color: white;
    
}
.blue-triangle-right::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 42px 65px 0;
    border-color: transparent #88d4f5 transparent transparent;
}
@media (max-width: 1166px) {
    .site-header.container-fluid {
        margin-left: 0;
        margin-right: 0;
    }
}
@media(max-width: 1110px) {
    .white-triangle-left {
        width: 0;
    }
    .white-triangle-left + div {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .white-triangle-left > span {
        display: none;
    }
    .white-triangle-left::before {
        z-index: 2;
    }
}
@media(max-width: 767px) {
    .white-triangle-left {
        display: none;
    }
    .white-triangle-left + div {
        padding: 0;
    }
}

.membership-quicklinks,
.menu-memberships-container {
    z-index: 1;
    position: relative;
}
.membership-quicklinks::after {
    content: '';
    width: calc(50vw + 18px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #88d4f5;
}
.menu-memberships-container {
    width: 100%;
}
.membership-quicklinks li {
    display: flex;
    align-items: center;
    text-align: center;
    margin-left: 20px;
}
.membership-quicklinks a {
    color: #003556;
    text-decoration: none;
}
@media(max-width: 850px) {
    .membership-quicklinks a {
        font-size: 14px;
    }
}
@media(max-width: 767px) {
    .membership-quicklinks {
        padding: 20px 30px 20px;
    }
    #memberships-nav {
        flex-direction: column;
    }
    #memberships-nav li {
        justify-content: center;
    }
    #memberships-nav a {
        color: white;
    }
    .site-header #primary-menu {
        padding: 30px;
    }
    .site-header .main-navigation li {
        margin-bottom: 8px;
    }
    .site-header .main-navigation a {
        font-size: 14px;
    }
    .site-header .main-navigation .menu {
        column-count: 1;
    }
    .site-header .main-navigation .sub-menu {
        margin-top: 8px;
    }
}

.header-right__bottom,
.header-nav > ul,
.header-nav {
    position: relative;
    z-index: 1;
}
.header-nav::after {
    content: '';
    width: calc(50vw - 24px);
    margin-left: 42px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #40586f;
}
.site-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-right__bottom a {
    color: white;
    text-decoration: none;
}
.search-button {
    font-size: 22px;
}

.header-nav li {
    margin-left: 30px;
}
.menu-toggle {
    border: none;
    background: transparent;
    border-radius: 0;
    color: white;
    text-transform: uppercase;
    padding: 0;
    cursor: pointer;
}
.menu-toggle:focus {
    outline: thin dotted;
}
.menu-toggle i {
    margin-left: 10px;
    font-size: 26px;
}
.main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    width: 620px;
    padding: 40px;
    z-index: 99999;
}
.main-navigation .menu {
    display: block;
    column-count: 2;
}
.main-navigation li {
    margin-left: 0;
    margin-bottom: 15px;
}
.main-navigation .sub-menu {
    display: block;
    margin-left: 20px;
    margin-top: 15px;
}
.main-navigation .sub-menu li {
    margin-bottom: 12px;
}
.main-navigation .sub-menu a {
    font-size: 0.9em;
}
.main-navigation a:hover,
.current-menu-item > a {
    color: #88d4f5;
}
.menu-memberships-container .current-menu-item > a {
    color: #003556;
}
#menu-item-661 {
    break-after: column;
    -webkit-break-after: column;
}
@media(max-width: 767px) {
    .main-navigation {
        width: 100%;
        padding: 0;
    }
}
@media (min-width: 768px) and  (max-height: 900px) {
    .site-header .main-navigation {
        overflow-y: scroll;
        max-height: 480px;
    }
}

#search-box {
    display: none;
    width: 280px;
    position: absolute;
    top: -17px;
    right: 0;
}
#search-box.visible {
    display: flex;
}
.search-form {
    width: 244px;
    display: flex;
}
.search-form label {
    width: 206px;
    display: block;
}
.site-header .search-field {
    height: 34px;
    border-radius: 0;
    border: none;
    width: 100%;
    padding-left: 10px;
}
.site-header .search-field:focus {
    outline: none;
    /*outline: thin dotted;*/
}
.site-header .search-field::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    text-transform: uppercase;
}
.site-header .search-field::-moz-placeholder { /* Firefox 19+ */
    text-transform: uppercase;
}
.site-header .search-field:-ms-input-placeholder { /* IE 10+ */
    text-transform: uppercase;
}
.site-header .search-field:-moz-placeholder { /* Firefox 18- */
    text-transform: uppercase;
}
.site-header .search-submit {
    cursor: pointer;
    width: 38px;
    background-color: white;
    border: none;
    border-radius: 0;
    text-indent: -10000px;
    background-image: url(/wp-content/themes/nlus/img/search-icon.png);
    background-repeat: no-repeat;
    background-position: center;
}
.search-close {
    width: 36px;
    background-color: #88d4f5;
    color: #40586f !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
}

.site-footer {
    margin: 55px auto 0;
}
.home .site-footer {
    padding-top: 55px;
    margin: 0;
    z-index: 1;
    position: relative;
}
.footer-upper__left p {
    margin-top: 0;
}
.menu-footer-social-container a {
    color: #40586f;
}
.footer-upper__left {
    width: 42%;
}
.footer-upper__right {
    width: 58%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.primary-menu-footer {
    column-count: 2;
}
.primary-menu-footer ul {
    display: none;
}
.primary-menu-footer a {
    position: relative;
    text-decoration: none;
    display: block;
    padding-left: 25px;
    color: #88d4f5;
    margin-bottom: 10px;
}
.primary-menu-footer a::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: "\f061";
    position: absolute;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 600;
    left: 0;
    top: 0;
}
.footer-upper__right a {
    color: #005ba7;
    text-decoration: none;
}
.footer-lower {
    border-top: 1px solid #c9c7c7;
    margin: 5px 0 0;
    padding-top: 20px;
    color: #888888;
}
.footer-lower a {
    text-decoration: none;
    color: #888888;
}
.footer-privacy li {
    margin-left: 15px;
    padding-left: 15px;
    position: relative;
}
.footer-privacy li::before {
    content: '';
    width: 1px;
    left: 0px;
    top: 3px;
    height: 18px;
    background: #888888;
    display: inline-block;
    position: absolute;
}
@media(max-width: 767px) {
    .site-footer {
        margin: 35px 15px;
    }
    .footer-upper {
        flex-direction: column-reverse;
    }
    .footer-upper__right {
        width: 100%;
    }
    .footer-upper__left {
        width: 100%;
    }
    .footer-upper__right .menu-primary-nav-container {
        margin-bottom: 15px;
    }
    .footer-affiliates {
        flex-direction: column;
    }
    .footer-affiliates li {
        margin-bottom: 10px;
    }
    .footer-lower {
        display: block;
        text-align: center;
    }
    .footer-privacy {
        justify-content: center;
        margin-top: 5px;
    }
    .footer-privacy li:first-child {
        margin-left: 0;
        padding-left: 0;
    }
    .footer-privacy li:first-child::before {
        display: none;
    }
    .menu-footer-social-container a {
        font-size: 17px;
    }
}