/*
Theme Name: Zilzie Bay 2008
Theme URI: http://www.almostanything.com.au
Description: 2008 version of Zilzie Bay
Version: 1.0
Author: Jason Foss
Author URI: http://almostanything.com.au
*/


/*------------------------------------------------------------------------------
 * Main page structure
 */
*{
	/* the big global reset thing */
	margin:0;
	padding:0;
}

body {
	font-size: 80%;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	text-align: center;
}

body.home {
	background:none;
}

#page {
	background:#fff url(images/main_background.gif) repeat-y;
	text-align: left;
	margin:auto;
	width:960px;
	position:relative;
}

/*------------------------------------------------------------------------------
 * Header
 */

#header {
	margin-bottom:36px;
	background:#12b7f0 url(images/headerBg.png) top center no-repeat;
	height:220px;
}

#header h1 {
	position:absolute;
	top:0;
	left:0;
}

#header h1, #header h1 a {
	width:180px;
	height:119px;
	float:left;
}

#header h1 a {
	display:block;
	text-indent:-9999px;
	padding:35px 40px 40px;
	background:transparent url(images/logo.png) bottom left no-repeat;
}

div#headerimg {
	width:960px;
	height:220px;
	margin:0 auto;
	position:relative;
}

div#headerimg img {
	position:absolute;
	top:0;
	right:0;
	border-radius:0 0 7px 7px;
	-moz-border-radius:0 0 7px 7px;
	border:7px solid #fff;
	border-top:none;
}

div#headerimg span {
	width:245px;
	height:54px;
	background:transparent url(images/phone.png) no-repeat;
	text-indent:-9999px;
	display:block;
	position:absolute;
	top:187px;
	right:0;
	margin:-51px 0 0;
}


/*------------------------------------------------------------------------------
 * main nav
 */
 
div#mainnav {
	width:100%;
	height:36px;
	background:url(images/nav_background.gif) repeat-x;
	z-index:100;
	font-size:1.1em;
}

#mainnav ul {
	list-style:none;
	width:960px;
	margin:0 auto;
}

#mainnav li {
	list-style:none;
	float:left;
	text-align:center;
	line-height:33px;
	position:relative;
}

#mainnav li a {
	color:#d0ffff;
	text-decoration:none;
	display:block;
	padding:0 1em;
}

#mainnav li ul {
	position:absolute;
	top:-999em;
	left:-999em;
	background:#C89C39;
	color:#000;
	z-index:90;
	width:100%;
	display:none !important;
	
}
#mainnav li ul li {
	width:100%;
	line-height:1.1em;
	z-index:101;
}
#mainnav li ul li a {
	padding: 5px 0;
	border-bottom:1px solid #D8BB77;
}
#mainnav li:hover ul, #mainnav li.sfHover ul {
	position:absolute;
	top:34px;
	left:0;
}

#mainnav li a:hover, #mainnav li.current_page_ancestor a {
	color:#fff;
	background:#0094c9
}

/*------------------------------------------------------------------------------
 * Main column
 */
#content {
	margin:10px 0 0 220px;
	padding-top:1.5em;
	padding-bottom:2em;
}
#content h2, #content h2 a {
	color:#c89c39;
	text-decoration:none;
}
#content h3 {
	padding-top:1em;
}
#content p {
	margin:1em 0 0 0;
	line-height:1.6em;
	letter-spacing:1px;
}
#content ul, #content ol {
	padding:0 0 0 3em;
}
#content a {
	color:#c89c39;
}
#content a:hover {
	color:white;
	background:#c89c39;
	text-decoration:none;
}
.see_also_links {
	position:absolute;
	right:0;
	top:450px;
	width:300px;
	border:1px solid #c89c39;
	background:#fff;
	padding:0 0 1em 0;
}
.see_also_links p {
	text-align:center;
	font-weight:bold;
}

/*------------------------------------------------------------------------------
 * blog posts
 */
.post {
	margin:0 0 2em 0;
	padding:0 0 1em 0;
	border-bottom:1px solid #ebdbb8;
}
.postmetadata {
	color:#c89c39;
}
/* the next/previous links */
div.navigation{
	margin:1em;
	background-color:#ebdbb8;
	height:1.6em;
}
.alignleft{float:left;}
.alignright{float:right;}

/*------------------------------------------------------------------------------
 * for sitting the main page image off to the right
 * make sure is has a class of 'deco-image'
 * 
 * Also for position flickr and youtube embeds below
 */
#content img.deco-image {
	float:right;
	margin:0 0 1.5em 1.5em;
	border:3px solid #ddd;
	padding:3px;
}

.flickr {
	position:absolute;
	right:0;
	top:410px;
	border-top:3px solid white;
	border-bottom:3px solid white;
}

.flickr img {
	display:block;
	clear:both;
}

#sz-youtube-recent-videos {
	position:absolute;
	right:0;
	top:640px;
	padding:1em;
	border-top:3px solid white;
	border-bottom:3px solid white;
}

#sz-youtube-recent-videos h2 {
	text-align:center;	
}

ul.sz-videolisting {
	position:relative;
	right:-6px;
}


ul.sz-videolisting li {
	width:auto !important;
	text-align:right;
}

#sz-youtube-recent-videos h2 {
	margin:0 0 .5em 0;
}

#sz-youtube-recent-videos a {
	color:#000;
}

body.page-id-442 #content .ngg-galleryoverview {
	clear:none;
	width:auto;
	margin-top:.5em;
}

body.page-id-442 div.post {
	overflow:hidden;
}

/*------------------------------------------------------------------------------
 * Sidebar styling
 */
#home_footer{
	margin:20px 320px 0 100px;
	clear:both;
	font-size:80%;
}

#sidebar {
	width:170px;
	margin:0 0 0 15px;
	float:left;
}

#sidebar li#sub-page-menu {
	padding:1.5em 0 0;
	display:block;
}

li#sub-page-menu li {
	display:block;
	list-style:circle;
}

li#sub-page-menu ul {
	margin-top:1em;
}

li#sub-page-menu li a {
	display:block;
	padding:.35em .5em;
	margin:.45em 0;
	color:#7d6f50;
	text-decoration:none;
	border-radius:4px;
	-moz-border-radius:4px;
}

li#sub-page-menu li a:hover {
	background:#fff;
	color:#333;
}

li#sub-page-menu li.current_page_item a {
	background:rgba(0,0,0,0.05);
	padding-left:10006px;
	margin-left:-10000px;
	color:#333;
}

#sidebar h2, #sidebar h2 a, #home_footer h2, #home_footer h2 a{
	color:#c89c39;
	text-decoration:none;
}

#sidebar h3, #home_footer h3 {
	line-height:4em;
}
#sidebar li, #home_footer li {
	display:inline;
	/*float:left;*/
}
#sidebar a, #home_footer a {
	color:#c89c39;
}
#sidebar a:hover, #home_footer a:hover {
	color:white;
	background:#c89c39;
	text-decoration:none;
}

/*------------------------------------------------------------------------------
 * Watch your feet, baby!
 */
#footer{
	clear:both;
	margin:0;
	text-align:center;
	color:#fff;
	background:url(images/headerBg.png) no-repeat center top;
}

#footer .widthlimiter {
	width:960px;
	margin:0 auto;
	padding: 20px 3em 0;
}

#footer a{
	color:#fff;
}
#footer a:hover{
	text-decoration:none;
}

#footer .subtle {
	padding-bottom:.5em;
}

#footer .subtle a{
	/* don't really need these footer links to stand out too much */
	color:#fff;
	text-decoration:none;
	font-size:80%
}

/*------------------------------------------------------------------------------
 * Form styling
 */
#content .cform{
	width:350px;
}
#content .cform legend {
    color:#000;
}
#content .cform input, #content .cform textarea{
    width:200px;
}

#content .cform li.cf-box-group input {
	width:auto;
	clear:left;
	display:block;
	float:left;
	margin-right:.5em;
}

#content .cform li.cf-box-group label {
	width:150px;
	display:inline;
	line-height:25px;
	margin:0;
	vertical-align:inherit;
}

#content .cform li.cf-box-group label span {
	width:150px;
}

.linklove { /*hides link to author but still gives them the backlink*/
    display: none;
}

body.page-id-442 #content .cform {
	float:right;
	width:300px;
	margin:0 0 0 1.5em;
}

body.page-id-442 #content .cform fieldset {
	margin-top:0;
}

body.page-id-442 .cform label, body.page-id-442 .cform label span {
	width:150px;
}

body.page-id-442 .cform span.reqtxt {
	margin-left:0;
}

body.page-id-442 .cform ol {
	padding-top:0 !important;
}

#content p.cf-sb {
	text-align:left;
}

body.page-id-442 .cform input.sendbutton {
	margin-left:0;
}

/*
 * Homne page subscribe form
 */
#subscribe_box{
	width:170px;
}
#subscribe_box form#cforms3form {
	width:170px;
}
#subscribe_box form#cforms3form input {
	width:75%;
}
#subscribe_box form#cforms3form label {
	display:none;
}
#subscribe_box form#cforms3form .reqtxt, #subscribe_box form#cforms3form .emailreqtxt {
	color:#fff;
	margin:0;
}
#subscribe_box form#cforms3form input.sendbutton {
	margin:0;
	border:1px solid #896825;
	background:#D8BB77;
	color:#fff;
	font-size:120%;
	font-weight:bold;
}
#subscribe_box form#cforms3form p.cf-sb {
	text-align:center;
	margin:0 0 0 0;
}
#subscribe_box div#usermessage3a.cf_info success{
	color:#000;
	font-weight:bold;
}

/*------------------------------------------------------------------------------
 * search form
 */
#searchform{
	text-align:center;
	margin-bottom:.5em;
}
#searchform input{
	background-color:#fff;
	color:#000;
	border:1px solid #000;
}
#searchsubmit{
	cursor:pointer;
	cursor:hand;
}
/*
 * masterplan table
 */
table.masterplan{
	border-top:1px solid #EBDBB8;
	border-left:1px solid #EBDBB8;
}
table.masterplan td{
	border-right:1px solid #EBDBB8;
	border-bottom:1px solid #EBDBB8;
	padding:3px;
}
table.masterplan th{
	background-color: #ebdbb8;
	padding:3px;
}
/*------------------------------------------------------------------------------
 * Home Page Specifics!
 */
#promo_banner {
	height:70px;
	background:#fff url(images/banner-putt-putt.jpg) top no-repeat;
	text-indent:-999em;
	position:relative;
	padding-bottom:1px;
	border-bottom:1px solid #c89c39;
}
#promo_banner a {
	display:block;
	position:absolute;
	top:25px;
	left:650px;
	width:42px;
	height:28px;
	text-indent:-999em;
	background:url(images/melbourne_cup_go.jpg) no-repeat;
	
}
#home_page_splash {
	height:340px;
	width:960px;
	margin-top: 1px;
	background:url(images/home_page_bg.jpg) top no-repeat;	
}
#home_page_splash div {
	float:left;
	height:340px;
	position:relative;
	color:#666666;
}
#home_page_splash div div {
	float:none;
	padding:0 20px;
	height:auto;
	background:none;
}
#the_bay_box, #reef_palms_box {
	width:196px;
}

#latest_news_box {
	width:356px;
}

#subscribe_box  {
	width:170px;
	padding:0 20px;
}
#subscribe_box p {
	color:#fff;
}
#the_bay_box img {
	margin:74px auto 30px;
	display:block;
}
#reef_palms_box img {
	margin:12px auto 9px;
	display:block;
}
#home_page_splash a.go-button {
	display:block;
	position:absolute;
	top:267px;
	left:79px;
	width:42px;
	height:28px;
	text-indent:-999em;
	background:url(images/home_go.jpg) no-repeat;
}

#latest_news_box a.go-button {
	left:150px;
}

#latest_news_box h2 {
	color:#c89c39;
	margin-top:10px;
	text-align:center;
	margin-bottom:1em;
}
#subscribe_box h2 {
	color:#fff;
	margin-top:25px;
	margin-bottom:1em;
}
#latest_news_box ul {
	list-style:none;
	padding:0 20px;
}
#latest_news_box ul li {
	margin-bottom:1em;
}
#latest_news_box ul li a {
	color:#666666;
	font-size:1.1em;
	font-weight:bold;
	text-decoration:none;
}
#latest_news_box ul li a:hover {
	text-decoration:underline;
}

#subscribe_box label {
	color:#fff;
	display:block;
	margin-top:.5em;
}

#subscribe_box input {
	padding:0.2em 0;
	width:100%;
	background:#fff;
	border:1px solid #fff;
}

#subscribe_box input#submit {
	width:60px;
	margin-top:1em;
}

#home_footer{
	margin:0;
	clear:both;
	background:#F8F0E3 url(images/footer.jpg) no-repeat center bottom;
	padding:.5em 50% 77px 1.5em;
	color:#86702C;
}

#home_footer h2{
	font-size:250%;
	margin:0.5em 0;
}

ul#beachsideinvestment {
	padding:0;
	margin:0;
	list-style:none;
}

ul#beachsideinvestment li {
	width:45%;
	float:left;
	padding:.5em 2.5% 1.5em;
	margin:0;
}

ul#beachsideinvestment li img {
	width:100%;
}