* {margin:0; padding: 0;}

html, body {
	position: relative;
	margin: 0 auto -125px;
	font-family: Verdana, Geneva, sans-serif; 
	font-size: .95em; 
	text-align: left; 
	height: 100%; 
	width: 100%; 
	max-width: 975px;
}

@font-face {font-family: 'Covington'; src: url('../../images/fonts/Coving01.eot');  src: local('Covington'), url('../../images/fonts/Coving01.ttf') format('truetype'), url('../../images/fonts/Coving01.svg') format('svg'); }

/* --------- links --------- */
.adminLinks {
	margin: 5px auto 0 auto;
	padding: 0;
	font-size: .7em;
	font-weight: normal;
	width: 100%;
	max-width: 975px;
	position: relative;
	text-align: center;
}

a:link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	text-decoration: none;
	color: #060;
}

a:hover {color: #333;}
a:visited {color: #060;}

.wrapper {
	min-height: 100%;
	margin: 0 auto;
}

/* ---------- header ---------- */
header {
	margin: 0;
	padding: 0;
	max-width: 975px; 
	background-repeat: no-repeat;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	background-size: contain;
	background-position: center;
}

header:after {
	content: " ";
	display: block; 
	width: 100%; 
}

.indexLoggedInNavigation {
	height: 150px;
	width: 300px;
	margin: -250px 0 0 200px;
}

.indexLoggedInNavigation ul li {
	list-style-type: none;
}

.indexLoggedInNavigation ul li a {
	font-family: Covington;
	font-size: 1.25em;
	list-style-type: none;
}

/* ---------- navigation ----------*/
nav  {
	position: relative; 
	display: block;
	height: 25px; 
	clear: both;
	font-size: 1.3em;
	padding: 0;
	margin: 0;
}

nav ul  {
	padding: 0;
	margin: 0;
}

nav ul li {
	font-family: Verdana, Geneva, sans-serif; 
	list-style-type: none;
	text-align: center;
	float: left;
	width: 15%; 
	padding: 0 .5%;
}

nav a, nav a:hover {
	font-family: Covington !important;
}

h1 {
	font-size: 2em;
	width: 100%;
	clear: both;
	padding: 0;
	margin: 20px 0 5px 0;
	color: #060;
	font-family: Covington;
	text-align: left;
}

h2 {
	font-size: 1.5em;
	padding: 15px 0 5px 0;
	margin: 0;
	color: #090;
	font-family: Covington;
	text-align: left;
	clear: both;
}

h3 {
	font-size: 1.2em;
	padding: 0;
	margin: 15px 0 5px 0;
	color:#3C3;
	font-family:Covington;
	text-align: left;
}

h4 {
	font-size: 1em;
	padding: 5px 0;
	margin: 0;
	color: #000;
	font-family: Covington;
	text-align: left;
}

span.highlight {
	color: #060;
}

/* ---------- section ---------- */
section {
	display: block;
	min-height: 600px;
	width: 100%;
	max-width: 975px;
	padding: 0 5px;
}

blockquote {
	margin: 2px;
}

article.register {
	position: relative;
	width: 100%;
	max-width: 975px;
	padding: 0 10px;
	clear: both;
}

article.admin {
	position: relative;
	width: 100%;
	max-width: 975px;
	clear: both;
	padding: 0 5px;
}
/* ---------- footer ---------- */
footer {
	position: relative; 
	max-width: 975px; 
	height: 125px;
	clear: both;
	/*position: fixed; 
	bottom: 0;
	width: 100%;
	max-width: 975px;
	height: 125px;
	clear: both;   */
	background-image:url(../../images/poolFooter.jpg); 
	background-repeat:no-repeat;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
	background-position:center;
}

footer ul {
	clear: both;
	padding: 50px 0 0 0;
}

footer ul li {
	list-style-type: none;
	float: left;
	width: 15%; 
	padding: 0 .5%;
	text-align: center;
}

p#footerCR {
	display: block;
	clear: both;
	font-size: .8em;
	text-align: center;
	padding-top: 10px;
}

#footerCR a {
	color:#330;
}
#footerCR a:hover {
	color:#663;
}

footer, .push {
	height: 125px;
}

/* ---------- images ---------- */
img.gameLogos {
	display: block;
	max-width: 100%;
    height: auto;
	min-height: 90px;
}

img#header {
	display: block;
	max-width: 100%;
    height: auto;
}

img#header-mini {
	display: none;
}

/* ---------- tables ---------- */
table { 
  width: 100%; 
  border-collapse: collapse;
  border: thin solid #000;
}


tr:nth-of-type(odd) { 
  background: #CFC;
}

th { 
  background: #030; 
  color: white; 
  font-weight: bold; 
}

td, th { 
  padding: 6px; 
  text-align: left; 
}

.table-week {
	font-weight: bold;
	color: #FFF;
	background-color: #060;
}

/* --------- button stuff --------- */
label {
	font-weight: bold;
	width: 100%;
	max-width: 300px;
	display: block;
	cler: both;
	margin: 10px 0 0 0;
	padding: 0;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"] {padding:.35em; border: 1px solid #093; border-radius: 5px; font-size: 1.1em;}
select {padding:.35em; border: 1px solid #093; border-radius: 5px; font-size: 1.1em;}
select option {padding: .35em; }

input[type=submit] {
	display: block;
	width: 50%;
	max-width: 475px;
	margin: 15px 2px 0 2px;
	background-color: #093;
	color: #FFF;
	/*float: left;*/
	border-radius: 5px;
	padding:.35em;
	font-family: Covington;
	font-size: 1.1em;
}

input[type=submit].submitGames, input[type=submit].deleteGames {
	float:left;
}

input[type=submit]:hover {
	display: block;
	width: 50%;
	max-width: 475px;
	margin: 15px 2px 0 2px;
	background-color: #0C3;
	color: #FFF;
	float: left;
}

input[type=reset] {
	display: block;
	width: 50%;
	max-width: 475px;
	margin: 15px 2px 0 2px;
	background-color: #0F6;
	color: #000;
	float: left;
	border-radius: 5px;
	padding:.35em;
	font-family: Covington;
	font-size: 1.1em;
}

input[type=reset]:hover {
	display: block;
	width: 50%;
	max-width: 475px;
	margin: 15px 2px 0 2px;
	background-color: #6F9;
	color: #000;
	float: left;
}

input[type=number] {
	width:50px;
}

.submitButtons {
	position: relative;
	display: block;
	clear: both;
	height: 25px;
	width: 100%;
	max-width: 965px;
	padding: 0;
	margin: 0 auto 25px auto;
	border-radius: 5px;
	padding:.35em;
	font-family: Covington;
	font-size: 1.1em;
}

.alert {
	display: block;
	font-size: 1em;
	color: #000;
	font-weight: bold;
	padding: 0 5px 10px 5px;
	clear: both; 
	width: 70%;
	max-width: 800px;
}

/* --------- index page ---------- */
article.login {
	position: relative;
	width: 200px;
	margin: -310px 0 0 250px;
}

input[type=submit].index {
	width: 150px;
	background-color:#093;
	color:#FFF;
}

input[type=submit].index:hover {
	width: 150px;
	background-color:#0C3;
	color:#FFF;
}

div.l {
	width: 100%;
	font-weight: bold;
}

div.r {
	width: 100%;
	font-weight: bold;
	margin-bottom: 10px;
}

article div.underForm {
	clear: both;
	padding-top: 10px;
}

article.rules {
	margin: 50px 0 0 125px;
	clear: both;
}

article.rules ol li {
	font-family: Verdana, Geneva, sans-serif; 
	font-size: .8em;
	padding: 2px 0;
}

article.rules ol li ol li {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1em;
	margin-left: 1.5em;
}

article div.fb-like {
	margin-top: 25px;
}

/* --------- games page --------- */
div.gameWrapper {
	background-repeat:no-repeat;
	-webkit-background-size:contain;
	-moz-background-size:contain;
	background-size:contain;
	background-position:center;
	max-width: 960px;
} 

div.gameWrapper:after {
	content: " ";
	display: block; 
	width: 100%; 
}

.gameInfo {
	font-size: 1em; 
	color:#060; 
	margin: -80px auto 0 auto; 
	position: relative; 
	font-weight: bold; 
	height: 50px; 
	width: 100%; 
	max-width: 960px; 
	padding: 5px 0 0 0; 
}

.gameAwayNames {
	height: 20px;
	width: 46%;
	float: left;
	text-align: right;

}

.gameHomeNames {
	height: 10px;
	width: 46%;
	padding: 0;
	float: left;
	text-align: left;
}

.at {
	float: left;
	width: 5%;
	height: 5px;
	padding: 0 4px;
	text-align: center;
}

.gameTime {
	font-style: italic;
	font-size: .85em;
	color: #090;
	margin: 0;
	padding: 0;
	position: relative; 
	height: 30px; 
	width: 100%; 
	max-width: 950px; 
	text-align: center; 
}

.gameTimeMini {
	display: none;
}

div.pickTeams {
	position: relative;
	margin: 0 auto 20px auto;
	width: 100%;
	max-width: 950px;
	font-family: Verdana, Geneva, sans-serif; 
	font-size: .9em;
	text-align: center;
	color: #060;
}

.pointsPlaced {
	padding: 10px 0 3px 0;
	font-style:italic;
	font-size:.9em;
	clear:both;
	display:block;
}

.placePoints {
	width: 175px;
	height: 60px;
	padding: 0;
	background-image: url(../../images/placepoints.png);
	margin: -15px auto 25px auto;
	position: relative;
	text-align: center;
}

.gameAwayLogos {height:35px; width:50px; float:right; padding:0 5px 5px 5px; margin:0 0 0 10px;}
.gameHomeLogos {height:35px; width:50px; float:left; padding:0 5px 5px 5px; margin:0 10px 0 0 ;}
.gameHomeLinks {font-weight:normal; font-size:.8em; padding-bottom:3px;}
.gameAwayLinks {font-weight:normal; font-size:.8em; padding-bottom:3px;}
.gameFinalNumber {font-size:14px; color:#000; margin:0; font-weight:bold;}
#gamesPointsPlaced {font-size:13px; color:#096; margin:0 0 20px 0;}
#gamesFinalPics {margin: 15px 0 0 0; font-size:12px;}
.poolPointsPlaced {margin:5px 0 20px 10px;}


/* --------- standings ---------- */
article.currentStandings, article.overallStandings {
	width: 50%;
	float: left;
	max-width: 480px;
	margin: 0;
	padding: 0;
}

article.currentStandings ol li, article.overallStandings ol li {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1em;
	margin: 0 0 0 25px;
	padding: 0;
}

table.standings tbody tr td ol {
	margin: 0 0 0 20px;
}

/* --------- stats ---------- */
section.stats {
	width: 100%;
	max-width: 968px;
}

.statsMainContent {
	float: left;
	display: block; 
	width: 70%;
	max-width: 800px;
	clear: both;
}

.statsMainSubContent {
	float: left;
	display: block; 
	margin: 0 0 0 10px;
	width: 40%;
}

table.statTeamGames {
	width: 100%;
	float: left;
	margin: 15px 10px 0 0;
	max-width: 800px;
}

article.statTeamGame {
	width: 70%;
	float: left;
	margin: 15px 10px 0 0;
	max-width: 800px;
}

.statLeagueStandings {
	float: left;
	width: 28%;
	margin: -125px 0 0 0; 
	padding: 0;
}

span.maxiHidden {
		display: none;
	}

.currentWeekHeader {cursor:pointer; font-weight:bold; font-size: 1.5em; margin-top:0; margin-bottom:5px; padding-top:15px; color:#000;font-family:Covington;}
.lastWeekHeader {cursor:pointer; font-weight:bold; font-size: 1.5em; margin-top:0; margin-bottom:5px; padding-top:15px; color:#000;font-family:Covington;}

.previousWeekStandingsHeader {cursor:pointer; font-weight:bold; font-size: 1.5em; margin-top:0; margin-bottom:5px; padding-top:15px; color:#000;font-family:Covington;}
.previousWeekGamesHeader {cursor:pointer; font-weight:bold; font-size: 1.5em; margin-top:0; margin-bottom:5px; padding-top:15px; color:#000;font-family:Covington;}

.previousWeeks {cursor:pointer; font-weight:bold; font-size: 1.25em; margin-top:0; margin-bottom:5px; color:#000;font-family:Covington;}
.previousWeekPicsHeader, .overallPointsByWeekHeader, .overallStandingsByWeekHeader, .overallStandingsHeader, .currentWeekPointsHeader {cursor:pointer; font-weight:bold; font-size: 1.5em; margin-top:0; margin-bottom:5px; padding-top:15px; color:#000;font-family:Covington;}
.previousWeeksPicWeek, .previousWeeks, .overallStandingsWeek {cursor:pointer; font-weight:bold; font-size: 1.25em; margin-top:0; margin-bottom:5px; color:#090;font-family:Covington;}
.overallWeeks {cursor:pointer; font-weight:bold; font-size: .85em; margin:3px; color:#000;}

.printButton {background-image:url(../../images/placepoints.png); height:45px; width:175px; margin:0 auto 0 auto; position:relative; padding:15px 0 0 0; background-repeat:no-repeat; cursor:pointer;}
a.printText {display: block; position:relative; color:#060; margin: 0 auto 0 auto; text-align:center;}
a.printText:hover {display: block; position:relative; color:#090; margin: 0 auto 0 auto; text-align:center;}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px)  {
	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr th { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #030; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #6F6; 
		position: relative;
		padding-left: 40%; 
	}
	
	table.adminTeams tr td, table.standings tr td, table.leagueStandings tr td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #6F6; 
		position: relative;
		padding-left: 5%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 51%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/* Label the data */
	table.deleteTable tr td:nth-of-type(1):before { content: "Delete?"; font-weight: bold; }
	table.deleteTable tr td:nth-of-type(2):before { content: "Time"; font-weight: bold; }
	table.deleteTable tr td:nth-of-type(3):before { content: "Away Team"; font-weight: bold; }
	table.deleteTable tr td:nth-of-type(4):before { content: "at"; font-weight: bold; }
	table.deleteTable tr td:nth-of-type(5):before { content: "Home Team";  font-weight: bold;}
	table.deleteTable tr td:nth-of-type(6):before { content: "Favored";  font-weight: bold;}
	table.deleteTable tr td:nth-of-type(7):before { content: "Spread";  font-weight: bold;}
	table.deleteTable tr td:nth-of-type(8):before { content: "You Picked";  font-weight: bold;}
	table.deleteTable tr td:nth-of-type(9):before { content: "Amount"; font-weight: bold; }
	
	table.currentTable tr td:nth-of-type(1):before { content: "Time"; font-weight: bold; }
	table.currentTable tr td:nth-of-type(2):before { content: "Away Team"; font-weight: bold; }
	table.currentTable tr td:nth-of-type(3):before { content: "Home Team"; font-weight: bold; }
	table.currentTable tr td:nth-of-type(4):before { content: "Favored";  font-weight: bold;}
	table.currentTable tr td:nth-of-type(5):before { content: "Spread";  font-weight: bold;}
	table.currentTable tr td:nth-of-type(6):before { content: "You Picked";  font-weight: bold;}
	table.currentTable tr td:nth-of-type(7):before { content: "Covered"; font-weight: bold; }
	table.currentTable tr td:nth-of-type(8):before { content: "Amount"; font-weight: bold; }
	
	table.previousTable tr td.previous:nth-of-type(1):before { content: "Time"; font-weight: bold; }
	table.previousTable tr td.previous:nth-of-type(2):before { content: "Away Team"; font-weight: bold; }
	table.previousTable tr td.previous:nth-of-type(3):before { content: "at"; font-weight: bold; }
	table.previousTable tr td.previous:nth-of-type(4):before { content: "Home Team"; font-weight: bold; }
	table.previousTable tr td.previous:nth-of-type(5):before { content: "Favored";  font-weight: bold;}
	table.previousTable tr td.previous:nth-of-type(6):before { content: "Covered";  font-weight: bold;}
	table.previousTable tr td.previous:nth-of-type(7):before { content: "Spread";  font-weight: bold;}
	table.previousTable tr td.previous:nth-of-type(8):before { content: "You Picked";  font-weight: bold;}
	table.previousTable tr td.previous:nth-of-type(9):before { content: "Amount"; font-weight: bold; }
	
	table.statTeamGames tr td:nth-of-type(1):before { content: "Date"; font-weight: bold; }
	table.statTeamGames tr td:nth-of-type(2):before { content: "Week"; font-weight: bold; }
	table.statTeamGames tr td:nth-of-type(3):before { content: "Opponent"; font-weight: bold; }
	table.statTeamGames tr td:nth-of-type(4):before { content: "Score"; font-weight: bold; }
	table.statTeamGames tr td:nth-of-type(5):before { content: "Favored";  font-weight: bold;}
	table.statTeamGames tr td:nth-of-type(6):before { content: "Spread";  font-weight: bold;}
	table.statTeamGames tr td:nth-of-type(7):before { content: "Cover";  font-weight: bold;}
	
	table.adminTeams tr td:nth-of-type(1):before { display: none; margin-left: -150px }
	table.adminTeams tr td:nth-of-type(2):before { display: none; margin-left: -150px }
	
	td:nth-of-type(1):before { content: " "; font-weight: bold; }
	td:nth-of-type(2):before { content: " "; font-weight: bold; }
	
	table.overall {
		position: relative;
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
	}
	
	input[type=submit] {
	width: 100%;
	max-width: 768px;
}

input[type=submit]:hover {
	width: 100%;
	max-width: 768px;
}

input[type=reset] {
	width: 100%;
	max-width: 768px;
}

input[type=reset]:hover {
	width: 100%;
	max-width: 768px;
}
}

@media screen and (max-width:640px) {
header { 
		background-repeat: no-repeat;
		-webkit-background-size: contain;
		-moz-background-size: contain;
		background-size: contain;
		background-position: center;
	}

	header:after {
		content: " ";
		display: block; 
		width: 100%;
	}

	div.gameWrapper { 
		background-repeat: no-repeat;
		-webkit-background-size: contain;
		-moz-background-size: contain;
		background-size: contain;
		background-position: center;
	}

	div.gameTime {
		display: none;
	}

	div.gameTimeMini {
		display: block;
		font-style: italic;
		font-size: .85em;
		color: #090;
		margin: 0;
		padding: 0;
		position: relative; 
		height: 30px; 
		width: 100%; 
		max-width: 950px; 
		text-align: center; 
	}

	div.gameWrapper:after {
		content: " ";
		display: block; 
		width: 100%;
	}
	
	div.gameHomeLogos {
		display: none;
	}
	
	div.gameAwayLogos {
		display: none;
	}
	
	span.gameHomeStats {
		display: none;
	}
	
	span.gameAwayStats {
		display: none;
	}
	
	article.login {
		position: relative;
		margin: -150px auto 0;
		width: 100%;
		max-width: 250px;
		text-align: center;
	}
	
	article.register {
		position: relative;
		width: 100%;
		max-width: 250px;
		clear: both;
		padding: 5px;
	}
	
	article.admin {
		position: relative;
		width: 100%;
		max-width: 350px;
		clear: both;
		padding: 5px;
	}
	
	div.l {
		position: relative;
		width: 250px;
		font-weight: bold;
		margin: auto;
	}

	div.r {
		position: relative;
		width: 250px;
		font-weight: bold;
		margin: 0 auto 10px;
	}

	article.rules {
		clear: both;
		margin: 0;
		padding: 25px;
	}
	
	article.rules ol li {
		font-family: Verdana, Geneva, sans-serif; 
		font-size: .8em;
		padding: 2px 5px;
	}
	
	article div.underForm {
		clear: both;
		padding-top: 10px;
		margin: 0;
	}
	
	article.games {
		padding: 0 4px;
	}
	
	article.currentStandings, article.overallStandings {
	width: 100%;
	max-width: 450px;
	margin: 0;
	padding: 0;
	float: none;
	clear: both;
}
	
	h1.index {
		display: none;
	}

	h2.index {
		margin-left: 0;
	}
	
	img#header {
		display: none;
	}
	
	img#header-mini {
		position: relative;
		display: block;
		width: 320px;
		margin: auto;
	}
	
	nav  {
		position: relative;
		width: 100%;
		max-width: 200px;
		font-size: 1.4em;
		padding: 0;
		margin: -175px auto 150px auto;
		float: none;
	}
	
	nav.admin  {
		position: relative;
		display: block;
		width: 100%;
		max-width: 200px;
		min-height: 100px;
		font-size: 1.4em;
		padding: 0;
		margin: auto;
		float: none;
		clear: both;
	}
	
	div.adminLinks a {
		width: 100%;
		display: block;
		clear: both;
	}
	
	.adminLinks {
		margin: 10px auto 0 auto;
		font-size: .7em;
		font-weight: normal;
		width: 100%;
		max-width: 250px;
		position: relative;
		text-align: center;
		clear: both;
	}

	nav ul li {
		position: relative;
		list-style-type: none;
		float: none;
		width: 200px; 
		text-align: center;
	}
	
	nav a {
		font-family: Covington !important;
		font-weight: bold;
		font-size: .8em !important;
		color: #030 !important;
	}
	
	nav a:hover {
		font-family: Covington !important;
		font-weight: bold;
		font-size: .8em !important;
		color: #393 !important;
	}

	span.miniHidden {
		display: none;
		margin-bottom: 10px;
	}
	
	span.maxiHidden {
		display: block;
		clear: both;
		width: 100%;
		margin: 0;
		padding: 0;
		text-align: left;
	}

	footer {
		display: none;
	}
	
	.statsMainContent {
		display: block; 
		width: 100%;
		max-width: 600px;
	}

	.statsMainSubContent {
		display: block; 
		width: 100%;
		max-width: 600px;
	}

	table.statTeamGames {
		width: 100%;
	}

	.statLeagueStandings {
		width:100%;
		margin: 10px 0 0 0; 
	}
	
	article.statTeamGame {
		width: 100%;
	}
	
	input[type=submit] {
		display: block;
		width: 100%;
		max-width: 600px;
		margin: 15px 2px 0 2px;
		background-color: #093;
		color: #FFF;
	}

	input[type=submit]:hover {
		display: block;
		width: 100%;
		max-width: 600px;
		margin: 15px 2px 0 2px;
		background-color: #0C3;
		color: #FFF;
	}

	input[type=reset] {
		display: block;
		width: 100%;
		max-width: 600px;
		margin: 15px 2px 0 2px;
		background-color: #0F6;
		color: #000;
	}

	input[type=reset]:hover {
		display: block;
		width: 100%;
		max-width: 600px;
		margin: 15px 2px 0 2px;
		background-color: #6F9;
		color: #000;
	}
	
	.indexLoggedInNavigation {
		height: 150px;
		width: 100%;
		margin: 0 0 0 35%;
		clear:both;
	}
}

@media screen and (max-width:350px) {
	.gameHomeLinks {
		display: none;
	}
	
	.gameAwayLinks {
		display: none;
	}
	
	.gameInfo {
		height: 25px; 
	}
	
	span.miniHidden {
		display: none;
		margin-bottom: 10px;
	}
	
	span.maxiHidden {
		display: block;
		clear: both;
		width: 100%;
		margin: 0;
		padding: 0;
		text-align: left;
	}
	
	.indexLoggedInNavigation {
		height: 150px;
		width: 100%;
		margin: 0 0 0 15%;
		clear:both;
	}
}