/*
Theme Name: ESB Chinese Theme
Version: 1.0
Author: Design Machine
Author URI: http://www.designmachine.co.uk/
Tags: blue, custom header, fixed width, two columns, widgets

  ---------------------------
  StyleSheet Index
  $1 - Global Styles
  $2 - Website Structure Styles
  $3 - Header Styles
  $4 - Content Styles
  $5 - Sidebar Styles
  $6 - Footer Styles
   ***************************/


/* *************************** 
   $1 GLOBAL Styles
   ***************************/
* {
	margin: 0;
	padding: 0;
  }
a{
	color: #bfbe16;
	text-decoration: none;
	}
a:hover {
	color: #bfbe16;
	text-decoration: underline;
	}
fieldset {
	border:none;
   }
li {
	list-style:none;
   }
.clear {
	clear: both;
   }
img {
	border: none;
	}
.center {
	text-align: center;
	}
.hidden {
	display: none;
	}
.alignright {
	float: right;
	}
.alignleft {
	float: left
	}

/* *************************** 
   $2 Website Structure Styles
   ***************************/
body {
	text-align: center;
	font:13px Arial, Helvetica, sans-serif;
	background:#474F8D url(images/bg_body.jpg) top repeat-x;
	background-attachment:fixed;
	color:#666;
	}

#page {
	text-align:left;
	overflow:hidden;
	margin:0 auto;
	width:980px;
	background:url(images/bg_page.png) left repeat-y;
	}
#page_inner{
	background:url(images/bg_page_inner.png) left top no-repeat;
	width:980px;
	padding:0 0 20px 0;
	float:left;
	}
/* *************************** 
   $3 Header Styles
   ***************************/
#header {
	position:relative;
	height:215px;
	width:100%;
	}
#header h1{
	position:absolute;
	left:40px;
	top:19px;
	}
#header h1 a{
	display:block;
	background:url(images/bg_logo.png) no-repeat;
	width:115px;
	height:141px;
	text-indent:-9999px;
	outline-style:none;
	}
.mainnav{
	position:absolute;
	bottom:12px;
	left:34px;
	}
.mainnav li{
	float:left;
	padding:0 6px;
	font-weight:bold;
	border-left:#666 1px solid;
	}
.mainnav .page-item-7{
	border:0;
	}
.banner{
	margin-left:40px;
	}
.banner img{
	vertical-align:middle;
	}
#header ul.languages {
	position:absolute;
	top:50px;
	right:40px;
}
#header ul.languages li {
	float:left;
	margin-left:5px;
}
#header ul.languages li a {
	width:41px;
	height:41px;
	display:block;
	text-indent:-9999px;
	outline-style:none;
}
#header ul.languages li#lang_en a {
	background:url(images/flag-uk.jpg)
}
#header ul.languages li#lang_th a {
	background:url(images/flag-thai.jpg)
}
#header ul.languages li#lang_cn a {
	background:url(images/flag-chinese.jpg)
}
#header ul.languages li#lang_kr a {
	background:url(images/flag-korea.jpg)
}
#header ul.languages li#lang_jp a {
	background:url(images/flag-japan.jpg)
}
#header ul.languages li#lang_vn a {
	background:url(images/flag-vietnam.jpg)
}
/* *************************** 
   $4 Content Styles
   ***************************/
#content {	
	float: left;
	margin-left:40px;
	display:inline;
	width:650px;
	padding:0 10px 0 0;
	overflow:hidden;
	}
.home #content h2{
	font-size:18px;
	color:#436d88;
	padding:17px 0 20px 0;
	font-weight:normal;
	}
.line{
	vertical-align:middle;
	}
.archive #content .pagetitle{
	padding-left:10px;
	}
#content h2{
	font-size:17px;
	padding:0 0 20px 0;
	color:#436d88;
	}
.home #content h3{
	color:#436d88;
	font-size:13px;
	}
#content .color_blue{
	color:#436d88;
	}
#content h3{
	font-size:15px;
	padding:0 0 18px 0;
	color:#939311;
	}
#content p{
	line-height:16px;
	padding:0 0 14px 0;
	}
#content .entry h1{
	font-size:15px;
	color:#939311;
	margin-bottom:15px;
	font-weight:normal;
	}
.section{
	width:100%;
	overflow:hidden;
	}
.sectionleft {
	float:left;
	width:145px;
	padding:4px 0 0;
	}
.sectionright{
	float:left;
	width:445px;
	}
.sectionleft img{
	border:#35708c 1px solid;
	}
.course_lists{
	width:100%;
	overflow:hidden;
	padding:0 0 15px 0;
	}
.course_lists li{
	float:left;
	width:200px;
	margin-right:20px;	
	}
.border_gray{
	vertical-align:middle;
	border:#d6d1be 5px solid;
	}
.course_lists .last{
	margin:0;
	}
.listtext{
	height:85px;
	}
.course_level{
	width:100%;
	overflow:hidden;
	}

.course_level .title{
	height:40px;
	background:#d2cdb9;
	color:#fff;
	text-indent:5px;
	font-weight:bold;
	padding:0;
	line-height:39px;
	margin-bottom:15px;
	}
.course_level li{
	width:100%;
	float:left;
	padding:0 0 15px 0;
	}
.course_level li .col1{
	float:left;
	font-weight:bold;
	width:150px;
	}
.course_level li .col2{
	float:left;
	width:480px;
	}
#content .post{
	width:640px;
	padding-left:10px;
	}
.single #content .post{
	padding-bottom:40px;
	}
.home.page #page #content .post{
	padding-top:12px;
	}
.blog #content .post{
	padding:0 0 40px 10px;
	}
.page #content .post{
	padding:0 0 0 10px;
	}
.entry  p a{
	font-weight:bold;
	}
.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}
.entry ol li {
	margin: 0;
	padding: 0;
	}
#respond{
	padding:0 0 0 10px;
	width:640px;
	}
.post-edit-link{
	margin-left:10px;
	}
.img_top{
	margin-bottom:12px;
	vertical-align:middle;
	}
h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
h3#comments {
	margin:0 0 0 10px;
	}
.formbox{
	width:100%;
	padding:8px 0 0 0;
	}
.formbox form{
	text-align:left;
	}
#content .formbox  p{
	height:30px;
	padding:0;
	}
.formbox label{
	float:left;
	font-weight:bold;
	line-height:19px;
	width:210px;
	}
.formbox input,.wp-email input{
	height:18px;
	width:251px;
	padding:1px 0 0 5px;
	font-size:13px;
	font-family:Arial, Helvetica, sans-serif;
	color:#000;
	border:#7f9db9 1px solid;
	}
.wp-email #wp-email-button{
	text-align:left;
	}
.wp-email em{
	font-size:11px;
	}
.wp-email .Button{
	background:#bfbe16;
	height:22px;
	width:101px;
	padding:1px 0 0 5px;
	font-size:13px;
	font-family:Arial, Helvetica, sans-serif;
	color:#fff;
	cursor:pointer;
	}
.wp-email  #imageverify{
	width:190px;
	font-size:11px;
	height:17px;
	margin-left:5px;
	}
.wp-email img{
	vertical-align:middle;
	}
.formbox select,.wp-email select{
	font-size:13px;
	font-family:Arial, Helvetica, sans-serif;
	color:#000;
	border:#7f9db9 1px solid;
	height:19px;
	width:160px;
	}
#content  .formbox .textarea_box{
	height:187px;
	}
.formbox .textarea_box label{
	padding-top:75px;
	}
.formbox textarea,.wp-email textarea{
	font-size:13px;
	font-family:Arial, Helvetica, sans-serif;
	color:#000;
	border:#7f9db9 1px solid;
	height:169px;
	width:411px;
	overflow:hidden;
	padding:5px;
	}
.formbox .btn input{
	color:#fff;
	font-size:11px;
	font-weight:bold;
	padding:0;
	border:0;
	width:75px;
	height:20px;
	background:url(images/bg_btn.jpg) no-repeat;
	cursor:pointer;
	}
.home.page .emailbox{	
	margin:19px 0 0 0;
	}
.page .emailbox{
	margin:25px 0 0 0;
	}
.emailbox{
	background:url(images/bg_emailbox_top.png) 0 0 no-repeat;
	width:639px;
	margin:5px 0 0 0;
	overflow:hidden;
	}
.emailbox_inner{
	background:url(images/bg_emailbox_bot.png) left bottom no-repeat;
	width:100%;
	overflow:hidden;
	padding:11px 0;
	}
.email_left{
	margin-left:11px;
	float:left;
	display:inline;
	background:url(images/bg_emailbox_left.png) no-repeat;
	width:156px;
	height:55px;
	padding:15px 15px 0 15px;
	line-height:20px;
	font-size:18px;
	text-align:center;
	}
.email_left a,.email_left a:hover{
	color:#fff;
	}
#content .emailbox p{
	float:left;
	padding:10px 0 0 12px;
	width:405px;
	line-height:16px;
	color:#666;
	}
/* *************************** 
   $5 Sidebar Styles
   ***************************/

#sidebar{
	float:left;
	margin-left:10px;
	display:inline;
	width:230px;
	}
#sidebar form {
	margin: 0;
	}
#sidebar h2 {
	font-size:17px;
	color:#e37e18;
	padding:0 0 9px 0;
	}
#sidebar p{
	line-height:16px;
	padding:0 0 5px 0;
	}
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}
#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}
#sidebar #searchsubmit {
	padding: 1px;
	}
#sidebar ul{
	width:100%;
	float:left;
	}
#sidebar ul li {
	margin:12px 0 8px  0;
	float:left;
	}
#sidebar ul ul{
	padding:0 0 13px 0;
	float:none;
	width:auto;
	margin:0;
	}
#sidebar ul ul li {
	margin:0;
	background:url(images/bullet2.jpg) 0 -2px no-repeat;
	padding:0 0 5px 20px;
	float:none;
	}
#sidebar ul ul ul {
	margin: 0 0 0 10px;
	}
#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}
.learnmore{
	float:left;
	background:url(images/bg_learnmore.png) right bottom no-repeat;
	padding:0 15px 0 0;
	}
.learnmore_inner{
	float:left;
	height:29px;
	padding:0 8px 0 10px;
	background:url(images/bg_learnmore.png) left top no-repeat;
	line-height:28px;
	font-size:12px;
	}
.learnmore_inner a,.learnmore_inner a:hover{
	color:#fff;
	}
ol li{
	list-style: decimal outside;
	}
#sidebar ul ol {
	margin: 0 0 0 10px;
	}
#sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	color: #777;
	list-style: decimal outside;
	}
#commentform p {
	margin: 5px 0;
	}
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	font:12px Arial, Helvetica, sans-serif;
	}
#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	font:12px Arial, Helvetica, sans-serif;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* *************************** 
   $6 Footer Styles
   ***************************/

#footer {
	width:980px;
	margin:0 auto;
	background:url(images/footer.png) 0 0 no-repeat;
	text-align:center;
	padding:54px 0 20px 0;
	color: #bfbe16;
	}
#footer p {
	padding:28px 0 12px 0;
	line-height:16px;
	}
#footer ul,#footer ul li{
	display:inline;
	}
#footer ul .page-item-24{
	border-right:#fff 1px solid;
	padding-right:5px;
	margin-right:5px;
	}
/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}
#wp-calendar a {
	display: block;
	text-decoration: none;
	}
#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	font-size: 9pt;
	}
#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	font-size: 9pt;
	}
#wp-calendar caption {
	text-align: center;
	width: 100%;
	text-decoration: none;
	font:16px Arial, Helvetica, sans-serif;;
	}
#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}
#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Calendar */		
.thread-alt {
	background-color: #f8f8f8;
    }
.thread-even {
  	background-color: white;
    }
.depth-1 {
    border: 1px solid #ddd;
    }
.alt {
	margin: 0;
	padding: 10px;
	border-left: 1px solid #ddd;
	}
.even{
	border-left: 1px solid #ddd;
   }


p img {
	max-width: 100%;
	}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
hr {
	display: none;
	}
.post hr {
	display: block;
	}
.postmetadata {
	clear: both;
	color: #777;
    }
.postmetadata ul, .postmetadata li {
	display: inline;
	}
.commentlist li ul li {
	font-size: 1em;
   }
.commentlist li {
	font-weight: bold;
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
   }
.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}
cite {
	text-decoration: none;
	}
.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}
blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}
blockquote cite {
	margin: 5px 0 0;
	display: block;
	}
.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	margin: 10px 5px 10px 0;
	}
.commentmetadata {
	font-weight: normal;
	margin: 0;
	display: block;
	}
.commentlist {
	padding: 0;
	margin:0 0 0 10px;
	}
.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
   }
  .vcard img.avatar{
	  margin-right:370px;
	  display:inline;
	  }
.children { padding: 0; }
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	color: #777;
	}
code {
	}
acronym, abbr {
	border-bottom: 1px dashed #999;
	cursor: help;
	font-size:12px;
	
	}
span.caps{
	cursor: help;
	font-size: 0.9em;
	letter-spacing: .07em;
	color: #777;
	}
small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	color: #777;
	}
.navigation {
	display: block;
	text-align: center;
	margin:10px 10px 60px 10px;
	}
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
    }
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
    }
.wp-caption img {
	margin: 0;
	padding: 0;
    }
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
    }




