/*News*/

.float-wrapper-root {
    right: 0px;
}

.news-list-tab {
    padding: 20px;
}

.news-list-tab li {
    width: auto;
}

.news-list-tab li a {
    padding: 15px 35px;
}

.news-list-tab {
    justify-content: left;
}

.news-list-tt {
    /* background: url(/assets/cover/images/tintuc/bar.png) top center no-repeat; */
    background: url(../images/bg-body-news.png) top center no-repeat;
    background-size: 100% 100%;
    max-width: 940px;
    margin: 0 auto;
    padding-bottom: 120px;
    margin-bottom: 100px;
    min-height: 100vh;
}

.news-tab-tt ul li a.active,
.news-tab-tt ul li a:hover {
    /* background: url(/assets/cover/images/tintuc/Rectangle.png) top center no-repeat; */
    background-color: #F2E7B6;
    background-size: 100% 100%;
    margin-right: 8px;
}

.news-list-data-tt {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-tab {
    display: flex;
    flex-direction: column;
}

.news-tab-item {
    list-style-type: none;
    padding: 0;
}

.news_item-mb {
    padding-left: 20px;
}

.news-tab-item {
    gap: 15px;
}

.news_item__title-mb {
    display: flex;
    text-decoration: none;
}

.news_image-left {
    min-width: 360px;
    height: 196px;
}

.event-details {
    display: flex;
    width: calc(100% - 307px);
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    justify-content: space-between;
}

.more-data {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.event-text {
    font-size: 18px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    color: black !important;
}

.event-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.date-text {
    font-size: 12px;
    min-width: 80px;
    color: black !important;
}

.details-text {
    font-family: "NotoSans", sans-serif;
    font-size: 12px;
    margin-bottom: 15px;
    word-wrap: break-word;
    line-height: 1.5;
    max-width: 700px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    color: black !important;
}

.event-text,
.details-text {
    display: block;
    text-align: left;
}

.read-more-button {
    background-color: #131230;
    color: #F2E7B6;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
}

.read-more-button:hover {
    background-color: #3d1c1c;
}


/*End-News*/

.body-container-item-tt {
    width: 100%;
    min-height: 100vh;
    background: url(../images/bg-body.png) top center no-repeat;
    background-size: cover;
    position: relative;
    padding-bottom: 50px;
    z-index: 1;
}

.bg-intro-tt {
    width: 100%;
    background: url('../images/bg-sub-head.png') top center no-repeat;
    background-size: 100% 100%;
    min-height: 387px;
}

.body-news-root-tt {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: -50px;
    flex-direction: column;
}


/*page-dieu-khoan*/

.body-dieu-khoan {
    width: 100%;
    min-height: 1150px;
    background: url(../images/bg-body.png) top center no-repeat;
    background-size: 100% auto;
    position: relative;
    margin-top: -150px;
    padding-bottom: 50px;
    z-index: 1;
}

.header-title-dieu-khoan {
    width: 512px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-title-dieu-khoan img {
    width: 100%;
    margin-top: 122px;
}

.news-dieu-khoan {
    background: url(../images/bg-body-news2.png) top center no-repeat;
    background-size: 100% 100%;
    min-height: 1000px;
    max-width: 940px;
    margin: 0 auto;
}

.news-dieu-khoan-detail {
    background: url(../images/bg-body-news2.png) top center lavenderblush;
    /* background-size: 100% 100%; */
    background-size: contain;
    background-repeat: repeat;
    /* max-width: 940px; */
    max-width: 1344px;
    min-height: 1000px;
    margin: 0 auto;
    margin-top: 0px;
    /*  */
    margin-bottom: 50px;
}

.header-title-dieu-khoan-detail {
    width: 512px;
    height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-title-dieu-khoan-detail img {
    width: 100%;
    margin-top: -22px;
}

.details-dieu-khoan {
    font-family: "NotoSans", sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    word-wrap: break-word;
    line-height: 2;
    max-width: 1000px;
}

.details-dieu-khoan {
    display: block;
    text-align: left;
    margin-top: 100px;
    margin-left: 10px;
}

.intro-logo-tt img {
    width: 280px;
    margin-top: 30px;
    margin-left: 20px;
}

.news-item-detail {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0px 31px;
    padding-top: 55px;
    padding-bottom: 31px;
    padding-right: 31px;
    font-size: 16px;
    text-align: justify;
    margin-bottom: 24px;
}

.news-item-detail-data {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 31px;
    padding-bottom: 31px;
    padding-right: 31px;
    font-size: 1rem;
    text-align: justify;
}

.news-item-detail-data img {
    max-width: 100%;
}

.news-contain-sp a {
    color: #1299da;
    text-decoration: underline;
}

.choi-game-180 {
    position: absolute;
    right: 25%;
    width: 180px !important;
}

.header-dieu-khoan img {
    width: 500px;
}

.header-news {
    margin-top: -65px
}

.news-item-detail img,
.news-contain-sp img,
figure {
    max-width: 100%;
    height: auto;
}

.news-detail-root {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding-left: 30px;
    padding-top: 60px;
    margin-bottom: 24px;
}

.new-detail-left {
    width: 200px;
    display: flex;
    flex-direction: column;
}

.new-detail-main {
    width: calc(100% - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 30px;
}

.event-hot,
.list-data-event {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 30px;
}

.list-data-event {
    gap: 15px;
}

.item-event {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.news_image-sukien {
    width: 100%;
    height: auto;
}

.event-text-sukien {
    background-color: #79745F;
    display: block;
    text-align: left;
    padding: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    font-size: 18px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    font-family: 'Noto Sans Medium';
    color: white;
}

.image-corner {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 2px;
    border-bottom: 1px solid #78735E;
    width: 90%;
    line-height: 15px;
    height: 45px;
}

.news-detail-main-data {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.news-bec {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 45px;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #78735E;
    overflow: hidden;
}

.child-1 {
    color: #79745F;
    font-size: 18px;
    min-width: 50px;
    font-weight: bold;
}

.news-bec ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    /* gap: 10px; */
    align-items: center;
    padding: 0px;
}

.news-bec ul li {
    min-width: 26px;
}

.news-bec ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    text-align: left;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-item-detail-title {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.news-title-data {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Noto Sans Medium';
    color: black;
}

.date-text-detail {
    color: black;
    font-family: "NotoSans", sans-serif;
    font-size: 14px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
}

.news-contain-sp {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.bec-home {
    width: 24px;
}

.bec-home img {
    width: 20px;
}

.bec-next {
    width: 10px;
}

.bec-next img {
    width: 8px;
    height: 10px;
}

.bec-child {
    min-width: 90px;
}

.bec-text {
    width: calc(100% - 190px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    justify-content: left;
    align-items: baseline;
}

.bec-text a {
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    justify-content: left;
    align-items: start !important;
    text-align: left;
}


/*pagination*/

ul.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.pagination li {
    /* color: #F2E7B6; */
    color: black;
    width: 30px;
    /* height: 44px; */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px 8px;
    border-radius: 4px;
}


/*end pagination*/

.pagination .page-item a[rel=prev],
.pagination .page-item a[rel=prev],
li[aria-label="Next Â»"] span {
    background: url("../../../index.html") no-repeat center;
    background-size: 100% 100%;
    content: "";
    width: 24px;
    height: 36px;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.pagination .page-item a[rel=next],
.pagination .page-item a[rel=next],
li[aria-label="Â« Previous"] span {
    background: url("../../../index.html") no-repeat center;
    background-size: 100% 100%;
    content: "";
    width: 24px;
    height: 36px;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.pagination li.active {
    background: #cab455;
}

.search-tt-mb {
    display: none;
}

@media (max-width: 800px) {
    .body-dieu-khoan {
        min-height: 2000px;
    }

    .header-title-dieu-khoan {
        width: 320px;
        height: 68px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header-title-dieu-khoan img {
        width: 100%;
        margin-top: 102px;
    }

    .news-dieu-khoan {
        margin: 20px;
        padding-bottom: 30px;
        margin-top: 0px;
        margin: auto;
    }

    .header-dieu-khoan img {
        width: 300px;
    }

    .bg-intro-tt {
        min-height: 275px;
    }

    .news-list-tt {
        margin: 100px;
    }

    .header-news {
        /* margin-top: 50px; */
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .choi-game-180 {
        position: absolute;
        right: 10px;
        width: 100px !important;
    }

    .intro-logo-tt {
        position: relative;
        z-index: 2;
    }

    .body-container-item-tt {
        /* margin-top: -160px; */
        margin-top: -20px;
    }

    .news-list-tab li a {
        padding: 10px;
        font-size: 13px;
    }

    .news_image-left {
        min-width: 200px;
        height: 96px;
        margin: 10px;
    }

    .event-details {
        width: 100%;
        gap: 7px;
    }

    .date-text {
        display: none;
    }

    .news_item__title-mb {
        width: 100%;
    }

    .news_item-mb {
        padding-left: 0px;
    }

    .event-text {
        font-size: 14px;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        overflow: hidden;
        -webkit-box-orient: vertical;
        color: black !important;
    }

    .news-tab-item {
        gap: 10px;
    }

    .date-text-mb {
        /* color: #F2E7B6; */
        color: black !important;
        font-family: "NotoSans", sans-serif;
        font-size: 12px;
    }

    .details-text {
        margin-bottom: 0px;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        overflow: hidden;
        -webkit-box-orient: vertical;
        color: black !important;
    }

    .new-detail-main {
        width: 100%;
        padding: 0px;
    }

    .news-detail-root {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 20px;
    }

    .news-dieu-khoan-detail {
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 16px;
    }

    .header-title-dieu-khoan-detail img {
        width: 80%;
        margin-top: -22px;
    }

    .home-sk-image {
        width: 15px;
    }

    .bec-home img {
        width: 15px;
    }

    .news-next {
        width: 5px;
    }

    .news-bec ul li {
        min-width: 24px;
    }

    .news-bec ul li a {
        font-size: 14px;
        text-align: left;
        overflow: hidden;
        display: -webkit-box !important;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .news-item-detail-data {
        padding: 10px;
    }

    .news-item-detail-title {
        flex-direction: column;
        gap: 10px;
    }

    .date-text-detail {
        color: black;
        font-family: "NotoSans", sans-serif;
        font-size: 14px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: start;
    }

    .news-bec ul {
        padding: 5px;
    }

    .home-sk-li {
        min-width: 12px !important;
    }

    .child-1 {
        color: #F2E7B6;
        font-size: 1rem !important;
        min-width: 74px;
        color: #79745F;
        font-weight: bold;
    }

    /* Tìm */
    .search-tt-mb {
        display: block;
        padding: 16px;
        /*width: 50%;*/
    }

    .search-tt {
        display: none;
        /* width: 80%;
        margin-top: 90px;
        margin-left: -450px; */
    }
}

.footer_xl img {
    width: 50px;
    height: 50px;
    margin: 2px;
}

.pagination {
    text-align: center;
    margin-top: 16px;
}

.pagination button,
.pagination span {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
}

.pagination button:hover,
.pagination span:hover {
    background-color: #3d1c1c;
}

.pagination .page.active {
    background-color: #131230;
    color: #fff;
}

.item-m-nap img {
    width: 100px;
    height: auto;
}

@media (max-width: 767px) {
    .intro-logo-tt img {
        width: 120px;
        /* margin-top: 100px; */
    }
}


/*end-page-dieu-khoan*/
@media screen and (max-width: 480px) {
    .news-list-tt {
        margin: 30px;
    }

    .news-dieu-khoan-detail {
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 0px;
    }

    .footer_news .dieu-khoan {
        font-size: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer_news .copyright .text,
    .footer_news .copyright .text-ct {
        text-align: center;
    }

    .footer_news .copyright .text {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .footer_news .copyright .text-ct {
        font-size: 14px;
        margin-top: -5px;
    }

    .bg-intro-tt {
        min-height: 330px;
        background-size: contain;
    }

    .body-container-item-tt {
        margin-top: -160px;
    }

    .search-tt {
        width: 30%;
        margin: 26px 8px;
    }


    @-ms-viewport {
        width: 480px;
    }
}

@media only screen and (max-width: 980px) and (orientation: landscape) {
    html {
        zoom: 50%;
    }

    .date-text {
        font-size: 0.6rem !important;
        min-width: 80px;
        color: black !important;
    }

    .float-wrapper {
        margin-top: 70px;
        zoom: 70%;
    }

    .social-footer img {
        height: 32px !important;
    }

    .social-item img {
        height: 32px !important;
    }

    .intro-logo-tt img {
        width: 280px;
        margin-top: 30px;
        margin-left: 20px;
    }

    .header-news {
        margin: 16px 0px !important;
    }
    footer .copyright .text {
        display: block;
        font-size: 14px !important;
        /* font-family: 'Notosans', sans-serif; */
        color: #ffffff;
        text-align: left;
    }

    footer .copyright .text-ct {
        display: block;
        font-size: 10px !important;
        /* font-family: 'Notosans', sans-serif; */
        color: #ffffff;
        text-align: left;
    }

    .search-tt-mb {
        display: none;
    }

    .date-text-detail {
        display: flex;
        align-items: center;
        justify-content: end;
    }

/*
    footer .copyright .text-ct {
        font-size: 9px !important;
    } */
}

/* search */

@media(orientation: portrait) {
    .search {
        order: -1;
        width: 100%;
        margin: 40px 0;
        margin-top: 0;
    }

    .search__field {
        font-size: 24px
    }

    .search__field-tt {
        font-size: 10px
    }

    .search-tt {
        width: 30%;
        margin: 16px 0;
    }
}

.search {
    margin-bottom: 16px;
}

.search__form {
    display: flex;
    width: 100%;
    height: 30px;
    background: #fffcf5;
    border: 1px solid #C7A77A
}

.search__field {
    width: calc(100% - 5px);
    height: 30px;
    border: none;
    background: none;
    color: #79745F;
    text-indent: 10px;
    text-align: left;
    overflow: hidden;
    font-family: 'Times New Roman', Times, serif
}

.search__button {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 5px;
    cursor: pointer;
}

/* Tìm Kiếm Trang Tin Tức */
.search-tt {
    width: 30%;
    margin: 26px 14px;
}

.search__form-tt {
    display: flex;
    width: 100%;
    height: 35px;
    background: #fffcf5;
    border: 1px solid #C7A77A
}

.search__field-tt {
    width: calc(100% - 5px);
    height: 35px;
    border: none;
    background: none;
    color: #79745F;
    text-indent: 10px;
    text-align: left;
    overflow: hidden;
    font-family: 'Times New Roman', Times, serif
}

.search__button-tt {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 5px;
}
.post-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tag .tag {
    background: rgba(130, 35, 38, .1);
    border-radius: 25px;
    color: #131230;
    cursor: pointer;
    display: flex;
    font-size: 15px;
    font-weight: 400;
    padding: 10px;
    text-align: center;
}

.post-tag .tag a {
    color: #131230;
    font-size: 15px;
}
