/*
Authors: Blueprint Consulting (Cynthia Nguyen, Jimmy Phengrasmy, Sarah Putnam, Amy Huynh, Corrinne Chuah, William Lay)
Date created: 27/5/09
Based on template from http://www.free-css.com/free-css-templates/page85/wynton-magazine.php
Purpose: Its purpose is to set a standard style for the navigation bar for use on all pages. 
*/

* {
	margin:0;
	padding:0;
	}

body,html {
	min-height:101%;
	}
	
body {
	background:#bcccdb;
	color: #333;
	padding: 13px 0 25px 0;
	}

body, select, input, textarea {
	font: 14px Arial, Verdana, Sans-Serif;
	color:#FFFFFF;
	}
	
p {	
	margin: 5px 0;
	font-size: 14px;
	color:#FFFFFF;
	line-height: 165%;
	}

hr {
	display: block;
	height:4px;
	background:#bcccdb;
	border:0;
	margin-top: 10px;
	margin-bottom: 10px;
	}

/* Red heading for page title */
#pageheading {
	font:2em Trebuchet MS, Helvetica, Charcoal, serif;
	line-height:100%;
	display:block;
	padding-left: 15px;
	padding-bottom:7px;
	color: #ff0033;
	font-weight:bold;
}

/* Links for subpages below title */
#pagesublinks {
	font:1em Trebuchet MS, Helvetica, Charcoal, serif;
	line-height:80%;
	display:block;
	padding-left: 15px;
	padding-bottom:9px;
	color: #ff0033;
}
	
/******* Hyperlinks ********************/

/* standard link behaviour */
a:link, a:active, a:visited { 
	color:#333;
	text-decoration: underline; 
	} 
a:hover	{ 
	color:#333;
	text-decoration: none; 
	}

/* How the links in the leadstory area on the homepage look like */
#leadcontainer a {color:#fff;}

/* How the links in the leadstory area on the other pages look like */
#leadcontainer2 a {color:#fff;}

/* Title area links */
.title:link, .title:active, .title:visited { 
	color: #284663; 
	text-decoration: none;
	}
	
/* HTML headline links */
h3 a:link, h3 a:active, h3 a:visited  {text-decoration:none;}
h3 a:hover {text-decoration:underline;}

h4 a:link, h4 a:active, h4 a:visited  {color:#666; text-decoration:none;}
h4 a:hover {text-decoration:underline;}


/* How tags appear */
#tags a {text-decoration:none;}
#tags a:hover {text-decoration:underline;}

/* Links within comments metadata (date, Author etc.) */
.commentmetadata a:link, .commentmetadata a:active, .commentmetadata a:visited  {text-decoration:none;}
.commentmetadata a:hover {text-decoration:underline;}

/* Links in the footer */
#footer a {text-decoration: none;} 
#footer a:hover	{text-decoration: underline;}


/****** Images ****************************/
img, a:link img, a:visited img{border:0px; padding:0px;}
img.left,img.center,img.right,img.norm{ margin:10px 12px 5px 0; border:0px; padding:1px;}
img.left{ float:left; margin:0 12px 5px 0; }
img.center{ display:block; margin:0 auto 5px auto; }
img.right{ margin:0 0 5px 12px;}
#leadpic {float:left;margin: 8px 20px 10px 8px;padding:1px;border:0px;}
.home-cat-img {float:left; margin:0 6px 4px 0;}


/******************************************
*   Main Element Structure                         
******************************************/

/* Div for curved top */
#boxtop{
	width: 980px;
	display:block;
	height: 26px;
	margin-left: auto ;
 	margin-right: auto ;
	background: url(images/backgrounds/curved_top2.gif) no-repeat ;
}

/* Div for curved bottom */
#boxbottom{
	width: 980px;
	display:block;
	height: 35px;
	margin-left: auto ;
 	margin-right: auto ;
	background: url(images/backgrounds/curved_bottom2.gif) no-repeat ;
}

#page { /* main container */
	width:940px;
	margin:0 auto;
	font-size:1em;
	background:#fff;
	padding-right:20px;
	padding-left:20px;
	}

#branding {/* Where the logo is located */
	width:940px;
	height:118px;
	background:url(images/backgrounds/logo_banner3.jpg) no-repeat;
	}

/* To position things to the left */
.left {
	float:left;
	}

/* To position things to the right */
.right {
	float:right;
	}

#sidebar {
	width: 240px;
	float:right
	}


/* The 3 columns on the homepage */

#homeleftcol {
	width:30%;
	border-right:1px solid #ccc;
	padding-right:20px;
	text-align:justify;
	float:left;
	}
	
#homemidcol {
	width:30%;
	padding:0 20px 0 20px;
	text-align:justify;
	float:left;
	}
	
#homerightcol {
	width:30%;
	border-left:1px solid #ccc;
	padding-left:20px;
	text-align:justify;
	float:right;
	}
		
/******************************************
*   All Headlines and related stuff                         
******************************************/

h1 {
	color:#FFFFFF;
	font-size: 1.6em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	margin: 0px 10px 0px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color:#FFFFFF;
	font: 1.6em Arial, Helvetica, sans-serif;
	font-weight:normal;
	padding-bottom:8px;
	border-bottom:4px solid #ddd;
	margin: 20px 0;
	}

h3 {
	font: 0.9em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.1em;
	margin-bottom:4px;
	font-weight:bold;
	color:#FFFFFF;
	}

h3#respond {
	border-top:4px solid #ddd;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h4 {
	color:#FFFFFF;
	font-size:1.2em;
	margin-bottom:6px;
	}
	
	
/******************************************
*   Content styles                    
******************************************/

/* some structural styles for the content area */

#content {/* main content (left of sidebar) */
	width:640px;
	float:left
	}

#pagecontent { /* content area in static pages (without sidebar) */
	width:820px;
	float:left;
	}

#homecontent-top {/* The upper area on the homepage */
	width:940px;
	margin-top:25px;
	}
	
#homecontent-bottom {/* The lower area f the homepage */
	width:900px;
	margin-top:20px;
	}

#homecontent-topleft {/* The left side of the upper area (where the leadstory area is located) */
	width: 600px;
	}

#homecontent-topright {/* The right upper area (where the three feature boxes appear) */
	width: 300px;
	}
	

/* The lead story on the honmepage */

#leadcontainer {
	background:#407099;
	color:#ddd;
	border-top:4px solid #8ca9c1;
	border-bottom:4px solid #8ca9c1;
	padding:15px;
	width:592px;
	min-height: 471px;
	}

#leadcontainer .title {
	font:2.2em Trebuchet MS, Helvetica, Charcoal, serif;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	color: #d8e2ea;
	}

#leadheader {
	display:block;
	}

#leadheader a {color:#ddd;}

#homebottom {/* Thatīs the nice shadow below the leadcontainer */
	width:625px;
	height:30px;
	}

/* The lead story on the other pages */

#leadcontainer2 {
	background:#407099;
	color:#ddd;
	border-top:4px solid #8ca9c1;
	border-bottom:4px solid #8ca9c1;
	padding:15px;
	width:910px;
	height:auto;
	}

#leadcontainer2 .title {
	font:2.2em Trebuchet MS, Helvetica, Charcoal, serif;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	color:#FFFFFF;
	}

#leadheader2 {
	display:block;
	}

#leadheader2 a {color:#ddd;}

#homebottom2 { /*Thatīs the nice shadow below the leadcontainer*/
	/*background:url(images/backgrounds/homebottom2.png);*/
	width:900px;
	height:30px;
	}


/* Featured Articles formatting in "hometop-rightcol" */

.feature {
	background: #e2e9ef;
	padding:10px 10px 10px 20px;
	border-top:2px solid #bcccdb;
	border-bottom:2px solid #bcccdb;
	}

#hometop-rightcol img {
	margin-bottom:4px;
	padding:1px;
	border:1px solid #999;
	}

#hometop-rightcol .feature {margin-bottom: 10px;}

#hometop-rightcol.title, #hometop-rightcol a.title  {
	font-family: Trebuchet MS, Helvetica, Charcoal, serif;
	font-size:1.4em;
	color: #407099;
	margin:10px 0 15px 0;
	}

/**********************************************************/
	
.description {
	color:#FFFFFF;
	font-size: 1.3em;
	font-weight: bold; 
	}
		
.title, a.title  {
	font-family: Trebuchet MS, Helvetica, Charcoal, serif;
	font-size:1.4em;
	color:#FFFFFF;
	margin:10px 0 15px 0;
	}
		
#homemidcol .clearfloat, #homeleftcol .clearfloat, #homerightcol .clearfloat {
	border-bottom:1px solid #ccc;
	padding:12px 0;
	}	

/* Float Properties*/

.clear {
	clear:both;
	}

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}

.clearfloat {/*never delete this otherwise MSIE will kill the layout */
	display:inline-block;
	}	

.clearfloat {/*never delete this otherwise MSIE will kill the layout */
	display:block;
	}
	
/* Form on Volunteer page */
.formfield{
color: #000000;
}

/******************************************
*   Footer                        
******************************************/

.adsense-banner {
	padding: 4px;
	text-align:center;
	border: 0px;
	}
	
#footer {
	margin: 0 auto;
	width: 900px;
	font-size:0.9em;
	text-align:center;
	padding-top:10px;
	color:#284663;
	}

#footer a {
	color:#284663;
	}
