/*===============================================
    [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
==============================================*/


#content .so-page-builder .container,
.container-fluid .container{
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 1200px){
    .layout-12 .wrapper-boxed{
        max-width: 1200px;
    }
}
.layout-12 .wrapper-boxed{
    background-color: #fff;
}
/*====================== mod title ========================*/
.layout-12.common-home #content{
    .price,
    .price .price-new, .price span.price{
        font-size: 16px; color: #ff3c20;
    }

    .label-sale,  
    .label-product-sale{
        background-color: #d32f2f;
        #{$right}: 15px; top: 15px;
    }
    .label-new{
        background-color: $background;
        #{$left}: 15px; top: 15px;
    }

    .module{       
        &.sohomepage-slider{
            border: none;
        }
        h3.modtitle{     
            font-size: 30px;
            color: #222;
            font-weight: 500;
            text-transform: capitalize;
            margin: 0;
            padding: 0 0 20px 0;
            margin-bottom: 20px;
            position: relative;
            text-align: center;
            &:after{
                position: absolute; content: "";
                background-color: #222; width: 50px; height: 3px;
                #{$left}: 50%; margin-#{$left}: -25px; bottom: 0;
            }
            span{
                font-size: 30px;
                color: #222;
                font-weight: 500;                
                text-transform: capitalize;               
            }
        }
    }

}


/************************************************************************************************
    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: 0;
    z-index: 0;
    .form-group{
        margin-bottom: 0;
    }
    .so-homeslider{
         border: none;
        img{
            width: auto;
        }
    }
    .owl2-controls{
        height: 0;
        .owl2-nav{
            .owl2-next,
            .owl2-prev{
                font-size: 0px;
                z-index: 99;
                width: 34px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                @include border-radius(0px);
                top: 50%;
                margin-top: -25px;
                text-indent: -999em;
                display: block;
                background-color: #c6c6c8;
                border: none;
                &:after{display: none;}
                &:before{
                    font-size: 30px;
                    color: #fff;
                    font-family: 'FontAwesome';
                    display: block;
                    text-indent: 0 !important;
                    opacity: 1;
                    width: 34px;
                    height: 50px;
                }
                &:hover{
                    background-color: #fff;
                    &:before{
                        color: $linkColor;
                    }
                }
            }
            .owl2-next{
                #{$right}: 10px;
                #{$left}: auto;
                &:before{
                    @include if-ltr{             
                        content: "\f105"; 
                    }  
                    @include if-rtl {
                        content: "\f104"; 
                    }  
                }
            }
            .owl2-prev{
                #{$left}: 10px;
                #{$right}: auto;
                &:before{
                  @include if-ltr{             
                    content: "\f104"; 
                  }  
                  @include if-rtl {
                    content: "\f105"; 
                  }  
                }
            }

        }
        .owl2-dots{
            bottom: 30px;
            text-align: center;
            position: relative;
            top: -35px;
            left: auto; right: auto;   
            z-index: 10;
            .owl2-dot {
              background: #828282 !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: #828282;
                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 
*************************************************************************************************/

.box-content1{
    margin-top: 15px;
}

.banners1 {
    margin-top: 10px; margin-bottom: 53px;
    .bn2{
        margin-top: 30px;
    }
}

/*== Block policy ==*/
.block-policy{
    margin-top: 15px;
    ul{
        margin: 0 -10px;
        li{
            float: $left;
            padding: 0 10px;
            text-align: center;
            width: 25%;
            .item{
                background-color: #f0f0f0;
                padding: 20px 20px 10px 20px;
                &:hover{
                    cursor: pointer;
                    background-color: $background;
                    color: #fff;
                    .item-inner .content a{
                        color: #fff;
                    }
                    .item-inner .icon{
                        background-image: url(#{$imgPath}icon/promotion-w.png);
                    }
                }
            }
            .item-inner{
                display: inline-block;
                
                .icon{
                    background: url(#{$imgPath}icon/promotion.png) no-repeat center center; 
                    width: 60px;
                    height: 52px;
                    float: $left;
                    margin-#{$right}: 10px;
                    &.icon1{
                        background-position: -22px -22px;
                    } 
                    &.icon2{
                        background-position: -115px -23px;
                    } 
                    &.icon3{
                        background-position: -200px -23px;
                    } 
                    &.icon4{
                        background-position: -294px -23px;
                    }       
                }
                .content{
                    float: $left;
                    text-align: $left;
                    margin-top: 3px;
                    a{
                        color: #333;
                        font-weight: 700;
                        text-transform: uppercase;
                        &:hover{
                            color: $linkColor;
                        }
                    }
                    p{
                        line-height: 100%;
                        margin: 0;
                        text-transform: capitalize;
                    }
                }
            }
            &:last-child .item-inner:before{
                display: none;
            }
            
        }
    }
}



/************************************************************************************************
    MODULE LISTING TABS
*************************************************************************************************/

.listingtab-layout12{
    position: relative;
    margin-top: 55px;

    .products-list .product-grid .product-item-container .right-block{
        padding: 0 0 10px 0;
        h4{
            margin-bottom: 5px;
        }
    }

    .so-listing-tabs{
        margin: 0 -15px;        
        overflow: unset;
        .ltabs-items-container .ltabs-items .ltabs-item .item-inner{
            margin: 0 15px 30px 15px;
        }

        .ltabs-items-inner{
            .owl2-controls{
                .owl2-nav{
                    @include owl2-nav-style1(32px,18px,#e9e9e9,#c3c3c3);       
                    position: static;
                    .owl2-prev{
                        #{$left}: 16px;
                        #{$right}: auto;
                    }
                    .owl2-next{
                        #{$right}: 16px;
                        #{$left}: auto;
                    }
                    > div{
                        @include transform(scale(0));
                        opacity: 0;
                        @include transition(all 0.2s ease-in-out 0s);
                        margin-top: -40px;
                    }
                }
            }
            &:hover{
                .owl2-controls .owl2-nav{
                    > div{
                        @include transform(scale(1));
                        opacity: 1;
                        @include transition(all 0.2s ease-in-out 0s);
                    }
                }
            }
        }

        .ltabs-wrap{
            overflow: unset;
            .ltabs-tabs-container{
               margin: 0px;
                .ltabs-tabs-wrap{
                    @media (min-width: 992px){
                    ul.ltabs-tabs {
                        text-align: center;
                        
                        padding: 17px 0;
                        margin: 0 15px 30px 15px;
                        li.ltabs-tab {
                            border: medium none;
                            display: inline-block;
                            line-height: 100%;        
                            float: none;
                            margin: 0 10px;
                            .ltabs-tab-label {
                                color: #222;                    
                                font-size: 14px;
                                font-weight: 500;
                                padding: 9px 27px;
                                line-height: 100%;
                                text-transform: capitalize;
                                border: 1px solid #d5d5d5;
                                border-radius: 20px;
                                &:hover{
                                    color: #fff;
                                    background-color: #222;
                                    border-color: #222;
                                }
                            }
                            &:hover,
                            &.tab-sel{                   
                                .ltabs-tab-label {
                                    color: #fff;
                                    background-color: #222;
                                    border-color: #222;
                                }
                            }
                        }
                    }
                    }
                }
            }
        } 

        .wap-listing-tabs{
            clear: both;
            margin-top: 0px;
        }
       
    }
}



/************************************************************************************************
    SHORTCODE HTML SLIDER BRANDS
*************************************************************************************************/
.slider-brands{
    margin-bottom: 65px;
    .contentslider{
       padding: 20px;
        position: relative;
        .owl2-stage-outer{
            direction: ltr;
        }
        
    }
    .item{
        text-align: center;
        opacity: 0.4;
        &:hover{
            opacity: 1;
        }
    }
    .owl2-controls .owl2-nav{
        @include owl2-nav-style1(40px,20px,#e9e9e9,#c3c3c3);       
        position: static;
        .owl2-prev,
        .owl2-next{
            @include effect-block-hide();
        }
        .owl2-prev{
            #{$left}: 0px;
            position: absolute;
            top: 50%;
            margin-top: -20px;
            background-color: #fff;

        }
        .owl2-next{
            #{$right}: 0px;
            position: absolute;
            top: 50%;
            margin-top: -20px;
            background-color: #fff;
        }
    }
    &:hover{
        .owl2-controls .owl2-nav{
            .owl2-prev,
            .owl2-next{
                @include effect-block-show();
            }
        }
    }
    
}

/************************************************************************************************
    MODULE INSTAGRAM
*************************************************************************************************/
.insta12{
    .modtitle{
        font-size: 30px;
        color: #222;
        font-weight: 500;
        text-transform: capitalize;
        margin: 0;
        padding: 0 0 20px 0;
        margin-bottom: 15px;
        position: relative;
        text-align: center;
        &:after{
            position: absolute; content: "";
            background-color: #222; width: 50px; height: 3px;
            #{$left}: 50%; margin-#{$left}: -25px; bottom: 0;
        }
    }
    .form-group{
        font-size: 18px; font-style: italic; color: lighten($background,5%);
        text-align: center;
    }
    .so-instagram-gallery .instagram-item .instagram_users .img_users a:hover img{
        opacity: 0.8;
    }
}