/*
Theme Name: WCS 2009
Theme URI: http://wcsthailand.org/
Description: ReEngine WCS Thailand 2009 by <a href="http://itomba.com">Tom+</a>.
Version: 1.0
Author: iTomba
Author URI: http://itomba.com
Tags: green, fixed width, two columns, widgets
*/

@charset "utf-8";
/*******************************************/
/*                Reset                    */
/*******************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clear {
	clear:both;
}

/* Links Default */
a, a:visited {
	color:#196300;
	text-decoration:none;
}

a:hover {
	color:#000;
	text-decoration:underline;
}

/*******************************************/
/*           Template Structure            */
/*******************************************/
body { 
	font-size:12px;
	line-height:115%;
	background:#fff url(images/main-bg.png) top repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
}

#wrapper { 
	width:773px; 
	padding: 0 0 0 6px;
	margin:0 auto;
	text-align:left;
	margin-bottom:20px;
}

.main-wrapper {
	background:url(images/body-bg.png) top left repeat-y;
}

.bottom-nav {
	height:20px;
	background:#fff;
	padding:7px 0 0;
	border-top:1px solid #666;
	text-align:center;
	font-weight:bold;
	width:772px;
}

.bottom-nav ul li {
	display:inline;
	padding:0 10px;
	margin:0 5px;
	border-right:1px solid #333;
}


#footer {
	width:779px;
	background:url(images/wcs-footer.png) no-repeat;
	color:#fff;
	padding:0;
	height:23px;
	margin-left:-6px;
	font-size:11px;
}

#footer a, #footer a:visited {
	color:#F90;
	text-decoration:none;
}
#footer a:hover {
	color:#F90;
	text-decoration:underline;
}


#top-page-menu {
	width:639px;
	height:26px;
	padding:0 0 0 140px;
	margin:0 0 0 -6px;
	background:url(images/top-page-menu.png) no-repeat;
}

#top-page-menu2 {
	width:773px;
	height:27px;
	background:url(images/cats-list-bg.png) no-repeat;
}

#main-logo {
	height:114px;
	background:url(images/main-logo.png) top no-repeat;
	position:relative;
}

#featured-content {
	height:217px;
	width:773px;
	position:relative;
}
.special {
	width:561px;
	height:217px;
	position:absolute;
	top:0;
	left:1px;
}
.special-page {
	width:773px;
	height:217px;
	position:absolute;
	top:0;
	left:1px;
}

.special h2, .special-page h2 {
	display:block;
	width:546px;
	height:31px;
	line-height:100%;
	margin:0;
	padding:6px 0 0 15px;
	background:#fff;
	font-size:25px;
	color:#f5a40c;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
.special-content {
	width:211px;
	height:217px;
	color:#fff;
	background:url(images/featured-bg.png) top left repeat-y;
	position:absolute;
	top:0;
	left:562px;
}
.special-content p {
	padding:10px;
	font-size:11px;
	letter-spacing:1px;
}

/*******************************************/
/*           Specific Eleents              */
/*******************************************/

/* Top Menu */ 
#top-page-menu ul li {
	float:left;
	padding:0;
	margin:0 20px 0 0;
	display:inline;
}
#top-page-menu ul li a, #top-page-menu ul li a:visited, #top-page-menu ul li a:hover {
	display:block;
	text-indent:-9999px;
	height:25px;
	text-decoration:none;
}
#top-page-menu ul li a.wcs-home, #top-page-menu ul li a.wcs-home:visited {
	width:100px;
	background:url(images/wcs-home.png) no-repeat;
}
#top-page-menu ul li a.mission, #top-page-menu ul li a.mission:visited {
	width:80px;
	background:url(images/our-mission.png) no-repeat;
}
#top-page-menu ul li a.projects, #top-page-menu ul li a.projects:visited {
	width:70px;
	background:url(images/projects.png) no-repeat;
}
#top-page-menu ul li a.education, #top-page-menu ul li a.education:visited {
	width:70px;
	background:url(images/education.png) no-repeat;
}
#top-page-menu ul li a.contact, #top-page-menu ul li a.contact:visited {
	width:75px;
	background:url(images/contact-us.png) no-repeat;
}
#top-page-menu ul li a.links, #top-page-menu ul li a.links:visited {
	width:45px;
	background:url(images/links.png) no-repeat;
}
#top-page-menu ul li a:hover {
	background-position:0 -26px !important;
}

/* Logo link */
#main-logo h1 a, #main-logo h1 a:visited, #main-logo h1 a:hover {
	height:86px;
	width:85px;
	display:block;
	text-indent:-9999px;
	text-decoration:none;
	position:absolute;
	top:12px;
	left:19px;
}

/* Top Menu2 */
#top-page-menu2 ul li {
	float:left;
	padding:0;
	margin:0 0 0 10px;
	display:inline;
}
#top-page-menu2 ul li a, #top-page-menu2 ul li a:visited, #top-page-menu2 ul li a:hover {
	display:block;
	height:20px;
	text-decoration:none;
	font-weight:bold;
	padding:5px 5px 0;
	color:#fff;
	font-size:110%;
	float:left;
}
#top-page-menu2 h2 {
	display:none;
}

/* Home Page Slideshow */
.welcome{
	background:#fff url(images/welcome-header.png) top left no-repeat;
	padding-top:37px;
	height:180px;
}

#slideshow {
    position:relative;
    height:180px;
}

#slideshow IMG {
	position:absolute;
	top:0;
	left:0;
	z-index:8;
	opacity:0.0;
}

#slideshow IMG.active {
    z-index:10;
    opacity:1.0;
}

#slideshow IMG.last-active {
    z-index:9;
}

/* Dotted Line Separator */
.dottedline {
	background:url(images/dotted-line3.png) no-repeat;
	height:2px;
	width:773px;
}

/* Alignment */
.center {
	display:block;
	text-align:center;
	clear:both;
	padding:4px;
}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}

/*******************************************/
/*           Sidebar Element               */
/*******************************************/
table#main-body-home td {
	vertical-align:top !important;
}

.rightside {
	background:#c2d2ae url(images/body-bg1.png) right repeat-y;
}
.sidebox {
	background:#fff url(images/block-footer.png) bottom no-repeat;
	width:165px;
	padding:0 0 16px 10px; 
	margin:10px 0 15px 5px;
}
.rightside .sidebox {
	padding:0 0 16px 0;
	width:175px;
	margin:10px 0 10px 18px ;
}
.sidebox h2#wcs-program-title  {
	line-height:100%;
	text-indent:-9999px;
	width:175px;
	height:22px;
	margin:0 0 10px -10px;
	padding:0;
	background:url(images/wcs-thai-program-header.png) no-repeat;
}
.sidebox h2#wcs-section-title  {
	line-height:100%;
	text-indent:-9999px;
	width:175px;
	height:22px;
	margin:0 0 10px -10px;
	padding:0;
	background:url(images/section-header.png) no-repeat;
}

.sidebox h2#wcs-emag {
	line-height:100%;
	text-indent:-9999px;
	width:175px;
	height:22px;
	margin:0 0 10px;
	padding:0;
	background:url(images/e-mag-header.png) no-repeat;
}

.sidebox h3 {
	padding-bottom:5px;
}
.sidebox ul ul {
	margin-bottom:20px;
}
.sidebox ul ul ul {
	margin-bottom:4px;
}
.sidebox ul li {
	padding:0;
}
.sidebox ul li li, .sidebox ul li li li {
	padding:2px 0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	letter-spacing:0;
}

.sidebox ul li li a, .sidebox ul li li a:visited {
	text-decoration:none;
	padding-left:20px;
	background:url(images/list-btn1.png) 0 4px no-repeat;
	color:#666;
}
.sidebox ul li li a:hover {
	text-decoration:underline;
}

/* Download Box */
.dlbox {
	width:175px;
	margin:15px 0 10px 16px;
	padding:25px 0 0;
	background:url(images/download-header.png) no-repeat;
}

.rightside div.textwidget {
	display:block;
	text-align:center !important;
	clear:both;
	padding:4px;
}

/*******************************************/
/*              News Element               */
/*******************************************/
.content {
	padding:0 2px 0 7px;
}
#single-content {
	padding:10px 20px 10px 20px;
	background:#fff;
	width:729px;
}
.news1 {
	padding-top:32px;
	background:url(images/wcs-news-header.png) 5px 10px no-repeat;
}

/* Entry Element */
.post {
	margin-bottom:15px;
}
.post h2 {
	margin:10px 0 0;
}
.post h2 a, .post h2 a:visited{
	padding:0 0 0 20px;
	background:url(images/list-btn1.png) 0 4px no-repeat;
	font-size:115%;
	line-height:150%;
}
#single-content .post h2 a, #single-content .post h2 a:visited {
	font-size:130%;
	background-position:0 6px;
}
.entry, .entry p {
	padding:4px 2px 4px;
	line-height:140%;
}
#single-content .entry {
	line-height:150%;
	font-size:1.1em;
}
#single-content .entry p {
	margin-bottom:5px;
}
.readmore{
	display:block;
	font-weight:bold;
	text-align:right;
	padding-right:5px;
	margin:-5px 0 0 0;
}
.all {
	margin:10px 0;
}
.readmore a {
	color:#000;
}

.entry h1 {
	font-size:200%;
	margin:4px 0;
	line-height:170%;
}

.entry h2 {
	font-size:170%;
	margin:4px 0;
	line-height:150%;
}
.entry h3 {
	font-size:150%;
	margin:4px 0;
	line-height:130%;
}
.entry h4 {
	font-size:130%;
	margin:4px 0;
	line-height:120%;
}
.entry h5 {
	font-size:120%;
	margin:4px 0;
	line-height:110%;
}
.entry h6 {
	font-size:110%;
	margin:4px 0;
	line-height:110%;
}

/* BreadCrumb Navi */
.breadcrumb {
	display:block;
	height:15px;
	padding:4px;
	font-size: 90%;
	border-bottom:1px dashed #ddd;
	margin:5px 0 10px;
}
