@charset "utf-8";

html,body {
	width:100%;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin: auto;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.main-content {
	width:90%!important;
}

nav, ul, li, a  {margin: 0; padding: 0; }

img {
	-ms-interpolation-mode: bicubic;
	outline:none;
	border:none;
}

ul {
	list-style:none;
}

h1,h2,h3,h4,h5,h6 {
	font-weight:normal;
}

input.logintext {
	width:180px; height:20px;font-weight:normal;border:none; outline: none;background:#E5E5E5
}

input.logintext:focus {
	background:#E5E5E5
}

img.logo {
	margin-top:5px;height:70px;
}

.bold { font-weight:bold; }


section, header{
	display: block;
}

a{
	color:#0099CC;
	text-decoration: none;
	outline:none
}

a:hover{
	color:#008BB9;
}

.clrtop{
	clear: both;
	margin-top:10px;
}

.clrbottom{
	clear: both;
}

.hide {
	display:none;
}

.nowrap { white-space:nowrap }
/*--------------------------------------------------------------------------------------------------------------------*/
														/*Area Top Bar*/
/*--------------------------------------------------------------------------------------------------------------------*/
.area-top{
	line-height: 24px;
	font-size: 11px;
	background-color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	position: relative;
	font-family: Cambria, Georgia, serif;
}


a.tabs-all-btns {
	color: #fff;
	text-transform: uppercase;
	padding: 5px 10px;
	display: block;
	font-size: 13px;
	font-family:tahoma!important;
	text-decoration:none!important;
	font-weight: normal;
	white-space:nowrap;
	opacity: 0.9;
	letter-spacing: 1px;
	float:right;
	margin:0px;
	position:absolute;
	right:10px;
	bottom:10px;
}

a.see-all-links {
	color:#777;
	backgrounds:#f5f5f5;
	padding: 0px 0px 8px 0px;
	font-size: 13px;
	text-decoration:none!important;
	font-weight: normal;
	display:inline-block;
	margin:10px auto;
	letter-spacing: 1px;
	border:none!important
}

a.see-all-links:hover {
	color:#3399FF;
}

/* skin */
a.blue-yellow-btn {
	color: #fff;
	text-transform: uppercase;
	padding: 8px 10px;
	display: inline-block;
	font-size: 13px;
	text-decoration:none!important;
	font-weight: normal;
	white-space:nowrap;
	letter-spacing: 1px;
	float:left;
	margin:10px 10px 10px 0px;
   transition: background .25s ease-in-out;
   -moz-transition: background .25s ease-in-out;
   -webkit-transition: background .25s ease-in-out;
   	background: #FFBB44; /* Old browsers */
}
/* skin */
a.blue-yellow-btn:hover {
	background: #FF9900; /* Old browsers */
}


/* skin */
a.blue-yellow-icon-btn {
	text-transform: uppercase;
	padding: 5px 10px;
	font-size: 13px;
	font-family:tahoma!important;
	text-decoration:none!important;
	opacity: 0.9;
	letter-spacing: 1px;
	color:#333;
	border:1px solid #d7d7d7; /* Old browsers */
   transition: background .25s ease-in-out;
   -moz-transition: background .25s ease-in-out;
   -webkit-transition: background .25s ease-in-out;
}

/* skin */
a.blue-yellow-icon-btn:hover {
	color:#fff;
	background: #ffab23; /* Old browsers */
	border:1px solid #ffab23; /* Old browsers */
}

/* footer and bottom */
.bottom-left { 
	float:left;
	color:#fff;
}

.bottom-right { 
	float:right;
	color:#fff;
}

.bottom-right a{ 
	color:#fff;
	text-decoration:none;
}

.bottom-right a:hover { 
	color:#fff;
	text-decoration:underline
}


div.subline_footer ,
div.subline_footer_noborder
{
	padding:0px 0px 10px 0px;
}

div.subline_footer h2{
	padding:0px 0px 0px 0px;
	margin-bottom:20px;
	border-bottom:1px solid #66CCCC;
	display:inline;
	font-size:24px!important;
	color:#3399CC
}

div.subline_footer_noborder h2{
	padding:0px 0px 0px 0px;
	margin-bottom:20px;
	display:inline;
	font-size:2em;
	color:#3399CC
}

section.stat {
	 width:100%;
}

p.stat {
	line-height:15px
}

section.footer-contact {
	font-size:20px!important;
	width:90%!important
}

section.footer-contact p {
	padding:10px 0px 10px 0px;
	color:#000000!important;
	font-size:12px!important;
	font-family:tahoma!important;
}

section.footer-contact p > span {
	font-size:13px;
	padding-right:5px;
	
}


nav.dropmenu ul {
	-webkit-font-smoothing: antialiased;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	z-index:9999!important
}
nav.dropmenu li {
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
}
nav.dropmenu a {
	color: #000!important;
	display: block;
	font: normal 13px/50px Arial, Helvetica, sans-serif;
	padding: 0 10px;
	text-align: center;
	text-decoration: none!important;
	-webkit-transition: opacity 0.25s ease-in;
	-moz-transition: opacity 0.25s ease-in;
	-ms-transition: opacity 0.25s ease-in;
	-o-transition: opacity 0.25s ease-in;
	transition: opacity 0.25s ease-in;
}
nav.dropmenu .dropdown {
	background:url('../images/arrow.jpg') no-repeat right center;
}

nav.dropmenu li:hover a {
	background: none;
}

nav.dropmenu ul.sub > li a {
	color:#1d4a93!important;
	background: #fff;
	padding:10px 0px;
	line-height:20px!important;
	-webkit-box-shadow: 1px 1px 0px rgba(0,0,0,0.2);
	-moz-box-shadow:1px 1px 0px rgba(0,0,0,0.2);
	box-shadow: 1px 0px 1px rgba(0,0,0,0.2);
	text-align:left;
}

nav.dropmenu ul.sub > li:last-child a {
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}


nav.dropmenu li ul {
	float: right;
	left: 0;
	width:150%;
	opacity: 0;
	position: absolute;
	top: 35px;
	visibility: hidden;
	z-index: 1;
	-webkit-transition: opacity 0.25s ease-in;
	-moz-transition: opacity 0.25s ease-in;
	-ms-transition: opacity 0.25s ease-in;
	-o-transition: opacity 0.25s ease-in;
	transition: opacity 0.25s ease-in;
}
nav.dropmenu li:hover ul {
	opacity: 1;
	top: 49.5px;
	visibility: visible;
}
nav.dropmenu li ul li {
	float: none;
	width: 100%;
}
nav.dropmenu li ul a:hover {
	background-color: #056998;
	color:#fff!important
}


nav.dropmenu h5.shade {
	padding:0px 10px;
	margin:0px;
	font-weight:normal;
	font-size:24px;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
	-webkit-text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
	-moz-text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
}

nav.dropmenu h5.shade:hover {
	color:#FF3399;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
	-webkit-text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
	-moz-text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
}

nav.dropmenu h5.sub {
	padding:0px 10px;
	margin:0px;
	font-weight:normal;
	font-size:18px;
	letter-spacing:0px!important;
}

nav.dropmenu h5.sub:hover {
	color:#fff;
}


@media only screen and (max-width: 1920px)  and (min-width: 1920px){ /* macbook */
	.royal_banner {
		height:400px;
	}
	
	.main-header div.menu{
		margin-top:80px; /*+70*/
	}
	
	.tabslide {
		margin-top:10px
	}
	
	.fb-like-box, .fb-like-box span, .fb-like-box span iframe[style] {
		width: 100% !important;
	}
	
	.fb-page {
		width: 390px !important;
	}
	
}


.logoschool {
	height:90px;
	padding-top:10px
}

.school {
	
}

.school_hidden {
	display:none;
}

.schoolname {
	padding-top:25px; padding-left:15px; color:#000; font-size:32px!important; line-height:32px!important
}

.schoolname_en {
	padding-top:0px;padding-left:15px;font-size:30px;color:#000;text-shadow:none;
	text-transform:uppercase; line-height:30px;
}

h5.schoolname_hidden {
	padding-top:20px; padding-left:0px; color:#000; font-size:20px!important; line-height:20px; text-transform:uppercase;
}

.topright {
	margin-top:10px;
}

.submap {
	display:none!important
}

ul.site-menu li a {
	padding:0px 10px;
	margin:0px;
	font-weight:normal;
	font-size:1.8rem!important;
	font-family: 'thaisansbold';
	color:#000!important;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
	-webkit-text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
	-moz-text-shadow: 0px 1px 0px rgba(255,255,255,0.4)!important;
	letter-spacing:0!important;
}

ul.site-menu li.second a {
	font-size:1.4rem!important;
}

ul.site-menu li a:hover {
	color:#FF3399!important;
}

ul.site-menu li a:visited {
	color:#000!important;
}

ul.site-menu li a:active {
	color:#000!important;
	text-shadow:none!important;
}

td.col_cont {
	width:90%;
	padding-left:15px; vertical-align:top;padding-top:5px;
	font-size:13px
}

.bg {
	display: inline-block;
	width: 180px;
	height: 120px;
	margin:0px;padding:0px;
	text-align:center;
	background-repeat:no-repeat!important;
	background-size: cover!important;
}


.label {
	height:34px;
}

td.cont-title {
	font-size:12px;
	font-family:tahoma!important;
	padding-left:15px;height:20px;color:#999
}




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

/*skin */
.blue-yellow-header-bg {
	background: url(../images/light-blue.jpg);
	
	/*background: url(../images/header.png);*/
	/*background: url(../images/light-blue.jpg) no-repeat center center !important;*/
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	padding-bottom:0px;
	background-size: auto, 100% 250%!important;
	background-position: right 0px center!important;
	
	background-repeats:repeat-x;
	border-bottom:0px solid #3a8096;
}

/*skin */
.dark-blue-header-bg {
	background: url(../images/bg-dark-blue.jpg);
	background-repeat:repeat-x;
}

.main-header span.logoimg {
	background: url(../images/logo.png) no-repeat;
}

.main-header div.inside{
	background-color: rgba(255, 255, 255, 0.6);
	padding:0 7%!important;
}

.main-header span.right {
	float: right;
	text-align:right;
	font-size:13px;
	font-family:tahoma;
	color:#fff;
	padding:8px 15px;
	outline:none;
	border-bottom-left-radius:15px;
	border-bottom-right-radius:15px;
}

/* skin */
.main-header span.blue-yellow-top-nav{
	background: -moz-linear-gradient(top, #feb21a 0%, #fdd71b 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#feb21a), color-stop(100%,#fdd71b));
	background: -webkit-linear-gradient(top, #feb21a 0%,#fdd71b 100%);
	background: -o-linear-gradient(top, #feb21a 0%,#fdd71b 100%);
	background: -ms-linear-gradient(top, #feb21a 0%,#fdd71b 100%);
	background: linear-gradient(top, #feb21a 0%,#fdd71b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feb21a', endColorstr='#fdd71b',GradientType=0 );
	-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
	-moz-box-shadow:0px 1px 1px rgba(0,0,0,0.2);
	box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}

/* skin */
.main-header span.dark-blue-top-nav{
	background: -moz-linear-gradient(top, #3d94f6 0%, #0ddcf1 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3d94f6), color-stop(100%,#0ddcf1));
	background: -webkit-linear-gradient(top, #3d94f6 0%,#0ddcf1 100%);
	background: -o-linear-gradient(top, #3d94f6 0%,#0ddcf1 100%);
	background: -ms-linear-gradient(top, #3d94f6 0%,#0ddcf1 100%);
	background: linear-gradient(top, #3d94f6 0%,#0ddcf1 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d94f6', endColorstr='#0ddcf1',GradientType=0 );
	-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
	-moz-box-shadow:0px 1px 1px rgba(0,0,0,0.2);
	box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}


.main-header span.welcome {
	float:left;
}

.main-header a {
	letter-spacing: 1px;
	font-family:tahoma;
	font-size:12px;
	color:#FFA806;
	color:#666;
}

.main-header a:hover {
	color:#FFA806;
	color:#666;
	text-decoration:underline;
}

.main-header a:visited {
	text-decoration:underline;
	color:#FFA806;
	color:#666;
}

.main-header a:active {
	text-decoration:none;
	color:#FFA806;
	color:#666;
}


/*-----------------------*/
.main-header span.right a {
	padding: auto 10px;
	letter-spacing: 1px;
	font-family:tahoma;
	font-size:12px;
	color:#000;
	text-decoration:none
}

.main-header span.right a:hover {
	color:#444!important;
}

.main-header span.right a:visited {
	color:#000;
}

.main-header span.right a:active {
	color:#000;
}

/*-------------------------*/

.main-header div.menu{
	margin-top:10px;
	float: right;
	text-align:right;
	font-size:13px;
	text-align:right;
}

.main-header span.left {
	float: left;
}

.main-header span.left >h5 {
	color:#fff;
	margin:10px 0px;
	font-size:30px;
	height:25px;
}

.main-header span.left >h4 {
	color:#000;
	font-size:20px;
	text-transform: uppercase;
	height:25px;
}
/* Media Queries */

.thaisans {
	font-family: 'thaisansbold';
	font-size:20px;
	font-weight:normal!important;
}

h1 {
	font-family: 'thaisansbold';
	font-weight: normal;
	font-size:20px;
}

h2 {
	font-family: 'thaisansbold';
	font-weight: normal;
	color: #930181;
	font-size:20px;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.4);
	-webkit-text-shadow: 0px 1px 0px rgba(255,255,255,0.4);
	-moz-text-shadow: 0px 1px 0px rgba(255,255,255,0.4);
}

h4 {
	font-family: 'thaisansbold';
	font-weight: normal;
	font-size:20px;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.6);
	-webkit-text-shadow: 0px 1px 0px rgba(255,255,255,0.6);
	-moz-text-shadow: 0px 1px 0px rgba(255,255,255,0.6);
}

h5 {
	font-family: 'thaisansbold';
	font-weight:normal;
	font-size:20px;
}

h6 {
	font-family: 'tankhunbold';
	font-weight:normal;
	font-size:20px;
}

/*--------------------------------------------------------------------------------------------------------------------*/
														/*Main Content Area*/
/*--------------------------------------------------------------------------------------------------------------------*/
.main-content{
	font-size: 12px;
	font-family:tahoma;
	position:relative;
	background:#f7f7f7
}

.main-content div.cont-top {
	padding: 15px 7%;
	background: #fafafa url("../images/bg04.png");
	border-top: solid 1px #fff;
	-webkit-box-shadow: 0px 0px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 1px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 1px rgba(0,0,0,0.3);
}

.main-content div.cont-gallery {
	padding: 15px 7%;
	background: #fbfbfb url("../images/bg01.png");
	border-top: solid 1px #fff;
	-webkit-box-shadow: 0px 0px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 1px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 1px rgba(0,0,0,0.1);
}


.main-content div.cont-calendar {
	min-height:200px;
	padding: 15px 7%;
	padding-bottom:30px;
	background: #e8e8e8;
	background: #fbfbfb url("../images/light_toast.png");

	border-top: solid 1px #fff;
	-webkit-box-shadow: 0px 0px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 1px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 1px rgba(0,0,0,0.1);
}

.main-content div.cont-media {
	padding: 15px 7%;
	padding-bottom:50px;
	background: #fbfbfb url("../images/fabric_plaid.png");
	border-top: solid 1px #e7e7e7;
	-webkit-box-shadow: 0px 0px 0px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 0px rgba(0,0,0,0.1);
}

.main-content div.cont-general {
	padding: 15px 7%;
	background: #fafafa;
	border-top: solid 1px #e7e7e7;
	-webkit-box-shadow: 0px 0px 0px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 0px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 0px rgba(0,0,0,0.1);
}

/*--------------------------------------------------------------------------------------------------------------------*/
														/* Main Footer*/
/*--------------------------------------------------------------------------------------------------------------------*/
.main-footer{
	font-size: 12px;
	font-family:tahoma;
	position:relative;
}

.footer-top {
	background:#f0f7fb;
	background: -ms-radial-gradient(circle, #f0f7fb, #cee8f9);
	background: -webkit-gradient(radial, center center, 0, center center, 460, from(#f0f7fb), to(#cee8f9));
	background: -webkit-radial-gradient(circle, #f0f7fb, #cee8f9);
	background: -moz-radial-gradient(circle, #f0f7fb, #cee8f9);
	border-color: transparent;
}

.footer-bottom {
	background:#FF99CC!important;
}

/* skin */
a.blue-yellow:hover,
a.blue-yellow:focus {
	color: #008ac9!important;
}


/*-------------------------------------------------------------------------*/
							/*Go to Top*/
/*-------------------------------------------------------------------------*/

.back-to-top {
	color:#fff!important;
	position: fixed;
	bottom: 10px;
	right: 10px;
	text-align:center!important;
	padding: 3px 8px!important;
	display: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
   transition: background 0.1s ease-in-out;
   -moz-transition: background 0.1s ease-in-out;
   -webkit-transition: background 0.1s ease-in-out;
}

.back-to-top span {
	text-decoration: none!important;
	font-size: 15px!important;
	margin:0px!important;
	padding:0px!important;
}


/*-------- blue -----------*/
.blue-yellow-back {
	background-color: #FF66C1;
}

.blue-yellow-back:hover {
	background-color:#FF6699;
}

/*-------- dark blue -----------*/
.dark-blue-back {
	background-color: #008ac9;
}

.dark-blue-back:hover {
	background-color: #0e639d;
}



/*=============== main layout ================ */

h2.headline { 
	font-size:28px!important;
	line-height:28px!important;
	color:#333333;
	padding-top:0px;
	padding-bottom:10px;
}

div.subline {
	border-top:1px dotted #ccc;padding:10px 0px 10px 0px;
}

div.subline_title {
	border-bottom:2px solid #FF9900;
	padding:0px 0px 0px 0px;
	margin-bottom:10px;
	display:block;
	padding-top:30px;
}

h2.subheadline { 
	font-size:28px;
	color:#333333;
	padding:0px;
	margin:0px;
	display:inline-block;
}

h2.subheadline a.home { 
	color:#777;
}

h2.subheadline a.home:hover { 
	color:#919191;
}

div.headline h1 {
	font-size:25px; letter-spacing:1px;
}
