/* Copyright (c) 2018. Emilian Adrian Hossu (emil.hossu@gmail.com) */

/* Website's top menu -------------------------------------*/
.menu-nav {
    /* display: flex;
    justify-content: end;
    justify-content: flex-end; */
    background: #e89613;
    color: #ffffff;
    width: 100%;
    border: none;
    /* margin-top: 10px; */
    /* margin-bottom:20px; */
    border-bottom: 0px;
    min-height: 40px;
    text-align: center;
}

.smartMenu {
    font-weight: 600;
}

/* .smartMenu .active{} */

.sm-clean ul a svg {
    color: #CCCCCC;
}

.main-nav:after {
    clear: both;
    content: "\00a0";
    display: block;
    height: 0;
    font: 0px/0 serif;
    overflow: hidden;
}

.smartMenu {
    clear: both;
    border-bottom: 0;
}

.smartMenu li.active>a {
    color: #ffffff;
}

.smartMenu li ul li.active a {
    color: #223555;
}

.smartMenu li.active li a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .smartMenu {
        /* float: left; */
        clear: none;
    }

    .menu-nav {
        min-height: 47px;
    }
}

@media (min-width: 991px) {
    /*.main-nav{*/
    /*margin: 45px 0px 0px 0px;*/
    /*float: right;*/
    /*}*/
}

/* Mobile menu toggle button */
.smartMenu-btn {
    margin: 5px 10px;
    position: relative;
    display: inline-block;
    width: 29px;
    height: 29px;
    text-indent: 29px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* hamburger icon */
.smartMenu-btn-icon,
.smartMenu-btn-icon:before,
.smartMenu-btn-icon:after {
    position: absolute;
    top: 50%;
    left: 2px;
    height: 2px;
    width: 24px;
    background: #ffffe5;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.smartMenu-btn-icon:before {
    content: '';
    top: -7px;
    left: 0;
}

.smartMenu-btn-icon:after {
    content: '';
    top: 7px;
    left: 0;
}

/* x icon */

.smartMenu-state:checked~.smartMenu-btn .smartMenu-btn-icon {
    height: 0;
    background: transparent;
}

.smartMenu-state:checked~.smartMenu-btn .smartMenu-btn-icon:before {
    top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.smartMenu-state:checked~.smartMenu-btn .smartMenu-btn-icon:after {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* hide menu state checkbox (keep it visible to screen readers) */

.smartMenu-state {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

.smartMenu-state:not(:checked)~.smartMenu {
    display: none;
}

.smartMenu-state:checked~.smartMenu {
    display: block;
    width: 100%;
}

@media (min-width: 768px) {

    /* hide the button in desktop view */
    .smartMenu-btn {
        position: absolute;
        top: -99999px;
    }

    /* always show the menu in desktop view */
    .smartMenu-state:not(:checked)~.smartMenu {
        display: inline-block;
    }

    .smartMenu>li {
        position: relative;
    }

    /* .smartMenu > li a{
        margin-bottom: 12px;
    } */
    .smartMenu>li::after {
        background-color: #ffffff;
        bottom: -1px;
        content: "";
        display: block;
        height: 2px;
        left: 0;
        position: absolute;
        transition: all .3s ease;
        /* -webkit-transform: skew(-30deg);
        transform: skew(-30deg); */
        width: 0;
        margin-bottom: 0px;
    }

    .smartMenu li:hover::after {
        width: 100%;
    }

    /* .smartMenu > li > ul{
        margin-top: 0px!important;
        border: 2px solid #ffffe5;
        margin-left: -2rem!important;
    } */
}

@media (min-width: 768px) and (max-width: 991px) {
    .main-nav {
        margin: 20px 0px 0px 0px;
    }
}

/* Website's top menu END-------------------------------------*/
