@import url(font_TH/fontstyle.css);

body{ 
font-family: 'THSarabunNew', sans-serif;
/*line-height: 250%;
font-family: Verdana, Arial, Helvetica, sans-serif;*/
background: #CCC;
/*-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: gray;
filter: grayscale(100%);*/
}
#main-nav {
  position: relative;
}
#main-nav:after {
  position: absolute;
  top: 0;
  left: 0;
  /*content: url(../images/blackbow.png);*/
  z-index: 9999;
}
#body {
padding-top: 50px;
float: center;
width: 940px;
min-height: 100%;
font-size: 22px;
font-weight: bold;
color: #66c1cd;
}
.index{
  position: relative;
  margin: auto;
  width: 940px;
  min-height: 100% !important;
  background-color: #FFFFFF;
}
.indexBG{
position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 940px !important;
    margin: auto;
	z-index: -1;  background-color: #FFFFFF;
}
.index01{
  position: relative;
  float: left;
  width: 525px;
  max-width: 525px !important;
  padding-left: 50px;
  background-color: #FFFFFF;
}
.index02{
  position: relative;
  float: right;
  width: 365px;
  max-width: 365px !important;
  background-color: #FFFFFF;
}
#rightnav{
padding-top: 0px;
padding-right: 20px;
padding-bottom: 25px;
padding-left: 10px;
float: right;
width: 670px !important;
max-width: 670px !important;
/*border: 2px dashed #4c2801;
*/}
#rightnav2{
padding-top: 0px;
padding-right: 20px;
padding-bottom: 25px;
padding-left: 10px;
float: right;
width: 670px !important;
max-width: 670px !important;
/*border: 2px dashed #4c2801;
*/}
#leftnav{
padding-top: 0px;
padding-right: 0px;
padding-bottom: 25px;
padding-left: 0px;
float: left;
width: 230px !important;
max-width: 230px !important;
/*border: 2px dashed #4c2801;
*/}
#leftnav2{
padding-top: 0px;
padding-right: 0px;
padding-bottom: 25px;
padding-left: 0px;
float: left;
width: 230px !important;
max-width: 230px !important;
}
#topic{
padding-top: 30px;
padding-right: 30px;
padding-bottom: 25px;
padding-left: 30px;
font-size: 28px;
font-weight: bold;
color: #000000;
}
.topic2{
padding-right: 10px;
padding-bottom: 10px;
padding-left: 20px;
font-size: 20px;
font-weight: bold;
color: #000000;
}
.block{
margin-top: 10px;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 20px;
width: 200px;
background-color: #f4f4f4;

font-size: 20px;
font-weight: bold;
color: #3e87d9;
}
.block li{
margin: 0px 0px 0px 0px;
list-style-type: none;
display: inline;
font-weight: bold;
text-decoration: none;
}
.block li a {
font-weight: bold;
color: #3e87d9;
text-decoration: none;
}
.block li a:hover{
font-weight: bold;
color:#000000;
text-decoration: none; /*underline*/
}
.block2{
margin-top: 10px;
padding-top: 0px;
padding-right: 2px;
padding-bottom: 10px;
padding-left: 2px;
width: 220px;
/*border: 2px dashed #4c2801;*/

text-align:right;
font-size: 20px;
/*font-weight: bold;*/
color: #333;
}
.h1{
font-size: 20px;
font-weight: bold;
color: #000000;	
/*background-color: #545454;
*/}

.personImg{
  position: relative;
  height: 158px !important;
  width: 120px !important;
  overflow: hidden;	
}
.personImg > img{
  position: absolute;
  height: 158px !important;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}
.counterblog{
	text-align: center;
	background-color: #75cdd7;
	margin: 0 0 0 5px;
	width: 30px;
    float: left;
	font-weight: bold;
	color: #07527c;
}
.buttonblue {
	background-color: #07527c;
	color: #FFF;
	font-size: 25px;
	font-family: 'dsn_patpongregular', sans-serif;
	border-width: 0px;
	letter-spacing: 1.5px;
	cursor: pointer;
}
.buttonblue:hover{
	background-color: #2E83B3;
}


.facebook-button {
  background-color: #1877F2;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
}

.facebook-button:hover {
  background-color: #145dbb;
}
