body {
    color: #333;
    background-color: #fff9f3 ;
}
img{
    max-width: 100%;
}
a, a:hover {
    text-decoration: none;
}
a {
    color: #333;
    background-color: transparent;
}
.header--read {
    background-color: rgba(51,34,0,.05);
    background-color: #752713;
    color: #fff;
}
.card-title{
    display: -webkit-box;            
    -webkit-box-orient: vertical;    
    overflow: hidden;               
    -webkit-line-clamp: 2;          
    text-overflow: ellipsis;      
    line-height: 1.5;             
    max-height: 3em;
}

.header__search-form {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.mr-auto, .mx-auto {
    margin-right: auto!important;
}
.header__search-form .btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1.25rem;
    background: #f9f9f9;
    color: #333;
    z-index: 6;
}
.searchformheader{
    outline: none;
    border: 1px solid #e6e6e6;
    -webkit-border-radius: 1.25rem;
    -moz-border-radius: 1.25rem;
    border-radius: 1.25rem;
    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -moz-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-moz-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out,-moz-box-shadow .15s ease-in-out;
}
.text-primary2:active,.text-primary2{
    outline: none;
    border: none;
}
.navmenuprimary a{
    color: #fff;
}
#marquee {
    margin: 0;
    padding: 7px 0;
    font-size: 20px;
    color: #ed1c24;
    font-weight: 700;
    -webkit-box-shadow: 1px 1px 1px 1px #ccc;
    -moz-box-shadow: 1px 1px 1px 1px #ccc;
    box-shadow: 1px 1px 1px 1px #ccc;
}
section.marque-noti {
    background: #fff;
}
.wapperimg-mini {
    box-shadow: 0 1px 5px 0 #878888;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 10px;
}
h2.title-section {
    font-size: 25px;
    font-size: 25px;
    padding: 9px 0px;
}
.banner-home img{
    max-height: 388px;
}
.wapperimg img{
    width: 100%;
    
}
/* ranking */
.home-ranking-block {
    -webkit-box-shadow: 0 10px 25px 0 #d7d4ce;
    -moz-box-shadow: 0 10px 25px 0 #d7d4ce;
    box-shadow: 0 10px 25px 0 #d7d4ce;
    min-height: 590px;
}
.home-ranking-block {
    min-height: 590px;
}
.font-weight-semibold {
    font-weight: 600!important;
}
.nh-section .link--see-more {
    display: none;
}
.text-primary {
    color: #004BB9!important;
}
.ml-auto, .mx-auto {
    margin-left: auto!important;
}
.nh-section:hover .link--see-more {
    display: block;
}
.list-ranking .item {
    position: relative;
    padding-left: 2.25rem;
}
.list-ranking .item .index {
    font-weight: 600;
    width: 1.5rem;
    height: 2rem;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    line-height: 2rem;
    text-align: center;
}
.media {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}
.home-ranking-block .list-ranking .item .index.index-1 {
    bottom: auto;
    top: 1.5rem;
}
.list-ranking .item .content {
    border-bottom: 1px solid #eee;
}
/* .align-items-center {
    -webkit-box-align: center!important;
    -webkit-align-items: center!important;
    -moz-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
} */
.fz-body {
    font-size: .9375rem;
}
.svg-icon.icon-medal-1 {
    width: 1.5rem;
    height: 2rem;
    background-image: url(../images/1.png);
}
.svg-icon.icon-medal-2 {
    width: 1.5rem;
    height: 2rem;
    background-image: url(../images/2.png);
}
.svg-icon.icon-medal-3 {
    width: 1.5rem;
    height: 2rem;
    background-image: url(../images/3.png);
}
.svg-icon.icon-medal-12 {
    width: 1.5rem;
    height: 2rem;
    background-image: url(../images/top1.png);
}
.svg-icon.icon-medal-22 {
    width: 1.5rem;
    height: 2rem;
    background-image: url(../images/top2.png);
}
.svg-icon.icon-medal-32 {
    width: 1.5rem;
    height: 2rem;
    background-image: url(../images/top3.png);
}
.svg-icon {
    background-repeat: no-repeat;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    background-size: 100% auto;
    display: inline-block;
}
.text-overflow-1-lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
h2.text-overflow-1-lines {
    padding: 6px 0px;
    line-height: 1.8;
}
.text-success {
    color: #086343!important;
}
.text-warning{
    color: #3A2DF0 !important;
}
.fz-13 {
    font-size: .8125rem;
}
.fz-14 {
    font-size: .875rem;
}
.book-cover {
    -webkit-transform: perspective(70px) rotateY(-10deg);
    -moz-transform: perspective(70px) rotateY(-10deg);
    transform: perspective(70px) rotateY(-10deg);
}
.book-cover span {
    position: absolute;
    display: none;
    z-index: 1;
    top: 84.1%;
    left: 7px;
    width: 20px;
    height: 10px;
    content: "";
    -webkit-transform: perspective(74px) rotateX(-70deg) rotateY(-5deg);
    -moz-transform: perspective(74px) rotateX(-70deg) rotateY(-5deg);
    -ms-transform: scale(0);
    transform: perspective(74px) rotateX(-70deg) rotateY(-5deg);
    -webkit-box-shadow: 25px 0 5px 5px #adadad;
    -moz-box-shadow: 25px 0 5px 5px #adadad;
    box-shadow: 25px 0 5px 5px #adadad;
}
.book-cover-link {
    position: relative;
    z-index: 10;
    display: inline-block;
    -webkit-transform: translateZ(50px);
    -moz-transform: translateZ(50px);
    transform: translateZ(50px);
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.book-cover img {
    width: 70px;
    height: 105px;
    outline: 1px solid transparent;
}
.pr-3, .px-3 {
    padding-right: 1rem!important;
}
.comment-body, .media-body, .nh-read__alert, .nh-read__content {
    word-break: break-word;
}
.fz-body {
    font-size: 1rem;
}
.font-weight-normal {
    font-weight: 400!important;
}
.text-secondary {
    color: #666!important;
}
.list-inline, .list-unstyled {
    padding-left: 0;
    list-style: none;
}
.media-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.contain:hover .hover-scale {
    opacity: 1;
    transform: scale(1.05);
}
.hover-scale {
    transition: transform 1s;
}
.waaperimg {
   
    aspect-ratio: 196 / 277;
    overflow: hidden;
    box-shadow: 0 2px 7px 0 rgba(0,0,0,.26);
    border-radius: var(--bs-border-radius)!important;
}
.waaperimg img {
    height: 100%;
}
section.btvhottop {
    padding: 5px 0px;
}
.wapper-content {
    padding: 5px 0px;
}
.section-heading {
    font-weight: 900;
    font-family: "Saira Condensed";
}
.table-hover tbody tr:hover {
    color: #212529;
    background-color: #fafafa;
}
.text-tertiary {
    color: #9b0303!important;
}
.sectionshowmobile{
    display: none;
}
.mr-20px {
    margin-right: 20px;
}
.fiximgview{
    aspect-ratio:0.7075812274368231;
}
.fixbanner{
    aspect-ratio:5.1513353115727;
}
.mr-3, .mx-3 {
    margin-right: 1rem!important;
}
.footer {
    /* background: #fff url(../images/footer-bg.png) no-repeat bottom; */
    background: #fff url(../images/bgfooter.jpg) no-repeat bottom;
    background-size: cover;
    background-attachment: fixed;

}
div#slider {
    background: #752713;
    color: #fff;
}
#slider button.owl-prev {
    margin: 0px;
    left: -5px;
    top: 0px;
    position: absolute;
    display: inline-block;
    width: 40px;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #391006;
    height: 36px;
}
#slider button.owl-next{
    margin: 0px;
    right: -5px;
    top: 0px;
    position: absolute;
    display: inline-block;
    width: 40px;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #391006;
    height: 36px;
}
div#slider {
    text-align: center;
}
#slider .owl-stage-outer {
    width: calc(100% - 30px);
    margin: 0 auto;
}
#slider .owl-carousel .owl-item {
    line-height: 36px;
}
#slider .owl-stage-outer .owl-item:hover {
    background: #0598ab;
}
.gradient-text {
    background: linear-gradient(45deg, #0ad6f0, #00abc1, #f67545,#00bcd4);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 22px;
    font-weight: bold;
    display: inline;
  }
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
  border: 2px solid transparent;
   background-clip: content-box;
    /* background-color: #752713; */
    background: linear-gradient(45deg, #752713, #d73a01, #ccae03,#752713);
}
a.lowerkey {
    text-transform: lowercase;
}
/* Extra small devices (portrait phones, less than 320px) */
/*PC*/
@media (min-width: 1200px) {
}
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    }
/*Ipad*/
@media screen and (min-width: 750px) and (max-width: 950px) {
}
/*Ipad Pro*/
@media screen and (min-width: 960px) and (max-width: 1150px) {

}
@media (max-width: 991.98px) {
    .hide-sm{
        display: none;
    }
    /* .banner-home {
        height: 148px;
    } */
    .gradient-text{
        font-size: 18px;
    }
    .banner-home {
        text-align: center;
    }
}
@media (max-width: 767.98px) {
    .w-75 {
        width: 95% !important;
    }
    /* .banner-home img {
        height: 148px;
        object-fit: cover;
    } */
    .sectionshowpc{
        display: none;
    }
    .sectionshowmobile{
        display: block;
    }
}
@media (max-width: 575.98px) {

}
@media (max-width: 320px) {

}
/*add animation*/
.dropdown-menu a {
    color: #333;
}
.showusser.navbar-nav .nav-link:hover{
    color: #0ad6f0;
}
.showusser.navbar-nav .nav-link.show{
    color: #fff;
}
.banner-home .wapperimg {
    /* position: relative; */
    /* display: inline-block; */
    max-height: 337px;
    overflow: hidden;
}
.bottombanner,.wapformtk {
    position: relative;
}
ul#resultx {
    position: absolute;
    top: 38px;
    z-index: 9;
    overflow: scroll;
    overflow-x: hidden;
    max-height: 250px;
    width: 100%;
}
.bottombanner:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: linear-gradient(to top, rgb(255 255 255), rgb(255 255 255 / 0%));
    pointer-events: none;
}
.list-group-item {
    list-style: none;
}

.thumbnailsearch {
    float: left;
    margin-right: 10px;
}

.contentsearch {
    overflow: hidden; /* Loại bỏ bất kỳ chênh lệch chiều cao nào từ ảnh */
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.cuslow{
    text-transform: lowercase;
}
/* csss menu */
.lead { font-size: 1.5rem; font-weight: 300; }

ul {
    list-style: none;
}


/*--====== Sidebar ======--*/
#sidebarmenu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    max-width: 300px;
    width: 80%;
    height: 100%;
    padding: 1rem;
    background-color: #752713;
    box-shadow: 0 10px 20px -4px #000;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, visibility 0.2s ease, transform 0.3s ease;
}

/* when the sidebar has 'show' class */
#sidebarmenu.show {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    background-image: url(../images/giphy.gif);
    background-size: cover;
}
.nopading {
    padding: 0;
    margin-bottom: 0;
}
.sidebar_content {
    padding: 15px 0px;
    pointer-events: none;
    text-align: center;
    /* pointer-events: none; */
    border-top: 1px solid #969696;
    border-bottom: 1px solid #969696;
    /* so that the Sidebar does not get closed while clicking on sidebar_content */
}

.sidebar_content a {
    pointer-events: all;
    /* so that all the <a> inside sidebar_content are clickable */
}

.sidebar_body {
    border-top: 1px dashed var(--text-color);
    border-bottom: 1px dashed var(--text-color);
}

.side_navlinks ul {
    display: grid;
    gap: 0.3rem;
}

.side_navlinks li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    background: #ffffff8c;
    color: #ffffff;
    position: relative;
    display: block;
    margin: 0;
    padding: 10px 15px;
    font-size: 14px;
}
ul.list-unstyled.nh-sidebar__sublist.pb-3 li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    background: #39d0eead;
    color: #ffffff;
    position: relative;
    display: block;
    margin: 0;
    padding: 10px 15px;
    font-size: 14px;
}
.side_navlinks a:hover {
    opacity: 1;
}

/*---- Sidebar-Toggler ----*/
.sidebar_toggler {
    position: absolute;
    z-index: 9;
    top: 12px;
    right: 3vw;
    width: 1.75rem;
    height: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    overflow: hidden;
}
img.pd-3 {
    padding: 3px;
    height: 42px;
}
.sidebar_toggler span {
    background-color: #fff;
    width: 100%;
    height: 2.4px;
    transition: all 0.3s ease;
    pointer-events: none;
    /* so that it doesn't overlap the sidebar_toggler */
}

/* if the sidebar has 'show' class then their adjacent-sibling (i.e., sidebar_toggler) will... */
#sidebarmenu.show + .sidebar_toggler {
    justify-content: center;
}

#sidebarmenu.show + .sidebar_toggler span {
    margin-top: -1.2px;
    margin-bottom: -1.2px;
}

#sidebarmenu.show + .sidebar_toggler span:first-child {
    transform: rotate(45deg);
}

#sidebarmenu.show + .sidebar_toggler span:nth-child(2) {
    opacity: 0;
    transform: translateX(-100%);
}

#sidebarmenu.show + .sidebar_toggler span:last-child {
    transform: rotate(-45deg);
}
.large-screen-only,.mobile-screen-only{
    display: none;
}
@media screen and (min-width: 920px) {
    .large-screen-only {
        display: block;
    }
}
@media screen and (max-width: 920px) {
    .mobile-screen-only {
        display: block;
        position: relative;
    }
    .mobicenter{
        text-align: center;
    }
}
.sidebar_content.sidebar_body {
    text-align: left;
}
.leftic{
    position: absolute;
    top: 0px;
}
.infos {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    padding-left: 3px;
    padding-right: 3px;
}
.ovh{
    overflow: hidden;
}