
@charset "utf-8";
@import "../fonts/thsarabunnew.css";
h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 10px;
}
h2 {
    color: #DB7100;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 10px;
}
h3 {
    color:#fff;
    font-size:14px;
    font-weight:bold;
    margin:0;
    padding:0;
}
a {
    color: #DAA520;
    text-decoration: none;
}
a:hover {
    color: #363535;
}
img {
    border: medium none;
}
body {
    background-color: #F6F5F1;
    background-image: url("../images/head_new.png");
    background-repeat: repeat-x;
    color: #666666;
    font-family: 'THSarabunNew';
    font-size: 0.9em;
    margin: 0;
    padding: 0;
}
.align-center { text-align: center; }
.clear {
    clear: both;
}
.main {
    margin: 0 auto;
    overflow: hidden;
    padding: 0 5px;
    text-align: left;
    width: 1024px;
	height:auto;
}
.logo {
    float: left;
    height: 147px;
    margin: 5px 0 0;
    width: 1024px;
	position: relative;
}
.logo-sub {
    float: left;
    margin-right: 30px;
}

				
.schoolname {
    display: block;
    line-height: 35px;
}
.logo h1 {
    color: #fff;
    font-size: 30px;
    margin: 60px 0 0;
    padding: 0;
    /* text-shadow: 0.1em 0.1em 0.05em #000; */
}
.logo h2 {
    color: #fff;
    font-size: 24px;
    margin: 10px 0 0 0;
    padding: 0;
    /* text-shadow: 0.1em 0.1em 0.05em #000; */
}
.navi {
	z-index: 9999;
	position: absolute;
	right: 0px;
	bottom: -55px;
	/*float: left; */
	text-align: center;
	background-color: #ffe1b0;
	/* margin: -315px 0px 0px 465px; */
	/* width: 560px; */
	width: auto;
	border-radius: 50px 50px 50px 50px;
}
.navi ul{ margin:10px 0 0 -12px; text-align:center;}
.navi li{ font-weight:bold; list-style:none; margin:3px 0px 0px 0px; float:left; height:35px;}
.navi li a{ padding:5px 15px 0px 15px; color:#8c0522; font-size:15px;}
.navi li a:hover{ background-color:#ffe1b0; text-align:center;color: #000; font-size:17px;}
.slide {
    box-shadow: 0 0 5px #ffe1b0;
    float:left;
    height: 400px;
    width: 1004px;
	background-color:f1f1f1;
	padding:10px;
	/*margin-top:50px;*/
}
.slide img{
	background-position:center;
	box-shadow:0 0 5px #3a2a02;
	width:1005px;
	height:400px;
}
.content {
    background-color: #FFFFFF;
    box-shadow: 0 0 5px #DAA520;
    float: left;
    width: 1024px;
	height:auto;
	margin-top:40px;
}
.left-con {
    float: left;
    width: 240px;
}

.box_list {
    background-color: #fff;
    float: left;
    margin: 20px 0 0 10px;
    min-height: 170px;
    width: 212px;
}
.box_head {
  background-color:#ecdafc; color:#fff; margin:0; border-radius:20px 20px 20px 20px;
  background-image: -moz-linear-gradient(top, #f5a822, #f5a822);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5a822), to(#f5a822));
  background-image: -webkit-linear-gradient(top, #f5a822, #f5a822);
  background-image: -o-linear-gradient(top, #f5a822, #f5a822);
  background-image: linear-gradient(to bottom, #f5a822, #f5a822);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5a822', endColorstr='#f5a822', GradientType=0);
  border-color: #f5a822 #f5a822 #f5a822;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #f5a822;
    float: left;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 228px;
	height:25px;
}
.box_head a {
	color: #FFFFFF;
}
.box_sta {
  background-color:#ecdafc; color:#fff; margin:0; border-radius:20px 20px 20px 20px;
  background-image: -moz-linear-gradient(top, #f5a822, #f5a822);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5a822), to(#f5a822));
  background-image: -webkit-linear-gradient(top, #f5a822, #f5a822);
  background-image: -o-linear-gradient(top, #f5a822, #f5a822);
  background-image: linear-gradient(to bottom, #f5a822, #f5a822);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5a822', endColorstr='#f5a822', GradientType=0);
  border-color: #f5a822 #f5a822 #f5a822;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #f5a822;
    float: left;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 208px;
	height:25px;
}
.feature-menu { 
	float:left;
	width:200px; 
	background-color:#ffe1b0;
	margin-left:13px;
	margin-bottom: 5px;
}
.feature-menu ul {
	list-style-type: none; 
	padding-left: 10px; 
	margin: 10px;
}
.feature-menu2 { 
	float:left;
	width:187px; 
	background-color:#ffe1b0;
	margin-left:10px;
}

.feature-menu3 {
	float:left;
	width:170px; 
	border-bottom:1px dotted #999999;
	margin-top:1px;
}

.feature-menu a{ color:#242425;
}
.feature-menu a:hover{ color:#DAA520;
}
.feature-menu img {
    padding-top: 10px;
}
.feature input {
    font-size: 18px;
    height: 25px;
    margin: 0 0 0 15px;
    width: 170px;
}
.feature ul {
    margin: 0;
    padding: 0;
}
.feature li {
    background-color: #DCA9FF;
    border-radius: 15px 0 15px 0;
    box-shadow: 0 0 5px #999999;
    height: 32px;
    list-style: none outside none;
    margin: 10px 0 0 12px;
    padding: 10px 0 0 10px;
    width: 170px;
}
.feature li a {
    color: #DAA520;
    font-size: 18px;
    margin: 0 0 0 20px;
}
.center-con {
    background-color: #FFFFFF;
    float: left;
    min-height: 950px;
    padding-top: 20px;
    width: 530px;
	margin-left: 10px;
	margin-top: 3px;
}
.news{
	float:left;
}
.new-head{
  background-color:#f5a822;
  background-image: -moz-linear-gradient(top, #f5a822, #f5a822);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5a822), to(#f5a822));
  background-image: -webkit-linear-gradient(top, #f5a822, #f5a822);
  background-image: -o-linear-gradient(top, #f5a822, #f5a822);
  background-image: linear-gradient(to bottom, #f5a822, #f5a822);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5a822', endColorstr='#f5a822', GradientType=0);
  border-color: #f5a822 #f5a822 #f5a822;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #f5a822;
    float: left;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
	padding-left:10px;
    width: 228px;
	height:30px;
	color:#fff; 
	margin-top:10px; 
	border-radius:0 20px 20px 0;
	position: absolute;
}
.new-c{
	width:530px;
	min-height:50px;
	margin-top:20px;
	border-width:1px;	
	border-style:solid;
	border-color:#f5a822;
	padding-top: 15px;
}
.new-c2{
	width:530px;
	min-height:260px;
	margin-top:15px;
	border-width:1px;	
	border-style:solid;
	border-color:#f5a822;
	background-color:#d2b5e9;
}
.new-c .col {
    background-image: url("../images/Shape.png");
    background-position: 5px 15px ;
    background-repeat: no-repeat;
    border-bottom: 1px dotted #999999;
    display: block;
    
    line-height: 20px;
    padding: 10px 10px 5px 27px;
    text-align: left;
    width: 470px;
	margin-left:10px;
}
.new-c a.col {
    color: #524f4f;
}
.new-c a:hover {
    color: #DAA520;
}


.new-d{
	width:530px;
	min-height:50px;
	margin-top:20px;
	border-width:1px;	
	border-color:#FFFFFF;
}
.new-d2{
	width:530px;
	min-height:260px;
	margin-top:15px;
	border-width:1px;	
	border-style:solid;
	border-color:#DAA520;
	background-color:#DAA520;
}
.new-d .col {
    background-image: url("../images/Shape.png");
    background-position: 5px 15px ;
    background-repeat: no-repeat;
    border-bottom: 1px dotted #f5a822;
    display: block;
    float: left;
    line-height: 20px;
    padding: 10px 10px 5px 27px;
    text-align: left;
    width: 470px;
	margin-left:10px;
}
.new-d a.col {
    color: #DAA520;
}
.new-d a:hover {
    color: #DAA520;
}

.new-e{
	width:530px;
	min-height:50px;
	margin-top:20px;
	border-width:1px;	
	border-style:solid;
	border-color:#DAA520;
	padding-top: 15px;
}
.new-e2{
	width:530px;
	min-height:260px;
	margin-top:15px;
	border-width:1px;	
	border-style:solid;
	border-color:#DAA520;
	background-color:#d2b5e9;
}
.new-e .col {
    background-image: url("../images/Shape.png");
    background-position: 5px 15px ;
    background-repeat: no-repeat;
    border-bottom: 1px dotted #999999;
    display: block;
    line-height: 20px;
    padding: 10px 10px 5px 27px;
    text-align: left;
    width: 470px;
	margin-left:10px;
}
.new-e a.col {
    color: #524f4f;
}
.new-e a:hover {
    color: #DAA520;
}

.all {
    background-position: right 7px;
    background-repeat: no-repeat;
    float: right;
    font-size: 12px;
    margin-right: 15px;
    margin-top: 7px;
    padding-right: 10px;
}
a.all {
    color: #000;
}
.new-c a.all:hover {
    color: #DAA520;
}
.news_education_1{font-size:12px; color:#000; float:right; width:150px; overflow:hidden; overflow:hidden; text-overflow:ellipsis;}
.news_education_2{font-size:12px; color:#5e5e5f; float:right; width:150px; height:45px; overflow:hidden; text-overflow:ellipsis;}
.image_4{float:left; width:70px; height:70px; border-style:solid; border-color:#000; border-width:1px;}
#enn{
	width:530px;
	min-height:260px;
	margin-top:20px;
	border-width:1px;	
	border-style:solid;
	border-color:#DAA520;
	background-color:#ffe1b0;
	float:left;
}
.enn2{
	width:240px;
	min-height:80px;
	margin:30px 0 0 10px;
	text-overflow:ellipsis;
	float:left;
}
#enn a {
    color: #000;
    text-decoration: none;
}
#enn a:hover {
    color: #DAA520;
}
#enn_news2{
	width:530px;
	min-height:260px;
	margin-top:20px;
	border-width:1px;	
	border-style:solid;
	border-color:#DAA520;
	float:left;
}
#enn_news3{
	width:530px;
	min-height:180px;
	margin-top:20px;
	border-width:1px;	
	border-style:solid;
	border-color:#DAA520;
	float:left;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
			box-sizing: border-box;
	padding-left: 10px;
}
.show-img { 
    border-color:#DAA520;
    margin: 10px 0 0 10px;
    width: 220px;
	background-color:#f5a822;
	border-radius:20px 0 20px 0;
}
.right-con {
    float: left;
    margin: 10px 10px 0 0;
    min-height: 1000px;
    overflow: hidden;
    padding: 0;
    width: 226px;
	float:right;
}
.show-img2 {
    margin: 10px 0 0 10px;
    padding:0px;
    text-align: center;
}
.show-img3 {
    margin: 0;
    padding: 20px;
    text-align: center;
	background-color:#ffe1b0;
}
.show-img3 img {
	max-width: 150px;
}
.show-img4 {
    margin: 30px 0 0 10px;
    padding:0;
    text-align: center;
	float:left
}
.show-img h2 {
    color: #4C2E0B;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    padding: 10px;
    text-align: center;
}
.show-img h3 {
    color: #4C2E0B;
    font-size: 13px;
    font-weight: bold;
    margin: 10px 0 0 0;
    text-align: center;
}
.show-img h4 {
    color: #4C2E0B;
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
}
.show-img img {
    background-color: #ffe1b0;
    text-align: center;
}
.show-img1 {
    background-color: #CCCCCC;
    border-radius: 15px 0 15px 0;
    float: left;
    margin-top: 20px;
    padding-bottom: 20px;
    width: 205px;
}
.show-img1 h2 {
    color: #4C2E0B;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 10px;
    text-align: center;
}
.show-img1 h3 {
    color: #4C2E0B;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 10px 0 0;
    text-align: center;
}
.show-img1 h4 {
    color: #4C2E0B;
    font-size: 13px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
}
.show-img1 img {
    background-color: #999999;
    padding: 5px;
    text-align: center;
}
.show-link {
    float: left;
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    width: 205px;
}
.footer {
    background-image: url("../images/footer_new.png");
    background-repeat: repeat-x;
    color: #fff;
    font-weight: bold;
    line-height: 15px;
    padding: 15px;
    text-align: center;
	margin-top:10px;
}
.footer a {
    color:#06F;
    font-size: 13px;
    font-weight: bold;
}
.footer a:hover {
    color: #FFFFFF;
}
.p {
    color: #79A018;
    font-size: 10px;
    margin: 0;
    padding: 5px;
}
.new-slide{float:left;  margin:0px 0px 0px -32px;}

.content-detail { padding: 10px; }
#result_poll, #post_poll {
	cursor: pointer;
}

.question .title {
	background: none !important;
}
.question .detail {
	background: none !important;
}
.webboard .question .image {
	text-align: center;
	margin-bottom: 15px;
}
.webboard .question .detail {
	text-indent: 30px;
}
.webboard .question .post-date {
	text-align: left;
	margin-top: 30px;
	color: #888888;
	padding-bottom: 20px;
	border-bottom: 2px dotted #666666;
}

.webboard .answer {
	margin: 10px auto 0 auto;
	width: 650px;
	padding-bottom: 10px;
	border-bottom: 2px dotted #AAAAAA;
}
.webboard .answer .title {
	line-height: 30px;
	background-color: #dd92a8;
	border-top: 2px solid #8c0522
	padding-left: 5px;
}
.webboard .answer .detail {
	text-indent: 30px;
	padding: 10px;
}

.webboard .post {
	margin: 10px auto 0 auto;
	width: 550px;
}
.webboard .post .title {
	line-height: 30px;
	background-color: #DAA520;
	border-top: 2px solid #DAA520;
	padding-left: 5px;
	font-weight: bold;
	font-size: 16px;
	color: #37590c;
}
.webboard .post .form {
	padding: 10px;
	font-weight: bold;
}
.webboard .post .form div {
	margin-bottom: 3px;
}
.webboard .post .form textarea {
	width: 100%;
	height: 100px;
}
.webboard .post .form span {
	display: inline-block;
	width: 235px;
	text-align: right;
	margin-right: 3px;
}
.webboard .post .form input[type=text] {
	width: 200px;
}


.complain {
	margin: 10px auto 0 auto;
	width: 600px;
}
.complain .title {
	line-height: 30px;
	background-color: #DAA520;
	border-top: 2px solid #DAA520;
	padding-left: 5px;
	font-weight: bold;
	font-size: 16px;
	color: #37590c;
}
.complain .form {
	padding: 10px;
	font-weight: bold;
}
.complain .form div {
	margin-bottom: 3px;
}
.complain .form textarea {
	width: 100%;
	height: 100px;
}
.complain .form span {
	display: inline-block;
	width: 235px;
	text-align: right;
	margin-right: 3px;
}
.complain .form input[type=text] {
	width: 200px;
}
.border-content {
	padding: 10px;
}