/*
Theme Name: Build The Future 2009
Theme URI: http://buildthefuture.org.au
Description: The Build The Future 2009 custom theme
Version: 1.0
Author: James Angus
Author URI: http://www.suqld.org.au
*/


/**
	CSS Reset provided by Yahoo!
**/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img { border:0; }
caption,th { text-align:left; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }



/**
	Basic page setup, HTML elements and typography
**/
body {
	color: #555;
	background: #FFF;
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	font-size: small;
	line-height: 135%;
}

h1 {
	margin: 1em 0;
	color: #5a769e;
	font-size: x-large;
	font-weight: bold;
	line-height: 135%;
}

h2 {
	margin: 1em 0;
	color: #8a5938;
	font-size: large;
	font-weight: bold;
	line-height: 135%;
}

h3 {
	margin: 1em 0;
	font-size: medium;
	font-weight: bold;
	line-height: 135%;
}

h4 {
	margin: 1em 0;
	font-size: small;
	font-weight: bold;
	line-height: 135%;
}

h5,
h6 {
	margin: 1em 0;
	font-size: x-small;
	font-weight: bold;
	line-height: 135%;
}

blockquote {
	margin-left: 1em;
	padding: 0 2em;
	border-left: 1px solid #EEE;
	font-style: italic;
}

p,
ul,
ol {
	margin: 1em 0;
	font-weight: normal;
	line-height: 135%;
}

	ul li {
		margin-left: 2em;
		padding-left: .3em;
		list-style-position: outside;
		list-style: disc;
	}
	
	ol li {
		margin-left: 2.3em;
		list-style-position: outside;
		list-style: decimal;
	}

a:link,
a:visited {
	color: #d78638;
	text-decoration: underline;
}

a:hover,
a:active {
	color: #b66c35;
	text-decoration: none;
}
	
	a img {
		border: 0;
	}

dt,
th {
	font-weight: bold;
}

dt {
	margin-top: 1em;
}

dd {
	margin-bottom: 1em;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

q {
	font-style: italic;
}

img.left,
.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

img.right,
.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

.clear {
	clear: both;
}



/**
	Page styling
**/
body {
	background: url(images/body.bg.jpg) repeat-x center top;
}

	#page {
		position: relative;
		width: 960px;
		margin: 0 auto;
	}
	
/**
	Masthead
**/
#masthead {
	position: relative;
	padding-top: 1px;
	z-index: 5;
}

	#title {
		position: absolute;
		top: 0;
		z-index: 50;
	}

	#description {
		position: absolute;
		left: 245px;
		right: 0;
		margin: 40px 30px 5px 0;
		line-height: 135%;
		font-size: 24px;
		color: #FFF;
		text-shadow: #000000 1px 1px 4px;
		font-weight: bold;
		text-align: right;
	}
	
	#mainmenu {
		position: relative;
		margin-top: 98px;
		padding: 10px 12px 14px 220px;
		z-index: 20;
		background: url(images/nav.bg.png) no-repeat center top;
	}
	
		#mainmenu ul {
			margin: 0;
			padding: 0;
		}
		
		#mainmenu ul:after {
			display: block;
			clear: both;
			content: ".";
			height: 0;
			visibility: hidden;
		}
		
			#mainmenu ul li {
				position: relative;
				display: block;
				float: left;
				margin: 0 15px;
				padding: 0;
			}
			
			#mainmenu ul li:hover,
			#mainmenu ul li.hover {
				background: #516581;
			}

				#mainmenu ul li a {
					display: block;
					margin: 0;
					padding: 8px 10px 9px 10px;
					color: #FFF;
					font-weight: bold;
					text-decoration: none;
					text-shadow: #000000 1px 1px 4px;
				}
				
				#mainmenu ul li.current_page_item a,
				#mainmenu ul li.current_page_ancestor a {
					background: #9E653F;
				}
				
				#mainmenu ul li:hover a,
				#mainmenu ul li.hover a {
					background: none;
				}
				
				#mainmenu ul li ul {
					position: absolute;
					left: 0;
					width: 15em;
					background: #516581;
					/* When hidden: */
					height: 0;
					overflow: hidden;
					visibility: hidden;
				}
				
				#mainmenu ul li:hover ul,
				#mainmenu ul li.hover ul {
					/* When shown: */
					height: auto !important;
					overflow: visible;
					visibility: visible;
				}
				
					#mainmenu ul li ul li {
						float: none;
						margin: 0;
					}
					
						#mainmenu ul li ul li a,
						#mainmenu ul li.current_page_ancestor ul li a {
							padding: 5px 10px;
							background: none;
						}
						
						#mainmenu ul li ul li a:hover {
							background: #5A769E;
						}


				
/**
	Body
**/
#body {
	width: 920px;
	min-height: 272px;
	margin: -20px auto 0 auto;
	background: #FFF;
}

	#feature {
		position: relative;
		top: -4px;
	}

		#feature img {
			position: relative;
		
		}

	#content {
		padding: 10px 15px;
	}
	
		body.home #content h1 {
			display: none;
		}

		body.home #content h2 {
			color: #5A76AA;
		}
		
		body.home #content h2:first-child {
			margin-top: 0;
		}
		
		.pdf {
			display: block;
			color: #495F7E;
			padding: 13px 10px 13px 40px;
			background: url(images/pdf.download.bg.gif) no-repeat left top;
		}
		
		a:link.pdf,
		a:visited.pdf {
			color: #495F7E;
			text-decoration: none;
		}
		
		
		
/**
	Image styling
**/
.image .entry {
	float: left;
}

.image .navigation {
	float: right;
	width: 320px;
	padding: 10px;
	background: #E7E7E7;
}

	.image .navigation a:link,
	.image .navigation a:visited {
		display: block;
		border: 3px solid #E7E7E7;
	}
	
	.image .navigation a:hover,
	.image .navigation a:active {
		border-color: #516581;
	}

	.image .navigation .caption {
		display: block;
		color: #BBB;
	}

	.image .navigation .alignleft {
		float: left;
		margin: 0;
	}
	
	.image .navigation .alignright {
		float: right;
		margin: 0;
	}
	
		.image .navigation .alignright .caption {
			text-align: right;
		}
		
		
		
/**
	Sponsors styling
**/
.wp-caption {
	padding: 7px 5px;
	background: #E7E7E7;
	border: 2px solid #DDD;
	text-align: center;
}

	.wp-caption p {
		margin: 7px 0 0 0;
	}
		
		
		
/**
	Sidebar
**/
#sidebar {
	float: right;
	width: 250px;
	margin: -33px -15px 15px 20px;
	padding: 0 20px 5px 25px;
	color: #9B623D;
	background: #EFC695 url(images/sidebar.bg.gif) no-repeat center bottom;
}

	#sidebar h2:first-child {
		margin-top: 40px;
		margin-right: 5em;
	}
	
	#sidebar a:link,
	#sidebar a:visited {
		color: #8A5938;
	}

	body.home #sidebar h2:first-child {
		margin-right: 0;
	}
		
		
		
/**
	Book now feature
**/
#booktable {
	position: relative;
	float: right;
	width: 460px;
	margin: -140px -10px 20px 20px;
}
		
	#booknow {
		width: 460px;
		height: 195px;
		background: url(images/booknow.png) no-repeat center top;
	}
	
		#booknowbtn {
			display: block;
			float: right;
			margin: 15px 25px 0 0;
		}
		
	#tablesof {
		height: 250px;
		margin: 10px 0 0 0;
		padding: 10px 20px;
		color: #FFF;
		background: url(images/table.jpg) no-repeat center top;
	}
	
		#tablesof *,
		#tablesof p {
			margin: 0;
		}
		
		#tablesof a {
			color: #ff8f00;
		}



/**
	Footer
**/
#footer {
	width: 890px;
	margin: 10px auto 0 auto;
	padding: 12px 15px;
	background: url(images/footer.bg.gif) no-repeat center top;
	font-size: x-small;
}

	#footer *,
	#footer p {
		margin: 0;
	}



/**
	Safari Hacks
**/
@media screen and (-webkit-min-device-pixel-ratio:0)
{
	#feature {
		top: 2px;
	}
	
	#booktable {
		margin-top: -135px;
	}
	
	#mainmenu ul li a {
		padding-top: 9px;
	}
}



/** 
	Opera Hacks
**/

@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0)
{	
	head~body #feature {
		top: -3px;
	}
	
	#mainmenu ul li a {
		padding-top: 9px;
	}
}