.header {
    z-index: 10;
    font-family: "Acherus", "Acherus Grotesque", sans-serif;
}

.header .logo {
    height: 40px;
    transform: translateY(-2px);
}

.btn-header {
    font-size: smaller;
    color: white;
    background-color: transparent;
    border-color: #BC955C;
    border-width: 2px;
    border-radius: 8px;
    padding-right: 8px !important;
    padding-left: 8px !important;
    width: 113.48px;
    transition: color 0.3s;
    white-space: nowrap;
}

.btn-header.margin {
    margin-left: 1.4rem;
}

.btn-header:hover {
    color: #BC955C;
    border-color: #BC955C;
}

.btn-header:active {
    color: white;
    border-color: #BC955C !important;
}

.sub-header-group {
    display: inline-block;
}

.sub-header-group:hover .sub-header,
.sub-header-group .sub-header:hover {
    display: block;
}

.sub-header::before {
    content: " ";
    display: block;
    height: 0.75rem;
    background-color: transparent;
}

.sub-header {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
}

.sub-header-content {
    background-color: #bc955c;
    font-size: smaller;
}

.sub-header .sub-header-title {
    background-color: #9f2240;
    --bs-border-radius: 12px;
}

.sub-header .header-links {
    display: flex;
    justify-content: end;
}

.header-link {
    font-weight: 500 !important;
    font-size: 13.3px !important;
    color: unset;
    text-decoration: none;
    cursor: default;
    transition: color 0.3s;
}

.header-link[href]:hover {
    cursor: pointer;
}

.header-link:hover {
    color: #691C32;
    background-color: transparent;
}

.custom-dropdown {
    position: relative;
}

.custom-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    background-color: #bc955cd6;
    border: none;
    color: white;
    border-radius: 0 0 8px 8px;
    --bs-dropdown-link-hover-bg: unset;
}

.custom-dropdown .header-link {
    font-size: 14px;
}

.custom-dropdown .dropdown-menu.dropdown-start {
    left: 0;
}
.custom-dropdown .dropdown-menu.dropdown-end {
    right: 0;
}

.custom-dropdown:hover .dropdown-menu,
.custom-dropdown .dropdown-menu:hover {
    display: block;
}

.header .offcanvas {
    max-width: 300px;
    border-radius: 10px 0 0 10px;
    text-align: left;
    transition: transform 1.2s ease-out;
}

.header .offcanvas.hiding {
    transition: transform 0s ease-out;
}

.header .offcanvas .btn-close {
    transform: scale(0.65);
}

.header .list-group-item {
    color: gray;
    border: none;
    padding: 0.25rem 0.75rem;
}

.header .list-group-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--bs-primary);
    margin-top: 0.5rem;
}

.header .list-group-title a {
    text-decoration: none;
    cursor: default;
}
.header .list-group-title a[href] {
    cursor: pointer;
}

.list-group-item .header-link {
    font-size: 16px !important;
    font-weight: 300 !important;
}

.sub-list .header-link {
    font-size: 14px;
}


.header-link.collapsed .symbol-open,
.header-link:not(.collapsed) .symbol-close {
    display: inline-block;
}

.header-link.collapsed .symbol-close,
.header-link:not(.collapsed) .symbol-open {
    display: none;
}

.offcanvas-logo {
    width: 60%!important;
}

.offcanvas-backdrop.show{
    opacity: 0.8 !important;
}