/*
Theme Name: STZ Automotive
Theme URI: http://stzautomotive.com.au/
Description: A theme for content management with WordPress.
Version: 1.0
Author: Troy Hoskin
Author URI: http://highrotation.com.au/
*/

/*-------------------- Structure --------------------*/

body {
	margin: 0;
	padding: 0;
	background-color: #999;
	color: #000;
	font-family: Arial, Verdana sans-serif;
	font-size: 0.75em;
	}

#container {
	position: relative; /*Set the containing element for absolutely positioned elements*/
	width: 955px;
	margin: 0 auto;
	padding: 0;
	/*text-align: left;*/
	background-color: #fff;	
	}

#header {
	float: left;
	width: 955px;
	height: 126px;
	margin: 0;
	padding: 0;
	background: url("images/site-header-page.jpg") 0 0 no-repeat;
	z-index: 1;
}

#logo { /*This is used to make the logo a clickable hyperlink*/
	position: absolute;
	top: 20px;
	left: 20px;
	width: 597px;
	height: 97px;
	margin: 0;
	padding: 0;
	/*background: url("images/site-clearpixel.gif") 0 0 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: 597px;
		height: 97px;
		margin: 0;
		padding: 0;
		text-decoration: none;
}

#header-services { /*This div uses a z-index to put it on top.  It's used to show the services beside the header image.*/
	position: absolute;
	top: 120px;
	left: 0;
	width: 220px;
	margin: 20px;
	padding: 0;
	z-index: 3;
	}

#menu {
	float: left;
	width: 675px;
	height: 40px;
	background-color: #F8D136;
	}

#search {
	float: right;
	width: 280px;
	height: 40px;
	text-align: right;
	background-color: #F8D136;
	}

#pageBody {
	margin: 0;
	padding: 0;
	}
	
	#content {
		float: left;
		width: 644px;
		margin: 10px 0;
		padding: 0 10px 0 20px;
		border-right: 1px dotted #0F346A;
		}

	#sidebar {
			float: right;
			width: 250px;
			margin: 0;
			padding: 10px 15px;
			}

#footer-top {
	height: 20px;
	margin: 0;
	padding: 0;
	background: url("images/site-footer-top.gif") 0 0 repeat-x;
	clear: both; /*Clears the two floated divs AND gets any container background to display to the bottom of the page in FF*/
}

#footer {
	height: 280px;
	margin: 0;
	padding: 0;
	background-color: #333;
}

	#footer-left-1 {
		float: left;
		width: 195px;
		margin: 0;
		padding: 10px 10px 10px 20px;
		}

	#footer-left-2 {
		float: left;
		width: 195px;
		margin: 0;
		padding: 10px 10px 10px 20px;
		}

	#footer-left-3 {
		float: left;
		width: 195px;
		margin: 0;
		padding: 10px 10px 10px 20px;
		}

	#footer-right {
		float: right;
		width: 250px;
		margin: 0;
		padding: 20px 20px 10px 10px;
		background-color: #333;		
		}

/*-------------------- Formatting --------------------*/

h1, h2, h3, h4, h5, h6 {
	font-family: Helvetica, Arial, sans-serif;
	color: #000;
	}

#sidebar h1 {
	margin-top: 0.75em;
	margin-bottom: 0.5em;
	}

h2, h3, h4, h5, h6 {
	margin-top: 1.25em;
	margin-bottom: 0.5em;
	}

div.hentry h2 {
	margin-bottom: 0.25em;
	border-bottom: 1px solid #7FA0D1;
	}

div.entry h3, div.entry h4 {
	margin-bottom: 0.25em;
	}

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
	color: #fff;
	}

p {
	margin-top: 0;
	padding-top: 0;
	line-height: 125%;
	}

div.post p {
	margin-top: 0.75em;
	}

p.postmetadata {
	color: #2F5EA4;
	}

#footer p {
	color: #fff;
	}

.alignleft {
	float: left;
	}

.alignright {
	float: right;
	}

/*-------------------- Links --------------------*/

#header-services a {
	color: #000;
	text-decoration: none;
	}

#header-services a:link, #header-services a:visited {
	color: #000;
	}

#header-services a:hover {
	color: #0F346A;
	}

div.post h2 a {
	color: #0F346A;
	text-decoration: none;
	}

div.post h2 a:link, div.post h2 a:visited {
	color: #0F346A;
	}

div.post h2 a:hover {
	color: #2F5EA4;
	}

#footer a {
	color: #7FA0D1;
	text-decoration: none;
	}

#footer a:link, #footer a:visited {
	color: #7FA0D1;
	}

#footer a:hover {
	color: #7FA0D1;
	text-decoration: underline;	
	}

/*-------------------- Lists --------------------*/

ul {
	list-style-type: none;
	}

#header-services ul { /*This is for the list of services beside the header image on the home page*/
	margin: 0;
	padding: 0;
	font-size: 2.0em;
	line-height: 1.25em;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	}

#sidebar ul {
	margin: 0;
	padding: 0;	
	}

#sidebar li {
	margin: 0 0 6px 0;
	padding: 0 0 4px 0;
	border-bottom: 1px dashed #7FA0D1;	
	}

div.entry ul {
	list-style-type: disc;
	line-height: 125%;
	}

#footer ul { /*Site map and pages listing*/
	margin: 0;
	padding: 0;
	color: #7FA0D1;
	}

#footer > * > ul {
	border-bottom: 1px solid #666;
	}

#footer-left-1 > ul > li,
#footer-left-2 > ul > li,
#footer-left-3 > ul > li {
	padding: 4px 0;
	border-top: 1px solid #666;
	}

#footer-left-1 ul li ul li {
	margin-left: 0.5em;
	}


/*-------------------- Images and Captions --------------------*/

img.alignleft {
	margin: 10px;
	}

img.alignright {
	margin: 10px;
	}

.wp-caption {
	margin: 10px;
	padding: 0;
	background-color: #000;
	}

.wp-caption img {
	margin: 0;
	padding: 0;
	border-bottom: 2px solid #F8D136;
	}

.wp-caption p.wp-caption-text {
	margin: 0;
	padding: 4px 4px 4px 6px;
	font-size: 11px;
	color: #fff;
	background-color: #000;
	}

.gallery-caption {
	display: none;
	}

/*-------------------- iFrames and Embedded Objects --------------------*/

iframe {
	padding: 2px;
	background-color: #FCE68F;
	border: 1px solid #2F5EA4;
	}

/*-------------------- Forms --------------------*/

#searchform {
	margin: 8px 10px 0 0;
	padding: 0 3px;
	}

#searchform #s {
	width: 130px;
	padding: 4px;
	color: #000;
	background: #fff;
	border: 1px solid #2F5EA4;	
	}

#searchsubmit {
	padding: 3px;
	color: #000;
	font-weight: bold;
	background: #FCE68F;
	border: 1px solid #2F5EA4;	
	}

#content #searchform #s {
	width: 200px;
	padding: 4px;
	color: #000;
	background: #fff;
	border: 1px solid #2F5EA4;	
	}

#content #searchsubmit {
	padding: 3px 10px;
	color: #000;	
	font-weight: bold;
	background: #FCE68F;
	border: 1px solid #2F5EA4;
	}

/*-------------------- Menu --------------------*/

#pagemenu {	
	/*width: 100%;*/
	font-size: 1.5em;
	background: #F8D136;
	border-top: 2px solid #F8D136;	
	}

#pagemenu ul {
	/*width: 675px;*/
	margin: 0;
	padding: 0px 15px;
	}

#pagemenu ul li {
	float: left;
	display: inline;
	margin-left: 2px;
	padding: 0px;
	line-height: 36px;
	}

#pagemenu ul li a {		
	display: block;
	}	

#pagemenu ul li.page_item a {
	padding: 0px 20px;
	color: #555;
	font-weight: bold;
	text-decoration: none;
	background: #fff;
	border-bottom: 2px solid #F8D136;
	}

#pagemenu ul li.page_item a:hover, #pagemenu ul li.cat-item a:hover {
	color: #000;
	border-bottom: 2px solid #fff;
	}

#pagemenu ul li.current_page_item a, #pagemenu ul li.current_page_item a:hover { 
	color: #000;
	border-bottom: 2px solid #fff;
	}
