/*
Badger Sports Park site large-screen CSS
Author: Ben Anderson
Copyright (C) Badger Boys 2 LLC
*/

/* Common to everything */
body {
	background-color: #000;
	background-image: url(img/gradient-bg.png);
	background-position: top left;
	background-repeat: repeat-x;
	height: 100%;
}

* {
	font-family: sans-serif;
	padding: 0;
	margin: 0;
	border-width: 0;
}

a:link, a:active {
	color: #CC0000;
	text-decoration: underline;
}

a:visited {
	color: #CC0000;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Top banner */
h1.topbanner {
	margin-left: auto;
	margin-right: auto;
	max-width: 1014px;
	height: 84px;
	background-image: url(img/banner.jpg);
}

h1.topbanner span {
	display: none;
}

/* Navigation */
ul.nav {
	margin-left: auto;
	margin-right: auto;
	max-width: 1014px;
	height: 27px;
	overflow: hidden;
	background-color: #000;
}

.nav a:link, .nav a:visited {
	color: #FFF;
	text-decoration: none;
}

.nav li {
	list-style-type: none;
	display: inline;
	margin-left: 3px;
	background-color: #000000;
}

.nav li a {
	position: relative;
	top: -9px;
	z-index: 1;
	font-family: sans-serif;
	font-size: 22px;
	background-color: #999999;
	padding-left: 6px;
	padding-bottom: 2px;
	background-image: url(img/tab1inactiveleft.png);
	background-position: top left;
	background-repeat: no-repeat;
}

.nav li span {
	line-height: 45px;
	padding-right: 6px;
	background-image: url(img/tab1inactiveright.png);
	background-position: top right;
	background-repeat: no-repeat;
}

div.bannerbar {
	width: 984px;
	height: 100px;
	overflow: hidden;
}

div.bannerbar a img {
	padding: 0;
	margin: 0;
	border-width: 0;
}

.nav li.current_page_item a, .nav li.current_page_ancestor a {
	background-color: #CCCCCC;
	background-image: url(img/tab1activeleft.png);
}

.nav li.current_page_item span, .nav li.current_page_ancestor span {
	background-image: url(img/tab1activeright.png);
}

li.current_page_item a:link, li.current_page_item a:visited, li.current_page_ancestor a:link, li.current_page_ancestor a:visited, li.current_page_parent a:link, li.current_page_parent a:visited {
	color: #000;
}

ul.subnav {
	position: relative;
	z-index: 2;
	background-color: #CCCCCC;
}

.subnav li {
	background-color:  #CCCCCC;
}

.subnav li a {
	position: relative;
	font-size: 19px;
	z-index: 3;
	background-color: #FF0000;
	background-image: url(img/tab2inactiveleft.png);
}

.subnav li span {
	background-image: url(img/tab2inactiveright.png);
}

/* When in blog, weblog tab has current_page_parent but NOT current_page_ancestor.  Dunno why. */
/* And then when in a specific page, Home has NEITHER... Not sure how to handle that. */
.subnav li.current_page_item a, .subnav li.current_page_parent a {
	background-color: #F2F2F2;
	background-image: url(img/tab2activeleft.png);
}

.subnav li.current_page_item span, .subnav li.current_page_parent span {
	background-image: url(img/tab2activeright.png);
}

/* Content Pane */
div.content {
	overflow: hidden; /* http://quirksmode.org/css/clearing.html */
	position: relative;
	z-index: 4;
	max-width: 984px;
	padding: 15px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
	background-color:#F2F2F2;
}

div.content p {
	margin-bottom: 1em;
}

div.content h2 {
	color: #CC0000;
	text-transform: uppercase;
}

div.content h3 {
	margin-top: 1em;
	font-size: 24px; /* IE6/7 use a much larger font size for h3s by default */
	font-variant: small-caps;
	color: #CC0000;
}

h4 {
	font-size: 18px;
	font-weight: bold;
	font-variant: small-caps;
	color: #CC0000;
}

div.content li {
	margin-left: 30px;
}

div.content .hours {
	float: right;
	clear: right;
	width: 24%;
	font-size: 16px;
	line-height: 1.5;
	text-align: right;
}

div.content .newsnotes {
	font-size: 13px;
	padding: 5px;
	line-height: 22px;
	background-color: #CCCCCC;
	width: 24%;
	float: right;
}

div.content .newsnotes h3 {
	margin-top: 0;
}

.newsnotes hr {
	margin-top: 0;
	margin-bottom: 0;
	clear: none;
}

p.quote {
	margin-left: 10%;
	margin-right: 10%;
	font-style: italic;
}

p.postquote {
	text-align: right;
}

div.columncontainer {
	overflow: hidden;
}

div.leftcolumn {
	float: left;
	width: 50%;
}

div.rightcolumn {
	float: left;
	width: 50%;
}

table {
	border-collapse: collapse;
}

td {
	border-color: #666666;
	border-style: dotted;
	border-bottom-width: 1px;
}

p.birthdayhead {
	margin-left: 10%;
	margin-right: 10%;
	background-color: #CC0000;
	color: #FFF;
	text-align: center;
}

div.toppings {
	font-size: small;
	font-style: italic;
}

div.birthdayblurb {
	margin-left: 10%;
	margin-right: 10%;
}

hr {
	clear: both; /* IE6 is dumb. */
	color: #666666; /* For IE6 */
	background-color: #666666;
	height: 3px;
	margin-top: 10px;
	margin-bottom: 10px;
}

div.content img {
	margin: 8px;
	padding: 8px;
	border-width: 1px;
	border-style: solid;
	border-color: #666666
}

img.noborder, div.content img.noborder /* Override "div.content img" */ {
	margin: 0;
	padding: 0;
	border-width: 0;
}

/* Slideshow padding/border/margin workaround */
div.gallerylayer a img {
	padding: 0 0 0 0;
}

div.sscontainer {
	max-width: 720px;
	overflow: auto;
}

div.bannerbar {
	font-size: 5px; /* IE 6-8 have a slightly bigger space */
}

/* Really, WP? What's wrong with style="float: right"? */
img.alignright {
	float: right;
}

img.alignleft {
	float: left;
}

img.aligncenter, div.content img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

form p input, form p textarea {
	border-width: 1px;
	border-style: solid;
	border-color: #CC0000;
}

form p input#submit {
	cursor: pointer;
}

/* Comments */
ol.commentlist, ul.children {
	list-style: none;
}

div.comment-body {
	width: 338px;
}

div.commentfoot {
	margin-top: -0.6em;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #666666;
	font-size: 10px;
}

/* Footer */
div.footer {
	max-width: 1014px;
	margin-left: auto;
	margin-right: auto;
	background-color: #000;
	color: #FFF;
	height: 100px;
	clear: both;
}

div.footleft {
	height: 100px;
	width: 370px;
	float: left;
}

div.footleft a img {
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 18px;
}

.page_item {
	background-color: #FFF;
}

div.footcenter {
	height: 100px;
	text-align: center;
	display: table-cell;
	vertical-align: bottom;
	font-size: xx-small;
}

.footcenter a:link, .footcenter a:hover, .footcenter a:visited {
	color: #B3B3B3;
}

div.footright {
	width: 370px;
	padding-top: 5px;
	padding-right: 5px;
	display: inline-block;
	text-align: right;
	float: right;
}
