body
{
	background-color: #C5E7F1;
	font-family: Leelawadee UI;
	margin: 0;
	background-image: url(    '../img/bgB.png' );
	font-size: 16px;
}

textarea, select, input[type=text]
{
	font-family: Leelawadee UI;	
	font-size: 13px;
	height: 30px;
	line-height: 30px;	
	border: 1px solid #d5d5d5;
	margin: 0 0 5px 0;
	padding: 0 4px;
}

img {
	border-style: none;
	border-color: inherit;
	border-width: 0;
}
.clearfix:after, #contents:after {
	clear:both;
	content:"";
	display:block;
	height:1%;
	line-height:0;
	visibility:hidden;
}
.btn {
	background: url(../img/bg-button.png) no-repeat;
	background-position: 0 -70px;
	color: #fff;
	display: inline-block;
	font: 24px/60px 'OpenSans';
	height: 60px;
	width: 230px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}
.btn:hover {
	background-position: 0 0;
}
/*------------------------------ HEADER ------------------------------*/
#header
{
	background-color: #EEE;
	border-bottom: 1px solid #e6e6e6;
	padding: 10px 0 0px 0;
}
#header > div, #footer > div
{
	width: 920px;
	margin: 0 auto;
}
/** Logo **/
#header .logo {
	float: left;
	margin-right: 0px;	
}
#header .logo a {
	background: url(../img/logo.png) no-repeat center top;
	display: block;
	font: 15px/30px 'Play';
	height: 161px;
	width: 924px;
}
/** Navigation **/

#navigation
{
	display: inline-block;
	list-style: none;
	line-height: 100px;
	margin: 0;
	padding: 0;
	background-image: url(img/transparent.png);
	background-repeat: repeat;
}

#navigation ul {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}
#navigation li {
	float: left;
	width: 160px;
	text-align: center;
}
#navigation li a {
	color: #FFF;
	font-size: 15px;
	line-height: 30px;
	text-decoration: none;
}
#navigation li a:hover {
	color: #000;
}
#navigation li.active a {
	color: #f99600;
}

/* Menu */

#menu-wrapper
{
	background: url(../img/menu.png) repeat;	
}

#menu {
	height: 65px;
}

#menu ul
{
	text-align: left;
	padding-left: 50px;
}

#menu li
{
	display: inline-block;
	padding: 0px 20px 0px 20px;
	line-height: 60px;
}

#menu a {
	display: block;
	float: left;
	margin-right: 2px;
	text-decoration: none;
	text-transform: uppercase;	
	font-size: 13pt;
	color: #FFF;
}

#menu .current_page_item {
	color: #FFF;
}

#menu .current_page_item a {
	color: #FFF;
}

#menu a:hover {
}


#adbox
{
	/*background: url(../img/bgB.png) repeat-x left top;*/
	height: 150px;
	padding: 20px 0 60px 0;
}
#adbox > div {
	width: 1025px;
	margin: 0 auto;
	padding: 0 80px;
}
#adbox > div img {
	float: right;
	margin-left: 60px;
}
#adbox h1, #adbox h2 {
	color: #2c2c2c;
	font-size: 60px;
	line-height: 60px;
	margin: 0;
	text-transform: uppercase;
}
#adbox h2 {
	font-size: 30px;
	line-height: 36px;
	text-transform: none;
}
#adbox p {
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}
#adbox p span {
	display: block;
	font-size: 12px;
	width: 360px;
	padding: 24px 0;
	text-align: center;
}
#adbox p span b {
	font-weight: normal;
	display: block;
	width: 256px;
}

.l1
{
	font-size: 13px;
	height: 30px;
	line-height: 30px;
	width: 380px;
	border: 1px solid #d5d5d5;
	margin: 0 0 5px 0;
	padding: 0 4px;
}
.l2 {
	font-size: 14px;
	height: 30px;
	line-height: 30px;
	width: 100%;	
}

.l3
{
	font-size: 15px;
	color: #195F88;
}

.l4
{ 
	font-size: 10px;
	color: #FF3300; 
	font-weight: bold; 
}

.l5 {
	font-size: 14px;
	height: 20px;
	line-height: 20px;
}

.b1
{
	text-align: center;
	background: #FFF url(../images/button.png) repeat-x left top;
	padding: 0 20px 0 20px;
	height: 26px;
	line-height: 26px;
	color: #4a4a4a;
	font-size: 13px;
	border: 1px solid #dbdbdb;
	display: inline-block;
	font-family: 'Amaranth', sans-serif;
	cursor: pointer;
	margin-bottom: 20px;
	-webkit-transition:all 200ms ease-in;
	-moz-transition:all 200ms ease-in;
}

.pic
{
	display: inline-block;
	font-size: 11px;
	line-height: 25px;
	width: 22px;
	text-align: center;
	text-decoration: none;
	background-image: url(   '../img/ico-data2.png' );
	color: #000000;
	font-weight: bold;
}

/*------------------------------ CONTENTS ------------------------------*/
#menus
{
	width: 960px;
	margin: 0 auto;
	padding: 0px 0px 0px 0px;
	background-image: url( ../img/transparent_light.png );
	background-repeat: repeat;
}
#menus > div{
	width: 960px;
	margin: 0 auto;	
	padding: 0x 0px 0px 0px;
}

#cts
{
	width: 880px;
	margin: 0 auto;
	padding: 105px 40px 54px 40px;
	background-image: url( ../img/transparent_light.png );
	background-repeat: repeat;
}
#contents
{
	min-height: 560px;
	width: 880px;
	margin: 0 auto;
	padding: 30px 40px 54px 40px;
	background-image: url( ../img/transparent_light.png );
	background-repeat: repeat;
}
h1 {
	color: #3e3e3e;
	font-size: 30px;
	font-weight: normal;
	line-height: 30px;
	margin: 0 0 30px;
}
h2 {
	color: #2c2c2c;
	font-size: 24px;
	font-weight: normal;
	line-height: 24px;
	margin: 0 0 12px;
}
p
{
	color: #585858;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 10px 0;
}
p a {
	color: #585858;
}
#tagline h1 {
	margin-left: 20px;
}
#tagline > div {
	float: left;
	width: 400px;
	margin: 0 20px;
}
#contents .features {
	width: 810px;
	margin: 0 auto;
}
.features > div {
	display: inline-block;
	margin: 0 0 30px;
}
.features > div img {
	float: left;
	margin-right: 20px;
	margin-top: 36px;
}
.date {
	float: left;
	height: 78px;
	width: 70px;
	margin-right: 20px;
	border: 1px solid #d5d5d5;
	text-align: center;
}
.date p {
	margin: 12px 0 0;
}
.date p span {
	display: block;
	font-size: 30px;
	margin-bottom: 6px;
}
.author {
	color: #585858;
	display: block;
	font-size: 12px;
}
.more {
	background-color: #727272;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	line-height: 30px;
	width: 100px;
	text-align: center;
	text-decoration: none;
}
.more:hover, .message input[type='submit']:hover {
	background-color: #f99600;
	color: #000;
}
.more2 {
	background-color: #727272;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	line-height: 30px;
	width: 150px;
	text-align: center;
	text-decoration: none;
}
.more2:hover, .message input[type='submit']:hover {
	background-color: #f99600;
	color: #000;
}

.more3 {
	background-color: #8E8E8E;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	line-height: 25px;	
	text-align: center;
	text-decoration: none;
}
.more3:hover, .message input[type='submit']:hover
{
	background-color: #000;
	color: Yellow;
}

.more4
{
	background-color: #8E8E8E;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	line-height: 25px;
	width: 70px;
	text-align: center;
	text-decoration: none;
}
.more4:hover, .message input[type='submit']:hover {
	background-color: #000;
	color: Yellow;
}
.more4:disabled, button[disabled]
{
	background-color: #669999;
	color: #fff;
}

/** main **/
.main {
	float: left;	
	min-height: 100px;
	width: 620px;
	padding-left: 24px;
}
.main h1, .sidebar h1 {
	margin: 0 0 12px;
	position: relative;
	top: -18px;
}
.main h2 span {
	display: block;
	font-size: 12px;
}
/** sidebar **/
.sidebar {
	float: left;
	background: url(../img/divider.png) repeat-y right top;	
	min-height: 280px;
	width: 216px;
	margin-right: 20px;
}
.sidebar ul, .news {
	list-style: none;
	margin: 0;
	padding: 0;
}
.news li {
	border-top: 1px solid #d5d5d5;
	padding: 24px 30px 0 100px;
	position: relative;
}
.news li .date {
	float: none;
	position: absolute;
	left: 0;
	top: 30px;
}
.news li > p span, .post > span {
	display: block;
	text-align: right;
}
.posts {
	/** border-top: 1px solid #d5d5d5; **/
}
.posts li
{
	/**border-bottom: 1px solid #d5d5d5; **/
	padding: 0px 10px 0px 10px;
}
.posts li p {
	font-size: 14px;
}
.posts li .title {
	font-size: 16px;
	font-weight: normal;
	margin: 0 0 12px;
}
.posts li .title a {
	color: #2c2c2c;
	font-size: 16px;
	text-decoration: none;
}
.post {
	width: 785px;
	margin: 0 auto;
}
.post h1 {
	padding-top: 12px;
}
#list
{
	padding: 0 0 400px 0;
}
#about {
	width: 740px;
	margin: 0 auto;
}
#about h1, .section h1 {
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 12px;
}
.section {
	float: left;
	width: 390px;
	margin-right: 50px;
}
.section h1 {
	margin-bottom: 18px;
}
.message input[type='text'], .message textarea {
	color: #aeaeae;
	font-size: 13px;
	height: 33px;
	line-height: 33px;
	width: 380px;
	border: 1px solid #d5d5d5;
	margin: 0 0 6px;
	padding: 0 4px;
}
.message textarea {
	height: 175px;
	overflow: auto;
	resize: none;
}
.message input[type='submit'] {
	float: right;
	background-color: #818181;
	color: #d5d5d5;
	cursor: pointer;
	font: 13px/30px Arial, Helvetica, sans-serif;
	height: 30px;
	border: 0;
	margin: 0;
	padding: 0 10px;
}
.contact {
	background-color: #f8f8f8;
	width: 270px;
	padding: 124px 60px;
	text-align: center;
}
.contact p span {
	color: #2c2c2c;
	display: block;
	font-size: 30px;
	line-height: 36px;
	padding: 18px 0;
}

/* Sidebar */

#sidebar {
	float: left;
	width: 240px;
	margin: 0px;
	padding: 40px;
	background: #F0F0F0;
	border-radius: 7px;
}

#sidebar2
{
	border: dashed gray;
	float: left;
	width: 400px;
	margin: 0px;
	padding: 40px;
	background: #F0F0F0;
	border-radius: 7px;
}
#sidebar3 {
	width: 550px;
	margin: 0px;
	padding: 40px;
	background: #F0F0F0;
	border-radius: 7px;
}

#sidebar4 {
	float: left;
	width: 800px;
	margin: 0px;
	padding: 40px;
	background: #F0F0F0;
	border-radius: 7px;
}

#sidebar5 
{
	border: dashed gray;
	float: right;
	width: 350px;
	margin: 0px;
	padding: 40px;
	background: #F0F0F0;
	border-radius: 7px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin: 0px 0px;
	padding-bottom: 30px;
}

#sidebar li li {
	line-height: 40px;
	border-bottom: 1px solid #E7EBED;
	margin: 0px 0px;
	border-left: none;
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar li li a
{
	display: block;
	text-decoration: none;
}

#sidebar h2 {
	height: 38px;
	padding: 0px 0px 30px 0px;
	letter-spacing: -.5px;
	font-size: 1.8em;
	color: #222222;
}

#sidebar p {
	margin: 0 0px;
	padding: 0px 30px 20px 30px;
	text-align: justify;
}

#sidebar a {
	border: none;
}

#sidebar a:hover {
  color: #FFF;
  background: #4C7DAF;
  background: -moz-linear-gradient(#7D5B49, #3D291E);
  background: -o-linear-gradient(#7D5B49, #3D291E);
  background: -webkit-linear-gradient(#4C7DAF, #4C7DAF);
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; 
}

/*------------------------------ FOOTER ------------------------------*/
#footer
{
	background-color: #195F88;
	border-top: 1px solid #d8d8d8;
	padding: 30px 0;
}
#footer p
{
	font-size: 14px;
	line-height: 30px;
	padding-left: 10px;
	color: #FFFFFF;
}
#connect {
	float: right;
	display: inline-block;
	margin-right: 30px;
}
#connect a {
	background: url(../img/icons.png) no-repeat;
	display: inline-block;
	height: 30px;
	width: 30px;
	margin: 0 10px;
}
#connect a.googleplus {
	background-position: 0 -40px;
}
#connect a.twitter {
	background-position: 0 -80px;
}
#connect a.tumbler {
	background-position: 0 -120px;
}
#connect a.facebook:hover {
	background-position: -40px 0;
}
#connect a.googleplus:hover {
	background-position: -40px -40px;
}
#connect a.twitter:hover {
	background-position: -40px -80px;
}
#connect a.tumbler:hover {
	background-position: -40px -120px;
}

.gv 
{    
    border: solid 1px gray;
}
.gvj
{
	font-weight: normal;
	background-color: #B50D0D;
}
.gvi
{
	font-weight: normal;
	background-color: #0033CC;
	
}
.gvh
{
	font-weight: normal;
	background-color: Silver;
}
.gvh td
{
    padding: 3px 3px 3px 3px;
    border-top: solid 1px gray;
    border-bottom: solid 1px gray;
}
.gvi td
{
    padding: 3px 3px 3px 3px;
    border-top: solid 1px gray;
    border-bottom: solid 1px gray;
}
.gvj td
{
    padding: 3px 3px 3px 3px;
    border-top: solid 1px gray;
    border-bottom: solid 1px gray;
}
.gvr 
{
    background-color: White;
}
.gvr td
{
    border-top: solid 1px gray;
    padding: 3px 3px 3px 3px;
}
.gva 
{
    background-color: #f1f1f1;
}
.gva td
{
    border-top: solid 1px gray;
    padding: 3px 3px 3px 3px;
}
.gv2 
{
    
    border: solid 1px #B0C3E4;
}
.gv2h 
{
    color: #3377CC;
    font-weight: normal;
    background-color: #D7E1F1;
}
.gv2h td
{
    padding: 3px 3px 3px 3px;
}
.gv2h_e 
{
    color: #3377CC;
    font-weight: normal;
    background-color: #D7E1F1;
}
.gv2h_e td
{
    border-top: solid 1px #B0C3E4;
    padding: 3px 3px 3px 3px;
}
.gv2r 
{
    background-color: White;
}
.gv2r td
{
    border-top: solid 1px #B0C3E4;
    padding: 3px 3px 3px 3px;
}
.gv2a 
{
    background-color: #f1f1f1;
}
.gv2a td
{
    border-top: solid 1px #B0C3E4;
    padding: 3px 3px 3px 3px;
}

.MyCalendar .ajax__calendar_container
{
	border: 1px solid #646464;
	background-color: #DDDDDD;
	color: Red;
	line-height: 12px;
}
.MyCalendar .ajax__calendar_other .ajax__calendar_day, .MyCalendar .ajax__calendar_other .ajax__calendar_year
{
	color: Black;
}
.MyCalendar .ajax__calendar_active .ajax__calendar_day,
.MyCalendar .ajax__calendar_active .ajax__calendar_month,
.MyCalendar .ajax__calendar_active .ajax__calendar_year 
{
	color: Black;
	font-weight:bold;
}

.modalBackground {
	background-color:Gray;
	filter:alpha(opacity=70);
	opacity:0.7;
	
}


.one-half {
	width:48%;
}
.one-third {
	width:30.66%;
}
.two-third {
	width:65.33%;
}
.one-fourth {
	width:22%;
}
.three-fourth {
	width:74%;
}
.one-fifth {
	width:16.8%;
}
.two-fifth {
	width:37.6%;
}
.three-fifth {
	width:58.4%;
}
.four-fifth {
	width:67.2%;
}
.one-sixth {
	width:13.33%;
}
.five-sixth {
	width:82.67%;
}
.one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth, .three-fifth, .four-fifth, .one-sixth, .five-sixth {
	position:relative;
	margin-right:4%;
	float:left;
}
.last {
	margin-right:0 !important;
	clear:right;
}
.items {
	width: 1110px;
	overflow: hidden;
	margin-bottom: -35px;
	
}
.box {
	padding: 0;
	float: left;
}

.box h4 {
	padding:13px 0 5px 0;
	margin: 0;
}
.box h4 a {
	color: #4a4a4a;
}
.box h4 a:hover {
	color: #ab4d63;
}
.box p {
	padding: 0;
	margin: 0;
}

.col1 h4 {
	padding:0 0 5px 0;
	margin: 0;
}
.col1 p {
	margin-bottom: 15px;
}

.col1 {
	width: 700px;
	margin: 0 0 40px 0;	
	clear: both;
}

.col1 img {
	width: 455px;
}
.col2 {
	width: 335px;
	margin: 0 30px 40px 0;	
}
.col2 img {
	width: 335px;
}
.col3 {
	width: 220px;
	margin: 0 20px 40px 0;	
}
.col3 img {
	width: 220px;
}
.col4 {
	width: 160px;
	margin: 0 20px 40px 0;	
}
.flickr .col4, .dribbble .col4 {
	margin: 0 20px 20px 0;	
}
.col4 img {
	width: 160px;
}