@import '../../resources/css/font/fontthai.css';
body, html {
	 min-height: 100%;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -o-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #696969;
	background: #eaeaea;
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
    padding: 0;
    font-family: 'THSarabunNewRegular';
    letter-spacing: 0px;
    font-weight: bold;
}

h1 {
    font-size: 40px; 
    font-weight: bold;
}

h2 {
    font-size: 30px; 
    font-weight: bold;
}

h3 {
    font-size: 30px; 
    font-weight: bold;
}

h4 {
    font-size: 28px; 
    font-weight: bold;
}
h5 {
    font-size: 24px; 
    font-weight: bold;
}
h6 {
    font-size: 20px; 
    font-weight: bold;
}

p, ul, ol {
    margin-top: 0;
    line-height: 180%;
}

ul, ol {
}

a {
    text-decoration: none;
    color: #3E3530;
}

a:hover {
}

img.alignleft {
    float: left;
    padding: 0px 20px 0px 0px;
}

#wrapper {
	 width: 100%;
    min-width: 1000px;
    margin: 0 auto;
    padding: 0;
	background: url('tsu.png') #eaeaea no-repeat right bottom;
	-moz-box-shadow:    inset 0 0 10px #000;
    -webkit-box-shadow: inset 0 0 10px #000;
    box-shadow:  inset 0 0 10px #000;
}

/* Header */

#header {
    width: 100%;
    min-width: 1000px;
    height: 100px;
    padding: 0px 0px 10px 0px;
	background:#0c75d1;
	margin-bottom :15px;
	-moz-box-shadow: 0 0 10px #000;
-webkit-box-shadow: 0 0 10px #000;
box-shadow: 0 0 10px #000;

}
#header img {
    padding-left: 30px;

}

/* Logo */

#logo {
    margin: 0;
    padding: 0;
    color: #000000;
}

#logo h1, #logo p {
    margin: 0;
    padding: 0;
}

#logo h1 {
    padding-top: 20px;
    letter-spacing: 1px;
    text-transform: lowercase;
    font: normal 28px 'Mitr', serif;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}

#logo p {
    margin: -10px 0 0 0;
    padding: 0px 0 0 2px;
    letter-spacing: 1px;
    font: normal 18px 'Mitr', serif;
    color: #FFFFFF;
}

#logo a {
    border: none;
    background: none;
    text-decoration: none;
    color: #FFFFFF;
}

/* Search */

#search {
    width: 280px;
    height: 60px;
    padding: 20px 0px 20px 0px;
}

#search form {
    height: 41px;
    margin: 0;
    padding: 10px 0 0 30px;
}

#search fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

#search-text {
    width: 170px;
    padding: 6px 5px 2px 5px;
    border: 1px solid #DEDEDE;
    background: #FFFFFF;
    text-transform: lowercase;
    font: normal 11px Arial, Helvetica, sans-serif;
    color: #5D781D;
}

#search-submit {
    width: 50px;
    height: 22px;
    border: none;
    background: #B9B9B9;
    color: #000000;
}

/* Menu */

#menu {
    width: 980px;
    height: 90px;
    margin: 0 auto;
    padding: 0;
}

#menu ul {
    margin: 0;
    padding: 50px 0px 0px 0px;
    list-style: none;
    line-height: normal;
}

#menu li {
    float: left;
}

#menu a {
    display: block;
    width: 130px;
    height: 30px;
    margin-right: 1px;
    padding: 9px 0px 0px 0px;
    text-decoration: none;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #FFFFFF;
    border: none;
}

#menu a:hover, #menu .current_page_item a {
    text-decoration: none;
}

#menu .current_page_item a {
    padding-left: 0;
}

/* Page */

#page {

    //width: 1030px;
    width:100%;
	min-width: 1000px;
    //margin: 0;
    //background: url('tsu.png') #eaeaea no-repeat right bottom; 

}

#page-bgtop {

}

#page-bgbtm {

    //padding: 15px 0px 2px 0px;
}

/* Content */

#content {
    float: left;
    //width: 700px;
    width: calc(100% - 300px);
    min-width: 700px;
    //display: inline-block;
    padding: 0px 0px 0px 0px;
    background: #fff;
    //margin-left:10px;
    border: 1px solid  lightgrey;
}

.post {
    padding-top: 20px;
    border-bottom: 1px solid #EAEAEA;
}

.post .title {
    clear: both;
    letter-spacing: -1px;
    padding: 10px 10px 0px 40px;
    font-size: 30px;
    color: #0A7A98;
}

.post .title5 {
    clear: both;
    letter-spacing: -1px;
    padding: 10px 10px 0px 20px;
    font-size: 15px;
    color: #000000;
}


.post .title10 {
    clear: both;
    letter-spacing: -1px;
    padding: 10px 10px 0px 0px;
    font-size: 15px;
    color: #000000;
}

.post .title30 {
    clear: both;
    letter-spacing: -1px;
    padding: 10px 10px 0px 40px;
    font-size: 30px;
    color: #0188ca;
}
.post .title20 {
    clear: both;
    letter-spacing: 0px;
    padding: 10px 10px 0px 40px;
    color: #0188ca;
}

.post .title a {
    color: #0A7A98;
    border: none;
}

.post .meta {
    float: right;
    height: 48px;
    text-align: left;
    margin-bottom: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
}

.post .meta .clip {
    display: inline-block;
    width: 450px;
    height: 40px;
    padding: 8px 0px 0px 0px;
    margin: -23px -1px 0px 0px;
    border-bottom-left-radius:25px;
    -webkit-box-shadow: 2px 2px 9px -2px rgba(140,138,140,1);
    -moz-box-shadow: 2px 2px 9px -2px rgba(140,138,140,1);
    //background: url(../../resources/images/user.png) no-repeat left center #1f6ca0;
	background: #1f6ca0;
    text-align: center;
    vertical-align: middle;
    color: #FFEEE7;
}

.post .meta .posted {
    padding: 0px 10px 0px 0px;
    text-transform: lowercase;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    font-style: italic;
    color: #415B62;
}

.post .meta a {
}

.post .entry {
    padding: 0 45px 20px 40px;
    padding-bottom: 20px;
    text-align: justify;

}
.post .leaveform {
    padding: 0 100px 20px 80px;
    padding-bottom: 20px;
    text-align: justify;
    font-size: 14px;
}
.links {
    padding-top: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Sidebar */

#sidebar {
    //float: right;
    float: left;
    width: 265px;
    margin: 0px;
    padding: 0px 10px 0px 10px;
    color: #787878;
    display: inline-block;
}

#sidebar ul {
    margin: 0px 0px 20px 0px;
    padding: 0;
    list-style: none;
}

#sidebar li {
    margin-bottom: 20px;
    border-bottom: 1px solid #D6D6D6;
    background: #FFFFFF;
}

#sidebar li ul {
    margin: 0px 0px 0px 15px;
    padding-bottom: 20px;
    background: none;
    font-size: 15px;
    font-family: 'Kanit', sans-serif;
    list-style-position: outside;
    list-style-type: square;
     
}

#sidebar li li {   
    
    border-bottom: 1px dotted #D7D7D7;
    line-height: 20px;
    margin: 0px 30px;
    padding: 5px 0px 5px 0px;
  
    background: none;
}

#sidebar li li br {
   display: block;
   margin: 10px 0;
}


#sidebar li li span {
    display: block;
    margin-top: -20px;
    padding: 0;
    font-size: 11px;
    font-style: italic;
}

#sidebar ul li h2 {
    padding: 10px 0px 10px 30px;
    background: #F6F6F6;
    letter-spacing: -.5px;
    font-size: 25px;
    color: #696969;
}

#sidebar p {
    margin: 0 0px;
    padding: 0px 30px 20px 30px;
    text-align: justify;
}

#sidebar a {
    border: none;
    color: #727272;
}

#sidebar a:hover {
    text-decoration: underline;
    color: #8A8A8A;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
    padding: 20px;
}

#calendar table {
    width: 100%;
}

#calendar tbody td {
    text-align: center;
}

#calendar #next {
    text-align: right;
}

/* Footer */

#footer {

    height: 50px;
    //margin: 0 auto;
    padding: 0px 0 15px 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #03579b;
    width: 100%;
	min-width: 1000px;
	
}

#footer p {
    margin: 0;
    padding-top: 20px;
    line-height: normal;
    font-size: 14px;
    text-align: center;
    color: #fff;
}

#footer a {
    color: #fff;
    font-weight:bold;
}
#actions {
    margin-left: auto;
    margin-right: auto;
    width: 140px;
}

#actions .button {
    display: block;
    padding: 0;
    height: 36px;
    background: url(bg-button.png) no-repeat top left;
}

#actions .button a {
    display: block;
    padding: 0;
}

#actions .button a:link,
#actions .button a:visited,
#actions .button a:hover,
#actions .button a:active {
    color: #696;
    text-decoration: none;
}

#actions .button a span {
    display: block;
    padding: 6px 10px;
    color: #666;
    text-shadow: 1px 1px 1px #fff;
    font-size: 10pt;
    font-weight: bold;
}
.tableSimply{
    border-collapse: collapse;
    text-align: left;  
}
.tableSimply th{
    color: #222;
    background:#eee;
    padding: 5px 5px;
    border-bottom: 2px solid #ccc;
}
.tableSimply td{
    border-bottom: 1px solid #ccc;
    color: #666;
    background: #fff;
    padding: 4px;    
    vertical-align: top;
}
.tableSimply tbody tr:hover td{
    color: #222;
    background: #eee;
}
/* tables  sort*/

table.tableSimply thead tr .header {
    background-image: url('bg.gif');
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
table.tableSimply thead tr .headerSortUp {
    background-image: url('asc.gif');
}
table.tableSimply thead tr .headerSortDown {
    background-image: url('desc.gif');
}
table.tableSimply thead tr .headerSortDown, table.tableSimply thead tr .headerSortUp {
    background-color: #b0e0e6;
}

.newsdetail{padding : 15px 0px; font-family: 'THSarabunNewRegular';font-size: 24px; font-weight: 500;}
.infocontact{border: solid 1px #fbc02d;background-color:#fff}
.infocontact h6{color: #fff; padding: 5px 5px;text-align: center;background: #F7971E;margin: -1px 0px 0px -1px;}
.infocontact table .infotitle{padding: 5px 5px;font-weight: bold;}