/*
Theme Name: MWBL
Theme URI: 
Author: Scott Ramsey
Author URI: http://scottramsey.com.au
Description: 
Version: 0.1
License: 
License URI: 
Tags: 
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}


body {
    padding: 0;
    background: #d7d7d7;
    font-family: 'Open Sans', arial, helvetica, sans-serif;
}

.wrapper,
nav>div{
    /* max-width:1000px; */
    width: 1000px;
    margin: 0 auto;
}

nav, h1, h2, h3, h4, h5, h6, #carousel, th { font-family: 'Patua One', cursive; }
h1, h2, h3, h4, h5, h6 { color: #005030; }
td, p, .excerpt { font-size: .85em; line-height: 1.35em; }
td { vertical-align: top; }
th { font-size:1em; }
a { color: #00aeef; }
a:hover { text-decoration: none; }
p { margin-bottom:1em; line-height:1.25em;}
strong, b { font-weight:bold; }

h1.entry-title,
.page > article h1,
h2 { font-size: 1.5em; }
#header, #container, #carousel p, section, #footer { 
    z-index:6000;
    position:relative;
}

h1.entry-title { padding-bottom: .5em; }
h1.entry-title a { text-decoration:none; color: #005030; }
h1.entry-title a:hover { text-decoration:underline; }
.entry-content { padding-top: 1em; }

h3.archive,
.widget-title { padding-bottom: .75em; }

#header { 
    background: url(images/bg-main-nav.png) repeat-x 0 0 transparent;
    height: 155px;
    min-width: 1000px;
}

#header h1 a { 
    float: left; 
    width: 217px;
    height: 127px;
    background: url(images/logo@2x.png) no-repeat 0 0 transparent;
    background-size: 217px 127px;
    text-indent:-5000px;
    overflow:hidden;
    margin:0;
    padding:0;
    position:relative;
    top: -22px;
    left: -5px;
}
nav ul { padding-right: 10px; }
nav ul li { display: inline; }
nav a { 
    text-decoration:none;
    color: #fff;
    zoom: 1;
	filter: alpha(opacity=90);
	opacity: 0.9;
}
nav li.current_page_item a,
nav a:hover { 
	filter: alpha(opacity=1);
	opacity: 1;
}
#alt-menu {
    background: url(images/bg-alt-nav.png) repeat 0 0 transparent;
    font-size: .85em;
    padding: 10px 0;
    min-width: 1000px;
}
#alt-menu li { margin-left: 30px; }
#main-menu {
    text-transform:uppercase;
    font-size: 1.3em;
    padding-top: 36px;
}
#main-menu li { margin-left: 4.5%; }
#main-menu li:first-child { margin-left: 0; }
#main-menu li a { 
    text-shadow: 0 0 5px #000;
}

nav { text-align:right; }

.tagline {
    max-width: 1000px;
    text-indent:10px;
    margin: 0 auto;
    text-align: left;
    display: block;
    margin-bottom: -1em;
    color: rgba(255, 255, 255, 0.3);
}

.page #content,
.single #content,
.archive #content { padding: 20px 0; margin-top: 3em; }

#page-title { 
    font-size: 2.2em;
    position: relative;
    top: -2.2em;
    margin-bottom: -1.45em;
    text-shadow: 0 0 10px #000;
    color: #fff;
    padding-left: 20px;
}

#carousel {
    clear: both;
    height: 160px;
}

#carousel div.slide {
    padding: 1.9% 1% 70px;
    max-width: 60.9%;
    overflow:auto;
    display:none;
}

#carousel div.slide:first-child {
    display:block;
}

#carousel p {
    position: absolute;
    top: 190px;
    max-width: 55%;
    display: inline-block;
    clear: both;
    float:left;
    padding: 5px;
    font-size: 2.2em;
    background: url(images/bg-alt-nav.png) repeat 0 0 transparent;
    width: auto;
    color: #fff;
    margin-bottom: 2px;
}

#carousel .date {
    font-size: .85em;
    top: 160px;
}

#carousel a { text-decoration: none; color: #fff; }
.carousel-nav { background:#fff; z-index:6001; position: relative; display:none; }

#container { 
    clear:both;
    background: url(images/bg-carousel-image.png) repeat 0 0 transparent;
    min-width: 1000px;
}

#container .wrapper { background: url(images/bg-content.png) repeat 0 0 transparent; }

.page-template-news-php #container .wrapper,
.page-template-ladders-fixtures-php #container .wrapper,
.page-template-fixtures-php #container .wrapper,
.page-template-results-php #container .wrapper,
.single #container .wrapper,
.archive #container .wrapper { margin-top:3em; }
#news-title {
    font-size: 2.2em;
    position: relative;
    text-shadow: 0 0 10px #000;
    color: #fff;
    margin-bottom: -2.35em;
    top: -3.55em;
    padding-left: 20px;
}
#news-title.fixtures { margin-bottom: -2.85em; }
#content .content,
#content >article .entry-content { padding: 0 20px; }
body.home.page #content .content { padding: 10px 0; }

#nav-below { 
    border-top: 1px solid #ddd;
    padding-top: 16px;
    font-family: 'Open Sans', arial, helvetica, sans-serif; 
    text-align:left;
    font-size:.75em;
    height:50px;
    margin-top: 10px;
}
#nav-below div {
    float:left;
    width:45%;
    padding-right: 5%;
}
#nav-below div.nav-next {
    text-align:right;
    padding-left: 5%;
    padding-right: 0;
}

#nav-below a {
    color: #00aeef;
    text-decoration:underline;
}

#nav-below a:hover { text-decoration:none; } 

.bg,
#carousel .attachment-post-thumbnail {
	width: 100%;
    min-width:1000px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5000;
}

body.home.page article {
    float: left;
    padding: 20px 1% 0 3.5%;
    overflow:auto;
}

body.home.page article .thumb {
    margin: 2px 1em 5px 0;
    width: 120px;
    overflow: hidden;
    height: 90px;
    display: block;
    vertical-align: middle;
}

body.home.page article:nth-child(even) {
    clear: both;
}

body.home.page article h2 { font-size: 1em; margin-bottom: .5em; }
body.home.page article h2 a { text-decoration:none; color: #000; }
body.home.page article h2 a:hover { text-decoration:underline; color: #005030; }
.entry-date,
p.date { color: #666;
font-size: .75em;
margin-bottom: .5em;
    padding-top: 5px;
display:block;}
article.post,
.listing { padding-bottom: 30px; }

body.home.page #content { padding: 0; margin-top: 0; }

body.home.page .content {
    padding:10px 0;
}

body.home.page .content h2.news-header {
    padding-left: 3.5%;
    width:96.5%;
    display:block;
    padding-top:10px;
}

#sidebar .content {
    padding-left: 20px;   
    padding-right: 20px;   
}

.slot {
    padding-bottom: 20px;   
}

#ladder .title { padding-bottom: 16px; }
#ladder h2 { float: left; }
#ladder th, #ladder td { padding: 0.25rem 0.1rem; }
#ladder td { text-align: right; }
#ladder hr { display: none; }

.juniors {
    overflow:auto;   
}
.juniors div {
    display:block;
    float:left;
    width:50%;
    text-align:center;
}

.juniors h2,
h2.widget-title { padding-bottom: 16px; font-size: 1em; }
#primary { padding-top: 10px; }

.page-template-home-php .juniors h2,
.page-template-home-php h2.widget-title { font-size: 1.5em; }

.widget-container ul {
    padding-left: 16px;  
}
.widget-container ul li {
    font-size: .85em;
    line-height: 1.25em;
    list-style: square;
}

.thumb {
    float: left;
    margin: 0 1em 1em 0;
    border: 5px solid #efefef;
}

.sponsors {
    background:#efefef;
    display:block;
    padding: 20px;
    clear:both;
    overflow: auto;
}

.sponsors h2 {
    padding-bottom:16px;
}

section.sponsors > p > span {
    display: block;
    width: 25%;
    float: left;
    padding-bottom: 10px;
}

#footer {
    background:#000;
}

#footer .wrapper {   
    padding: 20px 0;
    background:#333;
    color: #666;
}

#footer .wrapper div {
    padding: 0 20px;   
}

#footer p { 
    padding-top: 1em;
    font-size: .75em;
}

/* LADDERS */

.homeLadder {
    display: none;   
}

.homeLadder table.ladder { margin-top: 0; }

table.ladder { margin-top: 20px; }

.divider td {
    height: 0;
    overflow: hidden;
    padding: 0 0;
}



/*  TABLES ====================== */
table {
    width: 100%;
  /* margin-bottom: 1.11111rem;*/ }
  table thead, table tfoot {
    /* background: whitesmoke; */ }
    table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td {
      padding: 0.25rem 0.3rem 0.3rem;
      font-size: 0.77778rem;
      font-weight: bold;
      color: #222222;
      text-align: left; }
  table tr th, table tr td {
    padding: 0.25rem 0.3rem;
    font-size: 0.77778rem;
    color: #222222;
    border-bottom: 1px solid #ddd; }
  table tr.even, table tr.alt, table tr:nth-of-type(even) {
    background: #f9f9f9; }
  table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td {
    display: table-cell;
    line-height: 1rem; }
.page th { text-align:left; }


/*  FIXTURES   ==================================================================== */
#fixtureNav { padding-top: 10px; }
#fixtureNav h2 { padding-bottom: .75em; }
#fixtureNav h3 { padding-bottom: .25em; }

.round {
    padding: 1em 0;   
}
.round h1 { padding-bottom: .5em; }
.round td { width: 25%; }


/*  GRID COLUMN SETUP   ==================================================================== */

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}

.col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */


/*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 480 PIXELS */

@media only screen and (max-width: 480px) {
	.col { 
		margin: 1% 0 1% 0%;
	}
}

/*  GRID OF EIGHT   ============================================================================= */

.span_8_of_8 {
	width: 100%;
}

.span_7_of_8 {
	width: 87.3%; 
}

.span_6_of_8 {
	width: 74.6%; 
}

.span_5_of_8 {
	width: 61.9%; 
}

.span_4_of_8 {
	width: 49.2%; 
}

.span_3_of_8 {
	width: 36.5%;
}

.span_2_of_8 {
	width: 23.8%; 
}

.span_1_of_8 {
	width: 11.1%; 
}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
	.span_8_of_8 {
		width: 100%; 
	}
	.span_7_of_8 {
		width: 100%; 
	}
	.span_6_of_8 {
		width: 100%; 
	}
	.span_5_of_8 {
		width: 100%; 
	}
	.span_4_of_8 {
		width: 100%; 
	}
	.span_3_of_8 {
		width: 100%; 
	}
	.span_2_of_8 {
		width: 100%; 
	}
	.span_1_of_8 {
		width: 100%; 
	}
}


/* DD SLIDER ============================== */
@CHARSET "UTF-8";
.sbHolder{
	background-color: #005030;
	border: solid 1px #515151;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
	height: 24px;
	position: relative;
	width: 150px;
    left: 170px;
    top: -2px;
}
.sbHolder:focus .sbSelector{
	
}
.sbSelector{
	display: block;
	height: 24px;
	left: 0;
	line-height: 24px;
	outline: none;
	overflow: hidden;
	position: absolute;
	text-indent: 10px;
	top: 0;
	width: 120px;
}
.sbSelector:link, .sbSelector:visited, .sbSelector:hover{
	color: #EBB52D;
	outline: none;
	text-decoration: none;
}
.sbToggle{
	background: url(images/select-icons.png) 0 -120px no-repeat;
	display: block;
	height: 24px;
	outline: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
}
.sbToggle:hover{
	background: url(images/select-icons.png) 0 -171px no-repeat;
}
.sbToggleOpen{
	background: url(images/select-icons.png) 0 -20px no-repeat;
}
.sbToggleOpen:hover{
	background: url(images/select-icons.png) 0 -70px no-repeat;
}
.sbHolderDisabled{
	background-color: #3C3C3C;
	border: solid 1px #515151;
}
.sbHolderDisabled .sbHolder{
	
}
.sbHolderDisabled .sbToggle{
	
}
.sbOptions{
	background-color: #005030;
	border: solid 1px #515151;
	list-style: none;
	left: -1px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 24px;
	width: 150px;
	z-index: 1;
	overflow-y: auto;
}
.sbOptions li{
	padding: 0 7px;
}
.sbOptions a{
	border-bottom: dotted 1px #515151;
	display: block;
	outline: none;
	padding: 7px 0 7px 3px;
}
.sbOptions a:link, .sbOptions a:visited{
	color: #ddd;
	text-decoration: none;
}
.sbOptions a:hover,
.sbOptions a:focus,
.sbOptions a.sbFocus{
	color: #EBB52D;
}
.sbOptions li.last a{
	border-bottom: none;
}
.sbOptions .sbDisabled{
	border-bottom: dotted 1px #515151;
	color: #999;
	display: block;
	padding: 7px 0 7px 3px;
}
.sbOptions .sbGroup{
	border-bottom: dotted 1px #515151;
	color: #EBB52D;
	display: block;
	font-weight: bold;
	padding: 7px 0 7px 3px;
}
.sbOptions .sbSub{
	padding-left: 17px;
}


@media print {
  	#header,
	#sidebar,
	img.bg { display: none; }

	#header h1 { display: block; }
}