/* 
	Theme Name: NTA
	Description: Custom theme for NTA
	Author: Karen Hamilton of Tiny Bites Consulting
	Author URI: http://tinybites.ca/
	Version: 1.0
		
	
	Changelog:
        v1.0 - 04.01.09
        First Release of theme
		
	Notes:
	
		Width comments are expressed in the following syntax: desired region width - left margin - right margin - left border - right border - left 			padding - right padding = width value
*/

body {
	color: #333;
	font-size: 13px;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0 auto 0;
	padding: 0;
	background-color: #f5f5f5;
}
#pagewrap {
	width: 998px;
	margin: 0 auto 0;
	padding: 0;
	background-color: white;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
}
.clear {
	clear: both;
}
.centre {
	text-align: center;
}

.underline {
	border-bottom: 1px solid black;
}
/***************
***Hyperlinks***
***************/

a, a:link, a:visited {
	color:  #0071bc;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/* MAIN COLUMN STYLES */

/***********
***Header***
***********/

#header {
	padding: 0;
	overflow: hidden;
	background-color: white;
	border-top: 10px solid  #0071bc;
	background-image: url('images/inner-bg.jpg');
	background-repeat: no-repeat;
	background-position: right bottom;
	height: 120px;
}

#header img {
	border: none;
	padding: 10px 0 0 50px;
}
#header a {
	border: none;
}
/**************
***Main Menu***
**************/

#navbottom {
	background-image: url('images/shadow.gif');
	background-repeat: repeat-x;
	height: 22px;
	width: 100%;
	}
	
div#nav {
	color: white;
	background-color:  #0071bc;
	min-height: 1em;
	margin: 0;
	padding: 10px 50px 10px 50px;
	overflow: visible; /* let drop-downs show */
	font-size: 14px;
}
ul#navlist, ul#navlist ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

ul#navlist li {
	float: left;
	position: relative;
	z-index: 50; /* display over any video or multimedia layers in content below nav */
}
ul#navlist li ul {
	display: none;
	position: absolute;
	margin-left: -10px; /* to force flush left alignment of child items with parent item */
	padding: 10px 5px 5px 10px;
}
ul#navlist li:hover ul, ul#navlist li.over ul  /*the .over class is needed to call the corresponding javascript for IE 6 compliance */ { /* display pull-down menu when mouse hovers over parent menu item */
	display: block;
}
#nav a {
	color: white;
	letter-spacing: 1px;
}
#nav a:hover {
	text-decoration: underline;
}
#nav ul ul { /*drop-down bg color */
	padding-top: 15px; /* give space between parent link and child links */
	background-color:  #0071bc;
}
#nav ul li {
	padding: 0 30px 0 0;
}
#nav ul li li {
	padding: 0 0 7px 0;
}

/************
***Content***
************/
	
#content {
	width: 100%; /* parent width 1000px - 0 - 0 - 0 - 0 - 0 - 0 = 1000px */
	margin: 10px auto 0;
	padding: 0;
	background-image: url('images/content-bg.gif');
	background-repeat: repeat-y;
}
#content p {
	padding: 0 0 15px 0;
	margin: 0;
	line-height: 18px;
}
#content li {
	line-height: 18px;
}
#content h1, #content h2, #content h3, #content h4, #content h5 {
	color:  #71ad1e;
	font-weight: normal;
}

#content img {
	border: 1px solid #c0c0c0;
	padding: 0;
}

#content p img.alignleft, #content img.alignleft {
	float: left;
	margin-right: 15px;
	margin-bottom: 10px;
	border: 1px solid #c0c0c0;
	padding: 0;
}


#content h3 img { /* don't style time and comment icons in #contentleft */
	border: none;
	margin: 0;
	padding: 0;
	float: none;
}
#content p.photocaption {
	clear: both;
	font-style: italic;
	text-align: right;
	font-size: 0.95em;
	margin-top: 0;
	padding-top: 0;
}
#content img.wp-smiley {
	float: none;
	border: none;
	padding: 0;
	margin: 0;
}
#content img.wp-wink {
	float: none;
	border: none;
	padding: 0;
	margin: 0;
}
#contentleft {
	float: left;
	width: 600px; /* desired width 700px - 0 - 0 - 0 - 0 - 10px - 10px = 600px */
	margin: 0;
	padding: 0 50px 20px 50px;
}

#contentleft h1 {
	font-size: 2.0em;
}

/*
#content .resources h3 {
	font-size: 22px;
	margin: 25px 0 0 0;
	border-top: 1px solid #737373;
}
#content .resources h3.firstpost {
	border-top: none;
	margin: 0;
	padding: 18px 0 10px 0;
}*/

#content .resources h2 {
	font-size: 1.7em;
	padding: 20px 0 5px 0;
	margin: 0 0 20px 0;
	border-bottom: 1px solid #C0C0C0;
}
#contentleft h3.subheading {
	font-size: 1.2em;
	padding: 0;
	margin: -15px 0 20px 0;
	border-bottom: none;
	color: #aaa;
	font-weight: normal;
}

#contentleft h3 {
	font-size: 1.4em;
	font-weight: bold;
	color: #999;
	}

#contentleft h4, #contentleft h5 {
}
#contentleft h4 {
	font-size: 1.2em;
	margin: 10px 0 10px 0;
}
#contentleft h5 {
	font-size: 1.3em;
	margin: 10px 0 10px 0;
	padding: 0;
}
#contentleft ol {
	margin: 0 0 0 20px;
	padding: 0 0 10px 0;
}
#contentleft ol li {
	margin: 0 0 0 20px;
	padding: 0 0 5px 0;
}
#contentleft ul {
	list-style-type: disc;
	margin: 0 0 0 20px;
	padding: 0 0 10px 0;
}
#contentleft ul li {
	margin: 0 0 0 20px;
	padding: 0 0 5px 0;
}
blockquote {
	margin: 15px 25px 15px 25px;
	padding: 0 25px 0 10px;
	background: none;
	border-left: 1px solid #999;
}
#content blockquote p {
	margin: 0 0 10px 0;
	padding: 10px 0 0 0;
}

#contentleft table { 
	border: none; 
	} 
	
#contentleft table#services td { 
	padding: 5px; 
	width: 175px; 
	vertical-align: top; 
	} 
	
#contentleft table#services th { 
	font-weight: bold; 
	width: 175px; 
	border-bottom: 1px solid #ccc; 
	padding: 10px; 
	text-align: left;
	vertical-align: bottom; 
	} 
	
#contentleft table#services ol, #contentleft table#services ul {
	margin-left: 0;
	}
	
#contentleft div.profile {
	margin: 0 10px 20px 0 !important; 
	width: 120px; 
	float: left;
	padding: 0 !important;
	text-align: center;
	}

/************
***Sidebar***
************/

#sidebar {
	float: right;
	width: 200px; /* desired width 235px - 0 - 0 - 0 - 0 - 0 - 0 = 225px. Leftover width between contentleft and sidebar: 778 - 510 - 235 = 33px of column padding */
	margin: 0;
	padding: 10px 50px 20px 0;
}
#sidebar h1, #sidebar h2, #sidebar h3, #sidebar h4 {
	font-size: 1.3em;
}
#sidebar h2 {
	font-size: 1.3em;
	padding: 10px 0 5px 0;
	margin: 0 0 5px 0;
	border-bottom: 1px solid #C0C0C0;
}
#sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#sidebar ul li {
	padding: 10px 0 0 0;
	margin: 0;
}
#sidebar ul li a {
	text-decoration: none;
}
#sidebar ul li a:hover {
	text-decoration: underline;
}
#sidebar ul ul.children {
	padding-top: 0;
}
#sidebar ul ul.children li {
	padding-left: 20px;
}
#sidebar p {
	padding: 3px 0 0 0;
	margin: 0;
	line-height: 20px;
}
#sidebar p#flickrwidget {
	padding: 20px 0 0 20px;
}


/************
***Footer***
************/

#contentfill { /* force background bg to fill down page */
background-color: white;
clear: both;
height: 20px;
}


/************
***Footer***
************/
#footer {
	background: #737373;
	color: white;
	margin: 0 auto 0;
	text-align: center;
	position: relative;
	line-height: 17px;
	padding: 10px;
}

#footer p {
	padding: 3px 0 0 0;
	list-style-type: none;
	margin: 0;
}
#footer a, #footer a:hover {
	color: white;
}

/***********
***Search***
***********/

#searchdiv {
	margin: 0;
	padding: 0;
}
#searchform {
	margin: 0;
	padding: 0;
	overflow: hidden;
}
#s {
	background: white;
	width: 130px;
	color: #333333;
	font-size: 11px;
	font-family: Verdana, Helvetica, Sans-Serif;
	padding: 4px;
	margin: 7px 0 0 0;
	border-top: 1px solid #666666;
	border-right: 1px solid #666666;
	border-left: 1px solid #999999;
	border-bottom: 1px solid #999999;
}
#sbutt {
	background: #878787;
	color: white;
	font-size: 11px;
	font-family: Verdana, Helvetica, Sans-Serif;
	padding: 1px;
	margin: 0 0 0 5px;
	border: 1px solid #333333;
}
/*************
***Comments***
*************/
	
#commentblock {
	background-color: #f1f1f1;
	color: #000000;
	padding: 20px 20px 10px 20px;
	margin: 10px 0 0 0;
}
#commentblock ol {
	margin: 0 0 0 0;
	padding: 0 0 10px 0;
}
.commentdate {
	font-size: 12px;
	padding-left: 0;
}
#commentlist li p {
	margin-bottom: 8px;
	line-height: 20px;
	padding: 0;
}
.commentname {
	color: #333333;
	margin: 0;
	padding: 5px 5px 5px 0;
}
.commentinfo {
	clear: both;
}
.commenttext {
	clear: both;
	margin: 3px 0 10px 0;
	padding: 20px 10px 5px 10px;
	width: 380px;
	background: white url('images/comment.gif') no-repeat top;
}
.commenttext-admin {
	clear: both;
	margin: 3px 0 10px 0;
	padding: 20px 10px 5px 10px;
	width: 380px;
	background: white url('images/comment.gif') no-repeat top;
}
#commentsformheader {
	padding-left: 0;
}
#commentsform {
	text-align: center;
	margin: 0;
	padding: 0;
}
#commentsform form {
	text-align: left;
	margin: 0;
}
#commentsform p {
	margin: 0;
}
#commentsform form textarea, #content form textarea {
	width: 99%;
}
p.comments_link img {
	margin: 0;
	padding: 0;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}


/************************
***Home Page Overrides***
*************************/

#bucketrow {
	width: 978px;
	padding: 0 10px 0 10px;
	margin: 0;
	border: none;
	color: white;
}

#bucketrow a, #bucketrow a:hover {
	color: white;
}

#bucketleft, #bucketcenter, #bucketright {
	height: 175px;
	min-height: 175px;
	overflow: hidden;
	font-size: 14px;
}
#bucketleft a:hover, #bucketcenter a:hover, #bucketright a:hover {
	color: white;
	text-decoration: underline;
}
#bucketleft h2, #bucketcenter h2, #bucketright h2 {
	font-size: 18px;
	margin-top: 0;
	padding-top: 10px;
	margin-bottom: 15px;
	letter-spacing: 0.1em;
}

#bucketleft {
	width: 300px;
	float: left;
	background-color: #737373;
	padding: 0 10px 10px 10px;
	line-height: 1.5em;
	border-top: 15px solid #66aad7;
	background-color:  #0071bc;
}
#bucketcenter {
	width: 300px;
	float: left;
	background-color: #71ad1e;
	padding: 0 10px 10px 10px;
	line-height: 1.5em;
	margin-left: 10px;
 border-top: 15px solid #ababab;
	background-color: #737373;
}
#bucketright {
	width: 296px;
	float: left;
	background-color:  #0071bc;
	padding: 0 10px 10px 10px;
	line-height: 1.5em;
	margin: 0;
	margin-left: 10px;
	border-top: 15px solid #aace78;
	background-color: #71ad1e;

	}
	
body.home {
	color: #444; /*lighten font of homepage blurb */
	}	

body.home #header {
	height: 342px; 
	background-image: url('images/header-home.jpg');
}

body.home #header img {
	margin: 0;
	padding: 25px 0 0 20px;
	}

body.home #footerbottom {
	border-bottom: 1px solid #ccc;
}
body.home #blurb {
	padding: 0 50px 20px 50px;
}
body.home #blurb h1 {
	font-size: 24px;
	font-weight: bold;
	color: #71ad1e;
	line-height: 30px;
}

body.home #blurb h2 {
	font-weight: normal;
	line-height: 24px;
	}
	
body.home #footer {
	border-top: 15px solid white;
}


body.home .imgplaceholder {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0;
}

/*** OVERRIDE PLUGIN STYLES ***/

.linklove {
	display: none !important;
	}