
/* Bootstrap Nav Menu */

.bt-links {
    margin: 0; 
    padding: 0;
    
    > li { 
        display: inline-block; 
        float: left;
        
        &:first-child {
            padding-left: 0;
        }
    }
    
    .glyphicon {
        margin-right: 5px;
    }
}

/* Mega Menu */

.mega-menu {
    
    li > a,
    li > h5 {
        text-decoration: none; 
        position: relative;
	    margin: 0;
        outline: medium none;
    }

    li > h5 {
        cursor: pointer;
    }
    
    ul { 
        list-style: none; 
        padding: 0; 
        margin: 0; 
        
        li { 
            position: relative; 
        }
    }
    
    > ul > li {
        float: left;

        > a, li > a,
        > h5, li > h5 {
            display: inline-block;
            padding: 13px 25px;
            line-height: 25px;

            .tip {
                top: 7px;
                margin-left: -20px;
            }
        }
    }

    > ul {
        > li {
            .menu-arrow & {
                > a,
                > h5 {
                    padding: 13px 20px;
                }
            }
        }

        > li.has-sub {
            .menu-arrow & {
                > a,
                > h5 {
                    &:after {
                        content: "\f107";
                        font-family: "FontAwesome";
                        padding-left: 8px;
                    }
                }
            }
        }
    }

    .popup { 
        position: absolute; 
        left: 0; 
        display: none; 
        margin: 0; 
        visibility: hidden;
        z-index: 1;
        @include box-shadow($menu-popup-box-shadow);
        @include transition($menu-popup-transition);

        > .inner {
            padding: 0px; 
            display: block; 
        }
        
        ul { 
            display: inline-block; 
            position: relative; 
            padding: 0; 
            z-index: 10; 
            
            li {
                display: block; 
                padding: 0; 
                position: relative; 
                float: none; 
                height: auto; 
                width: 210px;
                
                > a, li > a,
                > h5, li > h5 {
                    display: inline-block; 
                    padding: 8px 0 8px 12px; 
                    margin: 0; 
                    text-decoration: none; 
                    
                    .tip {
                        top: 2px;
                        margin-left: 4px;
                    }
                }
                
                &:hover > ul { display: block; }
                
                ul { 
                    position: absolute; 
                    left: 100%; 
                    top: 0;
                    height: auto; 
                    display: none; 
                }
            }
        }
    }
    
    .wide .popup {

        li > a,
        li > h5 {
            padding: 6px 0;
            
            .tip {
                top: 6px;
            }  
        }
        
        > .inner {
            padding: 25px 0 0;
            > ul {
                padding: 0 0 30px;

                > li {
                    float: left;

                    > a,
                    > h5 {
                        padding: 15px 0 15px 25px;

                        .tip {
                            top: 9px;
                        }
                    }

                    > ul {
                        padding: 0 25px;

                        > li {
                            > a, li > a,
                            > h5, li > h5 {
                                font-family: inherit;
                                font-weight: normal;
                                font-size: 15px;
                            }

                            > a,
                            > h5 {
                                padding-left: 14px;
                            }

                            > a:before,
                            > h5:before {
                                content: "\f04d";
                                font-family: 'FontAwesome';
                                font-size: 6px;
                                position: absolute;
                                left: 0;
                            }
                        }
                    }
                }
            }
        }
        
        ul { 
            display: block; 
            position: relative; 
            left: 0; 
            
            ul { 
                padding-left: 20px; 
                top: 0; 
                
                li { 
                    display: block; 
                    text-transform: capitalize; 
                }
                ul ul { 
                    padding-left: 10px; 
                }
            }
        }
    }
    
    .narrow .popup ul {
        @include transition($menu-narrow-transition);

        li {
            border-top: $menu-narrow-li-border-top; 
            border-bottom: $menu-narrow-li-border-bottom;

            > a, li > a,
            > h5, li > h5 {
                padding-left: 20px;
            }
        }

        ul {
            @include box-shadow($menu-popup-box-shadow);
        }
    }
    
    .pos-right .popup { 
        right: 0px; 
        left: auto; 
        
        ul li {
            ul { 
                left: -100%; 
            }
        }
    }
    
    .tip {
        font-size: 11px;
        font-weight: bold;
        line-height: 11px;
        font-family: Arial,sans-serif;
        text-transform: uppercase;
        padding: 2px 3px;
        position: absolute;
        top: 3px;
        left: 100%;
        margin-left: 4px;
        z-index: 1;
    }
    
    .menu-block {
        text-transform: none;
        padding: 15px 25px;
    }
}

/* Accordion Menu */

.accordion-menu {
    li > a,
    li > h5 {
        position: relative;
        display: inline-block;
        outline: medium none;
        text-decoration: none;
        margin: 0 45px 0 0;
        padding: 10px 0 10px 20px;
        line-height: 25px;
    }

    .arrow {
        position: absolute;
        top: 7px;
        right: 0;
        display: none;
        width: 18px;
        height: 18px;
        cursor: pointer;
        text-align: center;
        font-family: "FontAwesome";
        font-size: 10px;
        line-height: 17px;
        vertical-align: top;

        &:before {
            content: "\f067";
        }
    }

    .open > .arrow:before {
        content: "\f068";
    }

    > ul > li {
        padding-right: 0;

        > a,
        > h5 {
            font-size: 16px;
            font-weight: bold;
        }

        > ul.children {
            display: none;
        }

        > ul > li > ul {
            padding-top: 10px;
            padding-bottom: 10px;
            border-top: $menu-narrow-li-border-top;
            border-bottom: $menu-narrow-li-border-bottom;

            > li > a:before,
            > li > h5:before {
                content: "\f04d";
                font-family: 'FontAwesome';
                font-size: 6px;
                position: absolute;
                top: 10px; left: -12px;
            }
        }

        &:first-child {
            border-top-width: 0;
        }
    }

    ul {
        list-style: none;
        margin: 0;
        padding: 0;

        > li.has-sub > span.arrow {
            display: inline-block;
        }

        li {
            position: relative;
            border-top: $menu-narrow-li-border-top;
            border-bottom: $menu-narrow-li-border-bottom;

            &:last-child {
                border-bottom-width: 0;
            }
        }

        > li.has-sub {
            > span.arrow {
                width: 45px;
                height: 45px;
                line-height: 45px;
                top: 0;
                font-size: 14px;
                font-weight: normal;
                background: transparent;
                border: medium none;
                border-radius: 0;
                @include box-shadow(none);
            }
        }

        ul {
            display: none;
            margin-left: 0;
            list-style: none;
            padding: 0;

            li > a,
            li > h5 {
                padding-left: 40px;
                line-height: 20px;
            }

            > li.has-sub > span.arrow { height: 41px; line-height: 43px; }

            ul {
                padding-left: 65px;
                margin-left: 0;

                li > a,
                li > h5 {
                    padding-left: 0;
                    line-height: 16px;
                    font-size: 15px;
                }

                span.arrow { display: none !important; }

                li {
                    border-width: 0;
                    text-transform: capitalize;
                }

                ul {
                    display: block;
                    padding-left: 8px;
                }
            }
        }
    }

    .tip {
        font-size: 11px;
        font-weight: bold;
        line-height: 11px;
        font-family: Arial,sans-serif;
        text-transform: uppercase;
        padding: 4px 4px 2px;
        position: absolute;
        top: 3px;
        left: 100%;
        margin-left: 4px;
        z-index: 1;
    }

    .menu-block {
        text-transform: none;
        padding: 20px 15px;
    }
}

#main-mobile-menu .accordion-menu {
    position: absolute; 
    left: 15px; 
    right: 15px; 
    display: none; 
    z-index: 20;
    @include box-shadow($menu-popup-box-shadow);
}

/* Sidebar Menu */

.widget_sidebar_menu {
    .widget-title {
        font-size: 17px;
        font-weight: bold;
        padding: 12px 18px;
        position: relative;

        .toggle {
            position: absolute;
            z-index: 0;
            display: inline-block;
            width: 25px;
            height: 25px;
            padding: 0;
            margin: 0;
            right: 10px;
            top: 50%;
            margin-top: -10.5px;
            text-align: center;
            font-family: "FontAwesome";
            font-size: 18px;
            font-weight: normal;
            line-height: 24px;
            cursor: pointer;
            @include box-shadow(none);

            &:before {
                content: "\f0c9";
                width: 100%;
                text-align: center;
            }
        }
    }
}

.widget .sidebar-menu {

    li > a,
    li > h5 {
        text-decoration: none;
        position: relative;
        margin: 0;
        padding: 11px 18px;
        outline: medium none;
    }

    li > h5 {
        cursor: pointer;
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0;

        li {
            position: relative;
        }
    }

    > ul > li {
        > a,
        > h5 {
            font-size: 15px;
            font-family: inherit;
            line-height: 21px;
        }
        > a, li > a,
        > h5, li > h5 {
            .tip {
                top: 7px;
                margin-left: -20px;
            }
        }

        .arrow {
            border-radius: 0 !important;
            border-width: 0 !important;
            background: transparent !important;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
            width: 45px;
            height: 45px;
            line-height: 45px;
            font-size: 20px;
            top: 0;
            right: 0;

            &:before {
                content: "\f107";
            }
        }

        &.open .arrow:before {
            content: "\f104";

            .column2-left-sidebar & {
                content: "\f105";
            }
        }

        li > a,
        li > h5 {
            padding: 13px 25px;
            line-height: 25px;
        }
    }

    > ul {
        > li {
            .menu-arrow & {
                > a,
                > h5 {
                    padding: 13px 20px;
                }
            }
        }

        > li.has-sub {
            .menu-arrow & {
                > a,
                > h5 {
                    &:after {
                        content: "\f107";
                        font-family: "FontAwesome";
                        padding-left: 8px;
                    }
                }
            }
        }
    }

    .popup {
        position: absolute;
        top: 0;
        display: none;
        margin: 0;
        visibility: hidden;
        z-index: 1;
        @include box-shadow($menu-popup-box-shadow);
        @include transition($menu-popup-transition);

        > .inner {
            padding: 0px;
            display: block;
        }

        ul {
            display: inline-block;
            position: relative;
            padding: 0;
            margin: 0;
            z-index: 10;

            li {
                display: block;
                padding: 0;
                position: relative;
                float: none;
                height: auto;
                width: 210px;

                > a, li > a,
                > h5, li > h5 {
                    display: inline-block;
                    padding: 8px 0 8px 12px;
                    margin: 0;
                    text-decoration: none;

                    .tip {
                        top: 2px;
                        margin-left: 4px;
                    }
                }

                &:hover > ul { display: block; }

                ul {
                    position: absolute;
                    top: 0;
                    height: auto;
                    display: none;
                }
            }
        }
    }

    .wide .popup {

        li > a,
        li > h5 {
            padding: 6px 0;

            .tip {
                top: 6px;
            }
        }

        > .inner {
            padding: 25px 0 0;
            > ul {
                padding: 0 0 30px;

                @media #{$screen-normal} {
                    min-width: 502px;
                }

                > li {
                    float: left;

                    @media #{$screen-normal} {
                        min-width: 50%;
                    }

                    > a,
                    > h5 {
                        padding: 15px 0 15px 25px;

                        .tip {
                            top: 9px;
                        }
                    }

                    > ul {
                        padding: 0 25px;

                        > li {
                            > a, li > a,
                            > h5, li > h5 {
                                font-family: inherit;
                                font-weight: normal;
                                font-size: 15px;
                            }

                            > a,
                            > h5 {
                                padding-left: 14px;
                            }

                            > a:before,
                            > h5:before {
                                content: "\f04d";
                                font-family: 'FontAwesome';
                                font-size: 6px;
                                position: absolute;
                                left: 0;
                            }
                        }
                    }
                }
            }
        }

        ul {
            display: block;
            position: relative;
            left: 0;

            ul {
                padding-left: 20px;
                top: 0;

                li {
                    display: block;
                    text-transform: capitalize;
                }
                ul ul {
                    padding-left: 10px;
                }
            }
        }
    }

    .narrow .popup {
        .left-sidebar & {
            left: 100%;
        }

        .right-sidebar & {
            right: 100%;
        }

        ul {
            @include transition($menu-narrow-transition);

            li {
                border-top: $menu-narrow-li-border-top;
                border-bottom: $menu-narrow-li-border-bottom;

                > a, li > a,
                > h5, li > h5 {
                    padding-left: 20px;
                }
            }

            ul {
                @include box-shadow($menu-popup-box-shadow);

                .left-sidebar & {
                    left: 100%;
                }

                .right-sidebar & {
                    right: 100%;
                }
            }
        }
    }

    .tip {
        font-size: 11px;
        font-weight: bold;
        line-height: 11px;
        font-family: Arial,sans-serif;
        text-transform: uppercase;
        padding: 2px 3px;
        position: absolute;
        top: 3px;
        left: 100%;
        margin-left: 4px;
        z-index: 1;
    }

    .menu-block {
        text-transform: none;
        padding: 15px 25px;
    }
}

.widget_sidebar_menu {
    .accordion-menu {
        display: none;
    }

    @media #{$screen-medium} {
        .sidebar-menu {
            display: none;
        }

        .accordion-menu {
            display: block;
        }
    }
}

.mega-menu,
.sidebar-menu,
.accordion-menu {

    .products {
        .product {
            padding-left: 5px;
            padding-right: 5px;

            > .inner {
                background: transparent;
                padding: 17px 10px 25px;
                min-height: 0 !important;
            }

            .labels {
                font-size: 14px;
                width: 50px;
            }

            .onhot,
            .onsale {
                padding: 6px 0;

                &.circle {
                    height: 50px;
                    width: 50px;
                    border-radius: 25px;
                    padding: 18px 0 17px;
                }
            }

            .bottom-left .onhot,
            .bottom-left .onsale,
            .bottom-right .onhot,
            .bottom-right .onsale {
                &.circle {
                    margin-bottom: -15px;
                    margin-top: 5px;
                }
            }
        }

        &.list .product {
            > .inner {
                padding: 15px 10px 25px;
            }
        }

        .product-image {
            width: 176px;

            .price-box {
                border-radius: 40px;
                width: 80px;
                height: 80px;

                .price {
                    margin-top: 30px;
                    font-size: 17px;

                    del,
                    .from {
                        font-size: 14px;
                    }
                }

                &.price-variable {
                    .price {
                        margin-top: 17px;
                        line-height: 0.3;

                        .amount {
                            line-height: 1.2;
                        }
                    }
                }
            }
        }

        &.list .product-image {
            width: 150px;
        }

        &.list .product-details {
            padding-left: 0;
        }
    }

    .entry-title,
    .page-title {
        padding: 0;
        margin: 0 0 20px;
        line-height: 25px;

        &:before,
        .line {
            display: none;
        }
    }

    .title-desc,
    .slider-desc {
        font-size: 15px;
        margin-top: -10px;
    }

    .owl-theme .owl-controls .owl-buttons div {
        font-size: 18px;
        width: 35px;
        height: 25px;
        line-height: 23px;
    }

    .owl-controls {
        top: -45px;
    }

    .with-desc .owl-controls {
        top: -38px;
    }

    .notitle.arrow-top {
        margin-top: 50px;

        .owl-theme .owl-controls .owl-buttons div {
            top: -40px;
        }
    }

    .notitle.arrow-bottom {
        margin-bottom: 50px;

        .owl-theme .owl-controls .owl-buttons div {
            bottom: -40px;
        }
    }

    .products.show-desc div[itemprop="description"] {
        display: none;
    }
}

.accordion-menu {
    .entry-title,
    .page-title,
    .title-desc,
    .slider-desc {
        padding-left: 25px;
    }
}
