﻿/*
—————————————————————
Global
—————————————————————
*/
html {
	background:#f2f2f2;
}
body {
	font:14px/1.7 Lato, Arial, sans-serif;
	color:#333;
	-webkit-text-size-adjust:none;
}
.wrapper {
	max-width:1160px;
	margin:auto;
	position:relative;
	background:#fff;
}
#content {
	padding:70px 80px;
}
p {
	margin-bottom:1em;
}
h2, h3 {
	font-size:2.5em;
	line-height:1.2;
	font-weight:bold;
	margin-bottom:0.4em;
}
h2:not(:first-child) {
	margin-top:0.8em;
}
h2.table-heading {
	margin:0;
	display:inline-block;
	color:#fff;
	background:#4babef;
	font-size:20px;
	padding:3px 14px;
	margin-top:8px;
	position:relative;
	top:1px;
	border-radius:4px 4px 0 0;
}
h3 {
	font-size:1.3em;
	margin-bottom:0.5em;
	margin-top:1.2em;
}
h3:first-child {
	margin-top:0;
}
strong {
	font-weight:bold;
}
a {
	text-decoration:none;
	color:#4babef;
	transition:color 200ms linear;
	border-bottom:1px solid #ddd;
}
a:hover {
	border-color:#4babef;
}
.back-top {
	width:36px; 
	height:35px;
	background:rgba(0,0,0,0.35);
	position:fixed;
	top:15px; right:15px;
	z-index:3;
	border:0;
	display:none;
}
.back-top img {
	width:36px;
	height:35px;
}
.show-mobile {
	display:none;
}
@media only screen and (min-width: 1024px) {
	.back-top {
		right:10%;
	}
}

/*
—————————————————————
Header
—————————————————————
*/
#header {
	height:140px;
	position:relative;
	z-index:1;
}
#logo {
	display:block;
	width:200px;
	height:77px;
	background:url(/Images/logo.png) no-repeat;
	background-size:200px 77px;
	position:absolute;
	top:38px; left:80px;
	border:0;
}
#logo strong {
	display:none;
}
#nav {
	position:absolute;
	top:50px; right:80px;
	margin-right:-0.7em;
	font-size:21px;
}
#nav li {
	float:left;
	position:relative;
}
#nav a {
	display:block;
	color:#bbb;
	padding:0.3em 0.7em;
	font-weight:bold;
	border:0;
}
#nav li.active a:not(.subnav) {
	color:#4babef;
}
#nav a:hover {
	color:#333;
}
#nav ul {
	opacity:0;
	max-height:0;
	position:absolute;
	top:40px; left:0;
	width:190px;
	font-size:15px;
	background:#333;
	border-radius:4px;
	overflow:hidden;
	transition:opacity 200ms, max-height 200ms;
}
#nav ul li {
	float:none;
}
#nav li:hover ul {
	opacity:1;
	max-height:500px;
}
#nav ul a {
	padding:0.4em 0.625em;
	border-bottom:1px solid #555;
}
#nav ul li:last-child a {
	border:0;
}
#nav ul a:hover {
	color:#fff;
}
#nav ul a:active {
	background:#444;
}
#hamburger, #nav #close {
	display:none;
}

/*
—————————————————————
Content
—————————————————————
*/
.banner {
	height:325px;
	margin:-70px -80px 70px -80px;
	background-color:#ddd;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	position:relative;
	box-sizing:border-box;
	padding:67px 80px 0 80px;
}
.banner h1, .banner h2 {
	float:left;
	color:#fff;
	background:rgba(0,0,0,0.6);
}
.banner h1 {
	font-size:64px;
	line-height:1;
	font-weight:bold;
	margin-bottom:12px;
	padding:20px;
	letter-spacing:-1px;
}
.banner h1.single {
	margin-top:43px;
}
.banner h2 {
	clear:left;
	font-size:36px;
	line-height:1.2;
	padding:16px 20px;
	margin:0;
}

/*
——————————————————————
Lists
——————————————————————
*/
ul.bullet, ol {
	margin-bottom:1em;
}
ul.bullet li {
	padding-left:15px;
	background:url(/Images/bullet-blue.gif) 1px 0.62em no-repeat;
	margin-bottom:3px;
}
ol {
	margin:0 0 1em -.6em;
	padding-left:28px;
}
ol li {
	list-style:decimal outside;
	margin-bottom:1em;
}
ol li ul {
	margin-top:10px;
}
ol li ul li {
	margin-bottom:0;
	list-style:none;
}

/*
—————————————————————
Year Selector
—————————————————————
*/
#years {
	float:right;
	height:50px;
}
#years li {
	float:left;
	margin-left:10px;
}
#years a {
	display:block;
	padding:0.3em 0.7em;
	color:#888;
	background:#f2f2f2;
	border:0;
	border-radius:4px;
}
#years a:hover {
	background:#e8e8e8;
}
#years a:active {
	background:#e0e0e0;
}
#years li.current a {
	color:#fff;
	background:#4babef;
}

/*
—————————————————————
Home Page
—————————————————————
*/
#carousel {
	height:535px;
	background-image:url(/Images/Banners/carousel-updated2.jpg);
	background-position:bottom center;
	background-repeat:no-repeat;
	margin:-70px -80px 70px -80px;
	position:relative;
}
#carousel li {
	position:absolute;
	top:0; left:0;
	width:100%;
	height:535px;
	box-sizing:border-box;
	padding:130px 105px 0 105px;
	display:none;
}
#carousel li.current {
	display:block;
}
#carousel h2,
#carousel h3 {
	float:left;
	color:#fff;
	background:rgba(0,0,0,0.3);
	font-size:56px;
	line-height:1;
	padding:20px;
	margin:0 0 18px 0;
}
#carousel h3 {
	clear:left;
	font-size:25px;
	line-height:1.4;
	font-weight:normal;
	padding:16px 20px;
}
#carousel .image {
	position:absolute;
	width:500px;
	height:495px;
	top:20px; right:0;
	background-position:center;
	background-repeat:no-repeat;
	background-size:contain;
}
#carousel a {
	float:left;
	clear:left;
	width:150px;
	color:#333;
	background:#fff;
	border-radius:4px;
	padding:3px 12px;
	transition:color 200ms linear;
	font-size:18px;
	font-weight:bold;
	border:0;
	text-align:center;
	margin:0 0.7em 0.5em 0;
}
#carousel a:hover {
	color:#4babef;
}
#carousel .arrow {
	position:absolute;
	top:50%;
	z-index:100;
	display:block;
	margin-top:-37px;
	width:35px;
	height:75px;
	border-radius:3px;
	color:#fff;
	background:rgba(0,0,0,0.2);
	text-align:center;
	line-height:75px;
	cursor:pointer;
	opacity:0;
	transition:opacity 300ms ease, background-color 300ms ease;
	font-family:FontAwesome;
}
#carousel:hover .arrow {
	opacity:1;
}
#carousel .left {
	left:20px;
}
#carousel .right {
	right:20px;
}
#carousel .left:before {
	content:'\f053';
}
#carousel .right:before {
	right:20px;
	content:'\f054';
}
#carousel .arrow:hover {
	background-color:rgba(0,0,0,0.5);
}
#drivers {
	width:103%;
	margin-right:-4%;
}
#drivers li {
	float:left;
	width:29.33%;
	margin-right:4%;
	padding-right:60px;
	box-sizing:border-box;
}
#drivers h2 {
	font-weight:normal;
	font-size:30px;
}
#drivers p {
	min-height:3.2em;
	font-size:1.2em;
	line-height:1.5;
}
#drivers a {
	display:block;
	width:140px;
	color:#fff;
	background:#4babef;
	border-radius:4px;
	padding:3px 12px;
	transition:background-color 200ms linear;
	font-size:1.1em;
	border:0;
	text-align:center;
	margin-bottom:10px;
}
#drivers a:hover {
	background:#408fda;
}
#drivers a:active {
	background:#408fda;
}

/*
—————————————————————
About Page
—————————————————————
*/
.banner-about {
	background-image:url(/Images/Banners/about.jpg);
}
.content h2 {
	margin:1.2em 0 0.7em 0;
}
.content h2:first-child {
	margin-top:0;
}
.content img.right {
	float:right;
	margin:6px 0 25px 35px;
	max-width:50%;
}

/*
—————————————————————
Schools Page
—————————————————————
*/
.banner-schools {
	background-image:url(/Images/Banners/schools.jpg);
}
#schools li {
	margin-bottom:40px;
}
#schools a {
	display:block;
	position:relative;
	min-height:125px;
	padding-left:120px;
	color:inherit;
	border:0;
}
#schools h2 {
	margin-bottom:0.15em;
}
#schools img {
	width:100px;
	height:125px;
	position:absolute;
	top:0; left:0;
	background:#ddd;
}
#schools span {
	display:inline-block;
	color:#fff;
	background:#ccc;
	border-radius:4px;
	padding:3px 12px;
	transition:background-color 200ms linear;
	font-size:1.1em;
}
#schools a:hover span {
	background:#4babef;
}
#schools a:active span {
	background:#408fda;
}
#crest {
	float:right;
	margin:-50px 0 20px 30px;
	width:200px;
}
#crest img {
	display:block;
	margin-bottom:25px;
	width:200px;
	height:250px;
}
#crest a {
	display:block;
	margin:auto;
	width:120px;
	color:#fff;
	background:#ccc;
	border-radius:4px;
	padding:3px 12px;
	transition:background-color 200ms linear;
	font-size:1.1em;
	text-shadow:1px 1px 3px rgba(0,0,0,0.2);
	border:0;
	text-align:center;
}
#crest a:hover {
	background:#4babef;
}
#crest a:active {
	background:#408fda;
}
#tabs {
	margin-top:2.5em;
	clear:both;
}
#tabs li {
	float:left;
	margin-right:6px;
}
#tabs a {
	display:block;
	padding:0 12px;
	color:#555;
	background:#e5e5e5;
	line-height:32px;
	border-radius:4px 4px 0 0;
	border:0;
	transition:none;
}
#tabs a:hover {
	background:#e8e8e8;
}
#tabs a:active {
	background:#e0e0e0;
}
#tabs li.active a {
	color:#fff;
	background:#4babef;
}
#tab-content-wrapper {
	padding:30px;
	border:1px solid #e5e5e5;
	border-radius:0 4px 4px 4px;
	border-bottom-width:6px;
	margin-top:-1px;
}
.tab-content {
	display:none;
}
.tab-content-active {
	display:block;
}
.tab-content dl {
	margin-bottom:1em;
}
.tab-content dt {
	float:left;
	clear:left;
	margin-right:4px;
	font-weight:bold;
}
.sponsor {
	display:inline-block;
	margin-top:15px;
	border:0;
}
.sponsor img {
	max-width:300px;
	max-height:300px;
}
.person {
	position:relative;
	border-bottom:1px solid #ddd;
	padding:0 220px 20px 0;
	margin-bottom:20px;
}
.has-photo {
	min-height:260px;
}
.person:last-child {
	padding-bottom:0;
	margin-bottom:0;
	border:0;
}
.person p:last-child,
.person ul.bullet:last-child {
	margin-bottom:0;
}
.person h3 {
	margin-bottom:0.7em;
}
.person h3 span {
	font-weight:normal;
}
.person h3 span:before {
	color:#ccc;
	content:'/ ';
	margin:0 0.1em;
}
.person img {
	position:absolute;
	top:0; right:0;
	width:195px;
	height:260px;
	border-radius:4px;
}
 
/*
—————————————————————
Draw & Results
—————————————————————
*/
.banner-draw {
	background-image:url(/Images/Banners/draw-updated.jpg);
}
.filter {
	float:left;
	background:#eee;
	padding:6px 10px;
	border-radius:4px;
	color:#999;
	margin:-6px 0 20px 0;
}
.filter select {
	margin:0 4px;
	padding:3px;
	display:inline-block;
	border:1px solid #ccc;
	outline:none;
}
.filter input {
	display:inline-block;
	border:0;
	color:#fff;
	background:#4babef;
	border-radius:4px;
	width:70px;
	height:26px;
	outline:none;
	cursor:pointer;
	-webkit-appearance:none;
}
.filter input:hover {
	background:#44a5ea;
}
.filter input:active {
	background:#359ae1;
}
.no-items {
	clear:both;
}
.draw {
	width:100%;
	border:0.05em solid #cbcbcb;
	margin-bottom:1em;
	background:#fff;
	font-size:0.93em;
}
.draw th {
	background:#e0e0e0;
	font-weight:bold;
}
.draw th,
.draw td {
	border-bottom:0.05em solid #cbcbcb;
	padding:6px 12px;
}
.draw td.date  { width:145px }
.draw td.time  { width:65px }
.draw td.team  { width:210px }
.draw td.score { width:80px; text-align:center }
.draw td.venue { width:270px }

img.shield {
	width:15px;
	height:18px;
	position:relative;
	top:3px;
}
.draw img.shield {
	 left:3px;
}

/*
—————————————————————
Standings
—————————————————————
*/
.banner-standings {
	background-image:url(/Images/Banners/standings-updated.jpg);
}
#standings {
	width:100%;
	border:1px solid #cbcbcb;
	margin-bottom:1em;
	font-size:0.93em;
}
#standings th {
	background:#e0e0e0;
	font-weight:bold;
}
#standings th,
#standings td {
	border-bottom:0.05em solid #cbcbcb;
	padding:6px 12px;
}
#standings tr:nth-child(2n) td {
	background:#f2f2f2;
}
#standings abbr {
	text-decoration:none;
	border-bottom:1px dotted #333;
	cursor:help;
}

/*
—————————————————————
MVP Page
—————————————————————
*/
.banner-mvp {
	background-image:url(/Images/Banners/stpauls.jpg);
}

/*
—————————————————————
Contact Page
—————————————————————
*/
.banner-contact {
	background-image:url(/Images/Banners/contact.jpg);
}
#contacts li span {
	display:block;
}
#contacts li {
	border:1px solid #cbcbcb;
	padding:20px;
	margin-bottom:-1px;
}
#contacts h3 {
	margin-bottom:0.4em;
}

/*
—————————————————————
Footer
—————————————————————
*/
#footer {
	color:#aaa;
	background:#2b2b2b;
	padding:30px 80px;
}