.menu-search-form.widget_search {
    position: relative;
    margin: 10px 5px;
}
/**
 * Close Menu
*/
.showing-menu-modal::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 400;
    background-color: rgba(0,0,0,.7);
    cursor: pointer;
}
/***
 * Remove Close Button 
*/
.close-nav-toggle{
    display: none;
}
/****
 * Mobile Menu Modal
*/
.menu-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 500;
    overflow: hidden;
    overflow-y: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 300px;
    transition: -webkit-transform .25s ease;
    transition: transform .25s ease;
    transition: transform .25s ease,-webkit-transform .25s ease;
    background-color: #ffffff;
}
.admin-bar .menu-modal {
    top: 32px;
}
.menu-modal{
    display: flex;
    right: auto;
    left: 0;
    -webkit-transform: translate3d(-350px,0,0);
    transform: translate3d(-350px,0,0);
}
.menu-modal.active {
    left: 0;
    right: 0;
    -webkit-transform: none;
    transform: none;
    z-index: 9999;
}
.menu-modal-inner.modal-inner {
    width: 100%;
}
button.close-nav-toggle {
    font-size: 1.6rem;
    font-weight: normal;
    padding:25px 0;
    width: 100%;
}

/******
 * Menu Tabs
*/
.menu-modal .sparkle-tabs {
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    background-color: rgba(0,0,0,.04);
}
.menu-modal .sparkle-tabs button {
    position: relative;
    flex: 1 0 50%;
    padding: 18px 15px;
    max-width: 50%;
    width: 50%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .3px;
    font-weight: 900;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color .25s ease,color .25s ease;
    color: #909090;
    background-image: none;
    border-radius: 0;
}
.menu-modal .sparkle-tabs button.width-100{
    max-width:100%;
}
.menu-modal .sparkle-tabs button:hover{
    box-shadow: none;
}
.menu-modal .sparkle-tabs button.active{
    background-color: rgba(0,0,0,.05);
    color: #333;
    max-width: 100%;
    border:none;
}
/***
 * Main Menu 
*/
.modal-menu {
    position: relative;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.modal-menu li {
    position: relative;
    display: block;
}
.modal-menu li a {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 20px;
    min-height: 50px;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    border-bottom: 1px solid rgba(129,129,129,.2);
    color: #2d2a2a;
}
.modal-menu li.focus span.sub-menu-toggle{
    color: #ff7101;
    border-color: #ff7101;
}
.modal-menu li.focus a{
    color: #ff7101;
}
.modal-menu li.menu-item-has-children > a {
    padding-right: 60px;
}
/***********
 * Sub Menu
*/
.modal-menu span.sub-menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 0;
    width: 50px;
    height: 50px;
    border-left: 1px solid rgba(129,129,129,.2);
    border-right: 1px solid rgba(129,129,129,.2);
    color: #2d2a2a;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    transition: background-color .25s ease,color .25s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
span.sub-menu-toggle i {
    transition: transform 0.15s linear;
}
span.sub-menu-toggle.active i {
    transform: rotate(180deg);
}
.modal-menu li ul.sub-menu{
    position: static;
    margin: 0;
    padding: 0;
    width: auto;
    background: 0 0;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    pointer-events: visible;
    pointer-events: unset;
    visibility: hidden;
    opacity: 0;
    height: 0;
}
.modal-menu li ul.sub-menu.active {
    opacity: 1;
    visibility:visible;
    height: auto;
}

/*****
 * Mobile Menu
*/
.box-header-nav span.sub-menu-toggle,
.mobile-nav-toggle{
    display: none;
}

@media (max-width: 1024px) {
    .admin-bar .menu-modal {
        top: 45px;
    }
    /**
    * Mobile Menu
    */
    .span.sub-menu-toggle,
    .mobile-nav-toggle{
        display: block;
    }
    .mobile-nav-toggle{
        cursor: pointer;
        color: #ffffff;
    }
    .toggle-inner {
        font-size: 24px;
    }
}
