:root {
    --nv-color: #333;
    --nv-border-color: #ddd;
    --nv-red-color: #ed3f3f;
    --nv-background-color: #eee;
    --nv-background-bl-color: #d1ecff;
}

.news-center{
    margin-bottom: 30px;
}

.news-center-item{
    position: relative;
    display: flex;
    background-color: #f3faff;
    overflow: hidden;
}

.news-center-item .news-center-content{
    flex-basis: 50%;
    padding: 30px;
    margin-left: -1px;
}

.news-center-item .news-center-content .news-center-cat a{
    background-color: #050149;
    color: #fff;
    padding: 5px 20px;
    font-size: 12px;
    border-radius: 20px;
    text-transform: uppercase;
    transition: 0.3s all;
}

.news-center-item .news-center-content .news-center-cat a:hover{
    background-color: #ed3f3f;
}

.news-center-item .news-center-content h3{
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
    margin: 20px 0 10px;
}

.news-center-item .news-center-content .news-center-meta{
    font-size: 14px;
    margin-bottom: 20px;
}

.news-center-item .news-center-content p{
    margin: 0;
}

.news-center-item .news-center-img{
    flex-basis: 50%;
}

.news-center-item .news-center-img img{
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.news-center .owl-nav{
    position: absolute;
    bottom: 18px;
    left: 40%;
}

.news-center .owl-nav .owl-prev{
    margin-right: 10px;
}

/*section-news-tabs*/
.section-news-tabs .nav{
    text-align: right;
    margin-bottom: 20px;
}

.section-news-tabs .nav li{
    display: inline-block;
}

.section-news-tabs .nav li a{
    position: relative;
    color: #050149;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 18px 4px;
    margin-left: 12px;
    background-color: #eee;
    border-radius: 15px;
}

.section-news-tabs .nav li a:hover,
.section-news-tabs .nav li.active a{
    background-color: var(--nv-red-color);
    color: #fff;
    filter: drop-shadow(2px 2px 6px black);
}

.newscat-style2 .item{
    position: relative;
}

.newscat-style2 .item img{
    height: 220px;
    object-fit: cover;
}

.newscat-style2 .item h3{
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    margin: 12px 0 5px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


.newscat-style2 .item span{
    color: #555;
    font-size: 15px;
}

.section-news-bottom .nav{
    margin-bottom: 10px;
}

.section-news-bottom .news-cat-list li a{
    display: flex;
    align-items: center;
}

.viewcat-page-item{
    position: relative;
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.viewcat-page-item h4{
    position: absolute;
    background-color: #505050;
    left: 0;
    top: 20px;
    padding: 6px 18px 4px;
    font-weight: 400;
    text-transform: uppercase;
    transition: 0.4s all;
    z-index: 99;
}

.viewcat-page-item  .viewcat-page-item-thumb{
    position: relative;
    width: 240px;
    float: left;
    margin-right: 15px;
}

.viewcat-page-item  .viewcat-page-item-thumb img{
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.viewcat-page-item h2,
.viewcat-page-item h3{
    font-size: 20px;
    font-weight: 400;
    margin: 5px 0;
    line-height: 30px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.viewcat-page-item p{
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin: 0;
}

.detail-news .socialbutton {
    display: flex;
    justify-content: end;
}

.detail-footer {
    display: flex;
    border-top: 1px solid #eee;
    padding: 12px 0;
    font-size: 14px;
    align-items: center;
}

.detail-footer .rating {
    flex-basis: 40%;
}

.detail-footer .keywords{
    flex-basis: 60%;
}

.keywords a {
    position: relative;
    display: inline-block;
    background-color: #edf0f3;
    padding: 4px 10px;
    margin: 0 4px 4px;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
}

.other-news{
    margin-bottom: 20px;
}

.other-news .other-news-head {
    margin: 30px 0 20px;
    padding: 8px 15px;
    font-size: 18px;
    font-weight: 500;
    color: #050149;
    background-color: #2869970d;
    border-left: 3px solid #050149;
    padding-left: 15px;
}

.other-news ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.other-news ul h4 {
    font-size: 16px;
    font-weight: 400;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.other-news ul li img {
    width: 110px;
    height: 80px;
    margin-right: 12px;
    -o-object-fit: cover;
    object-fit: cover;
}

.other-news .pubtime {
    color: #555;
    margin-top: 4px;
    font-size: 14px;
}

.news-cat-list-style3 .first-news img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-cat-list-style3 .first-news h3{
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0 5px;
}

.news-cat-list-style3 ul li{
    border-top: 1px dotted #eee;
    padding: 8px 0;
}

@media (max-width: 767.98px) {
    .news-center-item{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .news-center-item .news-center-content,
    .news-center-item .news-center-img{
        flex-basis: 100%;
    }

    .news-center-item .news-center-content p{
        overflow: hidden;
        display: -webkit-box;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .news-center-item .news-center-img img{
        height: 260px;
    }

    .section-news-tabs .nav,
    .section-news-bottom .nav{
        overflow-x: scroll;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .section-news-bottom .tab-content{
        margin-bottom: 20px;
    }

    .other-news ul{
        grid-row-gap: 10px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .detail-footer{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .detail-footer .keywords,
    .detail-footer .rating{
        flex-basis: 100%;
    }

    .detail-footer .keywords{
        margin-top: 15px;
    }
}

@media (max-width: 499.98px) {
    .viewcat-page-item .viewcat-page-item-thumb{
        width: 100%;
        margin: 0 0 15px 0;
        float: none;
    }
}