 .flex-container {
	display: flex;
	flex-wrap: wrap;
	margin-left: -10px;
    margin-right: -10px;
}

.flex-item {
	margin: 10px; 
	box-sizing: border-box;
}

.dcol-5 { flex-basis: calc(20% - 20px); }
.dcol-4 { flex-basis: calc(25% - 20px); }
.dcol-3 { flex-basis: calc(33.33% - 20px); }
.dcol-2 { flex-basis: calc(50% - 20px); }
.dcol-1 { flex-basis: calc(100% - 20px); }

@media (max-width: 1200px) {
	.dcol-lg-4 { flex-basis: calc(25% - 20px); }
}
@media (max-width: 992px) {
	.dcol-md-3 { flex-basis: calc(33.33% - 20px); }
}
@media (max-width: 768px) {
	.dcol-sm-2 { flex-basis: calc(50% - 20px); }
}
@media (max-width: 375px) {
	.dcol-xs-1 { flex-basis: calc(100% - 20px); }
}
@media (max-width: 992px) {
    .product-meta{
        display: none;
    }
}
h2.section-title{
	margin-bottom: 10px;
	font-size: 20px;
	font-weight:bold;
}
.tab-header {
    margin: 10px 0;
}
.tab-header ul {
    list-style: none;
    padding: 0;
	margin:0;
    display: flex;
	align-items:center;
}
.tab-header ul li{
	padding-right: 10px;
}
.tab-header ul li a{
	background-color: #eee;
    font-size: 15px;
    margin: 0 10px;
    margin-left: 10px;
    color: #444;
    border-radius: 4px;
    padding: 15px 24px;
    -webkit-transition: .2s;
    transition: .2s;
    border: 0;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    font-family: spartan, sans-serif;
    font-weight: 600;
    line-height: 1;
}
.tab-header ul li a:first-child {
    margin-left: 0 !important;
}
.tab-header ul li.active a, .tab-header ul li a:hover{
	color: #088178;
    background-color: #fde1bd;
}


.viewcat .product-book{
 
}
.viewcat .product-book .product-info{
    padding: 10px;
}
 
.viewcat .product-book .product-info .product-name:hover{
   color:#16ad5b;
   
}

.viewcat .product-book .product-image{
    display: block;
    padding: 0 10px;
    position: relative;
}

.viewcat .product-book .product-image:hover::after {
    content: "";
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    display: block;
    background: #22222252;
    position: absolute;
    top: 0px;
    left: 10px;
    padding: 10px;
    height: 100%;
    width: calc(100% - 20px);
   
}

.viewcat .product-book .product-image img{

    display: block;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
 
 
.detail-gallery{
	padding-right: 10px;
}
.product-image-slider img{
	max-width: 100%;
}
h1.title-detail {
    text-transform: capitalize;
	font-size: 36px;
	line-height: 40px;
}
.product_sort_info ul{
	padding: 0;
	margin: 0;
}

.product-content-wrap{
    padding: 10px;
}

.btn.btn-brush, .button.btn-brush {
    background-color: transparent;
    color: #088178;
    border: 0;
    padding: 14px 80px 14px 65px;
    background-repeat: no-repeat;
    font-family: spartan, sans-serif;
}
.btn.btn-brush.btn-brush-3, .button.btn-brush.btn-brush-3 {
    background-image: url(../images/btn-brush-bg-3.png);
}
.btn.btn-secondary, .button.btn-secondary {
    background-color: #41506b;
    border-color: #41506b;
	    padding: 12px 30px;
}
a.btn-secondary:hover {
    color:#fff; 
}
.mt-40 {
    margin-top: 40px !important;
}
.mt-60 {
    margin-top: 60px !important;
}
.mb-20 {
    margin-bottom: 20px !important;
}
.mb-30 {
    margin-bottom: 30px !important;
}
.btn.btn-rounded, .button.btn-rounded {
    border-radius: 50px;
}
.mr-5 {
    margin-right: 5px !important;
}
.detail-info{
	padding-right: 10px;
}
.tab-style3 ul{
	margin-bottom: 10px;
}
.tab-style3 ul li{
	padding-bottom: 5px;
	position:relative
}
.tab-style3 ul li::after {
    content: "";
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #088178;
}
.section-title2.style-1 {
	position:relative;
	border-bottom: 1px solid #e2e9e1;
    padding-bottom: 10px;
    font-size: 22px;
}
.section-title2.style-1::after {
    content: "";
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #088178;
}

section.author{
	padding: 40px;
	text-align:center
}

.header_view {
    z-index: 2;
    position: relative;
    background: #009de5;
}
.header_view a {
    line-height: 30px;
    text-decoration: none;
}

.header_view .title {
    display: block;
    padding-left: 40px;
    max-width: 100%;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #fff;
}

.header_view .return {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: #fff;
    color: #009de5;
    text-align: center;
}
.header_view .return:before {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    content: "\f060";
}
.pkp_screen_reader, .cmp_skip_to_content a, .pkp_page_index .journals h2, .pkp_page_index .cmp_announcements h2, .page_register .context_optin .roles legend {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    left: -2000px;
}

h1.title-view{
	font-size:22px;
	
}

.galley_view iframe.pdfjs {
    width: 100%;
    /* height: 100%; */
    padding-top: 20px;
    border: none;
}
.article-sidebar .download{
	margin-bottom: 2px;
}
.article-sidebar .download a{
	width:100%;
	padding: 2px 4px;
}
.list-groups{
    margin-bottom: 10px;
}
.details {
    padding: 15px 0 0 0;
    text-align: justify;
    line-height: 24px;
}
.details h1.article-title{

}
.details h2.article-title-sub {
    color: #837e7e;
    font-size: 16px;
    font-style: italic;
}
.details h2.article-title-sub{
	color:#838383;
	font-size: 16px;
}
.abstract h4, .reflink h4{
	font-size: 16px;
}
.abstract-sub{
	border-top:1px #ccc dashed;
	color: #837e7e;
    font-style: italic;
	padding-top: 10px;
}
.divline{
	padding: 5px 0;
	border-bottom: 1px #ccc solid;
	width: 100%;
	margin-bottom: 10px;
}
.list-group-item {
    padding: 5px 10px;
}
.showemail{
	cursor: pointer;
}
.middle{
	vertical-align: middle !important;
}
.summary {
    font-style: italic;
    margin: 0;
    font-size: 14px;
    color: #777;
}

.popup {
    height: 100px;
}
.popuptiny {
    height: 0;
}
.popup, .popuptiny {
    width: 100%;
    position: fixed;
    z-index: 99;
    left: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid silver;
    transition: all 1s;
}
.cursor {
    cursor: pointer;
}
.hideshow {
    position: absolute;
    margin: -28px 0px 0px 5px;
    background: #fff;
    color: #222;
    border: 1px solid silver;
    border-bottom: none;
    right: 80px;
    width: 41px;
    height: 28px;
    border-radius: 5px 5px 0px 0px;
}

.popup table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    vertical-align: middle;
}
#sachnoi td, tr {
    border: none;
}
.tdhide1 {
    width: 11%;
}
.tdhide2 {
    width: 23%;
}
.tdshow1 {
    width: 45%;
}

 

@media (max-width: 1400px) {
    .tdhide3 {width: 23%;}
    .tdshow1 {width: 43%;}
}
@media (max-width: 1170px) {
    .buttonx, .buttony {width: 18%;}
    .danhsach {display: none;}
    .tdhide3 {width: 26%;}
    .tdshow1 {width: 40%;}
    .iconx {width: 49%;}
}
@media (max-width: 991.98px) {
    .tdhide1, .tdhide2 {display: none;}
    .tdhide3 {width: 33%;}
    .tdshow1 {width: 67%;}
    h1.title-detail {
        text-transform: capitalize;
        font-size: 20px;
        line-height: 26px;
    }
}
@media (max-width: 768px) {
    .popup table td, .popup table th {
        padding-left: 10px;
    }
    .tdhide3 {display: none;}
    .tdshow1 {width: 100%;}
}
@media (max-width: 425px) {
    .product-detail>.row>.col-xs-12{
        width:100%
    }
    
}

button.buttony {
    padding: 4px;
    line-height: 1.4; 
}
.pd5 {
    padding: 5px;
}
.buttonx {
    width: 18%;
    height: 32px;
}
.border {
    border: 1px solid #e2e9e1 !important;
}

.popup table td, .popup table th {
    padding: 10px 20px;
    border: 1px solid #e2e9e1;
    vertical-align: middle;
}
.mediaimg {
    height: 127px;
    width: 91px;
    margin: -28px 0px 0px 5px;
}
.mediaimg, .mediaimgtiny {
    position: relative;
    border: 1px solid silver;
    border-bottom: none;
    right: 10px;
    border-radius: 5px 5px 0px 0px;
    transition: all 1s;
}
.product-detail .section-title.style-1 {
    font-size: 22px;
}
.section-title.style-1 {
    position: relative;
    border-bottom: 1px solid #e2e9e1;
    padding-bottom: 10px;
    font-size: 16px;
}

.section-title.style-1::after {
    content: "";
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #088178;
}

.audioactive {
    color: #b00104;
    font-weight: 600;
}
.mucluc {
    cursor: pointer;
    border-bottom: 1px dotted silver;
}

.viewcat{
    background:#fff;
    color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
}
h1.section-title{
    text-align: left;
    font-size: 22px;
    line-height: 26px;
    padding: 0 10px;
}
@media (min-width: 768px) {
    .header_view .download .label2 {
        display: inline-block;
    }
	
	.header_view .download .pkp_screen_reader, .header_view .download .pkp_page_index .cmp_announcements h2 {
        display: none;
    }
	.header_view .download {
        width: auto;
        padding: 0 20px;
    }
}
@media (max-width: 991.98px) {
    .product-cart-wrap, .product-cart-wrap .product-img-action-wrap .product-img a img{
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        border-radius: 5px;
    }
    .product-cart-wrap .product-img-action-wrap .product-img{
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
    }
}   

h3.description{
    font-size:24px;
    font-weight:bold;
    margin-bottom:10px;
}
#slideshow {
    width: 100%;
    height: auto; /* Không ép height, để JS tính */
    background: #f8f9fa;
    overflow: hidden;
}

/* Iframe: Full size theo container, border none */
#slideshow iframe {
    border: none;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Desktop: Full width, padding lớn hơn cho không khí */
@media (min-width: 769px) {
    #slideshow {
        aspect-ratio: 16 / 9; /* CSS native hỗ trợ tỷ lệ (Chrome 88+, Firefox 89+) */
    }
}

/* Mobile: Giảm width để fit touch, padding nhỏ, height theo tỷ lệ */
@media (max-width: 768px) {
    #slideshow {
        /* padding: 10px; */
        width: 100%; /* Không full 100% để tránh edge touch khó */
        margin: 0 auto; /* Center div */
        aspect-ratio: 16 / 9; /* Giữ tỷ lệ */
    }
    
    #slideshow iframe {
        border-radius: 8px; /* Bo góc cho đẹp trên mobile */
    }
	.m-container{
		padding: 0;
	}
	.m-mb2{
		margin-bottom: 2rem
	}
	.m-mb3{
		margin-bottom: 3rem
	}
	.m-mb4{
		margin-bottom: 4rem
	}
}
#otherslide .news-group-right{
	padding: 5px 0;
}
#otherslide .news-group-right:first-child{
	padding-top: 0;
}
 

#otherslide {
    padding: 0 10px 0 0;
    overflow-y: auto;
    /* Cuộn dọc */
    scroll-behavior: smooth;
    /* Scroll mượt mà */
    /* height: 500px; */
    /* Chiều cao cố định để kích hoạt scroll */

}

#otherslide:-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

#otherslide::-webkit-scrollbar {
    width: 5px;
    background-color: #fff;
}

#otherslide::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    background-color: #16AD5B
}
 
#otherslide::-webkit-scrollbar-thumb:hover {
    background: #fff;
    /* Màu khi hover (xám đậm hơn) */
}

#otherslide::-webkit-scrollbar-button {
    display: none;
    /* Ẩn hoàn toàn */
    /* Hoặc nếu muốn giữ nhưng khớp màu nền (không nổi bật): */
    background: transparent;
    /* border: none; */
    /* height: 0; width: 0; */
    /* Làm kích thước = 0 */
}

.bg-white {
    padding: 20px 15px;
}
#slidebox{
	position:relative;
}
.button-download {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 130px;
    background: #e5e7e8;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}