﻿.news {
    padding: 20px 0;
    position: relative;
}

    .news .container {
        margin-top: 15px;
    }

    .news .top {
        padding: 15px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .news:before {
        content: "";
        position: absolute;
        background: url(/Design/img/MocHuynhThuan/f1.png) no-repeat;
        background-size: 100% 100%;
        left: 0;
        top: 0;
        width: 100%;
        height: 365px;
        pointer-events: none;
        z-index: -1;
    }

    .news .p-title {
        color: #dfb966;
    }

    .news .p-descript {
        font-size: 18px;
        font-family: 'MonR';
        color: #ffffff;
    }

    .news .top .drop-list {
        text-align: center;
        width: 153px;
        height: 37px;
        position: relative;
        border: 1px solid #C01120;
        border-radius: 4px;
        padding: 0 12px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        font-size: 16px;
        font-weight: bold;
        color: #c01120;
        cursor: pointer;
    }

        .news .top .drop-list span {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            pointer-events: none;
        }

        .news .top .drop-list i {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            pointer-events: none;
        }

        .news .top .drop-list .drop {
            position: absolute;
            top: calc(100% + 1px);
            width: 100%;
            left: 0;
            height: 0;
            overflow: hidden;
            z-index: 9;
            border: 1px solid transparent;
            background-color: #fff;
            max-height: 184px;
            overflow-y: overlay;
            overflow-x: hidden;
            -webkit-transition: all linear .2s;
            -o-transition: all linear .2s;
            transition: all linear .2s;
        }

            .news .top .drop-list .drop.show {
                border: 1px solid #c01120;
                height: 184px;
            }

            /* width */
            .news .top .drop-list .drop::-webkit-scrollbar {
                width: 5px;
            }

            /* Track */
            .news .top .drop-list .drop::-webkit-scrollbar-track {
                background: transparent;
            }

            /* Handle */
            .news .top .drop-list .drop::-webkit-scrollbar-thumb {
                background: #c01120c5;
                border-radius: 1px
            }

                /* Handle on hover */
                .news .top .drop-list .drop::-webkit-scrollbar-thumb:hover {
                    background: #c01120;
                }

            .news .top .drop-list .drop .drop-item {
                text-transform: capitalize;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                -ms-flex-direction: column;
                flex-direction: column;
                -webkit-box-align: start;
                -ms-flex-align: start;
                align-items: flex-start;
                padding: 10px;
                color: #c01120;
            }

    .news .news-list {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(3,minmax(0,1fr));
        column-gap: 20px;
        row-gap: 20px;
        margin-top: 20px;
    }

/*RS*/

@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important
    }

    .news .news-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:739px) {
    .no-display-mobile {
        display: none !important
    }

    .p-news-img .options-item {
        position: absolute;
        bottom: -1px;
    }

    .news:before {
        content: "";
        position: absolute;
        background: url(/Design/img/MocHuynhThuan/f1.png) no-repeat;
        background-size: cover;
        left: 0;
        top: 0;
        width: 100%;
        height: 215px;
        pointer-events: none;
        z-index: -1;
    }

    .p-news-img .options-item span {
        font-size: 12px;
    }

    .news .content .item .content .description {
        font-size: 13px;
    }

    .news .content .item .content .name {
        font-size: 15px;
    }

    .news .content .item .img {
        height: 150px;
    }

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

    .same-news-title {
        font-size: 22px;
    }
}