/*
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.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}



/*************** BEGIN: POPUP   ***************/

/* ==========================================
   POPUP BOOKING FORM
   ========================================== */

/* Overlay */
#popup-overlay-booking-form {
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
}

/* Popup */
#popup-booking-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 600px;
    max-width: 90%;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

/* Nút đóng */
#popup-booking-form .close-popup {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 20px;
    cursor: pointer;
	padding: 0px;
}

/* Nội dung */
#popup-booking-form .popup-content {
    padding: 30px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    #popup-booking-form {
        width: 100%;
        max-height: 80vh;
        overflow-y: visible;
    }
	.popup-content {
		padding:15px !important;
	}
	#popup-booking-form .close-popup {
		top: 0;
		color: #777;
}
}

/*************** END: POPUP   ***************/

/*Begin: custom booking form*/
.wpcf7 input, .wpcf7 select {
    border-radius: 50px;
    margin-bottom: 15px;
	color: #777;
}
.wpcf7 textarea{
    border-radius: 20px;
    margin-bottom: 15px;
	color: #777;
}

.wpcf7 .wpcf7-submit {
    background-color: #0ea24b;
    color: white;
    border-radius: 999px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
input[type=submit]{
    width: 100%;
    border-radius: 20px;
}

form {
	margin: 0px;
}

@media only screen and (min-width: 768px) {
    .flex-form {
        display:flex;
        gap: 15px;
    }
    .flex-form-detail{
        flex: 1;
    }
}


/*************** IMAGE   ***************/

.img-rad-10-4 .img-inner, .img-rad-10-4 .col-inner{
	border-radius:10px;
	overflow: hidden;
}
.img-rad-20-4 .img-inner{
	border-radius:20px;
}
.img-frame{
	border-radius: 200px 200px 20px 200px;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 5px solid white;
    position: relative;
    z-index: 2;
}
.wp-element-caption {
    text-align: center;
    font-style: italic;
}

/*************** UX Swiper   ***************/

.swiper-button-next:after,.swiper-button-prev:after {
    font-size: 16px !important;
    font-weight:bold;
    color: #024e27;
}
.swiper-button-next,.swiper-button-prev {
    width: 40px!important;
    height: 40px !important;
    background-color: #ffffffb8;
    border-radius:49px;
    border: 1px solid #25a55e !important;
}
.swiper-pagination {
    bottom: -5px !important;
}
.swiper-button-prev {
	left: 0px;
}
.swiper-button-next {
	right: 0px;
}
.swiper-pagination-bullet-active {
	width: 25px;
	border-radius: 10px;
	background: #25a55e !important;
}
@media only screen and (max-width: 48em) {
	.swiper-button-next,.swiper-button-prev {
	    width: 30px!important;
	    height: 30px !important;
	}
}

/*************** Color   ***************/
.green-radient .col-inner{
	background: linear-gradient(to top, #024E27 20%, #2BD17B 100%);
}


/* Hover zoom Stack */
.col-hover-zoom .col-inner:hover .stack {
    transform: scale(1.15);   
    transition: transform 0.3s ease;
}

.col-hover-zoom .stack {
    transition: transform 0.3s ease;
    transform: scale(1);
}



.custom-icon-box-center.featured-box {
    display: flex;
    justify-content: center;   /* gom cả cụm vào giữa */
    align-items: center;
    text-align: left;         /* text không bị dàn giữa từng dòng */
}

.custom-icon-box-center .icon-box-img {
    margin-right: 20px !important;        /* khoảng cách icon – text (sát nhau) */
}
/* Báo chí */
.img-top-position img{
    object-position: 100% 0% !important;
}
.img-top-position .image-cover, .img-top-position .col-inner, .img-top-position .box-text, .img-top-position .box{
    border-radius: 20px;
}
.img-top-position .post-title,.img-top-position .is-divider{
    display: none;
}
.img-top-position .button {
	border-radius: 20px;
	text-transform: none;
}
.title-text-1 h2 {
    padding-right: 40px;
}
.title-text-2 p{
    padding-left: 40px;
    border-left: 2px solid #25a55e;
}
@media (max-width: 550px){
    .title-text-1 h2 {
    padding-right: 20px;
}
.title-text-2 p{
    padding-left: 20px;
}
}

/* Review KH */

.review-banner .overlay{
	background: linear-gradient(to top, rgba(2, 78, 39, 1), transparent 60%);
	z-index: 2;
	background-color: none !important;
}
.text-review p{
    background-color: #ffffffa3;
    padding: 5px 20px !important;
    line-height:20px;
    border-radius: 99px;
    border: 2px solid #25a55e;
}
.customer-img{
	z-index: 1;
}

/* End: Review KH */

/* Home: Service */
.col-rad-lr-30 .col-inner{
	border-radius: 0px 30px;
	border: 1px solid #ededed;
    overflow: hidden;
}


.yellow-gradient {
    background: linear-gradient(to top, #FFCC32 20%, #F6E46D 100%);
	color: #333;
}
.green-yellow-gradient .section-bg-overlay{
	background: radial-gradient(circle, #f3e5ab, transparent 80%);
    left: 70%;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}


/* Trang hệ thống */
.col-menu-ht .ux-menu-title{
    color: #fff;
    font-size:16px;
}
.col-menu-ht .ux-menu-link__text{
    color:white;
	padding-left: 25px;
}
.col-menu-ht .ux-menu-link{
    padding-left:10px;
}
.menu-bv .ux-menu-link a:before {
    content: "\f0f8";
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    position: absolute;
    color: #ffcc32;
    left: 25px;
}
.menu-orthok .ux-menu-link a:before {
    content: "\f06e";
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    position: absolute;
    color: #ffcc32;
    left: 25px;
}

.col-inner.box-shadow-2:has(h3:target) { /* hiệu ứng click*/
    animation: highlightFade 2s ease;
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.7);
    border: 2px solid #ffcc00;
    border-radius: 10px;
}

@keyframes highlightFade {
    from {
        background-color: rgba(255, 235, 0, 0.4);
    }
    to {
        background-color: transparent;
    }
}
#msgbh,
#msgdt {
    scroll-margin-top: 100px;
}
html {
    scroll-behavior: smooth;
}



.video-button-index .video-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.video-button-index .video-button-wrapper a {
	border: 2px solid white;
}
 .video-button-index .video-button-wrapper i {
	 color:white;
 }

/* End: Trang hệ thống */


/* Trang Giới thiệu */

.section-green-gradient .section-bg-overlay{
background: linear-gradient(to top, rgb(2 78 39 / 90%) 20%, rgb(43 209 123 / 94%) 100%);
}
.history-tab .nav li {
    padding:10px 20px;
	border-left: 2px solid #989992;
}
.history-tab .nav li:before {
    content: "\f111";
    font-family: "Font Awesome 5 Free"; 
    font-weight:900;
    font-size:10px;
    position: absolute;
    color: #989992;
    left: 0;
    margin-left: -6px;
}
.history-tab .nav li.active:before {
    font-size:15px;
    color: #25a55e;
	margin-left: -8px;
}

/* ----- TAB NAV MOBILE + TABLET: Hiển thị ngang + scroll ----- */
@media (max-width: 1024px) {
    .history-tab .nav {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
		overflow-y: hidden;
        white-space: nowrap;
        gap: 15px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .history-tab .nav::-webkit-scrollbar {
        display: none;
    }
	 .history-tab{
		 gap:30px;
	 }
    .history-tab ul {
		border-bottom:2px solid #989992;
	}
    /* Mỗi li chiếm 50% màn hình → Hiển thị 2 tab */
    .history-tab .nav li {
        flex: 0 0 50%;
        display: flex;
        align-items: center;
        justify-content: center;
		border:none;
    }
	.history-tab .nav li:before {
		bottom: -25px;         /* Đặt dấu chấm dưới chữ */
		left: 50%;             /* Canh giữa */
		font-size: 15px;
	}
	.history-tab .nav li.active:before {
		font-size:20px;
	}

    /* Link style */
    .history-tab .nav li a {
        display: block;
        width: 100%;          /* Để fill hết ô */
        padding: 12px 16px;
        border-radius: 10px;
        background: #f3f3f3;
        font-weight: 600;
        text-align: center;
    }
	.history-tab .tab-panels {
		padding:20px !important;
	}

    /* Tab active */
    .history-tab .nav li.active a {
        background: #25a55e;
        color: white;
    }
}

@media (min-width: 850px) {
    .tabbed-content .nav-vertical {
        width: 15%;
    }
}
@media (min-width: 850px) {
    .nav-vertical+.tab-panels {
        border-left: none;
    }
}
.history-tab .tab-panels{
	backdrop-filter: blur(20px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 40px;
	padding: 60px;
	grid-template-columns: 1fr 350px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.history-tab .box-image {
	    width: 100%;
	    border-radius: 50% 50% 20px 20px;
	    border: 5px solid #ffffff33;
	        box-shadow: -1px 4px 14px 3px rgba(0, 0, 0, .12), 0 1px 5px rgba(0, 0, 0, .24);
}
.history-tab .nav a {
    font-size: 20px;
	    color: 989992;
}
.history-tab .nav .active a {
    font-size: 25px;
	color:#25a55e;
}
.tabbed-content.history-tab {
    display: flex;
}

.tabbed-content.history-tab > ul {
    display: flex;
    flex-direction: column;
    height: auto; /* mặc định */
}

.tabbed-content.history-tab .tab-panels {
    flex: 1;
}



.map-ht .col-inner{
	max-height:600px;
	overflow-y:scroll;
}


.tab-wcs .accordion-title{
    border-radius: 10px;
    padding: 15px 40px;
    box-shadow: -6px 8px 0px -20px rgba(0, 0, 0, 0.16), 0 3px 12px rgb(0 0 0 / 5%);   
}
.tab-wcs .accordion-item {
    margin: 20px 0px; 
}
.tab-wcs a.plain {
    font-weight:700;
    font-size:100%;
}
.tab-wcs .accordion-title.active {
    background-color: #024e27;
	color: #ffcc32;
	border-radius: 10px 10px 0px 0px;
}
.tab-wcs .accordion-inner {
	background-color: white;
	border: 1px solid #ffcc32;
	border-radius: 0px 0px 10px 10px;
}


/* ----- FOOOTER*/

.accordion-footer .accordion-inner{
	padding:0px 10px 0px 30px;
}
.accordion-footer .accordion-title span{
	font-weight: 700 !important;
	font-size: 16px !important;
	color: white;
}
.accordion-footer .active {
	background-color: transparent;
}

.accordion-footer .plain {
	color: white;
}

.img-ht {
	padding:3px;
	border: 1px solid white;
	border-radius: 200px 200px 0px 0px;
}
.img-ht img {
	border-radius: 200px 200px 0px 0px;
}

.tab-hospital-detail .nav .active a {
	background-color:#25a55e;
	border: 3px solid #f6e46d;
}
.tab-hospital-detail .nav a {
	
	padding: 5px 20px;
	border: 3px solid #25a55e;
}
.tab-hospital-detail ul {
	margin-bottom:30px;
	gap: 20px;
}
.tab-hospital-detail > .nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tab-hospital-detail > .nav::-webkit-scrollbar {
    display: none;
}


@media (max-width: 768px) {
    .tab-hospital-detail > .nav {
        justify-content: flex-start;
    }
}


/* Begin: Custom single post*/
.banner-top-blog{
	width: 100%;
    aspect-ratio: 1200 / 248;
	background-image: url('/wp-content/uploads/2026/10/he-thong-bv.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.entry-header-text {
    padding: 0px !important;
}


.single-post .entry-header,
.single-post .entry-title,
.single-post .entry-meta {
	text-align: left !important;
}
.single-post .modified-on {
	display: block;
	font-size: 14px;
	text-align: left;
	text-transform: none;
}
.single-post .entry-header .is-divider {
	display: none;
}
@media only screen and (min-width: 768px) {
	.article-inner {
		padding: 2em;
		background: #FFF;
		border-radius: 0.5em;
		}
		.blog-wrapper {
		background: #f2f2f2;
	}
	.single-post .entry-header {
		padding: 0em 1.5em;
	}
}	
	
	
@media only screen and (max-width: 768px) {
	.box-shadow-1 {
    box-shadow: none;
	-webkit-box-shadow: none;

	}
	.article-inner.has-shadow .entry-header-text, .article-inner.has-shadow .entry-content{
		padding: 0px; */
	}	
	.single-post .entry-header {
		padding-bottom: 15px;
	}
}





/* Begin: tab */
.btn-text::after, .tabs-button-effect .nav .active span::after, .button-effect::after{
    content:"";
    position:absolute;
    top:0;
    left:-75%;
    width:50%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.7),
        transparent
    );
    transform:skewX(-25deg);
    animation:shine 3s infinite;
}
.tabs-button-effect a, .button-effect {
	overflow:hidden;
}

@keyframes shine{
    0%{
        left:-75%;
    }
    100%{
        left:125%;
    }
}
.tabbed-content .nav-outline > li:first-child a{
    border-top-left-radius: 49px;
	border-bottom-left-radius: 49px;
}
.tabbed-content .nav-outline > li:last-child a {
    border-top-right-radius: 49px;
	border-bottom-right-radius: 49px;
}
.tabbed-content .nav-outline>li.active>a {
	background-color: #f6e46d !important;
}
.tabbed-content .nav-outline > li > a {
	color: #024e27;
	border: 1px solid #f6e46d;
	background-color: white;
	padding: 5px 30px;
	border-radius: 0px;
}

@media only screen and (max-width: 48em) {
.tabbed-content .nav-outline > li > a {
	padding: 5px 15px;
}
.tabbed-content .nav-outline {
	position: sticky;
	top: 70px;
	z-index: 999;
	display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: center !important;
    -webkit-overflow-scrolling: touch;
}
.tabbed-content .nav-outline::-webkit-scrollbar,
    .nav.nav-outline::-webkit-scrollbar {
        display: none;
    }

.tabbed-content .nav-outline .tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* End: tab */


/* Begin: Feedback hompage */
.col-img-feedback .img-inner{
	overflow: visible;
}
.col-img-feedback img{
    transform: scale(1.2);
    transform-origin:center bottom;
}
.carousel-feedback {
	padding-top: 100px;
}
.video-button-feedback .video-button-wrapper .is-outline {
    color: transparent !important;
    background-color: transparent;
	margin-bottom: 0px;
}
.video-button-feedback .video-button-wrapper .is-outline:hover {
    border-color: transparent;
}

.video-button-feedback .video-button-wrapper a::after{
    content: "Xem video";
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    padding-left: 5px;
    font-weight: normal;
    font-style: italic;
	text-transform: none;
}

.video-button-feedback .video-button-wrapper .icon-play:before {
    content: "\f167" !important;
    font-family: "Font Awesome 6 Brands" !important;
    font-size: 25px !important;
    color: white;
}
.video-button-feedback .video-button-wrapper{
	text-align: left;
}

/* Hệ thống  */
.box-label .box-text  {
    width: 90% !important;
    border-radius: 10px;
    border: 2px solid #f6e46d;
}
.box-label .box-text.text-center {
    left:10% !important;
    margin: 0 !important;
    transform: none !important;
}
.box-label .box-text {
    opacity: 1 !important;
    padding: 30px 20px !important;
}

.img-clip-path .box-image {
	border-radius: 10px;
}
.box-hover .box:hover .box-text, .box-hover .box:hover .icon-logo-bv{
    background:#25a55e;
	border-color: #fff;
}
.box-hover .box:hover p, .box-hover .box:hover span, .box-hover .box:hover i, .box-hover .box:hover hr, .box-hover .box:hover h4, .box-hover:hover h3{
    color:#fff !important;
}

.btn-text::after, .tabs-button-effect .nav .active span::after, .button-effect::after{
    content:"";
    position:absolute;
    top:0;
    left:-75%;
    width:50%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.7),
        transparent
    );
    transform:skewX(-25deg);
    animation:shine 3s infinite;
}
.tabs-button-effect a, .button-effect {
	overflow:hidden;
}

@keyframes shine{
    0%{
        left:-75%;
    }
    100%{
        left:125%;
    }
}

/* End: Hệ thống  */

.box-rad-text-10 .icon-box-text {
	border: 1px solid #25a55e;
    border-radius: 10px;
}
.success {
    background: linear-gradient(to top, #FFCC32 20%, #F6E46D 100%);
    color: #024e27;
}


/* Begin: Img Button Youtube  Hompage*/
.img-box-yt .box-text {
	 bottom: 50%;
	 margin: 0px !important;
}
 .img-box-yt .box-text .button {
	 margin-top: 0px !important;
	 z-index: 2;
}

.img-box-yt .video-button-wrapper::before{
    content:"";
	width: 50px;
	height: 50px;
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgb(181 182 183 / 40%);
    animation:pulse 2s infinite;
}

.img-box-yt .video-button-wrapper::after{
    content:"";
	width: 50px;
	height: 50px;
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgb(181 182 183 / 40%);
    animation:pulse 2s infinite .8s;
}

@keyframes pulse{
    0%{
        transform:scale(1);
        opacity:.8;
    }
    100%{
        transform:scale(1.8);
        opacity:0;
    }
}
/* End: Img Button Youtube  Hompage*/




/* Begin: Main Menu*/

.mega-menu-link[href*="/chuong-trinh-uu-dai/"]::after{
    content: "";
	position: absolute !important;
	bottom: 0;
    width: 40px;
    height: 40px;
	background-image: url('/wp-content/uploads/2026/10/icon-promotion.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	font-size: 26px !important;
    margin-left: 6px;
    display: inline-flex !important;
	animation: fireWiggle 1.2s ease-in-out infinite;
}
@keyframes fireWiggle{

    0%,100%{
        transform: rotate(-8deg) scale(1);
    }
    25%{
        transform: rotate(6deg) scale(1.08);
    }
    50%{
        transform: rotate(-4deg) scale(0.96);
    }
    75%{
        transform: rotate(5deg) scale(1.05);
    }

}
.nav-vertical>li.html {
	padding: 10px !important;
	gap: 1px;
	max-height: 170px !important;
	overflow: scroll;
}
.nav-vertical>li.html .img-inner {
    border:2px solid #25a55e;
}
/* End: Main Menu*/

/*caption image*/
.wp-element-caption{
    /* text-align:center; */
    /* font-style:italic; */
}

/*page table*/
.page-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 10px 0;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-table th,
.page-table td {
	padding: 16px;
	text-align: left;
	vertical-align: center;
	border: 1px solid #ddd;
	line-height: 1.6;
}

.page-table tr:first-child td {
  background: linear-gradient(90deg, #105329, #167c3e);
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.page-table tr:nth-child(even):not(:first-child) {
  background-color: #e3ece699;
}
@media only screen and (max-width: 48em) {
	.page-table th, .page-table td  {
	    font-size: 90%;
		padding: 10px;
	}
}

/*top img box*/
.img-top-position img{
    object-position: 100% 0% !important;
}
.img-top-position .image-cover, .img-top-position .col-inner, .img-top-position .box-text, .img-top-position .box{
    border-radius: 20px;
}
.img-top-position .post-title,.img-top-position .is-divider{
    display: none;
}
.img-top-position .button {
	border-radius: 20px;
	text-transform: none;
}
.img-rad-10-4 .img-inner{
	border-radius:10px;
}
.img-rad-shadow {
	border-radius:10px;
	overflow: hidden;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}



.box-highlight{
    background-color: #eef7ed;
    border-left: 3px solid #229049;
    padding: 10px 10px;
    border-radius: 10px;
    font-style: italic;
}
.icon-box-text h1,h2,h3,h4,h5,h6 {
    margin-top: .5em;
}



ul {
    padding-left: 10px;
}




/* Blog dạng listing */
.blog-post-list .post-item .box-blog-post{
    display: flex;
     align-items: center;
    gap: 20px;
	padding: 0px 15px;
}

.blog-post-list .box-image{
    flex: 0 0 25%;
}

.blog-post-list .post-item .col-inner, .blog-post-rad .post-item .col-inner {
	border-radius: 10px;
    overflow: hidden;
}

.blog-post-list .box-image .image-cover{
    padding-top: 70% !important;
}

.blog-post-list .is-divider{
    display: none;
}


/* accordion Post */

.wp-block-accordion {
    border-top: 1px solid #25a55e40;
    border-bottom: 1px solid #25a55e40;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 0px 20px;
}



.hight-light-box-blog {
	background-color:#13894217;
	padding:10px 20px 10px 20px;
	border: solid 1px #148741;
	border-radius:10px
	}	
/* accordion Post */
		
		
.box-shadow-green > .col-inner {
    box-shadow: 0 0 40px 0 #25a55e2b;
}
.rank-math-breadcrumb {
	font-size: 14px;
}

/* ICON TICK */

.icon-tick-green p{
    position:relative;
    padding-left:28px; /* tạo cột text */
}

.icon-tick-green p:before{
    content:"\f058";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    position:absolute;
    left:0;
    color:#25a55e;
    font-size:18px;
}
.icon-tick-green {
	padding: 5px 0px 5px 15px;
}

#top-bar .nav>li>a {
    font-size: 0.8em;
}

@media only screen and (min-width: 768px) {
    .single-post .entry-header {
        padding: 0em !important;
    }
}