


/*===========================
    20.ADS DETAILS PAGE css 
===========================*/

.ads-details{}

.ads-details-image{
    & .details-image{
        & .single-details-image{
            & img{
                width: 100%;
            }
        }
    }
    & .details-image-thumb{
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
        
        & .single-details-image-thumb{
					width: 140px;
					height: 140px;
            padding: 0 5px;
            
            & img{
                // -o-object-fit: cover;
                // object-fit: cover;
                // -o-object-position: center;
                // object-position: center;
                width: 100px;
                height: 100px;
            }
        }
        
        & .slick-arrow{
            position: absolute;
            top: 50%;
            left: -10px;
            @include transform(translateY(-50%));
            cursor: pointer;
            
            &.next{
                left: auto;
                right: -10px;
            }
        }
    }
}


.ads-details-content{
    & .title{
        font-size: 18px;
        font-weight: 700;
    }
    & .rating{
        margin-top: 10px;

        & li{
            display: inline-block;
            font-size: 14px;
            color: #b1b1b1;
            
            &.active{
                color: #ffa800;
            }
        }
    }
    
    & .reviews{
        font-size: 14px;
        margin-top: 10px;
        
        & strong{
            color: $heading-color;
            margin-right: 10px;
        }
    }
    
    & .price-stock{
        margin-top: 15px;
        
        & .price{
            color: $heading-color;
            font-family: $font-2;
            font-size: 24px;
            font-weight: 700;
            width: 50%;
            
            & del{
                color: #999;
                font-weight: 400;
                font-size: 16px;
            }
        }
        & .stock{
            width: 50%;
            font-size: 14px;
            margin-top: 10px;
            font-weight: 700;

            & span{
                color: $heading-color;
                margin-right: 10px;
            }
        }
    }
    
    & .text{
        font-size: 14px;
        margin-top: 15px;
    }
    
    & .ads-details-wrapper{
        border-top: 1px solid rgba($heading-color, 0.1);
        margin-top: 30px;
        
        & .share{
            margin-top: 30px;
            
            & .social{
                & li{
                    display: inline-block;
                    
                    & + li{
                        margin-left: 10px;
                    }
                    
                    & .title{
                        font-size: 16px;
                        color: $heading-color;
                    }
                    & a{
                        font-size: 16px;
                    }
                    
                    &:nth-of-type(1){}
                    &:nth-of-type(2){
                        & a{
                            color: #3b5999;
                        }
                    }
                    &:nth-of-type(3){
                        & a{
                            color: #55acee;
                        }
                    }
                    &:nth-of-type(4){
                        & a{
                            color: #3b5998;
                        }
                    }
                    &:nth-of-type(5){
                        & a{
                            color: #0077B5;
                        }
                    }
                    &:nth-of-type(6){
                        & a{
                            color: #e4405f;
                        }
                    }
                }
            }
        }
        & .ads-details-contact{
            margin-top: 30px;
            
            & .title{
                font-size: 16px;
                color: $heading-color;
            }
            
            & .ads-details-contact-wrapper{
                & .contact-btn{
                    background-color: $theme-color-2;
                    position: relative;
                    padding-top: 5px;
                    padding-bottom: 5px;
                    padding-left: 10px;
                    padding-right: 50px;
                    border-radius: 5px;
                    
                    & a{
                        color: $white;
                        font-size: 14px;
                        font-family: $font-1;
                        font-weight: 700;
                    }
                    
                    & p{
                        font-size: 13px;
                        color: $white;
                        line-height: 22px;
                    }
                    
                    & i{
                        position: absolute;
                        top: 50%;
                        right: 10px;
                        font-size: 24px;
                        color: $white;
                        @include transform(translateY(-50%));
                    }
                }
                
                & .ads-details-message{
                    padding-left: 30px;
                    
                    & a{
                        color: $theme-color-2;
                        font-size: 36px;
                        line-height: 40px;
                        
                    }
                }
            }
        }
    }
}


.Product-tab {
    padding: 30px 50px;
    border: 1px solid rgba($heading-color, 0.1);
    
    @media #{$xs}{
        padding: 20px;
    }
    @media #{$sm}{
        padding: 40px;
    }
    
    & .nav{
        @media #{$xs}{
            display: block;
        }
        @media #{$sm}{
            display: -webkit-flex;
            display: -moz-flex;
            display: -ms-flex;
            display: -o-flex;
            display: flex;
        }
        
        & li{
            margin-right: 5px;
            margin-bottom: 20px;
            
            & a{
                padding: 0px 20px;
                height: 45px;
                line-height: 45px;
                background-color: $gray-2;
                font-family: 'Open Sans', sans-serif;
                font-weight: 700;
                font-size: 14px;
                color: $heading-color;
                text-transform: uppercase;
                border-radius: 5px;
                @include transition(0.3s);
                
                @media #{$xs}{
                    width: 100%;
                    border-radius: 0;
                }
                @media #{$sm}{
                    width: auto;
                    border-top-left-radius: 10px;
                    border-top-right-radius: 10px;
                }
                
                &.active{
                    background-color: $theme-color-2;
                    color: $white;
                }
            }
        }
    }
    
    & .tab-content{
        & .tab-pane{
            & .Product-tab-cont{
                & > p{
                    padding-bottom: 20px;
                }
                
                & > h6{
                    font-size: 15px;
                    font-weight: 700;
                    color: #2c2d3e;
                    padding-bottom: 15px;
                }
                
                & .product_tab_list{
                    padding-left: 40px;
                    
                    & li{
                        position: relative;
                        font-size: 15px;
                        color: $heading-color;
                        
                        &::before{
                            content: '';
                            position: absolute;
                            width: 10px;
                            height: 10px;
                            border-radius: 50%;
                            border: 1px solid $heading-color;
                            left: -20px;
                            top: 7px;
                        }
                    }
                }
                
                
            }
            
            & .comment{
                
                & ul{
                    & li{
                        & + li{
                            & .singel-comment{
                                margin-top: 30px;
                            }
                        }
                    }
                }

                & .singel-comment{
                    position: relative;

                    & .thum{
                        @media #{$xs}{
                            margin-left: 80px;
                            padding-bottom: 20px;
                        }
                        
                        & img{
                            border-radius: 50%;
                            width: 80px;
                            height: 80px;
                        }
                    }
                    
                    & .cont{
                        padding: 25px 60px;
                        border: 1px solid rgba($heading-color, 0.1);
                        margin-left: 20px;
                        position: relative;
                        
                        @media #{$xs}{
                            margin-left: 0;
                            padding: 20px;
                            padding-top: 20px;
                            position: relative;
                            margin-left: 0;
                        }
                        
                        &::before{
                            position: absolute;
                            content: '';
                            top: -1px;
                            left: -89px;
                            width: 90px;
                            height: 90px;
                            border-top: 1px solid rgba($heading-color, 0.1);
                            background-color: $white;
                            
                            @media #{$xs}{
                                width: 70px;
                                height: 70px;
                                top: -69px;
                                left: -1px;
                                border-top: 0;
                                border-left: 1px solid rgba($heading-color, 0.1);
                            }
                        }
                        &::after{
                            position: absolute;
                            content: '';
                            top: -32px;
                            left: -76px;
                            width: 126px;
                            height: 90px;
                            border-bottom: 1px solid rgba($heading-color, 0.1);
                            @include transform(rotate(45deg));
                            
                            @media #{$xs}{
                                width: 98px;
                                height: 70px;
                                top: -94px;
                                left: 10px;
                            }
                        }
                        
                        & .author_name{
                            font-size: 15px;
                            font-weight: 700;
                            padding-bottom: 12px;
                        }
                        
                        & p{
                            padding-bottom: 10px;
                        }
                        
                        & ul{
                            & li{
                                display: inline-block;
                                
                                & + li{
                                    margin-left: 35px;
                                    
                                    @media #{$xs}{
                                        margin-left: 20px;
                                    }
                                }
                                
                                & a{
                                    font-size: 14px;
                                    color: $black;
                                }
                            }
                        }
                    }
                }
                
                & .replay{
                    padding-left: 80px;
                    margin-top: 30px;
                    
                    @media #{$xs}{
                        padding-left: 0;
                    }
                }
            }
            
            & .review{
                & ul{
                    & li{
                        
                        & + li{
                            margin-top: 30px;
                        }
                    }
                }
                
                & .singel-review{
                    position: relative;
                    background-color: #fff7f7;
                    padding: 30px;
                    border: 1px solid rgba($heading-color, 0.1);
                    border-radius: 10px;
                    
                    @media #{$xs}{
                        padding: 20px;
                    }
                    
                    & .review-thum{
                        display: -moz-flex;
                        display: -ms-flex;
                        display: -o-flex;
                        display: -webkit-box;
                        display: -ms-flexbox;
                        display: flex;
                        -ms-align-items: center;
                        -webkit-box-align: center;
                        -ms-flex-align: center;
                        align-items: center;
                        
                        & .review-img{
                            & img{
                                border-radius: 50%;
                                width: 80px;
                            }
                        }
                        & .review-head{
                            & .author_name{
                                color: $heading-color;
                                font-size: 16px;
                            }
                            
                            & span{
                                color: $heading-color;
                                font-size: 14px;
                            }
                        }
                    }
                    
                    & .date {
                        position: absolute;
                        right: 30px;
                        top: 30px;
                        
                        @media #{$xs}{
                            position: relative;
                            right: 0;
                            top: 0;
                            margin-top: 10px;
                        }
                        @media #{$sm}{
                            position: absolute;
                            right: 30px;
                            top: 30px;
                            margin-top: 0;
                        }
                        
                        & span{
                            font-size: 14px;
                            font-weight: 700;
                        }
                    }
                    
                    & .review-cont{
                        & p{
                            padding-top: 10px;
                            padding-bottom: 8px;
                        }
                        
                        & .rating{
                            display: -moz-flex;
                            display: -ms-flex;
                            display: -o-flex;
                            display: -webkit-box;
                            display: -ms-flexbox;
                            display: flex;
                            
                            & ul{
                                overflow: hidden;
                                
                                & li{
                                    float: left;
	                                margin-top: 0;
                                    color: #ffa800;
                                    font-size: 14px;
                                }
                            }
                            
                            & span{
                                font-size: 16px;
                                font-weight: 600;
                                margin-left: 10px;
                            }
                        }
                    }
                }
            }
            
            & .reviwe-form{
                & .form_title{
                    font-size: 30px;
                    font-weight: 700;
                    color: $heading-color;
                }
                
                & .form-box{
                    margin-top: 30px;
                    
                    & input,
                    & textarea {
                        width: 100%;
                        height: 40px;
                        padding-left: 15px;
                        border: 1px solid rgba($heading-color, 0.1);
                        border-radius: 5px;
                        font-size: 14px;
                        color: $black;
                        @include transition(0.3s);
                        
                        &:focus{
                            border-color: $theme-color-2;
                        }
                    }
                    
                    & textarea {
                        height: 220px;
                        padding-top: 15px;
                        resize: none;
                    }
                }
                
                & .note{      
                    margin-top: 30px;
                    
                    & p{
                        & span{
                            font-weight: 700;
                            margin-right: 10px;
                            color: $black;
                        }
                    }
                }
                
                & .rating {
                    display: -moz-flex;
                    display: -ms-flex;
                    display: -o-flex;
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    
                    & span{
                        font-weight: 700;
                        margin-right: 10px;
                        font-size: 14px;
                        margin-right: 10px;
                    }
                    
                    & ul{
                        & li{
                            display: inline-block;
                            color: $heading-color;
                            font-weight: 700;
                            font-size: 14px;
                            
                            & a{
                                font-size: 14px;
                                color: #999;
                            }
                        }
                    }
                }
                
                & button{
                    padding: 0 50px;
                    font-size: 16px;
                    line-height: 45px;
                    color: $white;
                    background-color: $theme-color-2;
                    font-weight: 700;
                    text-transform: uppercase;
                    border: 0;
                    border-radius: 5px;
                    margin-top: 40px;
                    cursor: pointer;
                    @include transition(0.3s);
                    
                    &:hover{
                        background-color: $theme-color;
                    }
                }
            }
        }
    }
}
















