﻿table {
    border: 1px;
    margin-bottom: 1em;
}

th, td {
    padding: 15px;
}


.news-general .news-content {
    max-width: 100%;
}

    .news-general .news-content img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

.news-content h2 {
    font-size: 20px;
    color: #033905;
}

.news-content p {
    font-size: 16px;
    color: #0c0c0c;
}

.news-general .ui.inverted.segment, .news-general .ui.primary.inverted.segment {
    background-color: #F4F0F8;
    border: 1px solid #684FFF;
    margin-top: 20px;
    color: #333;
}

    .news-general .ui.inverted.segment .header, .news-general .ui.primary.inverted.segment .header {
        color: #333;
        margin-bottom: 10px;
    }

.news-general h1 {
    color: #033905;
    font-size: 25px;
    margin-bottom: 1rem;
}


.news-general .ui.inverted.list .item a:not(.ui) {
    color: #4183c4 !important;
}


#table-of-contents {
    background-color: #F4F0F8;
    padding: 15px;
    margin-bottom: 15px;
}

    #table-of-contents ul {
        list-style-type: decimal;
        list-style-position: inside;
    }

        #table-of-contents ul li {
            margin-bottom: 5px;
        }


            #table-of-contents ul li a {
                margin-bottom: 5px;
                display: inline;
            }

blockquote {
    font-style: italic !important;
    margin: 0 0 14px 0 !important;
    padding-left: 30px !important;
    position: relative;
}

    blockquote::before {
        content: "";
        position: absolute;
        left: 0;
        top: -7px; /* Kéo dài border lên trên */
        bottom: -7px; /* Kéo dài border xuống dưới */
        width: 4px;
        background-color: #9b86e5;
    }

.news-detail-author {
    text-align: right;
    margin-top: 2em;
}

    .news-detail-author .view-count {
        font-size: small;
        color: #cecece;
        opacity: 1;
        margin-right: 2em;
    }

    .news-detail-author .author {
        font-size: 1rem;
        font-weight: bold;
        color: #592EA9;
    }

@media only screen and (max-width: 767px) {
    .news-detail-author .author {
        font-size: 1.2rem;
    }

    .bvitem-wrapper img {
        width: 120px !important;
    }

    .bvitem-wrapper a {
        -webkit-line-clamp: 4 !important;
    }

    .ui.menu.pagination * {
        font-size: .9rem;
    }
}

/*.news-detail-author span {
    font-size: small;
    opacity: 0.3;
    margin-right: 2em;
}*/

.htpl-wrapper {
    background-color: #e8e8e8bd;
    border-radius: 5px;
    padding: 1em;
    font-size: 15px;
    margin-top: 2em;
}

    .htpl-wrapper a {
        color: #592EA9;
    }

    .htpl-wrapper b {
        color: #592EA9;
    }

.sticky-keep-head {
    position: sticky;
    top: 0;
    transition: padding 0.3s ease-in-out;
}

.news-info {
    font-size: 17px;
    color: rgb(43 40 40 / 87%);
}

    .news-info .description {
        text-align: justify;
        font-weight: 900;
    }

img[alt="trac-nghiem"] {
    width: 100%;
}

input[type="image"] {
    width: 100%;
}

.bvitem-wrapper {
    display: flex;
}

    .bvitem-wrapper img {
        width: 80px;
        float: left;
        margin-right: 10px;
        border: 1px solid #e8e8e8;
    }

    .bvitem-wrapper a {
        color: rgba(0, 0, 0, .85);
        font-weight: bold;
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.hidden {
    display: none;
}
