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

@font-face {
	font-family: 'Google Sans';
	src: url('/wp-content/fonts/google-sans/GoogleSans-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Google Sans';
	src: url('/wp-content/fonts/google-sans/GoogleSans-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Google Sans';
	src: url('/wp-content/fonts/google-sans/GoogleSans-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

body,
button,
input,
select,
textarea,
.nav > li > a,
.ux-menu-link__link,
.button,
.uppercase,
.widget-title,
.account-link,
.breadcrumbs {
	font-family: 'Google Sans', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.alt-font {
	font-family: 'Google Sans', Arial, sans-serif;
}

.no-bottom {
	padding-bottom: 0 !important;
}
.main-btn {
	padding: 5px 30px;
	margin-bottom: 0;
}
.main-btn:hover {
	background: var(--fs-color-secondary);
}

.text-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    font-weight: 800;
}

.text-link svg, .button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.main-tt h2, .main-tt-h1, .page-template-default h1.entry-title,.main-tt h1 {
	font-size: clamp(1.4rem, 4vw, 2rem) !important;
	text-transform: capitalize !important;
	margin-bottom: 8px !important;
}

.main-tt .label {
	color: var(--fs-color-secondary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
	margin-bottom: 0;
}


.h-sec1 {
	background: url(/wp-content/uploads/2026/04/home-row1-bg.png) bottom right no-repeat;
    background-size: 35% auto;
}
.h-sec1 .img {
	border-radius: 12px;
	overflow: hidden;
}

.h-sec2 .grid-it > .col > .col-inner {
	border-radius: 12px;
	padding: 24px;
    box-shadow: 0 0 40px 0 rgba(19, 74, 155, 0.10);
}

.h-sec2 .grid-it .icon-box img {
	padding: 0;
}
.h-sec2 .grid-it .icon-box .icon-box-img {
	padding: 15px;
	background: #e2ffff;
	border-radius: 8px;
}
.h-sec3 .box  {
	overflow: hidden;
}
.h-sec3 .box .overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 80%) !important;
    opacity: 1 !important;
	transition: .3s all;
}
.h-sec3 .box:hover .overlay {
	background: rgba(2, 50, 112, 0.8) !important;
}
.h-sec3 .box h4 {
	text-transform: uppercase;
}
.h-sec3 .box .box-text {
	bottom: -38px;
	transition: .3s all;
}
.h-sec3 .box:hover .box-text{
	bottom: 0;
}

@media(max-width:849px) {
	.h-sec3 .box .box-text{
	bottom: 0 !important;
}
	.h-sec3 .box .overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 80%) !important;
}
	.h-sec3 .box:hover .overlay {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 80%) !important;
}

}

.h-sec4 .slider {
	padding: 0 !important;
}

.h-sec4 .banner {
	border-radius: 12px;
	overflow: hidden;
}

.h-sec4 .is-selected.banner .banner-inner{
    border-radius: 12px;
	overflow: hidden;
}
.h-sec4 .video-button-wrapper {
	display: flex;
    justify-content: center;
}
.h-sec4 .open-video {
	margin: 0 !important;
	border-radius: 25% !important;
    width: 100px !important;
    height: 75px !important;
	    display: flex !important;
    justify-content: center; 
	align-items:center;
	background: var(--fs-color-secondary);
	border-color: var(--fs-color-secondary);
}
.h-sec5 .tabbed-content {
	justify-content:center;
}
.h-sec5 .tabbed-content .nav {
	width: fit-content !important;
	border-radius: 8px;
    background: #E1EDFF;
}
.h-sec5 .tabbed-content .nav a {
	padding: 8px 24px;
	font-size: 16px;
	font-weight: 700;
	color: var(--primary-color);
}
.h-sec5 .tabbed-content .nav .active a{
	background: var(--primary-color); 
	color: #fff;
	border-radius: 12px;
}

.h-sec5 .tab-panels {
	padding-top: 30px;
}
.h-sec6 .row-slide .flickity-slider > .col {
	padding-bottom: 0;
}
.h-sec6 .row-slide .flickity-slider > .col > .col-inner {
	text-align: center;
    vertical-align: middle;
    padding: 25px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 0 15px 0 rgba(19, 74, 155, 0.08);
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}
.h-sec6 .row-slide .flickity-slider > .col > .col-inner:hover {
	border: 1px solid var(--fs-color-secondary);
}
.h-sec6 .row-slide .flickity-slider .img .img-inner {
	overflow: visible;
}
.h-sec6 .row-slide .flickity-slider img {
	transition: .3s all;
}
.h-sec6 .row-slide .flickity-slider > .col > .col-inner:hover img {
    transform: scale(1.1);
}
.h-sec6 .row-slide .flickity-page-dots {
	bottom: -30px !important;
}
.h-sec6 .row-slide .flickity-page-dots .dot {
	width: 8px;
	height: 8px;
	border-radius: 40px;
	border-color: #888;
	background-color: #888;
}
.h-sec6 .row-slide .flickity-page-dots .dot.is-selected {
	border-color: var(--primary-color);
	width: 20px;
	background: var(--primary-color);
}
.h-sec7 .accordion-title {
	background: #FFF;
    box-shadow: 0 0 20px 0 rgba(19, 74, 155, 0.10);
    border: 1px solid transparent; 
	border-radius: 8px;
	padding-left: 12px !important;
}
.h-sec7 .accordion {
	display: flex; 
	flex-direction: column;
	gap: 15px;
}
.h-sec7 .accordion .toggle {
	right: 0;
	left: unset;
	margin:0;
}
.h-sec7 .accordion .accordion-title.active {
	box-shadow: none;
	border: none !important;
	background: none;
}
.h-sec7 .accordion .accordion-inner {
	padding: 15px 15px 0;
}
.h-sec7 .accordion .accordion-item {
	background: #FFF;
    box-shadow: 0 0 20px 0 rgba(19, 74, 155, 0.10);
	border-radius: 8px;
}


/* contact form */
.dc-form input[type=text],.dc-form input[type=tel],.dc-form select,.dc-form textarea{
	border-radius: 8px;
}
.dc-form .wpcf7-submit {
	background: var(--fs-color-secondary);
	width: 100%;
	margin: 0;
	padding: 5px 0;
	border-radius: 8px;
}
.wpcf7-spinner {
	display: none !important;
}
.wpcf7-response-output {
	margin: 10px 0 0 !important;
}
.wpcf7-form {
	margin: 0;
}

/* blog */
.box-blog-post {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 0 10px 0 rgba(19, 74, 155, 0.10);
}
.box-blog-post .post-title {
	margin: 8px 0;
}
.box-blog-post .box-text {
	text-align:left;
	padding: 16px;
}
.box-blog-post .post-title a, .box-blog-post .from_the_blog_excerpt {
	display: -webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
	overflow: hidden;
}
.box-blog-post .post-meta {
	font-size: 13px;
	color:var(--primary-color);
}
.box-blog-post .text-link {
    margin: 10px 0 0 !important;
}
.box-blog-post .post-category-badge {
	position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    color: #fff;
    background: var(--fs-color-secondary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
}




@media only screen and (max-width: 849px) {

}

@media only screen and (max-width: 549px) {
	.h-sec4 .open-video {
		width: 75px !important;
		height: 50px !important;
	}
	.h-sec5 .tabbed-content .nav {
		text-wrap: nowrap;
		flex-wrap: nowrap;
		justify-content:left;
		    width: 100% !important;
    overflow-x: scroll;
	}
}


/* doctor */
.doctor-single-page {
	padding: 60px 0 30px;
	background-image: url(/wp-content/uploads/2026/05/chuyengia-top-bg.png);
	background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.doctor-image img{
    width: 80%;
    object-fit: cover;
}

.doctor-info-box{
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	position: relative;
}

.doctor-position{
	color: #fff;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    top: -20px;
    background: var(--fs-color-secondary);
    padding: 5px 25px;
    border-radius: 8px;
    left: 50%;
    transform: translatex(-50%);
}

.doctor-title{
    font-size: clamp(1.4rem,4vw,2rem);
    line-height: 1.3;
    margin-bottom: 10px;
    color: #1f3f8f;
}

.doctor-main-info ul{
    margin: 0 !important;
    list-style: none;
	display: flex; 
	flex-direction: column;
	gap: .6rem;
}

.doctor-main-info li{
    margin:0 !important;
}

.doctor-content{
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.doctor-content-heading h2 {
	color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    position: absolute;
    top: -20px;
    background: var(--fs-color-secondary);
    padding: 5px 25px;
    border-radius: 8px;
    left: 50%;
    transform: translatex(-50%);
	width: fit-content;
}
@media(max-width:849px) {
	.doctor-single-page .right {
		margin-top: 30px;
	}
}