/*===============================================
    [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{
    margin-bottom: 30px;
}
#content .so-page-builder .container,
.container-fluid .container{
    padding-left: 15px;
    padding-right: 15px;
}
.layout-15{
    .products-list .product-grid .product-item-container,
    .products-list .product-grid .product-item-container .right-block{
        background-color: #fff;
    }
    .content-product-left .full_slider{
        margin: 0 -4px;
        margin-top: 10px;
    }
    .content-product-left .full_slider .image-additional{
        width: 25%;
    }
}

.product-view{
    .content-product-left .full_slider{
        margin: 0 -4px;
        margin-top: 10px;
    }
    .content-product-left .full_slider .image-additional{
        width: 25%;
    }
}
/*====================== mod title ========================*/
.layout-15.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{ 
        .pre-text,      
        .form-group{
            font-size: 14px; color: #898989; text-align: center;
            line-height: 100%;
        }
        h3.modtitle{     
            font-size: 28px;
            color: #1c1c1c;
            font-weight: 500;
            text-align: center;
            position: relative;
            margin-bottom: 32px;
            text-transform: capitalize;
            span{
                font-size: 28px;
                color: #1c1c1c;
                font-weight: 500;
                text-transform: capitalize;
            }
            &:after{
                content: ' ';
                width: 90px;
                height: 4px;
                background: $background;
                position: absolute;
                bottom: -15px;
                left: 0;
                right: 0;
                margin: 0 auto;
            }
        }
    }

}


/************************************************************************************************
    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 .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: -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 
*************************************************************************************************/
.banners1 {
    margin: 0px -15px 65px -15px;
    display: inline-block;
    .item{
        width: 50%;
        padding: 0 15px;
        float: $left;
    }
}


/************************************************************************************************
    MODULE SO CATEGORIES
*************************************************************************************************/
div.dev-cat{
    margin-bottom: 46px;
    .modcontent{
        margin: 0 -10px;
    }
    .cat-content{
        position: absolute;
        top: 65px;
        #{$left}: 70px;
        background: #FFF;
        padding: side-values(42px 15px 0 40px);
        width: 300px;
        height: calc(100% - 180px) ;
    }
    .cat-wrap.theme3 .content-box{
        position: relative;
        padding-bottom: 0;
        .cat-title{
            position: relative;
            margin-bottom: 40px;
            a{
                font-weight: 500;
                font-size: 20px;
                color: #272727;
                &:hover{
                    color: $linkColor;
                }
            }
            &:after{
                 content: ' ';
                width: 40px;
                height: 4px;
                background: $background;
                position: absolute;
                bottom: -12px;
                #{$left}: 0;
            }
        }
         .child-cat .child-cat-title{
            display: block !important;
            float: none !important;
            a{
                font-size: 14px;
                color: #272727;
                display: inline-block;
                font-weight: 400;
                overflow: hidden;
                position: relative;
                line-height: 38px;
                &:hover{
                    color: $linkColor;
                }
            }
        }
        img{
            border: none;
        }
    }
}
.h15-section-style5{
    position: relative;
    margin-bottom: 70px;
    &:before{
        content: "";
        width: 100%;
        height: calc(100% - 45px) !important;
        position: absolute;
        top: 0;
        #{$left}: 0;
        background: #f4f4f4;
    }
    .cat-wrap .content-box{
       
        &:nth-child(2){
            padding-top: 120px !important;
            position: relative;
            padding-bottom: 0 !important;
            .cat-content{
                    position: absolute !important;
                    top: 57px;
                    width: 100%;
                    padding-bottom: 0px;
            }
        }
    }
    div.dev-categories{
        padding-top: 76px;
        .form-group{
            margin-bottom: 53px;
        }
        .cat-wrap .content-box{
            float: left;
            padding: 0 15px;
            width: 33.3333%;
            padding-bottom: 40px;
             img{
                border: none;
            }
            &:hover{
                .cat-title{
                    a:before{
                        transform: translate3d(0,0,0);
                        transition: transform .5s cubic-bezier(0.19,1,0.22,1);
                    }
                }
            }
            .cat-content{
                padding-top: 8px;
                position: relative;
                height: 50px;
            }
        }
        .cat-title{
            a{
                display: inline-block;
                font-size: 18px;
                line-height: 40px;
                color: #1c1c1c;
                font-weight: 500;
                overflow: hidden;
                position: relative;
                left: 50%;
                position: absolute;
                white-space: nowrap;
               // transform: translateX(-50%);
                transform: translate3d(-50%, 0, 0);
                 @include if-ltr{
                    position: relative;
                }
                &:before{
                    content: " ";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 2px;
                    background: #000;
                    transform: translate3d(-120%,0,0);
                    transition: transform .7s cubic-bezier(0.19,1,0.22,1);
                }
            }
        }
    }
}

.cates15{
    .cat-wrap.theme3 .content-box{
         img{
            border: none;
        }
        &:hover{
            .cat-title{
                a:before{
                    transform: translate3d(0,0,0);
                    transition: transform .5s cubic-bezier(0.19,1,0.22,1);
                }
            }
        }
    }
    .cat-title{
        a{
            display: inline-block;
            font-size: 24px;
            line-height: 40px;
            color: #000;
            font-weight: 500;
            overflow: hidden;
            position: relative;
            left: 50%;
            transform: translateX(-50%);

            &:before{
                content: " ";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 4px;
                background: #000;
                transform: translate3d(-120%,0,0);
                transition: transform .7s cubic-bezier(0.19,1,0.22,1);
            }
        }
    }
}


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



/************************************************************************************************
 3  MODULE EXTRA
*************************************************************************************************/
.dev-extra15{
    margin-bottom: 70px;
    .owl2-controls{
        .owl2-nav{
            @include owl2-nav-style(32px,16px,rgba(0,0,0,0.2));
            > div{
                &.owl2-prev{
                    #{$left}: 15px !important;
                }
                &.owl2-next{
                    #{$right}: 15px !important;
                }
            }
        }
    }
    .contain{
        background: #f6f6f6;
        padding-top: 78px;
        .form-group{
            margin-bottom: 0;
        }
    }
    .modcontent{
        background: #f6f6f6;
        padding-top: 50px;
        padding-bottom: 1px;
    }
    .products-list .product-grid .product-item-container .left-block .cartinfo--center .btn-button{
        width: 40px !important;
        height: 40px;
        line-height: 40px;
        @include border-radius(0);
        i{
             width: 40px !important;
            height: 40px;
            line-height: 40px;
            font-size: 16px;
        }
    }
    .products-list .product-grid .product-item-container, 
    .products-list .product-grid .product-item-container .right-block{
        background: #f6f6f6;
        h4{
            line-height: 30px;
             a{
                font-size: 18px;
                font-weight: 500;
                color: #1c1c1c;
                position: relative;
                @include transition(all 0.4s ease);
            }
        }
    }
    .products-list .product-grid .product-item-container:hover{
        h4 a{
           color: $linkColor;
        }
    }

}

.so-instagram-gallery .instagram-items-inner{
    display: block;
     .instagram-item{
        padding: 0;
     }
}

// SO INSTAGRAM
.insta15{
    margin-bottom: 40px;
    .home1_instagram{
        border-top: 2px solid #dbdbdb;
        padding-top: 70px;
        > div{
            position: relative;
        }
    }
    .so-instagram-gallery .instagram-item .instagram_users .img_users a{
        display: contents;
    }
    .so-instagram-gallery.button-type2 .owl2-controls{
        margin-bottom: 0;
    }
    .so-instagram-gallery{
        margin: 0;
    }
    .form-group{
        margin: 0;
    }
    .block-title{
        display: block;
        padding: 50px 46px 40px;
        background-color: rgba(255,255,255,0.95);
        max-width: 500px;
        text-align: center;
        position: absolute;
        z-index: 3;
        #{$left}: 50%;
        margin-#{$left}: -250px;
        height: 210px;
        top: 95px;
        .form-group{
            margin-bottom: 0;
        }
        h4{
            font-size: 22px;
            color: #1c1c1c;
            text-transform: capitalize;
            font-weight: 500;
            margin-bottom: 20px;
        }
        .des{
            font-size: 14px;
            color: #727272;
            text-transform: capitalize;
            font-weight: 400;
            margin-bottom: 25px;
            line-height: 21px;
        }
        a{
            color: $linkColor;
            font-size: 14px;
            position: relative;
            @include transition(all ease 0.4s);
            &:before{
                content: "";
                position: absolute;
                bottom: -2px;
                width: 100%;
                #{$left}: 0;
                height: 1px;
                background: $background;
            }
            &:after{
                content: "";
                position: absolute;
                bottom: -2px;
                width: 100%;
                #{$left}: 0;
                height: 1px;
                background: $background;
                @include transition(all ease 0.4s);
            }

            &:hover{
                font-weight: bold;
                &:after{
                    height: 2px;
                }
            }
        }
    }
    .so-instagram-gallery .instagram-items-inner.owl2-carousel{
        border: none;
        .instagram-item{
            margin: 0;
        }
    }
}