.site-header {
    margin-bottom: 0;
    border-bottom: 1px solid white;
}

.navbar-expand-xl > .container,
.navbar-expand-xl > .container-fluid {
    padding: 0;
}

@media (min-width: 1000px) {
    nav.navbar.navbar-expand-xl.navbar-light {
        padding: 55px 0 0 0;
    }
}
nav.navbar.navbar-expand-xl.navbar-light {
    padding: 25px 0 0 0;
}

img.header-logo.img-fluid {
    max-width: 150px;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand ul {
    display: table;
    vertical-align: top;
}

.navbar-brand ul li {
    display: table-cell;
    padding: 0;
    margin: 0;
    vertical-align: top;
}

header .navbar-brand .site-title a {
    font-family: "CachetBoldRegular";
    margin: -25px 25px;
    font-size: 36px;
    line-height: 36px;
    text-transform: uppercase;
    color: #006b6b;
    position: absolute;
}

header .navbar-brand .site-title a:hover {
    text-decoration: none;
}

.nav-fill .nav-item a {
    background-color: #0089d0;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: normal;
}

.nav-fill .nav-item.medium-blue a {
    background-color: #0089d0;
}

.nav-fill .nav-item.light-blue a {
    background-color: #00aeef;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    font-family: "CachetMediumRegular";
    letter-spacing: 0.5px;
    color: #ffffff;
}

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active {
    color: #fff;
}

ul.dropdown-menu {
    background-color: #636466;
    border: 0px;
    border-radius: 0;
    padding-bottom: 0;
    padding-top: 0;
    width: calc(100% + 3px);
    left: -3px;
    top: calc(100% + 1px);
}

.nav-fill .nav-item a.dropdown-item {
    background-color: transparent;
    color: #fff;
    text-align: center;
    white-space: pre-wrap;
    border-bottom: 3px solid white;
    border-left: 3px solid white;
    font-size: 16px;
    line-height: 28px;
}

button.navbar-toggler.navbar-toggler-right i.fal.fa-bars {
    color: #fff;
}

button.navbar-toggler.navbar-toggler-right {
    background: #636466;
    padding: 0.4rem 0.6rem;
    border-color: #636466;
    margin-right: 15px;
    margin-bottom: 20px;
    transition: 0.5s ease all;
}

button.navbar-toggler.navbar-toggler-right:active,
button.navbar-toggler.navbar-toggler-right:hover,
button.navbar-toggler.navbar-toggler-right:focus {
    background: #0060af;
    border-color: #0060af;
    transition: 0.5s ease all;
}

header .search {
    position: absolute;
    top: 1.5rem;
    right: 1rem;
}
header .search form#searchform {
    border: 3px solid #006b6b;
    border-radius: 5px;
    box-shadow: none;
}
header .search .input-group input {
    box-shadow: none;
    border: 0;
    color: #636466;
    background-color: transparent;
}
header .search button.btn.btn-info {
    background-color: transparent;
    border: 0px;
    color: #006b6b;
    text-align: right;
    padding: 0.5rem 0.25rem;
}
header .header-bar {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
header .header-bar a span {
    color: #fff;
    font-size: 16px;
    font-family: CachetBoldRegular;
}

.menu-icon {
    display: inline-block;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.bar3 {
    margin-bottom: 2px;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-5px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}
header .social-media-listing {
    transform: translateY(8px);
}
.nav-not-menu {
    display: none;
}

@media (min-width: 1199px) {
    ul#menu-primary {
        margin-top: 5.5rem;
    }

    .nav-fill > .nav-item:last-of-type a {
        border-right: none;
    }

    .nav-fill .nav-item a {
        border-right: 3px solid #fff;
    }
}

@media (max-width: 1200px) {
    .nav-fill .nav-item a {
        border-bottom: 3px solid #fff;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    .header-bar,
    .header-bar a {
        display: flex !important;
    }
    img.header-logo.img-fluid {
        max-width: 100px;
    }

    header .navbar-brand .site-title a {
        font-size: 25px;
        line-height: 28px;
    }

    header#masthead {
        width: 100%;
        height: auto;
        background-size: auto !important;
    }

    header .header-bar .btn {
        width: 33.33%;
    }

    header .header-bar a i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    img.header-logo.img-fluid {
        max-width: 75px;
    }

    header .navbar-brand .site-title a {
        font-size: 20px;
        line-height: 20px;
    }

    header .navbar-brand .site-title a {
        margin: 0 5px;
    }

    nav.navbar.navbar-expand-xl.navbar-light {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 350px) {
    button.navbar-toggler.navbar-toggler-right {
        margin-bottom: 0px;
    }
}

/*************************************************************

Top Header Bar

*************************************************************/
.social-media-listing {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    display: inline-block;
}

.social-media-listing li {
    display: inline-block;
    margin: 0 10px;
}

.social-media-listing li a {
    color: white;
}

.header-bar {
    background-color: #006b6b;
    text-align: right;
}

/**************************************

ALERTS

**************************************/

#alerts {
    display: block;
    padding: 1.5rem;
    background-color: #fcaf17;
}

.header-bar a {
    justify-content: center;
    align-items: center;
}

#alerts p {
    color: #fff;
    margin: 0px auto;
}

#alerts button.close {
    color: #fff;
    opacity: 1;
}
.dropdown-menu {
    display: block !important;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
.dropdown-menu.show {
    max-height: 400px;
}
.nav-mobile {
    width: 100%;
}
#scroll-to-top {
    display: none;
}
.menu-item.show .dropdown-toggle::after {
    display: none;
}
.menu-item > a {
    position: relative;
}
.menu-item.show > a::before {
    font-family: "Font Awesome 5 Pro";
    content: "\f060";
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    z-index: 10;
    left: 15px;
    font-size: 20px;
    font-weight: 900;
}
@media (min-width: 1200px) {
    .menu-item:hover .dropdown-menu {
        max-height: 400px;
    }
}
@media (max-width: 1200px) {
    .dropdown-menu {
        transition: all 0s ease-in-out;
    }
    button.navbar-toggler.navbar-toggler-right {
        margin: 8px !important;
        height: 64px;
        width: 64px;
        background: #0089d0;
    }
    .nav-mobile {
        position: fixed;
        bottom: 0;
        z-index: 10;
        background: white;
        display: flex;
        width: 100%;
        flex-direction: column-reverse;
        max-width: 100vw;
        box-shadow: -1px -1px 5px rgb(0 0 0 / 30%);
    }
    .nav-not-menu {
        display: flex;
        justify-content: space-between;
    }
    .nav-not-menu a {
        display: flex;
        justify-content: center;
        flex-direction: column;
        font-size: 40px;
        text-align: center;
        width: 72px;
        padding: 8px;
    }
    .nav-not-menu a:hover,
    .nav-not-menu a:hover .link-label {
        background: #eee;
        color: #20bdbe;
    }
    .quick-links {
        display: flex;
        width: 250px;
        justify-content: space-between;
        margin-left: 10px;
    }
    .nav-not-menu a,
    .link-label {
        color: #0089d0;
        transition: all 0.3s ease-in-out;
    }
    .link-label {
        font-size: 11px;
        transform: translateY(3px);
    }
    .nav-fill .nav-item a.dropdown-item {
        border-left: none;
    }
    .navbar-collapse {
        display: none;
        overflow: hidden;
        transition: all 0.3s ease-in;
    }
    .navbar-collapse.show {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.7);
        max-height: unset;
    }
    #menu-primary {
        position: fixed;
        top: calc(50% - 40px);
        left: 50%;
        width: 80% !important;
        transform: translate(-50%, -50%);
        max-height: calc(100vh - 120px);
        overflow: scroll;
    }
    div.header-bar {
        display: none !important;
    }
    .menu-icon {
        color: white;
        font-size: 32px;
    }
    .navbar-toggler .fa-times {
        display: none;
    }
    .navbar-toggler.open .fa-bars {
        display: none;
    }
    .navbar-toggler.open .fa-times {
        display: inline-block;
    }
    header .navbar-brand .site-title a {
        position: relative;
    }
    .navbar-brand {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    img.header-logo.img-fluid {
        max-width: 75px;
    }
}
