*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/* General Demo Style */

html{

	max-width: 620px;
	margin: 0px auto;
	width: 100%;
}

body {
	background: #e4ebe9 url(../images/bgcheck.png) repeat top left;
	color: #00f;
	font-family: "PT Sans Narrow", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	min-width: 260px;
	max-width: 620px;
	width: 100%;
}

a {
	color: #ff1493;
	text-decoration: none;
}

/*headerล่
---------------------------------------------------------------------------*/

#header {
	width:100%;
	min-width: 260px;
	max-width: 620px;
	height:60px;
	background:-moz-linear-gradient(top, #fff, #eee);
	background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
	padding:0;
	text-align:center;
	box-shadow: 0 0 5px #111;
	overflow: hidden;
	margin: 0 auto;
}
#header ul{
	margin: 0 auto;
	list-style-type:none;
}

#header ul li{
	width: 25%;
	height:60px;
	float: left;
	background: -moz-linear-gradient(top,#80CCE6,#80CCE6 5%,#09C 5%,#069 95%,#069 95%,#00293D);
	background: -webkit-gradient(linear, left top, left bottom, from(#80CCE6), color-stop(0.05,#80CCE6), color-stop(0.05,#09C), color-stop(0.95,#069), color-stop(0.95,#00293D), to(#00293D));
	border: 1px solid #DDD;
}

#header ul li:last-child{
	border-right: none;
}

#header ul li a{
	display: block;
	text-decoration: none;
	color: #fff;
	text-shadow: 0px 1px 1px #444;
	font-size: 16px;
	padding-top:20px;
}

#header ul li a.line2{
	display: block;
	text-decoration: none;
	color: #fff;
	text-shadow: 0px 1px 1px #444;
	font-size: 16px;
	padding-top:12px;
}

#header ul li img{
	height: 25px;
	width: 25px;
	margin-bottom: -5px;
}

/*headerศบ
---------------------------------------------------------------------------*/
h1 {
	margin: 20px 0px 10px;
	font-size: 30px;
	color: #0000ff;
	text-align: center;
	font-weight: 900;
	text-shadow: 1px 2px 3px #fff;
}

h1 span {
	font-size: 16px;
	display: block;
	font-style: italic;
	color: #0000ff;
	font-weight: 500;
	text-shadow: 0px 1px 1px #fff;
}

.container{
	padding-bottom:10px;
	margin-bottom:10px;
}

.topnavi {
	width: 100%;
	margin: 0;
	padding: 20px 3% 0 3%;
}

.topnavi img.topnavi {
	width: 32.5%;
	margin: 0;
	padding:0.7% 0.5% 0.7% 0.5%;
}

p.info {
	font-style: italic;
	color: #997f5a;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
	padding: 20px;
	display: block;
	clear: both;
	text-align: center;
	width: 100%;
	max-wdith: 440px;
	margin: 0 auto;
}
#footnavi{
	clear:both
}
a.link {
	color: #ff1493;		/*ถF*/
	background-color: #ffffcc;	/*wiF*/
	text-decoration: underline;
	text-align: center;
	width: 90%;	/*{bNX*/
	height: 3.5em;
	display: block;
	float: right;
	letter-spacing: 0em;
	font-size:90%;
	font-weight:bold;
	margin-left: 5%;
	margin-right: 5%;
	padding-left: 0;
	padding-left: 0;
	padding-top: 1em;
	border-left: #0a0 solid 1px;
	border-top: #0a0 solid 1px;
	border-right: #060 solid 1px;
	border-bottom: #060 solid 1px;
	border-radius: 20px;
	margin-left: 2%;
	margin-right: 2%;
}
/*}EXI*/
a.link:hover {
	background-color: #ff1493;	/*wiF*/
	color: #ffffcc;			/*ถF*/
}

img.image1 {
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
}

img.image2 {
	width: 86%;
	margin-left: 7%;
	margin-right: 7%;
}

img.image3 {
	width: 74%;
	margin-left: 13%;
	margin-right: 13%;
}

.ap {
	margin:15px 5px;
}

.prof {
	background: url(../images/profcheck.png);
	width:100%;
	height:45px;
	color:#00f;
	text-shadow: 2px 1px 2px  #fff;
	margin-top:15px;
	font-weight: bold;
	font-size:14pt;
	line-height:2.3em;
	padding-left:12px;
	font-family:"Menlo","lr SVbN","monospace";
}

.prof2 {
	padding-left:12px;
	font-size:18pt;
	color:#00f;
	text-shadow: 2px 1px 1px  #fff;
}

.prof3 {
	padding-left:12px;
	font-size:18pt;
	color:#f0f;
	text-shadow: 2px 1px 1px  #fff;
	text-decoration: underline;
}


.box {
	margin:0px 2% 10px;
}

.boxl{
	float:left;
	clear:both;
	width:32%;
	margin-left:2px;
	margin-right:2px;
}
.boxl2{
	float:left;
	clear:both;
	width:32%;
	margin-left:2px;
	margin-right:2px;
	margin-bottom:20px;
}

.boxc{
	float:left;
	width:32%;
	margin-left:2px;
	margin-right:2px;
}

.boxr{
	float:left;
	width:32%;
	margin-left:2px;
	margin-right:2px;
}

.boxl img, .boxc img, .boxr img, .boxl2 img{
	padding-top:20px;
	width:100%;
}

.topic {
	background: url(../images/topiccheck.png);
	background-color: #ffffcc;
	width:100%;
	height:50px;
	color:#222;
	text-shadow: 2px 1px 2px  #fff;
	margin-top:15px;
	font-weight: bold;
	font-size:14pt;
	line-height: 2.8em;
	text-align:center;
	font-family:"Menlo","lr SVbN","monospace";
}

.topichojo {
	text-align:center;
	margin-top:5px;
	margin-bottom:-10px;
}

.t_nenpyo{
	width: 94%;
	margin-left: 3%;
	margin-right: 3%;
	border: none;
	}
.nenpyo1{
	top:0;
	width: 25%;
	color:#336;
	text-shadow: 2px 1px 2px  #fff;
	font-weight: bold;
	font-size:11pt;
	line-height:1.3em;
	vertical-align: top;
	font-family:"Menlo","lr SVbN","monospace";
}
.nenpyo2{
	width: 75%;
	vertical-align: top;
	color:#113;
	text-shadow: 2px 1px 2px  #fff;
	font-weight: bold;
	font-size:12pt;
	line-height:1.3em;
	font-family:"Menlo","lr SVbN","monospace";
	padding-left: 10px;
	padding-bottom: 30px;
}

