@charset "utf-8";

/* CSS Document */
@font-face {
    font-family: 'SVN-Hottroof-Semhesta';
    src: url('../fonts/SVN-Hottroof-Semhesta.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DL-ThuPhap';
    src: url('../fonts/DL-ThuPhap.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/*
.test { border:#FF0000 solid 1px;}
.test1 { border:#0000CC solid 1px;}
.test2 { border:#00FFCC solid 1px;}
.test3 { border:#666666 solid 1px;}
*/

/*   basic classes
***************************************/
* {
    padding: 0;
    margin: 0;
    font-family: var(--main-font, "Tahoma", Arial, Helvetica, sans-serif);
    font-size: 12px;
    border: none;
    outline: none;
}

li,
ul {
    list-style: none;
}

p {
    line-height: 16px;
}

a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    text-decoration: none;
    color: #ff3300;
}

/* 
***************************************/

body {
    margin: 0px;
    padding: 0px;
    background: url(../images/bgpage0.jpg) repeat-x top #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

p {
    margin: 0;
    padding: 0;
}

#bgpage {
    /* background: url(../images/bgpage2.gif) repeat-y center; */
    width: 100%;
}

#bgpage .bgframe1 {
    /* background: url(../images/bgpage1.jpg) no-repeat center top; */
    width: 100%;
}

#bgpage .bgframe2 {
    /* background: url(../images/bgpage3.jpg) no-repeat center bottom; */
    width: 100%;
    overflow: hidden;
    padding: 0px 0px 0px 0px;
}

.maincontainer {
    width: 935px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

#column1 {
    width: 188px;
    overflow: hidden;
    float: left;
    padding-top: 242px;
}

#column2 {
    width: 141px;
    overflow: hidden;
    float: right;
    padding-top: 265px;
}

#column3 {
    width: 600px;
    float: left;
    overflow: hidden;
    margin: 0px 1px 0px 5px;
    padding-top: 30px;
    padding-bottom: 20px;
}

#footer {
    clear: both;
    height: 100px;
    overflow: hidden;
    padding: 30px 0px 0px 0px;
    margin: 0px;
}

/*******************************************************************
	center Column  ( column3)
*******************************************************************/
/*-----------------------------------------------------------------
TOP  */
#topbanner {
    height: 242px;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
}

#sublogo {
    position: absolute;
    top: 100px;
    left: 760px;
}

#logochienquoc {
    width: 277px;
    height: 132px;
    position: absolute;
    top: 40px;
    left: 0px;
    object-fit: contain;
}

#flashheader {
    position: absolute;
    top: 32px;
    left: 200px;
    width: 600px;
    height: 160px;
}

#mainmenu {
    clear: both;
    position: absolute;
    z-index: 99;
    top: 213px;
    left: 250px;
    width: 510px;
}

#mainmenu .adxm ul {
    margin: 0 auto;
    padding: 0px;
}

#mainmenu .adxm ul li {}

#mainmenu img {
    margin: 0;
    padding: 0;
}

/*-----------------------------------------------------------------
FLASH + NEWS */
#flashbanner {
    width: 174px;
    height: 273px;
    float: left;
    overflow: hidden;
    z-index: 1;
    border: 1px solid #000000;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #000000;
    border-radius: 7px;
    background-color: #ffffff;
    box-sizing: border-box;
    margin: 3px;
    /* Đảm bảo shadow ngoài không bị che */
}

#flashbanner #slideshow {
    padding-top: 0px;
    padding-left: 0px;
}

#flashbanner_bg {
    width: 172px;
    height: 271px;
}

#topnews {
    width: 415px;
    overflow: hidden;
    float: left;
    margin-left: 5px;
}

#searchcontent {
    width: 410px;
    text-align: center;
    float: left;
    background: url(../images/search_bg.gif) no-repeat;
    text-align: center;
    padding-top: 10px;
    height: 37px;
    overflow: hidden;
}

.searchcontent * {
    vertical-align: middle;
}

.searchcontent .inputboxcontent {
    height: 18px;
    border: solid #999 1px;
    padding-left: 5px;
    margin-bottom: 3px;
}

#searchcontent2 {
    width: 415px;
    text-align: center;
    float: left;
    background: url(../images/tintuc/khung_tim_kiem_2.png) no-repeat;
    background-size: cover;
    text-align: center;
    padding-top: 7px;
    height: 27px;
    overflow: hidden;
    /* Prevent shrinking */
}

.searchcontent2 * {
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.searchcontent2 .inputboxcontent {
    height: 18px;
    border: solid #999 1px;
    padding-left: 5px;
    border: none;
    color: #1a1a1a;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 2px 5px !important;
    line-height: 18px;
    vertical-align: middle;
    background: transparent;
}

.searchcontent2 .inputboxcontent:focus {
    outline: none;
    border: none;
}

.searchcontent select {
    height: 18px;
}

.searchcontent .submitbutton {
    margin-left: 5px;
    border: none;
}

.buttoncontent {
    background: url(../images/bt_search.gif) no-repeat;
    width: 57px;
    height: 20px;
    border: 1px solid #999999;
    margin: 2px 52px 5px 3px;
}

#newsbox {
    margin-left: 2px;
    width: 415px;
    height: 235px;
    float: left;
    overflow: hidden;
    background: url(../images/news_bg.gif) no-repeat;
}

#newsbox_bg {
    width: 415px;
}

#newsbox .newstab {
    text-align: center;
}

#newsbox .newstab ul {
    margin: 0 auto;
    padding: 0px;
    margin-top: 1px;
}

#newsbox .newstab ul li {
    display: inline;
    padding: 0px 2px;
}

#newsbox .newstab img {
    margin: 6px;
}

#column3:has(.newsboxs) {
    overflow: visible;
}

.newsboxs {

    position: relative;

    width: 100%;

    margin: 1.5% auto 0;

    padding: 7% 20% 0 10%;

    box-sizing: border-box;

    overflow: visible;

    background: transparent;

    z-index: 1;

}

.newsboxs::before {
    content: "";

    position: absolute;

    inset: 0;

    background: url("../images/tintuc/khung_bo_cao.png") no-repeat center center;

    background-size: 100% 100%;

    transform: scale(1.12);

    transform-origin: center center;

    z-index: -1;

    pointer-events: none;
}

.newsboxs .maincontent {
    position: relative;
    z-index: 1;
    width: 100%;
    background: transparent;
}

#newscontent {
    width: 400px;
    height: 166px;
    overflow: hidden;
}

#newscontent a {
    clear: left;
    float: left;
    width: 260px;
}

#newscontent .datenews {
    float: right;
    font-weight: bold;
    width: 100px;
    text-align: right;
}

#newscontent ul {
    width: 360px;
    padding: 10px 20px;
}

#newscontent li {
    border-bottom: dotted #999999 1px;
    float: left;
    padding: 4px 0 2px 0;
}

ul.latestnews {
    margin-left: 20px;
    margin-top: 50px;
    margin-right: 20px;
}

li.latestnews {
    border-bottom: #868686 dotted 1px;
    padding-top: 3px;
    padding-bottom: 3px;
}

/* Bo Cao page styles */
#boCaoSection {
    color: #1a1a1a;
}

img.bo-cao-page-title {
    display: block;
    width: 67%;
    height: auto;
    object-fit: contain;
    margin: 15px auto 10px auto;
}

.bo-cao-search-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
}

.bo-cao-search-input {
    width: 180px;
    height: 32px;
    border: none;
    border-bottom: 1px solid #414141;
    border-radius: 0;
    padding: 0 10px 0 32px;
    background-color: transparent;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="%237E5315" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0"/></svg>');
    background-repeat: no-repeat;
    background-position: 10px center;
    color: #383838;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.bo-cao-search-input:focus {
    border-color: #505050;
}

.bo-cao-search-input::placeholder {
    color: #575757;
}

.bo-cao-list {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.bo-cao-card {
    display: block;
    text-decoration: none;
    background-color: transparent;
    border-bottom: 2px dotted #A56D20;
    border-radius: 0;
    width: 100%;
}

.bo-cao-card:last-child {
    border-bottom: none;
}

.bo-cao-card:hover .bo-cao-title {
    color: #a42c1b;
}

.bo-cao-card-content {
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bo-cao-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: nowrap;
}

.bo-cao-title {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    color: #202020;
    line-height: 1.4;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
}

.bo-cao-date {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    color: #4E2D12;
    white-space: nowrap;
    flex: 0 0 auto;
}

.bo-cao-desc {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    color: #4E2D12;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.bo-cao-empty {
    padding: 24px 18px;
    border: 1px solid #f3e1b8;
    text-align: center;
}

#boCaoPagination {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
    width: 100%;
}

/*-----------------------------------------------------------------
HOT ITEM */
#hotitem {
    width: 590px;
    height: 55px;
    float: left;
    background-color: #FFFABE;
    position: relative;
    overflow: hidden;
    border: 1px solid #000000;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #000000;
    border-radius: 7px;
    box-sizing: border-box;
    margin: 10px 4px;
}

#hotitem_bg {}

#listitem {
    float: left;
    margin-top: 8px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-anim var(--hotitem-speed, 10s) linear infinite;
}

#listitem img {
    width: 82px !important;
    height: 29px !important;
    max-width: 82px !important;
    max-height: 29px !important;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
    image-rendering: -webkit-optimize-contrast;
}

#listitem img.hot-badge,
#listitem img[src*="hotitem.gif"] {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: 29px !important;
    object-fit: initial !important;
    flex-shrink: 0;
}

#listitem:hover {
    animation-play-state: paused;
}

@keyframes marquee-anim {
    0% { transform: translateX(590px); }
    100% { transform: translateX(-100%); }
}

/*-----------------------------------------------------------------
HOME PAGE CONTENT */
.boxcenter {
    clear: both;
    overflow: hidden;
    background: url(../images/box2.gif) center;
    margin: 0px;
    padding: 0px;
    margin-top: 10px;
}

.boxcenter .frame1 {
    overflow: hidden;
    background: url(../images/box3.gif) center bottom no-repeat;
    padding: 0px 0px 10px 0px;
}

.boxcenter .frame2 {
    overflow: hidden;
    width: 579px;
    width: 580px !important;
    background: url(../images/box1.gif) center top no-repeat;
    padding: 8px 10px 0px 10px;
}

.boxcenter .boxtitle {
    text-align: center;
    margin-bottom: 10px;
}

.boxcenter .menuchar {
    width: 180px;
    float: left;
    overflow: hidden;
}

.boxcenter .thatquoc {
    text-align: center;
    margin-left: 110px;
}

.boxcenter .thatquoc img {
    float: left;
}

.boxcenter #quocgia {
    width: 570px;
    height: 130px;
    position: relative;
    overflow: hidden;
    text-align: center;
    clip: rect("0px", "550px", "130px", "0px");
}

.boxcenter #quocgia .frame0 {
    position: absolute;
    left: 40px;
    top: 0;
    width: 500px;
}

.boxcenter #quocgia img {
    float: left;
}

/* Khung chứa tổng */
.boxcenter #quocgia {
    width: 570px;
    height: 130px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* Khung cuộn bên trong */
.boxcenter #quocgia .frame0 {
    position: absolute;
    left: 40px;
    top: 0;
    width: 500px;
}

/* ĐÂY LÀ PHẦN QUAN TRỌNG NHẤT: Tạo chiều cao chuẩn để không bị lệch */
.country-item {
    height: 130px;
    overflow: hidden;
    clear: both;
}

.boxcenter #quocgia img {
    float: left;
    margin-right: 10px;
}

.boxcenter #quocgia p {
    text-align: justify;
    margin: 0;
    line-height: 1.5;
}

.boxcenter #quocgia p {
    text-align: justify;
}

.boxcenter #quocgia .clear {
    clear: left;
}

#character {
    width: 390px;
    height: 165px;
    background: url(../images/intro_maoson.gif);
    background-repeat: no-repeat;
    float: left;
    overflow: hidden;
}

/*******************************************************************
	Left Column 
*******************************************************************/
/*-----------------------------------------------------------------
 NAVI 1 */
#navi1 {}

#navi1 .visible {
    visibility: hidden;
}

#navi1 ul {
    margin: 0px;
    padding: 0px;
}

#navi1 li {
    list-style: none;
    padding: 27px 20px;
}

/*-----------------------------------------------------------------
 TOP CHARACTER */
#listtop {
    padding-top: 260px;
}

.topchar {
    background: url(../images/topchar_bg2.gif) left repeat-y;
    margin-top: 10px;
}

.topchar .frame1 {
    background: url(../images/topchar_bg3.gif) bottom left no-repeat;
    padding-bottom: 10px;
}

.topchar .frame2 {
    background: url(../images/topchar_bg1.gif) top left no-repeat;
    padding: 6px 3px 0px 3px;
    text-align: center;
}

.topchar .titlebox {
    margin: 0px 0px 3px 0px;
}

.topchar .serverlist {
    margin: 0px 0px 30px 0px;
}

.topchar .server {
    padding: 3px 0px 5px 0px;
    margin: 0px 5px 0px 5px;
    border-bottom: #999999 dotted 1px;
    text-align: left;
}

.topchar .server img {
    float: left;
    margin: 0px 14px 0px 5px;
}

/*-----------------------------------------------------------------
 LEFT BANNER */
#leftbanner {
    margin: 10px auto;
    text-align: center;
}

#leftbanner img:not(.loading-bg-img) {
    width: 180px;
    height: 50px;
    margin: 3px 0px;
}

#leftbanner .img-loading-wrapper {
    margin: 3px 0px;
    width: 180px;
    height: 50px;
}

#leftbanner .img-loading-wrapper img.actual-img {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/*******************************************************************
	Right Column 
*******************************************************************/
/*-----------------------------------------------------------------
NAVI 2 */
#navi2 {
    background: url(../images/navi2_2.gif) center repeat-y;
}

#navi2 .frame1 {
    background: url(../images/navi2_3.gif) bottom center no-repeat;
    padding: 0px 0px 40px 0px;
    text-align: center;
}

#navi2 .frame2 {
    background: url(../images/navi2_1.gif) top center no-repeat;
    padding: 30px 0px 0px 0px;
    text-align: center;
}



#rightbanner {
    margin-left: 10px;
    margin-top: 10px;
    margin-right: 12px;
}

#rightbanner img:not(.loading-bg-img) {
    width: 120px;
    height: 60px;
    margin: 5px 0px;
    float: right;
}

#rightbanner .img-loading-wrapper {
    float: right;
    margin: 5px 0px;
    width: 120px;
    height: 60px;
}

#rightbanner .img-loading-wrapper img.actual-img {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/*-----------------------------------------------------------------
 FOOTER */
#footer {
    width: 935px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
}

#footer img {
    order: 2;
    margin-left: 20px;
    flex-shrink: 0;
    /* Đảm bảo logo không bao giờ bị bóp méo hay đẩy mất */
}

#footer div.text {
    font-size: 11px;
    color: #666666;
    text-align: right;
    order: 1;
    flex-grow: 1;
    /* Cho phép chữ tự do chiếm không gian nhưng không lấn logo */
}

/*******************************************************************
Thu
*******************************************************************/

/* menuthu*/
ul.menuthu {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.menuthu li {
    float: left;
}

/*******************************************************************
JOOMLA!
*******************************************************************/

#mainlevel-nav li {
    float: left;
    padding-right: 15px;
}

.leftbanner_joomla {
    margin-top: 5px;
    margin-left: 5px;
}

.leftbanner_joomla img {
    margin-bottom: 5px;
}

.navi3 {
    margin: 0 auto;
    padding: 0;
}

.navi3 img {
    margin-top: 10px;
}

/*--------inner boxcontent----------*/
.boxcontent {
    width: 100%;
    max-width: 598px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 180px;
}

.boxcontent .frame1 {
    margin: 0 auto;
    padding: 0px;
    width: 598px;
    height: 14px;
    overflow: hidden;
}

.boxcontent .frame2 {
    margin: 0 auto;
    padding: 0px;
    width: 598px;
    overflow: hidden;
    background: url(../images/box2a.gif) center repeat-y;
}

.boxcontent .frame3 {
    margin: 0 auto;
    padding: 0px;
    width: 598px;
    overflow: hidden;
    height: 9px;
    background: url(../images/box3a.gif) no-repeat;
}

/*--------inner boxcontent----------*/
.boxnews {
    width: 100%;
    max-width: 598px;
    margin: 0 auto;
    margin-bottom: 50px;
    height: 700px;
    background: var(--color-bg, #fffabe);
    border-radius: 7px;
    padding: 24px 0px 130px 0px;
    box-sizing: border-box;
    position: relative;
    border: 1px solid #D7B46A;
}







.maincontent {
    margin: 0 auto;
    padding: 0px;
    width: 560px;
    overflow: hidden;
}

.maincontent .ttl_link {
    font-weight: bold;
    color: #999;
}

.grey {
    color: #999;
}

.blue {
    color: #0000ff;
}

.red {
    color: #ff0000;
}

.darkred {
    color: #800000;
}

.darkgreen {
    color: #047359;
}

.t12 {
    font-size: 12pt;
    font-weight: bold;
}

.t16 {
    font-size: 18pt;
    font-weight: bold;
}

.blue1 {
    color: #1157b6;
}

.green1 {
    color: #999900;
}

.inner_title {
    color: #800000;
    font-size: 18px;
}

.download_bg {
    background: url(../images/cqgame/bg_movie.jpg) no-repeat;
    width: 422px;
    height: 386px;
    margin: 0 auto;
    padding: 0px;
}

.movie_pad {
    padding-top: 90px;
    padding-bottom: 20px;
}

/*--------tab NEWS----------*/

#homepagenews .ejtopnews {
    padding: 0px 10px;
    background: url(../images/bullet01.html) left top no-repeat;
    background-position: 0px 4px;
}

#homepagenews .ejtopnews span.note {
    display: none;
}

#homepagenews .ejtopnews span.date {
    font-size: 10px;
    line-height: 10px;
}

#homepagenews .ejtopnews p {
    margin-top: 5px;
    margin-bottom: 6px;
    padding: 0;
    border-bottom: 1px dotted #000;
}

#homepagenews .ejtopnews a.title {
    color: #000;
}

#homepagenews .ejtopnews a.title:hover {
    color: #ff0000;
}

#homepagenews .ejtopnews a.title_new {
    background: url(../images/icon_new1.gif) right top no-repeat;
    color: #000;
    padding-right: 44px;
}

#homepagenews .ejtopnews a.title_new:hover {
    color: #ff0000;
}

.ejcontent .ejtopnews {
    padding: 0px 10px;
    background: url(../images/bullet01.html) left top no-repeat;
    background-position: 0px 4px;
}

.ejcontent .ejtopnews span.note {
    display: none;
}

.ejcontent .ejtopnews span.date {
    font-size: 10px;
    line-height: 10px;
}

.ejcontent .ejtopnews p {
    margin-top: 5px;
    margin-bottom: 6px;
    padding: 0;
    border-bottom: 1px dotted #000;
}

.ejcontent .ejtopnews a.title {
    color: #000;
}

.ejcontent .ejtopnews a.title:hover {
    color: #ff0000;
}

.ejcontent .ejtopnews a.title_new {
    background: url(../images/icon_new1.gif) right top no-repeat;
    color: #000;
    padding-right: 44px;
}

.ejcontent .ejtopnews a.title_new:hover {
    color: #ff0000;
}

.maincontent .blog .contentpaneopen {
    margin: 0 auto;
    padding: 0px;
    width: 560px;
}

.maincontent .blog .contentpaneopen #newsdetail {
    margin: 0 auto;
    padding: 0px;
    overflow: auto;
    text-align: justify;
}

/*	updated by npbtrac 7/14/2009 */
.ejnewernews {
    background: transparent url(../images/title_newernews.jpg) no-repeat scroll 0 0;
    margin-bottom: 30px;
    margin-top: 30px;
    padding-top: 25px;
}

.ejoldernews {
    background: transparent url(../images/title_oldernews.jpg) no-repeat scroll 0 0;
    margin-bottom: 30px;
    margin-top: 30px;
    padding-top: 25px;
}

.ejnewernews .ejtopnews {
    padding: 0px 10px;
    background: url(../images/bullet01.html) left top no-repeat;
    background-position: 0px 4px;
}

.ejnewernews .ejtopnews span.note {
    display: none;
}

.ejnewernews .ejtopnews span.date {
    font-size: 10px;
    line-height: 10px;
    color: #000 !important;
}

.ejnewernews .ejtopnews p {
    margin-top: 5px;
    margin-bottom: 6px;
    padding: 0;
}

.ejnewernews .ejtopnews a.title {
    color: #000;
}

.ejnewernews .ejtopnews a.title:hover {
    color: #ff0000;
}

.ejoldernews .ejtopnews {
    padding: 0px 10px;
    background: url(../images/bullet01.html) left top no-repeat;
    background-position: 0px 4px;
}

.ejoldernews .ejtopnews span.note {
    display: none;
}

.ejoldernews .ejtopnews span.date {
    font-size: 10px;
    line-height: 10px;
    color: #000 !important;
}

.ejoldernews .ejtopnews p {
    margin-top: 5px;
    margin-bottom: 6px;
    padding: 0;
}

.ejoldernews .ejtopnews a.title {
    color: #000;
}

.ejoldernews .ejtopnews a.title:hover {
    color: #ff0000;
}

/*Tan them ngay 27 08 2010*/
.clear {
    clear: both;
    line-height: 0px;
    height: 0px;
    font-size: 0px;
    margin: 0px;
    padding: 0px;
}

#box-facebook {
    clear: both;
    padding-top: 20px;
    padding-bottom: 20px;
}

#box-facebook .bookmark {
    float: right;
}

#box-facebook .bookmark img {
    height: 20px !important;
}

#box-facebook .like-facebook {
    float: right;
}

/* ========================================================
   LOADING SVG CSS ANIMATIONS
   ======================================================== */
@keyframes anim-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes anim-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

@keyframes anim-wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

@keyframes anim-spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes anim-zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes anim-flip {
    0% {
        transform: perspective(400px) rotateY(0);
        animation-timing-function: ease-out;
    }

    40% {
        transform: perspective(400px) translateZ(50px) rotateY(170deg);
        animation-timing-function: ease-out;
    }

    50% {
        transform: perspective(400px) translateZ(50px) rotateY(190deg);
        animation-timing-function: ease-in;
    }

    80% {
        transform: perspective(400px) rotateY(360deg);
        animation-timing-function: ease-in;
    }

    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

@keyframes anim-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes anim-tada {
    0% {
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    100% {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes anim-heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes anim-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes anim-rubberband {
    0% {
        transform: scale3d(1, 1, 1);
    }

    30% {
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        transform: scale3d(0.95, 1.05, 1);
    }

    75% {
        transform: scale3d(1.05, 0.95, 1);
    }

    100% {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes anim-flash {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.anim-bounce {
    animation: anim-bounce 1s infinite ease-in-out;
}

.anim-wobble {
    animation: anim-wobble 1.5s infinite ease-in-out;
}

.anim-spin {
    animation: anim-spin 2s infinite linear;
}

.anim-zoom {
    animation: anim-zoom 1.5s infinite ease-in-out;
}

.anim-flip {
    animation: anim-flip 2s infinite;
}

.anim-shake {
    animation: anim-shake 1.5s infinite;
}

.anim-tada {
    animation: anim-tada 1.5s infinite;
}

.anim-heartbeat {
    animation: anim-heartbeat 1.5s infinite ease-in-out;
}

.anim-float {
    animation: anim-float 3s infinite ease-in-out;
}

.anim-rubberband {
    animation: anim-rubberband 2s infinite;
}

.anim-flash {
    animation: anim-flash 2s infinite;
}

.anim-pulse {
    animation: anim-pulse 1.5s infinite ease-in-out;
}

@keyframes anim-spin-3d {
    0% { transform: perspective(400px) rotateY(0deg); }
    100% { transform: perspective(400px) rotateY(360deg); }
}
.anim-spin-3d {
    animation: anim-spin-3d 3s infinite linear;
}

@keyframes anim-blur-fade {
    0%, 100% { opacity: 0.3; filter: blur(4px); transform: scale(0.9); }
    50% { opacity: 1; filter: blur(0); transform: scale(1.05); }
}
.anim-blur-fade {
    animation: anim-blur-fade 2s infinite ease-in-out;
}

@keyframes anim-bounce-zoom {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.15); }
}
.anim-bounce-zoom {
    animation: anim-bounce-zoom 1.2s infinite ease-in-out;
}

/* ==========================================================================
   Loading Animation Wrappers (Shared across pages)
   ========================================================================== */

.img-loading-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    min-height: 40px;
    text-align: center;
    background-color: #f4f4f4;
}

.img-loading-wrapper .loading-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 30%;
    height: 30%;
    max-width: 60px;
    max-height: 60px;
    min-width: 24px;
    min-height: 24px;
    object-fit: contain;
    z-index: 1;
}

.img-loading-wrapper img.actual-img {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.img-loading-wrapper:not(.loaded) img.actual-img {
    opacity: 0 !important;
    visibility: hidden !important;
}

.img-loading-wrapper.loaded {
    background-color: transparent;
}

.img-loading-wrapper.loaded .loading-bg-img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

.img-loading-wrapper.loaded img.actual-img {
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }
}

@keyframes pulse-img {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

#newsContainer .content {
    text-align: left; /* Đè lại thiết lập canh đều (justify) cũ, nhưng không dùng !important để CKEditor có thể tùy biến */
    word-wrap: break-word;
    word-break: break-word;
}

#newsContainer .content p,
#newsContainer .content div,
#newsContainer .content span {
    word-wrap: break-word;
    word-break: break-word;
}
#newsContainer .content::after {
    content: '';
    display: table;
    clear: both;
}
