nav.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 11;
    padding: 0;
    display: block;
    transition: all 0.3s ease-in-out;
}
body.admin-bar nav.navbar, body.admin-bar .mobile-brand {
    margin-top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar nav.navbar, body.admin-bar .mobile-brand {
        margin-top: 46px;
    }
}

body.nav-fixed nav.navbar {
    background: #2B2A33;
    box-shadow: 0 0 15px rgb(0 0 0 / 50%);
}


a.navbar-brand {
    display: inline-block;
    margin: 1.25rem 0;
    text-align: center;
    padding: 0;
    z-index: 1;
}
a.navbar-brand img {
    height: 7.5rem;
    width: auto;
    transition: all 0.3s ease-in-out;
}
body.nav-fixed a.navbar-brand {
    margin: 0.75rem 0;
}
body.nav-fixed a.navbar-brand img {
    height: 4.125rem;
}

.main-menu-container {
    padding: 0 2.5rem;
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}
.main-menu-container-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.main-menu {
    padding: 1.175rem 0;
}
@media (max-width: 1199px) {
    .main-menu-container {
        padding: 0;
    }
}
@media (max-width: 991px) {
    a.navbar-brand img {
        height: 6rem;
    }
}
@media (max-width: 767px) {
    nav.navbar .container-fluid {
        padding: 0;
    }
    .main-menu-container {
        justify-content: center;
        padding: 0 1rem;
    }
    a.navbar-brand, body.nav-fixed a.navbar-brand {
        margin: 1rem 0;
    }
    a.navbar-brand img, body.nav-fixed a.navbar-brand img {
        height: 5.333rem;
    }
}



.site-links-container {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
}
ul.site-links {
    list-style: none;
    padding: 0;
    margin: 0 1rem;
    display: flex;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
}
ul.site-links li {
    padding: 0.6875rem;
    background: var(--red);
}
ul.site-links li.green {
    background: var(--green);
}
ul.site-links li.purple {
    background: var(--purple);
}
ul.site-links li a {
    color: #fff;
    display: inline-block;
    height: 3rem;
    line-height: 3rem;
    border-radius: 6px;
    min-width: 8.75rem;
    text-align: center;
    font-weight: 700;
    padding: 0 0.6875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}
ul.site-links li a:hover, ul.site-links li.active a {
    background: rgb(255 255 255 / 20%);
    color: #fff;
}

body.nav-fixed .site-links-container {
    transform: translateY(-100%);
    margin-top: -4.375rem;
}

@media (max-width: 1199px) {
    ul.site-links li a {
        min-width: 8rem;
    }
}
@media (max-width: 991px) {
    ul.site-links li {
        padding: 0.5rem;
    }
    ul.site-links li a {
        height: 2.5rem;
        min-width: 7rem;
    }
}
@media (max-width: 767px) {
    nav.navbar {
        top: 3.5rem;
    }
    .site-links-container, body.nav-fixed .site-links-container {
        width: 100%;
        transform: none;
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
    }
    .site-links-container h6 {
        display: none;
    }
    ul.site-links {
        width: 100%;
        border-radius: 0;
        margin: 0;
    }
    ul.site-links li {
        flex-grow: 1;
    }
    ul.site-links li a {
        width: 100%;
    }
}
@media (max-width: 575px) {
    nav.navbar {
        top: 2.9rem;
    }
    ul.site-links li {
    padding: 0.35rem;
    }
    ul.site-links li a {
        min-width: 5rem;
        height: 2.25rem;
    }
}



span.top-search-btn {
    display: block;
    padding: 0.6875rem;
    background: #42414D;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    overflow: hidden;
}
span.top-search-btn a {
    display: block;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
}
span.top-search-btn a:hover {
    background: var(--black-text);
}
.top-search-form {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
body.search-open .top-search-form {
    display: block;
}
@media (max-width: 991px) {
    span.top-search-btn {
        padding: 0.5rem;
    }
    span.top-search-btn a {
        width: 2.5rem;
        height: 2.5rem;
        line-height: 2.5rem;
    }
}
@media (max-width: 767px) {
    .top-search {
        position: absolute;
        left: 0;
        right: 0;
        top: 1rem;
        bottom: 1rem;
        display: flex;
        justify-content: flex-end;
        padding-right: calc(var(--bs-gutter-x) * .5);
    }
    span.top-search-btn {
        width: 3.333rem;
        height: 3.333rem;
        border-radius: 50%;
        padding: 0;
        margin: 1rem 0;
    }
    span.top-search-btn a {
        width: 3.333rem;
        height: 3.333rem;
        line-height: 3.333rem;
    }
    .top-search-form {
        border-radius: 8px;
        width: 100%;
    }
    .top-search-form form {
        border-radius: 8px;
        overflow: hidden;
    }
}



ul.navbar-nav {
    padding: 0;
}
ul.navbar-nav > li {
    text-align: center;
    margin: 0 0.75rem;
}
ul.navbar-nav > li:first-of-type {
    margin-left: 0;
}
ul.navbar-nav > li:last-of-type {
    margin-right: 0;
}
ul.navbar-nav > li > a {
    font-size: 1.125rem;
    color: #fff;
    padding: 0.875rem 0.5rem !important;
}
ul.navbar-nav > li:last-of-type > a {
    padding-right: 0 !important;
}
ul.navbar-nav > li > a:hover, ul.navbar-nav > li.current-menu-item > a, ul.navbar-nav > li.current-menu-ancestor > a {
    color: var(--red);
}

li.nav-btn a {
    background: var(--red) !important;
    color: #fff !important;
    padding: 0.875rem 1.25rem !important;
    border-radius: 0.4rem !important;
    line-height: 1.4 !important;
    margin-left: 0.5rem !important;
}
li.nav-btn a i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
    vertical-align: middle;
}
li.nav-btn a:hover {
    background: var(--red) !important;
}
@media (max-width: 1199px) {
    ul.navbar-nav > li {
        margin: 0 0.5rem;
    }
}
@media (max-width: 991px) {
    ul.navbar-nav > li > a {
        padding: 0.5rem 0.25rem !important;
    }
}



.dropdown-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: none;
    margin: 0 0 0 7px;
    vertical-align: 2px;
    font-size: 0.75rem;
    transition: all 0.3s ease-in-out;
}
ul.navbar-nav > li:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
}

nav.navbar ul.navbar-nav li:hover .dropdown-menu,
nav.navbar ul.navbar-nav li .dropdown-menu.show {
    display: block;
}

.navbar-nav .dropdown-menu {
    background-color: #fff;
    border: none;
    border-radius: 0;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-top: 4px solid var(--red);
    padding: 1rem 1.5rem;
    width: 16.66rem;
    max-width: initial;
}
.navbar-nav .dropdown-menu .menu-item {
    margin: 0.125rem 0;
}
.dropdown-menu .dropdown-item {
    color: #555;
    font-weight: 500;
    display: inline-block;
    width: auto;
    padding: 0.125rem 0;
}
.navbar-nav .dropdown-menu .dropdown-item:focus, .navbar-nav .dropdown-menu .dropdown-item:hover, .navbar-nav .dropdown-menu .current-menu-item .dropdown-item {
    background: none;
    color: var(--red);
}








button.navbar-toggler {
    position: absolute;
    right: 15px;
    top: 1.25rem;
    height: 25px;
    width: 32px;
    display: none;
}
button.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

/* Collapsed Nav Styles */
.navbar-toggler-icon {
    background-image: none;
    transition-duration: 0.5s;
    position: absolute;
    height: 4px;
    width: 32px;
    top: 11px;
    background-color: #232323;
    left: 0;
}

.navbar-toggler-icon:before {
    transition-duration: 0.5s;
    position: absolute;
    width: 32px;
    height: 4px;
    background-color: #232323;
    content: "";
    top: -10px;
    right: 0;
}

.navbar-toggler-icon:after {
    transition-duration: 0.5s;
    position: absolute;
    width: 32px;
    height: 4px;
    background-color: #232323;
    content: "";
    top: 10px;
    right: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transition-duration: 0.5s;
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    -webkit-transform: rotateZ(45deg) scaleX(1) translate(7px, 7px);
    -moz-transform: rotateZ(45deg) scaleX(1) translate(7px, 7px);
    transform: rotateZ(45deg) scaleX(1) translate(7px, 7px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    -webkit-transform: rotateZ(-45deg) scaleX(1) translate(7px, -7px);
    -moz-transform: rotateZ(-45deg) scaleX(1) translate(7px, -7px);
    transform: rotateZ(-45deg) scaleX(1) translate(7px, -7px);
}

.navbar-toggler {
    border: none;
}





.menu-button {
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    background: url(menu.gif) no-repeat;
    overflow: hidden;
    width: 34px;
    height: 31px;
    text-indent: -9999px;
}

.menu-button.right {
    right: 20px;
    left: auto;
}

.menu-button.bottom {
    top: 100px;
}

.menu-button.fixed {
    position: fixed;
}

#overlay {
    position: absolute;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999998;
    display: none;
}

.sidr-open #overlay {
    display: block;
}

/* Settings for fullwidth */
.sidr.fullwidth {
    width: 100vw;
}

.sidr.left.fullwidth {
    left: -100vw;
}

.sidr.right.fullwidth {
    right: -100vw;
}
.sidr ul li.current-menu-item > a, .sidr ul li.current-menu-ancestor > a {
    color: var(--red);
}
a#close-menu-button {
    padding: 0.5rem 1rem;
    display: inline-block;
    font-size: 1.5rem;
    background: #131E25;
    color: #fff;
}
a#simple-menu {
    padding: 0.25rem 0.5rem;
    display: inline-block;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    position: absolute;
    left: 1rem;
    top: 2rem;
    background: #42414D;

    width: 3.333rem;
    height: 3.333rem;
    padding: 0;
    border-radius: 50%;
    font-size: 2rem;
    text-align: center;
    line-height: 3.5rem;
}
a#simple-menu:hover {
    background: var(--black-text);
}
/* END Settings for fullwidth */

.sidr {
    background: #fff;
    color: #232323;
    box-shadow: none;
}
body.admin-bar .sidr {
    padding-top: 46px;
}
.sidr-title {
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidr-title span {
    font-weight: 800;
    font-size: 1.25rem;
    padding: 0 1rem;
}
.sidr ul.mobile_menu {
    border-top: 1px solid #1a1a1a;
}
.sidr ul {
    border: none;
}
.sidr ul li {
    border-top: none;
}
.sidr ul li a, .sidr ul li span {
    color: #232323;
}
.sidr ul li:hover>a, .sidr ul li:hover>span, .sidr ul li.active>a, .sidr ul li.active>span, .sidr ul li.sidr-class-active>a, .sidr ul li.sidr-class-active>span,
.sidr ul li ul li:hover>a, .sidr ul li ul li:hover>span, .sidr ul li ul li.active>a, .sidr ul li ul li.active>span, .sidr ul li ul li.sidr-class-active>a, .sidr ul li ul li.sidr-class-active>span {
    box-shadow: none;
}
.sidr ul li ul li a, .sidr ul li ul li span {
    color: #232323;
}

.sidr ul.submenu {
    display: none;
    border-top: 1px solid #4d4d4d;
}
.sidr li.open > ul.submenu {
    display: block;
}
.sidr li.menu-item-has-children {
    position: relative;
}
.sidr li.menu-item-has-children i {
    display: inline-block;
    width: 4rem;
    height: 100%;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    line-height: 3rem;
    cursor: pointer;
}


.sidr ul.submenu ul.submenu li a {
    padding-left: 45px;
    opacity: 0.75;
}
