:root {
    --app-color-main: #0163AC;
    --app-color-main-light: #003155;
    --app-color-second: #ecb500;
    /* --app-color-second: #88cdff; */
    --color-red: #e60024;
    --color-white: #FFF;
    --color-yellow: #FFC507;
    --color-yellow-light: #ffc50759;
    --color-green-light: #EAF9F1;
    --app-main-light: #c4e6ff;
}

body {
    color:#333
}

.thin {
    font-weight: 400!important
}

.bg-main {
    background-color: var(--app-color-main) !important;
}

.bg-main-light {
    background-color: var(--app-main-light);
}

.bg-green-light {
    background-color: var(--color-green-light);
}

.bg-yellow {
    background-color: var(--color-yellow);
}

.bg-yellow-light {
    background-color: var(--color-yellow-light);
}

html {
    width: 100%;
    overflow-x: hidden
}

p {
    font-size: 1.6rem
}

img {
    max-width: 100%
}

.header-mobile-top {
    background-color: var(--app-color-main);
    height: 34px;
}

.header-bottom {
    background-color: var(--app-color-main);
}

.app-logo img {
    max-height: 90px
}

.main-menu ul li a {
    font-weight: 600;
    color: var(--color-white);
    font-size: 1.6rem;
    border-bottom: 2px solid transparent;
}

.main-menu ul ul li a {
    /* padding-left: 25px!important; */
    /* background: transparent url('../img/icon-lotus-yellow.png') no-repeat 0 40% / 20px; */
    display: inline-block;
    color: var(--color-white);
    font-size: 1.6rem!important
}

.main-menu>ul>li>a:hover,
.main-menu>ul>li>a.active,
.main-menu>ul>li.active>a,
.main-menu ul ul li a:hover {
    color: var(--app-color-second)!important
}

.main-menu>ul>li>a:hover,
.main-menu>ul>li>a.active,
.main-menu>ul>li.active>a {
    color: var(--app-color-second)!important;
}

.aicon {
    display: inline-block;
    height: 20px;
    width: 20px;
    background-size: contain;
    background-position: 50% 50%;
    overflow: hidden;
    background-repeat: no-repeat;
}

.aicon--small {
    height: 10px;
    width: 10px;
}

.aicon-calendar-gray {
    background-image: url('../img/icon-calendar-gray.png');
}

.aicon-clock {
    background-image: url('../img/icon-clock-gray.png');
}

.aicon-location {
    background-image: url('../img/icon-location.png');
}

.aicon-lotus {
    background-image: url('../img/icon-lotus.png');
}

.aicon-lotus-yellow {
    background-image: url('../img/icon-lotus-yellow.png');
}

.aicon-three-dots {
    background-image: url('../img/icon-three-dots.png');
}

.aicon-home {
    background-image: url('../img/icon-home.png');
}

.aicon-pdf {
    background-image: url('../img/icon-pdf.png');
}

.aicon-printer {
    background-image: url('../img/icon-printer.png');
}

.aicon-facebook-sharing {
    background-image: url('../img/icon-fb-sharing.png');
}

.aicon-zalo-sharing {
    background-image: url('../img/icon-zalo-sharing.png');
}

.lotus-header {
    /* padding-left: 20px; */
    /* background: url('../img/icon-lotus.png') no-repeat 0 50%; */
    background-size: 16px;
    white-space: nowrap;
    overflow-x: auto;
    width: calc(100% - 20px);
}

.sidebar-slider,
.printed-slider,
.topic-slider {
    width: 100%;
    margin: 0 auto;
}

.printed-slider>div {
    background: #fff;
    padding: 40px 0;
}

.sidebar-slider .slick-arrow,
.printed-slider .slick-arrow,
.topic-slider .slick-arrow {
    top: unset;
    bottom: -35px;
    z-index: 999999;
}

.sidebar-slider .slick-prev,
.printed-slider .slick-prev,
.topic-slider .slick-prev {
    left: 0;
}

.sidebar-slider .slick-next,
.printed-slider .slick-next,
.topic-slider .slick-next {
    right: 0;
}

.sidebar-slider .slick-prev:before,
.sidebar-slider .slick-next:before,
.topic-slider .slick-prev:before,
.topic-slider .slick-next:before,
.printed-slider .slick-prev:before,
.printed-slider .slick-next:before {
    color: #000
}


/* Menus styles */

#navbar .nav-categories ul {
    top: 47px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom;
    padding: 15px;
    z-index: 99999;
    /* min-height: 230px; */
    border-top: 1px solid var(--color-yellow);
}

#navbar .nav-categories ul a,
#navbar .nav-categories ul a span {
    color: var(--dark);
    display: block;
    padding: 5px 15px;
    /* border-bottom: 1px solid #e2e4e4; */
    width: 100%;
}

.hot-tags {
    padding-top: 7px;
    padding-bottom: 7px;
}

.hot-tags a {
    font-family: var(--bs-font-sans-serif);
    font-weight: 400;
    font-size: 1.6rem;
    padding: 6px 12px;
    background: #f0f0f0;
    margin: 0 6px;
}

.hot-tags a::before {
    content: "#";
    margin-right: 10px;
}

nav:has(.breadcrumb) {
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 0;
}

.breadcrumb {
    width: max-content;
}

.breadcrumb-item {
    display: flex;
    line-height: 1.2;
    font-weight: 400;
}

.breadcrumb-item.active {
    color: var(--app-color-main)
}

.card-title {
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 600;
    color: #222;
}

.main-title {
    font-size: 2.2rem!important;
}

.card-meta {
    font-size: 1.4rem;
    color: #6B7280
}

.card-meta span,
.card-meta a {
    margin-right: 10px
}

.card-meta i {
    margin-right: 5px
}

.card-desc {
    font-size: 1.6rem
}

.fs-14 {
    font-size: 1.4rem!important;
}

.fs-16 {
    font-size: 1.6rem!important;
}

.fs-18 {
    font-size: 1.8rem!important;
}

.fs-20 {
    font-size: 2.0rem!important;
}

.fs-22 {
    font-size: 2.2rem!important;
}

.fs-24 {
    font-size: 2.4rem!important;
}

.fs-26 {
    font-size: 2.6rem!important;
}

.fs-28 {
    font-size: 2.8rem!important;
}

.fs-30 {
    font-size: 3.0rem!important;
}

.fs-32 {
    font-size: 3.2rem!important;
}

.fs-36 {
    font-size: 3.6rem!important;
}

.fs-38 {
    font-size: 3.8rem!important;
}

.fs-40 {
    font-size: 4.0rem!important;
}

.title {
    font-weight: 600;
    line-height: 1.4;
    font-family: var(--bs-font-heading);
}

.strong {
    font-weight: 600;
}

.bold {
    font-weight: 700;
}

.box-title {
    font-size: 2.0rem;
    color: #000;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    width: auto;
}

.box-title::after {
    content: "";
    height: 1px;
    width: 100%;
    background-color: #E2E4E4;
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    margin-left: 20px;
    display: none;
}

.box-title.no-after::after {
    display: none
}

.box-title a, a {
    color: inherit
}

.box-title .nav {
    color: #676767;
    font-weight: 400;
    font-size: 1.8rem;
    text-transform: uppercase;
    display: inline-flex
}

.cat-nav {
    list-style: none;
    margin-left: 15px;
    border-left: 1px solid #e2e4e4;
    padding-left: 8px;
}

.cat-nav li a {
    font-size: 16px;
    padding: 4px 7px
}

.cat-nav li a:hover {
    text-decoration: 1px solid var(--app-color-main);
    text-decoration: underline;
}

.box-title .nav a:hover,
.box-title .nav a.active {
    color: var(--bs-link-hover-color)
}

.pt-2rem,
.py-2rem {
    padding-top: 2rem
}

.pb-2rem,
.py-2rem {
    padding-bottom: 2rem
}

.mr-2rem {
    margin-right: 2rem
}

.mb-2rem {
    margin-bottom: 2rem
}

.ml-2rem {
    margin-left: 2rem
}

.mt-2rem {
    margin-top: 2rem
}

.lines-clamp,
.card-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lines-2 {
    -webkit-line-clamp: 2;
    height: 4.8rem;
}

.card-title.lines-2 {
    height: 5.5rem;
}

.lines-3,
.card-desc {
    -webkit-line-clamp: 3;
    height: 7.2rem;
}

.section-printed {
    padding: 4rem 0;
    background-color: var(--app-color-main);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover
}

.slick-list.draggable {
    background: transparent
}

.printed-slider .slick-slide {
    margin: 0 27px;
}

.printed-slider .slick-list {
    margin: 0 -27px;
}

.printed-slider .slick-dots {
    bottom: 10px;
}

.topic-slider .slick-dots {
    bottom: -10px;
}

.feature-slider .slick-dots li button:before,
.sidebar-slider .slick-dots li button:before,
.topic-slider .slick-dots li button:before,
.printed-slider .slick-dots li button:before {
    color: #FFC507;
    font-size: 1.2rem;
}

.printed-slider .slick-dots li {
    margin: 0
}

.topic-slider .slick-prev,
.printed-slider .slick-prev {
    background-image: url('../img/chevron-left.png');
    left: 45%;
}

.topic-slider .slick-next,
.printed-slider .slick-next {
    background-image: url('../img/chevron-right.png');
    right: 45%;
}

.topic-slider .slick-arrow,
.printed-slider .slick-arrow {
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -4px;
    width: 24px;
    height: 24px;
}

.topic-slider .slick-arrow::before,
.printed-slider .slick-arrow::before {
    display: none;
    content: ""
}

.topic-slider .slick-arrow {
    bottom: -20px
}


/* home multimedia */

.video-item {
    position: relative;
    margin-bottom: 2.0rem;
}

.video-item::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: url('../img/icon-play.png') transparent 0 0;
    background-size: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.video-item .video-title {
    position: absolute;
    bottom: 0;
    padding: 0 1.2rem;
    background-color: #0006;
    margin: 0;
    display: block;
    width: 100%;
    line-height: 1.4;
    max-height: 7rem;
}


/* footer */

footer {
    /* padding-top: 20px; */
    background-color: var(--app-color-main-light);
    background-repeat: no-repeat;
    background-size: contain;
    color: #FFF;
    background-position: 0px 0;
}

footer .box-title {
    color: var(--white);
    text-transform: uppercase;
    font-family: var( --bs-font-sans-serif);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4
}

footer .box-title::after {
    display: none
}

footer ul,
.footer-bottom .nav a {
    font-size: 1.6rem;
    color: #fff
}

.footer-logo {
    max-height: 100px;
}

.footer-bottom .nav a {
    border-bottom: 1px solid transparent
}

.footer-bottom .nav a:hover {
    /* border-color: #FFC507; */
    color: #FFC507
}

.footer-top {
    background-color: transparent;
    border: none;
}

.footer-bottom {
    padding: 10px 0;
    border-bottom: 1px solid var(--app-color-second);
    border-top: 1px solid var(--app-color-second);
    font-size: 1.6rem
}

.text-yellow {
    color: #FFC507
}

.footer-newsletter-box .input-group {
    border: 1px solid var(--app-color-second);
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #FFF;
}

.footer-newsletter-box .input-group input {
    border: none;
    background: #FFF;
    padding: 7px 15px;
    color: var(--dark);
    font-size: 1.6rem;
}

.footer-newsletter-box .input-group-append span {
    margin-right: 0;
    background: url('../img/footer-search-button.png') transparent 50% 50%;
    background-size: 25px;
    background-repeat: no-repeat;
    border: none;
    text-indent: -999999999px;
    padding: 0 20px;
    cursor: pointer;
}


/* styles .sidebar */

.simple-list li {
    list-style: disc var(--bs-link-color)
}

.simple-list li a {
    font-size: 1.6rem;
    color: #222
}

a {
    color: inherit
}

a:hover {
    color: var(--bs-link-hover-color)
}

.comment-header::after,
.enrollment-header::after {
    display: none
}

.enrollment-header,
.comment-header {
    background: url('../img/icon-chat.png') 0% 50% / 30px 30px no-repeat;
    padding-left: 38px;
    border-bottom: 1px solid #E2E4E4;
    padding-bottom: 10px
}

.enrollment-header {
    background: url('../img/icon-contact.png') 0% 30% / 30px 25px no-repeat;
}

.sidebar-box ol {
    padding-left: 30px;
    list-style: decimal #FFF
}

.sidebar-box li::marker {
    color: var(--bs-link-color);
    font-size: 2.4rem;
    font-weight: 600
}

.sidebar-box .commentor-name {
    color: var(--bs-link-color);
    font-size: 1.6rem
}

.comment-list .cm-count {
    font-size: 1.6rem;
    color: green;
    background: transparent url('../img/icon-chat-gray.png') 0 50% no-repeat;
    padding-left: 20px
}

.comment-list {
    font-size: 1.6rem;
    line-height: 1.3
}

.comment-list li:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e4e4;
    margin-bottom: 10px;
}

.sidebar-slider>div {
    padding: 0px 0
}

.feature-slider .slick-arrow,
.sidebar-slider .slick-arrow {
    height: 24px;
    width: 24px;
    background: url('../img/chevron-left-gray.png') 50% 50% / 100% transparent no-repeat;
}

.feature-slider .slick-arrow::before,
.sidebar-slider .slick-arrow::before {
    display: none
}

.feature-slider .slick-prev,
.sidebar-slider .slick-prev {
    background: url('../img/chevron-left-gray.png') 50% 50% / 100% transparent no-repeat;
}

.feature-slider .slick-next,
.sidebar-slider .slick-next {
    background: url('../img/chevron-right-gray.png') 50% 50% / 100% transparent no-repeat;
}

.sidebar-slider .slick-dots::before {
    color: #03c
}

.feature-slider .slick-prev {
    left: 0;
    z-index: 999999;
    opacity: 0;
}

.feature-slider .slick-next {
    right: 0;
    z-index: 999999;
    opacity: 0;
}

.feature-slider:hover .slick-next,
.feature-slider:hover .slick-prev {
    opacity: 1
}

.feature-slider {
    visibility: hidden
}

.feature-slider.slick-initialized {
    visibility: visible
}

.topic-slider .card {
    margin-left: 2.0rem;
}


/* style catgory page */

.list-articles li {
    border-bottom: 1px solid #E2E4E4;
    margin-bottom: 1rem;
    padding-bottom: 1rem
}

.list-articles .thumb-box {
    width: 280px;
    margin-right: 1.0rem
}

.list-articles .card-title {
    font-size: 2.4rem
}

.thumb-box {
    position: relative;
    height: 0;
    width: 100%;
    overflow: hidden;
    display: block;
}

.thumb-box img {
    position: absolute;
    height: auto;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.thumb-box.thumb-center img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
}

.thumb-169 {
    padding-bottom: 56.25%
}

.thumb-43 {
    padding-bottom: 75%
}

.thumb-32 {
    padding-bottom: 63.5%
}

.thumb-11 {
    padding-bottom: 100%
}

.thumb-150 {
    padding-bottom: 150%
}

.articles-paging ul .page-item.next .page-link,
.articles-paging ul .page-item.prev .page-link {
    text-indent: -999999999px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 10px;
}

.articles-paging ul .page-item.next .page-link {
    background-image: url('../img/paging-right.png');
}

.articles-paging ul .page-item.prev .page-link {
    background-image: url('../img/paging-left.png');
}

.articles-paging ul .page-item {
    margin: 0 5px!important;
}

.articles-paging ul .page-link {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    background: #e4e4e4;
    overflow: hidden;
    line-height: 40px;
    text-align: center;
    padding: 0;
    color: #676767;
    border: none
}

.articles-paging ul .page-item.active .page-link {
    background-color: #FFC507;
}

.articles-paging ul .page-link:hover {
    border: none
}

.articles-paging .page-item:last-child .page-link,
.articles-paging .page-item:first-child .page-link {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.page-title {
    font-size: 3.2rem;
    line-height: 1.4
}

.issn-number {
    padding: 6px 12px;
    background: #F11B21;
    color: #FFF;
    -webkit-border-radius: 5px;
    border-radius: 5px
}

.sapo {
    font-family: var(--bs-font-sans-serif);
}

.article-sapo {
    font-size: 1.6rem;
    margin: 2rem 0;
}

.emagazin-template .article-sapo {
    margin: 15px auto;
    font-size: 1.8rem;
    font-family: var(--bs-font-sans-serif);
    font-weight: 400;
    max-width: 100%;
}

.article-body {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.7
}

.article-body .pdf-viewer {
    height: 0;
    padding-bottom: 120%;
    position: relative;
    overflow: hidden;
}

.article-body .pdf-viewer iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.article-body .highlight {
    background: #FFF7DD;
    padding: 20px;
    border-left: 6px solid #FFC507;
    margin: 2rem 0
}

.article-body img {
    max-width: 100%;
    display: block;
    margin: 10px auto;
    height: auto;
}

.btn-printer,
.btn-pdf {
    padding: 6px 12px;
    font-size: 1.4rem;
    border: 1px solid transparent;
    border-radius: 0;
}

.btn-printer:hover,
.btn-pdf:hover {
    border-color: inherit
}

.btn-pdf {
    border-color: #F11B21
}

.btn-printer {
    border-color: #049F4C
}

.aticle-tags .tag-item {
    color: var(--app-color-main);
    padding: 6px 12px;
    font-size: 1.4rem;
    -webkit-border-radius: 4px;
    border: 1px solid var(--app-color-main);
}

.aticle-tags .tag-item::before {
    content: "#";
    color: #a8abab;
    margin-right: 2px
}

.aticle-tags .tag-item:hover {
    color: var(--color-white);
    background: var(--app-color-main);
}

.article-noted .lotus-header {
    background-image: url('../img/icon-lotus-yellow.png');
    background-color: var(--app-color-main);
    background-position: 15px 50%;
    color: #fff;
    padding: 10px 45px;
}

.article-noted {
    background: #fff7dd
}

.article-noted .card-body {
    font-size: 1.6rem;
}

.article-noted .qr-bank {
    width: 120px;
    margin-right: 15px;
    height: auto;
}

.color-main {
    color: var(--app-color-main)
}

.flex-same-width {
    flex: 1 1 0;
}

.flex-same-width .layout-col1 {
    flex: 1;
    max-width: calc(33.3333% - 13.333px)
}

.flex-same-width .layout-col1:last-child {
    margin-right: 0!important
}

.video-meta .sharing-item .aicon {
    width: 26px;
    height: 26px;
    background-size: auto 100%;
    background-image: url('../img/sharing-icons.png');
}

.video-meta .sharing-item {
    margin: 0 8px;
    cursor: pointer;
    display: inline-block;
    width: 26px;
    height: 26px
}

.aicon-facebook {
    background-image: url('../img/icon-facebook.png');
}

.aicon-youtube {
    background-image: url('../img/icon-youtube.png');
}

.aicon-tiktok {
    background-image: url('../img/icon-tiktok.png');
}

.aicon-zalo {
    background-image: url('../img/icon-zalo.png');
}

.aicon-email {
    background-image: url('../img/icon-email-white.png');
}

.aicon-sharing-facebook {
    background-position: 0 0;
}

.aicon-sharing-youtube {
    background-position: -42px 0;
}

.aicon-sharing-tiktok {
    background-position: -84px 0;
}

.aicon-sharing-zalo {
    background-position: -126px 0;
}

.aicon-sharing-link {
    background-position: -168px 0;
}

.video-player {
    position: relative;
    margin-bottom: 2rem
}

.video-player.youtube {
    height: 0;
    padding-bottom: 56.25%;
}

.video-player.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%
}

.video-player.facebook>div {
    margin: 0 auto;
    width: auto;
    display: block;
}

.is-fbreel {
    max-width: 350px!important;
}

.paper-item {
    margin-bottom: 2rem
}

.contact-box {
    background: #FFF7DD;
    padding: 3rem;
    color: var(--app-color-main);
    font-size: 1.6rem;
    line-height: 1.4
}

.contact-box .logo {
    width: 400px;
    margin-right: 3rem
}

.contact-box .info li {
    margin-bottom: 10px
}

.contact-box .info i {
    margin-right: 10px
}

.map-container {
    position: relative;
    padding-bottom: 60%;
    overflow: hidden
}

.map-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

.comment-box {
    padding: 15px
}

.comment-box .form-control {
    padding: 6px 12px;
    font-size: 1.4rem
}

.comment-box .btn {
    background: var(--app-color-main);
    font-size: 1.6rem;
    color: #fff;
    padding: 6px 12px
}


/* #navbar .nav-search ul {
    background: var(--app-color-main);
    background-image: unset;
    right: 0;
    border: none;
    top: 0;
    left: unset;
    padding: 3px;
    width: 300px;
} */

.flex-fill {
    flex: 1
}

.cm-meta {
    border-bottom: 1px dotted #e2e4e4;
}

.gsc-adBlock {
    height: 0!important;
    overflow: hidden;
    border: none!important;
}

.gsc-search-box.gsc-search-box-tools {
    margin-bottom: 20px
}

.gsc-search-box.gsc-search-box-tools input {
    padding: 2px 10px!important;
    font-size: 16px
}

.gsc-search-button.gsc-search-button-v2 {
    border-radius: unset!important;
    padding: 10px 15px;
    background: #ce352f;
    border: #ce352f
}

.gsc-cursor-page {
    padding: 5px 10px;
    border: 1px solid #ce352f;
    font-size: 14px;
    margin-right: 15px!important;
}

.gsc-cursor-page:last-child {
    margin-right: 0!important
}

.gsc-cursor-page.gsc-cursor-current-page,
.gsc-cursor-page:hover {
    color: #fff!important;
    background: #ce352f;
}

#lastest-list li:last-child {
    border-bottom: none!important;
}

footer .footer-social-links i {
    display: block;
    margin: 0 auto 3px
}

footer .footer-social-links li {
    margin-right: 20px
}

footer a:hover {
    color: var(--color-yellow)
}

.news-box .list-unstyled li:last-child {
    border: none!important
}


/* Định dạng riêng cho phần cần in */

@media print {
    blockquote {
        padding: 15px;
    }
}

.main-menu>ul>li.nav-categories>a {
    position: relative;
    padding-right: 0px;
    width: 100%;
}


/* .main-menu>ul>li.nav-categories:not(.nav-search)>a:after {
    content: "";
    height: 16px;
    width: 16px;
    background: transparent url('../img/chevron-left-gray.png') no-repeat 50% 50% / 16px;
    position: absolute;
    right: -18px;
    top: 60%;
    z-index: 999999;
    transform: translateY(-50%) rotate(-90deg)
} */

.center {
    text-align: center;
}

.entry-img figcaption {
    font-size: 1.4rem;
    font-style: italic;
    background: #e2e4e4;
    color: var(--app-color-main);
    padding: 7px 15px;
    margin-top: -10px;
    display: block;
}

.btn-loadmore {
    border: 1px solid var(--app-color-main);
    color: var(--app-color-main)!important;
    background: transparent!important;
}

.btn-loadmore:hover {
    border: 1px solid var(--app-color-main);
    color: #FFF!important;
    background: var(--app-color-main)!important
}

.tiktok-embed {
    margin: 0 auto;
    border: none
}

.tiktok-embed iframe {
    border: none
}

#toc {
    top: 20px;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--app-color-main);
    margin-bottom: 20px;
    border-radius: 5px;
}

#toc.sticked {
    left: 10px!important;
    width: 280px!important;
    z-index: 999;
}

#toc.collapsed ul {
    display: none;
}

#toc.sticked.collapsed {
    width: auto!important;
    padding: 5px
}

#toc.sticked.collapsed button span {
    display: none
}

#toc.sticked.collapsed button::before {
    content: "+";
    font-weight: 700;
    color: #FFF;
    font-size: 2.2rem;
    padding: 0 0;
    line-height: 1.0
}

#toc ul {
    list-style-type: none;
    padding-left: 0;
}

#toc li {
    padding: 5px 10px;
    margin-top: 5px;
    font-weight: 600;
    font-size: 1.6rem
}

#toc button {
    background-color: var(--app-color-main);
    padding: 5px 10px;
    margin-top: 5px;
    font-weight: 600;
    font-size: 1.6rem
}

.e-magazine__body {
    width: 770px;
    margin: 0 auto 0;
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 30px;
    font-family: var(--bs-font-sans-serif);
    color: #333;
    max-width: 95%;
}

.e-magazine__body>* {
    margin: 0 0 20px;
}

.e-magazine__body figure {
    padding: 0;
    margin: 12px 0;
    position: relative;
    z-index: 1;
}

.e-magazine .align-center:not(h2):not(h3):not(h4) {
    width: 100%;
    margin: 12px auto 24px;
}

.e-magazine .align-full {
    min-width: 100vw;
    left: calc((100% - 100vw) / 2);
}
.e-magazine .align-left {
    float:left;
    margin-right: 15px!important;
}
.e-magazine .align-right {
    float: right;
    margin-left: 15px!important;
}
.e-magazine .align-overflow {
    margin: 12px 0 24px;
    min-width: 980px;
    left: calc((100% - 980px) / 2);
    position: relative;
    z-index: 2;
}

.e-magazine .align-full {
    margin: 12px 0 24px;
    min-width: 100vw;
    left: calc((100% - 100vw) / 2);
    position: relative;
    z-index: 1;
}

.e-magazine p {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.e-magazine__body figure.image.align-overflow {
    left: 50%;
    transform: translateX(-50%);
}

.e-magazine__body figure img {
    width: 100%;
    height: auto;
    margin: 0;
    /* max-width:unset; */
}

.mobile-only {
    display: none;
}

/* skip-link for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 8px 16px;
    background: var(--app-color-main);
    color: #fff;
    z-index: 100000;
    font-size: 1.4rem;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

/* reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--app-color-second, #ecb500);
    z-index: 99999;
    transition: width 50ms linear;
}
