/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

.news-headline{
    position: relative;
    margin-bottom: 15px;
}

.news-headline-slider.owl-carousel .owl-nav > button{
    position: absolute;
    top: 26%;
    transform: translate(0, 26%);
    background-color: #6d6d6d !important;
    font-size: 20px !important;
    color: #fff !important;
    opacity: 0.6;
    transition: all 0.3s ease 0s;
}

.news-headline-slider.owl-carousel .owl-nav > button.owl-prev{
    padding: 5px 14px !important;
    left: 6px;
}

.news-headline-slider.owl-carousel .owl-nav > button.owl-next{
    padding: 5px 14px !important;
    right: 6px;
}

.news-headline-slider.owl-carousel .owl-nav:hover > button{
    background-color: #00904e !important;
    opacity: 1;
}

.news-headline-item{
    position: relative;
    background-color: #008f4f33;
}

.news-headline-item img{
    max-height: 260px;
    object-fit: cover
}

.news-headline-item .headlin-item-content{
    padding: 10px;
}

.news-headline-item .headlin-item-content h3{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.news-headline-item .headlin-item-content a{
    color: #008d4f;
}

.news-headline-item .headlin-item-content p{
    font-size: 15px;
    margin: 0;
}

.news-headline .tabs{
    border: 1px solid #008e4f;
}

.news-headline .tabs .nav-tabs{
    border: none;
}

.news-headline .tabs .nav-tabs li{
    display: contents;
}

.news-headline .tabs .nav-tabs li a{
    background-color: #008f4f;
    color: #fff;
    border: none;
    border-radius: 0;
    display: inline-block;
    width: calc(100% / 2 - 2px);
    text-align: center;
    margin: 0;
    font-weight: 500;
    font-size: 15px;
}

.news-headline .tabs .nav-tabs li.active a{
    background-color: #f8ffda;
    color: #333;
}

.news-headline .tab-content{
    padding: 10px;
}

.lastest-news li{
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: dashed 1px #eaefd4;
}

.lastest-news li:last-child{
    border: none;
    margin: 0;
    padding: 0;
}

.main-right-item{
    position: relative;
    margin-bottom: 20px;
}

.cat-heading{
    position: relative;
    background-color: #0a8c5217;
    border-bottom: 1px solid #008e4f;
    margin-bottom: 8px;
}

.cat-heading h2{
    position: relative;
    background-color: #008e4f;
    color: #fff;
    display: inline-block;
    padding: 8px 8px 8px 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.cat-heading h2:after {
    content: '';
    position: absolute;
    left: 86%;
    top: 0%;
    width: 50px;
    height: 100%;
    background: #008e4f;
    transform: skewX(40deg);
    -webkit-transform: skewX(40deg);
    -ms-transform: skewX(40deg);
    -o-transform: skewX(40deg);
    z-index: 6;
}

.cat-heading h2 a{
    position: relative;
    color: #fff;
    z-index: 999;
}

.box-large .box-thumb img{
    width: 100%;
}

.box-large h3{
    font-size: 16px;
    margin: 5px 0;
}

.box-large p{
    margin: 0;
    font-size: 15px;
}

.related{
    margin: 0;
    padding: 0;
}

.related li{
    display: inline-block;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 8px;
    margin-bottom: 8px !important;
}

.related li:first-child{
    padding-top: 0;
}

.related li:last-child{
    border: none;
    padding-bottom: 0;
}

.related .post-thumbnail{
    margin-left: 5px;
    max-height: 70px;
}

.related img{
    max-width: 100px;
    height: auto;
}

.related h3{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.related p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.view-cat-page-item{
    position: relative;
    display: inline-block;
    width: 100%;
    border-bottom: 1px dotted #c8c8c8;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.view-cat-page-item:last-child{
    border: none;
    padding-bottom: 0;
}

.view-cat-page-item img{
    margin-right: 12px;
}

.view-cat-page-item h2,
.view-cat-page-item h3{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.view-cat-page-item a{
    color: #008d4f;
}

.view-cat-page-item a:hover{
    color: #0b7144;
}

.keywords{
    font-size: 14px;
}

.other-news h3{
    font-size: 18px;
    font-weight: 500;
    color: #008d4f;
    margin-top: 5px;
}

.detail-related li{
    margin-bottom: 2px !important;
}

.detail-related .time{
    font-size: 14px;
}

#news-bodyhtml table {
    width: 100%;
    border-spacing: 0px;
}

#news-bodyhtml table tr:nth-child(1){
    background: #008C4F;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

#news-bodyhtml table td{
    padding: 6px 10px 6px 10px;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

@media (max-width: 767.98px) {
    .news-headline-slider{
        margin-bottom: 15px;
    }

    .box-large{
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
}