﻿.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: #0955a1 !important;
    opacity: 1;
}

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

.news-headline-item img{
    height: 305px;
    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 p{
    font-size: 15px;
    margin: 0;
}

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

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

.news-headline .tabs .nav-tabs li a{
    background-color: #58acff;
    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:hover a,
.news-headline .tabs .nav-tabs li.active a{
    background-color: #0955a1;
}

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

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

.viewcat-item .cat-heading{
    position: relative;
    background-color: #efefef;
    border-bottom: 1px solid #0955a1;
    margin-bottom: 8px;
}

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

.viewcat-item .cat-heading h2:after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0%;
    width: 38px;
    height: 100%;
    background-color: #0955a1;
    transform: skewX(40deg);
    -webkit-transform: skewX(40deg);
    -ms-transform: skewX(40deg);
    -o-transform: skewX(40deg);
    z-index: 6;
}

.viewcat-item .cat-heading a{
    color: #fff;
}

.viewcat-item .cat-content{
    position: relative;
    display: inline-block;
    width: 100%;
    border-bottom: 1px dashed #dadada;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.viewcat-item .cat-content img{
    height: 80px;
    margin-right: 10px;
    object-fit: cover;
}

.viewcat-item .cat-content h3{
    font-size: 15px;
    margin-bottom: 2px;
}

.viewcat-item .cat-content ul,
.viewcat-item .cat-content p{
    margin: 0;
}

.viewcat-item .related{
    margin: 0;
}

.viewcat-item .related li{
    position: relative;
    padding-left: 15px;
}

.viewcat-item .related li:before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    background-color: #0955a1;
    width: 6px;
    height: 6px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.RelatedPosts .heading {
    margin: 30px 0 20px;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    background-color: #2869970d;
    border-left: 3px solid #000;
    padding-left: 15px;
}

.RelatedPosts ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.RelatedPosts ul li {
    position: relative;
    list-style: none;
}

.RelatedPosts .lk_image {
    width: 110px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
    float: left;
    margin-right: 15px;
}

.RelatedPosts .lk_image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.RelatedPosts .lk_description h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.RelatedPosts .lk_meta {
    display: inline-block;
    font-size: 13px;
    margin-right: 5px;
    color: #999;
}

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

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

.block-groups img{
    height: 60px;
    margin-right: 10px;
    object-fit: cover;
}

.block-groups li{
    margin-bottom: 13px !important;
}

.block-groups li:last-child{
    margin-bottom: 0 !important;
}

.news-detail h1{
    font-size: 22px;
    line-height: 28px;
    color: #0955a1;
}

.viewcat-page h2,
.viewcat-page h3{
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 2px;
}

.viewcat-page img{
    width: 200px;
    max-height: 220px;
    border-radius: 3px;
    margin-right: 10px;
    object-fit: cover;
}

@media (max-width: 767.98px) {

    .RelatedPosts ul{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

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

    .news-headline-item .headlin-item-content{
        position: absolute;
        bottom: 0;
        width: 100%;
        background-color: #0955a19e;
        padding: 10px;
    }

    .news-headline-item .headlin-item-content h3{
        line-height: 22px;
        margin: 0;
    }

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

    .news-headline-item .headlin-item-content p{
        display: none;
    }
}

@media (max-width: 499.98px) {
    .viewcat-page img{
        width: 100%;
        margin-bottom: 10px;
    }
}