html {
	background-color:white;
	font-family: "Times New Roman", Times, serif;
	color: darkblue;
	font-size: 0.9vw;
}

header {
	border-bottom: 1px solid darkblue;
	text-align: center;
	position: relative;
}

header h1 {
	text-align:center;
	font-size: 300%;
	text-shadow: 1px 1px 1px darkblue;
	color: #8b0000;
	margin-bottom: 0;
}

footer {
	border-top: 1px solid darkblue;
	text-align: center;
	margin-top: 5em;
	font-size: smaller;
	clear: both;
}

main {
	margin-top: 1em;
}

h2 {
	font-size: 200%
}

h3 {
	font-size: 150%;
	margin-top: 2em;
}

h4 {
	font-size: 100%;
	margin-top: 1em;
}

a, a:visited  {
	text-decoration: none;
	color: #b80000;
	font-weight: bolder;
}

nav {
	text-align: center;
	margin-top: 0.5em;
	border-bottom: 1px solid darkblue;
	padding-bottom: 0.5em;
	font-size: larger;
}

nav a, nav a:visited {
	text-decoration: none;
	letter-spacing: 2px;
	text-shadow: 1px 1px 1px darkblue;
	padding: 0 0.7em;
	color: darkblue;
}

a:hover, nav a:hover {
	text-shadow: 1px 1px 1px #b80000;
	color: #b80000;
}

li {
	padding-bottom: 0.5em;
}

.important {
	font-weight: bolder;
	color: black;
}

.own_team {
	font-weight: bolder;
	color: darkred;
}

.very_important {
	font-weight: bolder;
	font-style: italic;
}

img.logo1, img.logo2 {
	max-width:6%;
	position:absolute;
	top: -1em;
}

img.logo1 {
	left: 1em;
}

img.logo2 {
	right: 1em;
}

.poweredby, .copyright, .status  {
	font-size:	smaller;
}

.poweredby {
	font-weight: normal;
}

.copyright {
	color: #b80000;
}

.status {
	text-align: center;
	margin: 1em 0;
}

.status ul {
	list-style: none;
	width:100%;
	padding: 0 20%;
	margin-bottom: 2em;
	position: fixed;
	border: 1px solid;

}

.status li {
	float: left;
	padding-right: 3em;
	border: 1px solid;
}


.stat_key {
	padding-left: 2em;
}

.keyword {
	font-weight: bolder;
	color: black;
}

.nobs {
	font-weight: bold;
}

/*
.site_admin {
	font-size: smaller;
}

.site_admin a {
	text-decoration: none;
	padding: 0 0.7em;
	color: darkblue;
}
*/

footer nav  {
	font-size: smaller;
}

footer nav a, footer nav a:visited {
	text-decoration: none;
	padding: 0 0.7em;
	color: darkblue;
}

.introduction, .deadlines {
	margin-left: 5%;
	margin-right: 3%;
}

.deadlines p {
	margin-top: 0;
	margin-bottom: 0;
}

.deadlines h4 {
	margin-bottom: 0;
}

.next_week {
	background-color: lightgrey;
}
.access_denied, .transfers {
	margin-left: 5%;
}

.standard_indent h2, .standard_indent h4, .standard_indent ol, .standard_indent ul, .standard_indent p {
	margin: 0 5% 1em;
}

.standard_indent table {
	margin: 0 6%;
}

.standard_indent ol {
	margin-top: 1em;
}

.standard_indent table th {
	text-align: left;
	padding-top: 1em;
}

.standard_indent table th, .standard_indent table td {
	padding-right: 1em;
}
.section_num, .section_text {
	font-weight: bolder;
	color: darkred;
}

.rules table{
	margin-top: -1em;
}

.rules table tr.section td{
	padding-top: 1em;
}

.rules table td{
	vertical-align: top;
}

td.subsection {
	padding-left: 1em;
}
.plweek_left, .plweek_right, .waffl_week_left, .waffl_week_right {
	width: 50%;
}

.plweek, .waffl_week {
	font-weight: bold;
	margin-top: 1em;
}

p.plweek, p.plfixture, p.plresult, p.waffl_week, p.waffl_fixture, p.waffl_result {
	margin-bottom: 0;
}

.plweek_left, .waffl_week_left {
	float:left;
}

.plweek_right, .waffl_week_right {
	float:right;
}

.plweek_left, .plweek_right, .waffl_week_left, .waffl_week_right {
	margin-top: 1em;
}

.plfixture, span.waffl_fixture {
	width: 35em;
	display: inline-block;
/*	float:left; */
}

.plresult, .waffl_result  {
	width: 3em;
	display: inline-block;
/*	float:left; */
}

.details_link {
	display: inline-block;
	width: 10em;
}

p.waffl_fixture a, p.waffl_fixture a:visited, td.teamname a, td.teamname a:visited {
	text-decoration: none;
	color: darkblue;
	font-weight: normal;
}



.pl_fixtures h2, .waffl_fixtures h2 {
	text-align: center;
}

.terms, .privacy {
	margin-left:5%;
}

.waffl_fixtures {
	margin-left:5%;
}

.waffl_fixtures::after, .pl_fixtures::after, .team_usage p::after, .team_usage2 p::after {
	clear:both;
}

.pl_fixtures p, .waffl_fixtures p {
	margin-bottom: 0;
	margin-top: 0;
}
.pl_fixtures .container, .waffl_fixtures .container {
	margin-bottom: 0;
	display: inline-block;
}


.error {
	font-weight: bold;
	color: darkred;
	margin_top: 1em;
}

.lineups {
	margin-left: 10%;
	display: inline-block;
	width: 70%;
}

.gaffer_office .lineups {
	margin-left: 0%;
	display: inline-block;
	float: left;
	width: 70%;
}

.lineups p, .lineups h3 {
	margin-bottom: 0.2em;
	margin-top: 0;
}

.lineups h4 {
	margin-bottom: 0.5em;
}

.lineups h2 {
	text-align: center;
}

*.lineup_week {
	width: 3em;
	text-align: right;
	margin-right: 2em;
}

*.lineup_position {
	width: 14em;
	text-align: left;
}

*.lineup_link {
	width: 6em;
	text-align: left;
}

*.lineup_week, *.lineup_position, *.lineup_link {
	display: inline-block;
}

.team_usage span.pl_team_name {
	width: 12em;
	margin-right: 2em;
	display: inline-block;
}

.team_usage .pl_team_usecount, .team_usage .pl_team_maxuse {
	width: 3em;
	margin-right: 1em;
	display: inline-block;
	text-align:right;
}

.team_usage2 span.pl_team_name {
	width: 12em;
	margin-right: 2em;
	display: inline-block;
}

.team_usage2 .pl_team_usecount, .team_usage2 .pl_team_maxuse {
	width: 3em;
	margin-right: 1em;
	display: inline-block;
	text-align:right;
}

div.pl_fixtures {
	margin-left: 5%;
	margin-top: 1em;

}

.transfers div.pl_fixtures {
	margin-left: 3%;
	margin-top: 1em;
	width: 24%;
	float: left;
}

.transfers {
	display: inline-block;
	width: 100%;
}

.team_usage::after, .team_usage2::after, .transfers::after {
	clear: both;
}

div.team_usage {
	float: left;
	width: 45%;
}

div.team_usage2 {
	float: left;
	width: 30%;
}

div.team_usage p {
	margin-bottom: 0;
	margin-top: 0;
}

div.team_usage2 p {
	margin-bottom: 0.2em;
	margin-top: 0;
}

.transfers h3 {
	margin: 0;
	font-size: 120%;
}

.team_usage h3 {
	text-align: center;
}

.count_left {
	float: left;
}
.count_right {

	float: right;
}

.strong {
	font-weight: bolder;
}

.gaffer_office {
	margin-left: 5%;
}

.gaffer_office h3 {
	margin-top: 1.5em;
	margin-bottom: 1em;
	font-size: 120%;
}

.gaffer_office .category {
	margin-left: 2%;
	font-weight: bold;
	width: 7em;
	display: inline-block;
}
.gaffer_office .value {
	margin-right: 2em;
	display: inline-block;
}

.waffl_teamname {
	width: 18em;
	display: inline-block;
}

.pl_results_prompt *.pl_fixture {
	width: 20em;
	display: inline-block;
}

*.pl_goals input.forminput {
	width: 2em;
	margin-right: 0.5em;
	display: inline-block;
	font-size: .8vw;
}

div.pl_results_prompt {
	margin-left: 5%;
}
.pl_results_prompt p {
	margin-bottom: 0.2em;
	margin-top: 0;
}

.waffl_fixtures p, .pl_fixtures p {
	margin-left: 0;
	margin-right: 0;
/*	width: 40em; */
}
.result_details p {
	margin-bottom: 0.2em;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
}

.result_details h3 {
	margin-top: 2em;
	margin-bottom: 0.5em;
	text-align: center;
}

.result_details .teamheader, .result_details .scoreheader {
	color: darkred;
	font-weight: bolder;
}

.result_details .position {
	width:6em;
	font-weight: bolder;
	display: inline-block;
}

.result_details .teamname, .result_details .teamheader {
	width:16em;
	display: inline-block;
}

.result_details .pos_score, .result_details .neg_score, .result_details .scoreheader  {
	width:1em;
	display: inline-block;
	text-align: right;
	margin-right: 1em;
}

.result_details .neg_score  {
	color: red;
}

div.details {
	margin-left: 25%;
	margin-right: 25%;
	margin-top: 2em;
}

.result_footer .teamheader, .result_footer .scoreheader {
	border-top-width: 1px;
	border-top-style: dotted;
}

.details_link a {
	font-weight: normal;
}

.result_details .prem, .result_details .waffl {
	margin-bottom: 1em;
	width: 40%;
}

.result_details .waffl {
	float: left;
	margin-left: 10%;
}

.result_details .prem {
	float: right;
	margin-right: 10%;
}

.result_details::after {
	clear: both;
}

.result_details h4 {
	font-size: large;
	margin: 0 0 1em 0;
	text-align: center;
}

.result_details .prem p, .result_details .waffl p {
	margin: 0;
}

span.transfer_phase, span.transfer_date, span.transfer_time {
	margin: 0 1em 0 0;
	display: inline-block;
}

span.transfer_phase {
	text-align:right;
	width:3em;
}

span.transfer_date {
	text-align:left;
	width:13em;
}

span.transfer_time {
	text-align:left;
	width:5em;
}

div.ajaxnewsticker-ctar-1001 {
	margin-left: 5%;
	margin-right: 5%;
	margin-bottom: 1em;
}

.league_table{
    margin-left: auto;
    margin-right: auto;
    padding: 1px;
		border-collapse: collapse;
    }

.tabentry{
    text-align: right;
    width: 3em;
}

.tabpos{
    padding-right: 0.5em;
}

.gaffer_office .tabentry{
    text-align: right;
    width: 2em;
}

.gaffer_office .tabpos{
    padding-right: 1em;
}

.ownteam {
    background-color: lightgrey;
    font-weight : bold;
}

.tables h3, .tables .fixture_link {
	text-align: center;
}

.gaffer_office .waffl_fixtures {
	margin-left: 0;
	width: 60%;
	float: left;
}

.container::after {
	clear: both;
}

.gaffer_office .waffl_fixtures * p {
	display: inline-block;
	margin-bottom: 0.5em;
}

.gaffer_office .waffl_fixtures .waffl_fixtures_left {
	float: left;
	width: 50%;
}

.gaffer_office .waffl_fixtures .waffl_fixtures_right {
	float: right;
	width: 50%;
}

.instruction {
	text-align: center;
	font-weight: bold;
}

.gaffer_office .instruction {
	text-align: left;
	font-weight: normal;
	margin-bottom: 0.5em;
}
.gaffer_office .waffl_table {
	float: left;
	width: 35%;
}

.teamname {
	width: 25em;
}

.gaffer_office td.teamname, .gaffer_office th.teamname {
	width: 30em;
}

}
.gaffer_office .waffl_fixtures * p {
	display: inline-block;
}

.gaffer_office .waffl_fixtures * span  {
	display: inline-block;
	margin-top: 0.1em;
}

.gaffer_office .waffl_fixtures * p .waffl_fixture {
	width: 21em;
}

.gaffer_office .waffl_fixtures * p .waffl_week {
	width: 4.5em;
}

.gaffer_office .waffl_fixtures * p .waffl_result {
	width: 2em;
}

.league_table .teamname {
	text-align : left;
}
.lineups form select {
	border-style: none;
	color: darkblue;
	background-color: transparent;
	font-size: .8vw;
}
.lineups form p {
	text-align: center;
}

.transfers p input[type="submit"] {
	margin-left: 30em;
	margin-top: 1em;
	color: darkred;
}
.lineups h2 {
	margin-bottom: 0;
}
.noscript, .pwhint {
	color: darkred;
	font-style: italic;
}
.logon_prompt {
	margin-left: 5%;
	margin-right: 3%;
}


.pl_results_prompt p input[type="submit"] {
	margin-top: 1em;
	color: darkred;
}
.hidden {
	visibility: hidden;
}
.fixtures {
	text-align: center;
}
.fixtures h3 {
	margin-top: 1em;
	margin-bottom: 0;
	}
.fixtures h4 {
	font-size: 125%;
	margin-bottom: 0.5em;
	margin-top: 0;
}
.fixtures p.instruction {
	text-align: left;
	margin-top: 1em;
	margin-bottom: 1em;
}
.fixtures .waffl_fixtures, .fixtures .pl_fixtures {
	text-align: left;
	width: 40%;
	margin-bottom: 3em;
}
.fixtures .waffl_fixtures {
	float: left;
	margin-left: 10%;
}
.fixtures .pl_fixtures {
	float: right;
	margin-right: 10%;
	margin-top: 0;
	margin-left: 0;
}
.fixtures form select {
	border-style: none;
	color: darkblue;
	background-color: transparent;
	font-size: .8vw;
}

.maxuse {
	color: darkgray;
}
