/*
Theme Name: TamPhat Child
Description: This is a child theme for TamPhat Theme
Author: Tâm Phát
Template: medtech
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.section-title-container{margin-bottom:0px}
.section-title.section-title-center b{background: transparent !important;}
h2.section-title.section-title-center{
	font-size: 40px;
    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-contact a{
	text-transform:lowercase;
	color:#fff !important;
	font-size:16px;
}
/* Section dich vu*/
.home .sc_dichvumaiche .col.large-4 .col-inner{
	padding: 18px;
    border-radius: 18px;
    background: white;
    transition: 0.6s ease;
    box-shadow: 0px 30px 60px -30px rgba(0, 0, 0, .45);
}
.home .sc_dichvumaiche .col.large-4:hover .col-inner{
	
}
.home .sc_dichvumaiche .col.large-4 .col-inner .icon-box h3{
	
}
.home .sc_dichvumaiche .col.large-4:hover .col-inner .icon-box h3{
	color:#fff;
}

/* 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: #ff6100;
    border-color: #ff6100;
}
.category-line-decoration .cl1, .category-line-decoration .cr1 {
	border-radius: 50%;
	background-color: #ff6100;
	border-color: #ff6100;
    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: #ff6100;
}
.category-line-decoration .c {
    width: 16px;
    height: 16px;
	margin:3px;
	border-radius: 50%;
	background-color: #ff6100;
}
/*sidebar*/
#secondary span.widget-title, #product-sidebar span.widget-title {
    overflow: hidden;
    border-bottom: 2px solid #ff6100;
    display: block;
    padding: 6px 0
}
#product-sidebar span.widget-title{
	display:block;
	width:100%;
	background: #ff6100;
	border-bottom: 2px solid #ff6100;
	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: #ff6100;
    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: #ff6100;
    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: #00a352;
    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;
}
/* 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;
}
/* Page Sản phẩm */
.section-page-sanpham h1.section-title{
	font-size: 45px;
    font-weight: 700;
    letter-spacing: 2px;
}
.section-page-sanpham .col.medium-5 .col-inner{
	box-shadow: 9px 9px 0px 0px #00a352;
}
.section-page-sanpham .col.medium-7 .button{
	text-align:right;
	float:right;
}
/* Product */
.product-custom-button .col{
	margin-bottom:0px;
	padding-bottom:0px;
}
span.amount{color:#f00}

/* 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;
}
.single-post .entry-content{font-size:120% !important;}
.single-post .entry-content .section-title.section-title-center b{
	background:#1b9ee5;
	opacity:0.1;
}
.single-post .entry-content .section-title.section-title-center span{
	background: #ff8900;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}
.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 contact */
.footer-form-contact{
	padding-top:120px !important;
	padding-bottom:120px !important;
}
.footer-form-contact .row-bg{
	background-image: url(https://maihientamphat.vn/wp-content/uploads/2026/05/quote-form-bg.jpg.webp);
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	width:100%;
	margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}
.footer-form-contact .row-bg:before{
	content: '';
    display: block;
	position: absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:rgba(1, 1, 128, 0.7) !important;
}
.footer-form-contact .col{
	background:transparent !important;
	padding-bottom:0px;
}
.footer-form-contact .col.col-left{
	padding: 30px;
}
.footer-form-contact .col.col-left h2{
	font-size:64px;
	line-height: 110%;
}
.footer-form-contact .col.col-right{
	background:#fff !important;
	display: flex;
    box-shadow: 0 10px 16px 0 rgba(2, 1, 1, .4);
    margin-top: -80px;
    margin-bottom: -80px;
    margin-left: 0px;
    margin-right: 0px;
    padding:30px;
}
.footer-form-contact .wpcf7-form fieldset{
	margin-bottom:0px;
}
.footer-form-contact .wpcf7-form, .footer-form-contact .wpcf7-form p{
	margin-bottom:0px;
}
.footer-form-contact .wpcf7-form .wpcf7-submit{
	background: #fbc604 !important;
    border-color: #f99e15 !important;
	border-radius:5px;
	margin-bottom:0px;
	color: #000;
}
/* Footer */
#footer .col{
	padding-bottom:0px !important;
	margin-bottom:0px !important;
}
#footer p{margin-bottom:10px !important;}
#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 i {
    padding-right: 10px;
}
.footer-2 .col:first-child ul{
	padding-left:20px;
}
.footer-2 .col:first-child ul li{
	list-style: circle;
    list-style-position: inside;
}
.absolute-footer{
    border-top: 1px solid #eceeef;	
}
.back-to-top{
	bottom:60px !important;
}
/*** Hieu ung anh*/
.post-item .box-image:hover::before, .product-small .box-image:hover::before, .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, .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 */
.cta {
    z-index: 99;
    font-size: 16px;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    padding: 3px 12px 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    background: -webkit-gradient(linear, left top, right top, from(#105caa), to(#023e7b));
    background: linear-gradient(to right, #105caa 0%, #023e7b 100%);
	box-shadow: 0px -2px 5px 0px rgb(48 48 48 / 10%);
}

.cta__block {
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
	text-decoration:none
}

.cta__block+.cta__block {
    margin-left: 8px;
}

.cta svg {
    fill: #fff;
    margin-right: 4px;
    width: 16px;
}

.cta__hide {
    display: none;
}

.cta__block:hover {
    color: #fff;
    text-decoration: none;
}
/* End contact */
@media screen and (min-width: 850px) {
    .post-sidebar.large-3, #product-sidebar{
        padding-left:0px;
    }
}
@media (min-width: 992px) {
	.post-sidebar{ padding-left:15px !important;}
	.footer-2 .col:first-child{	
		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;
	}
	.bai-viet-lien-quan ul li{width:50%;}
	.single-product .product-main{padding-bottom:0px !important;}
	.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;
	}
	.footer-form-contact .col.col-left h2{
		font-size:44px;	
	}
	.footer-2 .col{
		max-width:100% !important;
		flex-basis: 100% !important;
	}

}