﻿#news-groups-style-0 .item-slider,
#news-groups-style-2 .news-post-grid{
	position: relative;
	border-radius: 4px;
	overflow: hidden;
}

#news-groups-style-0 .item-slider img{
	height: 363px;
	width: 100%;
	object-fit: cover;
}

#news-groups-style-0 .item-slider-content,
#news-groups-style-2 .news-post-content{
	position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 24px;
    color: #fff;
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    text-align: left;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(35, 35, 35, 0)), to(#232323));
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

#news-groups-style-0 .item-slider-content .cat{
	background-color: #0000fe;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    padding: 4px 10px;
    margin-right: 10px;
    border-radius: 4px;
}

#news-groups-style-0 .item-slider-content .cat:nth-child(2){
	background-color: #02799e;
}

#news-groups-style-0 .item-slider-content .cat:nth-child(3){
	background-color: #000000;
}

#news-groups-style-0 .item-slider-content h3{
    font-size: 18px;
    font-weight: 600;
}

#news-groups-style-0 .item-slider-content h3:hover,
#news-groups-style-2 .news-post-content h3:hover{
	opacity: 0.9;
	text-decoration: underline;
}

#news-groups-style-0 .item-slider-content a,
#news-groups-style-2 .news-post-grid a{
	color: #fff;
}

#news-groups-style-0 .item-slider-content .pubtime{
	font-size: 14px;
}

#news-groups-style-0 .item-slider-content .pubtime .bi,
#news-groups-style-2 .news-post-content .pubtime .bi{
	margin-right: 6px;
}

#news-groups-style-0 .owl-nav{
	position: absolute;
    display: flex;
    gap: 8px;
    font-size: 24px;
    bottom: 24px;
    right: 24px;
}

#news-groups-style-0 .owl-nav button{
	background-color: #fff;
    color: #0000fe;
    height: 22px;
    width: 22px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

#news-groups-style-0 .owl-nav button:hover{
	color: #ff6600;
}

#news-groups-style-2{
	gap: 12px;
}

#news-groups-style-2 .news-post-grid{
	width: calc(50% - 6px);
}

#news-groups-style-2 .news-post-grid img{
	width: 100%;
    height: 175px;
    object-fit: cover;
}

#news-groups-style-2 .news-post-content{
	padding: 50px 16px 10px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

#news-groups-style-2 .news-post-content .pubtime{
	font-size: 12px;
}

#news-groups-style-2 .news-post-content h3{
	font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 2px;
}

#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-2 .first-post,
#news-cat-4 .first-post,
#viewcat-two .first-post{
    position: relative;
    -ms-flex-preferred-size: calc(50% - 10px);
    flex-basis: calc(50% - 10px);
    -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;
    overflow: hidden;
}

#news-cat-2 .first-post img,
#news-cat-4 .first-post img{
    width: 100%;
}

#news-cat-2 .first-post .first-post-content,
#news-cat-4 .first-post .first-post-content,
#viewcat-two .first-post .first-post-content{
    padding: 18px;
}

#news-cat-2 .first-post h3,
#news-cat-4 .first-post h3{
    font-size: 17px;
    font-weight: 600;
}

#news-cat-2 .list-post .post-item:last-child,
#news-cat-2 .first-post p,
#news-cat-4 .first-post p,
#viewcat-two .first-post p{
    margin: 0;
}

#news-cat-2 .first-post .publtime,
#news-cat-4 .first-post .publtime{
    gap: 10px;
    margin: 6px 0 4px;
    color: #555;
}

#news-cat-2 .first-post .bi,
#news-cat-4 .first-post .bi{
    font-size: 14px;
}

#news-cat-2 .list-post{
    -ms-flex-preferred-size: calc(50% - 10px);
    flex-basis: calc(50% - 10px);
}

#news-cat-2 .list-post .post-item,
#news-cat-4 .list-post .post-item,
#viewcat-two .list-post .post-item,
#news-groups-style-3 .news-post-item,
#news-post-style-4 .news-post-item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -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;
}

#news-cat-2 .list-post .post-item img,
#viewcat-two .list-post .post-item img,
#news-groups-style-3 .news-post-item img,
#news-post-style-4 .news-post-item img{
    width: 130px;
    height: 100%;
    object-fit: cover;
}

#news-cat-4 .list-post .post-item img{
    width: 120px;
    height: 100%;
    object-fit: cover;
}

#news-cat-2 .list-post .post-item-content,
#viewcat-two .list-post .post-item-content{
    padding: 12px 16px;
}

#news-cat-4 .list-post .post-item-content,
#news-groups-style-3 .news-post-item .news-post-content,
#news-post-style-4 .news-post-item .news-post-content{
    padding: 10px;
}

#news-cat-2 .list-post .post-item h3,
#news-cat-4 .list-post .post-item h3,
#viewcat-two .list-post .post-item h3,
#news-groups-style-3 .news-post-item h3,
#news-post-style-4 .news-post-item h3{
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 2px;
}

#news-post-style-4 .news-post-item h3{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#news-cat-2 .list-post .post-item .publtime,
#news-cat-4 .list-post .post-item .publtime,
#viewcat-two .list-post .post-item .publtime,
#viewcat-two .first-post .first-post-content .publtime,
#news-groups-style-3 .news-post-item .publtime,
.viewcat-page .post-news-item .publtime,
#news-groups-style-3 .news-post-item .publtime{
    gap: 10px;
    font-size: 14px;
    color: #666;
}

#news-cat-2 .list-post .post-item .bi,
#news-cat-4 .list-post .post-item .bi,
#viewcat-two .list-post .post-item .bi,
#news-groups-style-3 .news-post-item .bi
.viewcat-page .post-news-item .bi,
#news-groups-style-3 .news-post-item .bi {
    font-size: 12px;
    margin-right: 4px;
}

#viewcat-two .first-post{
    margin-bottom: 25px;
}

#viewcat-two .first-post img{
    height: 230px;
    object-fit: cover;
}

#viewcat-two .first-post .first-post-content h3{
    font-size: 16px;
    font-weight: 600;
}

#viewcat-two .first-post .first-post-content .publtime{
    margin: 5px 0;
}

.marquee-items-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.marquee-items-wrapper > div {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    overflow: hidden;
    padding: 2px 0;
    animation-name: marquee-to-left;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-items-wrapper .post-item {
    position: relative;
    text-align: center;
    overflow: hidden;
    background-color: #fff;
    height: 204px;
    border-radius: 4px;
    -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);
}

.marquee-items-wrapper .post-item img{
    height: 120px;
    object-fit: cover;
}

.marquee-items-wrapper .post-item h3{
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
}

@keyframes marquee-to-left {
    from {transform: translate(0,0)}
    to {transform: translate(-50%,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;
    }
}






