/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 1.0.8
*/
/***** CSS Landing page da sạch tàn nhang ****/
.cta-dt--sec2 {
	position: absolute;
    top: 420px;
	left: 85px;
}
.trinam-accordion .accordion-item > a {
    border: none;
    background: #4b008c;
    color: #fff;
    border-radius: 50px;
    margin-top: 32px;
    z-index: 2;
}
.accordion.trinam-accordion .accordion-inner {
    background: #fff;
    border-radius: 0 0 22px 22px;
    position: relative;
    top: -22px;
    width: 919px;
    margin: 0 auto;
    z-index: 1;
    padding-top: 44px;
}
.quest-icon {
    color: #4b008c;
}
.row-btn--sec1 {
    position: absolute;
    bottom: 54px;
    left: 85px;
}
.row-btn--sec1 img {
	width: 25%;
}
@media screen and (max-width:549px) {
	.section-content .cta-dt--sec2 {
	position: relative;
    top: 0px;
	left: 0px;
}
	.col-inner .row-btn--sec1 {
    position: absolute;
    bottom: -30px;
    left: 91px;
}
	.col-inner .row-btn--sec1 img {
	width: 56%;
}
	.bg-form-ngang .ml-half {
		margin-left: 0;
	}
	.bg-form-ngang .flex-col {
		padding-right: 0;
	}
	.lp-title-form {
    font-size: 20px;
}
	.bg-form-ngang {
    height: auto;
	position: relative;
	padding: 20px 34px;
	bottom: 0px;
	}
	.dt_row-tn {
    position: absolute;
    top: 43%;
    left: 0;
}
	.dt_box-text .box-text-inner {
    font-size: 16px;
    width: 59%;
}
	.dt_box-text .box-text {
    top: 13px;
}
	.trinam_kh-box-text .box-text {
    top: 59%;
}
	.trinam_kh-box-text .box-text-inner {
    width: 78%;
}
	.accordion.trinam-accordion .accordion-inner {
    width: auto;
    padding-top: 48px;
	top: -29px;	
}
	.lp-dv-form input[type=text], .lp-dv-form input[type=tel] {
    width: auto;
}
	.col-inner .lydo-row {
		height: 789px;
	}
	.bg-form-ngang {
		max-width: 365px !important
	}
	.note_text-mob {
    position: absolute;
    top: 58%;
	}
	.lydo-text-box .box-text-inner {
    line-height: 1.3;
}
	.lydo-text-box {
    height: 297px;
}
}
/*** Hiá»‡u á»©ng nÃºt cta ***/
.pulse-self {
  animation: pulseSelf 1.2s infinite;
  transform-origin: center;
}

@keyframes pulseSelf {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
/***********************************************/
/***** Khuyến mãi giáng sinh ******/
.popup-form-gsinh {
	position: absolute;
    top: 23%;
    width: 80%;
    left: 10%;
}
.popup-form-gsinh input[type=submit] {
    color: #950d2e !important;
    border-radius: 99px;
    background: linear-gradient(130deg, #d8b36a 0%, #ffffd9 50%, #e6c97a 100%);
}
/*************** ADD CUSTOM CSS HERE.   ***************/
        /* --- PHẦN CSS BẠN CẦN COPY --- */
		.lpcollagen-btn {
    padding: 0 2.5rem 0 2.5rem;
	border-radius: 99px !important;
	background: #644ab5 !important;		
	}
		.lpcollagen-btn span {
    font-size: 35px !important;
	}
        /* 1. Định nghĩa Keyframes (chuyển động) */
        @keyframes pulse-blue {
            0% {
                transform: scale(0.95);

            }
            70% {
                transform: scale(1);
                
            }
            100% {
                transform: scale(0.95);

            }
        }

        /* 2. Áp dụng vào class .btn--pulse của bạn */
        .btn--pulse {
            /* Kích hoạt animation */
            animation: pulse-blue 1s infinite;
            
            
            /* Tùy chỉnh hiển thị */
            display: inline-block;
            cursor: pointer;
        }

        /* --- MÔ PHỎNG GIAO DIỆN CỦA BẠN --- */

/******* Landing page cấy collagen tươi ********/
@media screen and (max-width:549px) {
#main .cay-sec-banner {
    z-index: 9;
	padding-bottom: 53px;
}
	.cay--btn-ab {
    bottom: -59px !important;
	}
	    .doc-title-image img {
        max-width: 80% !important;   
    }
	
	.col-inner .lpcollagen-btn span {
		font-size: 21px !important
	}	
}
/*******************************************/
.cay--btn-ab {
	position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
    /* 1. Cấu trúc khung chính (CSS Grid cho Desktop) */
    .la-doctor-wrapper {
        display: grid;
        grid-template-columns: 42% 58%; 
        grid-template-areas: 
            "img info"
            "img tabs";
        border-radius: 15px;
        padding: 30px;
        max-width: 1440px;
        margin: 0 auto;
        gap: 20px;
        align-items: center;
    }

    /* 2. Khu vực Hình lớn (Grid Area: img) */
    .la-img-container {
        grid-area: img;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 300px;
    }

    .la-big-img {
        width: 100%;
        max-width: 600px; /* Giới hạn chiều rộng hình */
        height: auto;
        border-radius: 12px;
        display: none;
        animation: fadeIn 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        object-fit: cover;
    }
    
    .la-big-img.active { display: block; }

    /* 3. Khu vực Thông tin (Grid Area: info) */
    .la-info-container {
        grid-area: info;
        padding-left: 20px;
    }

    .la-doc-info { display: none; animation: slideIn 0.5s ease; }
    .la-doc-info.active { display: block; }

    /* Badge Tên Bác Sĩ */
/* Class mới cho hình ảnh tiêu đề */
    .doc-title-image {
        text-align: center;   /* Căn giữa hình ảnh */
        margin-bottom: 20px;  /* Khoảng cách xuống nội dung bên dưới */
        display: block;       /* Đảm bảo chiếm dòng riêng */
    }

    .doc-title-image img {
        max-width: 50%;      /* Không bị tràn khung */
        height: auto;         /* Giữ nguyên tỷ lệ ảnh */
        width: auto;          /* Dùng kích thước thật của ảnh (hoặc chỉnh px nếu muốn) */
        display: inline-block;
    }

    /* Mobile: Chỉnh lại một chút nếu cần */


    /* List nội dung */
    .doc-desc ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .doc-desc li {
	position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: #7f59be;
    font-weight: 700;
    line-height: 1.5;
    font-size: 1.15em;
    text-align: left;
    }
    
    .doc-desc li::before {
        content: "•";
        color: #8e44ad;
        font-size: 1.5em;
        line-height: 1;
        position: absolute;
        left: 0;
        top: -2px;
    }

    /* 4. Khu vực Tabs Avatar (Grid Area: tabs) */
    .la-tabs-container {
        grid-area: tabs;
        display: flex;
        gap: 15px;
        padding-left: 20px; 
		justify-content: center;	
    }
    .nav-item {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        overflow: hidden;
        cursor: pointer;
        border: 3px solid #e0e0e0;
        transition: all 0.3s ease;
        filter: grayscale(30%); /* Xám nhẹ khi chưa chọn */
    }

    .nav-item img { width: 100%; height: 100%; object-fit: cover; }

    /* Active Tab Styling (Vòng tròn vàng) */
    .nav-item.active {
        border-color: #d4af37; /* Vàng đồng */
        box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3), 0 5px 10px rgba(0,0,0,0.1);
        transform: scale(1.1);
        filter: grayscale(0%);
    }

    /* Animations */
    @keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
    @keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    /* --- MOBILE RESPONSIVE (Quan trọng) --- */
    @media (max-width: 768px) {
		 .doc-title-image {
            margin-bottom: 15px;
        }
        .doc-title-image img {
            max-height: 60px; /* Trên điện thoại cho nhỏ lại xíu cho gọn */
        }
        .la-doctor-wrapper {
            display: flex;        /* Chuyển sang Flexbox */
            flex-direction: column; /* Xếp dọc */
            padding: 20px 15px;
            gap: 0;
        }

        /* ORDER 1: Đưa Tabs lên đầu tiên */
        .la-tabs-container {
            order: 1;
            width: 100%;
            justify-content: center; /* Căn giữa tab */
            padding-left: 0;
            margin-bottom: 20px;
        }

        /* ORDER 2: Hình ảnh bác sĩ */
        .la-img-container {
            order: 2;
            width: 100%;
            margin-bottom: -20px; /* Đẩy hình đè lên nút tên 1 chút cho đẹp */
            z-index: 1;
        }
        
        .la-big-img {
            max-width: 80%; /* Thu nhỏ hình trên mobile */
        }

        /* ORDER 3: Thông tin (Tên + Mô tả) */
        .la-info-container {
            order: 3;
            width: 100%;
            padding-left: 0;
            text-align: center; /* Căn giữa nội dung */
            z-index: 2;
            position: relative;
        }

        /* Chỉnh lại Badge tên cho Mobile */
        .doc-badge {
            width: 90%; /* Nút dài ra */
            font-size: 1em;
            margin-bottom: 20px;
            box-shadow: 0 5px 20px rgba(125, 60, 152, 0.5);
        }

        /* Canh chỉnh List text trên mobile */
        .doc-desc {
            text-align: left; /* Text bên trong vẫn canh trái */
            background: rgba(255,255,255,0.5); /* Nền trắng mờ nhẹ để dễ đọc */
            padding: 15px;
            border-radius: 10px;
        }
        
        .nav-item {
            width: 100px; /* Tab nhỏ hơn chút trên mobile */
            height: 100px;
        }
    }
/*********************************************/
#menu-item-9260, .menu-item-9260  {
	display: none !important;
}
/*** Trang cảm ơn new 2025****/
.tk_box .box-text {
    width: 37%;
    text-align: left;
    position: absolute;
    top: 58%;
    right: 8%;
    /* font-size: 29px; */
    color: #fff;
}
.tk_box .box-text-inner p {
    font-size: 20px;
}
@media screen and (max-width:549px) {
	.tk_box .box-text {
	width: 100%;
    text-align: center;
    position: absolute;
    top: 66%;
    right: 0;
}
.tk_box .box-text-inner p {
    font-size: 15px;
}
	.tk-btn {
	background: linear-gradient(0deg, rgba(251, 173, 23, 1) 0%, rgba(255, 100, 0, 1) 100%);
    padding: 2px 50px;
    border-radius: 12px;
	}
}
@media screen and (min-width:768px) and (max-width: 1024px) {
.tk_box .box-text {
    width: 50%;
    text-align: left;
    top: 53%;
    right: 0;
}
.tk_box .box-text-inner p {
    font-size: 14px;
}
}
/****************************/
/*** Giao diện popup mới **/
.page-title {
	color: var(--primary-color);
	font-size: 24px;
	font-weight: 800;
}
#popup-form-new-basic {
    background: #f2f0fc;
    border-radius: 16px;
}
input[type=submit] {
	border-radius: 99px;
}
.commit-form-text {
    font-style: italic;
    font-size: 14px;
    margin-top: 20px !important;
    text-align: center;
}
div#popup-dang-ky-nhan-uu-dai-toan-site-newcode {
    background-color: transparent;
    box-shadow: none;
}

.lightbox-content .popup_content-post {
    position: absolute;
    top: 21%;
    left: 14%;
    color: #fff;
    text-align: center;
}

@media screen and (max-width: 549px) {
	.lightbox-content .popup_content-post {
    top: 15%;
    left: 10%;
    right: 10%;
    font-size: 14px;
}
}

#popup-dang-ky-nhan-uu-dai .banner,
#popup-dang-ky-nhan-uu-dai {
	background-color: transparent;
	box-shadow: none;
}

.gr-new-text-purple {
background: linear-gradient(180deg, #7342ba 0%, #44276d 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 800;
}

@media screen and (min-width:1200px) and (max-width:1500px) {
	.section-2-collagen-new .text-box-collagen-new img {
		width:70%!important;
	}
	.section-2-collagen-new .colagen-2  {
		margin: 0px -54px 0px 0px!important;
	}
	.section-2-collagen-new .colagen-3  {
	margin: 0px -70px 0px 0px!important;
	}
	.sectin-5-banner-colga .text-btn-col-new {
		margin: 0px -9px 0px 30px!important;
	}
}
.btn2 {
	background-image: url(https://thammylinhanh.com/wp-content/uploads/2023/12/phun-xam-tham-my-desktop-5.webp);
    background-position: center;
    background-size: initial;
    color: #422369!important;
    font-weight: 700;
}
.page-id-9233 .text-box .button span {
    font-size: 1.2rem!important;
}
.page-id-9211 .slider-nav-light .flickity-prev-next-button .arrow, .slider-nav-light .flickity-prev-next-button svg {
	    fill: #422369!important;
}
.page-id-9211 .slider-nav-light .flickity-page-dots .dot {
    border-color: #422369;
}
.page-id-9211 .slider-nav-light .flickity-page-dots .dot.is-selected, .slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
    background-color:#422369;
}
.slider-nav-light .flickity-prev-next-button .arrow, .slider-nav-light .flickity-prev-next-button svg {
	    fill: #fff!important;
}
.section-nhat-ky .slider-nav-light .flickity-prev-next-button .arrow, .slider-nav-light .flickity-prev-next-button svg {
	    fill: #412767!important;
}
.section-nhat-ky .slider-nav-light .flickity-prev-next-button:hover .arrow, .slider-nav-light .flickity-prev-next-button svg {
	    fill: #fff!important;
}

.slider-nav-light .flickity-prev-next-button {
    color: #412767!important;
}
 /*** Start phun mày new ***/
/************ Desktop ************/ 
.section-10-pm-new .img-box-1 .box-text {
	position: absolute;
    bottom: 45px;
}
.section-10-pm-new .img-box-2 .box-text {
	position: absolute;
    bottom: 95px;
}
/********* END Desktop **********/
/************ Mobile ************/
@media screen and (max-width:549px) {
.section-7-pm-new .section-bg.bg-loaded {
    background-image: url(https://thammylinhanh.com/wp-content/uploads/2023/05/phun-may-mobile-14.webp)!important;
}
	.section-11-pm-new {
		margin-bottom:-20px!important;
	}	
	.page-id-9211 .slider-nav-light .flickity-prev-next-button .arrow, .slider-nav-light .flickity-prev-next-button svg {
    fill: #fff!important;
}
	
}
/*** END  phun mày new**/


 /*** Start cấy collagen new ***/
/************ Desktop ************/
.section-3-collagen-new .img-box-text {
	transform: translateX(-120px);
}
.section-3-collagen-new .img-box-text-3 {
	transform: translateX(-80px);
}
.section-3-collagen-new .img-box-text-1 {
	transform: translateX(120px);
}
.section-3-collagen-new .img-box-text-2 {
	transform: translateX(80px);
}
.section-9-collagen-new .text-name {
	font-style: normal;
	font-weight: 700;
	font-size: 30px;
	line-height: 42px;
}
.section-9-collagen-new .old-age {
	font-style: normal;
	font-weight: 600;
	font-size: 24px;
	line-height: 30px;
}
/********* END Desktop **********/
/************ Mobile ************/
@media screen and (max-width:549px) {	
.footer-chi-nhanh-new-ver-mb .nav-pills>li>a {
    padding: 0 1em!important;
}	
.section-9-collagen-new .text-name {
	font-style: normal;
	font-weight: 700;
	font-size: 24px!important;
	line-height: 32px!important;
}
	.section-9-collagen-new .img-box-slider .box-text	{
		position:absolute;
		bottom:-20px;
	}
}
/********* END Mobile **********/
/************ Tablet ************/
@media screen and (min-device-width: 768px) and (max-device-width:1024px) { 

 }
/********* END Tablet **********/
/*** END  cấy collagen new**/




 /*** Start trang chủ new ***/
/************ Desktop ************/
.section-3-gt-new .image-box-1 .box-text {
	position: absolute;
    bottom: -20px;
    padding: 0 30px;
}
.section-3-gt-new .button-white-new {
	background: #fff!important;
    color: #422369!important;
    border: 1px solid #422369;
}
.section-3-gt-new .button-white-new:hover {
	background: #422369!important;
	color:#fff!important;
}
.section-4-gt-new .image-box-2 .box-text {
	position: absolute;
    bottom: 35px;
}  
.section-4-gt-new .row-col-3-gt-new {
	margin-top:-140px;
}
.section-banner-gt-new .text-box-1 {
	transform: translateY(-12px);
}

  
  /** block video trang chủ **/
 
.section-6-gt-new .block-video .is-divider,
.section-6-gt-new .block-mobile-video .is-divider {
    max-width: 90px;
    margin: 25px auto;
  }
.section-6-gt-new .block-mobile-video p {
    width: 360px;
    font-size: 16pt;
    text-align: center;
    font-weight: bolder;
    color: #fff;
  }
.section-6-gt-new .col-inner .video-fit,
  .section-6-gt-new iframe,.section-6-gt-new .box-image .image-cover {
    border-radius: 14px;
  }
span.main-text {
    font-style: normal;
    font-weight: 900;
    font-size: 60px;
    line-height: 82px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

span.sub-text {
    font-style: normal;
    font-weight: 900;
    font-size: 37px;
    line-height: 46px;
    text-transform: uppercase;
}
.tt-text {
    background: -webkit-linear-gradient(131.24deg, #9F2AF5 0%, #422369 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/********* END Desktop **********/
/************ Mobile ************/
@media screen and (max-width:549px) {	
.section-2-gt-new .section-bg.bg-loaded {
    background-image: url(https://thammylinhanh.com/wp-content/uploads/2023/05/trang-chu-new-mobile-02.webp)!important;
}
.section-3-gt-new .image-box-1 .box-text {
    position: absolute;
    bottom: -25px!important;
    padding: 0 20px!important;
}	
.section-4-gt-new .row-col-3-gt-new {
    margin-top: 30px!important; 
}	
.section-4-gt-new .image-box-2 .box-text {
    position: absolute;
    bottom: 5px!important;
}	
/** block video trang chủ - mobile**/
  .block-mobile-video {
    padding: 12px;
    width: 350px;
  }
    .block-mobile {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    width: 371px;
    height: 340px;	
  }
  .block-mobile-video	.block-video-text {
      width: 272px;
    }	
	.section-6-gt-new h3,.block-video-text {
		font-size:18px!important;
	}
span.main-text {
    font-size: 35px;
	    line-height: 25px!important;
}	
 span.sub-text {
    font-size: 24px;
	 line-height: 25px!important;
}	
.page-id-7602 .section-tt .section-bg.bg-loaded {
    background-image: url(https://thammylinhanh.com/wp-content/uploads/2023/05/trang-chu-new-mobile-14.webp)!important;
}	
	
}
/********* END Mobile **********/
/************ Tablet ************/
@media screen and (min-device-width: 768px) and (max-device-width:1024px) { 

 }
/********* END Tablet **********/
/*** END  trang chủ new **/


.section-4-gb-new .button span {
	font-size: 16px!important;
}
.section-3-gb-new .text-box-3 {
	margin-top: 40px;
}
 /**Popup chuyên mục dịch vụ**/
  .page-id-4788 .lightbox-content .bg-fill {
  background-image: url(https://thammylinhanh.com/wp-content/uploads/2023/04/popup-triet-long.webp)!important;
  }
.page-id-8662 .lightbox-content .bg-fill {
  background-image: url(https://thammylinhanh.com/wp-content/uploads/2023/05/POPUP-THAY-MAY-DOI-VAN-scaled.webp)!important;
  }
.page-id-8662 .lightbox-content .text-box {
	top: 45%;
}
.page-id-4788 .lightbox-by-id .text-box .text-box-content  {
	    transform: translateY(200px);
}
.section-3-gb-new .text-1-box .text-box-content,.section-3-gb-new .text-4-box .text-box-content,.section-3-gb-new .text-2-box .text-box-content,.section-3-gb-new .text-3-box .text-box-content  {
	position:relative;
	width:100%;
}
.section-3-gb-new .text-1-box .text-box-content .img.has-hover,.section-3-gb-new .text-4-box .text-box-content .img.has-hover,.section-3-gb-new .text-2-box .text-box-content .img.has-hover,.section-3-gb-new .text-3-box .text-box-content .img.has-hover{
	height: auto;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.section-3-gb-new .text-1-box .text-box-content .text,.section-3-gb-new .text-2-box .text-box-content .text,.section-3-gb-new .text-3-box .text-box-content .text {
	position: absolute;
    bottom: 80px;
    padding: 0 50px;
}
.section-3-gb-new .text-4-box .text-box-content .text {
	position: absolute;
    bottom: 45px;
    padding: 0 50px;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}