/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/*************** CSS FOR BAIVIETLIENQUAN.   ***************/
.related-box .related-head {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
    color: black;
}
.related-box ul li {
    margin-bottom: 3px;
}
.related-box ul li a {
    font-weight: 700;
    font-size: 16px;
    /*color: #2a9e2f;*/
}
.related-box ul li a:hover {
    text-decoration: underline;
}
.feature {
    position: relative;
    overflow: hidden;
}
.feature::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}
.feature .image{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background-size: cover;
    background-position: center;
	border-radius: 6px;
}
ul.row.related-post li {
    list-style: none;
}
.related-title {
    line-height: 1.3 !important;
    margin-top: 10px !important;
	color: #000;
}
.related-title a{
	color: #000;
	font-weight: 600;
}
/*************** END CSS FOR BAIVIETLIENQUAN. ***************/

.bg-contain .section-bg :is(img, picture, video) {
  object-fit: contain;
}
.ieit-footer1 .section-title-normal {
	border-bottom:2px solid #333!important;
}

.ps-divider .section-title-center span:after {
content: "";
display: table;
clear: both;
background: url(https://demo.webmau.com.vn/ieit/wp-content/uploads/2025/07/ps-divider.svg);
width: 100%;
min-width:200px;
height: 25px;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
padding-top: 0;
margin-bottom:10px;
}
.ps-divider .section-title b{height:0!important;}
.ps-divider.div-light .section-title-center span:after {
background: url(https://demo.webmau.com.vn/ieit/wp-content/uploads/2025/07/ps-divider-light.svg);
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
}
.ps-divider.div-dark .section-title-center span:after {
background: url(https://demo.webmau.com.vn/ieit/wp-content/uploads/2025/07/ps-divider-dark.svg);
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
}
.ps-divider .section-title-center {margin-bottom:0;}
.archive.category h1.page-title {font-size:0%;}
.archive.category h1.page-title span {font-size:24px;}
.pd-bottom-0 {padding-bottom:0!important;}
.mg-bottom-0 {margin-bottom:0!important;}
.pd-bottom-0 .col {padding-bottom:0!important;}
.bg-repeat .section-bg {
  background-repeat: repeat !important;
  background-size: initial !important;
}
.star-rating span::before {color:#f99b1c!important;}
.square-thumb {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Chiều cao bằng 3/4 chiều rộng */
    overflow: hidden;
}
.square-thumb img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.blog-chuongtrinh-slider.slider .flickity-slider > .slide {
    width: 25% !important;
    min-width: 250px; /* tùy chỉnh, hoặc xóa nếu muốn co nhỏ hơn */
    max-width: 100%;
}
.blog-chuongtrinh-slider .post-title ,
.row-chuong-trinh .post-title {
	height: 70px;
    overflow: hidden;
}
/* Cho phép các nút tràn ra ngoài nếu cần */
.section-content,
.row-column-slider {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

/* Hiển thị nút rõ ràng và đúng vị trí */
.row-column-slider .flickity-prev-next-button {
    z-index: 9999;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    color: #333;
}

/* Vị trí nút trái & phải */
.row-column-slider .flickity-prev-next-button.previous {
    left: -30px; /* tăng nếu vẫn bị cắt */
}

.row-column-slider .flickity-prev-next-button.next {
    right: -30px;
}
.featured-title {
  text-shadow: none;
}
.animation-fx1 {
	animation: fx1 1s ease 0s infinite normal forwards;
}
@keyframes fx1 {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}
.tabbed-content ul.nav-pills li.tab {
	border: 1px solid #999;
  	border-radius: 99px;
  	margin: 10px;
}
.tabbed-content ul.nav-pills li.tab.active {
	border: 1px solid #FFB606;
}
#program-form-popup .mfp-close {color: #333!important;}
@media (min-width: 1200px) {
.row-five-columns .large-2 {
    flex-basis: 20%;
    max-width: 20%;
  }
}
@media (max-width: 900px) {
    .blog-chuongtrinh-slider.slider .flickity-slider > .slide {
        width: 50% !important;
        min-width: 200px;
    }
}
@media (max-width: 600px) {
    .blog-chuongtrinh-slider.slider .flickity-slider > .slide {
        width: 100% !important;
        min-width: 0;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

}