/*
Theme Name: Dich vu moi truong xanh
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.nl-post-item {
    box-shadow: rgb(34 34 34 / 7%) 3px 3px 9px 0px;
    margin-bottom: 30px;
}
.nl-post-item .col{
    padding-bottom: 0;
}
.nl-post-item .post-content-wrap{
    padding: 10px 10px 10px 0;
}
.nl-post-item .box-meta a,
.nl-post-item .box-meta,
.nl-post-item figure{
    color: #777;
}
.nl-post-item .box-meta svg{
    width: 18px;
    fill: #777;
}
.nl-post-item .box-meta .box-date,
.nl-post-item .box-meta .box-cat{
    display: flex;
    gap: 7px;
    padding-bottom: 0;
}
.nl-post-item .box-meta .box-cat{
    text-align: right;
}
.nl-post-item .title{
    font-weight: 600;
    font-size: 18px;
    overflow: hidden;
}
.nl-post-item .post-image{
    position: relative;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.nl-post-item .post-image img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-wrapper .widget-title,
.post-sidebar .widget-title{
    font-size: 15px;
    color: #fff;
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    background: #0a8949;
    margin: 0;
    height: 40px;
    line-height: 40px;
    padding-left: 3px;
    display: block;
    letter-spacing: 0;
}
.sidebar-wrapper .widget-title span,
.post-sidebar .widget-title span {
    position: relative;
    display: inline-block;
    text-align: center;
    background: #fe8300;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
}
.sidebar-wrapper .widget-title span:before,
.post-sidebar .widget-title span:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid #fe8300;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    left: initial;
    top: 0px;
    right: -10px;
}
.sidebar-wrapper .widget-title:after,
.post-sidebar .widget-title:after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid #0a8949;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    left: 3px;
    top: 50%;
    margin-top: -4px;
    z-index: 10;
}

#category-posts-2-internal .cat-post-item:before,
#category-posts-2-internal .cat-post-item:after,
.sidebar-wrapper .is-divider,
.post-sidebar .is-divider{
    display: none !important;
}
#category-posts-2-internal .cat-post-item{
    margin: 0 !important;
    border: 0;
    display: inline-block;
    width: 100%;
}
#category-posts-2-internal li:first-child > div{
    margin-top: 0;
}
#category-posts-2-internal .cat-post-item .cat-post-title{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #212529;
}
#category-posts-2-internal li > div{
    margin: 0 !important;
}
.sidebar-wrapper .textwidget,
.sidebar-wrapper .custom-html-widget,
.sidebar-wrapper .category-posts-internal,
.post-sidebar .custom-html-widget,
.post-sidebar .category-posts-internal, .sidebar .widget_nav_menu > div, .widget_supports .list-supporter, .sidebar .content-feature-page, .sidebar .slider-products, .sidebar .list-post-item, .sidebar .widget_text .textwidget, .sidebar .widget_recently_viewed_products .product_list_widget {
    border: 1px solid #cccccc;
    border-top: none;
}
.sidebar-wrapper .widget_list_posts .list-post-item,
.sidebar-wrapper .category-posts-internal,
.sidebar-wrapper .textwidget,
.post-sidebar .category-posts-internal,
.sidebar .widget_list_posts .list-post-item, .sidebar .widget_list_view_posts .list-post-item, .sidebar .widget .content-feature-page, .sidebar .textwidget, .sidebar .widget_recently_viewed_products .product_list_widget {
    padding: 10px;
}
.related-posts {
    margin-bottom: 30px;
}
.related-posts .related-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.related-posts .post-item {
    margin: 0 0 20px;
    padding-bottom: 0;
}
.sh-blog-shortcode.style-5 .entry-thumb {
    float: left;
    width: 110px;
    margin-right: 15px;
}
.sh-blog-shortcode .post-item .entry-thumb a {
    overflow: hidden;
    display: block;
}
.sh-blog-shortcode .post-item  .entry-thumb a img {
    width: 100%;
    height: auto;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.sh-blog-shortcode .post-item  .box-content {
    margin: 0;
}
.sh-blog-shortcode .post-item .box-content:before, .sh-blog-shortcode .post-item .box-content:after{
    content: "";
    display: table;
    table-layout: fixed;
}
.sh-blog-shortcode .post-item .box-content:after{
    clear: both;
}
.sh-blog-shortcode.style-5 .post-item  .entry-title {
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    width: auto;
}
.sh-blog-shortcode.style-5 .post-item .entry-title a {
    color: #333333;
}
@media (max-width: 549px){
    .nl-post-item .post-image img{
        position: initial;
        width: 100%;
        height: auto;
    }
}