


/*===========================
        10.Blog css 
===========================*/


.blog-area{

    &.blog-bg{
        background-color: #f1f1f1;
    }
}


.single-blog{
    & .blag-image{
        overflow: hidden;
        position: relative;
        
        & a{
            display: block;
            
            & img{
                width: 100%;
                @include transition(0.3s);
            }
        }
        
        & .meta-date{
            width: 60px;
            height: 60px;
            text-align: center;
            background: #000000;
            color: $white;
            padding: 10px 0;
            position: absolute;
            top: 10px;
            left: 10px;
            & .day{
                display: block;
	            font-size: 28px;
            }
            & .month{
                font-size: 11px;
                text-transform: uppercase;
                font-weight: 500;
                letter-spacing: 0.2em;
            }
        }
    }
    & .blag-content{
        & .blog-title{
            & a{
                font-size: 18px;
                font-weight: 500;
                line-height: 1;
                color: $black;
                text-transform: capitalize;
                position: relative;
                display: block;
                margin-top: 30px;
                @include transition(0.3s);
                
                @media #{$lg}{
                    font-size: 16px;
                }
                @media #{$xs}{
                    font-size: 16px;
                }
                @media #{$sm}{
                    font-size: 18px;
                }
                
                &:hover{
                    color: $theme-color;
                }
            }
        }
        & p{
            font-size: 16px;
            font-weight: 300;
            color: $body-color;
            display: inline-block;
            width: 100%;
            margin-top: 25px;
        }
    }
    
    &:hover{
        & .blag-image{
            & img{
                @include transform(scale(1.1));
            }
        }
    }
}


.blog-active{
    & .slick-arrow{
        position: absolute;
        top: 50%;
        left: -15px;
        @include transform(translateY(-50%));
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        @include transition(0.3s);
        cursor: pointer;
        
        & i{
            font-size: 26px;
            color: $black;
        }
        
        &.next{
            left: auto;
            right: -15px;
        }
    }
    
    &:hover{
        & .slick-arrow{
            visibility: visible;
            opacity: 1;            
        }
    }
}



