/*General*/
*				{ font-family: Verdana, Arial; font-size: 11px; padding: 0; margin: 0; }
img 			{ border: 0; }
table 			{ width: 100%; border-collapse: collapse; }
a 				{ text-decoration: none; color: #000; }
h1 				{ font-size: 12px; clear: left; color: #fff; 
padding-bottom: 5px; margin-bottom: 20px; background-color: #333333; }

h5 				{ font-size: 12px; clear: left; color: #fff; 
padding-bottom: 5px; margin-bottom: 20px; background-color: #333333; }

acronym			{ border-bottom: 1px dotted #999; cursor: help; }

.clickable 		{ cursor: pointer; }
.collapsed 		{ display: none; }
img.flag 		{ vertical-align: middle; margin-right: 3px; }
img.symbol 		{ vertical-align: middle; }
tr.even 			{ background-color: #EDEDED; }
a.highlight		{ font-weight: bold; }
div#banner		{ margin-bottom: 15px; }
table.header 	{ background-color: #333333; color: #fff; }

body#menu 		{ background: #fff; }
body#view 		{ background: #fff; width: 468px; position: relative; margin: 5px; }


/*Browser*/
dl.browser dt,
dl.browser dd { padding: 6px 5px; color: #000; font-weight: normal; }
dl.browser dt { border-bottom: 1px solid #fff; }
dl.browser ul { list-style-type: none; }
dl.browser li { padding-left: 25px; }

dl#main_browser dt 		{ background-color: #0F3F03; color: #fff; }
dl#main_browser dd		{ padding: 0; }
dl#main_browser dt a 	{ color: #fff; text-decoration: none; display: block; }
dl#main_browser dl dt,
dl#main_browser dl dd 	{ padding: 5px 0; }
dl#main_browser dl dt 	{ background-color: #609725; color: #fff; padding-left: 15px; }
dl#main_browser dl dd 	{ background-color: #fff; }
dl#main_browser dl dd a:link, dl#main_browser dl dd a:visited {
	display: block;
	width: 98%;
	color: #000;
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
}


/*Competition menu*/
#competition_menu { margin-bottom: 20px; }
#competition_menu ul { list-style-type: none; width: 100%; }
#competition_menu li { float: left; width: 33%; }
#competition_menu li a { background-color: #609725; display: block; color: #fff; border-color: #fff; border-style: solid; border-width: 5px 0; text-align: center; padding: 4px 0; }
#competition_menu li a:hover { border-bottom-color: #0F3F03; }
#competition_menu li a.selected { background-color: #0F3F03; color: #fff; border-color: #0F3F03; }
#competitions_dateselector { width: 150px; text-align: right; }
#competitions_dateselector option { padding-right: 5px; }

/*Details*/
dl.details dt { background-color: #333333; color: #fff; width: 140px; clear: left; float: left; padding: 5px; }
dl.details dd { background-color: #999; color: #fff; width: 308px; float: left; padding: 5px; }


/*Main block*/
div.block 						{ background-color: #333333; padding: 3px; width: 462px; margin-bottom: 25px; clear: left; }
div.block div.content			{ margin-top: 3px; background-color: #fff; padding: 3px; color: #000; clear: both; }
div.block span 					{ font-size: 12px; }
div.block h2 					{ color: #fff; font-weight: normal; font-size: 12px; }
div.block div.subnav a.subnav 	{ display: block; width: 33%; float: left; color: #fff; overflow-x: hidden; white-space: nowrap; }
div.block div.subnav a.matches 	{ width: 24%; }
div.todays_matches 				{ margin-bottom: 10px; }
div#home_matches_live {
	background-image: url(http://cache.images.soccerway.com/new/loader_black.gif);
	background-position: top right;
	background-repeat: no-repeat;
	font-size: 12px; 
	clear: left; 
	color: #fff; 	
	}

table.grouped_by_date { margin-bottom: 15px; }
table.last { margin-bottom: 0;}


/*Logo*/
div.logo 				{ width: 50%; float: left; text-align: center; margin-bottom: 25px; }
div.logo img 			{ vertical-align: middle; }
img.team_a 				{ margin-right: 5px; }
img.team_b 				{ margin-left: 5px; }

div.team_logo			{ margin-bottom: 15px; }

h1#match_header 		{ text-align: center; }
h1#match_header span 	{ padding: 0 15px; font-size: 12px; }


/*Squad*/
table.squad 								{ margin-top: 5px; }
table.squad thead tr 						{ border-bottom: 1px solid #999; }
table.squad tbody td 						{ padding: 3px 0; }
table.squad th.event, table.squad td.event 	{ text-align: center; width: 25px; }
table.squad th.position 					{ text-align: left; font-size: 12px; }
table.squad td.area 						{ width: 25px; }
table.squad th.age, table.squad td.age 		{ text-align: center; width: 40px; }
table.squad th.age 							{ color: #222; }


/*Recent form*/
div#match_recentform div span { float: left; font-size: 11px; display: block; width: 150px; overflow-x: hidden; clear: left; }
ul.formbar { list-style-type: none; width: ; display: inline; }
ul.formbar li { overflow: hidden; float: left; height: 15px; cursor: help; margin-bottom: 3px; }
ul.formbar li span { visibility: hidden; }
ul.formbar li.win { background-color: #299629; }
ul.formbar li.draw { background-color: #CECECE; }
ul.formbar li.loss { background-color: #D03700; }



/*General matches table*/
table.matches { table-layout: fixed; }
table.matches tr.next_date { border-top: 1px solid #999; }
table.matches td { padding: 1px 0; }
table.matches td a { display: block; width: 100%; overflow: hidden; white-space: nowrap; }
table.matches td.info { width: 20px; }
table.matches td.events { width: 22px; }
table.matches tr.aggr { background-color: #ccc; }
table.matches tr.aggr td { border-bottom: 1px solid #666; padding-top: 2px; padding-bottom: 2px; }
table.matches tr.aggr td:first-child { font-weight: bold; }
table.matches td.team_a { text-align: right; padding-right: 5px; width: auto; }
table.matches td.team_b { padding-left: 5px; width: auto; }
table.matches td.comp { width: 60px; }
/*table.matches td.date { width: 66px; }*/
table.matches td.minute { width: 30px; }
table.matches td.score_time { width: 50px; text-align: center; font-weight: bold; }
table.matches td.score_time_live { width: 50px; text-align: center; font-weight: bold; background-color: #63AF62;}
table.matches td.score_time_live a:hover { background-color: #058405;}

table.matches td.highlight { background-color: #f4dcdc; }
table.matches tr.comp_row td { padding-bottom: 3px; }
table.matches tr.comp_row div { background-color: #EDEDED; font-size: 11px; border-bottom: 1px solid #999; padding: 2px; }
table.live { table-layout: auto; }


/*Match buttons (score, i)*/
a.competition_details {
	display: block;
	width: 20px;
	background-color: #ccc;
	font-weight: bold;
	text-align: center;
	float: right;
	margin-right: 2px;
}
a.competition_details:hover { background-color: #999; }
table.matches td.score_time a, table.matches td.info a, table.matches td.events a {
	background-color: #ccc;
	color: #000;
	text-align: center;
	font-weight: bold;
	display: block;
}
table.matches td.score_time a:hover, table.matches td.info a:hover, table.matches td.events a:hover {
	background-color: #999;
}
table.matches td.score_time a { width: 40px; padding: 1px 5px; }
table.matches td.info a, table.matches td.events a { width: 20px; padding: 1px 0; }


/*Events*/
table.matches td.event_icon { width: 50px; padding: 0; }
table.matches td.event_icon div {
	padding: 0;
	width: 48px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	text-align: center;
	height: 100%;
	margin: 0;
}
table.matches span.game_minute { font-weight: bold; font-size: 11px; }
table.matches tr.event_row td.team_a_event { text-align: right; padding-right: 5px; }
table.matches tr.event_row td.team_b_event { padding-left: 5px; }
table.matches tr.event_row td { padding: 0; }
table.events td { padding: 0; }
table.events td div { margin: 0; }
table.events td.icon { width: 25px; }
table.events td.a { text-align: right; }


/*Event widths*/
table.competition table.events td.team_a_event 	{ width: 210px; }
table.competition table.events td.team_b_event 	{ width: 186px; }
table.home table.events td.team_a_event 		{ width: 177px; }
table.home table.events td.team_b_event 		{ width: 219px; }
table.home td.team_a, table.home td.team_b 		{ width: 172px; }
table.live td.team_a, table.live td.team_b 		{ width: 165px; }
table.competition td.team_a 					{ width: 138px; }
table.competition td.team_b 					{ width: 138px; }
table.team td.team_a 							{ width: 113px; }
table.team td.team_b 							{ width: 112px; }


/*Season/round/group selector*/
select.selector { float: left; }
select#season_selector { width: 90px; }
select#round_selector { width: 180px; }
select#group_selector { width: 120px; }
span.selector_sep { display: block; float: left; font-size: 14px; width: 25px; font-weight: bold; text-align: center; }
fieldset#comp_nav { margin-bottom: 25px; border: 1px solid #333333; padding: 8px; padding-top: 10px; }
fieldset#comp_nav legend { background-color: #0F3F03; color: #fff; padding: 0 15px; font-size: 12px; }


/*Leaguetable*/
table.leaguetable th { padding-bottom: 5px; }
table.leaguetable td { padding-top: 2px; padding-bottom: 2px; }
table.leaguetable td.spacer { width: 7px; }
table.leaguetable td.number { text-align: center; width: 25px; }
table.leaguetable .goaldiff { text-align: right; padding-right: 5px; width: 25px; }
table.leaguetable td.goaldiff { border-left: 1px solid #999; }
table.leaguetable th.team { text-align: left; }
table.leaguetable td.rank, table.leaguetable td.delta { width: 20px; }
table.leaguetable tr.relegtop { border-top: 1px solid #999; }
table.leaguetable tr.relegbottom { border-bottom: 1px solid #999; }


/*Match statistics*/
table.goals td.minute { width: 30px; }
table.goals td.player { width: 125px; }
table.goals td.score { text-align: center; font-weight: bold; }
table.overall_records tr td:first-child { width: 40%; }
table.overall_records tr td:not(:first-child) { width: 30%; }
table.overall_records th { text-align: left; }
#playerstats_selector { width: 75px; }


/*Odds comparison*/
dl.odds_comparison dt { float: left; clear: left; width: 40%; }
dl.odds_comparison dd { float: left; width: 60%; }


/*Footer*/
div#copyright { text-align: center; font-weight: bold; color: #999; font-size: 11px; margin-top: 25px; clear: left; }
div#copyright a { color: #999; text-decoration: none; }
div#copyright a:hover { color: #444; }


/*Calendar*/
div.yui-skin-sam { padding: 0 84px; clear: both; }
div#calContainer { width: 300px; margin-bottom: 15px; }
a#cal_open { position: absolute; right: 0; }
.yui-skin-sam .yui-calendar td.calcell a { color: #555; }
.yui-skin-sam .yui-calendar td.calcell.selected,
.yui-skin-sam .yui-calendar td.calcell.selected a,
.yui-skin-sam .yui-calendar td.calcell.calcellhover,
.yui-skin-sam .yui-calendar td.calcell.calcellhover a { background-color: #7B0008; color: #fff; }
.yui-calcontainer { float: none; }



#competitions_archive th {
	text-align: left;
}
#competitions_archive td, #competitions_archive th {
	padding: 3px;
}


#players_career table td, #players_career table th {
	text-align: left;
	padding: 3px;
}
#players_career .team {
}
#players_career .competition {
	width: 25%;
}
#players_career .season {
	width: 15%;
}
#players_career .matches {
	width: 8%;
	text-align: center;
}
#players_career .goals {
	width: 8%;
	text-align: center;
}

div.clearfix {
	clear: both;
	height: 0;
}

dl.legend {
}
dl.legend dt {
	float: left;
	clear: left;
	width: 15%;
	font-weight: bold;
}
dl.legend dd {
	float: left;
	width: 80%;
}

table.matches tr.event_row a { display: inline; }


/* Client specific CSS */

a:hover { text-decoration: underline; }
div.block { padding: 0; padding-bottom: 3px; width: 468px; }
h1, h2 { font-family: Verdana, Arial; padding: 2px 5px; }
h2 { background-color: #333333; }
div.subnav { background-color: #A7A8AA; padding: 2px; }
div.subnav a { color: #fff; }
table.matches tr { border-bottom: 1px solid #ccc; }
table.matches tr.event_row { border: 0; }
table.matches td { padding-top: 2px; padding-bottom: 2px; }