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

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


.sohomepage-slider .so-homeslider{border: none; z-index: 0;}

.container-fluid .container{
    padding-left: 15px;
    padding-right: 15px;
}


#main-content,#content{margin-bottom: 30px;}

.common-home{
    
    
}

/*====================== mod title ========================*/
.layout-1.common-home #content{
    margin-bottom: 0;
    .row-image{
        margin: 0;
    }
    .module{
        h3.modtitle{
            font-size: 26px;
            color: #222;
            font-weight: 600;
            text-transform: capitalize;
            margin-top: 0;
            margin-bottom: 10px;
            text-align: center;
           
            span{
                font-size: 26px;
                color: #222;
                font-weight: 600;
                text-transform: capitalize;
            }
        }
        .form-group{
            text-align: center;
            font-size: 16px; color: #999;
        }
    }
}


/*.box-content1{
    margin-bottom: 30px;
}*/

/************************************************************************************************
    MODULE HOME SLIDER  
*************************************************************************************************/
.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;
        }
        &:hover{
            .owl2-controls .owl2-nav{
                .owl2-next,
                .owl2-prev{
                    @include transform(scale(1));
                    opacity: 1;
                    @include transition(all 0.2s ease-in-out 0s);  
                }
            }
        }
    }
    .owl2-controls{
        height: 0;
        .owl2-nav{
            .owl2-next,
            .owl2-prev{
                font-size: 0px;
                z-index: 99;
                width: 44px;
                height: 44px;
                line-height: 42px;
                text-align: center;
                border-radius: 0;
                top: 50%;
                margin-top: -22px;
                text-indent: -999em;
                display: block;
                background-color: transparent;
                border: none;
                @include transform(scale(0));
                opacity: 0;
                @include transition(all 0.2s ease-in-out 0s);  
                &:after{display: none;}
                &:before{
                    font-size: 70px;
                    color: #c8c8c8; opacity: 1;
                    font-family: 'FontAwesome';
                    display: block;
                    text-indent: 0 !important;
                    width: 44px;
                    height: 50px;
                    line-height: 42px;
                }
                &:hover{
                    &:before{
                        color: $background;
                    }
                }
            }
            .owl2-next{
                #{$right}: 70px;
                #{$left}: auto;
                &:before{
                    @include if-ltr{             
                        content: "\f105"; 
                    }  
                    @include if-rtl {
                        content: "\f104"; 
                    }  
                }
            }
            .owl2-prev{
                #{$left}: 70px;
                #{$right}: auto;
                &:before{
                  @include if-ltr{             
                    content: "\f104"; 
                  }  
                  @include if-rtl {
                    content: "\f105"; 
                  }  
                }
            }

        }
        .owl2-dots{
            bottom: 20px;
            position: static;
            left: auto;
            right: auto;
            width: 100%;
            display: inline-block;
            text-align: center;
            position: relative;
            top: -35px;
            z-index: 10;
            .owl2-dot {
              background: #222 !important;
              margin: 0 5px;
              width: 12px;
              height: 12px;
              padding: 0;
              transition: all 0.3s ease 0s;
              border-radius: 50%;
              float: none;
              display: inline-block;
              span {
                background: #fff;
                display: block;
                width: 100%;
                height: 100%;          
                border-radius: 50%;
                -webkit-border-radius: 50%;
                margin: 0;
              }
              &:hover,
              &.active {
                background: $background !important;   
                span {
                  box-shadow: none;
                  -webkit-box-shadow: none;
                  background: $background !important; 
                }
              }
            }

        } 
    }

}


/************************************************************************************************
    SHORTCODE HTML 
*************************************************************************************************/
    
.content-banners{
    .cont{
        width: 50%;
        float: $left;
    }
    .cont1{
        ul{
            li{
                float: $left; width: 50%;
                
                &.content{
                    padding: 78px 50px 30px 50px;
                    h2{
                        color: #000;
                        font-weight: 400;
                        font-size: 18px;
                        span{font-weight: 300;}
                        b, span{ color: #ff4242; @include transition(all 0.4s ease-in-out 0s); }
                    }
                    a{
                        font-size: 22px; color: #000; font-weight: 500;
                        &:before{
                            display: none;
                        }
                        &:hover{
                            color: $linkColor;
                        }
                    }
                    p{ margin: 15px 0; }
                    .price-c{
                        position: relative;
                        font-size: 16px;
                        float: $left;
                        padding-#{$left}: 25px;
                        margin-top: 10px; padding-bottom: 8px;
                        b{
                            color: #000; font-size: 24px; color: #222; font-weight: 700;
                            @include transition(all 0.3s ease-in-out 0s); 
                        }
                        &:after{
                            width: 200px; height: 1px;
                            position: absolute; content: "";
                            bottom: 0; #{$right}: 0;
                            background-color: #000;
                        }
                        &:before{
                            width: 0px; height: 1px;
                            position: absolute; content: "";
                            bottom: 0; #{$right}: 0;
                            background-color: $background;
                            @include transition(all 0.4s ease-in-out 0s); 
                        }
                    }
                    &:hover{
                        h2 b{
                            font-size: 22px; 
                        }
                        .price-c{

                            b{ color: $linkColor;}
                            &:before{ width: 200px; z-index: 1;}
                        }
                    }
                }
                &.content2{
                    padding: 50px;
                    text-align: $right;
                    h2{
                        color: #000;
                        font-weight: 400;
                        font-size: 18px;
                        text-transform: uppercase;
                        span{font-weight: 300;}
                        b, span{ color: #ff4242; @include transition(all 0.3s ease-in-out 0s); }
                    }
                    a{
                        font-size: 22px; color: #000; font-weight: 500;
                        &:before{
                            display: none;
                        }
                        &:hover{
                            color: $linkColor;
                        }
                    }
                    p{ margin: 15px 0; }
                    .price-c{
                        position: relative;
                        font-size: 16px;
                        float: $right;
                        padding-#{$right}: 25px;
                        b{
                            color: #000; font-size: 24px; color: #222; font-weight: 700;
                            @include transition(all 0.3s ease-in-out 0s); 
                        }
                        &:after{
                            width: 200px; height: 1px;
                            position: absolute; content: "";
                            bottom: 0; #{$left}: 0;
                            background-color: #000;
                            z-index: 1;
                        }
                        &:before{
                            width: 0px; height: 1px;
                            position: absolute; content: "";
                            bottom: 0; #{$left}: 0;
                            background-color: $background;
                            @include transition(all 0.4s ease-in-out 0s); 
                            z-index: 2;
                        }
                    }
                    &:hover{
                        h2 b{
                            font-size: 22px;
                        }
                        .price-c{

                            b{ color: $linkColor; }
                            &:before{ width: 200px; @include transition(all 0.4s ease-in-out 0s); }
                        }
                    }
                }
            }
        }
    }
}

.banners1{
    margin-top: 50px; margin-bottom: 70px;
}

#content .featured-cates{
    margin-top: 80px;
    ul{
        margin-top: 40px;
        li{
            margin-bottom: 30px;
            .inner{
                background-color: #f6f6f6;
                position: relative;
                .cont{
                    position: absolute;
                    top: 35px; #{$left}: 0;
                    text-align: center;
                    display: inline-block; width: 100%;
                    h2{
                        font-size: 16px; color: #222; font-weight: 600; text-transform: uppercase; margin-bottom: 7px; margin-top: 0;
                        &:hover{
                            color: $linkColor;
                        }
                    }
                    span{
                        font-size: 16px; color: #999;
                    }
                }
                &:hover{
                    opacity: 0.8;
                    .cont{
                        h2{color: $linkColor;}
                    }
                    a img{

                    }
                }
            }
        }
    }
}


/*== Block policy ==*/
.block-policy1{
    padding: 50px 0;
    ul{
        display: inline-block; width: 100%;
        margin: 0 -10px;
        li{
            float: $left;
            padding: 0 10px;
            text-align: center;
            width: 25%;
            .item-inner{
               
                &:hover{
                    .content{
                        h2,span{
                            color: $linkColor;
                        }
                    }
                    
                }
   
                .content{
                    float: $left;
                    text-align: $left;
                    position: relative;
                    padding-#{$left}: 55px;
                    &:before{
                        background: url(#{$imgPath}icon/promotion.png) no-repeat center center; 
                        width: 50px;
                        height: 50px;
                        top: 0;
                        #{$left}: 0px;
                        position: absolute; content: "";
                    }
                    h2{
                        color: #222;
                        font-weight: 600;
                        text-transform: uppercase;
                        font-size: 14px;
                        margin: 0;
                        &:hover{
                            color: $linkColor;
                        }
                    }
                    span{
                        line-height: 100%;
                        margin: 0;        
                        display: inline-block;
                        width: 100%;
                        font-size: 13px; color: #999;
                    }
                }
            }
          
            &.item-1{
                .item-inner{
                    .content{
                        padding-#{$left}: 65px;
                        &:before{
                            background-position: 0px 0px;
                        }
                    }
                }
            }
            &.item-2{
                .item-inner{
                    .content{
                        &:before{
                            background-position: -140px 0px;
                        }
                    }
                }
            }
            &.item-3{
                .item-inner{
                    .content{
                        &:before{
                            background-position: -280px 0px;
                        }
                    }
                }
            }
            &.item-4{
                .item-inner{
                    .content{
                        &:before{
                            background-position: -430px 0px;
                        }
                    }
                }
            }
        }
    }
}


/************************************************************************************************
    MODULE EXTRA SLIDER
*************************************************************************************************/


// EXTRA SLIDER FULL GRID
.extra-full{
    .so-extraslider{
        position: relative;
        margin: 30px 0 20px 0;
        .extraslider-inner{
            margin: 0;
        }
        .owl2-controls{
            .owl2-nav{
           
                @include owl2-nav-style1(40px,50px,#999,$background);                 
        
                > div{
                    @include transform(scale(0));
                    opacity: 0;
                    @include transition(all 0.2s ease-in-out 0s);  
                   
                }
            }
        }
        &:hover{
            .owl2-controls .owl2-nav{
                > div{
                    @include transform(scale(1));
                    opacity: 1;
                    @include transition(all 0.2s ease-in-out 0s);
                }
            }
        }
    }
}

/************************************************************************************************
    MODULE INSTAGRAM GALLERY
*************************************************************************************************/
.layout-1.common-home #content .module.instagram-layout1 .form-group{
    
    position: absolute;
    top: 50%; #{$left}: 50%;
    margin-top: 15px;
    transform: translate(-50%, -50%);
    @include if-rtl {
        transform: translate(50%, -50%);
    }
    width: 50%; 

    .inner{
        background-color: rgba(255,255,255,0.9);
        font-size: 24px; color: #ed1b24;
        position: relative;
        padding: 60px;
        span,p{
            position: relative; z-index: 1;
        }

    }
    p{
        font-size: 16px; color: #1c1c1c; font-style: italic; margin: 10px 0;
    }
    

}
.instagram-layout1{
    position: relative; margin-bottom: 35px;
    .so-instagram-gallery{
        margin-top: 40px;
        .instagram-items-inner{
           
            .instagram-item{
                .img_users{
                    &:hover{
                        //opacity: 0.8;
                    }

                }
            }
        }
    }
}
                   

/************************************************************************************************
    MODULE LISTING TABS
*************************************************************************************************/
.layout-1.common-home #content .module.listingtab-layout1 h3.modtitle{
   
}
.listingtab-layout1{
    position: relative;
    .so-listing-tabs{
        margin: 0 -15px;        
        overflow: unset;
        .cate-link{
            text-align: center;
            padding: 30px;
            a{
                font-size: 14px; color: #222;
                border: 1px solid #d7d7d7;
                border-radius: 20px;
                padding: 10px 30px;
                font-weight: 500; text-transform: uppercase;
                @include transition(all 0.2s ease-in-out 0s);  
                &:hover{
                    background-color: $background;
                    border-color: $background;
                    color: #fff;
                }
            }
        }
        .ltabs-items-inner{
            .owl2-controls{
                .owl2-nav{
               
                    @include owl2-nav-style1(40px,50px,#999,$background);                
            
                    > div{
                        @include transform(scale(0));
                        opacity: 0;
                        @include transition(all 0.2s ease-in-out 0s);  
                          
                    }
                }
            }
            &:hover{
                .owl2-controls .owl2-nav{
                    > div{
                        @include transform(scale(1));
                        opacity: 1;
                        @include transition(all 0.2s ease-in-out 0s);
                        &.owl2-prev{
                            #{$left}: 0px;
                           
                        }
                        &.owl2-next{
                            #{$right}: 0px;                    
                        }
                    }
                }
            }
        }
        .ltabs-items-container .ltabs-items .ltabs-slider .ltabs-item{
            margin-bottom: 0;
        }
        .products-list.grid .product-layout .product-item-container{
            margin-bottom: 30px;
        }
        .ltabs-wrap{
            overflow: unset;
            .ltabs-tabs-container{
                margin: 0px;
                .ltabs-tabs-wrap{
                    ul.ltabs-tabs {
                        text-align: center;     
                        padding: 30px 0;
                        margin: 0 15px;
                        li.ltabs-tab {
                            border: medium none;
                            display: inline-block;
                            line-height: 100%;        
                            float: none;
                            margin: 0 7px;
                            .ltabs-tab-label {
                                color: #707070;                    
                                font-size: 14px;
                                font-weight: 500;
                                padding: 0;
                                text-transform: capitalize;
                                background-color: #f6f6f6;
                                padding: 14px 20px;
                                border-radius: 24px;
                                @include transition(all 0.2s ease-in-out 0s);  
                                &:hover{
                                    color: #fff;
                                    background-color: $background;
                                }
                            }
                            &:hover,
                            &.tab-sel{                   
                                .ltabs-tab-label {
                                    color: #fff;
                                    background-color: $background;
                                }
                            }
                        }
                    }
                }
            }
        } 

        .wap-listing-tabs{
            clear: both;
            margin-top: 30px; margin-bottom: 50px;
            position: relative;
        }
        .ltabs-items-container {
            .products-list .product-grid .product-item-container{
                .left-block{
                    width: 140px;
                    float: $left;
                }
                .right-block{
                    margin-#{$left}: 155px;
                    padding: 0;
                    clear: none;
                    text-align: $left;
                    padding-bottom: 20px;
                    padding-top: 30px;
                    h4{ }

                    .addToCart{
                        padding: 0;
                        width: 38px;
                        i{
                            padding: 0;
                        }
                    } 
                    
                }
                .button-group{
                    text-align: $left;
                   
                    .btn-button{
                        margin: 0;
                    }
                }
            } 

        }
    }
}



/************************************************************************************************
    SHORTCODE HTML TESTIMONIALS
*************************************************************************************************/
.slider-testimonials{
    color: #fff;
    text-align: center;
    padding: 70px 10px;
    h2{
        font-weight: 600; font-size: 26px;
    }
    .contentslider{
        width: 70%;
        margin: 0 auto;
        .owl2-stage-outer{
            direction: ltr;
        }
        .item{ margin-top: 15px;
            .name{
                margin-top: 140px;
            }
        }
    }
    .owl2-carousel .owl2-dots{
        position: absolute;
        #{$left}: 50%;
        bottom: 60px; min-width: 247px;
        transform: translateX(-50%);
        @include if-rtl {
            transform: translateX(50%);
        }
        .owl2-dot{
            float: none; display: inline-block;
            width: 55px; height: 55px;
            border-radius: 100%;
            margin: 10px;
            opacity: 0.6;
            @include transition(all 0.2s ease-in-out 0s);  
            span{
                display: none;
            }
            &:first-child{
                background: url(#{$imgPath}client1.jpg) no-repeat center center; 
            }
            &:nth-child(2){
                background: url(#{$imgPath}client2.jpg) no-repeat center center; 
            }
            &:nth-child(3){
                background: url(#{$imgPath}client3.jpg) no-repeat center center; 
            }
            &:hover{
                opacity: 1;
            }
            &.active{
                opacity: 1;
                width: 77px; height: 77px;
                margin: 0 10px;
            }
        }
    }
}

/************************************************************************************************
    MODULE LATEST BLOG
*************************************************************************************************/
.layout-1.common-home #content .module.blog-home .form-group,
.layout-1.common-home #content .module.blog-home h3.modtitle span{
    color: #fff;
}
.blog-home{
    margin-bottom: 25px; padding: 80px 0 22px 0 !important;
    .owl2-controls{
        .owl2-nav{                
            @include owl2-nav-style1(40px,50px,#999,$background);                       
        }
        .owl2-dots{
            @include owl2-dot-style(10px,10px,#fff);
            #{$right}: 10px;
            top: 5px;
        }
    }
    .so-blog-external .blog-external{
        border: none;
        margin: 20px 0 0 0;
        //direction: ltr;
        @include if-rtl {
            margin-left: -30px;

        }
     
        .media{
            margin: 0;
            .item{
                margin: 0;
                overflow: hidden;
                .media-left{
                    padding: 0;                    
                    overflow: hidden;
                    margin-top: 0px;
                    margin-bottom: 0px;
                    position: relative;
                    a{
                        @include hover-image-effect();
                    }
                    .date-added{
                        position: absolute;
                        top: 15px;
                        #{$left}: 15px;
                        display: block;
                        background-color: #fff;
                        color: #fff;
                        width: 54px;
                        height: 58px;
                        font-size: 14px;
                        padding-top: 8px;
                        line-height: 22px;
                        text-align: center;
                        color: #222;
                        @include box-shadow(-1px 1px 2px 0px rgba(0, 0, 0, 0.2));
                        z-index: 2; text-transform: uppercase;
                        b{
                            font-size: 24px;
                            display: inherit;
                            width: 100%;
                            color: $linkColor;
                            font-weight: 600;
                        }
                    }
                }
                .media-content{   
                background-color: #fff;                 
                    float: $left;
                    text-align: $left;  
                    padding: 20px;     
                    i{
                        display: none;
                    }
                    h4{
                        a{
                            padding: 0;
                            font-weight: 600;
                            font-size: 16px;
                            color: #222;
                            text-transform: uppercase;
                            &:hover{
                                color: $linkColor;
                            }
                        }
                    }
                    .media-date-added{
                        float: $left;
                        font-size: 12px; color: #909090;
                    }
                    .media-comment{
                        padding-#{$left}: 15px;
                        position: relative;
                        &:before{
                            position: absolute; content: ""; width: 1px; height: 11px; background-color: #e6e6e6;
                            top: 3px; #{$left}: 0;
                        }
                    }
                    .media-subcontent{
                        float: $left;
                        clear: none;
                        margin-#{$left}: 20px;
                        font-size: 12px; color: #909090;
                    }
                    .description{
                        font-size: 14px; color: #666;
                        clear: both; display: inline-block; margin: 10px 0;
                    }
                }
            }
        }
    }
}


/************************************************************************************************
    SHORTCODE HTML SLIDER BRANDS
*************************************************************************************************/

.slider-brands{
     padding: 0px;
    .contentslider{
       padding: 38px 30px;
        position: relative;
        .owl2-stage-outer{
            direction: ltr;
        }
    }
    .owl2-carousel .owl2-item{
        height: 0;
        &.active{
            height: auto;
        }
    }
    .item{
        text-align: center;        
        opacity: 0.4;
        @include transition(all 0.2s ease-in-out 0s);
        &:hover{
            opacity: 1;
        }
    }
    .owl2-controls .owl2-nav{
        @include owl2-nav-style1(40px,50px,#999,$background);       
        
    }  
}


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

@media (min-width: 1200px) and (max-width: 1366px){
    .content-banners .cont1 ul li.content2,
    .content-banners .cont1 ul li.content{
        padding: 20px 30px;
        p{
            margin: 5px 0;
        }
        .price-c{
            margin-top: 0; 
        }
    }
}

.wrapper-boxed{
    .content-banners .cont1 ul li.content2,
    .content-banners .cont1 ul li.content{
        padding: 20px 30px;
        p{
            margin: 5px 0; line-height: 20px;
        }
        .price-c{
            margin-top: 0; 
        }
    }
}