@font-face {
  font-family: 'Sarabun';
  src: url('sarabun.ttf');
}

* {
	font-family: 'Sarabun';
    box-sizing: border-box;
}


html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}


html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 16px;
}

body {
	background-color: #F5F5F5;
	display: flex;
	flex-flow: column wrap;
	
    height: 100%;
    /* overflow: auto; */
	
	margin: 0;
	padding: 0;
}

body * {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: #000000;
}

body > header {
	background: #dbdbdb;
	
	flex: 0 0 100%;
	width: 0%;
	text-align: center;
}

body > main {
    background: #F5F5F5;
	
	flex: 0 0 calc(100% - 26px);
	width: 100%;
	text-align: center;
    
    overflow: auto;
}


.hamburger {
	z-index: 10;
	padding: 10px;
	display: inline-block;
	cursor: pointer;
	background-color: rgba(0, 18, 57, 0.51);
	border: 0;
	margin: 0;
	position: fixed;
}

.hamburger, .navigation {
	transition: transform .3s .1s ease-in-out;
}

.hamburger-active {
	transform: translatex(11vw);
}

.hamburger_box {
	width: 35px;
	height: 24px;
	display: inline-block;
	position: relative;
}

.hamburger_inner {
	width: 100%;
	height: 3px;
	background-color: #FFFFFF;
	position: absolute;
	
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color .1s .2s ease-in-out;
}

.hamburger_inner::before,
.hamburger_inner::after {
	width: 100%;
	height: 3px;
	background-color: #FFFFFF;
	position: absolute;
	
	content: '';
	left: 0;
	transition: transform .2s .2s ease-in-out;
} 

.hamburger_inner::before {
	top: -10px;
}

.hamburger_inner::after {
	top: 10px;
}

.hamburger-active .hamburger_inner {
	background-color: transparent;
}
.hamburger-active .hamburger_inner:before {
	transform: translateY(10px) rotate(45deg);
}

.hamburger-active .hamburger_inner:after {
	transform: translateY(-10px) rotate(-45deg);
}


body > header > nav {
    height: 100%;
}

body > header > nav > ul {
    list-style: none;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    align-content: space-around;
    height: 100%;
}


.navigation {
	height: 100vh;
	width: 11vw;
	background-color: #dbdbdb;
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(-11vw);
	z-index: 3;
}

.navigation-active {
	transform: translateX(0px);
}


body > header > nav > ul > li {
    display: block;
    color: #424242;
}

body > header > nav > ul > li > a {
    text-decoration: none;
    color: #828282;
}

body > header > nav > ul > li > a:hover {
    color: #424242;
}

body > header > nav > ul > li > a > span.fas {
    display: block;
}

main {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

main > section {
    min-height: 100%;
}

footer {
	flex: 0 0 26px;
	width: 100%;
	text-align: center;
	background: #F5F5F5;
}

h3 {
    text-align: center;
    line-height: 3.5em;
    font-size: 3em;
    color: #F5F5F5;
    text-shadow: 2px 0 0 #000000, -2px 0 0 #000000, 0 2px 0 #000000, 0 -2px 0 #000000, 1px 1px #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
}

.breakLine {
	height: 4vh;
	background: #F5F5F5;
}



main > section {
    display: flex;
}
main > section > .box-text {
    flex: 0 0 50%;
    text-align: justify;
    padding: 5vh;
}
main > section > .box-image {
    flex: 0 0 100%;
    background: rgba(243, 146, 33, 0.3);
	display: flex;
	justify-content: center;
}
main > section#home > .box-image, main > section#about > .box-image {
	background: rgba(243, 146, 33, 0.22);
}
main > section > .box-image > .box-text {
	flex: 0 0 75%;
	height: 100%;
	padding: 5vh;
	text-align: justify;
}
main > section > .box-image > .box-text > p, main > section > .box-image > .box-text > .likeP {
	line-height: 2.1em;
	font-size: 1.1em;
	position: relative;
	background: rgba(255, 255, 255, 0.35);
	padding: 4%;
}
main > section > .box-image > .box-text * {
	list-style: none;
    padding-bottom: 1.6em;
}
main > section > .box-image > .box-text h4 {
	text-align: center;
}
main > section > .box-image > .box-text ul li::before {
	font-family: "Font Awesome 5 Free";
	content: '\f0a4';
	/* color: #0054c9; */
	color: #5F5F5F;
	padding-right: 10px;
}
main > section > .box-image > .box-text ul li {
	padding-bottom: 1.5vh;
	padding-left: 10px;
}



.table-main {
	background: rgba(255, 255, 255, 0.35);
}
.table-info {
	width: 90%;
	margin: 0px auto;
	display: flex;
	flex-flow: row wrap;
}
.table-info * {
	padding: 5px;
}
.table-info-title {
	flex: 0 0 30%;
	text-align: right;
}
.table-info-value {
	flex: 0 0 70%;
}
.table-day * {
	text-align: left;
}
.table-day .table-info-title {
	text-align: right;
}



#home {
    background: url('../../assets/images/bg_home.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
}

#home > div {
    background: rgba(243, 146, 33, 0.3);
    width: 100%;
    height: 100vh;
    color: #F5F5F5;
    text-shadow: 2px 0 0 #000000, -2px 0 0 #000000, 0 2px 0 #000000, 0 -2px 0 #000000, 1px 1px #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
}
#home > div > h2 {
    line-height: 2.5em;
    font-size: 1.8em;
}
/* #home > div > h3 {
    line-height: 76px;
    font-size: 34px;
} */
.logoMain {
	background: url('../../assets/images/logo.png') no-repeat center center;
	background-size: auto;
	display: block;
	width: auto;
	height: 40%;
	margin-top: 22vh;
	background-size: contain;
}




.png-div {
	position: relative;
	z-index: 2;
	float: left;
	width: 65%;
}
 
.png-container {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin: 2%;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}
 
.image {
	position: relative;
	z-index: 1;
	width: 100%;
}
 
.image-shadow {
	width: 100%;
	position: absolute;
	left: auto;
	top: 0px;
	right: 0px;
	z-index: 0;
	-webkit-filter: drop-shadow(0 0 2px #e3e3e3);
	filter: drop-shadow(0 0 2px #e3e3e3);
	-webkit-transform: skew(0deg, 0deg);
	-ms-transform: skew(0deg, 0deg);
	transform: skew(0deg, 0deg);
}







#about {
	background: url('../../assets/images/bg_about.jpg') no-repeat center center;
	background-size: cover;
}
#about .likeP {
	text-align: center;
}


#services {
	background: url('../../assets/images/bg_services.jpg') no-repeat center center fixed;
	background-size: cover;
}
/*
#services > .box-image {
    flex: 0 0 25%;
    
    background-size: cover;
}
#services > .box-image::after {
    background: rgba(1, 56, 77, 0.55);
    content: " ";
    display: block;
    height: 100%;
    width: 100%;
}
#services > .box-text {
    flex: 0 0 50%;
    text-align: justify;
    padding: 5vh;
}
#services > .box-text > * {
    list-style: none;
    padding-bottom: 2vh;
}
#services > .box-text > ul > li {
	padding-bottom: 1.5vh;
}
*/

#clients {
    display: flex;
    background: url('../../assets/images/bg_clients.jpg') no-repeat center center fixed;
    background-size: cover;
}
#clients > .color-filter {
    background: rgba(1, 56, 77, 0.55);
    display: block;
    flex: 0 0 100%;
    width: 100%;
}

#contact {
    display: flex;
    background: url('../../assets/images/bg_contact.jpg') no-repeat center top;
    background-size: cover;
}
#contact > .color-filter {
    background: rgba(243, 146, 33, 0.3);
    display: block;
    flex: 0 0 100%;
    width: 100%;
}
#contact .form > h3 {
    margin-top: 3%;
}

#contact-main {
    display: flex;
    flex-flow: column wrap;
}
.input-field, .input-field-check {
    width: 60%;
    margin: 0 auto 1%;
}
.input-field > * {
    padding: 0.3%;
	border: 2px solid rgba(255, 255, 255, 0);
	border-bottom: 2px solid #0054c9;
	background: rgba(255, 255, 255, 0.3);
	padding: 6px;
}
.input-field > *:focus {
	border: 2px solid #0054c9;
}
.input-field * {
    width: 100%;
}
.input-field > .wrong {
	border: 2px solid #9E2419;
	background: rgba(249, 214, 211, 0.3);
}


.input-field-check {
    font-size: 1.4em;
    color: #F5F5F5;
    text-shadow: 2px 0 0 #000000, -2px 0 0 #000000, 0 2px 0 #000000, 0 -2px 0 #000000, 1px 1px #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
}

#services-add {
    display: none;
}
#services-add:checked~.remove-check {
    display: none;
}
#services-add:checked~#contact-services {
	display: block;
}

#contact-services {
  display: none;
}


.form form {
    padding: 2% 0px;
}
.form form button {
    line-height: 2em;
	font-size: 1.4em;
    background: none;
    border: none;
    text-align: center;
    padding: 0.3em 2vw;
    color: #F5F5F5;
    text-shadow: 2px 0 0 #000000, -2px 0 0 #000000, 0 2px 0 #000000, 0 -2px 0 #000000, 1px 1px #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
	cursor: pointer;
}
.form form button:hover {
    background: rgba(1, 56, 77, 0.55);
}

.form form .showMore {
	width: 100%;
	cursor: pointer;
	display: inline-block;
	padding: 5px;
}
.form form .showMore:hover {
	background: rgba(1, 56, 77, 0.55);
}
.form form .permissionDiv {
	width: 60%;
	color: #F5F5F5;
	text-shadow: 2px 0 0 #000000, -2px 0 0 #000000, 0 2px 0 #000000, 0 -2px 0 #000000, 1px 1px #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000;
	margin: 0px auto;
}

#localization {
	display: flex;
	flex-flow: row wrap;
	position: relative;
}

#mapLocalization {
	flex: 0 0 100%;
}


/*  alertNew style  */
.alertNew:before {
	content: ' ';
	background: rgba(0, 0, 0, 0.5);
	width: 100vw;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
}

.alertNew {
	position: fixed;
	width: 300px;
	min-height: 75px;
	z-index: 2;
	text-align: center;
	
	opacity: 0;
	transition: opacity 2s ease-in-out;
	-moz-transition: opacity 2s ease-in-out;
	-webkit-transition: opacity 2s ease-in-out;
}
.alertNew:first-of-type {
	opacity: 1;
}


.alertNew > div {
	position: absolute;
	width: 100%;
	height: auto;
	background: #F5F5F5;
	margin: 20vh 42vw;
	max-height: 350px;
	overflow: auto;
}
.alertNew > div > .alertTitle {
	width: 100%;
	text-align: center;
	font-size: 1em;
	font-weight: bold;
	padding: 3px;
}
.alertNew ol, .alertNew ul {
	margin: 5px;
	list-style: none;
}
.alertNew > div > p {
	text-align: left;
	padding: 0px 20px;
}
.alertNew > div > button {
	margin: 6px;
	min-width: 60px;
	background: rgba(0, 0, 0, 0.2);
	border: none;
	padding: 2px;
}
.alertNew > div > button:hover {
	background: rgba(0, 0, 0, 0.4);
}
.alertNew > div.default > .alertTitle {
	background: #818181;
	border-bottom: 2px solid #191919;
}
.alertNew > div.default {
	background: #DFDFDF;
}
.alertNew > div.success > .alertTitle {
	background: #4BEC13;
	border-bottom: 2px solid #34A50D;
}
.alertNew > div.success {
	background: #DBFBCF;
}
.alertNew > div.error > .alertTitle {
	background: #E23425;
	border-bottom: 2px solid #9E2419;
}
.alertNew > div.error {
	background: #F9D6D3;
}




#colorChange {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}


.images-line {
	height: 320px;
	margin: 40px 0px 0px;
	display: flex;
	flex-flow: column wrap;
	justify-content: space-around;
	align-content: space-around;
}
.images-line * {
	width: max-content;
}



.class-w50 {
	height: 100%;
	width: 49.8%;
	display: inline-block;
	margin: 0px;
	padding: 0px;
}
.classTest {
	background: rgba(243, 146, 33, 0.3);
	display: block;
	height: 100%;
	top: 0;
	position: absolute;
	width: 50%;
}






@media only screen and (max-width: 786px), only screen and (max-device-width: 786px) {
	
	body > main {
		flex: 0 0 calc(100% - 70px);
	}
	
	body > footer {
		flex: 0 0 70px;
		font-size: 1.5em;
	}
	
	main > section > .box-image > .box-text {
		flex: 0 0 100%;
		padding: 0px;
		font-size: 2.2em;
	}
	
	.images-line {
		align-items: center;
		flex-flow: column;
		justify-content: space-between;
	}
	
	.png-container {
		margin-top: 10vh;
	}
	
	.png-div {
		width: 100%;
	}
	
	.hamburger-active {
		transform: translatex(25vw);
	}
	
	.navigation {
		width: 25vw;
		transform: translateX(-25vw);
	}
	
	.navigation-active {
		transform: translateX(0px);
	}
	
	.input-field, .input-field-check {
		width: 90%;
		font-size: 2.2em;
	}
	
	.class-w50 {
		width: 100%;
	}
	
	main > section > .box-image > .box-text > p, main > section > .box-image > .box-text > .likeP {
		font-size: 18px;
	}
}

