/*
Theme Name: CN Asia
Theme URI: http://www.idesignweb4u.com
Version: 1.0
Author: Ryan Ng
Author URI: ttp://www.idesignweb4u.com
*/


/* == BASICS == */

header, footer, section, article, aside, nav {
	display: block;
	}
body {
	margin: 0;
	background: #F7F7F7;
	font-family: Arial, Verdana;
	font-size: 13px;
	}
ul, li {
	margin:0;
	padding:0;
	list-style: none;
}
h1,h2,h3,h4,h5,h6 {
	padding: 0;
	margin: 0;
}
h1 {
	font-family: Verdana;
	font-size: 15px;
	color:#666;
}
h3 {
	font-size: 13px;
	color:#666;
}
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}
/* == LINKS == */

a {
	text-decoration: none;
	color: #318CBB;
	}
a:hover, a:active {
	text-decoration: underline;
	color: #333;
	}
/* == WRAPPER ==*/
#home-wrapper, nav, #mainbanner, #content-wrapper {
	width: 960px;
	margin: 0 auto;
}
/* == HEADER == */
body>header {
	clear: both;
	width: 960px;
	margin: 0 auto;
}
body>header>.left {
	padding:25px 0 20px 0;
	float: left;
}
body>header>.right {
	margin-top: 40px;
	float: right;
}
body>header>.right>.search {
	float: right;
}
/* == NAV == */
#nav-wrapper {
	clear: both;
	width: 100%;
	background: #11549c; /* Old browsers */
background: -moz-linear-gradient(top, #11549c 0%, #0f4a8a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#11549c), color-stop(100%,#0f4a8a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #11549c 0%,#0f4a8a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #11549c 0%,#0f4a8a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #11549c 0%,#0f4a8a 100%); /* IE10+ */
background: linear-gradient(to bottom, #11549c 0%,#0f4a8a 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#11549c', endColorstr='#0f4a8a',GradientType=0 ); /* IE6-9 */
	border-top:1px solid #082748;
	border-bottom:1px solid #082748;
	box-shadow: inset 0px 1px 0px 0px #1771d1;
	display: inline-block;
}

/* == BREADCRUMBS ==*/
#breadcrumbs, #breadcrumbs a {
	font-size: 11px;
}
/* == HOME == */
#latest-news, #investor-relations {
	margin-right: 30px;
	width: 310px;
}
#contact-us {
	width: 280px;
}
#latest-news, #investor-relations, #contact-us {
	height: 200px;
	margin-top: 15px;
	color:#3C3C3C;
	float: left;
}
#latest-news h1{
	background: url('images/icon_latest_news.png') no-repeat;
	float: left;
}
#latest-news span a{
	float: right;
	margin-top: 6px;
	font-size: 11px;
	background: #ccc;
	color: #fff;
	text-decoration: none;
	padding:2px 5px;
}
#latest-news span a:hover {
	background: #3C3C3C;
}
.date, .calendar {
	margin:0;
	color:#686868;
}
.calendar {
	float:right;
	background: url(images/date_icon.png) no-repeat 0 15px;
	padding-left: 20px;
	margin-top:-10px;
}
#latest-news .datetime {
	clear: left;
	color:#686868;
	font-size: 12px;	
	margin:10px 0 0 0;
}

#latest-news h2 {
	font-weight: normal;
	font-size: 13px;
}
#investor-relations h1 {
	background: url('images/icon_investor_relations.png') no-repeat;
}
#investor-relations li {
	background: url('images/home_arrow.png') no-repeat 0 10px;
	padding-left: 15px;
}
#investor-relations li li {
	background: url('images/home_arrow.png') no-repeat 0 10px;
}
#contact-us h1 {
	background: url('images/icon_contact_us.png') no-repeat;
}
#latest-news h1, #investor-relations h1, #contact-us h1 {
	background-position: 0px 3px;
	padding:5px 0;
	padding-left:35px;
}

/* == POSTS == */
#content, #content-cert {
	float: right;
	width: 710px;
	color: #3C3C3C;
	padding-bottom: 15px;
}
#content a {
	color:#318CBB;
}
#content a:hover {
	color:#0f4d90;
}
#content header h1, #content-cert header h1{
	border-bottom:4px solid #efefef;
	padding-bottom: 15px;
}
#content table, #content-cert table {
	margin-top:15px;
}
#content-cert table img {
	border:4px solid #efefef;
	transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	-o-transition:.5s;
}
#content-cert table img:hover {
	border:4px solid #0f4d90;
}
#content-cert table {
	width: 500px;
}
#content-cert td {
	padding:5px 10px;
}
#content table, #content td {
	border:1px solid #ddd; 
	border-collapse: collapse;
}
#content table table, #content td td {
	border: none;
}
#content td {
	padding:3px 5px;
}
#content tr:first-child {
	background: #efefef;
}
#content tr tr:first-child {
	background: transparent;
}
#content div:first-child {
	padding-top: 15px;
}
#content ul li{
	list-style:circle;
	margin-left:20px;
}
#grandchild {
	padding: 15px 0;
}
#grandchild li {
	background:url('images/home_arrow.png') 1px 5px no-repeat;
	padding:0 10px;
}
#grandchild li li{
	padding-left:10px;
	background:url('images/home_arrow.png') 0px 5px no-repeat;
}
/* == BREADCRUMB == */
#breadcrumbs {
	padding:10px 0;
	color: #3C3C3C;
}

/* == SIDEBAR == */

aside {
	width: 230px;
	float: left;
}
/* == FOOTER == */

body>footer {
	border-top:4px solid #efefef;
	color:#ccc;
	text-align: center;
	overflow: hidden;
	width: 100%;
	clear: both;
	}
body>footer p {
	margin:0;
	padding:15px 0;
	background: url('images/footer_logo.png') no-repeat 0 5px;
	display: inline-block;
	padding-left:55px;
}
/* == SEARCH == */

#search {
	float: right;
}
#searchbox{
	margin-top:7px;
	background: #fff;       
	width: 258px;
	overflow: hidden;
}
#searchinput {
	background: transparent;  
	width: 220px;
	padding: 5px 8px 6px 8px;
	border: none;
	color:#686868;
	font-style: italic;
	font-family: verdana,arial;
	font-size: 12px;
}
#searchinput:focus {
	outline:none;
}
#searchinput, #searchbutton {float: left;}
#searchbutton {position: relative;top:5px;right:5px;}

/* == HOME MENU == */
#homemenu {
	padding:0;
	float:left;
	margin:0;	
	position:relative;
	z-index:1001;
	left:0;
	margin-top: 10px;
}
#homemenu ul {
	list-style-type:none;
	margin:0;
	padding:0;
}
#homemenu li {
	position:relative;
	display:block;
	right:0;
	margin-left: 10px;
	margin-bottom: 3px;
}
#homemenu li a {
	display:inline-block;
	padding:5px 10px 5px 10px;
	color:#3C3C3C;
	text-decoration:none;
	border-radius: 5px;
	-webkit-transition: background 0.5s linear;
    -moz-transition: background 0.5s linear;
    -o-transition: background 0.5s linear;
    transition: background 0.5s linear;
}
#homemenu a:hover,#homemenu .current_page_ancestor> {
	color:#fff;
}
#homemenu li a:hover {
	color:#fff;
	background:#3C3C3C;
	border-radius: 5px;
}
#homemenu li ul {
	position:absolute;
	margin:16px 0 0 0px;
	display:none;
	top:-1.0em;
	left:13em;
}
#homemenu li ul a,#homemenu li ul .current_page_ancestor>a,#homemenu li ul .current_page_item>a {
	text-align:left;
	width:15.3em;
	padding:5px 10px;
	background:#000;
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	float:left;
	color:#fff;
	border-radius: 0px;
}
#homemenu li ul a:hover,#homemenu .current_page_ancestor>a:hover {
	opacity:0.9;
	filter:alpha(opacity=90); /* For IE8 and earlier */
	background:#000;
	color:#fff;
	border-radius: 0px;
}
#homemenu li ul ul {
	left:17em;
	margin:0 0 0 0px;
	top:0em;
}
#homemenu li a>span,#homemenu .current_page_ancestor a>span {
	background:url('images/arrow.png') 1px 8px no-repeat;
	padding:8px;
}
#homemenu li a:hover>span,#homemenu .current_page_ancestor a>span,#homemenu li.current_page_item a>span {
	background:url('images/arrow_hover.png') 1px 8px no-repeat;
}
#homemenu li ul li a>span,#homemenu .current_page_parent ul li a>span,#homemenu .current_page_ancestor ul li a>span,#homemenu .current_page_item ul li a>span {
	background:url('images/arrow_right.png') 0px -2px no-repeat;
	float:right;
	padding:8px;
}
#homemenu li ul li a:hover>span {
	background:url('images/arrow_right_hover.png') 0px -2px no-repeat;
	padding: 8px;
}

#homemenu .current_page_item, #homemenu .current_page_parent {
	background:#0F4D90;
	border-radius: 5px;
}
#homemenu .current_page_item a, #homemenu .current_page_parent a {
	color:#fff;
}