@charset "utf-8";
/*
Template Name: Education Time
Author: <a href="http://www.os-templates.com/">OS Templates</a>
Author URI: http://www.os-templates.com/
Licence: Free to use under our free template licence terms
Licence URI: http://www.os-templates.com/template-terms
File: Layout CSS
*/

@import url("navi.css");
@import url("forms.css");
@import url("tables.css");
@import url("homepage.css");
@import url("gallery.css");
/* ทำให้หน้าเพจเป็นขาวดำ
html{
	overflow-y:scroll;
	-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%); */
/* filter: gray; */  /* IE 6-9 */
/*
}
*/ 
/*
img{margin:0; padding:0; border:none;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%); /*
/* filter: gray; */ /* IE 6-9 */
/*
}
*/
html{
	overflow-y:scroll;}
img{margin:0; padding:0; border:none;}
body{
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #F8F8F2;
	background-color: #03274B;
}

.justify{text-align:justify;}
.bold{font-weight:bold;}
.center{text-align:center;}
.right{text-align:right;}
.nostart{margin:0; padding:0; list-style-type:none;}

.clear:after{content:"."; display:block; height:0; clear:both; visibility:hidden; line-height:0;}
.clear{display:inline-block;}
html[xmlns] .clear{display:block;}
* html .clear{height:1%;}

a{outline:none; text-decoration:none;}

.logo_left, .imglogo{
	float:left;
	margin-right: 10px;
	margin-top: -23px;
	}
.fl_left, .imgl{
	float: left;
	}
.fl_right, .imgr{
	float:right;
	}
.fl_manual, .imgm{
	float: inherit;
	margin-top: 30px;
	font-weight: bold;
	margin-bottom: 0px;
	}
.fl_manualindex, .imgmindex{
	float: inherit;
	margin-top: 30px;
	font-weight: bold;
	margin-bottom: 0px;
	}

.imgholder, .imgindex, .imgm, .imgl, .imgr{
	border: 1px solid #D7DBE0;
	padding-bottom: 10px;
	padding-left: 4px;
	padding-right: 4px;
	padding-top: 4px;
}
.imgl{
	margin:0 15px 15px 0; 
	clear:left;
}
.imgr{
	margin: 0 0 15px 15px;
	clear:right;
}
.imgm{margin:auto;}
.imgindex{
	margin-bottom:0;}

/* ----------------------------------------------Wrapper------------------------------------- */

div.wrapper{
	display: block;
	width: 100%;
	text-align: left;
}
div.wrapper h1, div.wrapper h2, div.wrapper h3, div.wrapper h4, div.wrapper h5, div.wrapper h6{
	margin: 0 0 15px 0;
	padding: 0;
	font-size: 16px;
	font-weight: normal;
	line-height: normal;
}
.row1bg{
	color:#5F8EC2;
	background-image:url("../../images/Header.jpg");
	background-repeat:no-repeat;
	background-size:cover;
/*	background-position:right top;
	background-attachment:scroll;  */
	}
.row1bg a{color:#F8F9F3;}
.row1{color:#5F8EC2;}
.row1 a{color:#F8F9F3;}
.row2{color:#F8F9F3; background-color:#072C53; border-top:1px solid #2B4D71; border-bottom:1px solid #2B4D71;}
.row3{color:#777777; background:url("images/featured_slide_bg.gif") top left repeat-x #F8F9F3;}
.row4{color:#777777; background-color:#F8F9F3; border-bottom:0px solid #03274B;}
.row5{padding:50px 0 30px 0; border-top:1px solid #F8F9F3;}

/* ----------------------------------------------Generalise------------------------------------- */


#headerbg {
	display:block;
	position: relative;
	width: 960px;
	height: 350px;
/*	margin-left: auto;
	margin-right: auto; */
}

#header {
	display:block;
	position: relative;
	width: 960px;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
}

#header, #headerbg, #featured_slide, #container, #footer, #copyright{
	display: block;
	position: relative;
	width: 960px;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
}

/* ----------------------------------------------Header------------------------------------- */

#header, #headerbg{padding:25px 0 30px 0;}
#header h1, #headerbg h1, #header p, #header ul{
	margin: 0;
	list-style: none;
	line-height: normal;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0px;
}
#header h1, #headerbg h1{
	font-size: 35px;
	font-variant: small-caps;
}
#header p{
	margin-top: 33px;
}


/* ----------------------------------------------Content------------------------------------- */

#container{padding:30px 0;}
#container h1, #container h2, #container h3, #container h4, #container h5, #container h6{color:#8199A9; background-color:#F8F9F3;}
#container a{color:#591F58; background-color:#F8F9F3;}
#container .title{
	display: block;
	width: 100%;
	margin: 0 0 20px 0;
	padding: 0 0 8px 0;
	font-size: 18px;
	text-transform: uppercase;
	border-bottom: 5px solid #8199A9;
}
#content{display:block; float:left; width:630px;}

/* Comments */

#comments{margin-bottom:40px;}
#comments .commentlist{margin:0; padding:0;}
#comments .commentlist ul{margin:0; padding:0; list-style:none;}
#comments .commentlist li.comment_odd, #comments .commentlist li.comment_even{margin:0 0 10px 0; padding:15px; list-style:none;}
#comments .commentlist li.comment_odd{color:#666666; background-color:#F7F7F7;}
#comments .commentlist li.comment_odd a{color:#591F58; background-color:#F7F7F7;}
#comments .commentlist li.comment_even{color:#666666; background-color:#E8E8E8;}
#comments .commentlist li.comment_even a{color:#591F58; background-color:#E8E8E8;}
#comments .commentlist .author .name{font-weight:bold;}
#comments .commentlist .submitdate{font-size:smaller;}
#comments .commentlist p{margin:10px 5px 10px 0; padding:0; font-weight:normal; text-transform:none;}
#comments .commentlist li .avatar{float:right; border:1px solid #EEEEEE; margin:0 0 0 10px;}

/* ----------------------------------------------Column------------------------------------- */

#column{display:block; float:right; width:300px;}
#column .holder, #column #featured{display:block; width:300px; margin-bottom:20px;}
#column .holder h2.title{display:block; width:100%; height:65px; margin:0; padding:15px 0 0 0; font-size:20px; text-transform:none; line-height:normal; border-bottom:1px dotted #999999;}
#column .holder h2.title img{float:left; margin:-15px 8px 0 0; padding:5px; border:1px solid #999999;}
#column div.imgholder{display:block; width:290px; margin:0 0 10px 0;}
#column .holder p.readmore{display:block; width:100%; font-weight:bold; text-align:right; line-height:normal;}

/* Featured Block */

#column #featured ul, #column #featured h2, #column #featured p{margin:0; padding:0; list-style:none; color:#666666; background-color:#F7F7F7;}
#column #featured a{color:#591F58; background-color:#F7F7F7;}
#column #featured li{display:block; width:250px; margin:0; padding:20px 25px; color:#666666; background-color:#F7F7F7;}
#column #featured li p.imgholder{display:block; width:240px; height:90px; margin:20px 0 15px 0;}
#column #featured li h2{margin:0; padding:0 0 8px 0; font-weight:normal; font-family:Georgia, "Times New Roman", Times, serif; line-height:normal; border-bottom:1px dotted #999999;}
#container #column .readmore a{display:block; width:100%; margin-top:15px; height:auto; padding-left:0; font-weight:bold; text-align:right; line-height:normal; background:none;}
#column .latestnews{display:block; width:100%; margin:0; padding:0; list-style:none;}
#column .latestnews li{display:block; width:100%; height:99px; margin:0 0 11px 0; padding:0 0 21px 0; border-bottom:1px dotted #C7C5C8; overflow:hidden;}
#column .latestnews li.last{margin-bottom:0;}
#column .latestnews p{display:inline;}
#column .latestnews img{float:left; margin:0 10px 0 0; padding:4px; border:1px solid #C7C5C8; clear:left;}

/* ----------------------------------------------Footer------------------------------------- */

#footer{line-height:2em; background:url("images/footer_bg.gif") 380px 0 repeat-y;}
#footer, #footer a{color:#F8F8F2; background-color:#03274B;}
#footer h2, #footer p, #footer ul, #footer a, #footer address{margin:0; padding:0; font-weight:normal; list-style:none; font-style:normal;}
#footer h2{
	padding: 0;
	font-size: 20px;
	color: #7F99A9;
	background-color: #03274B;
	margin-bottom: 0px;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
}
#footer .foot_contact{display:block; float:left; width:380px; margin:0 40px 0 0; padding:0;}
#footer .foot_contact address{margin-bottom:30px;}
#footer .footbox{
	display: block;
	float: left;
	width: 540px;
	padding: 0;
	font-size: 12px;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0px;
	margin-top: 0;
}
#footer .footbox h2{margin-bottom:20px; font-size:14px; text-transform:uppercase;}
#footer .last{margin:0;}

/* ----------------------------------------------Copyright------------------------------------- */

#copyright{padding:15px 0; border-top:1px solid #2B4D71;}
#copyright p{margin:0; padding:0;}
#copyright, #copyright a{color:#7F99A9; background-color:#03274B;}
#border {
	border-spacing: 12px 11px;
	border: 15px ridge #0066CC;
}
