#container {
	background-color: #FFF;
	border: 1px solid #336600;
	font-family: sans-serif;
	position:absolute;
	left:0;
	top:0;
	width:100%;
}

.errorTitle {
	color: white;
	background-color: red;
	border-style: solid;
	border-color: black;
	border-width: 1px;
	display: block;
    width: 100%;
}
.errorBox {
	color: red;
}

.subHeader {
	font-weight: bold;
}

.menu {
	border: 1px solid green;
	padding: 2px 0px 2px 0px;
	margin: 5px 0px 5px 0px;
	background-color: #568800;
}

.page_title,.sub_menu {
	clear: both;
	border: 1px solid green;
	padding: 2px 0px 2px 0px;
	margin: 5px 0px 10px 0px;
}

.page_title {
	text-align: center;
	font-weight: bold;
	background-color: #568800;
	color: #FFFFFF;
}

.breadcrumb {
	clear: both;
	border: 1px solid green;
	padding: 2px 0px 2px 0px;
	margin: 5px 0px 5px 0px;
}

.breadcrumb .highlight {
	font-weight: bold;
}

.simpleForm div {
	clear: both;
}
.simpleForm div label {
	float: left;
	width: 200px;
	text-align: right;
	padding: 0px 5px 0px 5px;
}
.simpleForm div input, .simpleForm div select, .simpleForm div textarea, .simpleForm div span.errorBox {
	float: left;
}

#footer {
	clear: both;
	padding: 4px 5px 4px 5px;
	text-align: right;
	font-size:10px;
}
#footer .left {
	float:left;
	width:390px;
	text-align: left;
}
#footer .right {
	width:390px;
	text-align: right;
}

.menu_button a {
	padding: 2px 5px 2px 5px;
	text-decoration: none;
}
#header a:link, #header a:visited, #header a:hover, #header a:active {
	color: white;
}

.menu_button a:link {color: white;}
.menu_button a:visited {color:white;}
.menu_button a:hover {
	color:black;
	background-color: #FF6;
}
.menu_button a:active {color:white;}

.sub_menu_button a {
	padding: 2px 5px 2px 5px;
	text-decoration: none;
}
.sub_menu_button a:hover {
	background-color: #FF6;
}

#header {
	padding: 4px 5px 4px 5px;
	height:55px;
	background-image:url('../images/header.gif');
}
.table_u, .table_d, .table_s {
	background-repeat: no-repeat;
	width: 16px;
}
.table_u a, .table_d a, .table_s a {
	display: block;
	text-decoration: none;
}
.table_u {
	background-image:url('../images/table_u.gif');
}
.table_d {
	background-image:url('../images/table_d.gif');
}
.table_s {
	background-image:url('../images/table_s.gif');
}
#playerTable tr.injured td:first-child, #playerTable tr.suspended td:first-child {
	background-color: #FFFFFF;
}
#playerTable tr.injured td:first-child, #playerTable tr.suspended td:first-child {
	background-repeat: no-repeat;
	background-position: right center;
}
.player_inj {
	background-repeat: no-repeat;
	background-position: center;
}
#playerTable tr.injured td:first-child, .player_inj {
	background-image:url('../images/player_inj.gif');
}
#playerTable tr.suspended td:first-child {
	background-image:url('../images/player_sus.gif');
}

.bgMain {
	background-color: #082008;
	z-index:5000; 
}
.bgSec {
	background-color: white;
}
.bgThird {
	background-color: #568800;
}

.titleBar, .titleBarSub {
	color: white;
	text-align: center;
	padding: 3px;
}

.titleBar {
	font-weight: bold;
}

.textMain, .textMain a {
	color: 336633;
}
.textSec, .textSec a {
	color: white;
}


.title {
	float:left;
	text-align: right;
	padding: 0px 5px 0px 5px;
}
#mainTitle {
	text-align: center;
	padding: 0px 5px 0px 5px;
}
#message .row .title {
	width:100px;
}
#message .contents, .interview_contents {
	white-space:pre-wrap;
}
.contents {
	font-weight: normal;
	text-align: left;
	padding: 0px 5px 0px 5px;
}
.unread, .unread a {
	font-weight: bold;
}
#content {
	padding: 5px 10px 5px 10px;
}
.info {
	margin-bottom: 5px;
}
.info .row {
	clear: both;
}
.grid .row .left {
	clear: both;
	float:left;
}

.grid .row .left, .loosegrid .left .row {
	width:440px;
	padding: 5px;
}

.grid .row .right, .loosegrid .right .row {
	float:right;
	width:440px;
	padding: 5px;
}

.transferSearch {
	width: 700px;
	padding: 5px 10px 5px 10px;
}
.transferSearch div {
	clear: both;
}
.transferSearch .labelSpan {
	width: 120px;
	font-weight: bold;
	float:left;
	text-align: right;
}
.transferSearch .content {
	width: 560px;
	float:right;
}
.transferSearch input {
	width: 50px;
}
.transferSearch input.value {
	width: 100px;
}

.infoBox {
	width:440px;
	border: 1px solid #333;
	overflow:hidden;
}
.infoBox .header,
.infoBox .header a:link,
.infoBox .header a:visited,
.infoBox .header a:hover,
.infoBox .header a:active {
	padding: 0px 5px 0px 5px;
	background-color: #568800;
	text-align: center;
	color: white;
}
.info .row .title {
	width:140px;
}
.info .row .contents {
	font-weight: normal;
	width:280px;
	float: right;
}
.info .row .contents .perc_bar img {
	width:204px;
}
a:link {color: black;}
a:visited {color: black;}
a:hover {color: black;}
a:active {color:black;}

#scheduleTable tr.currentRoundHighlight td {
	background-color:#FF6;
}
#playerTable tr.suspended td, #playerTable tr.injured td {
	background-color:#CC0000;
}
#playerTable tr.loanedOut td {
	background-color:#696969;
}
#playerTable tr.loanedIn td {
	background-color:#EEDD82;
}
#playerTable tr.substitute td {
	background-color:#FFFF66;
}
table.reportTable thead tr th {
	text-align:center;
} 
#leagueTable tr.promotion td {
	background-color:#F0F75C;
}
#leagueTable tr.playoff td {
	background-color:#FAF3A7;
}
#leagueTable tr.relegation td {
	background-color:#FC9A7E;
}
#resultsGrid td {
	border: 1px;
	border-color: black;
	border-style: solid;
	text-align: center;
}
#resultsGrid td.teamName {
	font-weight: bold;
		border-style: none;
}
#commentaryTable tr.neutral td {
	background-color:#99FFFF;
}
#commentaryTable tr.scored td {
	background-color:#9933CC;
}
#commentaryTable tr.attempted td {
	background-color:#33CC99;
}
#commentaryTable tr.booked td, #playerTable tr td.booked {
	background-color:yellow;
}
#commentaryTable tr.sentOff td, #playerTable tr td.sentOff {
	background-color:red;
}
#commentaryTable td {
	border-style: solid;
	border-width: 1px;
}
#commentaryTable tr.teamAttack0 td {
	border-color: red;
}
#commentaryTable span#homeLabel {
	color: red;
}
#commentaryTable tr.teamAttack1 td {
	border-color: navy;
}
#commentaryTable span#awayLabel {
	color: navy;
}
#pitchCommentaryTable {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
#pitchCommentaryTable td.pitchAreaInactive {
	border:thin dotted;
	border-color: black;
	background-color: #DEFFBB;
}
#pitchCommentaryTable td.pitchAreaActive {
	border:thick dotted;
	background-color: #DEFFBB;
}
#pitchCommentaryTable td.teamAttack0 {
	border-color: red;
}
#pitchCommentaryTable td.teamAttack1 {
	border-color: navy;
}
#pitchCommentaryTable td.scored {
	background-color: #9933CC;
}
#pitchCommentaryTable td.attempted {
	background-color: #33CC99;
}
#pitchCommentaryTable td.booked {
	background-color: #yellow;
}
#pitchCommentaryTable td.sentOff {
	background-color: #red;
}
#pitchCommentaryTable td {
	width: 200px;
	height: 150px;
}
#pitchCommentaryTable td.goal {
	width: 35px;
	border:thin solid;
	border-color: black;
}
#pitchCommentaryTable td.end {
	width: 35px;
	border:none;
}
#pitchCommentaryTable td.pitchAreaGoal {
	background-color: 
}
#pitchSelection, #confirmPitchSelection {
	width:760px;
	background-color:#A7C942;
	height:320px;
	text-align: center;
	background-image:url('../images/team_selection.gif');
}
#pitchSelection {
	clear:both;
	float:left;
}
#pitchSelection thead tr, #confirmPitchSelection thead tr {
	background-color:#568800;
	height:30px;
	color:white;
}
#pitchSelection tr, #confirmPitchSelection tr {
	height: 60px;
}
#confirmPitchSelection .dragablePlayer {
	display: inline-block;
}
.confirmTeamTable {
	margin:10px auto 15px;
}
#mainTable tbody tr.team_row td {
	background-color:#CCFF99;
}
.buttons {
	padding-top:15px;
	text-align: center;
	width: 95%;
}
.left {
	float: left;
}
.smallCol {
	width: 50px;
	text-align: center;
}
#substitutions select {
	width: 180px;
}
.playerSelect {
	display:inline-block;
}
#unselectedPlayer{
	width:1000px;
	border:1px solid #000;
	background-color:#E2EBED;
	padding:3px;
	height:50px;
}
#teamSelectionArea {
	width:1010px;
}
.todLink {
	text-decoration: none;
}
.dragablePlayer, .todPlayer {
	width:75px;
	height:42px;
	margin-bottom:5px;
	margin-right:5px;
	text-align:center;
	font-size:10px;
	background-repeat: no-repeat;
	display:inline-block;
	vertical-align:top;
}
* html .dragablePlayer { display:inline; }  /* for IE 6 */
* + html .dragablePlayer { display:inline; }  /* for IE 7 */
.targetPosition{
	height:42px;
	width:80px;
	margin-right:5px;
	padding:5px;
	border:1px dotted #000;
	margin-bottom:5px;
	text-align:center;
	display:none;
	vertical-align:top;
}
* html .targetPosition { display:inline; }  /* for IE 6 */
* + html .targetPosition { display:inline; }  /* for IE 7 */

#playerDetailsPane {
	width:250px;
	float:right;
}

#detailsSelect, #subWarnMsg, .det_skill, .det_att, .det_form, .det_app,
#addTactic, #addSub, #tacticsOverview {
	display:none;
}
#tacticsOverview {
	margin-top:10px;
}
body table.highlighter tbody tr.highlight td {
	background-color:#DDEEDD;
}
body table.highlighter tbody tr td.highlight {
	background-color:#DDEEDD;
}
body table.tablesorter tbody tr td.tier_GK, body table.tablesorter tbody tr.odd td.tier_GK,
body table.tablesorter tbody tr.highlight td.tier_GK, body #playerTable tr.loanedIn td.tier_GK {
	background-color: yellow;
}
body table.tablesorter tbody tr td.tier_D, body table.tablesorter tbody tr.odd td.tier_D,
body table.tablesorter tbody tr.highlight td.tier_D, body #playerTable tr.loanedIn td.tier_D {
	background-color: fuchsia;
}
body table.tablesorter tbody tr td.tier_M, body table.tablesorter tbody tr.odd td.tier_M,
body table.tablesorter tbody tr.highlight td.tier_M, body #playerTable tr.loanedIn td.tier_M {
	background-color: aqua;
}
body table.tablesorter tbody tr td.tier_A, body table.tablesorter tbody tr.odd td.tier_A,
body table.tablesorter tbody tr.highlight td.tier_A, body #playerTable tr.loanedIn td.tier_A {
	background-color: lime;
}
#changeTeamMsg {
	margin-bottom:15px;
}

#overlay, #overlay2 {
	color:#efefef;
}

#overlay div.contentWrap, #overlay2 div.contentWrap {
	overflow-y:auto;
	color: black;
	background-color: white;
}

#overlay, #overlay div.contentWrap {
	height:300px;
	z-index:10000;
}

#overlay2, #overlay2 div.contentWrap {
	height:500px;
}

#overlay2 {
	z-index:9000;
	width:95%;
}

#preview_images img {
	cursor:pointer;
	margin:0 5px;
	background-color:#fff;
	border:1px solid #ccc;
	padding:2px;
	width:150px;

	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}


/* styling for elements inside overlay */
.simple_overlay .details {
	position:absolute;
	top:15px;
	right:15px;
	font-size:11px;
	color:#fff;
	width:150px;
}

.simple_overlay .details h3 {
	color:#aba;
	font-size:15px;
	margin:0 0 -10px 0;
}

.simple_overlay img {
	width: 500px;
}

.formation {
	display: inline-block;
	width: 200px;
	height: 150px;
	border-style:solid;
	border-width:3px;
	border-color:white;
}

div#dp-popup {
	z-index: 20000;
	background: #568800;
	color: #ffffff;
}
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	overflow: hidden;
	background: url(../images/calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
div.dp-popup a {
	color: #ffffff;
}
