#news_title {
    padding: 15px;
    font-size: 30px;
    border-bottom: black 1px solid;
}

.news-header-title {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    height: 100%;
    font-size: 5vmax;
    animation: fadeIn ease 2s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.news-subtext {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    color: white;
    font-size: 2vmax;
    border-radius: 1rem;
    margin-top: 3vmax;
}


/* news - new container */

.new {
    display: flex;
    height: 180px;
    margin: 30px 0;
    position: relative;
}

.new .new_left {
    width: 30%;
}

.new .new_left:hover+.new_right .new_right_readmore,
.new .new_left:hover+.new_right .new_right_title {
    text-decoration: underline;
}

.new .new_left .new_left_type {
    position: absolute;
    border: 1px white solid;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin: 10px;
    padding: 0px 15px;
    color: white;
    font-size: 14px;
    z-index: 5;
}

.new .new_left .new_left_img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.new .new_left:after {
    content: '\A';
    position: absolute;
    width: 30%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.new .new_left:hover:after {
    opacity: 1;
}

.new .new_right {
    width: 70%;
    padding: 15px;
}

.new .new_right .new_right_title {
    font-size: 20px;
    color: black;
}

.new .new_right .new_right_date {
    color: gray;
    font-size: 14px;
}

.new .new_right .new_right_content {
    color: black;
    font-size: 18px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new .new_right .new_right_readmore {
    color: black;
    font-size: 18px;
    position: absolute;
    bottom: 15px;
}

.page-link {
    color: black !important;
}

.page-item.active .page-link {
    background-color: black !important;
    color: white!important;
}

@media only screen and (max-width: 768px) {
    .new .new_left .new_left_img {
        height: 180px;
        width: 100%;
        object-fit: contain;
    }
    .new {
        flex-direction: column;
        height: auto;
    }
    .new .new_left {
        width: 100%;
    }
    .new .new_left:after {
        width: 100%;
    }
    .new .new_right .new_right_readmore {
        position: relative;
        bottom: 0px;
    }
}