﻿/* detail news */

.detail-news {
}

    .detail-news .container {
        padding-top: 28px;
    }

.detail-news-title {
    margin: 0;
    color: var(--default-color-1);
    font-family: 'InterSB';
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-transform: capitalize;
}

.pager {
    margin-bottom: 0;
    padding-bottom: 25px;
}

.detail-news-bottom {
    padding-top: 35px;
}

.p-side-wrap.side-list-new-event-home {
    padding: 0;
    border-radius: 0px 0px 10px 10px;
    border: unset;
    height: 495px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.side-note.p-side-item.list-side-new-event {
    border-radius: 0px 0px 10px 10px;
    border: 0.5px solid #389723;
    border-top: unset;
    margin: 25px 0;
}

.detail-news-bottom .my-left {
    width: 68.7%;
    float: left;
}

.top-introduce h3 {
    font-size: 19px;
    padding-left: 10px;
}

.side-note .p-side-title h3 {
    font-size: 18px;
    padding-left: 10px;
}

.detail-news-bottom .my-right {
    width: 375px;
    float: right;
    padding-left: 10px;
}

.detail-news-wrap {
    padding-bottom: 50px;
}

.detail-news-author {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

    .detail-news-author .author-img {
    }

        .detail-news-author .author-img img {
        }

    .detail-news-author .author-content {
        padding-left: 12px;
    }

        .detail-news-author .author-content h3 {
            margin: 0;
            color: #212529;
            font-weight: 100;
            font-size: 17px;
            margin-bottom: 5px;
        }

        .detail-news-author .author-content span {
            color: #2c2c2c;
            font-size: 14px;
        }

.detail-news-wrap .descript {
    font-size: 16px;
    color: #2c2c2c;
    font-family: InterM;
    margin-bottom: 35px;
    line-height: 27px;
    text-align: justify;
}

.detail-news-wrap .p-details * {
    font-family: 'InterR' !important;
    font-size: 16px !important;
}

.detail-news-wrap .img {
    border-radius: 10px;
    overflow: hidden;
    display: none;
}

section a {
    display: inline;
}

.detail-news-wrap .img img {
    height: auto !important;
    width: 100% !important;
}

.detail-news-wrap .p-details {
    font-size: 16px;
    margin-top: 24px;
    color: #333;
    line-height: 25px;
    text-align: justify;
}

.detail-news-wrap .social {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eeeeee;
}

    .detail-news-wrap .social .item {
        position: relative;
        border: 1px solid #505050;
        width: 30px;
        height: 30px;
        margin-right: 10px;
        border-radius: 10px;
        color: #505050;
        transition: all ease .2s;
        cursor: pointer;
        font-size: 13px;
    }

        .detail-news-wrap .social .item .fb-share-button span {
            width: 100% !important;
            height: 100% !important;
        }

        .detail-news-wrap .social .item .fb-share-button iframe {
            width: 100% !important;
            height: 100% !important;
        }

        .detail-news-wrap .social .item .fb-share-button {
            position: absolute;
            top: 0;
            left: 0;
            width: 100% !important;
            height: 100% !important;
            opacity: 0;
        }

        .detail-news-wrap .social .item a {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
        }

    .detail-news-wrap .social .popup.show {
        opacity: 1;
        transform: translateY(0);
    }

    .detail-news-wrap .social .popup {
        position: absolute;
        top: 117%;
        pointer-events: none;
        white-space: nowrap;
        background-color: #2c2c2c17;
        color: #333c;
        font-size: 14px;
        border-radius: 5px;
        overflow: hidden;
        opacity: 0;
        padding: 4px 10px;
        transition: 0.6s cubic-bezier(.3,2.2,.3,1);
        transform: translateY(15px);
    }

    .detail-news-wrap .social .item:hover {
        background-color: #505050;
        color: #fff;
    }

    .detail-news-wrap .social h3 {
        margin: 0;
        font-size: 13px;
        color: #505050;
        font-weight: 100;
        margin-bottom: 9px;
        margin-top: 4px;
    }

.detail-news-wrap .social-list {
    display: flex;
}

.same-cate {
    background-color: #f3f3f3;
}

.p-news-item__type2 {
    padding: 15px 0;
}

.same-cate ul.p-news-list__type2.rs.list-news-same-cate {
    padding: 0;
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 0;
}

.same-cate-title {
    position: relative;
    font-family: 'Inter-ExtraBold';
    margin: 0;
    color: var(--default-color-1);
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.575px;
    text-transform: uppercase;
    padding-bottom: 10px;
}

h3.same-cate-title:before {
    content: "";
    position: absolute;
    width: 94px;
    height: 2px;
    background: #D83631;
    left: 0;
    bottom: 5px;
}

.detail-news-bottom .my-right .list a:hover {
    background-color: #e72a24;
    color: #fff;
}

.detail-news-bottom .my-right .list-tag {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: unset;
}

    .detail-news-bottom .my-right .list-tag h3 {
        margin: 0;
        font-size: 18px;
        color: #fff;
        font-family: 'InterB';
        font-weight: normal;
        text-transform: uppercase;
        margin-left: 6px;
    }

    .detail-news-bottom .my-right .list-tag .list {
        margin-top: 0;
        border-radius: 0px 10px 10px 10px;
        border: 1.5px solid #389723;
        padding: 5px;
    }

.detail-news-bottom .my-right .list {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
}

    .detail-news-bottom .my-right .list a {
        font-size: 14px;
        color: #505050;
        background-color: #f2f2f2;
        padding: 6px 16px;
        border-radius: 55px;
        display: block;
        margin: 5px 0;
    }

.p-side-title.title-note-home {
    width: 66%;
}

.list-tag .p-side-title.title-note-home {
    width: 79%;
}

.decor-svg-note-l {
    position: absolute;
    right: -68px;
    bottom: 0;
    height: 29px;
}

.swiper-slide.item-note-home:nth-child(even) {
    background: rgba(171, 226, 156, 0.58);
}

.p-side-read.p-side-item.widget-note-h .p-side-wrap.list-note-home-side {
    padding: 10px 0px;
    height: 470px;
}

.swiper-slide.item-note-home a {
    padding: 14px 12px 0 16px;
}

.my-side-news .side-news-item {
    margin-bottom: 30px;
}

    .my-side-news .side-news-item .title {
        font-family: 'InterB';
        margin: 0;
        color: #389723;
        font-size: 22px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 0.575px;
        text-transform: capitalize;
        border-bottom: 1px solid #F2F2F2;
    }

.side-news-link:first-child {
    margin-top: 10px;
}

.side-news-link:hover h3 {
    color: var(--default-color-4);
}

.side-news-link {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #F2F2F2;
    transition: 0.8s cubic-bezier(.3,2.2,.3,1);
}

    .side-news-link:hover {
    }

        .side-news-link:hover span {
            transform: translateX(6px);
        }

        .side-news-link:hover h3 {
            transform: translateX(6px);
        }

    .side-news-link img {
        width: 20px;
    }

    .side-news-link .index {
        background-color: var(--default-color-1);
        height: fit-content;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        color: #ffffff;
        font-size: 12px;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
    }

    .side-news-link:last-child {
        border: none;
        padding-bottom: 0;
    }

    .side-news-link h3 {
        margin: 0;
        font-size: 16px;
        flex: 1;
        color: #2c2c2c;
        font-weight: 100;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-left: 11px;
        line-height: 24px;
        transition: 0.8s cubic-bezier(.3,2.2,.3,1);
    }

.side-news-item.download {
    position: relative;
}

    .side-news-item.download:after {
        content: "";
        position: absolute;
        background: url(/Design/img/YHocCoTruyen/About/HoaSen2.png) no-repeat;
        right: -8px;
        top: -7px;
        width: 93px;
        height: 73px;
    }

.my-right.side-detail-news.my-side-news .side-news-item:after {
    content: "";
    position: absolute;
    background: url(/Uploads/images/EditSetting/Logo.png) no-repeat;
    background-size: cover;
    right: 1px;
    top: 0px;
    width: 53px;
    height: 53px;
}

.side-news-item.download img {
    width: 22px;
}

.side-news-item.download a {
    align-items: center;
    padding: 18px 0 !important;
    font-family: 'InterM';
}

    .side-news-item.download a:hover {
        color: #FF1C15;
    }

        .side-news-item.download a:hover h3 {
            text-decoration: underline;
        }

    .side-news-item.download a h3 {
        color: var(--default-color-4);
        margin-left: 5px;
        padding: 0;
        transform: translateX(0) !important;
    }

.side-news-link.down {
    flex-direction: column;
    user-select: none;
    padding: 12px 0;
}

    .side-news-link.down h3 {
        padding: 0;
        color: #2c2c2c !important;
    }

    .side-news-link.down a {
    }

    .side-news-link.down .bot-options {
        display: flex;
        align-items: center;
        margin-top: 6px;
    }

    .side-news-link.down .options-item:first-child {
        margin-left: 0;
    }

    .side-news-link.down .options-item:hover {
        text-decoration: underline;
    }

    .side-news-link.down .options-item {
        cursor: pointer;
        font-size: 14px;
        color: var(--default-color-4);
        margin: 0 5px;
    }

.vanban-filter {
    margin-bottom: 43px;
}

.vanban-filter-item {
    display: flex;
    align-items: center;
}

    .vanban-filter-item h3 {
        margin: 0;
        font-family: 'InterR';
        color: var(--default-color-1);
        font-size: 18px;
        margin-right: 30px;
    }

    .vanban-filter-item .input {
        flex: 1;
        border: 1px solid #33333329;
        border-radius: 5px;
        position: relative;
        display: flex;
        align-items: center;
        padding: 10px 20px;
        user-select: none;
        cursor: pointer;
    }

        .vanban-filter-item .input.show::before {
            transform: rotate(180deg);
        }

        .vanban-filter-item .input::before {
            right: 15px;
            content: "\f078";
            position: absolute;
            font-family: FontAwesome;
            color: var(--default-color-1);
            font-size: 14px;
            transition: 0.8s cubic-bezier(.3,1.8,.3,1);
        }

        .vanban-filter-item .input span {
            font-family: 'InterR';
            color: var(--default-color-1);
            font-size: 15px;
        }

        .vanban-filter-item .input.show .drop {
            opacity: 1;
            pointer-events: all;
            transform: translateY(0);
        }

        .vanban-filter-item .input .drop {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: #fff;
            z-index: 2;
            border-radius: 5px;
            border: 1px solid #33333329;
            pointer-events: none;
            opacity: 0;
            transform: translateY(10px);
            transition: 0.6s cubic-bezier(.3,2.2,.3,1);
            box-shadow: 0 0 10px 0 #3333332e;
        }

        .vanban-filter-item .input .drop-item {
            color: #333;
            font-size: 15px;
            padding: 6px 12px;
            transition: all linear .2s;
            cursor: pointer;
        }

            .vanban-filter-item .input .drop-item:hover {
                background-color: #f2f2f2;
                color: var(--default-color-1);
            }

.vanban-filter-btn {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.vanban-filter-count {
    color: #333;
    font-size: 15px;
    font-family: sfm;
    margin-bottom: 8px;
    display: block;
}

.vanban-filter-btn a {
    margin: 10px 5px;
    font-size: 16px;
    font-family: 'InterR';
    border-radius: 5px;
    padding: 8px 18px;
    transition: all linear .2s;
}

.my-right.side-detail-news.my-side-news .side-news-item {
    position: relative;
}

.vanban-filter-btn a:first-child:hover {
    background-color: transparent;
    color: var(--default-color-1);
}

.vanban-filter-btn a:last-child:hover {
    background-color: transparent;
    color: #006a3f;
    border: 1px solid #006a3f;
}

.vanban-filter-btn a:hover {
}

table, th, td {
    /* border: 1px solid #ccc; */
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    /* padding: 10px; */
}

tr:hover {
    background-color: #ddd;
    cursor: pointer;
}

.vanban-filter-btn a:first-child img {
    width: 22px;
    height: auto;
    margin-right: 6px;
    border-radius: 50%;
}

.vanban-filter-btn a:first-child {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: #fff;
    background-color: var(--default-color-1);
    border: 1px solid var(--default-color-1);
}

.vanban-filter-btn a:last-child {
    color: #1d2129;
    background-color: #fbcf72;
    border: 1px solid #fbcf72;
}

.decor-new-event.video-icon-about svg path {
    fill: #fff;
}

.decor-new-event.video-icon-about {
    display: flex;
    align-items: center;
}
/*RS*/
@media(max-width:1023px) {
    .detail-news-bottom {
        padding-top: 20px;
    }

    .same-cate ul.p-news-list__type2.rs.list-news-same-cate {
        padding: 0;
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 0;
        padding-bottom: 32px;
    }

    ul.list-cate-introduce li.item a h3 {
        font-size: 18px;
    }

    .top-introduce h3 {
        font-size: 18px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .detail-news-title {
        font-size: 18px;
        text-transform: none;
    }

    .same-cate ul.p-news-list__type2.rs.list-news-same-cate {
        padding: 0;
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 12px;
        padding-bottom: 32px;
    }

    .vanban-filter-item h3 {
        font-size: 14px;
        margin-right: 9px;
    }

    .vanban-filter-item .input span {
        font-size: 13px;
    }

    .vanban-filter-item .input {
        padding: 8px 10px;
    }

    .side-note .p-side-title h3 {
        font-size: 16px;
        padding-left: 10px;
    }

    .side-note.p-side-item.list-side-new-event .decor-new-event svg {
        width: 69%;
        height: auto;
    }

    .side-note.p-side-item.list-side-new-event {
        border-top: 0.5px solid #389723;
        border-radius: 10px;
    }

    .p-side-read .title {
        font-size: 15px;
    }

    .side-note .title {
        font-size: 15px;
    }

    ul.p-news-list__type2.rs.list-news-same-cate {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
        margin-top: 15px;
        padding-bottom: 25px;
    }

        ul.p-news-list__type2.rs.list-news-same-cate .p-news-item__type2 {
            padding: 0;
        }

            ul.p-news-list__type2.rs.list-news-same-cate .p-news-item__type2 .p-news-img__type2 {
                height: 135px;
            }

            ul.p-news-list__type2.rs.list-news-same-cate .p-news-item__type2 .p-news-link__type2 .title {
                font-size: 14px;
                line-height: 150%;
                height: auto;
                margin-bottom: 0;
            }

            ul.p-news-list__type2.rs.list-news-same-cate .p-news-item__type2 .p-news-link__type2 .descript {
                font-size: 13px;
                line-height: 150%;
                height: auto;
                margin-top: 4px;
            }
}