/*
Theme Name: Chartair
Theme URI: http://chartair.com.au/
Description: A theme for content management with WordPress.
Version: 1.0
Author: Troy Hoskin
Author URI: 
*/

/*-------------------- Structure --------------------*/

body {
	margin: 0;
	padding: 0;
	background-color: #fff;
	color: #333;
	font-family: Verdana, Arial, sans-serif;
	font-size: 0.8em;
	}

#container {
	position: relative; /*Set the containing element for absolutely positioned elements*/
	width: 760px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	background: #fff url("images/bg-page.gif") 0 0 repeat-y;	
	}

#banner {
	position: absolute;
	top: 0;
	left: -95px;
	width: 950px;
	height: 166px;
	margin: 0;
	padding: 0;
	background: url("images/base-banner.gif") 0 0 no-repeat;
	overflow: visible;
	z-index: 1;
}

#logo {
	position: absolute;
	top: 0px;
	left: 10px;
	height: 64px;
	margin: 0;
	padding: 0;
	background: url("images/logo-chartair.gif") 0 10px no-repeat;
	z-index: 3; /*z-index of 3 so the URL is clickable.  i.e. It's above the pageHeader div*/
	}

	#logo a {
		display: block;
		width: 331px;
		height: 42px;
		margin: 0;
		text-decoration: none;
}

#introtext {
	position: absolute;
	top: 136px;
	left: 0;
	width: 256px;
	height: 194px;
	margin: 0;
	padding: 0;
	z-index: 3;
	}

#pageName {
	position: absolute;
	top: 126px;
	right: 0;
	width: 400px;
	height: 40px;
	margin: 0;
	padding: 0;
	text-align: right;
	z-index: 3;
	}

#pageHeader {
	position: relative; /*This is done so we can use a z-index to put this div on top.  It's used to show the phone number and email address in the banner*/
	width: 760px;
	height: 166px;
	margin: 0;
	padding: 0;
	z-index: 2;
	}

#pageBody {
	margin: 0;
	padding: 0;
	}

	#pagemenu {
		float: left;
		width: 260px;
		margin: 0;
		padding: 0;
		}
	
	#content {
		float: right;
		width: 500px;
		margin: 0;
		padding: 0;
		/*background: #fff;*/
		}

	#footer {
		height: 76px;
		margin: 0;
		padding: 0;
		background: url("images/logo-chartair-tagline.gif") 500px 80% no-repeat;
		border-bottom: 1px solid #444546;
		clear: both; /*Clears the two floated divs AND gets the container background to display to the bottom of the page in FF*/
	}

/*-------------------- Formatting --------------------*/

#introtext p {
	margin: 1.0em;
	padding: 0;
	color: #fff;
	line-height: 1.2em;
	}

#pageHeader p {
	margin: 0;
	padding: 54px 0 0 10px;
	color: #fff;
	}

#pageName h1 {
  margin: 0.2em 0.8em 0 0;
	font-size: 200%;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #fff;
	}

#content h2 {
	margin: 1.0em;
	font-size: 105%;
	color: #f4193c;
	}

#content h3 {
	margin: 1.0em;
	font-size: 105%;
	}

#content p {
	margin: 1.0em;
	padding: 0;
	}

#content hr {
	width: 90%;
	height: 1px;
	color: #ccc;
	background-color: #ccc;
	border: none;
	}
	
#footer p {
	margin: 1.0em;
	padding-top: 58px;
	font-size: 75%;
	}

/*-------------------- iFrames --------------------*/
iframe {
	margin: 0;
	padding: 0;
	}

/*-------------------- Images --------------------*/

#content img {
	padding: 0;
	border: 1px solid #444546;	
	}

#content img.alignleft {
	float: left;
	margin: 0 1.0em 0.5em 0;
	padding: 0;
	border: 1px solid #444546;
	}

#content img.alignright {
	float: right;
	margin: 0 0 0.5em 1.0em;
	}

#content a img {
	margin: 0.5em;
	padding: 0;
	border: 1px solid #444546;
	}

#content a:hover img {
	border: 1px solid #f4193c;
	}

/*-------------------- Navigation --------------------*/

#pagemenu ul {
	margin: 4px 0 0 0;
	padding: 0 10px;
	list-style-type: none;
	font-size: 105%;
	font-weight: bold;
  }

#pagemenu li {
	border-bottom: 1px solid #999;
	}

#pagemenu a {
	padding: 0.6em 0.6em 0.4em 0.6em;
	display: block;
	color: #444546;
	text-decoration: none;
  }

#pagemenu a:link, #menu a:visited {
	color: #444546;	
	text-decoration: none;
  }

#pagemenu a:hover {
	color: #fff;
	background-color: #444546;
	}

#pagemenu li.current_page_item, #pagemenu li.current_page_item a, #pagemenu li.current_page_item a:hover {
	color: #fff;
	background-color: #444546;
	}
