/* 11. blog page css here */
.blog_page_section{
    @media #{$tablet-device}{
        margin-bottom: 60px;
    }
    @media #{$large-mobile}{
        margin-bottom: 60px;
        margin-top: 60px;
    }
}

.blog_wrapper{
    @media #{$tablet-device}{
        margin-bottom: 75px;
    }
    @media #{$large-mobile}{
        margin-bottom: 55px;
    }
    & .single_blog{
        margin-bottom: 35px;
        padding-bottom: 35px;
        border-bottom: 1px solid #e1e1e1;
        overflow: hidden;
        @media #{$large-mobile}{
            margin-bottom: 30px;
            padding-bottom: 30px;
        }
        &:last-child{
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 0;
        }
    }
    & .blog_thumb{
        width: 40%;
        float: left;
        @media #{$large-mobile}{
            width: 100%;
            float: inherit;
        }
        & a{
            @media #{$large-mobile}{
                width: 100%;
            }
            & img{
                @media #{$tablet-device}{
                    width: 100%;
                }
                @media #{$large-mobile}{
                    width: 100%;
                }
            }
        }
        & iframe{
            height: 248px;
            width: 100%;
            @media #{$desktop-device}{
                height: 200px;
            }
            @media #{$tablet-device}{
                height: 200px;
            }
        }
    }
    & .blog_content{
        width: 60%;
        float: left;
        padding-left: 30px;
        padding-top: 0;
        @media #{$large-mobile}{
            width: 100%;
            float: inherit;
            padding-left: 0;
            padding-top: 24px;
        }
        & h4{
            font-size: 28px;
            line-height: 33px;
            font-weight: 500;
            margin-bottom: 10px;
            @media #{$desktop-device}{
               font-size: 24px;
                line-height: 24px;
                margin-bottom: 8px;
            }
            @media #{$tablet-device}{
               font-size: 24px;
                line-height: 24px;
                margin-bottom: 8px;
            }
            @media #{$large-mobile}{
                font-size: 19px;
                line-height: 21px;
                margin-bottom: 7px;
            }
            & a{
                & i{
                    color: $secondary_color; 
                    margin-right: 5px;
                }
            }
        }
        & p.post_desc{
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 0;
            line-height: 28px;
            @media #{$desktop-device}{
               line-height: 23px;
            }
            @media #{$tablet-device}{
               line-height: 23px;
            }
            @media #{$large-mobile}{
              line-height: 21px;
            }
        }
        & .btn_more{
            margin-top: 27px;
            @media #{$desktop-device}{
               margin-top: 19px;
            }
            @media #{$tablet-device}{
               margin-top: 19px;
            }
            @media #{$large-mobile}{
              margin-top: 18px;
            }
            & a{
               color: #fff;
                font-size: 13px;
                height: 36px;
                line-height: 36px;
                padding: 0 25px;
                display: inline-block;
                text-transform: capitalize;
                background: #333;
                font-weight: 500;
                border-radius: 20px;
                &:hover{
                    background: $secondary_color; 
                }
            }
        }
    }

    & .blog_meta{
        margin-bottom: 21px;
        @media #{$desktop-device}{
           margin-bottom: 14px;
        }
        @media #{$tablet-device}{
           margin-bottom: 14px;
        }
        @media #{$large-mobile}{
           margin-bottom: 13px;
        }
        & p{
            font-size: 14px;
            line-height: 24px;
            @media #{$large-mobile}{
                font-size: 13px;
                line-height: 20px;
            }
            & a{
                color: $secondary_color;
                &:hover{
                    text-decoration:underline;
                }
            }
            &.author{
                margin-right: 8px;
                & a{
                    margin-right: 5px;
                }
            }
        }
    }
    & .blog_desc{
        margin-bottom: 25px;
        @media #{$large-mobile}{
            margin-bottom: 20px;
        }
        & p{
            font-size: 14px;
            line-height: 28px;
            margin-bottom: 0;
        }
    }
}

.blog_bidio{
    & .blog_content{
        padding-top: 16px;
        @media #{$desktop-device}{
            padding-top: 19px;
        }
        @media #{$large-mobile}{
            padding-top: 13px;
        }
    }
}

.readmore_button{
    & a{
        height: 38px;
        line-height: 40px;
        background: $secondary_color;
        border: 0;
        color: #fff;
        display: block;
        text-align: center;
        padding: 0 20px;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 600;
        font-style: normal;
        border-radius: 3px;
        max-width: 170px;
        &:hover{
            background: $fonts_color;
        }
        @media #{$large-mobile}{
            max-width: 130px;
        }
    }
	
}


.blog_sidebar_widget{
    & .widget_title{
        position: relative;
        margin-bottom: 20px;
        & h3{
            margin-bottom: 0;
        }
    }
    & .widget_list{
        margin-bottom: 28px;
        &:last-child{
            margin-bottom: 0;
        }
        @media #{$tablet-device}{
            margin-bottom: 75px;
        }
        @media #{$large-mobile}{
            margin-bottom: 56px;
        }
        &.comments{
            & .post_thumb{
                & a{
                    & img{
                        border-radius: 50%;
                    }
                }
            }
            & .post_info{
                & span{
                    & a{
                        color: $secondary_color;
                    }
                }
                & a{
                    &:hover{
                        color: $secondary_color;
                    }
                }
            }
        }
    }
    & .widget_categories{
        background: inherit;
        margin-bottom: 18px;
        & .widget_title{
            margin-bottom: 15px
        }
        @media #{$tablet-device}{
            margin-bottom: 62px;
        }
        @media #{$large-mobile}{
            margin-bottom: 43px;
        }
        & ul{
            & li{
                & a{
                    color: $fonts_color;
                    padding: 0;
                    border: 0;
                    line-height: 35px;
                }
            }
        }
    }
}
.widget_search{
    & input{
        height: 35px;
        border: 1px solid $grey_color;
        background: $body-color;
        color: $fonts_color;
        width: 100%;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    & button{
        color: $body-color;
        display: inline-block;
        background: #242424;
        border: none;
        padding: 0 20px;
        height: 34px;
        line-height: 35px;
        text-transform: uppercase;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        -webkit-transition: .3s;
        transition: .3s;
        border-radius: 3px;
        &:hover{
            background: $secondary_color;
        }
    }
}

.tag_widget{
    & ul{
        & li{
             display: inline-block;
            & a{
                margin: 0 6px 0 0;
                display: block;
                font-size: 12px;
                font-weight: 400;
                border: 1px solid $grey_color;
                background: $body-color;
                padding: 0 15px;
                line-height: 29px;
                border-radius: 3px;
                &:hover{
                     background: $secondary_color;
                    border-color: $secondary_color;
                    color: $body-color;
                }
            }
        }
    }
}


.post_thumb {
	width: 60px;
	float: left;
	margin-right: 10px;
}
.post_wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 15px;
    &:last-child{
        margin-bottom: 0;
    }
}

.post_info{
    & h4{
        font-size: 13px; 
        font-weight: 500;
        text-transform: capitalize;
        line-height: 14px;
        margin-bottom: 5px;
        & a{
            &:hover{
                color: $secondary_color;
            }
        }
    }
    & span{
        font-size: 12px;
    }
}

.blog_categories{
    & ul{
        & li{
            border-top: 1px solid #ddd;
            & a{
                padding: 10px 0;
                text-transform: capitalize;
                display: inline-block;
                margin-left: 0;
                &:hover{
                  color: $secondary_color;  
                }
            }
            &:last-child{
                & a{
                    padding-bottom: 0;
                }
            }
        }
    }
}

.shipping_area.shipping_contact.blog_shipping {
	margin-top: 94px;
}

.blog_pagination{
    margin-top: 40px;
    margin-bottom: 87px;
    @media #{$tablet-device}{
        margin-top: 80px;
        margin-bottom: 67px;
    }
    @media #{$large-mobile}{
       margin-bottom: 40px;
    }
    & .pagination{
        border: 1px solid $grey_color;
        justify-content: center;
        padding: 10px 0;
        @media #{$large-mobile}{
            margin-top: 0;
        }
    }
}

/*blog page css end*/



/*blog fullwidth css here*/
.blog_fullwidth{
    margin-bottom: 0;
    @media #{$tablet-device}{
        margin-bottom: 60px;
        margin-top: 80px;
    }
    @media #{$large-mobile}{
        margin-bottom: 60px;
        margin-top: 60px;
    }
    & .blog_thumb{
        width: 100%;
        float: inherit;
        & iframe{
            height: 550px;
            @media #{$desktop-device}{
                height: 440px;
            }
            @media #{$tablet-device}{
                height: 440px;
            }
            @media #{$large-mobile}{
                height: 200px;
            }
        }
    }
    & .blog_content{
        width: 100%;
        float: inherit;
        padding-left: 0;
        padding-top: 27px;
        @media #{$large-mobile}{
           padding-top: 24px;
        }
    }
}


.blog_thumb_active{
    &:hover{
        & .owl-nav{
            & > div{
                left: 20px;
                opacity: 1;
                visibility: visible;
                &.owl-next{
                    right: 20px;
                }
            }
        }
    }
    & .owl-nav{
        & > div{
            position: absolute;
            top: 50%;
            transform: translatey(-50%);
            background: rgba(236, 54, 66, 0.6);
            width: 30px;
            height: 30px;
            line-height: 30px;
            font-size: 20px;
            color: $body-color;
            text-align: center;
            border-radius: 50%;
            left: 40px;
            @include transition(.5s);
            opacity: 0;
            visibility: hidden;
            &.owl-next{
                right: 40px;
                left: auto;
            }
        }
    }
}

.blog_aduio_icone{
    margin-bottom: 14px;
    margin-top: 23px;
    @media #{$desktop-device}{
        margin-bottom: 8px;
        margin-top: 15px;
    }
    @media #{$tablet-device}{
        margin-bottom: 8px;
        margin-top: 15px;
    }
    @media #{$large-mobile}{
        margin-bottom: 11px;
        margin-top: 16px;
    }
    & audio{
    width: 100%;
    }
}

.blog_page_section.blog_reverse{
    @media #{$tablet-device}{
        margin-top: 80px;
    }
}
.blog_reverse{
    & .row{
        @media #{$tablet-device}{
            flex-direction: column-reverse;
        }
        @media #{$large-mobile}{
            flex-direction: column-reverse;
        }
    }
}


.blog_wrapper_sidebar{  
    & .row{
        @media #{$tablet-device}{
            flex-direction: row;
        }
        @media #{$large-mobile}{
            flex-direction: row;
        }
    }
}

.blog_nosidebar{
    @media #{$desktop-device}{
       margin-bottom: 0;
    }
    & .single_blog {
        overflow: hidden;
    }
    & .single_blog_gallery {
        overflow: hidden;
    }
    & .blog_thumb{
        float: left;
        width: 30%;
        @media #{$tablet-device}{
            width: 35%;
        }
        @media #{$large-mobile}{
            width: 100%;
        }
    }
    & .blog_thumb_active{
        float: left;
        width: 30%;
        @media #{$tablet-device}{
            width: 35%;
        }
        @media #{$large-mobile}{
            width: 100%;
        }
    }
    & .blog_content{
        float: left;
        width: 70%;
        padding-top: 0;
        padding-left: 25px;
        @media #{$tablet-device}{
            width: 65%;
        }
        @media #{$large-mobile}{
            width: 100%;
            padding-left: 0;
            padding-top: 20px;
        }
        & h3{
            
            @media #{$tablet-device}{
                line-height: 20px;
                margin-bottom: 9px;
            } 
        }
    }
    & .blog_meta{
        @media #{$tablet-device}{
            margin-bottom: 9px;
        }
    }
}










