
nav ul li.menu-item-has-children {
    position: relative;
}
.sub-menu{
    display: none;
}


.menu-item-has-children:after {
    top: 50%;
    margin-top: -4px;
    margin-right: 5px;
    right: 0;
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #000;
}
.ffff-menu{
    position: absolute;
    background: #f2efeb;
    top: 45px;
    left: -13px;
    padding: 10px;
    width: 330px;
    text-align: left;
    z-index: 1;
    display: block;
}
.inner-page .ffff-menu {
    background: rgba(255, 255, 255, 0.7);
}
.sub-menu ul li {
    
    position: relative;
}

@media screen and (max-width:768px) {
    #main-menu li a, #main-menu li {
    background: #fff;
    }
}

@media only screen and (max-width: 1200px) {
    .space-between {
        flex-wrap: wrap;
    }

    #main-menu ul {
        display: none;
    }

    #main-menu ul li a {
        border-bottom: 1px solid #dcc29c;
        margin: 0;
        padding-left: 0.5rem;
    }

    #main-menu ul li:last-of-type a {
        border: none;
    }

    #hamburger {
        width: 35px;
        height: 35px;
        background: #2c2c2c;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px;
    }

    #hamburger span {
        display: block;
        background: #fff;
        height: 2px;
    }

   .hambi-open span {
        display: none!important;
    }

.hambi-open span:first-of-type {
        display: block!important;
    }

    .hambi-open {
        justify-content: center!important;
    }

    #main-menu {
        background: none;
        text-align: left;
        width: 100%;     
        transition: all 0.3s ease-in-out;
    }

    nav ul,
    nav ul li {
        float: none !important;
    }
.hambi-open + #main-menu {
    max-height: 300px;
}

.open-sub {
    top: 50%;
    margin-top: -3px;
    margin-right: 5px;
    left: 9.5rem;
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #000;
}

.sub-open {
    top: 10%;
    left: 9.5rem;
    display: block;
}

#main-menu li {
    display: block;
    width: 100%;
   
}

#main-menu li a {
   
    padding: 0.5rem 0;
}

.menu-item-has-children:after {
    display: none;
}
    #menu-item-78:after {
        
    }
    



}
