/*===============================================
    [SASS DIRECTORY ]
    
    [1] MEGA MENU VERTICAL 
    [2] MODULE HOME SLIDER  
    [3] MODULE EXTRA SLIDER
    [4] SHORT CODE BANNER 
    [5] SO LISTING TABS
    [6] SO DEALS
    [7] SO NEWSLETTER
==============================================*/
.common-home #content{
    margin-bottom: 40px;
}
#content{
    margin-bottom: 30px;
}
#content .so-page-builder .container,
.container-fluid .container{
    padding-left: 0px;
    padding-right: 0px;
}
.layout-19{
   .wrapper-fluid .container{
        max-width: 1600px;
   }
   a:focus, a:hover{
        color: $linkColor;
   }
}
/*body.layout-19{
    font-size: 13px;
}*/

.layout-19{
    .products-list .product-grid .product-item-container,
    .products-list .product-grid .product-item-container .right-block{
        background-color: #fff;
    }

}

/*====================== mod title ========================*/
.layout-19.common-home #content{
    .price .price-new, .price span.price{
        font-size: 14px;
    }
    .label-product-sale,
    .label-product-new,
    .label-new, 
    .label-sale{
        border-radius: 0;
        width: auto;
        height: auto; 
        line-height: 22px;
        padding: 0 10px;
        font-weight: 400; 
        text-transform: capitalize;
        color: #fff;
        display: inline-block;
        position: absolute;
    }
    .label-product-sale,
    .label-sale{
        #{$right}: 10px; top: 10px;
        background-color: $background;
    }
    .label-product-new,
    .label-new{
        #{$left}: 10px; top: 10px;
    }
    .module{       
        .form-group{
            font-size: 14px; color: #898989; text-align: center;
            line-height: 100%;
        }
        h3.modtitle{     
            font-size: 20px;
            color: #222;
            font-weight: 500;
            position: relative;
            margin-bottom: 25px;
            text-transform: capitalize;
            span{
                font-size: 20px;
                color: #222;
                font-weight: 500;
                text-transform: capitalize;
                margin-#{$right}: 20px;
            }
            &:after{
                content: '';
                width: 40px;
                height: 2px;
                background: $background;
                position: absolute;
                top: 50%;                        
            }
        }
    }
   

}


/************************************************************************************************
    MODULE HOME SLIDER  
*************************************************************************************************/

.module.sohomepage-slider .so-homeslider img{
    width: auto;
}
.sohomepage-slider .so-homeslider .owl2-nav div::before,
.sohomepage-slider .so-homeslider .owl2-nav div:hover:before{
    background-color: transparent !important;
}

.module.sohomepage-slider{
    margin: 20px 0 0 0;
    z-index: 0;
    .form-group{
        margin-bottom: 0;
    }
    .so-homeslider{
         border: none;
        img{
            width: auto;
        }
    }
    .owl2-controls .owl2-nav{
        .owl2-next,
        .owl2-prev{
            background: none !important;
            width: 45px;
            height: 45px;
            &:before{
                 content: "" !important;
                width: 45px;
                height: 45px;
                background: none;
                border-left: 3px solid #fff;
                border-top: 3px solid #fff;
                position: absolute;
                top: 0;
                @include opacity(0.3);
                @include transition(all 0.5s ease);
               
            }
            &:after{
                display: none;
            }
            &:hover:before{
                  @include opacity(1);
            }

        }
        .owl2-prev:before{
             #{$left}: 16px;
              #{$right}: inherit;
             transform: rotate(-45deg); 
        }
        .owl2-next:before{
            left: inherit;
            right: 16px;
            transform: rotate(135deg);  
        }
     }
    .owl2-controls{
        height: 0;
        .owl2-dots{
            bottom: 30px;
            text-align: center;
            position: relative;
            top: -45px;
            left: auto; right: auto;   
            z-index: 10;
            .owl2-dot {
              background: #fff !important;
              margin: 0 5px;
              width: 10px;
              height: 10px;
              padding: 0;
              transition: all 0.3s ease 0s;
              border-radius: 50%;
              float: none;
              display: inline-block;
              border: 2px solid transparent;

              span {
                background: #fff;
                display: block;
                width: 100%;
                height: 100%;          
                border-radius: 50%;
                border: 2px solid transparent;
                margin: 0;
              }
              &:hover{
                 background: $background !important;   
                 span {
                 
                  background: $background !important; 
                }
              }
              &.active {
                width: 10px;
                height: 10px;
                background: $background !important;   
                border-color: $background;
                span {
                 
                  background: $background !important; 
                   border-color: $background;
                }
              }
            }

        } 
    } 

}


/************************************************************************************************
    SHORTCODE HTML 
*************************************************************************************************/

.slider-brands{
    margin-top: 53px;
    margin-bottom: 55px;
    position: relative;
    .contentslider{
        position: static;
        direction: ltr;
    }
    .owl2-controls .owl2-nav{
        @include owl2-nav-style19(30px,18px,#757b8d,$background); 
        
    }
    .modcontent{
        border: 1px solid #ddd;
        border-#{$right}: none;
        @media (min-width: 1200px) and (max-width: 1650px){
            height: 227px;
        }
        
        .item{
            border-#{$right}: 1px solid #ddd;
            padding: 10px 0;
          text-align: center;
            > a:first-child{
                border-bottom: 1px solid #ddd;
            }
            a{
                display: block;
                &:hover img{
                    opacity: 0.8;
                }
            }
        }
    }


} 


.banners{
    .row{
        margin: 0 -10px;
        .item{
            padding: 0 10px;
        }
    }
}
.banners2 .item .item-m{
    margin-top: 20px;
    @media (min-width: 1200px) and (max-width: 1649px){
        margin-top: 14px;
    }
}
.banners2{
    margin: 20px 0 50px 0;
    a img{ width: 100%; }
}
.banners1{
    margin: 50px 0; 
    a img{ width: 100%; }
}

/************************************************************************************************
   MODULE EXTRA
*************************************************************************************************/
.extra-layout19{
    position: relative;
    .so-extraslider{
        margin: 0;
        .item{ margin: 0 1px; }
    }
    .owl2-controls{
        .owl2-nav{
            @include owl2-nav-style19(30px,18px,#757b8d,$background); 
        }
    }

    .pre-text{
        position: absolute;
        top: 0;
        #{$right}: 0;
        a{
            border: 1px solid #ccc;
            border-radius: 3px;
            display: block;
            padding: 0 10px;
            &:hover{
                border-color: $background;
                background-color: $background;
                color: #fff;
            }

        }
        
    }
    .products-list .product-grid .product-item-container .left-block .button-group{
        .loading{
            width: 42px !important;
            height: 42px;
            line-height: 42px;
            position: relative;
       
            &:before {
                top: 0px;
                left: 13px; color: $background;
            }
            &:hover:before{ color: #fff; }
        }
    }
    .products-list .product-grid .product-item-container{        
        border-radius: 0;
        margin-bottom: 10px;
        .left-block{
            padding: 10px;
            .cartinfo--center{
                bottom: 50%;
                margin-bottom: -21px;
                #{$left}: 0;

                .btn-button{
                    width: 42px !important;
                    height: 42px;
                    line-height: 42px;
                    @media (min-width: 1200px) and (max-width: 1649px){
                        width: 40px !important;
                        height: 40px;
                        line-height: 40px;
                    }
                    @include border-radius(0);
                    background-color: #fff;
                    border: 1px solid #ddd;
                    transition-delay: unset !important;
                    i{
                        width: 40px !important;
                        height: 40px;
                        line-height: 40px;
                        font-size: 18px;
                        color: $background;
                    }
                    &:hover{
                        background-color: $background;
                        border-color: $background;
                        i{ color: #fff; }
                    }
                }
            } 

        } 

        .right-block{
            padding: 10px 20px;
            border-top: 1px solid #ddd;
            position: relative;
            &:before{
                position: absolute;
                content: "";
                width: 50px; height: 1px;
                background-color: $background;
                top: -1px;
                #{$left}: 50%; margin-#{$left}: -25px;
            }
        }
        &:hover{
            border-color: $background;
            .left-block{
                .product-image-container{
                    opacity: 0.8;
                }
            }
        }
    } 
    
    .products-list .product-grid .product-item-container, 
    .products-list .product-grid .product-item-container .right-block{
        background: #fff;
        h4{            
            a{               
                font-weight: 500;
            }
        }
    }
    .products-list .product-grid .product-item-container:hover{
 
    }

}

.custom-extra19{
    position: relative;
    .so-extraslider{
        margin: 0;
       
    }
    .owl2-controls{
        .owl2-nav{
            @include owl2-nav-style19(30px,18px,#757b8d,$background); 
        }
    }
    .item{
        border-#{$right}: 1px solid #eeeeee;
        .product-layout:first-child{
            border-bottom: 1px solid #eeeeee;
            padding-bottom: 15px;
        }
    }
    .active:last-child{
        .item{ border: none; }
    }
    .extraslider-inner{
        &:after{
            position: absolute;
            content: "";
            width: 1px; height: 100%;
            background-color: #fff;
            top: 0; #{$right}: 0;
        }
    }

    .products-list .product-layout{
        .product-item-container{
            display: inline-block;
            .left-block{
                width: 180px;
                @media (min-width: 1200px) and (max-width: 1649px){
                    width: 165px;
                }
                float: $left;
                position: relative;
                .quickview { 
                    position: absolute;
                    top: 30%;
                    z-index: 9;
                    #{$left}: 50%; margin-top: -21px; margin-#{$left}: -21px;
                    
                    @include transition(all 0.3s ease-in-out 0s);
                    @include opacity(0); visibility: hidden;
                }
                .product-image-container{

                }
            }
            .right-block{
                margin-#{$left}: 200px;
                @media (min-width: 1200px) and (max-width: 1649px){
                    margin-#{$left}: 180px;
                }
                padding-top: 20px;
                h4{
                    font-weight: 500; margin-bottom: 5px;
                    a{
                        font-size: 14px;
                        color: #222;
                        &:hover{
                            color: $background;
                        }
                    }
                }
                .btn-button{
                    @include transform(scale(0));
                    @include effect-block-hide();
                }
            }
            .addToCart{
                height: 42px; line-height: 42px;
                @media (min-width: 1200px) and (max-width: 1649px){
                    height: 40px;
                    padding: 0 10px;
                }
                border: 1px solid #ddd;
                background-color: #fff;
                font-size: 14px;
                color: $background;
                transition: 0.2s all ease-in-out;
                margin-#{$right}: 5px;
                padding: 0 20px;
                i{
                    font-size: 18px;      
                    padding-#{$right}: 8px;              
                }
                &:hover{
                    background-color: $background;
                    border-color: $background;
                    color: #fff;
                }
            }
            .btn-button{
                width: 42px;
                height: 42px;
                line-height: 42px;
                @media (min-width: 1200px) and (max-width: 1649px){
                    width: 40px !important;
                    height: 40px;
                    line-height: 40px;
                }
                text-align: center;
                @include border-radius(0);
                background-color: #fff;
                border: 1px solid #ddd;
                transition: 0.2s all ease-in-out;
                margin: 0 5px;
                i{
                    font-size: 18px;
                    color: $background;
                }
                span{ display: none; }
                &:hover{
                    background-color: $background;
                    border-color: $background;
                    i{ color: #fff; }
                }
            }
            &:hover{
                .left-block{
                    .product-image-container{
                        opacity: 0.2;
                    }
                    
                    .quickview { @include opacity(1); visibility: visible; top: 50%; }
                }
                .right-block{
                    .btn-button{
                        @include transform(scale(1));
                        @include effect-block-show();
                    }
                }
            }
        }
    }
}


/************************************************************************************************
    SO DEALS
*************************************************************************************************/
.row-deals{
    margin: 0 -10px;
    position: relative;
    padding-top: 50px;
    .col-deals{
        padding: 0 10px;
        position: static;
    }
    .head-title{
        display: inline-block; width: 100%;
        top: 0; #{$left}: 10px;
        position: absolute;
    }
}
.so-deals-slick .deals-nav .slick-prev{
    border-#{$left}: none;
}
.deals19-slick{
    .modtitle{
        .head_name{
            font-size: 20px; color: #222;
            font-weight: 500;
            position: relative;
            padding-#{$right}: 55px;
            float: $left;
            padding-top: 5px;
            &:after{
                position: absolute;
                content: "\f0e7";
                font-family: "FontAwesome";
                top: 0; #{$right}: 20px;
                font-size: 30px;
                color: $background;
            }
        }
        .cslider-item-timer{
            .product_time_maxprice{
                background-color: $background;
                display: inline-block;
                padding: 5px 20px;
                .time-item{
                    background-color: $background;
                    line-height: 100%;
                    float: $left;
                    text-align: center;
                    width: auto;
                    margin-#{$right}: 10px;
                    position: relative;
                    .num-time{
                        border: none;
                        font-size: 13px;
                        color: #fff;
                        font-weight: 400;                        
                        padding: side-values(0 5px 0 0);                      
                        line-height: 25px;
                        //background-color: $background;
                        border-radius: 5px;
                        float: $left;
                    }
                    .name-time{
                        float: $left; line-height: 25px;
                        font-size: 13px;
                        color: #fff;
                        font-weight: 400; 
                    }
                    &:after{
                        position: absolute; content: ":";
                        top: 6px; #{$right}: -7px; color: #fff;
                    }
                    &.time-sec{   
                        margin-#{$right}: 0px; 
                        &:after{
                            display: none;
                        }
                    }
                }
            }
        }
    }
&.deals19-slick2,
&.deals19-slick3{
    
    .modtitle .cslider-item-timer{
        /*display: none;*/
    }
}
    .modcontent{
        border: 1px solid #ddd;
        padding: 30px;
        margin-top: 12px;
    }
    .so-deals-slick.slick-vertical{
        .slick-list{ 
            min-height: 420px;  
            @media (min-width: 1200px) and (max-width: 1649px){
                min-height: 350px;  
            }
        }

        direction: ltr;        
        position: relative;
        margin: 0;
        .slick-slide{
            float: left;
        }
            .slick-prev,
            .slick-next{
                float: $left;
                width: 42px;
              height: 42px;
              line-height: 44px;
              text-align: center;
              text-indent: -9999px;
              overflow: hidden;
              cursor: pointer;
              background-color: #aeaeae;
              position: relative;
              display: inline-block;
              border: none;
              border-radius: 0;
              z-index: 99;
              opacity: 1;
              padding: 0;
                position: absolute;
                #{$right}: 40px;
              &:before{
                opacity: 1;
                color: #fff;
                font-weight: 400;
                font-family: $FontAwesome;
                position: absolute;
                top: -2px;
                #{$left}: 0;
                display: inline-block;
                text-indent: 0;
                width: 100%;
                height: 100%;
                font-size: 18px;      
              }
              &.slick-next{
                border-#{$left}: none;
                bottom: 0;
                &:before{           
                    content: "\f107";    
                }
              }
              &.slick-prev{
                top: 0;
                &:before{       
                    content: "\f106";   
                }
              }
              &:hover{
                background-color: $background;
                &:before{
                  color: #fff;
                }
              } 
            }
        
        .ds-items-detail{
            margin-#{$right}: 120px;
            @media (min-width: 1200px) and (max-width: 1649px){
                margin-#{$right}: 95px;
            }
            margin-#{$left}: 0;
        }
        .deals-content{
            border: none;
            border-radius: 0;
        }
        
        .ds-items{ 
            padding: 0px;
            width: 120px;
            @media (min-width: 1200px) and (max-width: 1649px){
                width: 95px;
            }
            float: $right;
            .slick-list{
                
            }
            .ds-item{
                border: none;
                .ds-item-inner{
                    
                    margin: 10px 0;
                    .ds-image-thumb{
                        img{
                            border: 1px solid #e5e5e5;
                            width: 100%;
                            border-radius: 0;
                            display: block;
                            padding: 0;
                        }
                    }
                }
                &:hover,
                &.slick-current{
                    outline: none;
                    .ds-item-inner{
                        .ds-image-thumb img{ border-color: $linkColor; }
                    }
                }
            }
        }
        .ds-items-detail{

        }
        .deals-content{
            .item{
                .product-thumb{
                    position: relative;
                    padding-#{$right}: 0px;
                    text-align: center;
                    .image{
                        position: relative;
                        margin-top: 0px;
                        width: 100%;   
                        img{
                            display: inline-block;
                        }
                    }
                    .caption{
                        width: 100%;
                        padding: 20px 10px 0 10px;          
                        p{
                            padding: 0;
                        }
                    }
                    h4{
                        margin: 0;
                        padding: 0;
                        font-weight: 500;
                        a{
                            color: #222;
                            font-size: 14px;
                            font-weight: 500;
                            &:hover{
                                color: $linkColor;
                            }
                        }
                    }
                    .price .price-new, .price span.price{
                        @include rem(font-size,24px);
                        color: #ff4444;
                    }       
                    .button-group{
                        margin-top: 10px;
                        margin-bottom: 13px;
                        display: inline-block;
                        width: 100%;
                        .btn-button{
                            border: none;
                            @include border-radius(0);
                            border: 1px solid #e5e5e5;
                            height: 36px;                       
                            width: 36px;                
                            float: $left;
                            @include transition(all 0.3s ease 0s);
                            background-color: #fff;
                            text-align: center;
                            padding: 0;
                            i{
                                color: #666;
                                text-align: center;
                            }
                            &:hover{
                                border-color: $background;
                                i{
                                    color: $linkColor;
                                }
                            }
                            &.wishlist{
                                margin: 0 10px;
                                            
                            }
                            &.compare{
                                margin: 0;
                            }

                            &.addToCart{ 
                                @include border-radius(0px);
                                color: #777777;
                                font-size: 12px;
                                font-weight: 600;
                                height: 36px;                    
                                line-height: 34px;               
                                padding: 0px 10px; 
                                margin: 0;   
                                width: auto;        
                                text-transform: uppercase;   
                                        
                                &:hover{
                                   
                                    background-color: $background;
                                    border-color: $background;
                                    color: #fff;
                                    i{
                                        color: #fff;
                                    }
                                }                                
                            }
                            
                    
                        }
           
                    }
                    

                    .item-timer{
                        background-color: #fff;
                        border: 1px solid #e5e5e5;          
                        display: inline-block;
                        width: 100%;
                        .time-item{
                            background-color: #fff;
                            border-#{$right}: 1px solid #e5e5e5;
                            line-height: 100%;
                            float: $left;
                            text-align: center;      
                            padding-top: 8px;
                            padding-bottom: 5px;                 
                            .num-time{
                                border: none;
                                font-size: 24px;
                                color: #444;
                                font-weight: 600;
                                text-align: center;
                                background-color: #fff;
                                border-radius: 0;
                            }
                            .name-time{
                                color: #444;
                                font-size: 12px;
                                font-weight: 400;
                                text-transform: uppercase;
                                margin-top: 5px;
                            }
                            &.time-sec{
                                border-#{$right}: none;
                            }
                        }
                    }
                }
            }
        }

    } 
} 

/************************************************************************************************
    SO BLOG
*************************************************************************************************/
.blog-home19{
    position: relative;
    margin-top: 45px;
    .owl2-controls{
        .owl2-nav{
            @include owl2-nav-style19(30px,18px,#757b8d,$background); 
        }
    }
    .so-blog-external{
        .blog-external{
            border: none;
            .media{
                margin: 0;
            }
            .media .item{
                margin: 0;
                .media-left{
                    position: relative;
                    padding: 0;
                    .media-date-added{
                        width: 50px;
                        height: 50px;
                        text-align: center;
                        line-height: 18px; padding-top: 5px;
                        font-size: 14px; font-weight: 500;
                        top: 20px; #{$left}: 20px; position: absolute;
                        color: #fff;
                        background-color: $background;
                        b{
                            font-weight: 500; font-size: 20px;
                        }
                    }
                    img{ width: 100%; }
                }
                .media-content{
                    margin-top: 10px;
                    .media-author{
                        font-weight: 500; font-size: 14px; color: #999;
                    }
                    .media-heading{ margin-top: 5px; margin-bottom: 10px; }
                    .media-heading a{
                        padding: 0;
                        font-size: 16px; color: #222;
                        text-transform: capitalize;
                        &:hover{
                            color: $background;
                        }
                    }
                    .description{ font-size: 14px; color: #666; margin-bottom: 10px;}
                    .readmore{
                        padding: 0;
                        a{ font-weight: 500; font-size: 14px; text-transform: uppercase; text-decoration: underline; color: $background;
                            &:hover{
                                color: darken($background,10%);
                            }
                        }
                    }
                } 
            }
        }
    }
}


