/*
 Theme Name:   Twenty Twentyone ms
 Theme URI:    https://wordpress.org/themes/twentytwentyone/
 Description:  Twenty Twenty-One Child Theme
 Author:       Kuntawat Sungjarern
 Author URI:   https://malisofts.app
 Template:     twentytwentyone
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentytwentyonechild
*/

/* FONTS*/
body, p, .p,
.powered-by {
	font-family: 'ThaiSans Neue',Arial;
	/*font-size: 1rem;*/
}
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6, b, strong {
	font-family: 'ThaiSans Neue', Arial;
	margin-bottom: 0;
}
.h1, .h2, .h3,
h1, h2, h3{
	font-weight: bold;
}
.h4, .h5, .h6,
h4, h5, h6, b, strong {
	font-weight: 600;
}
.font-arial{
	font-family: Arial;
}
.font-thai-san{
	font-family: 'ThaiSans Neue';
}

h1,.h1{ font-size: 3rem!important; }
h2,.h2{ font-size: 2.5rem!important; }
h3,.h3{ font-size: 2rem!important; }
h4,.h4{ font-size: 1.75rem!important; }
h5,.h5{ font-size: 1.5rem!important; }
h6,.h6{ font-size: 1.25rem!important; }

.font-extra{
	font-size: 70px;
}

.navbar .a {
	font-size: 1rem!important;
}
a, .a {
	text-decoration: none!important;
	text-decoration-style: unset!important;
}

.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button){
	background: transparent;
}
.menu-item a:hover,
.menu-item a:focus {
	color: #22AA86!important;
	background-color: transparent!important;
	text-decoration: none!important;
	text-decoration-style: unset!important;
}
.menu-item a:active {
	color: #22AA86!important;
	background-color: transparent!important;
	text-decoration: none!important;
	text-decoration-style: unset!important;
}

/* COLORS */
.green {
	color: #22aa86;
}
.bg-green {
	background: #22aa86;
}
.bg-dark-green {
	background: #44514E;
}
.bg-deep-green {
	background: #2D3533;
}
.bg-blue-sky {
	background-color: #57CBE1!important;
}
.bg-mint {
	background-color: #62e0c1!important;
}
.bg-light-olive {
	background-color: #7fe092!important;
}
.bg-green-yellow {
	background-color: #b7f275!important;
}



/* NEVBAR */
.site-top .navbar {
	padding-top: 0;
	padding-bottom: 0;
}

/* SITE */
.site-main > *{
	margin-top: 0!important;
	margin-bottom: 0!important;
}
.site-header, .site-main, .widget-area, .site-footer{
	padding-top: 0!important;
	padding-bottom: 0!important;
}
.carousel-home .carousel-item {
	height: 450px;
}
.carousel-home .carousel-item img {
	position: absolute;
	object-fit:cover;
	top: 0;
	left: 0;
	min-height: 450px;
	top:50%;
	transform: translateY(-50%);
}
.carousel-home .carousel-caption{
	top: 50%;
	bottom: 0;
	transform: translateY(-50%);
	text-align: left;
	padding-left: 30px;
	padding-right: 30px;
}
.content-shift-up{
	position: relative;
	transform: translateY(-15%);
	z-index: 1099;
}
.column-border > div[class^="col-"]{
	border: 1px solid rgba(255,255,255,0.15);
}

/* svg */
.svg-top .svg-w{
	position: absolute;
	z-index: 1099;
	width: 100%;
	top: -2px;
	transform: translateY(-1px) rotate(180deg);
}
.svg-bottom {
	bottom: -3px!important;
}

.carousel-control-next, .carousel-control-prev {
	background-color: transparent!important;
}

/* BUTTON */
.btn-seach {
	color: #fff!important;
	background-color: #20a17f!important;
	border: none;
}
.btn-seach:hover, 
.btn-seach:focus {
	box-shadow: none!important;
	border-color: transparent;
	color: #9CC026!important;

}



/* FORM-CONTROL */
input[type=search]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: white;
	opacity: 1; /* Firefox */
}
input[type=search]:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: white;
}
input[type=search]::-ms-input-placeholder { /* Microsoft Edge */
	color: white;
}
input[type=search] {
	background-color: #20a17f!important;
	border: 1px solid #20a17f!important;
}
input[type=search]:hover,
input[type=search]:focus {
	outline: none!important;
}
.form-control:focus {
	box-shadow: none!important;
}

.overlay-dark-wrapper {
	background: #000;
	-webkit-filter: brightness(90%);
}

.img-service {
	height: 418px;
	overflow: hidden;
}
.img-service > img {
	vertical-align: middle!important;
}
.section-specific {
	background-color: #57e1bd;
	background-image: linear-gradient(159deg, #57e1bd 0%, #62e09c 55%, #b7f275 100%);
}

.about-list {
	margin-top: 20px;
}
ul.about-list .list-group-item {
	font-size: 16px!important;
}
ul.about-list .list-group-item .fas {
	color: #22aa86;
	padding-right: 5px;
}

.banner-container {
	position: relative;
	overflow: hidden;
	height: 300px;
}
.banner-container > img {
	position: absolute;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
}

/* PAGE */
.archive .site .site-content,
.single .site .site-content,
.page-template-default .site .site-content {
	background-color: #fff;
}
.singular .entry-header {
	border-bottom: 2px solid #111!important;
	padding-bottom: 30px!important;
	margin-bottom: 30px!important;
}

/* HEADER */
.site-logo .custom-logo{
	max-height: auto;
	transition: all ease-out .3s
}

#masthead .flex-menu{
	flex-basis: 10%;
}

#primary-navbar{
	background-color: #26a3f7;
}

#primary-navbar .nav-link{
	font-size: 1.5rem;
	font-family: Arial;
	padding-left: 24px;
	padding-right: 24px;
	color: #fff;
}

#primary-navbar .header-social-icon{
	position: absolute;
	right: 0;
}

/*#primary-navbar.sticky-navbar{
	background-color: #ffffff;
}

#primary-navbar.sticky-navbar .nav-link{
	color: #2e67b2;
}*/

.sticky-navbar{
	position: fixed;
	top:0;
	width: 100%;
	z-index: 1900;
}

.sticky-navbar .site-logo{
	margin-top: 0;
	margin-bottom: 0;
}
.sticky-navbar .site-logo .custom-logo{
	max-height: 50px;
	transition: all ease-out .3s
}
.admin-bar .sticky-navbar{
	top: 32px;
}




/* FOOTER */
.footer-content{
	z-index: 110;
}
.footer-border{
	position: absolute;
	width: 60%;
	height: 150px;
	border-radius: 50%;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	top: 0;
	transform: translate(0,-30%);
	z-index: 100;
}
.widget-title {
	position: relative;
}
.footer-widgets .widget-title {
	font-size: 20px!important;
}
.footer-widgets .widget .widget-title {
	margin-bottom: 24px;
}
.footer-widgets .widget .widget-title:before {
	content: '';
	width: 48px;
	height: 2px;
	border-bottom: 2px;
	text-align: inherit;
	top: 32px;
	position: absolute;
	background-color: #22AA86;
}
.footer-widgets .widget .widget-title:after {
	content: '';
	width: calc(100% - 52px);
	height: 2px;
	border-bottom: 2px solid rgba(0,0,0,.07);
	text-align: inherit;
	top: 32px;
	position: absolute;
	right: 0;
	border-bottom-color: rgba(255,255,255,.16);
}
.footer-widgets a,
.footer-widgets li {
	color: #fff!important;
	font-size: 17px!important;
}
.footer-widgets .widget_text i {
	width: 25px;
	margin-right: 10px;
}
.footer-widgets #text-3.widget_text li,
.footer-widgets #text-4.widget_text li {
	margin-bottom: 10px;
}
ul {
	list-style-type: none!important;
	padding-left: 0!important;
}
.footer-widgets .widget_media_image img {
	width: 170px!important;
	margin-top: 0;
}


/* Section */
#client-slide img{
	/*height: 450px;*/
}
.card-shadow{
	box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.15);
}

.section-1-image{
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(0, 25%);
	max-height: 720px;
}

.section-3-left-background{
	background: url('images/box-02.png') no-repeat top center;
	background-size: cover;
}

.section-3-right-background{
	background-image: url('images/box-03.png');
	background-repeat: no-repeat;
	background-position: top right;
	background-size: 200px;
}

.section-3-divider{
	width: 100px;
	border-bottom: 1px solid #fff;
}

.section-5-slide-item{
	height: 600px!important;
}

.section-5-icon{
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: .75rem 1rem;
	color: #212529;
}
.section-5-icon img{
	max-height: 50px;
	margin-right: .75rem;
}
.section-5-icon-text{
	font-family: Arial;
	word-break: break-all;
}

.package-icon{
	display: inline-block;
	padding: .75em;
	border-radius: 50%;
	background: #fff;
}

.section-contact{
	margin-bottom: -120px;
}
.card-contact{
	position: relative;
	z-index: 120;
}

/* owl fixed */
.owl-dots button{
	background-color: transparent!important
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{
	background-color: #fff!important
}

/* FORM */
.form-control{
	border-radius: 10px!important;
	border: 1px solid #ced4da!important;
}
.form-control:focus{
	outline: 0!important;
}

.contact-from-submit-wrapper{
	text-align: center;
	padding-left: 48px;
}