


/*===========================
  19. BLOG PAGE css 
===========================*/

.blog-page {
	@media #{$md}{
        padding-top: 50px;
        padding-bottom: 100px;
    }
    @media #{$xs}{
        padding-top: 30px;
        padding-bottom: 80px;
    }
}


.blog-details{
    & .blog-details-thum{
        & img{
            width: 100%;
        }
    }
    
    & .blog-details-content{
        margin-top: 25px;
        
        & .blog-details-title{
            font-size: 30px;
            font-weight: 600;
            
            @media #{$lg}{
                font-size: 26px;
            }
            @media #{$xs}{
                font-size: 20px;
            }
            @media #{$sm}{
                font-size: 24px;
            }
        }
        & .post-meta{
            padding-top: 5px;
            
            & ul{
                & li{
                    display: inline-block;
                    margin-top: 15px;
                    margin-right: 40px;
                    
                    @media #{$lg}{
                        margin-right: 20px;
                    }
                    @media #{$xs}{
                        margin-right: 20px;
                    }
                    @media #{$sm}{
                        margin-right: 15px;
                    }
                    
                    &:last-child{
                        margin-right: 0;
                        
                        
                    }
                    
                    & .admin{
                        & .thumb{
                            & img{
                                width: 50px;
                                height: 50px;
                                object-fit: cover;
                                object-position: center;
                                border-radius: 50%;
                                padding: 2px;
                                background-color: $white;
                                @include box-shadow (0px 6px 9px 0px rgba(72,127,255,0.35));
                                
                                @media #{$xs}{
                                    width: 35px;
                                    height: 35px;
                                }
                            }
                        }
                        & .content{
                            padding-left: 15px;
                            
                            @media #{$xs}{
                                padding-left: 10px;
                            }
                            
                            & a{
                                font-size: 16px;
                                color: $heading-color;
                                font-family: $poppins;
                                font-weight: 500;
                                @include transition(0.3s);
                                
                                @media #{$xs}{
                                    font-size: 14px;
                                }
                        
                                &:hover{
                                    color: $theme-color;
                                }
                            }
                        }
                    }
                    
                    & .meta-items{
                        font-size: 16px;
                        color: $body-color;
                        @include transition(0.3s);
                        
                        @media #{$xs}{
                            font-size: 14px;
                        }
                        
                        &:hover{
                            color: $theme-color;
                        }
                        
                        & i{
                            margin-right: 5px;
                            color: $theme-color;
                        }
                    }
                }
            }
        }
        & .text{
            margin-top: 30px;
        }
        & .blockquote{
            background-color: $theme-color;
            margin-bottom: 0;
            padding: 30px;
            border-radius: 5px;
            
            @media #{$xs}{
                padding: 20px;
            }
            
            & p{
                font-size: 18px;
                font-style: italic;
                line-height: 30px;
                color: $white;
                
                @media #{$xs}{
                    font-size: 16px;
                }
                
                & i{
                    font-size: 30px;
                    position: relative;
                    opacity: 0.17;
                    top: 8px;
                    left: 5px;
                }
            }
        }
        & .blog-details-image{
            & img{
                width: 100%;
                margin-top: 30px;
            }
        }
    }
}


.blog-tag-share{
    border-top: 1px solid $border-color;
    border-bottom: 1px solid $border-color;
    
    & .blog-tag{
        & span{
            font-size: 16px;
            color: $heading-color;
            margin-right: 5px;
            font-weight: 500;
            
            @media #{$xs}{
                font-size: 14px;
            }
        }
        & ul{
            & li{
                display: inline-block;
                & a{
                    font-size: 16px;
                    color: $body-color;
                    @include transition(0.3s);
                    
                    @media #{$xs}{
                        font-size: 14px;
                    }
                    
                    &:hover{
                        color: $theme-color;
                    }
                }
            }
        }
    }
    & .blog-share{
        
        
        & ul{
            & li{
                display: inline-block;
                margin-right: 18px;
                
                &:last-child{
                    margin-right: 0;
                }
                & a{
                    width: 40px;
                    height: 40px;
                    line-height: 40px;
                    background-color: $gray-2;
                    text-align: center;
                    border-radius: 50%;
                    @include transition(0.3s);
                    
                    &:hover{
                        background-color: $theme-color;
                        color: $white;
                    }
                }
            }
        }
    }
}



.blog-comment{
    
    & .comment-title{
        & .title{
            font-size: 24px;
            font-weight: 600;
            color: $heading-color;
        }
    }
    
    & .comment-items{
        border-bottom: 1px solid $border-color;
        padding-bottom: 50px;
        
        & .single-comment{
            margin-top: 25px;
            
            & .comment-thumb{
                & img{
                    width: 75px;
                    height: 75px;
                    border-radius: 50%;
                    padding: 4px;
                    background-color: $white;
                    @include box-shadow (0px 6px 9px 0px rgba(0, 0, 0, 0.08));
                }
            }
            & .comment-content{
                padding-left: 25px;
                position: relative;
                
                @media #{$xs}{
                    padding-left: 0;
                    padding-top: 25px;
                }
                @media #{$sm}{
                    padding-left: 25px;
                    padding-top: 0;
                }
                
                & .author-name{
                    font-size: 16px;
                    color: $heading-color;
                    font-weight: 600;
                    margin-bottom: 5px;
                }
                & span{
                    font-family: $poppins;
                    color: $theme-color;
                    margin-bottom: 15px;
                }
                & .text{}
                & .replay{
                    position: absolute;
                    top: 0;
                    right: 0;
                    font-weight: 500;
                    
                    @media #{$xs}{
                        position: relative;
                        margin-top: 10px;
                    }
                    @media #{$xs}{
                        position: absolute;
                        margin-top: 0;
                    }
                    
                    & i{
                        margin-right: 5px;
                    }
                }
            }
        }
        
        & .comment-replay{
            padding-left: 100px;
            
            @media #{$xs}{
                padding-left: 30px;
            }
            @media #{$sm}{
                padding-left: 100px;
            }
        }
    }
    
    & .comment-form{
        & .single-comment-form{
            margin-top: 30px;

            & input,
            & textarea{
                width: 100%;
                height: 60px;
                border: 1px solid $border-color;
                background-color: $gray;
                padding:  20px;
                font-size: 16px;
                color: $body-color;
                
                @include placeholder{
                    opacity: 1;
                    color: $body-color;
                }
                
                &:focus{
                    border-color: $theme-color;
                }
            }

            & textarea{
                height: 190px;
                resize: none;
                padding-top: 15px;

            }
            
            & .main-btn{
                width: 165px;
                height: 60px;
            }
        }
    }
}


























