/*
Theme Name: TamPhat Child
Description: This is a child theme for TamPhat Theme
Author: TamPhat
Template: tamphat
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
a.glink{padding-right:5px;}
.section-title-container{margin-bottom:0px}
.section-title.section-title-center b{background: transparent !important;}
h2.section-title.section-title-center{
	font-size: 35px;
    font-weight: 700;
    letter-spacing: 2px;
	
}
h3.section-title.section-title-center{
	font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
	margin-bottom:0px;
}
.bd-top{
	border-top: 1px solid hsla(0, 0%, 100%, .1);
	padding-top:30px;
}
#top-bar .welcome-text{
	font-size:16px;
	font-weight:bold;
	color:#fff;
	text-transform:uppercase;
}
.header-block-block-1{padding-right:30px;}
.header-block-block-1 .col{padding-bottom:0px;}
.header-block-block-1 h2{margin-bottom:0px;}
.header-block-block-1 p{font-size:14px;}
/* button hotline */
#header-contact li{
	background: linear-gradient(225deg, #F7921E 0%, #FFDA02 100%);
    border-radius: 0px 35px;
    box-shadow: 0px 0px 35px 2px rgba(253, 229, 0, 0.41) !important;
    transition: 0.3s;
	z-index: 1;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}
#header-contact i{
	padding-left:10px;
}
#header-contact a{	
	font-size:16px;
	color:#0D2D6C;
	border-radius: 0px 35px;
	overflow: hidden;   
    justify-content: stretch;
    position: relative;
    min-width: 1px;
    text-decoration: none;
    cursor: pointer;	
}
#header-contact a:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(45deg, #F7921E 0%, #FFDA02 100%);
    transition: 0.3s;
    opacity: 1;
}
#header-contact a span{
    padding-top: 0.575em;
    padding-bottom: 0.575em;
	padding-right: 1.5em;
    padding-left: 0.5em;
	justify-content:center;
	position:relative;
	z-index: auto !important;
}

/* Line */
.category-line-decoration {   
	max-width: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;	
	margin-bottom:30px;
}
.category-line-decoration .l, .category-line-decoration .r {
	display: inline-block;
    flex-basis: 0;
    flex-grow: 1;
    border-width: 0;
    border-top-style: solid;
    border-top-width: 1px;
    height: 0;
	background-color: #FF5900;
    border-color: #FF5900;
}
.category-line-decoration .cl1, .category-line-decoration .cr1 {
	border-radius: 50%;
	background-color: #FF5900;
	border-color: #FF5900;
    border-style: solid;
    border-width: 1px;
    display: inline-block;
	width: 10px;
    height: 10px;
    margin: 3px;
}
.category-line-decoration .cl2, .category-line-decoration .cr2 {
    width: 5px;
    height: 5px;
	border-radius: 50%;
	margin: 3px;
	background-color: #FF5900;
}
.category-line-decoration .c {
    width: 16px;
    height: 16px;
	margin:3px;
	border-radius: 50%;
	background-color: #FF5900;
}
/*sidebar*/
#secondary span.widget-title, #product-sidebar span.widget-title {
    overflow: hidden;
    border-bottom: 2px solid #ff5900;
    display: block;
    padding: 6px 0
}
#product-sidebar span.widget-title{
	display:block;
	width:100%;
	background: #ff8900;
	border-bottom: 2px solid #ff5900;
	border-radius: 5px 5px 0 0;
    padding: 10px 20px;
    font-weight: 700;
}
#product-sidebar .widget ul {
    border: 1px solid #ececec;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 10px #0000001a
}
#secondary .is-divider, #product-sidebar .is-divider{
	display:none;
}
	
#secondary span.widget-title span{
    text-transform: uppercase;
    padding: 7px 14px !important;
    font-size: 14px;
    line-height: 26px;
    background: #ff5900;
    color: #fff;
    border-radius: 5px 5px 0 0;
    padding: 0 20px;
    font-weight: 700;
    position: relative;
    margin-right: 20px
}

#secondary span.widget-title span:after{
    content: '';
    display: block;
    line-height: 40px;
    background: #ff5900;
    width: 18px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -7px;
    transform: skewX(21deg);
    border-radius: 0 5px 0 0
}

#secondary span.widget-title span:before{
    content: '';
    display: block;
    line-height: 40px;
    background: #1c274a;
    width: 15px;
    height: 40px;
    position: absolute;
    top: 8px;
    right: 0;
    margin-right: -13px;
    transform: skewX(13deg);
    border-radius: 0 5px 0 0
}
.flatsome_recent_posts ul, #secondary .widget ul {
    border: 1px solid #ececec;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 10px #0000001a
}
/* end sidebar*/
/* Section Home About */
.section-about h1, .section-about h2{
	color:#293990;
	font-size: 50px;
    font-weight: 700;
    letter-spacing: 2px;
}
.section-about h3, .section-about h4{
	color: #00a352;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}
/* Section Home Product */
.home-sanpham .box-text h3{
	font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
}
/* Section quy trình */
.sec-quytrinh h3, .sec-quytrinh .section-title{
	color: #F3011A;
}
/* Swiper */
.content-slide .container{
	overflow: hidden;
  	padding-top: 10px;
  	padding-bottom: 10px;
}
.swiper-container {
  	/*overflow-x: hidden;
    overflow-y: hidden;*/
    position: relative;
	display: flex !important;
}
.swiper-certifications-slider .swiper-slide{
	display:flex !important;
	justify-content:center;
	justify-items:center;
	align-items:center;
	border-right:0px;
	border:1px solid #d9d9d9;
	height: inherit !important;
	float:left;
}
.swiper-certifications-slider .swiper-slide img{
	vertical-align:middle;
	display: block;  	  	
	padding:20px;
	max-height:150px;
	width:auto;
}
.swiper-portfolios-slider .swiper-slide{
	display:flex !important;
	justify-content:center;
	justify-items:center;
	align-items:center;	
	height: inherit !important;
	float:left;
}
.swiper-portfolios-slider .swiper-slide img{
	vertical-align:middle;
	display: block;  	  	
	border: 2px solid #fff;
}

/* Product */
.product-small.col .col-inner {
    box-shadow: 0 4px 24px 0 rgba(103, 151, 255, .1), 0 12px 64px 0 rgba(103, 151, 255, .1);
    border-radius: 20px 20px 20px 20px;
    padding: 10px 10px 0px 10px;
    background: #fff;
}
.product-custom-button{
	border-radius: 10px 35px;
    background: linear-gradient(245deg, rgba(0, 184, 176, 0.15) -13.94%, rgba(247, 146, 30, 0.15) 100.06%);
    box-shadow: 0px 8px 30px 0px rgba(8, 8, 39, 0.10);
	padding-top: 30px;
    padding-bottom: 10px;
	margin-bottom: 30px;
}
.product-custom-button ul{
	display:flex;
	flex-direction: row;
    align-items: flex-start;
}
.product-custom-button li{
	list-style:none;	
    border: 3px solid #0D2D6C;
    border-radius: 0px 35px;
}
.product-custom-button li:hover{
	border-radius: 0px 35px;
    border: 3px solid #4167BC;
    background: #0D2D6C;
    box-shadow: 0px 0px 35px 2px #758FC2;
	color:#fff;
}
.product-custom-button li:hover a{
	color:#fff;
}
.product-custom-button li a {
    overflow: hidden;
    font-size:20px;
	font-weight:bold;
    position: relative;
    min-width: 1px;
    text-decoration: none;
    cursor: pointer;
	display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.product-custom-button i{
	display: inline-flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-shrink: 0;
    position: relative;
    letter-spacing: 0;
    line-height: 1;
    z-index: 2;
	padding-left:10px;
}
.product-custom-button li a span{
	padding-top: 0.575em;
    padding-right: 2em;
    padding-bottom: 0.575em;
    padding-left: 0.575em;
	flex-shrink: 1;
    min-width: 1px;
    max-width: 100%;
}
/* Form Contact */
.section-contact h2, .section-contact h3, .section-contact h4{
	font-family:  "Google Sans Bold",  sans-serif !important;
	color: #00a352;
}
.section-contact .icon-box{
	padding-bottom:30px;
}
.section-contact label{
	color:#293990;
}
.section-contact .icon-box-text{line-height:35px;}
.page-template-page-my-account .col-contact-form{
    margin-top: -120px;
    background: #fff;
    box-shadow: 0 0 8px rgb(55 59 61 / 20%);
    border-radius: 10px;
}
.page-template-page-my-account .col-contact-form .col-inner{
	padding-top:30px;
}
.page-template-page-my-account .col-contact-form h2{
	color: #293990;
}
.page-template-page-my-account .col-contact-form .wpcf7-submit{
	display: block;
    width: 100%;
    outline: none;
    background-color: #00a352;
    height: 40px;
    color: #fff;
    font-size: 15px;
    border-radius: 5px;
}
/*Blog */
.archive.category .is-divider{
	display:none;
}
.bai-viet-lien-quan h3 {
    font-size: 19px;
    color: black;
}
.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.bai-viet-lien-quan ul li {
    list-style: none;
    width: 25%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}
.bai-viet-lien-quan ul li .box-image img {
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
}
.bai-viet-lien-quan h4 {
    font-size: 15px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
}
/* Footer */
#footer .col{
	padding-bottom:0px !important;
	margin-bottom:0px !important;
}
#footer .product-small.col .col-inner {
    box-shadow:none !important;
}
#footer p{}
#footer .is-divider{background:transparent !important;}
.footer-1 section{
	padding-left:0px !important;
	padding-right:0px !important;
}
/*.footer-2 .col:first-child{
	max-width:55%;
	flex-basis: 55%;	
}
.footer-2 .col:nth-child(2) {
    flex-basis: 20%;
    max-width: 20%;
}
.footer-2 .col:last-child {
    flex-basis: 25%;
    max-width: 25%;
}*/
.footer-2 .col-cta h3{
	font-weight: 700;
    font-size: 42px;
    color: #1C274A !important;
    line-height: 1.2em;
    text-align: center;
	margin-bottom:5px;
}
.footer-2 .col-cta p{
	color: #1C274A !important;
	text-align: center;
	margin-bottom:0px;
}
.footer-2 .col-btn a.button{
	color: #1C274A !important;
    border-width: 0px !important;
    border-radius: 0px;
    letter-spacing: 0em;
    font-size: 26px;
    font-weight: 700 !important;
    background-color: rgba(0, 0, 0, 0);
	margin-bottom:16px;
}
.footer-2 .col-social{
	background-color: rgba(255, 255, 255, 0.1);
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}
.footer-2 .col-diachi .col-inner{
	padding-top:20px;
}
.footer-2 .col-diachi i, .footer-2 .col-hotline i{
	padding-right:10px;
}
.footer-2 .col-hotline .col-inner{
	padding-top:20px;
	padding-left:20px;
}
.footer-2 .col-social .social-icons i{
	font-size:25px;
	margin-right: 8px;
}
.absolute-footer .container {
    border-top: 1px solid hsla(0, 0%, 100%, .3);
	padding-top:10px;
}
/*** Hieu ung anh*/
.post-item .box-image:hover::before, .product-small .box-image:hover::before{
	-webkit-animation:shine .75s;
	animation:shine .75s;
}
@-webkit-keyframes shine{
	100%{left:125%}
}
@keyframes shine{
	100%{left:125%}
}
.post-item .box-image::before, .product-small .box-image::before{
	position:absolute;
	top:0;
	left:-75%;
	z-index:2;
	display:block;
	content:'';
	width:50%;
	height:100%;
	background:-webkit-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,.3) 100%);
	background:linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.3) 100%);
	-webkit-transform:skewX(-25deg);transform:skewX(-25deg)
}
/* Button Contact */
.echbay-sms-messenger div.phonering-alo-zalo, 
.echbay-sms-messenger div.phonering-alo-alo {
	background-color:#0084ff
}
.echbay-sms-messenger div.phonering-alo-sms {
	background-color:#f60
}
.echbay-sms-messenger div.phonering-alo-messenger {
	background-color:#e60f1e
}
 
.echbay-sms-messenger {
	width:45px
}
.echbay-sms-messenger a {
	line-height:45px;
    color: transparent;
	display:block;
}
.echbay-sms-messenger {
	display:block
}
.echbay-sms-messenger div.phonering-alo-zalo {
	display: block
}
 
.echbay-sms-messenger div.phonering-alo-alo {
    background-image: url(https://changbkk.com/medtech/wp-content/uploads/2025/01/call.webp);
}
/*.echbay-sms-messenger div.phonering-alo-sms {
    background-image: url(https:/wp-content/uploads/2022/11/mail.png);
    background-color: #f60;
    background-size: 60%;
}*/
.echbay-sms-messenger div.phonering-alo-zalo {
    background-image: url(https://changbkk.com/medtech/wp-content/uploads/2025/01/zalo.webp);
}
.echbay-sms-messenger div.phonering-alo-messenger {
    background-image: url(https://changbkk.com/medtech/wp-content/uploads/2025/01/messenger.webp);
    background-color: #e60f1e;
}
.echbay-sms-messenger div {
    margin: 14px 0;
    background: #0084FF center no-repeat;
    background-size: 70%;
    border-radius: 50%;
    box-shadow: 0 3px 10px #888;
	-webkit-animation: hoverWave linear 1s infinite;
    animation: hoverWave linear 1s infinite;
}

.echbay-sms-messenger {
    text-align: center;
    right:20px;
    position: fixed;
    bottom: 150px;
    z-index: 999;
}
@-webkit-keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}

@keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}

/* animations icon */

@keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@-webkit-keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}
/* End contect */

@media (min-width: 992px) {
	.post-sidebar{ padding-left:15px !important;}
	.footer-2 .col:first-child{	
		padding-left:0px;
	}
}

@media screen and (min-width: 850px) {
    .post-sidebar.large-3, #product-sidebar{
        padding-left:0px;
    }
	
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.section-about h1, .section-page-sanpham h1.section-title{		
		font-size: 30px;    
	}
	.section-about h2, h2.section-title.section-title-center{	
    	font-size: 22px;  
	}
	.section-about h3, h3.section-title.section-title-center{		
    	font-size: 20px;
	}
	
	.page-template-page-my-account .col-contact-form {
    	margin-top: 0px;
		box-shadow: none;
    	border-radius: 0px;
	}
	.page-template-page-my-account .col-contact-form .col-inner{   
    	box-shadow: 0 0 8px rgb(55 59 61 / 20%);
    	border-radius: 10px;
	}
	.bai-viet-lien-quan ul li{width:50%;}
	
	.footer-2 .col{
		max-width:100% !important;
		flex-basis: 100% !important;
	}
	.footer-2 .col-hotline .col-inner{padding-left:0px;}
}