/* ---------------------------------------------------------------------------- */
/* 										*/
/* 	structural styles for [?team sites] match pages - 04/2010		*/
/* 										*/
/* ---------------------------------------------------------------------------- */



/* ----- fix inappropriate submenu (appears on player pages because tab=null) ----- */

div.subMenu
{
	display: none ! important;
}


#afs_widget
{
	width: 770px;
	border: 0px solid #666;
}
#afs_widget a
{	
	text-decoration: none;
}
#afs_widget a:hover
{	
	text-decoration: underline;
}


/* ----- TEXT ----------------------------------------------------------------- */
#afs_widget h1
{
	background-color: #000;		/* default */
	background-image: none;
	border: 1px solid #000;		/* default */
	color: #fff ! important;	/* default */
	line-height: 1.0em;
	margin-bottom: 0;
	padding: 2px 6px 6px 6px;
	text-align: center;
}
h1 img
{
	margin-top: 3px;
}
h1 .flagHome
{	
	float: left;
}
h1 .flagAway
{
	float: right;
}


h2 a
{
	color: #fff ! important;
}

h3.substitutes
{
	font-size: 1em;
	background-color: #fff; 
	color: #666;
	margin-bottom: 2px;
	border-top: 1px solid #666;
	border-width: 1px 0px 0px 0px;
}


.matchDetails
{
	text-align: center;
	font-size: 1.2em;
	padding: 3px 0;
	margin-bottom: 5px;
}
.matchDetails div
{
	padding: 2px;
}

div.lineups 
{
	margin-bottom: 15px;
}
div.lineups div.team
{
	width: 49%;
	float: left;
}
div.lineups div.home
{
	margin-right: 15px;
}


div.lineups div.player
{
	padding: 2px;
	vertical-align: middle;
}

/* this is maybe not ideal - check how original lines up with extra icons */
div.player a
{
	width: 160px;
	display: inline-block;
	color: #000 ! important;
}
div.player a:hover
{
	background-color: #ccc ! important;

}
.homeComments, .awayComments, .comments, .matchComments
{
	margin-top: 10px;
	padding: 3px;
	margin-bottom: 10px;
}
.matchComments
{
	margin-top: 20px ! important;
	border-top: 1px solid #666;	/* default */
	white-space: pre-wrap ! important;
}



/* ----- from original CSS - looks necessary ----- */

#afs_widget .match .goal, 
#afs_widget .match .og_goal,
#afs_widget .match .yellow, 
#afs_widget .match .owngoal, 
#afs_widget .match .subbed, 
#afs_widget .match .sub, 
#afs_widget .match .red
{
	float:right;
	height:16px;
	padding-left:14px;
	background-position:0 2px;
	width:27px;
	background-repeat:no-repeat;
	margin-left:2px;
	white-space: nowrap;
}
#afs_widget .match .goal{background-image:url('http://www.11v11.com/api/images/goal.gif');}
#afs_widget .match .og_goal{background-image:url('http://www.11v11.com/api/images/og_goal.gif');}
#afs_widget .match .yellow{background-image:url('http://www.11v11.com/api/images/yellow.gif');}
#afs_widget .match .red{background-image:url('http://www.11v11.com/api/images/red.gif');}
#afs_widget .match .owngoal{background-image:url('http://www.11v11.com/api/images/owngoal.gif');}
#afs_widget .match .subbed{background-image:url('http://www.11v11.com/api/images/subbed.gif');}
#afs_widget .match .sub{background-image:url('http://www.11v11.com/api/images/sub.gif');}


/* added by mike - 30/05/2010 */
#afs_widget .match .pen 
{
	min-width: 55px ! important;
}
#afs_widget .match .og 
{
	min-width: 45px ! important;
}

