


//** simple and lightweight mixin library for Sass **
//-- url : http://bourbon.io/docs ---
@import 'bourbon/bourbon';

//** Mixins for Rem Font Sizing **
//-- url : http://hugogiraudel.com/2013/03/18/ultimate-rem-mixin/
@import 'utilities/rem';

//** Variables for responsive design in bootstrap with sass **
//-- url : https://gist.github.com/webinfinita/11407836
@import 'utilities/bootstrap_breakpoints';

//** Makes supporting both left-to-right (LTR) and right-to-left (RTL) easy.**
//-- url : https://github.com/tysonmatanich/directional-scss
@import 'utilities/directional';

//Mixins utilities
@import 'utilities/theme_variables';
@import 'utilities/utilities';

/*===============================================
    [SASS DIRECTORY ]
    
    [1] BLOCK HEADER

    
==============================================*/

.typeheader-8{
    position: relative;
    display: inline-block;
    width: 100%;
    @media (min-width: 992px){
        margin-bottom: -9px;
    }
    background-color: #fff;
    .container-megamenu.horizontal ul.megamenu > li > a strong img{
        display: none;
    }
    // MENU ON TOP
    &.navbar-compact{
        .navbar-logo{
            padding: 8px 0;
        }
    }
    @media (min-width: 992px){
   
    }
    .header-top{
        min-height: 48px;
        background-color: #f5f5f5;

        .module{
            display: table-cell;
            margin-bottom: 0;
        }
        .dropdown-menu{
            li{
                line-height: 22px;
            }
        }
    }
    ul.top-link{list-style: none;margin:0; float: $left; 
        .dropdown-menu{

        }
        > li{                
            float: $left;
            position: relative;           
            list-style: outside none none;
            padding-#{$left}: 20px;
            margin-#{$left}: 20px;
            padding-#{$right}: 0;
            font-size: 12px;
            i{
                padding-#{$right}: 5px;
            }
            &.language{
                min-height: 23px;
            }
            .btn-group{
                display: inline;
                
                padding: 0;
                .btn-link{
                    padding: 0;
                    border: none;
                    color: #888;    
                    text-transform: uppercase;       
                    line-height: 48px;         
                }
            } 
            .fa-caret-down{
                font-size: 12px;
            }
            &:after {
                background-color: rgba(102,102,102,0.4);
                content: "";
                height: 10px;
                position: absolute;
                #{$left}: 0;
                top: 20px;
                width: 1px;
            }
            >   a {
                font-size: 12px;
                color: #888;
                line-height: 48px;
            }
            
            /*&.account{
                line-height: 40px;
                > a{
                    padding: 0;
                    margin: 0;
                }
                &:before{
                    content: "\f007"; 
                    font-family: FontAwesome;
                    font-size: 13px;
                }
                .dropdown-menu {
                    #{$left}: 0;
                    #{$right}: auto;
                }                      
            }
            &.wishlist{
                &:before{
                    content: "\f004"; 
                    font-family: FontAwesome;
                    font-size: 11px;
                }  
            }*/


            &.account:hover  {
                ul.dropdown-link {top: 34px; z-index: 9999; opacity: 1; border-top: 1px solid rgba(200, 199, 199, 0.3);}
            }

            &.currency{
                &:after{
                    display: none;
                }
            }
            &.welcome-msg{
                line-height: 48px;
                padding-#{$left}: 0px;
                margin-#{$left}: 0px;
                &:after{
                    display: none;
                }
            }
            
        }
    }

    
    .navbar-logo{
        width: 230px;
        position: absolute;
        top: 0;
        #{$left}: 50px;
        display: block; text-align: center;
        padding: 35px 0;
        background-color: #fff;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
                -moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 0.1);
                box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    }
    .header-top,
    .header-bottom{
        padding: side-values(0 35px 0 305px);

    }
    .bottom-right{
        padding-top: 12px;
        padding-#{$left}: 0;
    }
    .header-top-right{
        .inner{
            float: $right;
        }
    }
    /*=====SEARCH ======*/
    .search-header-w{
        float: $right;
        
        #sosearchpro .search .select_category{
            display: none;
        }
      
        #sosearchpro .search{            
            padding: 0;
            width: 230px;
            border: none;
            background-color: #fff;
            border: 1px solid #eee;
            border-radius: 17px;
            margin: 0;
            input{
                width: 230px;
                border: none;
                height: 34px;
                line-height: 34px;
                padding-#{$left}: 20px;

            }
            .input-group-btn{
                position: absolute;
                #{$right}: 0;
                top: 0;
                height: 33px;
                line-height: 32px;
                width: 36px;
            }
            button{
                background-color: #fff;
                border-radius: 18px;
                color: #222;
                padding: 0;
                width: 36px;
                text-align: center;
                height: 33px;
                line-height: 32px;
                i{
                   margin: 0;
                    font-size: 14px;
                    width: 36px;
                    height: 34px;
                    line-height: 32px;
                }
                span{
                    display: none;
                }
            }
        }
       
    }


    /*BLOCK CART*/
    #cart .dropdown-menu{
        margin-#{$right}: 0;
    }
    .shopping_cart{
        float: $right;
        margin-#{$left}: 20px;
        .btn-shopping-cart{
            .shopcart{
                .icon-c{
                    width: 34px; height: 34px;
                    border-radius: 50%;
                    font-size: 14px;
                    color: #fff;
                    line-height: 34px; text-align: center;
                    float: $left;
                }
                .shopcart-inner{
                    float: $left;
                    line-height: 32px;
                    p{
                        display: none;
                    }
                    .total-shopping-cart{
                        .items_cart2,
                        .items_cart{
                            display: none;
                        }
                        .items_carts{
                            text-indent: -6px;
                            display: block; overflow: hidden;
                            color: #333;
                        }
                    }
                }
            }
        }
    }

    /*MENU MEGA*/
    .megamenu-style-dev{
        .navbar-default{ background: transparent; }
    }

    .megamenu-pattern .container{
        width: auto;
    }
    .container-megamenu.horizontal ul.megamenu > li{
        margin-#{$right}: 40px;
        > a{            
            line-height: 100%;
            color: #222;
            font-size: 14px;
            font-weight: 500;
            padding: 23px 0 22px 0;
            strong{
                font-weight: 500;
            }
        }
        
        &:hover,
        &.active,
        &.menu_active{
            > a{                

            }
        }
        &.style-page{
            > .sub-menu{
                #{$right}: 0 !important;
            }
        }
        
    }    


}

@media (max-width: 1365px){

    .typeheader-8{   
        .search-header-w{
            position: absolute;
            top: 11px;
            #{$right}: 120px;
            z-index: 99;
            .searchw-inner{
                position: relative;
            }
      
            .icon-search{                
                width: 40px;
                height: 40px;
                text-align: center;
                line-height: 40px;  
                display: block !important;
                i{
                    font-size: 16px;
                    color: #222;
                }
                &.active{
                    i::before{
                        content:"\f00d";
                    }
                }
                &:hover{
                    cursor: pointer;
                }

            }
           #sosearchpro .search{
                display: none;
                position: absolute;
                top: 40px;
                #{$right}: 0px;
           
            }
            &:hover{

                #sosearchpro .search{
                    
                }
            }
        }
    }

}