﻿

#news-cat-1 .news-cat-item{
    position: relative;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.24);
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

#news-cat-1 .news-thumb{
    flex-basis: 70%;
}

#news-cat-1 .news-thumb img{
    height: 100%;
    object-fit: cover;
}

#news-cat-1 .news-content{
    padding: 20px;
    flex-basis: 100%;
}

#news-cat-1 .news-content h3{
    font-size: 18px;
    font-weight: 600;
}

#news-cat-1 .news-content .publtime{
    font-size: 14px;
    color: #71717a;
    margin: 5px 0;
    gap: 12px;
}

#news-cat-1 .news-content p{
    margin: 0;
}

#news-cat-3{
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 0px 2px 0px;
    overflow: hidden;
    border-radius: 4px;
}

#post-big .post-item{
    position: relative;
}

#post-big .post-item img{
    height: 420px;
    object-fit: cover;
}

#post-big .post-item-content{
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
    text-align: left;
    padding: 20px;
    background: linear-gradient(rgba(35, 35, 35, 0) 0%, rgb(35, 35, 35) 100%);
}

#post-big .post-item-content .news-cat-tag{
    position: relative;
    display: inline-block;
    background-color: #3a6fff;
    margin-bottom: 10px;
    border-radius: 4px;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

#post-big .post-item-content h3{
    font-size: 18px;
    font-weight: 600;
}

#post-big .post-item-content a{
    color: #fff;
}

#post-thumbs{
    position: relative;
    padding: 10px;
}

#post-thumbs img{
    border-radius: 4px;
    height: 95px;
    cursor: pointer;
    object-fit: cover;
}

.viewcat-page .post-news-item,
.news-post-detail,
#other-news .post-news-item{
    position: relative;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.24);
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.viewcat-page .post-news-item img,
#other-news .post-news-item img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.viewcat-page .post-news-item .post-news-content,
#other-news .post-news-item .post-news-content{
    padding: 15px;
}

.viewcat-page .post-news-item p,
#other-news .post-news-item p{
    margin: 0;
}

.viewcat-page .post-news-item .bi{
    margin-right: 4px;
}

.news-post-detail .detail-image img{
    max-height: 450px;
    object-fit: cover;
}

.news-post-detail .publtime,
#other-news .post-news-item .publtime{
    color: #666;
}

.news-post-detail .bi,
#other-news .post-news-item .bi{
    font-size: 13px;
    margin-right: 3px;
}

.news-post-detail .keywords,
.news-post-detail .keywords a{
    color: #555;
    font-size: 14px;
}

.other-news .heading{
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#other-news .owl-prev,
#other-news .owl-next{
    position: absolute;
    display: flex;
    align-items: center;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #0000fe;
    font-size: 20px;
    background-color: #fff;
    height: 20px;
    border-radius: 4px;
}

#other-news .owl-next{
    right: 20px;
    left: auto;
}

#other-news .owl-prev:hover,
#other-news .owl-next:hover{
    color: #ff6600;
}

@media (max-width: 499.98px) {

    #news-cat-1 .news-cat-item{
        flex-direction: column;
    }

    #news-cat-1 .news-thumb,
    #news-cat-2 .first-post,
    #news-cat-2 .list-post{
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }

    #news-cat-1 .news-thumb img{
        width: 100%;
        /*height: 260px;*/
    }

    #news-cat-1 .news-content p{
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
}






