@charset "utf-8";

html,body {
	width:100%!important;
}

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-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;*/
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}


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;
}



/*--------------------------------------------------------------------------------------------------------------------*/
														/*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 {
	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;
	
	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;
}

/* Member btn */
span.member-btn{
	text-decoration: none!important;
	text-align:left;
	font-family:Tahoma;
	margin-top:5px
}
span.member-btn a {
	padding: 3px 8px 3px 8px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #fafafa;
	color: #fafafa!important;
}
span.member-btn a:hover{
	color: #FFFF66!important;
	border: 1px solid #FFFF66;
	text-decoration: none!important;
}

span.member-btn a.current-tabs,
span.member-btn a.current-tabs:hover{
	color: #b13165!important;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	-webkit-text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	-moz-text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	outline:none;
}

.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;
}

.thaisansbold {
	font-family: 'thaisansbold'!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-content div.row {
	display:table-row;
}

.main-content div.leftpanel {
	width:10%;
	padding:20px 10px 30px 10px;
	border-left:0px solid #ccc;
	display:table-cell;
	background-color: rgba(255,255,255,0.95);
}

.main-content div.middlepanel {
	background-color:#fff;
	background-color: rgba(255,255,255,0.95);
	border-top:0px solid #ccc;
	border-right:0px solid #ccc;
	display:table-cell;
	vertical-align:top;
	padding-top:20px;
}

.main-content div.rightpanel {
	width:15%;
	background-color: rgba(255,255,255,0.95);
	padding:20px 10px 30px 10px;
	border-right:0px solid #ccc;
	display:table-cell;
	vertical-align:top;
}

/*--------------------------------------------------------------------------------------------------------------------*/
														/* 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:#008ac9!important;
}

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



/* =====  skin dark blue =====*/




/* ===== end skin dark blue =====*/


/*-------------------------------------------------------------------------*/
							/*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: #008ac9;
}

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

/*-------- 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:1px solid #dddddd;

	padding:0px 0px 5px 0px;
	margin-bottom:10px;
	display:block;
}

h2.subheadline { 
	font-size:1.75rem!important;
	color:#000;
	padding:0px;
	margin:0px;
	display:inline-block;
}

h2.submain { 
	font-size:1.75rem!important;
	color:#006699;
}

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

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

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

section div.contentblock {
	position:relative;
	display:block;
	background: #fff;
	padding: 40px 30px 45px 30px;
	box-shadow: 2px 2px 2px 1px rgba(128, 128, 128, 0.1);
	margin: 0 0 10% 0;
	min-height:240px
}

section div.videoblock {
	position:relative;
	display:block;
	background: #fff;
	padding: 10px 30px 40px 30px;
	box-shadow: 2px 2px 2px 1px rgba(128, 128, 128, 0.1);
	margin: 0 0 10% 0;
	min-height:240px
}

a.see-all-btns {
	color: #fff;
	text-transform: uppercase;
	padding: 8px 10px;
	display: inline-block;
	font-size: 13px;
	text-decoration:none!important;
	font-weight: normal;
	white-space:nowrap;
	opacity: 0.9;
	float:left;
	margin:5px 10px 10px 10px
}

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;
	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;
	border:none!important
}

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

a.seemore {
	color:#000;
	text-decoration:none!important;
}

a.seemore:hover {
	color:#3399FF!important;
}

/* 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;
	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;
	text-decoration:none!important;
	opacity: 0.9;
	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 */
}

a.blue-yellow-icon-btn i {
	font-size:14px!important;
}

/* 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:1.15rem!important;
	font-family:'thaisansbold'!important;
	font-size:1.15rem!important;
}

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

section.footer-contact p {
	padding:5px 0px 5px 0px;
	color:#000000!important;
	font-size:1.35rem!important;
	font-family:'thaisansbold'!important;
}

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

p.social {
	font-size:20px!important
}

p.social a {
	font-size:24px!important
}


span.social_enable {
	color:#49b7e6;
}

span.social_disable {
	color:#999;
}

p.operating_system {
	color:#49b7e6;
	font-size:20px;
}

p.browser {
	color:#999;
	font-size:20px;
}

p.social span {
	margin:0px 10px 0px 0px
}

div.border-stat {
	border:2px solid rgba(255,255,255,0.6);
	border:1px solid  #66CCCC;
	border-radius:6px;
	text-align:left;
	vertical-align:middle!important;
	background:rgba(255,255,255,0);
	box-shadow: 1px 1px 1px 1px rgba(218, 218, 218, 0);
	padding:10px;
}
div.border-stat h2 {
	color:#000;
	padding-bottom:5px;
	margin-bottom:10px
}
div.border-stat p{
	padding:3px 0px;
	text-align:left;
	color:#333!important;
}

div.border-stat p > i {
	color:#999;
	padding-right:10px;
}

div.border-stat p i.online {
	color:#00CC00;
}

div.border-stat p > span.counter {
	float:right;
}



/*=============== recent entry 1 ประกาศ ================ */

ul.notice-box li {
	padding: 0.8em 0 1em 0;
	overflow: hidden;
	font-size:13px;
}


ul.notice-box li:first-child {
	padding-top: 5px !important;
	border-top: 0 !important;
}

.notice-box li:last-child {
	padding-bottom: 0px !important;
	border-bottom: 0 !important;
}


ul.notice-box li a {
	font-size:13px;
	margin:0px;
	padding:0px;
	text-decoration:none;
}

/* skin */
ul.notice-box li.blue-yellow a {
	color:#1d98c7;
}


ul.notice-box li a:hover {
	color:#000;
	text-decoration:none
}

ul.notice-box li div.cont {
	display: block;
	margin: 0px 0px 0px 80px;
	text-align:left;
	height:65px;
	line-height:1.3em;
	border-bottom:1px dotted #ccc;
	position:relative;
}

ul.notice-box li:last-child div.cont {
	border-bottom:none!important;
}

ul.notice-box li div.cont > span.minitext {
	display:block;
	color:#777;
	padding-top:5px;
}

ul.notice-box li div.cont > span.datetext {
	position:absolute;
	bottom:5px;
	right:0px;
	font-size:0.9em;
	color:#777;
}

ul.notice-box li span.icon {
	display: inline-block;
	margin: 0 0em 0 0;
	vertical-align: bottom;
	font-size: 1.1em;
	line-height:1.2em;
}

ul.notice-box li div.bg {
	float: left;
	display: block;
	width: 60px;
	height: 60px;
	text-align:center;
	border-radius: 50%;
	background: #e7e7e7;
	background-position: center;
	background-repeat:no-repeat!important;
	-webkit-background-size: cover!important;
	-moz-background-size: cover!important;
	-o-background-size: cover!important;
	background-size: cover!important;
	position: absolute!important;
	margin: 0 0 0 0px;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;	
}

ul.notice-box li div.bg:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);										
	opacity:0.7;
	z-index:0;
}

ul.notice-box li div.bg span.hidden{
	opacity:0;
}


ul.notice-box li div.bg span{
	position:relative;
	width:100%;
	height:40%;
	top:30%;
	font-size:1.5em;
	padding:5px;
}

/*=============== recent entry 2 ================ */

.news-box li {
	padding: 0.5em 0 0.5em 0;
	overflow: hidden;
}


.news-box li:first-child {
	padding-top: 25px !important;
	border-top: 0 !important;
}

.news-box li:last-child {
	padding-bottom: 0px;
	border-bottom: 0 !important;
}


.news-box li a {
	margin:0px;
	padding:0px;
	color:#1d98c7;
	text-decoration:none;
	font-family:thaisansbold;
	font-size:1.1rem;
}

.news-box li a:hover {
	color:#000;
	text-decoration:none
}

.news-box li div.cont {
	display: block;
	margin: 0px 0px 0px 80px;
	text-align:left;
	height:65px;
	line-height:1em;
	border-bottom:1px dotted #ccc;
	position:relative;
}

.news-box li:last-child div.cont {
	border-bottom:none!important;
}

.news-box li div.cont > span.minitext {
	display:block;
	color:#777;
	margin-top:5px;
	cursor:text;
	font-size:1em;
}

.news-box li div.cont > span.datetext {
	position:absolute;
	bottom:5px;
	right:0px;
	font-size:0.9em;
	color:#777;
}

.notice-box li span.icon {
	display: inline-block;
	margin: 0 0em 0 0;
	vertical-align: bottom;
	font-size: 1.1em;
	line-height:1.2em;
	color:#444;
}

.news-box li div.bg {
	float: left;
	display: block;
	width: 60px;
	height: 60px;
	text-align:center;
	border-radius: 0%;
	background: #e7e7e7;
	background-repeat:no-repeat!important;
	background-size: cover!important;
	position: absolute!important;
	margin: 0 0 0 0px;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;	
}


.news-box li div.bg:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);										
	opacity:0.7;
	z-index:0;
}

.news-box li div.bg span.hidden{
	opacity:0;
}


.news-box li div.bg span{
	position:relative;
	width:100%;
	height:40%;
	top:30%;
	font-size:1.5em;
	padding:5px;
}


.thumbnail {
	position: relative;
	width: 90px;
	height: 70px;
	overflow: hidden;
	float:left;
	display: block;
	margin-left:10px;
}

.thumbnail imgs {
	position: absolute;
	left: 50%;
	top: 50%;
	height: 100%;
	width: auto;
	-webkit-transform: translate(-50%,-50%);
	  -ms-transform: translate(-50%,-50%);
		  transform: translate(-50%,-50%);
}

.thumbnail img.portrait {
  width: 100%;
  height: auto;
}

.db_content {
	font-size:13px!important;
}

.db_content a {
	color:#003366!important;
	text-decoration:none!important;
	font-family:tahoma!important;
	font-size:13px!important;
}

.db_content a:hover {
	color:#000!important;
	text-decoration:underline!important;
}

.public-content p {
	margin-top:10px;
	color:#000!important;
	line-height:20px!important
}

.public-content p:first-child {
	margin-top:40px;
}

.public-title {
	float:left;margin-left:70px
}

.public-title h2{
	color:#000;line-height:20px
}

.public-title span{
	color:#555;line-height:15px;
	margin-top:5px;
	padding-right:5px;
	float:left!important;
}

.calendar-title {
	float:left
}

.calendar-title h2{
	color:#000;line-height:20px
}

.calendar-title span{
	color:#555;line-height:15px;
	margin-top:5px;
	padding-right:5px;
	float:left!important;
}

.cont-gallery p {
	margin-top:10px;
	color:#000!important;
	line-height:28px!important;
}

.cont-gallery p:first-child {
	margin-top:40px;
}

.gallery-title {
	float:left;margin-left:70px
}

.gallery-title h2{
	color:#000;line-height:20px
}

.gallery-title span{
	font-size:12px;
	color:#555;line-height:15px;
	margin-top:5px;
	padding-right:5px;
	float:left!important;
}

div.thumbnail-entry {
	display: block;
	width: 150px;
	height: 90px;
	text-align:center;
	border-radius: 0px;
	border:solid 0px #ccc;
	background: #e7e7e7;
	background-position: center;
	background-repeat:no-repeat!important;
	-webkit-background-size: cover!important;
	-moz-background-size: cover!important;
	-o-background-size: cover!important;
	background-size: cover!important;
	position: absolute!important;
	margin: 0 0 0 0px;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;	
}

div.thumbnail-entrys {
	display: block;
	width: 60px;
	height: 60px!important;
	text-align:center;
	border-radius: 0px;
	border:solid 0px #ccc;
	background: #e7e7e7;
	background-position: center;
	background-repeat:no-repeat!important;
	-webkit-background-size: cover!important;
	-moz-background-size: cover!important;
	-o-background-size: cover!important;
	background-size: cover!important;
	position: absolute!important;
	margin: 0 0 0 0px;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;	
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
  padding-bottom: 75%;
}

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:#006699;
	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;
}

.royal_banner {
    width: 100%;
    height: 332px;
	display:block;
    background-position: center;
    background-size: cover;
	background-color: rgba(239, 239, 239, 1);
	background-size: auto, 100% 250%;
	background-repeat:no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


.tabslide {
	margin-top:10px;
	background-color:#fff;padding:10px 10px 20px 10px; border:1px solid #dadada; border-radius:3px
}

.facebooktab {
	margin-top:10px!important;
	margin-bottom:0px!important;
	background-color:#fff;padding:5px; border:1px solid #dadada; border-radius:3px
}

.content {
	margin-top:0px
}

/*---------------------------------------------------------------------------------------------*/
/*          										      pagination        					                    */
/*---------------------------------------------------------------------------------------------*/

#footerpagenav {clear:both; padding:16px 0px; color:#bbb;border-top:#ddd 1px solid; overflow:hidden; margin-top:40px; font-size:13px; font-weight:normal}
#footerpagenav a {color:#222; margin:0px 2px; padding:2px 6px; font-size:13px; font-weight:normal}
#footerpagenav a:hover{ background:#999; padding:2px 6px; border-radius:2px; color:#fff; font-size:13px ;font-weight:normal}

#footerpage {clear:both; padding:6px 0px; color:#bbb;border-top:#ffffff 1px solid; overflow:hidden; margin-top:0px; font-size:13px}
#footerpage a {color:#222; margin:0px 2px; padding:2px 6px; font-size:13px}
#footerpage a:hover{ background:#999; padding:2px 6px; border-radius:2px; color:#fff; font-size:13px }

#footerpagenav .pagenavnext {float:right; width:100px; text-align:right; font-size:13px}
#footerpagenav .pagenavselection {width:710px; text-align:center; font-size:13px}
#footerpagenav .pagenavprevious {float:left; width:100px; text-align:left; font-size:13px}
#footerpagenav .current {background:#222; padding:2px 6px;color:#fff; margin:0px 2px; border-radius:2px; font-size:13px}

/*---------------------------------------------------------------------------------------------*/
/*          										      pagination        					                    */
/*---------------------------------------------------------------------------------------------*/

#page { width:100%; clear:both; padding:6px 0px; color:#bbb;border-top:#ddd 1px solid; overflow:hidden; font-size:13px; margin-top:40px }
#page a {color:#222; margin:0px 2px; width:30px; height:30px; padding:4px 4px; font-size:13px;border-radius:50px; }
#page a:hover{ background:#999;width:30px; height:30px; padding:4px 4px; border-radius:50px; color:#fff; font-size:13px }

#inner {
  display: table;
  margin: 0 auto;
}

#page .pageprev { width:30px; height:30px; padding:4px 11px;float:left; text-align:left; font-size:13px;margin-top:0px;border-radius:50px; }
#page .pagenext { width:30px; height:30px; padding:4px 11px;float:left; text-align:right; font-size:13px;margin-top:0px;border-radius:50px; }
#page .pagemiddle { float:left;text-align:center; font-size:13px; }


#page .current { background:#222;width:30px; height:30px; padding:4px 4px;color:#fff; margin:0px 2px; border-radius:50px; font-size:13px }

#page .pageprev i { font-size:11px; }
#page .pagenext i { font-size:11px }

/* Firefox old*/
@-moz-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 

@-webkit-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}
/* IE */
@-ms-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 
/* Opera and prob css3 final iteration */
@keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 

.blink-image0 {
    -moz-animation: blink normal 1.2s infinite ease-in-out; /* Firefox */
    -webkit-animation: blink normal 1.2s infinite ease-in-out; /* Webkit */
    -ms-animation: blink normal 1.2s infinite ease-in-out; /* IE */
    animation: blink normal 1.2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}


.blink-image1 {
    -moz-animation: blink normal 1.2s infinite ease-in-out; /* Firefox */
    -webkit-animation: blink normal 1.2s infinite ease-in-out; /* Webkit */
    -ms-animation: blink normal 1.2s infinite ease-in-out; /* IE */
    animation: blink normal 1.2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}


.blink-image2 {
    -moz-animation: blink normal 1.2s infinite ease-in-out; /* Firefox */
    -webkit-animation: blink normal 1.2s infinite ease-in-out; /* Webkit */
    -ms-animation: blink normal 1.2s infinite ease-in-out; /* IE */
    animation: blink normal 1.2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}

@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:20px; padding-left:15px; color:#006699; font-size:30px; line-height:36px
}

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

.schoolname_hidden {
	padding-top:20px; padding-left:15px; color:#006699; font-size:30px; line-height:30px; text-transform:uppercase;
}

.topright {
	margin-top:10px;
}

.submap {
	display:none!important
}

ul.site-menu li  {
	padding-left:20px!important;
}

ul.site-menu li a {
	padding:0px 10px;
	margin:0px;
	font-weight:normal;
	font-size:24px!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;
}

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

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

ul.site-menu li a:active {
	color:#006699;
}

/* start leftmenu */

ul.leftmenu {
	border:1px solid #eaeaea;
	border-radius:6px ;
	margin-top:10px;
	padding-top:0px;
	padding-bottom:10px;
	background:#FFFFFF
}

ul.site-menu li.leftmenu{
	padding-left:10px!important;
	padding-right:15px!important;
	padding-top:5px;
	padding-bottom:5px;
	line-height:25px!important;
}

ul.site-menu li.leftmenu a {
	font-size:20px!important;
	line-height:22px!important;
	color:#333!important;
	padding-left:20px!important;
}

ul.site-menu li.leftmenu a > i {
	font-size:12px!important;
	color:#333
}

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


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

ul.site-menu li.leftmenu a:active {
	color:#006699;
}

ul.site-menu li.leftmenu a.active  {
	color:#FF9900!important;
}

ul.site-menu li.leftmenu a.active i  {
	color:#FF9900!important;
}
/* end leftmenu */

.cont-slide {
	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);
}

.cont-news-calendar {
	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);
}

/*=============== recent entry 3 ================ */

.entry-box li {
	padding:10px 0px;
	overflow: hidden;
	text-align:left;
	float:left;
	margin:10px 10px 10px 10px;
	position:relative;
	width: 48%;
}

.newslist .entry-box li {
	width: 100%;
}

.entry-box li td {
	font-size:13px;
	text-align:left;
	line-height:18px;
	vertical-align:top;
}


.entry-box li a {
	color:#000;
	text-decoration:none;
}

.entry-box li a:hover {
	color:#1d98c7;
	text-decoration:none;
}

.entry-box li span.icon {
	display: inline-block;
	margin: 0 0em 0 0;
	vertical-align: bottom;
	font-size: 1.1em;
	line-height:1.2em;
	color:#777;
}

td.col_bg {
	width:10%;
}

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
}



i.h7 {
  font-size: 1.15rem!important;
  line-height:2rem!important;
}

.textcenter {
	text-align:center!important;
}

.font-18 {
	font-size:18px!important;
	line-height:18px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}

.font-19 {
	font-size:19px!important;
	line-height:19px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}

.font-20 {
	font-size:20px!important;
	line-height:20px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}

.font-21 {
	font-size:21px!important;
	line-height:21px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}

.font-22 {
	font-size:22px!important;
	line-height:22px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}

.font-23 {
	font-size:23px!important;
	line-height:23px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}


.font-24 {
	font-size:24px!important;
	line-height:24px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}


.font-28 {
	font-size:28px!important;
	line-height:28px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}


.font-30 {
	font-size:30px!important;
	line-height:30px!important;
	font-weight:normal!important;
	letter-spacing:0px!important;
}

.personnelimg {
	background-repeat:no-repeat!important;
	-webkit-background-size: cover!important;
	-moz-background-size: cover!important;
	-o-background-size: cover!important;
	background-size: cover!important;
	background-position: center 0px center!important;
}