/* Navigation */
#custom-header-section {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

#custom-header-section .container {
    padding-left: 0;
    padding-right: 0;
}

#custom-menu-wrap {
    visibility: hidden;
}

@media screen and (min-width: 768px) {
    #custom-menu-wrap {
        visibility: visible;
    }
}

#custom-primary-menu .displaynone {
    display: none;
}

.custom-nav-toggle {
    width: 32px;
    height: 32px;
    cursor: pointer;
    text-decoration: none;
}

.custom-nav-toggle.active i::before,
.custom-nav-toggle.active i::after {
    background: #593007;
}

.custom-nav-toggle:hover,
.custom-nav-toggle:focus,
.custom-nav-toggle:active {
    outline: none;
    border-bottom: none !important;
}

.custom-nav-toggle i {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 2px;
    color: #593007;
    font: bold 14px/.4 Helvetica;
    text-transform: uppercase;
    text-indent: -55px;
    background: #593007;
    transition: all .2s ease-out;
}

.custom-nav-toggle i::before,
.custom-nav-toggle i::after {
    content: '';
    width: 32px;
    height: 2px;
    background: #593007;
    position: absolute;
    left: 0;
    transition: all .2s ease-out;
}

.custom-nav-toggle.custom-nav-white>i {
    color: #593007;
    background: #593007;
}

.custom-nav-toggle.custom-nav-white>i::before,
.custom-nav-toggle.custom-nav-white>i::after {
    background: #593007;
}

.custom-nav-toggle i::before {
    top: -9px;
}

.custom-nav-toggle i::after {
    bottom: -9px;
}

.custom-nav-toggle.active i {
    background: transparent;
}

.custom-nav-toggle.active i::before {
    top: 0;
    transform: rotateZ(45deg);
    color: #593007;
    background: #593007;
}

.custom-nav-toggle.active i::after {
    bottom: 0;
    transform: rotateZ(-45deg);
    color: #593007;
    background: #593007;
}

.custom-nav-toggle {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 10003;
    padding: 15px 0 0 0;
    margin: 0 auto;
    display: block;
    background: transparent;
    height: 68px;
    width: 68px;
    border-bottom: none !important;
}

/* Mobile Menu */
#custom-mobile-menu {
    transform: translateX(100%);
    display: block;
    height: 100%;
    right: 0px;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9970;
    color: #593007;
    background: linear-gradient(-10deg, rgba(255, 187, 187, .95) 0%, rgba(255, 187, 187, 1) 100%);
    padding: 5rem 1rem 1rem 1rem;
}

#custom-mobile-menu #custom-mobile-menu-ul {
    padding: 0;
    margin: 0;
}

#custom-mobile-menu #custom-mobile-menu-ul li {
    list-style: none;
    font-size: 1.2rem;
    line-height: 2.4rem;
    border-bottom: solid 1px rgba(89, 48, 7, .5);
}

#custom-mobile-menu #custom-mobile-menu-ul li.child.active {
    background-color: rgba(89, 48, 7, .2);
}

#custom-mobile-menu #custom-mobile-menu-ul li.active>a {
    font-weight: bold;
    color: #593007;
}

#custom-mobile-menu #custom-mobile-menu-ul a {
    position: relative;
    border-bottom: none !important;
    padding: 8px;
    display: block;
    color: #593007;
    white-space: normal;
}

#custom-mobile-menu #custom-mobile-menu-ul a:hover {
    color: #593007;
}

#custom-mobile-menu #custom-mobile-menu-ul a::after {
    content: "";
    position: absolute;
    top: calc(50% - .5em);
    right: .5em;
    width: 1em;
    height: 1em;
    color: #593007;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23593007" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>');
    background-repeat: no-repeat;
    background-size: 1em 1em;
    -webkit-font-smoothing: antialiased;
}

#custom-logo-mobile {
    float: left;
    color: #593007;
}

#custom-logo-mobile img {
    height: 42px;
}

#custom-logo-mobile-wrap {
    transition: all 0.3s ease;
    display: block;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 9980;
    color: #593007;
    background-color: #ffbbbb;
}

.custom-overflow .custom-main,
#custom-mobile-menu {
    transition: all 0.3s ease;
}

#custom-logo-mobile-wrap {
    transform: translateX(0px);
}

body.custom-mobile-menu-visible #custom-mobile-menu {
    transform: translateX(0);
}

/* Sticky menu */
#custom-menu-wrap.menu-fixed {
    position: fixed !important;
    top: 0 !important;
    width: 100%;
    /*transition: all 0.3s ease;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);*/
}