/*
Theme Name: HFC2011
Theme URI: 
Description: Theme developed for HFC2011.
Version: 1.0
Author: (implementor: Andrew Bradford)
Author URI: http://bradfordtg.com/
Tags: 
*/

/* 
 * @author Andrew Bradford
 * 
 * Bradford TG Inc.
 * http://www.bradfordtg.com/
 * 
 * @date 2009-12-16 4:43:51 PM
 * 
 * $Id: style.css 1107 2010-06-06 19:14:28Z andrew $
 * 
 */

/* Colours: */
/*
	Default Grey Text:			#727d82
	Green Header/Highlight: 	#92c844
	Blue Subheader:			 	#4e84c4
	Orange Highlight:			#ffd515

/* --- Layout --------------------------------------------------------------- */

body {
	margin: 0;
	padding: 0;
	background: white url(images/background-gradient.png) repeat-x 0 0;
	
	font-family: Arial, sans-serif;
	font-size: 0.8em;
	color: #727d82;
}

a {
	text-decoration: none;
}

#overflow {
	background: transparent url(images/background.jpg) no-repeat center 0;
}

#page {
	background: transparent url(images/background-shadow.png) repeat-y center 0;
	width: 945px;
	padding: 0 10px;
	margin: 0 auto;
}

#page > div {
	background-color: white;
}

/* --- Header --------------------------------------------------------------- */

#social {
	padding: 10px 15px;
	text-align: right;
	height: 28px;
	
	line-height: 12px;
	text-transform: uppercase;
	color: #4e84c4;
	font-weight: bold;
	font-size: 0.7em;
}
#social a {
	position: relative;
	z-index: 101;
}
#social a img {
	vertical-align: middle;
}
#social a:first-child {
	margin: 0 0 0 5px;
}
	

#header {
	padding: 0 0 15px 0;
}

#header #left { 
	float: left;
	width: 411px;
	background: transparent url(images/hash.png) repeat-y 100% 0;
	padding: 0 0 10px 0;
}
#header #right { 
	float: right;
	width: 519px;
	padding: 0 0 10px 0;
	
}

#header hr {
	background: transparent url(images/hash.png) repeat-x 0 0;
	height: 10px;
	width: auto;
	border: none;
	margin: 10px 15px 0 15px;
}

/* --- Header Logo/Left --- */

#header #left {
	margin: 0 0 0 15px;
	height: 74px;
}

#header #left a img {
	margin: 0 0 -40px 0;
	padding: 3px 0 0 0;
	position: relative;
	z-index: 101;
}

#header #left a h1 {
	margin: 0 0 0 -1000px;
	line-height: 0;
	height: 0;
	visibility: hidden;
}

/* --- Header Right --- */

#header #right .info {
	margin: 10px 0 0 35px;
	width: 220px;
	float: left;
	
	font-size: 0.7em;
	color: #4e84c4;
}
#header #right .info strong {
	display: block;
	color: #92c844;
}

#header #right .register {
	width: 252px;
	float: right;
}

#header #right .register div {
	margin: 8px 10px 2px 0;
	text-align: right;
	
	font-size: 0.7em;
	text-transform: uppercase;
	font-weight: bold;
	color: #4e84c4;
}
#header #right .register div a {
	text-decoration: none;
	color: #4e84c4;
	padding: 0 5px;
}
#header #right .register div a:visited {
	color: #4e84c4;
}

#header #right {
	position: relative;
	z-index: 100;
}
#header #right .green-circle {
	background: transparent url(images/green-circle.png) no-repeat 0 0;
	width: 337px;
	height: 209px;
	line-height: 0;
	position: absolute;
	top: -48px;
	right: -60px;
	z-index: -1;
}
	
/* --- Navigation ----------------------------------------------------------- */

#mainnav {
	background: #92c844 url(images/nav-bar-bg.png) repeat-x 0 0;
	position: relative;
	z-index: 100;
}

#mainnav ul {
	margin: 0 30px;
	padding: 0;
	height: 30px;
	list-style-type: none;
}

#mainnav ul li {
	float: left;
	margin: 0;
	padding: 0;
	background: transparent url(images/nav-separator.png) no-repeat 100% 7px;
	position: relative;
}
#mainnav ul li:last-child {
	background: none;
}

#mainnav ul li:hover ul {
	display: block;
}
#mainnav ul li ul {
	display: none;
	width: 100%;
	position: absolute;
	height: auto;
	margin: 0 auto;
	padding: 15px 0 0 0;
}
#mainnav ul li ul li {
	display: block;
	float: none;
}
#mainnav ul li ul li, #mainnav ul li ul li:last-child {
	background: transparent url(images/nav-dropdown-bg.png) repeat 0 0;
}
#mainnav ul li ul li a {
	font-size: 0.8em;
	font-weight: normal;
	padding: 7.5px 15px;
}
#mainnav ul li ul li:first-child a {
	padding: 15px 15px 7.5px 15px;
}
#mainnav ul li ul li:last-child a {
	padding: 7.5px 15px 15px 15px;
}

#mainnav ul li a {
	display: block;
	padding: 8.5px 25px;
	
	font-size: 1em;
	line-height: 1em;
	text-decoration: none;
	text-transform: uppercase;
	color: white;
	font-weight: bold !important;
}
#mainnav ul li a:hover {
	color: #ffd515 !important;
	font-weight: bold;
}
#mainnav ul li a:visited {
	color: white;
}

/* --- Content: Home -------------------------------------------------------- */

#content .splash-image {
	padding: 15px 0 0 0;
}

#content .content-columns .main-content {
	width: 620px;
	float: left;
}

#content .content-columns .main-content .bubble-image {
	margin: -100px 0 0 -60px;
	z-index: 1;
	position: relative;
	width: 227px;
	float: left;
}
	
#content .content-columns .main-content .page-content {
	width: 433px;
	float: left;
	margin: 20px 0 0 0;
}

#content .content-columns .main-content .page-content h1 {
	color: #92c844;
	font-weight: normal;
	font-size: 1.6em;
}

#content .content-columns .main-content .page-content a.more-link {
	color: #92c844;
	font-size: 1em;
	font-style: italic;
	text-decoration: none;
}
#content .content-columns .main-content .page-content a.more-link:visited {
	color: #92c844;
}

/* --- Content: Home News --- */

.news-content {
	float: right;
	width: 295px;
	margin: 15px;
}

.news-content .news-header {
	background: transparent url(images/news-header-titleandbg.png) no-repeat 0 0;
	padding: 20px;
	padding-bottom: 35px;
	margin-bottom: -15px;
	position: relative;
	z-index: 1;
}

.news-content .news-header h2 {
	margin: 0;
	padding: 0 20px 0 0;
	background: transparent url(images/news-header-arrow.png) no-repeat 100% 50%;
	display: inline;
	
	/* Removed to hide text as it's now displayed in the image (news-header-titleandbg.png) */
	visibility: hidden;
	
	line-height: 13px;
	font-size: 1.1em;
	text-transform: uppercase;
	color: #4e84c4;
}
.news-content .news-header h2 em {
	color: #92c844;
	font-style: normal;
	font-weight: normal;
	font-size: 0.9em;
}

.news-content .news-item {
	background: transparent url(images/news-item-bg.gif) repeat-y 100% 0;
	margin: 10px 0 0 0;
}
.news-content .news-item.first h3 {
	background: transparent url(images/news-item-first-corner.png) no-repeat 100% 0;
        font-weight: bold;
}
.news-content .news-item h3 {
	font-weight: bold;
	margin: 0;
	padding: 10px 15px 0 15px;
	font-size: 1em;
	color: #4e84c4;
	
}
.news-content .news-item div {
	padding: 0 15px 10px 15px;
	font-size: 0.9em;
}
.news-content .news-item div a.more-link {
	display: block;
	font-style: italic;
	color: #92c844;
	text-decoration: none;
}
.news-content .news-item div p a.more-link {
	margin: -1em 0 0 0;
}
.news-content .news-item div a.more-link:visited {
	color: #92c844;
}

/* --- Content: Home Sponsors --- */

hr {
	border: none;
	height: 10px !important;
	width: auto !important;
	margin: 15px;
	background: transparent url(images/hash.png) repeat 0 0;
}

.columns {
	margin: 0 15px;
}

.three-columns .column {
	width: 33%;
	float: left;
}

.three-columns .column strong {
	text-transform: uppercase;
	color: #4e84c4;
	font-size: 0.7em;
	font-weight: normal;
}

.three-columns .column div {
}

.three-columns .column div a {
	float: left;
	width: 50%;
	text-align: center;
}

.three-columns .column div a img {
	margin: 10px 0;
}

.logo-chfca {
	margin: 0px 0px 0px 0px;
}

.logo-nrcan {
	margin: 15px 0px 10px 0px;
}

.logo-airliquide {
	margin: 10px 0 10px 0;
}
.logo-airproducts {
	margin: 12px 0 8px 0;
}
.logo-ballard {
	margin: 15px 0 5px 0;
}

/* --- Content Columns --- */
/* Create columns, and stretch background to equal height */
#content.withsidebar, #sidebar, #subnav {
	padding-top: 15px !important;
	padding-bottom: 275px !important;
	margin-bottom: -275px !important;
}
#contentContainer {
	overflow: hidden;
}
body.home #contentContainer {
	overflow: visible;
}

/* --- Content: Pages --- */

#content.withsidebar {
	width: 450px;
	padding: 0 15px;
	float: left;
	margin-left: 140px;
	background: white;
}

#content .post h2,
#content .page h2 {
	color: #92c844;
	font-weight: normal;
	margin: 0 0 15px 0;
	padding: 15px 0 0 0;
}
#content .post h2 {
	padding: 0;
	margin: 15px 0;
}

#content h3 {
	color: #4e84c4;
	font-weight: normal;
}

#content .page .attachment-full {
	float: right;
	margin: 0 0 15px 15px;
}

#content a {
	color: #92c844;
}
#content a:visited {
	color: #92c844;
}


#content .page-content ul li, #content .entry ul li {
	margin: 10px 0;
}

/* --- Content: Post Comments --- */


/* --- Sidebar -------------------------------------------------------------- */

#sidebar {
	float: right;
	width: 325px; /* 295px content + 15px l+r margin */
	background: white;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#sidebar .section {
	margin-top: 0;
}
#sidebar .section .news-header {
}

/* --- SubNav ---------------------- */
#subnav {
	float: left;
	width: 125px;
	background: white;
	padding-left: 15px;
	margin-left: -620px; /* #content.withsidebar width + this width */
}
#subnav ul {
	list-style-type: none;
	margin: 0;
	padding: 20px 15px 200px 15px;
	
	background: transparent url(images/sidebar-bg.gif) no-repeat 0 0;
}
#subnav ul li.first.parent {
	margin: 0 0 20px 0;
}
#subnav ul li {
	margin: 0 0 10px 0;
}
#subnav ul li.first.parent a {
	font-weight: bold;
	font-size: 1em;
}
#subnav ul li a {
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	color: #4e84c4;
	font-size: 0.8em;
}
#subnav ul li.current_page_item a{
	color: #92c844;
	font-weight: bold;
}
#subnav ul li a:hover {
	color: #92c844;
	font-weight: bold;
}

/* --- Footer --------------------------------------------------------------- */

#footer {
	padding: 0 4px 50px 4px;
	background: transparent url(images/footer-bar.png) repeat-x 0 100%;
	background-color: transparent !important;
	margin: 0 -4px;
	margin-bottom: 20px;
}

#footer .content {
	padding: 0 25px;
	line-height: 8px;
	font-size: 8px;
}

#footer .content img {
	vertical-align: baseline;
}

/* --- Misc ----------------------------------------------------------------- */

.clear {
	width: 0;
	height: 0;
	line-height: 0;
	clear: both;
}

a img {
	border: none;
}

#content textarea {
	width: 100%;
}

