


/*===========================
  19. BLOG PAGE css 
===========================*/

.blog-page {
	@media #{$md}{
        padding-top: 50px;
        padding-bottom: 100px;
    }
    @media #{$xs}{
        padding-top: 30px;
        padding-bottom: 80px;
    }
}

.single-blog-post{
    
    & .blog-post-thumb{
        overflow: hidden;
        
        & a{
            display: block;
            
            & img{
                width: 100%;
            }
        }
    }
    
    & .blog-post-content{
        background-color: $gray-3;
        padding: 35px;
        
        @media #{$lg}{
            padding: 25px;
        }
        @media #{$xs}{
            padding: 20px;
        }
        
        & .post-content{
            padding-bottom: 30px;
            
            & .blog-title{
                & a{
                    font-weight: 600;
                    font-size: 30px;
                    color: $heading-color;
                    margin-bottom: 20px;
                    @include transition(0.3s);
                    
                    @media #{$xs}{
                        font-size: 20px;
                    }
                        
                    &:hover{
                        color: $theme-color;
                    }
                }
            }
            & .text{
                margin-bottom: 25px;
            }
            
            & .main-btn{
                & i{
                    margin-left: 5px;
                    font-size: 18px;
                }
            }
        }
        & .post-meta{
            padding-top: 15px;
            border-top: 1px solid $border-color;
            
            & 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;
                        }
                    }
                }
            }
        }
    }
    
    
    & .post-thumb-active{
        & a{
            position: relative;
            
            &::before{
                position: absolute;
                content: '';
                width: 100%;
                height: 100%;
                background-color: rgba(33, 40, 73, 0.25);
                top: 0;
                left: 0;
            }
        }
        
        & .slick-arrow{
            position: absolute;
            top: 50%;
            left: 30px;
            @include transform(translateY(-50%));
            z-index: 5;


            &.next{
                left: auto;
                right: 30px;
            }

            & i{
                width: 55px;
                height: 55px;
                line-height: 55px;
                text-align: center;
                background-color: $gray-2;
                border-radius: 50%;
                cursor: pointer;
                font-size: 16px;
                color: $theme-color;
                @include transition(0.3s);

                @media #{$lg}{
                    width: 45px;
                    height: 45px;
                    line-height: 45px;
                }

                &:hover{
                    background-color: $theme-color;
                    color: $white;
                }
            }
        }
    }
}



.blog-sidebar{
    & .sidebar-title{
        background-color: $theme-color;
        text-align: center;
        padding-top: 25px;
        padding-bottom: 30px;
        
        & .title{
            font-size: 24px;
            font-weight: 600;
            color: $white;
            
            @media #{$lg}{
                font-size: 20px;
            }
            @media #{$xs}{
                font-size: 18px;
            }
        }
    }
}


.sidebar-blog-about{
    background-color: $white;
    @include box-shadow (0px 0px 20px 0px rgba(72,127,255,0.2));
    
    
    & .about-card-image{
        & .cover-image{
            & img{
                width: 100%;
            }
        }
        & .cover-author{
            margin-top: -55px;
            position: relative;
            z-index: 5;
            
            & img{
                width: 110px;
                height: 110px;
                padding: 5px;
                background-color: $white;
                border-radius: 50%;
                object-fit: cover;
                object-position: center;
            }
        }
    }
    
    & .about-card-content{
        padding: 30px 20px;
        
        @media #{$xs}{
            padding: 20px 15px;
        }
        @media #{$sm}{
            padding: 30px 20px;
        }
        
        & .title{
            font-size: 16px;
            font-weight: 600;
            color: $heading-color;
            margin-bottom: 10px;
        }
        & .text{
            font-size: 14px;
            margin-bottom: 8px;
        }
        & img{
            margin-bottom: 15px;
        }
        & .social{
            & li{
                display: inline-block;
                margin: 0 3px;
                
                & a{
                    font-size: 16px;
                    color: $body-color-3;
                    @include transition(0.3s);
                    
                    &:hover{
                        color: $theme-color;
                    }
                }
            }
        }
    }
}


.sidebar-blog-category{
    background-color: $white;
    @include box-shadow (0px 0px 20px 0px rgba(72,127,255,0.2));
    border-radius: 5px;
    overflow: hidden;
    
    & .blog-category{
        padding: 0 30px;
        
        @media #{$xs}{
            padding: 0 20px;
        }
        @media #{$sm}{
            padding: 0 30px;
        }
        
        & ul{
            & li{
                & a{
                    display: block;
                    font-size: 16px;
                    color: $body-color;
                    line-height: 65px;
                    border-bottom: 1px solid $border-color;
                    @include transition(0.3s);
                    
                    & span{
                        float: right;
                    }
                    
                    &:hover{
                        color: $theme-color;
                    }
                }
                
                &:last-child{
                    & a{
                        border-bottom: 0;
                    }
                }
            }
        }
    }
}


.sidebar-blog-post{
    background-color: $white;
    @include box-shadow (0px 0px 20px 0px rgba(72,127,255,0.2));
    border-radius: 5px;
    overflow: hidden;
    
    & .blog-post{
        padding: 0 30px;
        
        @media #{$xs}{
            padding: 0 20px;
        }
        @media #{$sm}{
            padding: 0 30px;
        }
        
        & ul{
            & li{
                border-bottom: 1px solid $border-color;
                padding: 30px 0;
                
                & .single-post{
                    & .post-thumb{
                        & a{
                            & img{
                                width: 60px;
                                height: 65px;
                                object-fit: cover;
                                object-position: center;
                            }
                        }
                    }
                    & .post-content{
                        padding-left: 20px;
                        
                        & .post-title{
                            & a{
                                font-size: 16px;
                                font-weight: 500;
                                color: $heading-color;
                                margin-bottom: 5px;
                                @include transition(0.3s);
                            }
                        }
                        
                        & span{
                            font-size: 15px;
                            color: $body-color;
                        }
                    }
                    
                    &:hover{
                        & .post-content{
                            & .post-title{
                                & a{
                                    color: $theme-color;
                                }
                            }
                        }
                    }
                }
                
                &:last-child{
                    border-bottom: 0;
                }
            }
        }
    }
}




.sidebar-blog-appointment{
    background-color: $white;
    @include box-shadow (0px 0px 20px 0px rgba(72,127,255,0.2));
    border-radius: 5px;
    overflow: hidden;
    
    & .blog-appointment{
        padding: 0 30px 30px;
        
        @media #{$xs}{
            padding: 0 20px 20px;
        }
        @media #{$sm}{
            padding: 0 30px 30px;
        }
        
        & .single-blog-form{
            margin-top: 30px;
            position: relative;
            
            & input,
            & textarea{
                width: 100%;
                height: 55px;
                padding-left: 45px;
                padding-right: 30px;
                background-color: $gray;
                border: 1px solid $border-color;
                
                &:focus{
                    border-color: $theme-color;
                }
                
                @include placeholder{
                    opacity: 1;
                    color: $body-color;
                }
            }
            
            & textarea{
                height: 125px;
                resize: none;
                padding-top: 15px;
            }
            
            & i{
                position: absolute;
                top: 19px;
                left: 20px;
                font-size: 16px;
                color: $body-color;
            }
            
            & .main-btn{
                width: 160px;
                height: 55px;
            }
        }
    }
}

























