@font-face {
    font-family: 'THSarabunNew';
    src: url('THSarabunNew/THSarabunNew.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    background: url("../images/bg.jpg");
	font-family: 'THSarabunNew';
font-size:1.5em;
line-height: 1;
color:#2F4F4F;
}
.borderp {
background-color:#D2B48C;
opacity: 0.9;

}
.border1{
opacity: 1;	
}
.search-container button {
  float: center;
  padding: 5px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background: #863e0e;
  font-size: 25px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
.search-container {
  float: center;
  padding-top:40px;
  padding-bottom:40px;
  font-size:1.5em;
}


.mobile-menu {
  display:block;
  width:100%;
background: #863e0e;
line-height: 1em;
font-size:1.5em;
font-weight: 400;
width:100%;
text-align:center;
position: relative;
margin:0 auto;

}
/*Strip the ul of padding and list styling*/
.mobile-menu ul {
	list-style-type:none;
  margin: 0 auto;
  padding-left:0;
  text-align:center;
  width:100%;
  position: absolute;
  background: #863e0e;
}

/*Create a horizontal list with spacing*/
.mobile-menu li {
	display:inline-block;
	/*float: left;
	margin-right: 1px;*/
}

/*Style for menu links*/
.mobile-menu li a {
	border-style: solid;
border-color: #863e0e #3f3b21 #863e0e #863e0e;
	display:block;
	min-width:250px;
	text-align: center;

	color: #fff;

	background: #863e0e;
	text-decoration: none;
  margin-left:-5px;
  padding: 10px 0;  
-webkit-transition: all 0.4s ease 0s;
-moz-transition: all 0.4s ease 0s;
-ms-transition: all 0.4s ease 0s;
-o-transition: all 0.4s ease 0s;
transition: all 0.4s ease 0s;
}

/*Hover state for top level links*/
.mobile-menu li:hover a {
	color: #fff;
  background-color:#989898;
}

/*Style for dropdown links*/
.mobile-menu li:hover ul a {
	background: #f3f3f3;
	color: #2f3036;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
.mobile-menu li:hover .mobile-menu ul a:hover {
	color: #4db3ff;
}

/*Hide dropdown links until they are needed*/
.mobile-menu li ul {
	display: none;
}

/*Make dropdown links vertical*/
.mobile-menu li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
.mobile-menu li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}


/*Style 'show menu' label button and hide it by default*/
.mobile-menu .show-menu {
	text-decoration: none;
	color: #fff;
	background: #863e0e;
	text-align: center;
	padding: 10px 15px;
	display: none;
  cursor: pointer;

}

.mobile-menu .show-menu span{
   padding-left: 35px;
}

/*Hide checkbox*/
.mobile-menu input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
.mobile-menu input[type=checkbox]:checked ~ #menu{
    display: block;
}

/*Responsive Styles*/

@media screen and (max-width : 800px){
  .mobile-menu .lines {
    border-bottom: 15px double #f8f8f8; 
    border-top: 5px solid #f8f8f8; 
    content:"";
    height: 5px; 
    width:20px;
    padding-right:15px;
  float: right;
}
	/*Make dropdown links appear inline*/
	.mobile-menu ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	.mobile-menu li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
	.mobile-menu ul li, .mobile-menu li a {
		width: 100%;
	}
	/*Display 'show menu' link*/
	.mobile-menu .show-menu {
		display:block;
	}
}

li.s1 a { background: brown }

.ui-tabs .ui-tabs-nav li {
    width:45%;
	text-align: center;
	background:tan;
	color: black
}
.ui-tabs .ui-tabs-nav li a {
    display: inline-block;
    float: none;
    padding: 5px;
    text-decoration: none;
    width: 100%;
	color: black
}
.ui-tabs .ui-tabs-nav
{
background: #863e0e;
}
.ui-tabs-active { background-color: white !important;

 }
.borderp2 {
background-color:white;
opacity: 0.8;
position:relative;
margin-top:75px;
margin-left:100px;
margin-right:100px;
}
.center {
	text-align:center;
}
.topic_font {
	font-size:4em;
}
.bold {
font-weight:bold; }
.normal_font { 
font-size:2em;
}
.font-color-white {
	color:white;
}
.borderp3 {
background-color:#863e0e;
letter-spacing: 1.5px;
}
.p-left {
margin-left:100px; }
.normal_font2 { 
font-size:1em;
}
.normal_font3 { 
font-size:1.5em;
}
.normal_font4 { 
font-size:1.5em;
}
ul.image {
    width: 50%;
    margin: auto;
}
.borderp4 {
background-color:white; 
font-size:25px;
width:600px;
}
img.g1 {
    float:left;
}
h3.g1 {
    float:right;
}
#slider {
  width: 720px;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  margin: 20px auto;
}
/*the sildeer div has a defined width and height which acts as a screen inside another screen*/

#slider .slides {
  display: block;
  width: 60000px;
  height: 400px;
  margin: 0;
  padding: 0;
}
/*the list inside has a greater width and height to cover all the slideX with a display block type*/

#slider .slide {
  float: left;
  list-style-type: none;
  width: 720px;
  height: 400px;
  text-align: left;
  font-size: 30px;
  color: black;
  background: white;

}

#slider .slide p{
  position: relative;
  top:20px;
  
}
.lh { 
	text-indent: 50px;
line-height:1.5em;
}

.indent {
	text-indent: 30px;
}
.black {
	color:black;
}
.brown {
	color:brown;
}
.blue { 
color:blue;
}
.topic_news {
	font-size:1.2em;
	font-weight:bold;
	color:#696969;
	line-height:1.5;
}
.body_news { 
	color:#696969;
	line-height:1.25;
}
.borderp5 {
background-color:white;
font-size:25px;
position:relative;
margin-top:75px;
margin-left:200px;
margin-right:200px;
padding:50px;
}
.right { 
text-align:right;
}