/*
Theme Name: ACSEA Default
Description: The default WordPress theme for ACSEA.
Author: Jeff Li
Author URI: http://bbdata.ca
*/

/********************
 RESET
 ********************/

img { border: 0; }
	
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}

.clearfix { display: inline-block; }

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */

/********************
 STRUCTURE
 ********************/

body {
	background: #fff url(imgs/bg-page.jpg) no-repeat 950px 0px;
	color: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	margin: 0;
	padding: 0;
	}

#container {
	margin: 0 50px;
	padding: 50px 0;
	width: 800px;
	}
	
#sidebar {
	float: left;
	margin-top: 25px;
	width: 240px;
	}
	
#sidebar p {
	margin: 40px 15px;
	}
	
#content, #footer {
	float: right;
	width: 520px;
	}
	
h1 {
	color: #B40000;
	font-size: 26px;
	font-weight: normal;
	}
	
#post-9 h1 {
	display: none;
	}
	
#post-9 .entry h1 {
	display: block;
	}
	
h2 {
	color: #B40000;
	font-size: 18px;
	font-weight: normal;
	}
	
h3 {
	font-size: 15px;
	}
	
hr {
	border: 0;
	border-top: 1px solid #9e0b0f;
	width: 100px;
	}
td {
	vertical-align: top;
	}
	
#footer {
	font-size: .8em;
	margin: 50px 0;
	}

#footer .links {
	margin: 0;
	padding: 0;
	}
	
#footer .links li {
	display: inline;
	}
	
/********************
 NAVIGATION
 ********************/

#navigation, #navigation li ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}
	
#navigation {
	border-bottom: 1px solid #eee;
	margin-top: 40px;
	}
	
#navigation li ul {
	display: none;
	}
	
#navigation li {
	border-top: 1px solid #eee;
	}
	
#navigation li a {
	color: #b40000;
	display: block;
	line-height: 45px;
	padding-left: 15px;
	text-decoration: none;
	}
	
#navigation li.current_page_item a,
#navigation li.current_page_parent a {
	background: url(imgs/bg-menu.gif);
	color: #333;
	}
	
#navigation li a:hover {
	background: url(imgs/bg-menu-hover.gif);
	color: #000;
	}

#navigation li.current_page_item ul, 
#navigation li.current_page_parent ul {
	display: block;
	}
	
#navigation li ul {
	border-top: 1px solid #eee;
	}
	
#navigation li li {
	border-top: 0;
	}

#navigation li li a {
	background-image: none !important;
	color: #b40000 !important;
	line-height: normal;
	margin: 10px 0;
	padding-left: 25px;
	}
	
#navigation li li.current_page_item a {
	color: #333 !important;
	font-weight: bold;
	}
	
#navigation li li a:hover {
	font-weight: bold;
	}
	
/********************
 MISC
 ********************/

#post-9 .ruler {
	border-bottom: 3px solid #fdc70d;
	margin-bottom: 10px;
	padding-bottom: 20px;
	}

.clear-block:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}

.clear-block {
	display: inline-block;
	}

* html .clear-block {
	height: 1%;
	}

.clear-block {
	display: block;
	}
	
.reqtxt {
	color: #B40000;
	}
	
a.button {
	background: url(imgs/btn-red-right.png) no-repeat center right;
	color: #fff;
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	}
	
a.button span {
	background: url(imgs/btn-red-left.gif) no-repeat center left;
	display: block;
	line-height: 34px;
	padding: 0 20px;
	}
	
a.button:hover {
	color: #febd11;
	}
	
a.button.active {
	color: #febd11;
	font-weight: bold;
	}
	
/********************
 CFORMS
 ********************/
 
.success {
	background-color: #edffed;
	border: 1px solid #04a107;
	color: #04a107;
	padding: 5px;
	}
	
.failure {
	background-color: #ffcccc;
	border: 1px solid #dd7777;
	color: #220000;
	}
	
.cform fieldset {
	border: 0;
	margin: 20px 0;
	padding: 0;
	}
	
.cform legend {
	color: #B40000;
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 10px;
	}
	
.cform label {
	display: inline-block;
	text-align: right;
	margin-right: 10px;
	width: 100px;
	}
	
.cform label.cf-group-after,
.cform label.cf-after {
	display: inline;
	text-align: left;
	margin-right: 0;
	width: auto;
	}

.cform .cf-ol {
	list-style: none;
	margin: 0;
	padding: 0;
	}
	
.cform .cf-ol li label {
	vertical-align: top;
	}
	
.cform .cf_hidden,
.linklove {
	display: none;
	}
	
/********************
 RSVP
 ********************/
 
#cforms3form .cf-fs2 label {
	width: 250px;
	}
	
/********************
 STYLED-TABLE
 ********************/

.styled-table table,th,td { border:none;  border-collapse:collapse; font-size:1em; line-height:1.5em; }
.styled-table table	{ background:#B40000; -webkit-border-radius:6px; -moz-border-radius:6px; border-radius:6px; -webkit-box-shadow:1px 1px 10px rgba(0,0,0,0.3); -moz-box-shadow:1px 1px 10px rgba(0,0,0,0.3); }
.styled-table caption { text-align:left; text-transform:uppercase; font-size:150%; font-weight:bold; padding:1.5em 0; color:black; }

.styled-table thead, 
.styled-table tfoot	{ color:white; }

.styled-table thead th { padding:0.5em 1em; text-transform:uppercase; text-align:left; }
.styled-table thead th:first-child { }

.styled-table tbody td,
.styled-table tbody th { font-size:100%; padding:1em; background-color:white; vertical-align:top; border-right:1px solid #ccc; }
.styled-table tbody th { font-weight:normal; color:#222; text-align: left; background-image:url(/imgs/tabel.png); background-repeat:repeat-y; }
.styled-table tbody td:last-child { border-right:1px solid black; }

.styled-table tbody tr.odd th, 
.styled-table tbody tr.odd td { background-color:#eee; color:#222; }

.styled-table tfoot td,
.styled-table tfoot th { border:none; }
.styled-table tfoot th { text-align:right; }

.styled-table ::-moz-selection { background:#202020; color:white; }
.styled-table ::selection { background:#202020; color:white; }

.styled-table thead ::-moz-selection, 
.styled-table tfoot ::-moz-selection { background:white; color:#202020; }
.styled-table thead ::selection, 
.styled-table tfoot ::selection	{ background:white; color:#202020; }

/********************
 PLAIN-TABLE
 ********************/
 
.more-taiwans-best table {
	border-collapse: collapse;
	}

.more-taiwans-best td img {
	margin-top: 15px;
	margin-right: 15px;
	}
	
.more-taiwans-best td {
	padding-bottom: 15px;
	border-bottom: 1px solid #ccc;
	}

/********************
 TICKETS
 ********************/
 
.tickets {
	background: url(imgs/bg-tickets.png) no-repeat;
	height: 80px;
	}
	
.tickets a {
	color: #fff;
	display: block;
	font-size: 14px;
	line-height: 49px;
	text-decoration: none;
	text-align: center;
	}
	
.tickets a:hover {
	color: #FFCC00;
	font-weight: bold;
	}
	
.tickets td.link {
	border-left: 1px solid #c00000;
	}

body.page-id-20, body.page-id-22, body.page-id-35, body.page-id-31 {
	background-position: 1150px 0;
	}

body.page-id-20 #container, 
body.page-id-22 #container, 
body.page-id-35 #container, 
body.page-id-31 #container {
	width: 1000px;
	}
	
body.page-id-20 #content, body.page-id-20 #footer,
body.page-id-22 #content, body.page-id-22 #footer,
body.page-id-35 #content, body.page-id-35 #footer,
body.page-id-31 #content, body.page-id-31 #footer {
	float: right;
	width: 720px;
	}
	
body.page-id-20 .styled-table tbody  th {
	width:380px;
	}
	
body.page-id-20 .styled-table tbody th img {
	float: left;
	}
	
body.page-id-20 .styled-table tbody th strong {
	font-size: 1.1em;
	}
	
body.page-id-20 .styled-table tbody th p {
	margin: 0;
	margin-left: 70px;
	}
	
/********************
 PROGRAM LIST
 ********************/
	
#program-list {
	padding: 0;
	list-style: none;
	}
	
#program-list li {
	border-bottom: 1px solid #ccc;
	}
	
#program-list li a {
	color: #000;
	display: block;
	padding: 20px;
	text-decoration: none;
	}
	
#program-list li a:hover {
	background: #ccc;
	color: #000;
	text-decoration: none;
	}
	
#program-list li a img {
	float: left;
	margin-right: 20px;
	}
	
#program-list li a p.meta {
	color: #CC0000;
	font-style: italic;
	margin-bottom: 10px;
	}
	
#program-list li a h3, #program-list li a p {
	margin-top: 0;
	margin-bottom: 0;
	}
	
#program-list li .more {
	color: #CC0000;
	font-weight: bold;
	}
	
table.grid td {
	vertical-align: middle;
	text-align: center;
	padding: 5px;
	}
	
/********************
 COMMENTS
 ********************/

.postmetadata {
	margin-top: 50px;
	}

.commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
	}

.commentlist .quote {
	background: url(imgs/bg-quote.gif) no-repeat top right;
	margin: 0 18px;
	}

.commentlist li {
	background-color: #e8e8e8;
	color: #454545;
	padding-top: 13px;
	margin-top: 15px;
	}

.commentlist cite {
	background: #fff url(imgs/bg-commentlist.gif) top no-repeat;
	display: block;
	padding-top: 35px;
	text-indent: 35px;
	}

.commentlist cite a:link, .commentlist cite a:visited {
	text-decoration: none;
	}

.commentlist cite a:hover, .commentlist cite a:active {
	text-decoration: underline;
	}