/*
	TagBox table styles
	written by TagBox http://www.tagbox.de
*/
body {
    background-color: #FFFF99;
    font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

h1 {
	color: #990000;
	font-size: 1.6em;
}

h2 {
	color: #000000;
	font-size: 1.2em;
}

h3 {
	color: #000000;
	font-size: 1.0em;
}

select {
 background-color: #FFCC66;
 color: #000000;
}

#header {
    /*float: left;*/
    width: 25%;
	/*margin-left: 10px;*/
	margin: 0 auto;
}

#header p { text-align: left; }

#league_table {
	width: 70%;
	margin: 0 auto;
	padding: 0 0 2.0em 2.0em;
	text-align: center;
	/*float: left;*/
}

#container1
{
    background-color: #F8DC6D;
	color: black;
	border: inset red 3px;
    margin: 0 auto;
    padding: 0;
	text-align: center;
    width: 25%;
}

#radio_buttons
{
    font-size: 1.3em;
	text-align: left;
	padding-left: 20%;
	padding-top: 1.0em;
}

#page_container {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

.fixtures {
	width: 100%;
	text-align: center;
}

.button {
	background-color: #990000;
	color: #FFCC00;
	font-weight: bold;
	font-size: 0.9em;
	font-family: verdana;
	cursor: pointer;
}
.button:hover {
	color: #990000;
	background-color: #FF9900;
}

.button_disabled {
	background-color: #999;
	color: #333;
	font-weight: bold;
	font-size: 0.9em;
	font-family: verdana;
	cursor: none;
}

table {
	border-collapse: collapse;
	border: 1px solid #03476F;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 0.8em;
	color: #363636;
}

table #fixtures_results_edit {
	text-align: center;
}

caption {
  text-align: center;
  font: bold 18px arial, helvetica, sans-serif;
  background: transparent;
  padding:6px 4px 8px 0px;
  color: #03476F;
  text-transform: uppercase;
  }
td, th {
  border: 1px dotted #03476F;
  padding: .2em .4em;
  /*color: #363636;*/
  }
th {
  background-color: #FF9900;
  text-align: left;
  }
tbody tr:hover {
  background: #FA5850;
  border: 1px solid #03476F;
  color: #FFCC00;
  }
tbody tr:hover.fobg td {
  color: #FFCC00;
  }

#namesNumbersTable {
	margin: 5px auto;
}

#namesNumbersTable tbody tr:hover {
	cursor: pointer !important;
}

.menu_header {
  text-align: center;
  font-weight: bold;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.2em;
}

.odd {
  background-color: #FFCC66;
  }
.even {
  background-color: #FF9900;
  }
.fobg td {
  font-weight: bold;
  }

.team_name {
  font-weight: bold;
  text-align: left;
  }
fieldset {
  border: 8px ridge #CC0000;
  color: #CC0000;
  background-color: #F8DC6D;
  font-size: 1.0em;
  font-weight: bold;
  width: 70%;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
}
fieldset div {
  margin: 8px 0;
}
fieldset ol {
  list-style: none;
  margin: 0;
  padding: 1em 1em 0 1em;
}
fieldset li {
  float: left;
  clear: left;
  width: 100%;
  padding-bottom: 0.7em;
}
fieldset.submit {
  float: none;
  width: auto;
  border: 0 none #FFF;
  padding: 0.5em 0 0 1em;
  text-align: center;
  background-color: #FFFF99;
}
legend {
  color: #0033CC;
  margin-left: 1em;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: -5px;
}

/* sort this label shit out! */
label.left-float {
  float: left;
  width: 15em;
  margin-right: 1em;
  text-align: right;
  display: inline;
}

.squad label {
  width: 100%;
  margin-right: 0;
  text-align: center;
  display: inline-block;
}

textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  background-color: #FFFFCC;
  border: red 3px inset;
}



#news_content {
	/*min-height: 100%;*/  /* Removed 23/02/17 because it was causing it to break in IE11 at <800px.  Removing it doesn't seem to have broken it anywhere. */
	background-color: #DDD;
	margin: 0;
	padding: 0 1.0rem;
	max-width: 100%;
	-webkit-flex: auto;
	-moz-flex: auto;
	-ms-flex: auto;
	-o-flex: auto;
	flex: auto;
	/*This is equivalent to flex: 1 1 auto. Beware, this is not the default value. It sizes the item based on its width/height properties,
	  but makes it fully flexible so that it absorbs any extra space along the main axis.  https://css-tricks.com/almanac/properties/f/flex/ */
    -webkit-order: 2;
	-moz-order: 2;
	-ms-order: 2;
	-o-order: 2;
	order: 2;  /* 2nd to sidebar1, except when narrow becomes first, as sidebar1 is shifted to 99. */
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;  /* for welcome_photos and fix_res_news. */
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
}

/* wide enough for border at 460px. */
@media screen and (min-width: 460px) {
	#news_content {
		border: solid 1.0rem #eb1c24;
	}
}
@media screen and (min-width: 800px) {
	#news_content {
		width: 70%;
		margin: 10px auto;
	}
}

.plain_label {
	float: none;
	text-align: left;
}

#fld_news_input {
	width: 98%;
}

.submit_line {
	margin: 5px auto;
}

/* send fines text */
.form_fines label {
	display: inline-block;
	float: none;
  	width: 10em;
  	text-align: right;
	margin-right: 0.4em;
}
#form_fields {
	text-align: left;
	width: 30em;
	margin: 5px auto;
}
.buttons_line {
	margin: 1em auto;
	text-align: center;
}

/* CONFIRMATION PAGE */
#fixtures {
	margin: 0 auto;
}

#fixtures a {
	width: 100%;
	margin: 0;
	color: #FFCC00;
	text-decoration: none;
}

#fixtures a:hover {
	color: #990000;
}

.ta_center {
	text-align: center;
}

#mailto {
	 width: 50%;
	 margin: 1.0em auto;
}

#mailto label {
	float: none;
	text-align: left;
}



/* Used in free text send */
.margin_auto_center {
	width: 60%;
	margin: 1.0em auto;
}

.margin_auto_center label {
	float: none;
}
