/* import font-family from google-font */
/*  font-family: "Prompt"  */
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*  font-family: "Trirong"  */
@import url('https://fonts.googleapis.com/css2?family=Taviraj:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Trirong';
	src: url("https://fonts.googleapis.com/css2?family=Taviraj:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap")
}
@font-face {
    font-family: 'Prompt';
    unicode-range: U+0E00–U+0E7F;
	src: url("https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
}
* {
    margin: 0; 
	padding: 0;
	-webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
html, body {
	width: 100%;
	border:0px;
	min-height: 100%; /* real browsers */
	height: auto !important; /* real browsers */
	height: 100%; /* IE6 bug */
	overflow-y: auto;
	overflow-x: hidden !important; 
	text-align: center;
	font-family: "Prompt", "Angsana New", sans-serif;
	/*font-family: 'Sarabun', sans-serif; */
	font-weight: 400;
	font-style: normal;
	background-color: #f4f4f4; 	
	color: #3D3D3D;
}
html {
	font-size: 62.5%;
}
body {  
    font-size: 1.6em;	
}
/* -------------------------------  for all page ---------------------------*/
.wrapper {
	display: block;
	min-height: 100%; /* real browsers */
	height: auto !important; /* real browsers */
	height: 100%; /* IE6 bug */
	margin-bottom: 0px; /*  */
}
.container {
	display: block;
	/*box-shadow: 0 1px 2px rgba(0,0,0,0.1);*/
	min-width: 100%; /* real browsers */
	width: auto !important; /* real browsers */
	width: 100%; /* IE6 bug */
	padding-top: 60px;
}
.content {
	display: flex;
	flex-wrap: wrap;
	align-items: center; 	
	justify-content: center;
	min-height: auto;  /*real browsers */
  	height: auto !important; /* real browsers */
	background: none;
	padding: 30px;
}
/* 48em = 768px  mobile=415px*/
@media screen and (min-width: 415px) {
	.content {  
		align-items: flex-start;
		justify-content: center;
	}
}
.content p {
	line-height: 1.8;
}
a {
	text-decoration-line: none;	
	color: #B78437;
}
a:hover {
	text-decoration-line: underline;	
	cursor:pointer;
}
.text-heading {
	width: 100%; 
	height: auto; 
	padding: 30px;
	text-align: center;
}
.text-underline-gradient {
	border-bottom: 2px solid transparent;
	border-image: linear-gradient(0.25turn, rgba(56,2,155,0),  #163450, rgba(56,2,155,0));
    border-image-slice: 1;
    width: 100%;
}
.text-content {
	display: block;
    width: 100%;  
	padding: 30px;
	border-radius: 5px;
}
.text-box {
	display: flex;
	/*justify-content: space-around;*/
	width: 100%;
	min-width: 100%;
}
.text-content .text-box { 
	flex-wrap: wrap;
	text-align: left;
	padding: 30px 0px;
}
@media screen and (min-width: 767px) { /* tablet and web */
	.text-heading, .text-content {
		width: 80%; 
	}
	.text-content .text-box {
		padding: 30px;
	}
}
.headding-text-box {
	color: #163450;
	font-weight: 600;
	font-size: 130%;
	padding: 0px;
}
.width-100 { 
	min-width: 100%;
	width: 100%;
}
.padding-0 { padding: 0px;}
.padding-30 { padding: 30px;}
.padding-top-30 { padding-top: 30px;}
.padding-bottom-30 { padding-bottom: 30px;}
.padding-left-30 { padding-left: 30px;}
.padding-right-30 { padding-right: 30px;}
.padding-left-right-20 { padding: 0px 20px;}
.padding-top-bottom-10 { padding: 10px 0px;}
.padding-top-bottom-30 { padding: 30px 0px;}
.bg-white {	background-color: #ffffff;}
.clear { clear: both; }
.align-center { text-align: center; }
.align-left { text-align: left;}
.align-right { text-align: right;}
.float-left { float: left;}
.float-right { float: right;}
/* sccoll for top  */
#scroll {
    display: none;
    position: fixed;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #B78437; /*���*/
    text-indent: -9999px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px
}
#scroll span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -12px;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-bottom-color: #ffffff;
}
#scroll:hover {
    background-color: #296475;
	opacity: 1;
	filter: "alpha(opacity=100)";
    -ms-filter: "alpha(opacity=100)";
}
/* ------------------------- index.html ---------------------------- */
.main-about {
	display: block;
	float: center;
    width: 100%;  
	padding: 30px;
}
@media screen and (min-width: 48em) { /* tablet and web */
	.main-about {
		width: 80%;
	}
}
.logo-mou {
	display: inline-block;
	border: 0px solid black;
	padding: 0px 20px;
	vertical-align: middle;
}
.main-products {
	width: 100%; 
	height: auto; 
}
.main-products-item {
	display: flex;
	flex-wrap: none;
	width: 100%; 
	height: auto; 
	padding: 30px 0px;
	border-radius: 5px;
}
.main-products-item img {
  	width: 100%;
	height: auto;
	padding-bottom: 30px;
	border: 0px solid red;
}
.main-products-item a {
	display: block;
	width: 100%;
	border: 0px solid red;
	padding: 20px;
}

@media screen and (min-width: 767px) { /* tablet and web */
	.main-products {
		width: 80%; 
		height: auto; 
	}
	.main-products-item {
		flex-wrap: wrap;
		justify-content: space-around;
		float: left;
		width: 33.33%;
		padding: 30px 30px 0px 30px;	
  		overflow: hidden; /* Removing this will break the effects */
	}
	.main-products-item img {
		width: 100%;
		height: auto;
		transition: transform .5s ease;
		border: 0px solid red;
	}
	.main-products-item img:hover {
		transform: scale(1.2);
	}
}
/* ------------------------- Footer ---------------------------- */
.footer {
	width: 100%;
	display: block;
	height: auto;
	min-height: 30px; /*  */
	padding: 40px 30px;
	background-color: #163450;	
	color: #F2F2F2;
	font-weight: 400;
	font-style: normal;
}
.footer a {
	text-decoration-line: none;	
	color: #ffffff;
}
.footer  a:hover {
	text-decoration: underline;
}
.footer .text-topic {
	font-size: 1.5em;
	font-weight: 500;
	color: #ccc;
	padding: 0px 0px 10px 0px;
}
/* mobile */
.footer-content {
	width: 100%;
	background-color: #163450;	
}
.footer-page, .footer-contact { 
	display: inline-block;
	vertical-align: top;
	text-align: left;
	width: 100%;
	padding: 30px;
}
.footer li {
	padding-top: 10px;
	text-decoration: none;
	list-style: none;
	overflow: hidden;	
}
/* 48em = 768px  mobile=480px*/
@media screen and (min-width: 48em) { /* tablet and web */
	.footer {	
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
	}
	.footer-content{
		width: 80%;
	}
	.footer-page {
		display: block;
		text-align: left;
		float: left;
		width: 30%;
	}
	.footer-contact {
		display: block;
		float: right;
		text-align: right;
		width: 70%;
		max-width: 450px;
	}
}
/* ------------------------- End Footer ---------------------------- */
/* ------------------------- Error 404 page ---------------------------- */
.error-wrapper {
    font-family: Arial, sans-serif;
    background-color: #D3D3D3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.error-container {
    width: 40%;
    text-align: center;
    background-color: #fff;
    padding: 80px 50px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.error-container h1 {
    font-size: 5rem;
    color: #ff5733;
}
.error-container p {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}
.error-container a {
    text-decoration: none;
    background-color: #ff5733;
    color: #fff;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.error-container a:hover {
    background-color: #e6482e;
}
/* ------------------------- END Error 404 page ---------------------------- */

/* ---------------------- about.php ----------------------- */
#about.text-content img {
	width: 100%;
	height: auto;
}
@media screen and (min-width: 48em) { /* tablet and web */
	#about.text-content img {
		width: 45%;
		box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	}
}
#about .news {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	-webkit-box-align:start;
	-webkit-align-items:flex-start;
	-ms-flex-align:start;
	align-items:flex-start;
	padding: 0px ;
}
@media screen and (min-width: 767px) { /* tablet and web */
	#about .news { padding: 0px 30px ; }
}
/* ---------------------- END about.php ---------------------- */
/* ------------------- products.php ---------------------- */
.tab-products {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	-webkit-box-align:start;
	-webkit-align-items:flex-start;
	-ms-flex-align:start;
	align-items:flex-start;
	padding: 0px;
}
.tab img { width: 100%;}
@media screen and (min-width: 767px) { /* tablet and web */
	.tab img { width: 30%;}
}
.MIT-Phone { display: block; }
.MIT-Web { display: none; }
@media only screen and (min-width: 912px) { /*for web */
	.MIT-Phone { display: none; }
	.MIT-Web { display: block; }
}
/* for image full screen  */
.modal { 
    display: none; /* Hidden by default none */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    padding-top: 0px; /* Location of the box */
    padding-bottom: 0px; /* Location of the box */
    left: 0;
    top: 0;
	bottom: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	-webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
	overflow: hidden;
}
.modal-content {
	display: block;
    align-items: center;    /* Centers vertically */
	width: auto;
    height: 100vh;      /* Ensures the body takes full viewport height */
    margin: 0; 
    padding: 0px;
}
.modal-content img {
	max-height: 100%;
	max-width: 100%;
}
.modal-content .big-img {
	height: auto;
	width: auto;
}
.close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	background: none;
	color: black;
	transition: .5s ease-in-out;
}
/* end image full screen  */
/* ------------------- END products.php ---------------------- */
/* ---------------------- news.php ----------------------- */
.news {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	-webkit-box-align:start;
	-webkit-align-items:flex-start;
	-ms-flex-align:start;
	align-items:flex-start;
	padding: 0px;
}
.news-content {
	width: 100%;
	height: 200px;
	height: auto;
	text-align: left;
	padding: 20px;
	margin-bottom: 20px;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 767px) { /* tablet and web */
	.news-content {
		width: 49%; 
		padding: 3%;
	}
}
@media screen and (min-width: 1064px) { /* tablet and web */
	.news-content {
		width: 31%; 
		padding: 3%;
	}
}
.news-content-img img {
	width: 100%;
	height: auto;
	border-radius: 5px;
}
#news-details .text-box img {
	width: 100%;
	height: auto;
	border-radius: 5px;
}
@media screen and (min-width: 1064px) { /* tablet and web */
	#news-details .text-box img {
		width: 100%;
	}
}
#news-details .text-box {
	padding: 10px 0px;
}
.heading_link_news {
	text-decoration: none;
	font-family: "Prompt", "Angsana New", sans-serif;
	font-weight: 600;
	font-size: 130%;
	color: #163450;
	background-color: #fff;
    padding: 10px 0px;
	border: 0px;
	cursor:pointer;
}
.heading_link_news:hover {
	color: #B78437;
}
.link_news {
	text-decoration: none;
    background-color: #fff;
    color: #B78437;
    padding: 10px 0px;
    border-radius: 3px;
	font-weight: bold;
	border: 0px;
	cursor:pointer;
	font-family: "Prompt", "Angsana New", sans-serif;
	font-weight: 400;
	font-style: normal;
}
.link_news:hover {
	text-decoration-line: underline;	
}
.target_news {
	font-family: "Prompt", "Angsana New", sans-serif;
	font-weight: 40%;
	font-style: normal;
	color: #000000;
	text-align: left;
	padding-left: 0px;
}
/* ---------------------- END news.php ----------------------- */
/* ------------------------- contact.php page ---------------------------- */
.contact {
	width: 100%; 
	height: auto; 
	padding: 15px 0px 30px 0px;
	text-align: left;
	background-color: #fff;	
	border-radius: 5px;
}
.contact-item {
	flex-wrap: wrap;
	width: 100%; 
	height: auto; 
	padding: 10px 30px 30px 30px;
	text-align: left;
}
.contact .text-box {
	flex-wrap: none;
	padding: 5px 0px;
}
.google-map {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	width: 100%; 
	min-height: 350px;
	height: auto;
	padding: 30px 0px;
}
.google-map iframe {
     height: 100%;
     width: 100%;
     left: 0;
     top: 0;
	 position: absolute;
	 border: 0;
}
@media screen and (min-width: 767px) { /* tablet and web */
	.contact {
		width: 80%; 
		height: auto; 
		padding: 30px;
		text-align: center;
	}
	.contact-item, .google-map {
		justify-content: space-around;
		width: 50%;
		padding-right: 30px;	
		margin: 0px;
		border-radius: 5px;
	}
	.contact-item {
		width: 45%;
		max-width: 500px;
	}	
}
.contact-item .contact-svg {
	float: left;
	min-width: 68px;
	width: auto;
	height: auto;
	justify-content: top;
}
.contact-text {
	justify-content: top;
}
.contact-item .contact-text {
	padding-left: 10px;
}
/* ------------------------- END contact.php page ---------------------------- */