@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%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* Header */

#header {
    width: 100%;
    height: 100px;
    padding: 0px 0px 10px 0px;
    background:  #0083b0;
    background-image: linear-gradient(330deg, rgba(225, 225, 225, 0.05) 0%, rgba(225, 225, 225, 0.05) 33.333%,rgba(114, 114, 114, 0.05) 33.333%, rgba(114, 114, 114, 0.05) 66.666%,rgba(52, 52, 52, 0.05) 66.666%, rgba(52, 52, 52, 0.05) 99.999%),linear-gradient(66deg, rgba(181, 181, 181, 0.05) 0%, rgba(181, 181, 181, 0.05) 33.333%,rgba(27, 27, 27, 0.05) 33.333%, rgba(27, 27, 27, 0.05) 66.666%,rgba(251, 251, 251, 0.05) 66.666%, rgba(251, 251, 251, 0.05) 99.999%),linear-gradient(225deg, rgba(98, 98, 98, 0.05) 0%, rgba(98, 98, 98, 0.05) 33.333%,rgba(222, 222, 222, 0.05) 33.333%, rgba(222, 222, 222, 0.05) 66.666%,rgba(228, 228, 228, 0.05) 66.666%, rgba(228, 228, 228, 0.05) 99.999%),linear-gradient(90deg, rgb(28, 20, 63),rgb(40, 160, 253));
	margin-bottom :15px;
    -moz-box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    top: 0;
	 position: fixed;
	 z-index: 9999;

}

@media only screen and (min-width: 1000px){
    #wrapper {min-width: 1000px;}
    #header {min-width: 1000px;  
	background-image: linear-gradient(330deg, rgba(225, 225, 225, 0.05) 0%, rgba(225, 225, 225, 0.05) 33.333%,rgba(114, 114, 114, 0.05) 33.333%, rgba(114, 114, 114, 0.05) 66.666%,rgba(52, 52, 52, 0.05) 66.666%, rgba(52, 52, 52, 0.05) 99.999%),linear-gradient(66deg, rgba(181, 181, 181, 0.05) 0%, rgba(181, 181, 181, 0.05) 33.333%,rgba(27, 27, 27, 0.05) 33.333%, rgba(27, 27, 27, 0.05) 66.666%,rgba(251, 251, 251, 0.05) 66.666%, rgba(251, 251, 251, 0.05) 99.999%),linear-gradient(225deg, rgba(98, 98, 98, 0.05) 0%, rgba(98, 98, 98, 0.05) 33.333%,rgba(222, 222, 222, 0.05) 33.333%, rgba(222, 222, 222, 0.05) 66.666%,rgba(228, 228, 228, 0.05) 66.666%, rgba(228, 228, 228, 0.05) 99.999%),linear-gradient(90deg, rgb(28, 20, 63),rgb(40, 160, 253));
	}

}


#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);
     text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.2), 
               1px 1px 1px rgba(0, 0, 0, 0.6);
}

@media only screen and (max-width: 780px){
    #logo h1 {padding: 10px 35px 0px 0px;font: normal 16px 'Mitr', serif;}
    #logo p {padding: 10px 35px 0px 0px;margin: -5px 0 0 0;font: normal 14px 'Mitr', serif;}
    #header img {padding-left: 10px;}
}

#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 {
    margin-top: 120px; 
    min-height: 100%;
    height: auto !important;
    height: 100%;
    // margin: 0 auto -50px;
    width:100%;
    background: url('tsu.png') #eaeaea no-repeat right bottom;
    padding-bottom: 55px;
    //background: url('tsu.png') #eaeaea no-repeat right bottom; 

}

@media only screen and (min-width: 1000px){
    #page {min-width: 1000px;}
}

/* Content */

#content {
    float: left;
    width: 99%;
    padding: 0px 0px 80px 0px;
    background: #fff;
    border: 1px solid  lightgrey;

}

@media only screen and (min-width: 1000px){
    #content { width: calc(100% - 300px);min-width: 700px;}
}


.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;
    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 30px;
    color: #0188ca;
    border-left: 10px solid #328be9;
}

.post .title21 {
    clear: both;
    letter-spacing: 0px;
    margin: -10px 40px 0px 40px;
    color: #585858;
    border-bottom: 5px solid #cccccc;
}


.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: 100%;
    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-image: linear-gradient(to right, #ED632A, #EA9B36);
    text-align: center;
    vertical-align: middle;
    color: #FFEEE7;
}

@media only screen and (min-width: 1000px){
    .post .meta .clip {width: 450px; margin: -23px -1px 0px 0px;}  
}


.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 5px 5px 5px;
    text-align: justify;

}


@media only screen and (min-width: 1000px){
    .post .entry {padding: 0 45px 20px 40px;}
}

.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 */

.nav > #nav-check {
    display: none;
}

@media only screen and (max-width: 999px){

    .nav > .nav-btn {
        display: inline-block;
        position: fixed;
        right: 0px;
        top: 0px;
		z-index: 10000;
    }
    .nav > .nav-btn > label {
        display: inline-block;
        width: 30px;
        height: 40px;
        padding: 10px 5px 0px 10px;
    }
    .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
        background-color: rgba(0, 0, 0, 0.3);
    }
    .nav > .nav-btn > label > span {
        display: block;
        width: 25px;
        height: 10px;
        border-top: 3px solid #eee;
    }
    .nav > .nav-links {
        position: absolute;
        overflow-x: hidden;
		background-color: rgba(0, 0, 0, 0.5);
       
    }
    .nav > #nav-check:not(:checked) ~ .nav-links {
        width:0px;
    }
    .nav > #nav-check:checked ~ .nav-links{
         //width:276px;
		width:100%;
		transition: 0.5s;
		z-index: 999;
		#sidebar{width: 95%;}

    }

}


#sidebar {
    //float: right;
    float: left;
    width: 265px;
    margin: 0px;
    padding: 0px 10px 80px 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 0px;
    padding-left: 10px;
    padding-bottom: 20px;
    background: none;
    font-size: 15px;
    font-family: 'Kanit', sans-serif;
    list-style-position: outside;
    list-style-type: square;
    box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.12),0px 2px 2px 0px rgba(0,0,0,0.12);
     
}

#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: 12px 0px 10px 30px;
    background-image: linear-gradient(to right, #61ba44, #57b645, #4cb346, #41af47, #34ab48);
	border-bottom: 3px solid #0aad52;
    letter-spacing: 1px;
    font-size: 25px;
    color: #fff;
	border-radius: 5px 5px 0 0;
	text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.2), 1px 1px 1px rgba(0, 0, 0, 0.6);
}

#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;
    padding: 0px 0 15px 0;
    font-family: Arial, Helvetica, sans-serif;
	z-index: 999;
    //background: #03579b;
   background-image: linear-gradient(56deg, rgba(43, 46, 224, 0.15) 0%,rgba(26, 218, 182, 0.15) 100%),linear-gradient(336deg, rgb(50, 52, 221),rgb(40, 160, 253));
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);


}
@media only screen and (min-width: 1000px){
    #footer {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;}