@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Bai Jamjuree");
/* CSS Document */


/*RESET*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;} /*ol, ul{list-style:none;}*/ blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}


html {
	font-size: 70%;
	min-width: 350px;
	
}

/*MAIN*/
body { 
	font-size: 1.7rem;
	line-height: 1.25em;
	font-family: "Bai Jamjuree", sans-serif;


}

.homepage {
	width: 100%;
	height: 20vh;
	min-width: 1100px;
	
  	
  	
	
}

.subpage {
	width: 100%;
	min-width: 1100px;
	padding-top: 75px;
	margin-bottom: 50px;
}

.subpage strong {
	color: rgb(41,104,185);
	font-size: 18px;
}

.blackbold {
	color: rgba(89,89,89);
	font-weight: bold;
	font-size: 18px;
}

.home-content {
	padding-top: 70px;

	padding-left: 50px;
	box-sizing: border-box;
	position: relative;
	background-image: url("images/Background.png");
	background-size: cover;
	min-height: 100vh;
}


.main {
	width: 100%;

	padding-top: 1vh;
	margin-bottom: 60px;
	
}

/*.row to control display column width*/
.row {
	width: 80%;
	max-width: 1500px;
	min-width: 1100px;
	Margin: 0 auto;
	
}

.rowhome {
	width: 80%;
	max-width: 1500px;
	min-width: 1100px;
	Margin: 0 auto;
	text-align: center;
	
}


.row70 {
	width: 70%;
	max-width: 1500px;
	min-width: 1100px;
	margin: 0 auto;
}

table {
    table-layout: fixed;
	width:	100%;
}


.normaltext {
	width: 100%;
	font-weight: normal;
	line-height: 1.4
	text-align: left;
	font-size: 18px;
	font-color: rgb(89,89,89)
}

.titletext {
	width: 100%;
	text-align: left;
	font-weight: bold;
	font-size: 25px;
	color: #2968b9;
}




.layout-table {
	max-width: 1000px;
	width: 100%;
}

.news-content{
	
	min-height: 500px;
	
	
	
}

.responsiveimage1 {
	margin-right: 40px;
}

.responsiveimage2 {
	margin: 5px 20px 40px 0px;
	display:inline;
	float:left;
}

.responsiveimage3 {
	margin: 5px 20px 60px 0px;
	display:inline;
	float:left;
}

.responsiveimage4 {
	margin: 5px 20px 50px 0px;
	display:inline;
	float:left;
}

.responsiveimage5 {
	margin: 20px 0px 0px 0px;
	display:inline;
	float: center;
}


.tabletext {

    	display: block;
    	margin: 5px 0 0 0;
}




a {

	color: black;
	text-decoration: none;
	font-weight: bold;

}

a:hover {

	color: #2968b9;

}

header {

	background-color: white;
	width: 100%;
	min-width: 350px;
	height: 55px;
	position: fixed;
	top: 0;
	left: 0;
	border-bottom: 1px solid #DCDCDC;
	box-shadow: 0 0 10px #333;
	z-index: 100;
}

#logo{

	margin: 1vh 0px;
	float: left;
	width: 250px;
	height: auto;
	display: block;

}

nav {
	font-size: 18px;
	font-size: 1.6rem;
	float: right;
	margin-top: 5px;
margin-right: 5px;
}

#menu-icon {

	display: hidden;
	width: 40px;
	height: 40px;
	background: #0c4ac3 url(images/menu-icon.png) center;

}

a:hover#menu-icon {

	background-color: black;
	border-radius: 4px 4px 0 0;

}

ul {

	list-style: none;

}

ol {
	list-style: decimal;
}

/* li {

	display: inline-block;
	float: left;
	padding: 10px

} */

ul li {

	display: inline-block;
	float: left;
	padding: 10px

}

.toc {
	display: inline;
	float: right;
	margin: 10px 10px 10px 10px;
}




/*dropdown menu*/
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 8px 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #ddd;
color: #2968b9}

.dropdown:hover .dropdown-content {display: block;}





.flex-container {
  display: flex;
  flex-wrap: nowrap;
  background-color: DodgerBlue;
}

.flex-container .box1 {
  background-color: #f1f1f1;
  width: 30%;
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}


.flex-container .box2 {
  background-color: #f1f1f1;
  width: 50%;
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}







.current {

	color: #2968b9;

}

.noncurrent {

	color: #ebe6e6;

}


.copyright-home {
	position: absolute;
        bottom: 0px;
	color: #ebe6e6;
	text-align: center;
	width: 100vw;
	font-size: 0.8em;

}


/*section {s

	margin: 80px auto 40px;
	position: relative;
	padding: 20px;

}*/

h1 {
	
	font-size: 2em;
	color: white;
	line-height: 1.15em;
	margin: 20px 0 20px 0;
	text-align: center;
}

h2 {

	font-size: 1.5em;
	color: white;
	line-height: 1.15em;
	margin: 0 0 20px 0;
text-align: center;;
}

h3 {
	
	font-size: 1.3em;
	color: #e5863f;
	line-height: 1.15em;
	margin: 0 0 20px 0 ;
text-align: center;
}

p {

	line-height: 1.4em;
	margin-bottom: 20px;

}


.mySlides {display:none}
.w3-left, .w3-right, .w3-badge {cursor:pointer}
.w3-badge {height:13px;width:13px;padding:0}
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}





/* ====== Footer ====== */

footer {
  	font-family: "Bai Jamjuree", sans-serif;
  	font-size: 16px;
	font-weight: normal;
  	text-align: left;
  	padding-top: 10px;
  	color: rgba(255, 255, 255, 0.3);
  	position: relative;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: white;
	border-top: 1px solid #DCDCDC;
	box-shadow: 0 0 5px #333;
}

.alignleft {
	float: left;
	padding-left: 10px;
}
.alignright {
	float: right;
	padding-right: 10px;
}

.hangingindent {
  padding-left: 22px ;
  text-indent: -22px ;
} 

.text1 {
	
	text-align: left;
    

}


/* ====== Button ====== */


.btn,
button,
input[type="button"] {
  	display: inline-block;
  	font-family: "Bai Jamjuree", sans-serif;
  	font-weight: 800;
  	font-size: 1.7rem;
  	text-transform: uppercase;
  	letter-spacing: .2rem;
  	height: 2rem;
  	line-height: 2rem;
  	padding: 0 .15rem;
  	margin: 1rem .15rem 3rem 0rem;
 	color: #000000;
  	text-decoration: none;
  	text-align: center;
  	white-space: nowrap;
  	cursor: pointer;
  	-webkit-transition: all 0.3s ease-in-out;
  	transition: all 0.3s ease-in-out;
  	background-color: #c5c5c5;
  	border: .2rem solid #c5c5c5;
}

.btn:hover,
button:hover,
input[type="button"]:hover,
.btn:focus,
button:focus,
input[type="button"]:focus {
  	background-color: #b8b8b8;
  	border-color: #b8b8b8;
  	color: #000000;
  	outline: 0;
}



.btn-animatedbg {
  	position: relative;
  	background: transparent !important;
  	border-color: #e5863f !important;
  	color: #FFFFFF !important;
  	height: 4.6rem;
  	line-height: 4.8rem;
  	padding: 0 3rem 0 3rem;
 	overflow: hidden;
  	z-index: 1;
}

.btn-animatedbg::before {
  	content: "";
  	height: 100%;
  	width: 0;
  	background-color: #e5863f;
  	-webkit-transition: all 0.2s ease-in-out;
  	transition: all 0.2s ease-in-out;
  	position: absolute;
  	top: 0;
  	left: 0;
  	z-index: -1;
}

.btn-animatedbg::after {
  	display: block;
  	content: "";
  	width: 2rem;
  	height: 2rem;
  	background-repeat: no-repeat;
  	background-position: center center;
  	background-size: contain;
  	-webkit-transition: all 0.2s ease-in-out;
  	transition: all 0.2s ease-in-out;
  	margin-top: -1.1rem;
  	position: absolute;
  	top: 50%;
  	right: 4rem;
}

.btn-animatedbg:hover::before {
  width: 100%;
}

.btn-animatedbg:hover::after {
  right: 3rem;
}


/* Slideshow container */
/* Slideshow container */
.slideshow-container {
  max-width: 700px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: grey;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px; font-color: black}
}



/*MEDIA QUERY*/
@media only screen and (max-width : 1100px) {

header {
	position: absolute;
	width: device-width;
	min-width: 350px;
	}
	
footer {

	min-width: 350px;
	}

nav {
	font-size: 3vh;
	}
	
h1 {
	font-size: 1.5em;
	color: white;
	line-height: 1.15em;
}

h2 {
	font-size: 1.4em;
	color: white;
	line-height: 1.15em;
}


h3 {
	font-size: 1.2em;
	color: #e5863f;
	line-height: 1.15em;
}

.main{
	width: 100%;
	min-height: 65vh;

	padding-top: 0vh;
}

.homepage{
	min-width: 350px;
}

.subpage{
	min-width: 350px;
}


.home-content {
	padding-top: 90px;
	padding-bottom: 60px;
	padding-left: 0px; 
	box-sizing: border-box;
	text-align: center; 
	position: relative;
	
}


.slideshow-container {
	padding-left: 0vw;
	padding-right: 0vw;
	position: relative;
}

.responsiveimage {
	width: 100%
}

.responsiveimage1 {
	margin-bottom: 30px;
	padding-left: 0px;
	padding-right: 60px;
}

.responsiveimage3 {
	margin-bottom: 10px;
        margin-right: 10px;
	padding-left: 0px;
	padding-right: 10px;
}

.responsiveimage2 {
	margin: 0px 5px 10px 0px;
	padding-left: 0px;
	padding-right: 10px;
}

.responsiveimage4 {
	margin: 0, 0, 0, 0;
  	width: 100%;
}

.responsiveimage5 {
	margin: 0, 0, 0, 0;
  	width: 100%;
}



.caption {
  color: #f2f2f2;
  font-size: 15px;
  padding: 0px 0px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}




.btn-animatedbg {
  	color: white !important;
}

.row {
	width: 90%;
	min-width: 350px;
	
	

	
	
}

.rowhome {
	width: 90%;
	min-width: 350px;
	
	

	
	
}

.row70 {
	min-width: 350px;
}


.normaltext {
	font-size: 15px;

}

#menu-icon {
	display:inline-block;
	}

nav ul,

            nav:active ul {                                   /*Menu Botton Drop-down*/
                display: none;
                position: absolute;
                padding: 20px;
                background: #fff;
                border: 2px solid #2968b9;
                right: 20px;
                top: 40px;
                min-width: 100px;
                width: 10%;
                border-radius: 4px 0 4px 4px;
				font-size: 18px;
            }

nav li {
	text-align: center;
	width: 100%;
	padding: 5px 0;
	margin: 0;
}

nav:hover ul {
	display: block;
}
	

.tabletext {

    	display: block;
    	margin: 0 0 20px 0;
}

.toc {
	display: block;
	float: none;
	margin: 0 0 0 0;
  	width: 100%;
}

.noncurrent {

	color: #000000;

}

.copyright-home {
	
	width: 100vw;
	font-size: 0.5em;
	text-align: center;
	

}


.text1 {
	align-text: center;

}

.home-content__button{
	
	
	display: flex; 
	justify-content: center; 
	padding: 0px;
	color: white;
}

.alignleft {
	float: center;
	padding-left: 0px;
}
