.main-logo {
    position: relative;
    overflow: hidden;
    h1{
        position: absolute;
        right: 100%;
    }
    &.text-logo {
        // text-align: center;
        font-size: 32px;
        font-weight: 400;
        line-height: 1.2;
        color: #333;
        a{
            color: #333;
        }
    }  	
    img {
        max-width: 100%;
    }
}

.mid-inline, .mid-stack {
    .text-logo {
        text-align: center;
    }
}

.site-header {	
    border-bottom: 1px solid #ccc;
    //box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
    position: relative;
    z-index: 11;
    margin-bottom: 60px;
    &.fixed {
        //position: fixed;
        //z-index: 99;
        //width: 100%;
    }
    &.site-header-customize{

    }
    .top-section-wrap{
        //@include media-breakpoint-down(lg){
        //padding-top: 15px !important;
        //padding-bottom: 15px !important;
        //}
    }
}

.header_nomargin{
    .site-header {
        margin-bottom: 0px;
    }
    .nb-page-title-wrap{
        margin-top: 0;
        margin-bottom: 0;
    }
}
.header_nobor{
    .site-header {
        border-bottom: 0px none;
    }
}
.header_noshadow{
    .site-header {
        box-shadow: none;
    }
}

.admin-bar {
    .site-header.fixed {
        //top: 32px;
    }
}

.flex-section {
    @include flex();
}

.equal-section {
    flex: 1 1 0;
}

.flex-end {
    @include justify(flex-end);
    nav {
        li:last-of-type {
            a {
                padding-right: 0;
            }
        }
    }
}

.nb-navbar, .nb-header-sub-menu {
    ul {
        padding-left: 0;
        list-style-type: none;
    }
    .menu-item{
        &:hover,
            &.current-menu-parent,
            &.current-menu-item{
            > a{

            }
        }
    }
}

.stuck {
    @extend .animated;
    @extend .fadeInDown;
    position:fixed;
    top:0;
    width: 100%;
    &.bot-section-wrap, &.middle-section-wrap {
        transition: all .2s ease;
        border-bottom: 1px solid #ccc;
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
        width: 100%;
        background: #fff;
        z-index: 9999;
    }
}

.admin-bar .stuck {
    top: 32px;
}
// style header top
.top-section-wrap{
    border-bottom: 1px solid #ececec;
    &:before,
        &:after{
        content: '';
        display: block;
        clear: both;
    }
    .header-top-left{
        .textwidget{
            .usd,.english{
                &:after{
                    content: '\f107';
                    font-family: 'fontello';
                }
                >img{
                    margin: 3px 0;
                    padding-right: 10px;
                }
            }
            >ul{
                >li{
                    display: inline-block;
                    position: relative;
                    padding: 0 15px;
                    .top-submenu{
                        display: none;
                        position: absolute;
                        left: 0px;
                        min-width: 150px;
                        z-index: 999;
                        border-radius: 5px;
                        margin: 0;
                        background-color: #fff;
                        box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
                    }
                    &:hover{
                        .top-submenu{
                            display: block;
                            >li{
                                a{
                                    padding: 0 15px;
                                }
                            }
                        }
                    }
                }
                .has-children{
                    margin: -5px 0;
                  border-bottom: 0;
                    >a{
                        margin: 5px 0;
                    }
                }
                >li:not(:last-child){
                    &:after{
                        content: '|';
                        font-size: 12px;
                        position: absolute;
                        display: inline-block;
                        top: 50%;
                        right: -5px;
                        transform: translateY(-50%);
                        @include media-breakpoint-down(md){
                            content: '';
                        }
                    }
                }
                >li:first-child{
                    padding-left: 0px;
                }
            }
            .english{
                @include media-breakpoint-down(xs){
                    >span{
                        display: none;
                    }
                    img{
                        padding-right: 0;
                    }
                }
            }
        }
    }
    .header-top-right{
        .nbt_simplelogin{
            .simplemodal-register{
                &:before{
                    content: '\e91f';
                    font-family: 'fontello';

                }
                @include media-breakpoint-down(xs){
                    span{
                        display: none;
                    }
                }
            }
            .simplemodal-login{
                &:before{
                    content: '\e815';
                    font-family: 'fontello';

                }
                @include media-breakpoint-down(xs){
                    span{
                        display: none;
                    }
                }
            }
            .logged-in{
                &:before{
                    content: '\e816';
                    font-family: 'fontello';
                    padding-right: 10px;

                }
                @include media-breakpoint-down(xs){
                    span{
                        display: none;
                    }
                }
            }
            >ul{
                >li:not(:last-child){
                    &:after{
                        content: '|';
                        font-size: 12px;
                        position: absolute;
                        display: inline-block;
                        top: 50%;
                        right: -5px;
                        transform: translateY(-50%);
                        @include media-breakpoint-down(md){
                            content: '';
                        }
                    }
                }
                >li{
                    padding: 0 15px;
                    position: relative;
                    border: 0 none;
                    margin-right: 0;
                    >a{
                        &:before{
                            padding-right: 10px;
                            @include media-breakpoint-down(xs){
                                padding-right: 0;
                            }
                        }
                    }
                }
                >li:last-child{
                    padding-right: 0;
                }
            }
        }
    }
    .top-section{
        @include media-breakpoint-down(xs){
            justify-content: center;
        }
    }
}
.top-section {
    @include flex();
    @include justify(center);
    @include align-item(center);
	flex-wrap: wrap;
    font-size: 14px;
    color: #888;
	@include media-breakpoint-up(md){
		flex-wrap: nowrap;
		@include justify(space-between);
	}
    a{

    }
    .flex-section{
        .widget{
            margin: 0;
        }
        .menu{
            > li{
                display: inline-block;
                font-size: 14px;
                padding: 0 15px;
                margin-bottom: 0;
                border-right: 1px solid #ccc;
                border-bottom: 0;
                &:last-of-type{
                    border-right: 0;
                }
                &:first-child{
                    padding: 0 15px 0 0;
                }
            }
        }
        .socials-section{
            @include hidden('xs');
            ul{
                list-style-type: none;
                -webkit-padding-start: 0;
                padding: 0;
                li{
                    display: inline-block;
                    a{
                        font-size: 14px;
                        padding: 0 10px;
                    }
                }
            }
        }
        .header-search-wrap{
            .nb-input-group{
                border-bottom: 2px solid #999;
                border-radius: 25px;
                .search-field{
                    -webkit-appearance:none;
                    background: transparent;
                    height: 30px;
                    line-height: 30px;
                    border: 0 none;
                    box-shadow: none;
                    font-size: 12px;
                    color: #888;
                    &::-webkit-input-placeholder {
                        color: #ccc;
                    }
                    &:-moz-placeholder {
                        color: #ccc;
                        opacity:  1;
                    }
                    &::-moz-placeholder {
                        color: #ccc;
                        opacity:  1;
                    }
                    &:-ms-input-placeholder {
                        color: #ccc;
                    }
                }
                .search-button{
                    button{
                        background: transparent;
                        height: 30px;
                        line-height: 30px;
                        border: 0 none;
                        box-shadow: none;
                        font-size: 16px;
                        i{
                            color: #999 !important;
                        }
                    }
                }
            }
        }
        @include media-breakpoint-down(sm){
            //order: 1;
            &.header-image{
                //order: 0;
            }
        }
    }
}
.top-section,
.middle-section-wrap{
    a{
        &:hover{

        }
    }
}
.site-header{
    .header-cart-wrap{                    
        .nb-cart-section{
            position: relative;
            display: block;
            padding-right: 3px;
            white-space: nowrap;
            .amount{
                display: none;
            }
            .counter{
                font-weight: 600;
                text-transform: uppercase;
            }
        }
    }
}
.fs-hidden-xs{
    @include hidden('xs');
}