.search-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.search-overlay.activated {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-overlay-inner .search-form {
    width: 45%;
    display: flex;
    align-items: stretch
}

#site-header .search-overlay-inner .search-wrapper {
    flex: 1;
    width: 100%;
    height: 75px;
}

.search-overlay-inner input {    
    font-family: var(--body-font-family);
    font-size: 1.29rem;
    padding-inline-start: 20px;
    width: 100%;
    background-color: inherit;
    color: white;
    border: solid 1px #ffffff;
    border-radius: 0;
    height: 100%;
}

.search-overlay-inner .search-submit {    
    font-family: var(--button-font-family);
    line-height: 1;
    border: none;
    padding: 24px 40px;        
    font-size: 1.29rem;
    background-color: white;
    color: #282828;
    cursor: pointer;
}

.search-overlay-inner .search-submit:hover {
    background-color: #e3e3e3
}

.search-overlay-inner .search-submit i {
    margin-inline-end: 10px;
    font-size: 90%
}

.search-close {
    position: absolute;
    inset-inline-end: 10vh;
    top: 10vh;
    border: none;
    color: red;
    background-color: unset;
    font-size: 53px;
    line-height: 1
}

.search-close:hover {
    background: none;
    color: #b6b6b6
}

#site-header .search-form input {
    font-family: var(--menu-font-family);
    line-height: 1
}

#site-header a {
    color: inherit; text-decoration: none;
}

#site-header a:hover {
    color: var(--menu-text-hover-color)
}

#site-header .social-icons {
    color: var(--header-icon-color)
}

#site-header .social-icons a:hover {
    color: var(--menu-text-hover-color)
}

#site-header li {
    list-style: none;
}

.menu ul {
    padding: unset
}

header#site-header.sticky-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 8px 10px #86868611
}

#site-header .aurora-lite-menu .current-menu-item > a, #site-header .aurora-lite-menu .current-menu-parent > a, #site-header .aurora-lite-menu .current-menu-ancestor > a {
    color: var(--menu-text-active-color);
    font-weight: 700;
}

.aurora-lite-menu .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aurora-lite-vertical-menu .menu {
    flex-direction: column;
}

.aurora-lite-menu .menu-item {
    position: relative;
    list-style: none;
}

.aurora-lite-menu .menu-item > a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.aurora-lite-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aurora-lite-horizontal-menu .sub-menu {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: -5px 5px 15px #9797973c
}

.aurora-lite-horizontal-menu .menu-item-has-children:hover > .sub-menu,
.aurora-lite-horizontal-menu .menu-item-has-children:focus-within > .sub-menu,
.aurora-lite-horizontal-menu .sub-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(12px);
}

.aurora-lite-horizontal-menu .sub-menu li.menu-item-has-children > a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-inline-end: 40px;
    margin-inline-end: -40px;
}

.aurora-lite-horizontal-menu .sub-menu .menu-item-has-children > .sub-menu {
    position: absolute;
    top: -10px;
    inset-inline-start: calc(100% + 19.5px);
    min-width: 100px;
    max-width: max-content;
    display: flex;
    flex-direction: column;
    z-index: 999;
    transform: translateY(-5px);
}

.aurora-lite-vertical-menu .sub-menu {    
    position: relative;
    inset-inline-start: 10px;
    top: 5px;
    display: flex;   
    flex-direction: column; 
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    min-width: 70%;
    transition: max-height 0.8s ease, opacity 0.5s ease-in;
}

.aurora-lite-vertical-menu .menu-item-has-children.is-open > .sub-menu {
    max-height: 500px;
    opacity: 1;
    transition: max-height 2s ease-out, opacity 0.3s ease-out;
    overflow: unset;
}

.aurora-lite-vertical-menu .menu-item-has-children.is-open > .sub-menu .menu-item-has-children.is-open:not(:last-child) > .sub-menu {
    padding-bottom: 7px;
}


.aurora-lite-horizontal-menu .menu-item-has-children > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.aurora-lite-horizontal-menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    margin-inline-start: 8px;
    transform: translateY(-10%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transition: transform 0.2s ease;
}

.aurora-lite-horizontal-menu .menu-item-has-children:hover > a::after,
.aurora-lite-horizontal-menu .menu-item-has-children:focus-within > a::after {
    transform: translateY(40%) rotate(225deg);
}

.aurora-lite-horizontal-menu .sub-menu .menu-item-has-children > a::after {
    transform: translateY(36%) rotate(-45deg);
}

.aurora-lite-horizontal-menu .sub-menu > .menu-item-has-children:hover > a::after {
    transform: rotate(45deg);
}

.menu-item-has-children.is-open > .aurora-lite-submenu-toggle::before {
    transform: translateY(-40%) rotate(225deg);
}


.aurora-lite-vertical-menu .menu-item-has-children > a,
.aurora-lite-vertical-menu .menu-item-has-children {
    display: flex;
    flex-direction: column;
    align-items: flex-start;  
}

.aurora-lite-submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.aurora-lite-submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.aurora-lite-menu-panel {
    top: 0;
    bottom: 0;
    position: fixed;
    transition: transform 0.2s ease;
    overflow-y: auto;
    z-index: 999;
}

.admin-bar .aurora-lite-menu-panel {
    top: 32px;
}

.admin-bar .thin-header .header-inner {
    padding-top: 50px
}

.admin-bar .thin-header .panel-toggle {
    top: 50px
}

.admin-bar #site-header.thin-header .search-button {
    top: 84px
}

.aurora-lite-menu-panel.is-panel-open {
    transform: translateX(0);    
    transition: transform 0.4s ease;
}

.aurora-lite-panel-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aurora-lite-vertical-menu > li {
    display: block;
}

.aurora-lite-horizontal-menu .menu > .menu-item > a {
    display: inline-flex;
}

.aurora-lite-horizontal-menu .sub-menu .menu-item > a {
    display: block;
    width: 100%;
}

.aurora-lite-menu-panel[aria-hidden="true"] {
    pointer-events: none;
}

.aurora-lite-menu-panel[aria-hidden="false"] {
    pointer-events: auto;
}

.aurora-lite-panel-close {
    position: absolute;
    background-color: unset;
    border: none;
    cursor: pointer;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.aurora-lite-panel-close:hover {
    opacity: 0.8;
    background-color: unset;
    color: var(--menu-text-hover-color)
}

[data-aurora-lite-overlay] {    
    background: rgba(0,0,0,0.5);
    position: fixed;
    inset: 0;
    z-index: 988;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

[data-aurora-lite-overlay].is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.aurora-lite-panel-active {
    overflow: hidden;
}

.submenu-toggle {
    padding: 0 5px;
    background: #0000;
    border: none;
    color: var(--menu-text-color);
    position: absolute;
    inset-inline-end: 0;
    font-size: 80%
}

.submenu-toggle:hover {
    background: #0000;    
    color: var(--menu-text-hover-color)    
}