/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0
*/
/*
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600&display=swap');
p{font-family: 'Noto Serif SC', serif;}*/

/*p, .copyright, .zoom_box .desc{font-family: 'ZCOOL XiaoWei', serif;}*/

.post .desc h5{font-weight: 900;}
.accordion .question .title{font-size: 20px; font-weight: 700;}
.date, span.english{font-family: "Roboto", Helvetica, Arial, sans-serif;}
p span.english, .highlight span.english{font-size: 16px;font-weight: 600;}
.copyright, p.footer-eng, .english p, p.english, li.menu-item p, .subscribe-form p{	font-family: "Roboto", Helvetica, Arial, sans-serif;font-size: 16px; }
input[type="submit"], input[type="text"], input[type="password"], input[type="tel"], input[type="email"], textarea{	font-family: "Roboto", Helvetica, Arial, sans-serif;font-size: 12px;}
input[type="submit"]{font-weight: 700;}
.subscribe-form h4, .english h2, .english h3{font-family: "Roboto", Helvetica, Arial, sans-serif;font-weight: 700;}
.copyright{font-weight: 600;}
p.footer-eng{text-align: center;font-weight: 700;}
li.menu-item p{font-size: 13px;}
@media only screen and (max-width: 479px){
	p span.english, .highlight span.english{font-size: 13px;}
}

.logo-no-sticky-padding #Top_bar.is-sticky #logo img.logo-sticky {
    max-height: 100px;
    padding-top: 5px;
}
/*#Top_bar #logo{padding: 50px 0;}*/
/*#Top_bar .menu > li > a {
    padding: 30px 20px 20px 20px;
}*/
@media only screen and (min-width: 768px){
#Top_bar.is-sticky {
		background-position: bottom;
		padding: 0 0 50px 0;
		background-image: url(https://themepixel.com.my/ysmedical/wp-content/uploads/2022/04/menu-background.png) !important;
		background-repeat: no-repeat;
		background-color: transparent !important;
		box-shadow: none;
		background-size: cover;
	}
}
@media only screen and (max-width: 767px){
#Top_bar, #Header_creative {
    	background-position: bottom;
    	padding: 10px 0 50px 0;
	}
}
#Header_wrapper, #Intro {
    background-color: transparent;
}
.section .section-decoration.bottom , .section .section-decoration.top{
    background-repeat: no-repeat;
    z-index: 0;
}
.sec-05 .section-decoration.top{
	background-repeat: no-repeat;
    background-size: contain;
	z-index: 0;
	background-position: right top;
}
.sec-05 .section-decoration.bottom{
	background-repeat: no-repeat;
    background-size: contain;
	z-index: 0;
	background-position: left bottom;
}
@media only screen and (min-width: 480px){
	.gap-left-no-mobile{padding-left: 60px;}
	.sec-03-box{padding: 0 20px 0 0;}
	.sec-03-box .photo_box .image_frame{
		background-image: url("https://themepixel.com.my/ysmedical/wp-content/uploads/2022/10/circle-background.png");
		background-repeat: no-repeat;
		background-position: left top;
		padding: 70px 0 0 50px;
	}
	.sec-03-box .photo_box .desc .image_frame{
		background: none;
		padding: 0;
	}
	.sec-03-box .photo_box .desc, .sec-03-btn{padding-left: 20px;}
	.sec-04-left-pd-img{padding-left: 60px;}
	.sec-04-move-up{margin-top:-220px;} 
	.contact-form-cst{padding: 7% 6% 5% 6%;}
	.make-short{padding-right: 50px;}
	
}
@media only screen and (min-width: 768px){
	.header-semi.ab-hide #Top_bar:not(.is-sticky) {
		background-size: cover;
		background-color: transparent;
		min-height: 210px;
		background-repeat-x: repeat;
	}
	.cst-move-up{margin-top: -230px;}
}
@media only screen and (min-width: 960px){
   .sec-04-move-up{margin-top:-320px;} 
	#Footer h3{padding:0 10%;}
	.cst-move-up{margin-top: -270px;}	
}
@media only screen and (min-width: 1240px){
   .sec-04-move-up{margin-top:-450px;} 
	#Top_bar.is-sticky {height: auto;}
}
@media only screen and (min-width: 1490px){
   .sec-04-move-up{margin-top:-480px;} 
	.header-semi.ab-hide #Top_bar:not(.is-sticky) {
		background-size: cover;
		background-color: transparent;
		/*min-height: 270px;*/
		background-repeat-x: repeat;
	}
	.section .section-decoration.bottom , .section .section-decoration.top{background-size: cover;}
}
@media only screen and (max-width: 1489px){
   .section .section-decoration.bottom , .section .section-decoration.top{background-size: contain;}
}
#Footer h2, #Footer h3{text-align: center;padding-top: 20px;font-family: 'ZCOOL XiaoWei', serif;}
#Footer table{padding-top: 20px;width: 80%;margin: auto;}
#Footer table tr:first-child td{box-shadow: none;vertical-align: text-top;}
#Footer table td h3{font-family: 'ZCOOL XiaoWei', serif; padding: 0; text-align: unset;}
#Footer table td.right{text-align: right;}
#Footer table td.center{text-align: center;}
#Footer table td.left{text-align: left;}

#Top_bar .menu > li > a {padding: 40px 0 30px 0;}
#Top_bar .menu > li > a span:not(.description){line-height: 40px;}
#Top_bar .menu > li > a span:not(.description){padding: 0 12px;}
li.menu-item h3{margin-bottom: 0px;font-size: 23px;}
li.menu-item p{margin-bottom: 0px;font-weight: 600;}
.logo-overflow #Top_bar.is-sticky #logo img.logo-sticky:not(.svg) {
    max-height: 100px;
}

.box-timeline{
	box-shadow: 0px 0px 15px 4px rgba(0,0,0,0.30);
	-webkit-box-shadow: 0px 0px 15px 4px rgba(0,0,0,0.30);
	-moz-box-shadow: 0px 0px 15px 4px rgba(0,0,0,0.30);
}
.box-timeline h5{font-size: 24px;font-weight: 600 !important; line-height: 25px !important;margin-bottom: 5px;}
.box-timeline p{text-align: justify !important;}
.box-timeline p span, .box-timeline h5 span{font-family: "Roboto", Helvetica, Arial, sans-serif;font-weight: 600 !important;}
.box-timeline p{font-size: 14px;line-height: 15px;}

@media only screen and (max-width: 479px){
	.box-timeline h5{font-size: 12px !important;line-height: 13px !important;}
	.box-timeline p, .box-timeline p span{font-size: 8px;line-height: 9px !important;}
	#Footer .image_frame.image_item{float: none; text-align: center; margin: 0 0 15px 0;}
	.contact-form-cst{padding: 35px 30px 0;}
	#Footer table{width: 100%;}
}
@media only screen and (max-width: 767px){
	body:not(.template-slider) #Header {min-height: 100px;}
	#Top_bar { background-color: transparent !important; }	
}
@media only screen and (min-width: 480px) and (max-width: 959px){
 
}

.zoom_box .desc .desc_txt{color: #f9e490;font-weight: bold;}
.zoom_box .desc {background: rgba(0,0,0,.8) !important;}

#Footer .footer_copy .social li img{width: 50px;}
.contact-form-cst{border-radius: 20px;     
	background-image: url(https://themepixel.com.my/ysmedical/wp-content/uploads/2022/04/ys-medical-footer-bg.jpg);
    background-repeat: repeat;
    background-position: right top;
}

/***** BEGIN: ICON BOX TOP TO RIGHT *****/
.top-to-right .icon_box .image_wrapper{
	border-radius: 50%;
	background-color: #ffffff;
}
.top-to-right .icon_position_top{
	min-height: 126px;
    padding-right: 145px;
}
.top-to-right .icon_position_top .image_wrapper {
    position: absolute;
    right: 0;
    top: 10px;
    margin-bottom: 0;
    width: 126px;
    height: 126px;
    overflow: hidden;
}
.top-to-right .icon_position_top .desc_wrapper {
    text-align: right;
    padding-top: 10px;
}
@media only screen and (min-width: 768px) and (max-width: 959px){
	.top-to-right .icon_position_top .desc_wrapper {
		text-align: center;
		padding-top: 0;
	}	
	.top-to-right .icon_position_top .image_wrapper {
		position: static;
		left: 0;
		margin-bottom: 15px;
		width: auto;
		height: auto;
	}
	.top-to-right .icon_position_top {
		min-height: auto;
		padding-left: 0;
		padding-right: 0;
	}
}
.six-effect-box h1{
	font-family: 'Ma Shan Zheng', cursive;
	font-size: 200px;
    line-height: 200px;
}
/***** END: ICON BOX TOP TO RIGHT *****/

.testimonial-box h1{
	font-family: 'Ma Shan Zheng', cursive;
}
@media only screen and (min-width: 768px){
	.testimonial-box .image_wrapper{
		padding-top: 100px;
	}
}
@media only screen and (max-width: 767px){
	.testimonial-box .image_wrapper img{
		text-align: left;
		width: 100px;
	}
	.testimonial-box .wrap{margin-bottom: 30px;}
}

.heading-blog{
	background: rgb(230,205,105);
	background: linear-gradient(0deg, rgba(230,205,105,1) 0%, rgba(255,255,255,1) 100%);
	padding: 15px 20px 0;
	border-radius: 10px
}
.heading-blog h3{margin-bottom: 10px;}
.subscribe-form {
    background-color: #fcc014;
    text-align: center;
    padding: 20px 30px 0;
    color: #ffffff;
}
.subscribe-form h4{color: #ffffff; font-weight: 600;}
.subscribe-form p {font-size: 14px; line-height: 17px;}
.subscribe-form p em{font-size: 12px;}
.subscribe-form input[type="submit"]{width: 100%;}
.subscribe-form .wpcf7-spinner{margin: 10px 24px;}
.Latest_news ul li .desc .post-excerpt {font-size: 18px;margin: 5px 0 5px;color: #4a4a4a;}
.Latest_news ul li .desc_footer .date {font-size: 12px;}

.style-simple .accordion .question .answer{color: #4a4a4a;}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0 10px;
    border: 2px solid #00a0d2;
    font-size: 13px;
    width: 100%;
    background: antiquewhite;
}

.Recent_posts ul li a .desc .date{font-size: 12px;}

.fancy_heading h2.title{font-family: 'Ma Shan Zheng', cursive;}

.style-simple .icon_box .image_wrapper{padding-top: 0px;}

h1.footer-heading{text-align: center;padding: 30px 0;}
.heading-cst h1:before, h1.footer-heading:before,
.heading-cst h2:before, h2.footer-heading:before{
	content: '';
	background-image: url(https://themepixel.com.my/ysmedical/wp-content/uploads/2024/03/bg-title.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding: 35px 50px;
    margin-right: -60px;
}
.form-box{
	padding: 70px 30px 0 30px;
}
.border-cst{border-radius: 20px;}

@media only screen and (max-width: 767px){
	.Latest_news ul li .desc .post-excerpt {font-size: 14px;}
	.form-box{padding: 50px 15px 0 15px;}
}

.red-color h1,.red-color h2,.red-color h3,.red-color h4{color: #b41521;}









