.sf-menu,
.sf-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-menu li {
    position: relative
}

.sf-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.sf-menu>li {
    float: left
}

.sf-menu li:hover>ul,
.sf-menu li.sfHover>ul {
    display: block
}

.sf-menu a {
    display: block;
    position: relative;
}

.sf-menu ul ul {
    top: 0;
    left: 100%;
}

.sf-arrows .sf-with-ul:after {
    content: "\f347";
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 12px/16px 'dashicons';
    vertical-align: middle;
    margin-left: 4px;
}

.sf-arrows ul .sf-with-ul:after {
    content: "\f345";
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 12px/22px 'dashicons';
    float: right;
    vertical-align: top;
    margin: 2px 0 0 4px;
}

.sf-arrows ul li>.sf-with-ul:focus:after,
.sf-arrows ul li:hover>.sf-with-ul:after,
.sf-arrows ul .sfHover>.sf-with-ul:after {
    border-left-color: white
}


.navbar a {
    color: #fff
}

.navbar-toggle {
    display: none;
    position: relative;
    float: right;
    margin: 0 0 0 15px;
    padding-left: 0;
    padding-right: 0;
    width: 40px;
    border-color: transparent;
    background: transparent;
}

.inspiro--with-page-nav .navbar-toggle {
    display: block;
}

.navbar-toggle:hover {
    border-color: transparent;
    background-color: transparent;
}

.navbar-toggle .icon-bar {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: all 0.2s ease-in-out;
}

.navbar-toggle  .icon-bar:nth-child(3) {
    width: 17px;
}


.navbar-toggle:hover .icon-bar {
    width: 17px;
}

.navbar-toggle:hover .icon-bar:nth-child(3) {
    width: 22px;
}

.navbar-toggle .icon-bar+.icon-bar {
    margin-top: 5px;
}


/* hamburger animation */

.navbar-toggle .icon-bar {
    -webkit-transition: width .13s ease-out, -webkit-transform .13s ease-out, opacity .13s ease-out;
    transition: width .13s ease-out, transform .13s ease-out, opacity .13s ease-out;
}

// .navbar-toggle:hover .icon-bar:nth-child(2) {
//     -webkit-transform: rotateZ(-40deg) translateX(-6px);
//     transform: rotateZ(-40deg) translateX(-6px);
//     width: 12px;
// }

// .navbar-toggle:hover .icon-bar:nth-child(3) {
//     -webkit-transform: translateX(-3px);
//     -ms-transform: translateX(-3px);
//     transform: translateX(-3px);
// }

// .navbar-toggle:hover .icon-bar:nth-child(4) {
//     -webkit-transform: rotateZ(40deg) translateX(-6px);
//     transform: rotateZ(40deg) translateX(-6px);
//     width: 12px;
// }


/* hamburger when side-nav is opened */

.side-nav-open .navbar-toggle .icon-bar:nth-child(2) {
    -webkit-transform: rotateZ(-45deg) translate3d(-5px, 5px, 0);
    transform: rotateZ(-45deg) translate3d(-5px, 5px, 0);
    width: 28px;
}

.side-nav-open .navbar-toggle .icon-bar:nth-child(3) {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
}

.side-nav-open .navbar-toggle .icon-bar:nth-child(4) {
    -webkit-transform: rotateZ(45deg) translate3d(-5px, -5px, 0);
    transform: rotateZ(45deg) translate3d(-5px, -5px, 0);
    width: 28px;
}

.navbar-nav {
    font-weight: 400;
    float: right;
    padding: 5px 0 0;
}

.navbar-nav>li {
    margin: 0 15px
}

.inspiro--with-page-nav .navbar-nav>li:last-child {
    margin-right: 0
}

.navbar-nav>li>ul:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-bottom: 8px solid $primary_color;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.navbar-nav a {
    padding: 5px 0 3px;
    font-family: $font__headings;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    -webkit-transition: 0.2s ease all;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease border-color, 0.2s ease color;
}

.navbar-nav>li>a:hover {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    color: inherit;
    opacity: .8;
}

@media (min-width: 1025px) {
    .navbar-nav ul {
        left: 50%;
        width: 220px;
        margin-top: 15px;
        border-top: 2px solid $primary_color;
        background: $dark_color;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    .navbar-nav ul li {
        border-top: 1px solid rgba(255,255,255, 0.07)
    }
    .navbar-nav ul a {
        color: #b0b0b0;
        padding: 8px 15px;
        border-bottom: none;
    }
    .navbar-nav ul a:hover {
        border-bottom: none;
        color: #fff;
    }
    .navbar-nav ul .current-menu-item a,
    .navbar-nav ul .current_page_item a,
    .navbar-nav ul .current-menu-parent a,
    .navbar-nav ul .current_page_parent a {
        border-bottom: none;
        color: #fff;
    }
    .navbar-nav ul ul {
        right: 100%;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
        margin-top: -3px;
    }

    .navbar-nav>li>a.sf-with-ul:hover {
        border-bottom: 1px solid rgba(255, 255, 255, 0)
    }
    .current-menu-item a,
    .current_page_item a,
    .current-menu-parent a,
    .current_page_parent a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3)
    }
}


/* WooCommerce Cart Icon */

a.cart-button:before {
    font: normal 20px/25px 'dashicons';
    display: inline-block;
    margin: 0 8px 0 0;
    content: '\f174';
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
}

a.cart-button {
    display: block;
    float: right;
}


/* Button in menu */

.navbar .wpz-button a {
    background-color: $primary_color;
    color: #fff !important;
    padding: 3px 16px;
    border-radius: 3px;
    transition: .2s ease all;
    font-size: 15px;
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.2);
    border-bottom: 1px solid transparent !important;
}

.navbar .wpz-button a:hover {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}