


//** 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-1{
    background-color: #222222;

    // MENU ON TOP
    &.navbar-compact{
        .so-topbar{
            display: none;
        }
        .header-middle{
            padding: 10px 0 0px 0;
        }
        .container-megamenu.horizontal ul.megamenu > li > a strong img{
            display: none;
        }
    }
    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: 13px;
            i{
                padding-#{$right}: 5px;
            }
            &.language{
                min-height: 23px;
            }
            .btn-group{
                display: inline;
                line-height: 40px;
                padding: 12px 0;
                .btn-link{
                    padding: 0;
                    border: none;
                    color: #fff;                    
                }
            } 
            .fa-caret-down{
                font-size: 12px;
            }
            &:after {
                background-color: rgba(255,255,255,0.1);
                content: "";
                height: 14px;
                position: absolute;
                #{$left}: 0;
                top: 14px;
                width: 1px;
            }
            >   a {
                font-size: 12px;
                color: #fff;
                line-height: 40px;
                &:before{
                    padding-#{$right}: 3px;
                }
            }

            &.log{
                a i{
                    margin-#{$left}: 5px;
                }
            }

            &.account:hover  {
                ul.dropdown-link {top: 34px; z-index: 9999; opacity: 1; border-top: 1px solid rgba(200, 199, 199, 0.3);}
            }
            &.telephone,
            &.currency{
                padding-#{$left}: 0;
                margin-#{$left}: 0;
                &:after{
                    display: none;
                }
            }
            
        }
    }

    .header-top{
        min-height: 40px;
        background-color: #373737;

        .module{
            display: table-cell;
            margin-bottom: 0;
        }

        .dropdown-menu{
            li{
                line-height: 22px;
            }
        }
        .header-top-right {
            .inner{
                float: $right;
            }
        }

    }

    .header-bottom{
        clear: both;
        padding: 10px 0;
    }

    .telephone { 
        color: #fff;   
        a{
            color: #fff;            
        }
    }
    .welcome-msg{      
        color: #fff;
        line-height: 40px;
    }
    .logo{
        margin-top: 6px;
    }
    .main-menu-w{
        position: relative;
        .main-right{
            position: absolute;
            top: 5px;
            #{$right}: 15px;
        }
    }

    /*=====SEARCH ======*/
    #sosearchpro .dropdown-menu .media-body .box-price span{
        float: $left;
        padding-#{$left}: 0px;
        padding-#{$right}: 10px;
    }
    .search-header-w{
        float: $right;
        margin-#{$right}: 30px;
        #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;
            z-index: 99;
            input{
                width: 230px;
                border: none;
                height: 34px;
                line-height: 34px;
                padding-#{$left}: 20px;

            }
    
            button{
                background-color: #fff;
                border-radius: 18px;
                color: #444;
                padding: 0;
                width: 36px;
                text-align: center;
                height: 33px;
                line-height: 32px;
                position: absolute;
                #{$right}: 0;
                top: 0;
                i{
                   margin: 0;
                    font-size: 14px;
                    width: 32px;
                    height: 32px;
                    line-height: 32px;
                }
                span{
                    display: none;
                }
            }
        }
        .icon-search{                          
            display: block !important;
            background-image: url(#{$imgPath}icon/icon-header.png);
            background-repeat: no-repeat;
            background-position: 0px -45px;
            width: 20px;
            height: 25px;
            /*i{
                font-size: 14px;
                color: #444;
            }
            &.active{
                i::before{
                    content:"\f00d";
                }
            }*/
            &:hover{
                cursor: pointer;
            }

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


    /*BLOCK CART*/
    #cart .dropdown-menu{
        top: 37px;
    }
    .shopping_cart{
        float: $right;  
        .btn-shopping-cart {
            position: relative;
            height: 30px;
            width: 35px;
            padding-bottom: 10px;
            padding-#{$left}: 10px;
            .top_cart .shopcart-inner{
                float: $left;
                color: #fff;       
                position: relative;
                height: 25px;
                &:before{
                    background-image: url(#{$imgPath}icon/icon-header.png);
                    background-repeat: no-repeat;
                    background-position: -80px -47px;
                    width: 20px;
                    height: 25px;
                    position: absolute; content: "";
                    display: block;
                    top: 0; #{$left}: 0;
                }
                .text-shopping-cart{
                    font-size: 14px;
                    margin-top: 0px;
                    margin-bottom: 7px;
                    line-height: 100%;
                    display: none;
                }
                .total-shopping-cart{
                    font-size: 14px;
                    float: $left;
                    line-height: 100%;
                    font-weight: 500;
                    .items_carts,
                    .items_cart2{
                        display: none;
                    }
                    .items_cart{
                        width: 22px; 
                        height: 22px;
                        line-height: 22px;    
                        text-align: center;
                        @include border-radius(100%);
                        position: absolute;
                        bottom: -10px;
                        #{$left}: -12px;
                        font-size: 12px;
                        color: #fff;   
                        font-weight: 500;
                    }
                }
            } 
                
        } 
        .dropdown-menu{ top: 100%; #{$right}: -15px; #{$left}: auto;
            color: #666;
        }
        .shoppingcart-box:before{right: 50px;}
    }

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


    .container-megamenu.horizontal ul.megamenu > li{
        margin-#{$right}: 30px;
        > a{            
            line-height: 100%;
            color: #fff;
        }
        &.item-special{
            margin-#{$right}: 0px;
            > a{
                color: #ffde00;
                &:hover{
                    color: #f44336;
                }
            }
        }
        
        &:hover,
        &.active,
        &.menu_active{
            > a{                
                
            }
        }
        
    }    

}


