/*
Theme Name: Brisbane Billycarts Theme
Theme URI: http://www.brisbanebillycarts.com.au
Description: Theme for Brisbane Billycart Championships
Version: 1.0
Author: Leon Poole
Author URI: http://www.creativeworld.com.au
Tags: theme, html5, css3
*/


/* BASICS */

header, footer, section, article, aside, nav {
	display: block;
	overflow:hidden;
}
body {
	position: relative;
    z-index: 0;
	margin: 0;
	font-family:Arial, Helvetica, sans-serif;
	background-color:#A1CEf7;
	background-image:url("img/cloud.png"),url("img/sunshine.png"),url("img/cloud.png"),url("img/cloud.png"),url("img/main.png"),url("img/bg-green-stripe.png");
	background-position:3% 110px,-300px -50px,45% 18px,95% 55px,center 165px,0px 900px;
	background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,no-repeat, repeat-x;
	/* -pie-background: /* remember to use absolute URLs for images here! */
	/*	url("http://www.brisbanebillycarts.com.au/wp-content/themes/bbc-theme/img/cloud.png") 3% 110px no-repeat,
		url("http://www.brisbanebillycarts.com.au/wp-content/themes/bbc-theme/img/sunshine.png") -300px -50px no-repeat,
		url("http://www.brisbanebillycarts.com.au/wp-content/themes/bbc-theme/img/cloud.png") 45% 18px no-repeat,
		url("http://www.brisbanebillycarts.com.au/wp-content/themes/bbc-theme/img/cloud.png") 95% 55px no-repeat,
		url("http://www.brisbanebillycarts.com.au/wp-content/themes/bbc-theme/img/main.png") center 165px no-repeat,
		url("http://www.brisbanebillycarts.com.au/wp-content/themes/bbc-theme/img/bg-green-stripe.png") 0px 900px repeat-x
	; STILL NOT WORKING SILLY IE7 !!! */
	font-size:14px;
	*background-color:#A1CEf7;
	behavior: url(/pie/PIE.htc); /* remember to use absolute URLs here too! */

}

	/*background:
		#A1CEf7
		url("img/cloud.png") 3% 110px no-repeat,
		url("img/sunshine.png") -300px -50px no-repeat,
		url("img/cloud.png") 45% 18px no-repeat,
		url("img/cloud.png") 95% 55px no-repeat,
		url("img/main.png") center 165px no-repeat
	;*/
nav+section {
	margin:0 auto;
	overflow:hidden;
	padding:20px;
	width:980px;
}

article[id*=post-] h1 {font-size:22px;
font-style:italic;
margin:0;
padding:0;
text-shadow:2px 2px 2px #CCCCCC;
line-height: 32px;}

/* LINKS */

a, a:visited {
	text-decoration: underline;
	color: #0099CC;
}
a:hover, a:active {
	text-decoration: underline;
	color: #0099FF;
}
/* HEADER */

body>header {
	padding: 30px 0 0;
	color: #ccc;
	width:980px;
	margin:0 auto;
}
header>hgroup { float:left;}

body>header h1 {
	background:transparent url(/img/logo-brisbane-billycarts-trans.png) no-repeat 0 0;
	text-indent:-99999px;
	margin: 0;
	overflow:hidden;
	height:88px;
	width:311px;
}
body > header h1 a:link, body > header h1 a:visited {
    color: #666666;
    display: block;
    height: 88px;
    text-decoration: none;
    width: 311px;
}
body>header h1 a:hover, body>header h1 a:active {
	text-decoration: none;
	color: #fff;
}

/* POSTS */

article {line-height:1.4em;}

article[id*=post-] {
 background:#FFFFFF url(img/bg-grand-prix-stripe.png) repeat-x 0 0;
 padding:40px 20px 20px;

box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.65);
-webkit-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.65);
-moz-box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.65);

border-radius:5px;
-webkit-border-radius:5px;
 -moz-border-radius:5px;
 -pie-border-radius:5px;

position:relative;
behavior: url(/pie/PIE.php);
}

article>header p,  article>footer p {
	font-style: italic;
}
article+nav {
	font-weight: bold;
}
section>h1 {
	padding-top: 10px;
}

article>aside {
float:left;
font-size:10px;
width:200px;
color:#888888;
margin-top:0;
	}
	
article aside { clear:left; line-height:normal;}
article figure {float:left;}
article:hover aside { opacity: 1; -webkit-transition: opacity 1s linear;}

article>aside dl { border-width:1px 0; border-style:solid; border-color:#CCC; padding:6px 0;}

article>aside dt {
clear:left;
display:inline-block;
width:70px;}

article>aside dd {
display:inline-block;
margin:0 0 6px;}

body article header h1 {
color:#000000;
font-size:110%;
font-weight:normal;
margin-bottom:0.5em;
font-family: "adelle-1","adelle-2",serif;}

body article header h1 a,
body article header h1 a:visited { text-decoration:none; color:#000;}

/* Single Post Page */
.single article[id*=post-] {
 float:none;
 padding:10px;
}
.single article[id*=post-] header, 
.single article[id*=post-] section,
.single article[id*=post-] footer {
 display:inline-block;
 float:right;
 width:700px;
}
.single article[id*=post-] section {clear:none;}

.single section section { clear:both;}

/* NAVIGATION */


nav {
	clear: both;
}
body>nav {
	margin:0 auto;
	padding:0;
	width:980px;
	overflow:visible;
}
body>nav ul {
	float:right;
	margin-top:-45px;
	text-align:left;
}
body>nav li {
	margin-right: 20px;
	font-weight: bold;
	display: inline;
}

body>nav a, body>nav a:visited {
	color:#FFFFFF;
	text-shadow:1px 1px 2px #81A2C0;
	font-size: 15px;
	font-weight: bold;
	text-decoration:none;
	position:relative;
	behavior: url(/pie/PIE.php);
}
body>nav a:hover, body>nav a:active {
	text-decoration: underline;
	color: #FFFFFF;
	
}

nav li.current_page_item a {

box-shadow:inset 2px 2px 3px rgba(0, 0, 0, 0.1) ;
-webkit-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow:2px 2px 3px rgba(0, 0, 0, 0.1) inset;


border-radius:14px;
-webkit-border-radius:14px;
-moz-border-radius:14px;

background:rgba(0, 0, 0, 0.05);
-pie-background:rgba(0, 0, 0, 0.05);

border:1px solid #86A8C7;
padding:4px 12px;

text-shadow:1px 1px 2px #86A8C7;
z-index:0;

behavior: url(/pie/PIE.htc);
}


/* COMMENTS */


article[id*=comment-] {
 margin: 15px 0;
 padding: 10px;
}
 article[id*=comment-] h4 {
 margin: 0;
}
.alt {
	border: 1px solid #ddd;
	background: #eee;
}
form[method=post] label {
display:block;
float:left;
line-height:22px;
width:52px;
margin:0 0 12px;
}
#gform_1 label, #gform_2 label {
float: none;
width: auto;
}
.gform_wrapper input.ginput_quantity {
	display:inline;
}
form[method=post] input {
	margin: 0 0 12px 0;
	display: block;
}
/* SIDEBAR */


aside {
	margin-top: 30px;
	overflow: hidden;
	width: 100%;
	float: right;
	clear: none;
}
aside li {
	list-style: none;
}
aside li ul li {
	list-style: disc outside;
}
/* SIDEBAR FOOTER */
body>aside {
	border-radius:5px;
	-moz-border-radius:5px;
	box-shadow:0 2px 10px rgba(0, 0, 0, 0.65);
	-webkit-box-shadow:0 2px 10px rgba(0, 0, 0, 0.65);
	-moz-box-shadow:0 2px 10px rgba(0, 0, 0, 0.65);
	background-color:#DEF591;
	clear:both;
	float:none;
	margin:0 auto 10px;
	overflow:hidden;
	padding:10px;
	width:960px;
	behavior: url(/pie/PIE.htc);
}
body>aside section {
border-radius:5px;
-moz-border-radius:5px;
background-color:#FFFFFF;
display:block;
float:left;
margin-right:10px;
padding:10px;
width:293px;
behavior: url(/pie/PIE.htc);
}
body>aside section+section+section {margin-right:0;}

body>aside h2{margin:0 0 20px; color:#524E30; font-size:17px;}
body>aside h2 a,
body>aside h2 a:visited,
body>aside h2 a:hover {color:#524E30; text-decoration:none;}

/* FOOTER */


body>footer {
background-color:#878909;
clear:both;
margin:0 auto;
overflow:hidden;
color:#C7C512;
}

body>footer a,
body>footer a:visited,
body>footer a:hover { color:#F4EE20; text-decoration:underline;}

body>footer section { width:960px; margin:0 auto;}

/* SEARCH */


label[for=s] {
	display: none;
}


/* ELEMENTS */

:focus {
  -moz-outline-style: none;
}


img { border:0;}

button {
border-radius:3px;
-moz-border-radius:3px;
background:linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 #F6F6F6;
background:-webkit-linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 #F6F6F6;
background:-moz-linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 #F6F6F6;
-pie-background:linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 #F6F6F6;
border:1px solid #CCCCCC;
cursor:pointer;
height:27px;
overflow:visible;
padding:0 8px;
vertical-align:middle;
white-space:nowrap;
position:relative;
behavior: url(/pie/PIE.htc);
	}

button:hover, button:active {
-webkit-box-shadow:0 0 3px rgba(0,0,0,0.5);
-moz-box-shadow:0 0 3px rgba(0,0,0,0.5);
box-shadow:0 0 3px rgba(0,0,0,0.5);
background:-webkit-linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 #F3F3F3;
background:-moz-linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 #F3F3F3;
-pie-background:linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 #F3F3F3;
border-color:#999999;
outline: none;
	}

/* Twitter Pro Plugin Styles */
.widget_twitter h2 {background:url("/img/twitter.png") no-repeat scroll right center transparent;}
.widget_twitter li {
margin-bottom:10px;
padding:10px 0;
border-bottom:1px solid #EEEEEE;}
.widget_twitter ul {padding:0;border-top:1px solid #EEEEEE;}


.entry-content { display:block; clear:both; color:#666;}
.time-meta {clear:left; font-size:80%; font-style:italic;}
.from-meta {display:none;}

/* Blog Page Styles */

time {
background:none repeat scroll 0 0 #FFFFFF;
border:1px solid #D0CFB8;
color:#524E30;
float:right;
font-size:16px;
font-weight:bold;
line-height:16px;
margin:10px;
padding:13px 15px 10px;
}

.bbc-gallery {background-color:#EEEEFF;border:1px solid #CCCCCC;padding:19px;}

.credit { float:right; display:inline-block;}

#post-3 header,			/*Home page*/
#post-9 header			/*Gallery page*/
	{display:none;}
	
p.intro { color:#666; font-size:18px; font-style:italic; padding:0; margin:0 0 5px;}

.main-sponsors {float:right;}
.main-sponsors img {margin-right:20px;}

.countdown {
background:url("/img/countdown-trans.png") no-repeat scroll 14px center #FFFFCC;
border:1px solid #D0CFB8;
display:inline;
float:right;
overflow:hidden;
width:457px;}

.left-col {width:460px; float: left;}
.right-col {width:460px; float:right;}

p.first { font-size:17px; line-height:1.5em;}

article h2 {
border-bottom:1px solid #A19F72;
color:#524E30;
font-size:18px;
font-style:italic;
padding-bottom:4px;}

#feature-images {
height:210px;
  position:relative;
  width:100%;
  margin-top:20px;
}
#feature-images a img {
	position:absolute;
	padding:3px;
	border:1px solid #AAA;
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
	-webkit-transition: -webkit-transform 1s linear;
	-webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
	-moz-box-shadow: 0 3px 6px rgba(0,0,0,.25);
	background-color:#FFF;
	left:0;
	behavior: url(/pie/PIE.htc);
}
#feature-images a+a img {
	top:6px;
	right:4px;
	position:absolute;
	left:auto;
	 -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
	behavior: url(/pie/PIE.htc);
}


li.race { padding-left:25px; background:url(img/bullet-race-flag.png) no-repeat 65px 3px;}
li.award { padding-left:25px; background:url(img/bullet-prize.png) no-repeat 65px 3px;}

    /* By default, we tilt all our images -2 degrees */
     
    /* Rotate all even images 2 degrees */


#feature-images a:hover img {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
z-index: 5;
}
#feature-images a+a:hover img {
right:4px;
}


.sponsors-line1, .sponsors-line2 { list-style:none; text-align:center; padding:10px 0;}
.sponsors-line1 li, .sponsors-line2 li { display:inline;}

.race-program {
    list-style: none outside none;
    padding: 0;
	font-size:12px;
	*display: inline; /* ie7 dosen't recoginise padding value */
}

.race-program span:nth-child(1) {
    display: inline-block;
    width: 60px;
}
*.race-program span { /* ie 6 and 7 only due to no nth-child support */
    display: inline-block;
    width: 60px;
}

.race-program .header {margin-top:12px; font-size:14px;}

.traditional-billycarts {background: transparent url(img/traditional-billycart.png) no-repeat 0 0; padding-left:120px;min-height:83px;
  padding-left:135px;}
.modified-billycarts {background: transparent url(img/modified-billycart.png) no-repeat 0 0; padding-left:120px;min-height:83px;
  padding-left:135px;}


/* Portrait Style (for iphone etc.) */
@media screen and (max-width: 320px) {
    body { 
	background-color:#A1CEf7;
	background-image: none;
	font-size:12px;
	}
	p {font-size:12px;}
	p.first {font-size:13px;  line-height:1.5em;}
	nav + section {  padding:10px 0;  width:310px;}
	.left-col, .right-col {width:auto; float:none;}

	body > nav { width:auto;}
	body > nav a, body > nav a:visited {font-size: 12px;}
	body>nav li { margin-right: 10px;}

	body > nav ul {	 float:none; margin:0; padding:0 0 0 15px; }
	
	.countdown { display:block;  float:none; width:auto;margin-bottom:20px;}
	body > aside {width:310px;}
	body > aside section { margin-bottom:10px; width:310px;}
	body > footer section { width:auto; padding:5px; }
	body > header { width:auto; padding-top:10px;}
	body>header h1 { margin-left:15px;}
	#feature-images { display:none;}
	
}
/* Landscape Styles (for iphone etc.) */
@media screen and (min-width: 321px) and (max-width: 480px) {
    body { 
	background-color:#A1CEf7;
	background-image: none;
	font-size:12px;
	}
	p {font-size:12px;}
	p.first {font-size:13px;  line-height:1.5em;}
	nav + section {  padding:10px 0;  width:470px;}
	.left-col, .right-col {width:auto; float:none;}

	body > nav { width:auto;}
	body > nav a, body > nav a:visited {font-size: 12px;}
	body>nav li { margin-right: 10px;}

	body > nav ul {	 float:none; margin:0; padding:0 0 0 15px; }
	
	.countdown { display:block;  float:none; width:auto;margin-bottom:20px;}
	body > aside {width:450px;}
	body > aside section { margin-bottom:10px; width:430px;}
	body > footer section { width:auto; padding:5px; }
	body > header { width:auto; padding-top:10px;}
	body>header h1 { margin-left:15px;}
	#feature-images {display: none;}
}

.ginput_container span input { margin-bottom:0;}
.ginput_container span label { margin:0 0 6px;}

.gform_wrapper .ginput_complex label, .gform_wrapper .gfield_time_hour label, .gform_wrapper .gfield_time_minute label, .gform_wrapper .gfield_date_month label, .gform_wrapper .gfield_date_day label, .gform_wrapper .gfield_date_year label, .gform_wrapper .instruction, .gform_wrapper .gfield_description {
    color: #999999;
    display: block;
    font-size: 11px;
    letter-spacing: 0.5pt;
    margin: -1px 0 6px !important;}
	
.gform_wrapper .gfield_description { padding: 0 !important;    line-height: 22px;}

input#input_1_13 {margin:0;}
	
	
