.navbar {
    font-family: $navbar-font-family;
    @include border-radius(0);    
    border: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    @extend .padding-0;

    > .col-12{
        @extend .padding-0;
    }
    
    .navbar-brand {
        @include three-dots-overflow();
    }    
    .navbar-toggle {
        text-decoration: none;
        color: $white;
        width: 20px;
        height: 20px;
        margin-top: -4px;
        margin-right: 17px;
        &:before {
            content: '\E8D5';
            font-family: 'Material Icons';
            font-size: 26px;
        }
    }
    .navbar-collapse {
        &.in {
            overflow: visible;
        }
    }
}
.ls-toggle-menu{   

    .sidebar {
        margin-left: -300px;
    }

    section.content {
        @extend .m-l-0;
    }
}

.ls-closed {
    .sidebar {
        margin-left: -300px;
    }
    section.content {
        @extend .m-l-0;
    }
    .bars {
        line-height: 43px;
        color: $grey-800 !important;

        &:after,
        &:before {
            font-family: 'Material Icons';
            font-size: 24px;
            position: absolute;
            top:9px;
            left: 12px;
            margin-right: 10px;
            @include transform(scale(0));
            @include transition(all .3s);
        }
        &:before {
            content: '\E5D2';
            @include transform(scale(1));
        }
        &:after {
            content: '\E5C4';
            @include transform(scale(0));
        }
    }
    .navbar-brand {
        margin-left: 30px;
    }
}

.overlay-open {

    .bars {        
        &:before {
            @include transform(scale(0));
        }
        &:after {
            @include transform(scale(1));
        }
    }
}

.navbar-header {    
    @extend .p-l-15;
    width: 250px;
    line-height: 60px;
    @extend .inlineblock;
    font-size: 0;
    background: $white;    

    .navbar-brand{
        @extend .padding-0;
        font-size:18px;
    }
    .bars {
        float: left;
        text-decoration: none;
    }
}

.navbar-nav {
    &.navbar-left, 
    &.navbar-right  {
        @extend .inlineblock;
        vertical-align: top;       
                
        > li {
            @extend .inlineblock;
        }
    }    
    &.navbar-left{
        .dropdown-menu{
            left: 0;
            right: auto;
            @extend .padding-0;
            ul.menu{
                li{
                    list-style: none;
                    border-bottom:none;
                }
            }
        }
        .input-group{
            @extend .m-b-0;
            @extend .m-l-10;
            padding-top: 9px;

            .form-control:focus {
                border: 1px solid $white;                
                color: $grey-800;
                border-right:none;

                ~ .input-group-addon{
                    border: 1px solid $white;
                    background-color: $white;
                    border-left: none;
                    color: $grey-800;
                }
            }

            .input-group-addon{
                background-color: transparent;
                color: $white;
            }
        }
    }
    &.navbar-right {
        float: right;
        .dropdown-menu{
            position: absolute;
        }
    }

    >li {
        >a {
            padding: 5px 15px 0 15px;
            line-height: 51px;
            @extend .inlineblock;
            i {
                font-size: 20px;
            }
        }
    }
}

.label-count {
    position: absolute;
    top: 2px;
    right: 6px;
    font-size: 10px;
    line-height: 15px;
    background-color: $black;
    padding: 0 4px;
    @include border-radius(3px);
}

@each $key,
$val in $colors {
    .col-#{$key} {
        .navbar {
            @include navbar-link-color($white, $black, .95);           
        }
    }
}
@media (max-width: 1169px) {
    .navbar-header{
        width: auto;
    }
    .ls-toggle-btn{
        display: none !important;
    }

}

@media (max-width: 767px) {
    .navbar {
        .navbar-toggle {
            position: relative;
            margin-right: 12px;
            margin-top: 10px;
            &:before {
                position: absolute;
                top: 0;
                left: 0;
            }
        }
    }    
}
@media (max-width:500px){
    .navbar-header{
        .navbar-brand{
            span{
                display: none;
            }
        }
    }
    .block-header{        
        h2{            
            small{
                display: inline-block !important;
            }
        }
    }
}
@media (max-width:325px){
    .navbar{
        .navbar-left{
            display: none !important ;
        }
    }
}