











html {
  overflow-y: scroll; /* Make sure scrollbars are always displayed. */
}

body {

}
table {
  width: 100%; /* Let the table span its container's full width. */
}

a {
  text-decoration: none;
  cursor: pointer; /* Show pointer cursor for all links, even for links without a "href" attribute */
  color: black;
}
#doc4 {
  width: 1000px;
}

/**
 * Clearfix hack for containers of floating containers. For more information, see the following
 * post by Matt Snider: http://mattsnider.com/architecture/faux-columns/
 */
 
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: block;
}

/**
 * We will use definition lists as key/value tables.
 */
 
dt, dd {
  float: left;
}
dt {
  width: 30%;
  clear: left;
  font-weight: bold;
}
dd {
  width: 70%;
}

strong {
  font-weight: bold; /* Always show strong tags as bold (these are reset by YUI reset). */
}

.center {
  text-align: center;
}

h4 {
  font-weight: bold;
}

a.more {
  padding-right: 15px;
  background: url(../../img/more_gray.gif) no-repeat right center;
}

/**
 * Unfortunately, YUI doesn't offer support for our desired skyscraper column.
 */
div.small-column {
  float: left;
  width: 120px;
}
div.content-column {
  float: right;
  width: 557px;
}

.text p {
  margin-bottom: 1.5em;
}
.text p.last {
  margin-bottom: 0;
}

optgroup {
  font-weight: bold;
  padding-left: 0.2em;
}
option {
  font-weight: normal;
}

/*****************************************************************************
* Sub navigation general
*****************************************************************************/
div.subnav ul {
  list-style-type: none;
}
div.subnav li, div.subnav a {
  display: block;
  float: left;
}

/*****************************************************************************
* Main header
*****************************************************************************/
#hd {
  /* margin-bottom: 2em; */
}
#header {
/*
  background: gray url(../../img/soccerway/logo.png) no-repeat left center;
  margin-bottom: 0.2em; 
*/
  height: 90px;
  position: relative;
}
#big-localized{
  width: 1000px;
  height: 90px;

}
#top-logo {
  float: left;
  display: block;
  text-indent: -5000px;
  width: 240px;
  height: 100%;
  min-height: 65px;
}
#top-banner {
  position: absolute;
  top: 0.4em;
  right: 0.4em;
}
#top-right-banner {
  float:right;
  display:block;
  padding:0px;
  margin:0px;
}

#topbar-sport-button {
  background-repeat: no-repeat; 
  background-position: 2px 2px;
  padding-left: 15px;
	padding-right: 10px;
  border: 0; 
  background-color: transparent;
	float: left;
}

#topbar-sport-container {
  width: 16em;
  float: left;
  position: relative;
}

#topbar-current-sport-container {
  padding: 0 0.6em;
  background: url(../../img/base/arrow_down.png) no-repeat center right; 
  display: block;
/*  position: absolute;*/
}

#topbar-sport-picker {
  position: absolute;
  top: 1.8em;
  border: 1px solid #d5d3d6;
  border-top-width: 0;
  width: 16em;
  background-color: #f4f4f4;
  z-index: 10;
  text-align: left;
}

#topbar-sport-picker span  {
  display: block;
  line-height: 16px;

}
#topbar-sport-picker, #topbar-l10n-picker {
	opacity: 0.97;
}

#topbar-sport-picker li:hover, #topbar-l10n-picker li:hover {
	background-color: #666666;
	
}
#topbar-sport-picker li:hover A, #topbar-l10n-picker li:hover {
	color: white;
}	
#topbar-sport-picker ul li a {
	display: block;
	padding: 0.2em 0.6em
}

 
.sport {
	padding-left: 16px;
	background-repeat: no-repeat;
	background-position: center left;
}

.sport.soccer { background-image: url('../../img/sports/soccer-men.png'); }
.sport.american_football { background-image: url('../../img/sports/american_foot.png'); }
.sport.baseball { background-image: url('../../img/sports/baseball.png'); }
.sport.basketball { background-image: url('../../img/sports/basketball.png'); }
.sport.cricket { background-image: url('../../img/sports/cricket.png'); }
.sport.handball { background-image: url('../../img/sports/handball.png'); }
.sport.hockey { background-image: url('../../img/sports/icehockey.png'); }
.sport.motor { background-image: url('../../img/sports/motor.png'); }
.sport.rugby { background-image: url('../../img/sports/rugby.png'); }
.sport.women_soccer { background-image: url('../../img/sports/soccer-women.png'); }	 
.sport.tennis { background-image: url('../../img/sports/tennis.png'); }
.sport.squash { background-image: url('../../img/sports/squash.png'); }
.sport.volleyball  { background-image: url('../../img/sports/volley.png'); }

div#navbar-right .block_simple_block {
	margin: 0;
	padding: 0px 10px; 
}
/*****************************************************************************
* Page header
*****************************************************************************/
h1 {
  font-size: 153.9%;
  margin-bottom: 0.2em;
}
h1.hidden {
  display: none;
}
#subheading {
  margin-bottom: 2em;
}

#subheading label {
color: black;
font-size: 85%;
}

#subheading .submenu_dropdown {
  padding: 5px;
  position: absolute;
  bottom: 15px; 
  right: 0;
}

#submenu-container, #subheading > div {
  position: relative;
  background: url(../../img/base/submenu-bg.png) repeat-x;
}

#submenu {
  height: 70px;
  padding: 0;
}

#submenu label {
  float: left;
  display: block;
  padding-left: 0.7em;
  padding-right: 1em;
  color: white;
  font-weight: bold;
}

#submenu ul {
 margin: 0;
 position: absolute;
 bottom: -1px;
 left: 15px;

}

#submenu li {
  float: left;
  margin-right: 0.6em;
  margin-top: -0.2em;
  border: 1px solid transparent;

}



#submenu a {
  display: block;
  border: 1px solid transparent;
  font-size: 93%;
  padding: 0 0.6em;
  color: black;
  padding: 0.45em;
}

#submenu li.current {
  border-bottom: 0;

}



#submenu li.current a {
  background: white; /*#4f4f4f*/
  color: black;
  border: 1px solid #999999;
  border-bottom: 1px solid white;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
	
}


#submenu a:hover {
  background: white; /*#4f4f4f*/
  color: black;
  border: 1px solid #bcbabc;
   border-bottom: 0;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
}


#submenu a:hover
{

}

#submenu li.current a {
 font-weight: bold;
}


.block_news_article h1 {
  display: block;
}



/*****************************************************************************
* Search
*****************************************************************************/


.search-results .meta {
  color: #666;
  font-size: 93%;
}

.advanced-options {
  font-size: 93%;
  margin-top: 1.5em;
}
.advanced-options dt, .advanced-options dd {
  margin-bottom: 0.5em;
}
.advanced-options dt {
  width: 35%;
}
.advanced-options dd {
  width: 65%;
}
.advanced-options select {
  max-width: 100%;
}

/*****************************************************************************
* Main menu
*****************************************************************************/
#menu {
  background: black url(../../img/menu_bg.gif) repeat-x;
  margin-bottom: 1px;
  width: 100%;

  margin-top: 1px;
}
#menu a {
  height: 2.5em;
  color: white;
  line-height: 2.5em;
  padding: 0 1.6em;
  font-weight: bold;
  text-transform: uppercase;

}
#menu a:hover, #menu li.selected a {
  color: #ff3301;
}
#menu li {
  position: relative;
  border-right: 1px solid #333;

}
#menu .has-dropdown a {
  float: left;
  padding-right: 3em;
}
#menu .has-dropdown a.dropdown-button {
  float: right;
  width: 3em;
  border: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  text-indent: -5000px;
  background-image: url(../../img/arrow_down_white.png);
  background-repeat: no-repeat;
  background-position: center center;
}
#menu .has-dropdown a.dropdown-button:hover, #menu .has-dropdown a.active {
  background-image: url(../../img/soccerway/arrow_down.png);
}
#menu div.dropdown {
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  height: 20em;
  position: absolute;
  top: 2.5em;
  left: 0;
  z-index: 99;
  background: white;
  border: 1px solid gray;
}
#menu div.dropdown ul {
  z-index: 1000;
}
#menu div.dropdown li {
  float: none;
  z-index: 1000;
  position: static;
}
#menu div.dropdown a {
  font-size: 85%;
  float: none;
  text-transform: none;
  padding: 0.1em 0.5em;
  line-height: normal;
  border-color: transparent;
  font-weight: normal;
  overflow-x: hidden;
  white-space: nowrap;
  height: auto;
  color: black;
  cursor: default;
}
#menu div.dropdown a:hover {
  background: #001899;
  color: white;
}
#menu div.dropdown .group-head div {
  padding: 0.1em 0.5em;
  font-weight: bold;
  cursor: default;
  font-size: 85%;
  background: #ccc;
}
#menu div.cal-dropdown {
  width: 25em;
  height: auto;
  overflow-x: hidden;
  overflow-y: hidden;
}
#menu div.dropdown h2 {
  color: #ff3301;
  text-transform: uppercase;
  padding: 0.2em 0.5em 0 0.5em;
}
#menu div.cal-dropdown .calendar-container {
  background: #F4F4F4;
  border-top: 1px solid #d5d3d6;
  padding: 0.7em;
}

/*****************************************************************************
* User bar
*****************************************************************************/
#userbar {
  background: #ccc;
  padding: 0.2em 0.5em;
  font-size: 93%;
  height: 1.8em;
}
#userbar-search {
  float: left;
  width: 30%;
}
#userbar-account {
  width: 29%;
  float: left;
  text-align: right;
  padding-left: 0.7em;
  padding-top: 0.1em;
}
#userbar-l10n {
  width: 38%;
}
#userbar-l10n {
  float: right;
  padding-right: 0.7em;
}
#userbar dl {
  float: left;
  clear: none;
}
#userbar dt, #userbar dd {
  width: auto;
}
#userbar dt {
  padding-right: 0.3em;
  clear: none;
}
/*#userbar-l10n-edit dt, #userbar-l10n-view dt, #userbar-l10n-view dd, .pane .button {
  margin-top: 0.2em;
}*/
#userbar dd {
  margin-right: 1em;
}
#userbar select {
  font-size: 93%;
}
#userbar .timezone select {
  width: 15em;
}
#userbar .language select {
  width: 7em;
}
#userbar .button {
  float: left;
}
#userbar .submit {
  float: left;
  margin-right: 0.7em;
}
#userbar p {
  float: left;
  margin-right: 1em;
/*  margin-top: 0.2em;*/
}
#userbar div.userbar-content {
  background: transparent;
  padding-top: 0.2em;
}
#userbar-l10n div.userbar-content {
  float: right;
}
#userbar label.local-time-label {
  vertical-align: top;
}
#userbar form select, #userbar input.submit {
  margin-top: -0.2em;
}

/*****************************************************************************
* Standard block
*****************************************************************************/
div.block {
  margin-bottom: 1.5em;
  position: relative;
}
div.block h2, div.block h2 a {
  color: #ff3301;
  text-transform: uppercase;
  font-size: 123.1%;
}
div.block h2 a {
  font-size: 100%;
  padding-right: 1em;
  background: url(../../img/soccerway/more.gif) no-repeat center right;
}


div.block div.content {
  border-top: 1px solid #d5d3d6;
  background: #f4f4f4;
  padding: 0.7em 0 0 0;
  position: relative;
}
div.block_competition_odds_iframe-wrapper div.content, div.block_match_odds_iframe-wrapper div.content {
  padding: 0px;
  border: 0px;
  margin-top: -10px;
}


div.block .block-content p {
  padding: 0 0.7em;
}
div.block div.plain {
  background: white;
}
div.block div.subnav {
  padding: 0 0.8em;
  margin-bottom: 0.3em;
}
div.block div.subnav-last {
  margin-bottom: 1em;
}
div.block div.subnav label {
  float: left;
  padding-right: 0.8em;
  color: #4f4f4f;
}
div.block div.subnav ul {
  float: left;
  font-size: 93%;
}
div.block div.subnav li {
  margin-right: 0.8em;
}
div.block div.subnav li.disabled span {
  color: #999;
  padding: 0.1em 0.4em;
  cursor: default;
}
div.block div.subnav a {
  color: #4f4f4f;
  padding: 0.1em 0.4em;
}
div.block div.subnav a:hover, div.block div.subnav li.selected a {
  background: #4f4f4f;
  color: white;
}
div.block .left table {
  border-right: 1px solid #d3d3d3;
}
h3.thick {
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 0.6em;
  margin-bottom: 0.2em;
}
div.block .fully-padded {
  padding: 0 0.8em 0.7em 0.8em;
}
div.block .sides-padded {
  padding-left: 0.8em;
  padding-right: 0.8em;
}
div.block-nomb {
  margin-bottom: 0;
}
div.block div.container {
  width: 50%;
}
div.block div.left {
  float: left;
}
div.block div.right {
  float: right;
}
div.block .fixed-height {
  overflow-y: auto;
  overflow-x: hidden;
}
div.block .top-right {
  position: absolute;
  top: 0.2em;
  right: 0;
  font-size: 85%;
}

div.subnav-has-multiple div.subnav-has-label ul, div.block_team_matches_summary div.subnav-has-label ul {
  width: 85%;
}
div.subnav-has-multiple div.subnav label, div.block_team_matches_summary div.subnav label {
  padding-right: 0;
  width: 15%;
}

div.block .top-right .previous {
  margin-right: 1.5em;
}


.top-right .top-right-button
{
  display: block;
  background-color: transparent;
  color: black;
  padding: 2px 6px;
  margin: 0px;
  float:right;
}     
      
.top-right .selected
{
  background-color: gray;
  color: white;
}   

/*****************************************************************************
* Debug block
*****************************************************************************/
#debug {
  border: 0.38em solid #f00;
  text-align: left;
  margin: 0 auto;
  margin-top: 0.77em;
  margin-bottom: 1em;
  width: 74.3em;
}
#debug h3 {
  background-color: #f00;
  color: #fff;
  border-bottom: 0.38em solid #f00;
  font-weight: bold;
}
#debug fieldset {
  margin-bottom: 1em;
}
#debug fieldset:last-child {
  margin-bottom: 0;
}
#debug legend {
  padding: 0.38em;
  padding-left: 1.8em;
  font-weight: bold;
  cursor: pointer;
  background: url(../../img/icon_collapse.gif) no-repeat 0.5em center;
}
#debug fieldset.collapsed div.fieldset-content {
  display: none;
}
#debug fieldset.collapsed legend {
  background-image: url(../../img/icon_expand.gif);
}
#debug pre {
  padding: 0.38em;
  width: 100%;
}
#debug .query {
  border: 1px solid #999;
  padding: 0.2em;
  background-color: #ccc;
  margin: 0 0.5em;
  margin-bottom: 1em;
}

/*****************************************************************************
* Tables general
*****************************************************************************/
tr.odd {
  background: white;
}
tr.even {
  background: #f4f4f4;
}
table thead tr {
  display: none;
}
.table thead tr.main-head, .table thead tr.sub-head {
  display: table-row;
}
table thead tr.main-head a {
  color: white;
}
.table thead tr.main-head {
  background: black;
}
.table thead tr.main-head th {
  color: white;
  font-size: 93%;
  padding: 0.1em 0;
}
.table thead tr.sub-head th {
  color: black;
  font-weight: bold;
}
.table td, .table th {
  padding: 0.2em;
  font-size: 93%;
}
.table .large-link {
  font-size: 100%;
}
.table .large-link a {
  color: black;
}
.table .large-link a:hover {
  color: #666;
}
.table tfoot td {
  text-align: left;
}

table tr.group-head {
  display: table-row;
}
table tr.group-head th {
  padding: 0;
}
table tr.group-head th, div.group-head {
  font-weight: bold;
  border: 1px solid #D5D3D6;
  border-width: 1px 0;
  background: white;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
}
.group-head h3 {
  font-weight: bold;
}

/*****************************************************************************
* Sortable
*****************************************************************************/
.sortable .sortcol {
  cursor: pointer;
}
.sortable .nosort {
  cursor: default;
}
.sortable .sortasc {
  background: #999;
}
.sortable .sortdesc {
  color: white;
  background: #666;
}

/*****************************************************************************
* League tables
*****************************************************************************/
.leaguetable .large-link a:hover {
  color: #444;
}
.leaguetable td, .leaguetable th {
  text-align: center;
}
.detailed-table td, .detailed-table th {
  padding: 0.2em;
}
.detailed-table td, .detailed-table th, x:-moz-any-link { padding: 0.2em 0; }
.detailed-table td, .detailed-table th, x:-moz-any-link, x:default { padding: 0.2em; }


.leaguetable .team, .leaguetable .direction {
  text-align: left;
}
.leaguetable .team {
  width: 25%;
}
.leaguetable .number {
  width: 3%;
}
.leaguetable .direction {
  width: 3%;
  text-align: center;
}
.leaguetable .gd {
  width: 4%;
  padding-left: 1em;
}
.leaguetable .gd, x:-moz-any-link { padding-left: 0.5em; }
.leaguetable .gd, x:-moz-any-link, x:default { padding-left: 1em; }

.leaguetable .points {
  width: 4%;
  font-weight: bold;
}

.leaguetable .ga, .block_competition_league_table .points {
  width: 5%;
  border-right: 1px solid #d5d3d4;
  padding-right: 0.8em;
}
.leaguetable .ga, .block_competition_league_table .points, x:-moz-any-link { padding-right: 0em; }
.leaguetable .ga, .block_competition_league_table .points, x:-moz-any-link, x:default { padding-right: 0.8em; }

.wide .won, .leaguetable .total_won {
  padding: 0.2em;
}
.leaguetable .mp {
  border-left: 1px solid #d5d3d4;
}
.leaguetable .mp, x:-moz-any-link { padding-left: 0.4em; }
.leaguetable .mp, x:-moz-any-link, x:default { padding-left: 0.8em; }

.leaguetable tr.odd td.total, .leaguetable tr.odd td.away {
  background: #dadada;
}
.leaguetable tr.even td.total, .leaguetable tr.even td.away {
  background: #e0e0e0;
}
.leaguetable td.compare {
  padding: 0;
  width: 5%;
}
.leaguetable .compare-button {
  float: right;
}

.block_competition_league_table .number {
  width: 4.5%;
}
.block_competition_league_table .gd, .block_competition_league_table .points {
  width: 6%;
}

.block_competition_league_table .ga {
  border-right: none;
  padding-right: 0.2em;
}
.block_competition_league_table .ga, x:-moz-any-link { padding-right: 0; }
.block_competition_league_table .ga, x:-moz-any-link, x:default { padding-right: 0.2em; }

.block_competition_league_table .gd {
  padding-left: 0.2em;
}
.block_competition_league_table .gd, x:-moz-any-link { padding-left: 0; }
.block_competition_league_table .gd, x:-moz-any-link, x:default { padding-left: 0.2em; }

.block_competition_league_table tr.even td.total {
  background-color: #f4f4f4;
}
.block_competition_league_table tr.odd td.total {
  background-color: #fff;
}

.block_league_table_small .leaguetable .mp {
  border-left: none;
  padding: 0.2em;
}
.block_league_table_small .leaguetable .gd {
  padding: 0.2em;
}
.block_league_table_small tr.even td.total {
  background-color: #f4f4f4;
}
.block_league_table_small tr.odd td.total {
  background-color: #fff;
}

.leaguetable tr.hover td {
  background-color: #ffe2dc;
}
.leaguetable tr.hover td.total, .leaguetable tr.hover td.away {
  background: #e4c7bf;
}
.block_competition_league_table_small .leaguetable tr.hover td, .block_competition_league_table .leaguetable tr.hover td {
  background-color: #ffe2dc;
}

.block_league_table_small .leaguetable tr.highlight td, .block_competition_league_table .leaguetable tr.highlight td {
  background-color: #FFCABF;
}
.leaguetable tr.marked_team {
  background-color: #288304 !important;
}
.leaguetable tr.marked_team td {
  background-color: #288304 !important;
}

.leaguetable tfoot td {
  padding: 1em 0.7em 0.7em 0.7em;
}
.leaguetable .deductions a {
  color: #ff3301;
}
.leaguetable h3 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.3em;
  color: black;
}





/*****************************************************************************
* Form
*****************************************************************************/
.leaguetable tr.sub-head th.form, .leaguetable tbody td.form {
  padding-left: 10px;
  padding-right: 10px;
  border-right: 1px solid #d5d3d4;
  width: 20%;
}
.form-icon {
  width: 16px;
  height: 15px;
  float: left;
  background-repeat: no-repeat;
  background-position: center center;
  margin-right: 2px;
  text-indent: -5000px;
}
.form-win {
  background-image: url(../../img/form_win.gif);
}
.form-draw {
  background-image: url(../../img/form_draw.gif);
}
.form-loss {
  background-image: url(../../img/form_loss.gif);
}
.leaguetable td.form .last {
  margin-right: 0;
}

/*****************************************************************************
* Overunder tables
*****************************************************************************/

.overundertable .number {
  width: 5%;
}

.overundertable .mp {
  border-left: 1px solid #d5d3d4;
  border-right: none; 
  /*background: black;*/
}

.overundertable .zero-goals {
  padding-left: 0.8em;
  border-left: none;
}

.overundertable .avg-goals {
  padding-left: 0.8em;
  padding-right: 0.8em;
  border-left: 1px solid #d5d3d4;
}



/*****************************************************************************
* Rank & zones
*****************************************************************************/
td.rank {
  text-align: center;
  font-weight: bold;
  color: white;
  background-image: url(../../img/rank_default.gif);
  background-repeat: no-repeat;
  background-position: center center;
  font-size: 12px;
  width: 5%;
  padding: 0;
}

div.zone-legend-line {
  margin-bottom: 0.5em;
}
div.zone-legend-item-container {
  width: 25%;
  float: left;
}
div.zone-legend-item
{
  padding-left: 22px;
  margin-right: 1em;
  color: #666;
  background-repeat: no-repeat;
  background-position: top left;
}

  td.rank-red, div.legend-red {
    background-image: url(../../img/rank_red.gif);
  }
  
  td.rank-orange, div.legend-orange{
    background-image: url(../../img/rank_orange.gif);
  }
  
  td.rank-dark-green, div.legend-dark-green{
    background-image: url(../../img/rank_dark-green.gif);
  }
  
  td.rank-light-green, div.legend-light-green{
    background-image: url(../../img/rank_light-green.gif);
  }
  
  td.rank-dark-blue, div.legend-dark-blue{
    background-image: url(../../img/rank_dark-blue.gif);
  }
  
  td.rank-light-blue, div.legend-light-blue{
    background-image: url(../../img/rank_light-blue.gif);
  }



/*****************************************************************************
* Player tables
*****************************************************************************/
.playerstats h3 {
  margin-bottom: 1em;
}
.playerstats .player, .playerstats .team {
  text-align: left;
}
.playerstats .player {
  padding-left: 0.8em;
}
.playerstats .shirtnumber {
  padding-left: 0.5em;
  width: 5%;
  text-align: right;
  vertical-align: top;
  padding-top: 0.3em;
}
.playerstats .player img {
  vertical-align: middle;
}
.playerstats .team {
  width: 35%;
}
.playerstats .number {
  width: 1.75em;
  text-align: center;
}
.playerstats .bookings {
  width: 28%;
  padding-right: 0.5em;
}
.playerstats .bookings img {
  vertical-align: middle;
}
.playerstats td.bookings {
  font-size: 85%;
}
.substitutions td.bookings {
  vertical-align: top;
}
.playerstats .first-goals, .playerstats .points {
  width: 9%;
  padding-right: 0.5em;
}
.playerstats .season {
  padding-left: 0.5em;
  width: 12%;
}
.playerstats tfoot td {
  padding: 0.8em 0.8em 0.2em 0.8em;
}
.playerstats .position {
  width: 13%;
}
div.block_competition_playerstats h3 {
  margin-bottom: 1em;
}
div.block_match_lineups h3 {
  margin-top: 2em;
  margin-bottom: 1em;
}
.lineups thead {
  display: none;
}
.block_match_lineups .substitute-out {
  font-size: 85%;
}
.block_match_lineups .substitute-out, .block_match_lineups .substitute-out a {
  color: #666;
}
.block_match_lineups .substitute img {
  vertical-align: middle;
}
.block_match_lineups .substitute-out img {
  margin-right: 0.3em;
}
.career td.number {
  color: #999;
}
.career td.available {
  color: black;
}

.block_comparison_players h4 {
  padding: 0.5em;
}

/*****************************************************************************
* Matches
*****************************************************************************/
table.matches tr.odd {
  background-color: #fff;
}
table.matches tr.even {
  background-color: #f4f4f4;
}
table.matches td.outcome {
  width: 16px;
}
table.matches a.form-icon {
  margin: 0;
}
table.matches th, table.matches td {
  padding: 0.1em 0.4em;
  font-size: 93%;
}
table.matches .day {
  width: 35px;
}

table.matches .date {
  width: 70px;
}
table.matches .competition {
  /* width: 9.5em; */
}
table.matches .team {
   width: 145px;
}


table.matches .team-a {
  text-align: right;
  padding-right: 0.7em;
}
table.matches .team-b {
  text-align: left;
  padding-left: 0.7em;
}
table.matches .score-time {
   width: 75px;
  padding: 0;
}
table.matches .score-time a, table.matches tr.aggr .score-time {
  display: block;
  text-align: center;
  color: black;
  font-weight: bold;
  padding: 0.17em 0;
}
table.matches .button {
  width: 18px;
  padding: 0;
  padding-right: 0.4em;
}
table.matches .button a {
  display: block;
  width: 16px;
  height: 15px;
  background-repeat: no-repeat;
  background-position: 0 0;
  text-indent: -5000px;
  float: right;
}
table.matches .minute {
  padding-left: 0.5em;
  font-size: 93%;
  font-weight: bold;
}
table.matches .strong a {
  font-weight: bold;
}
table.matches .events-button a {
  background-image: url(../../img/events_icon.gif);
}
table.matches .events-button a:hover {
  background-position: -17px 0;
}
table.matches .events-button a.expanded {
  background-position: 0 -16px;
}
table.matches .events-button a.expanded:hover {
  background-position: -17px -16px;
}
table.matches .info-button a {
  background-image: url(../../img/soccerway/info_icon.gif);
}
table.matches .info-button a:hover, table.matches .info-button a:active {
  background-position: 0 -16px;
}

table.matches tr.odd .score-time a, table.matches tr.aggr-odd .score-time {
  background-color: #e0e0e0;
}

table.matches tr.even .score-time a, table.matches tr.aggr-even .score-time {
  background-color: #dadada;
}

table.matches tr.even .score-time a.result-win, table.matches tr.odd .score-time a.result-win {
  background-color: #7bba6b;
}

table.matches tr.even .score-time a.result-draw, table.matches tr.odd .score-time a.result-draw {
  background-color: #f3b578;
}
table.matches tr.even .score-time a.result-loss, table.matches tr.odd .score-time a.result-loss {
  background-color: #f66f6b;
}

table.matches td.score-time a:hover {
  background-color: #bbb;
}
table.matches td.score-time a.result-loss:hover {
  background-color: #f35555;
}
table.matches td.score-time a.result-draw:hover {
  background-color: #f09a4e;
} 
table.matches td.score-time a.result-win:hover {
  background-color: #5ca54b;
}
table.matches tr.empty-row td {
  padding: 0.15em 0;
}
table.matches tr.clickable {
  cursor: pointer;
}
table.matches tr.aggr .aggr {
  font-weight: bold;
}
table.matches tfoot td {
  font-size: 100%;
  padding: 0.7em;
  padding-top: 1em;
  color: #444;
}
table.matches th.odds {
  text-align: center;
}
table.matches td.odds {
  text-align: center;
}

.submenu_dropdown .block_match_other_matches {
  
}

.block_team_matches_summary td.team {
  width: 13em;
}

.block_match_other_matches .date {
  font-weight: bold;
}
.block_match_other_matches .odd {
  background: white;
}
.block_match_other_matches .selected a {
  font-weight: bold;
}
.block_match_other_matches .time {
  color: #666;
}
.block_match_other_matches select {
  width: 175px;
}
table.grouped tr.match, table.matches tr.event, table.matches tr.round-head {
  display: none;
}
table.matches tr.expanded {
  display: table-row;
}

table.date_matches tr.hover th {
  background: #f4f4f4;
}
table.date_matches tr.expanded th {
  background: #4F4F4F; /*#F04416*/
  color: white;
}
table.date_matches th.num-matches {
  text-align: center;
  font-weight: normal;
  width: 1.5em;
  color: #999;
  font-size: 93%;
}
table.date_matches tr.round-head th {
  background: white;
  color: black;
}
table.date_matches th.competition-link {
  width: 1.3em;
  padding: 0;
  padding-right: 0.4em;
}
table.date_matches th.competition-link a {
  padding-right: 0.5em;
  display: block;
  background: url(../../img/more_gray.gif) no-repeat center center;
  width: 15px;
  height: 15px;
  float: right;
}
table.matches tr.expanded th.competition-link a {
  background-image: url(../../img/more_white.png);
}
table.date_matches th.competition-link span {
  display: none;
}
table.date_matches tr.first td {
  padding-top: 0.3em;
}

table.matches tr.highlight td {
  background: #ffe2dc;
}
table.matches tr.highlight td.score-time a {
  background-color: #e4c7bf;
}

.score-addition {
  visibility: hidden;
  color: #ff3301;
}
.score-addition-left {
  padding-right: 0.2em;
}
.score-addition-right {
  padding-left: 0.2em;
}
.addition-visible {
  visibility: visible;
}

.pagination {
  font-size: 93%;
  margin-bottom: 0.5em;
}
.pagination a {
  color: black;
  font-weight: normal;
}

.pagination .nav_description, .navigation .previous, .navigation .next {
 font-size: 93%;
}

.pagination .previous {
  margin-left: 0.7em;
}
.pagination .next {
  margin-left: 0.7em;
}
.pagination a.disabled {
  cursor: default;
  color: #CDCDCD;
  background-position: 0 -42px;
}
.pagination a.disabled:hover {
  color: #eee;
}
table.date_matches tr.group-sub-head th {
  font-weight: bold;
  background: none;
  color: black;
}

div.block_player_matches .team, div.block_venue_matches .team {
  width: 10em;
}
table.matches th.player-events, table.matches td.player-events {
  padding-left: 1em;
  width: 7em;
  font-size: 85%;
}
table.matches th.attendance, table.matches td.attendance {
  text-align: right;
  width: 10em;
  font-size: 85%;
  color: #666;
}
table.matches .player-events img {
  vertical-align: middle;
}
table.matches .player-events span.role {
  color: #666;
}

table.matches tr.gameweek-head th {
  font-weight: bold;
  border: 1px solid #D5D3D6;
  border-width: 1px 0;
  background: white;
  padding: 0.5em;
}

.block_match_team_matches table.matches .team {
  width: 13.25em;
}

table.matches tr.live th {
  background: #ffe2dc;
}

table.matches tr.live.expanded th {
  background: #4F4F4F;
}

table.matches tr.live th h3 {
  background: url(../../img/live.png) no-repeat center right;
}
table.matches tr.live.expanded th h3 {
  background: transparent;
}


/*****************************************************************************
* Events
*****************************************************************************/
table.matches tr.loading td.loading-icon span {
  display: none;
}
table.matches tr.loading td.loading-icon {
  background: url(../../img/loading_white.gif) no-repeat center center;
}
table.matches tr.loading div {
  height: 22px;
}
table.matches tr.loading {
  display: table-row;
}
table.matches tr.loading .event-icon div {
  border-color: transparent;
}
table.matches tr.event .player, table.matches tr.event .player a {
  color: #666;
}
table.matches tr.event .player-a {
  text-align: right;
  padding-right: 0.7em;
}
table.matches tr.event .player-b {
  padding-left: 0.7em;
}
table.matches tr.event td {
  padding: 0;
  line-height: 1.25em;
}
table.matches tr.event td div {
  padding: 0.1em 0;
}
table.matches tr.event .event-icon div {
  text-align: center;
  border-width: 0 1px;
  border-style: solid;
  color: #444;
}
table.matches tr.first-other td div {
 padding-top: 1em; 
}
table.matches tr.first-event td div {
  padding-top: 0.5em;
}
table.matches tr.last-event td div {
  padding-bottom: 0.5em;
}
table.matches tr.odd .event-icon div {
  border-color: #e0e0e0;
}
table.matches tr.even .event-icon div {
  border-color: #dadada;
}
table.matches tr.event .event-minute {
  color: black;
}
table.events td div {
  padding: 0.2em;
  color: black;
}
table.events tr.event .event-icon div {
  border-color: #dadada;
  color: black;
}
table.events .player {
  width: 44.5%;
}
.block_match_goals table.matches tr.event td.player {
  font-size: 100%;
}
.block_match_goals table.matches tr.event td.player a {
  color: black;
}

table.matches td {
  line-height: 1.25em;
}
table.date_matches tr.last td {
  padding-bottom: 0.3em;
}

/*****************************************************************************
* Squad
*****************************************************************************/
table.squad .competition {
  text-align: center;

}

table.squad .photo {
  width:22px;
  padding-right: 0.2em; 
}

table.squad .name {
  padding-left: 0.5em;
}

table.squad .shirtnumber {
  width: 1.8em;
  padding-right: 0.5em;
  text-align: right;
}

table.squad .position {
  width: 1em;
}
table.squad td.position {
  font-size: 93%;
}

table.squad .number {
  text-align: center;
}

table.squad .flag {
  padding-left: 4px;
  padding-right: 4px; 
  width:16px;
}

table.squad .age {
  width: 3em;
}

table.squad .statistic {
  width: 1.75em;
  color: #999;
  text-align: center;
}
table.squad .game-minutes {
  width: 3em;
  text-align: right;
  padding-right: 0.4em;
}

table.squad .status {
  width: 2em;
}
table.squad .status acronym {
  font-size: 93%;
}
table.squad .status p {
  text-align: center;
}

table.squad .available {
  color: black;
}

table.squad .position-heading {
  color: black;
  font-weight: bold;
}

table.squad .position-footing {
  background-color: white;
}

table.squad .date {
  width: 9em;
}

table.squad .in-out {
  width: 20px;
  text-align: center;
}


/*****************************************************************************
* Competition left tree
*****************************************************************************/
ul.left-tree a {
  color: black;
	font: 11px arial,helvetica,clean,sans-serif;
	font-weight: 400;
}
ul.left-tree li.odd {
  background-color: #f4f4f4;
}
ul.left-tree li {
  list-style-type: none;
  margin-bottom: 0.2em;
  margin-left: 0.2em;
}
ul.left-tree li.current a{
  font-weight: 700;
}
ul.left-tree li.current ul {
  font-weight: 400;
}
ul.left-tree ul.expanded li a{
  font-weight: 700;
}
ul.left-tree li.expanded {
  list-style-type: none;
}
ul.left-tree li ul.level-1 li {
	margin-left: 1.6em;
	color: #666666;
}
ul.left-tree li ul.level-1 li ul li {
	margin-left: 0.4em;
}
ul.left-tree li ul.level-1 li ul li ul li {
	margin-left: 0.4em;
}


ul.left-tree li ul.level-1 li a {
	color: #666666;
}

ul.left-tree li.expanded a {
	font-weight: bold;
}

ul.left-tree li ul.level-1 li.current a {
	color: #ff3300;
}

ul.left-tree li ul.level-1 li.leaf a {
	color: #666666;
}

ul.left-tree li ul.level-1 li.leaf.current a {
	color: #ff3300;
}

ul.left-tree ul {
  display: none;
}
ul.left-tree ul.expanded {
  display: block;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
ul.left-tree li.leaf {
  list-style-image: none;
  list-style-type: none;
  margin-bottom: 0em;
}

/*****************************************************************************
* Competition tree
*****************************************************************************/
ul.tree a {
  color: black;
}
ul.tree li.odd {
  background-color: #f4f4f4;
}
ul.tree li {
  list-style-type: disc;
  list-style-image: url(../../img/soccerway/arrow_right.png);
  margin-bottom: 0.2em;
  margin-left: 1.5em;
}
ul.tree li.current {
  font-weight: bold;
}
ul.tree li.current ul {
  font-weight: normal;
}
ul.tree li.current ul {
  /* font-weight: bold; */
}
ul.tree li.expanded {
  list-style-image: url(../../img/soccerway/arrow_down.png);
}
ul.tree ul {
  display: none;
}
ul.tree ul.expanded {
  display: block;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
ul.tree li.leaf {
  list-style-image: none;
  list-style-type: none;
  margin-bottom: 0em;
}

.competitions_tree .row {
  clear: both;
  margin-bottom: 1em;
}
.competitions_tree .last {
  margin-bottom: 0;
}
.competitions_tree .column {
  float: left;
  width: 50%;
}

.block_competition_tree .archive-link {
  font-weight: normal;
  font-size: 93%;
  color: #444;
}

.block_team_fansites li {
  width: 45%;
  float: left;
}

/*****************************************************************************
* Team & match info
*****************************************************************************/
.website {
  margin-bottom: 1em;
}
.logo {
  background: white;
  padding: 0.5em;
  margin: 0 auto;
  width: 150px;
  border: 1px solid #D5D3D6;
  margin-bottom: 1em;
}

.block_match_editorial p {
  margin-bottom: 0.7em;
}

/*****************************************************************************
* News
*****************************************************************************/
table.news {
  font-size: 93%;
  table-layout: fixed;
}
table.news a {
  color: #ff3301;
}
table.news .date, table.news .time {
  width: 20%;
  vertical-align: top;
}
table.news .title {
  width: 80%;
}

.block_news_article {
  text-align: justify;
}
.block_news_article h1 {
  font-size: 189%;
  margin-bottom: 0.2em;
  text-align: left;
}
.block_news_article .photo {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
  background: black;
  color: white;
  border: 1px solid black;
  font-size: 85%;
  max-width: 250px;
  text-align: center;
}
.block_news_article .photo .description {
  padding: 0.1em 0.4em;
  text-align: left;
}
.block_news_article p {
  margin-bottom: 1.5em;
}
.block_news_article a {
  text-decoration: underline;
}
.block_news_article p.meta {
  color: #ff3301;
  font-weight: bold;
  margin-bottom: 1.5em;
}
.block_news_article .author {
  color: #ff3301;
  font-weight: bold;
}

.block_news_date .time {
  padding-left: 0.5em;
  width: 5em;
  color: #666;
}
.block_news_date .num-comments {
  width: 2em;
  text-align: right;
  background-image: url(../../img/comments.png);
  background-repeat: no-repeat;
  background-position: left center;
}
.block_news_date .num-comments a {
  color: #999;
  padding-left: 15px;
}
.block_news_date .num-comments a.available {
  color: black;
}
.mainstory img {
  margin-bottom: 0.5em;
}
.mainstory-link {
  display: block;
  font-weight: bold;
  font-size: 123.1%;
  margin-bottom: 0.1em;
}
.small-story {
  font-size: 93%;
  min-height: 50px;
}

.small-story-thumb {
  float: left;
  display: block;
  margin-right: 5px;

  
}

.mainstory {
  /* margin-bottom: 1em; */
}

.home_news_topstories_container {
  margin-top: -0.5em; 
  margin-bottom: -0.5em;
}

.home_news_topstories_container li {
  padding-bottom: 0.5em; 
  padding-top: 0.5em;
  margin-top: 0.5em; 
  margin-bottom: 0.5em;
  clear: both;
}

.home_news_topstories_container li span {
  vertical-align:middle; 
  line-height: 123.1%; 
  background: #4F4F4F none repeat scroll 0 0;
  color:white; 
  font-size:13px; 
  font-weight:normal; 
  padding: 0.1em 0.4em; 
  margin-right: 0.4em;
}


.home_news_topstories_container li .small_story {
  margin-top: 0.3em; 
  margin-bottom: 0.3em; 
  min-height:50px;
}

.home_news_topstories_container li .small_story a {
  padding: 0.4em; 
  padding-top:0; 
  padding-left:0; 
  float: left;
}

.home_news_topstories_container li .small_story a img {
  border:1px solid black;
  width: 90px;
  height: 51px;
}

.home_news_container {
  background: white;
}
.home_news_container ul {
  padding-left: 1.2em;
}
.home_news_container li {
  list-style-type: disc;
  list-style-image: url(../../img/soccerway/arrow_right.png);
}

.home_news_container .small-story {
  color: #444;
}
.home_news_container ul a {
  font-size: 93%;
  color: black;
}
div.content-column div.logo {
  width: 100px;
}
div.content-column div.logo img {
  width: 100px;
  height: 100px;
}

.feed-link
{
  padding-left: 18px;
  vertical-align: center;
  background: url(../../img/feed_icon.png) no-repeat 0px 0px;
  line-height: 16px;
} 




/*****************************************************************************
* Comments
*****************************************************************************/
.block_news_comments .odd {
  background: white;
}
.comment {
  padding: 1em;
}
.comment .username {
  color: black;
  font-weight: bold;
  float: left;
}
.comment .posted-at {
  color: #ff3301;
  font-size: 85%;
  float: right;
}
.comment .body {
  clear: both;
}
.comment .body p {
  margin-bottom: 1.5em;
  text-align: justify;
  overflow-x: hidden;
}
.comment .body p.last {
  margin-bottom: 0;
}
.comment .body .removed {
  font-size: 93%;
  color: #f00;
}

/*****************************************************************************
* Popular
*****************************************************************************/
ol.popular, ol.popular li {
  list-style-type: decimal;
  list-style-position: outside;
}
ol.popular li {
  margin-left: 2em;
}

/*****************************************************************************
* Passport
*****************************************************************************/
.block_person_passport dt {
  width: 35%;
}
.block_person_passport dd {
  width: 65%;
}

/*****************************************************************************
* Calendar
*****************************************************************************/
.calendar {
  width: 100%;
}
.calendar .weekbox {
  clear: left;
}
.calendar .daybox {
  float: left;
  width: 13.3%;
  text-align: center;
  margin: 0.1em;
  cursor: pointer;
  padding: 0.3em 0;
}
.calendar .dayinmonth {
  background: white;
}
.calendar .dayselected {
  font-weight: bold;
  cursor: default;
  background: #F34419;
  color: white;
}
.calendar .endweek {
  float: left;
}
.calendar .calprevmonth {
  float: left;
}
.calendar .calnextmonth {
  float: right;
}
.calendar .caltitle {
  text-align: center;
  padding: 0.2em;
}
.calendar .calcontrol {
  cursor: pointer;
  padding: 0.2em;
}
.calendar .calclose, .calendar .calprevyear, .calendar .calnextyear {
  display: none;
}

/*****************************************************************************
* Compare statistics
*****************************************************************************/
.compare thead tr.sub-head {
  display: table-row;
}
.compare .competition {
  text-align: center;
}
.compare .main {
  padding: 0.2em;
}
.compare .number {
  text-align: center;
  width: 32%;
}
.compare .title {
  padding-left: 0.5em;
}
.compare tr.first th, .compare tr.first td {
  padding-top: 0.3em;
}
.compare tr.last th, .compare tr.last td {
  padding-bottom: 0.3em;
}

/*****************************************************************************
* Live search
*****************************************************************************/
.block_news_related, .block_home_competitions {
  font-size: 85%;
}
.small-list li.even {
  background: #f4f4f4;
}
.small-list li.odd {
  background: white;
}
.small-list li {
  padding: 0.2em 0em;
}

.block_news_related .small-list {
  margin-bottom: 1em;
}
.block_news_related .last {
  margin-bottom: 0;
}


/**
 * Media: videos and photos
 */
div.mediaOverview {
}
	div.mediaOverview div div.media {
		float: left;
	}
		div.mediaOverview div div.media a {
			display: block;
			width: 140px;
			height: 138px;
			margin: 0 0px 15px 0;
			padding: 8px 3px;
			font-size: 11px;
			text-align: center;
			border: 1px solid #fff;
			color: #444;
			overflow: hidden;
		}
		div.mediaOverview div div.media a:hover {
			background-color: #E6B099;
			border-color: #D43D1F;
		}
		div.mediaOverview div div.media span {
			display: block;
			clear: left;
			margin-top: 5px;
		}

div.videoContainer div.videoObject {
	text-align: center;
}


/*****************************************************************************
* Forms
*****************************************************************************/
dl.form dt, dl.form dd {
  margin-bottom: 0.5em;
}
dl.form dt.error {
  color: #f00;
}
dl.form span.error, form ul.errors li {
  color: #f00;
  font-weight: bold;
  font-size: 93%;
}
form ul.errors {
  margin-bottom: 0.7em;
}
dl.form span.error {
  padding-left: 0.7em;
}
form p.submit {
  margin-top: 0.7em;
}
.form-container p {
  margin-bottom: 0.7em;
}
.form-container p.notice {
  color: #0A990B;
  font-weight: bold;
}

dl.form a {
  color: #ff3301;
}

p.submit {
  margin-bottom: 0;
}

.block_user_login p.submit {
  margin-bottom: 0.7em;
}

.block_settings_avatar_upload p.desc {
  margin-bottom: 1em;
}


/*****************************************************************************
* Avatars
*****************************************************************************/
.avatar-picker li {
  float: left;
  width: 25%;
  text-align: center;
  margin-bottom: 0.5em;
}
.avatar-picker img {
  cursor: pointer;
}
.avatar-picker input {
  display: none;
}
.avatar-picker div {
  padding: 0.3em 0;
  border: 0.35em solid transparent;
}
.avatar-picker .selected div {
  border-color: black;
}


/*****************************************************************************
* Match info
*****************************************************************************/
div.block_match_info div.left {
  width: 30%;
  float: left;
}
div.block_match_info div.middle {
  width: 40%;
  float: left;
}
div.block_match_info div.right {
  width: 30%;
  float: right;
}
div.block_match_info div.container {
  text-align: center;
}
div.block_match_info dl {
  text-align: left;
}
div.block_match_info .details {
  margin-bottom: 1em;
}
div.block_match_info dt {
  width: 40%;
}
div.block_match_info dd {
  width: 60%;
}
div.block_match_info h3 {
  margin-bottom: 0.5em;
}
div.block_match_info div.form {
  width: 90px;
  margin: 0 auto;
  margin-bottom: 0.5em;
}
div.block_match_info h3.scoretime {
  font-size: 123.1%;
}
div.block_match_info h3.score-orange {
  color: #ff3301;
}
div.block_match_info .game-minute {
  color: #ff3301;
  font-weight: bold;
}


/*****************************************************************************
* Match editorial
*****************************************************************************/
.block_match_editorial .more-link {
  color: #444;
}


/*****************************************************************************
* Footer
*****************************************************************************/
#footer {
  background: black url(../../img/menu_bg.gif) repeat-x;
  text-align: center;
  line-height: 2.5em;
  height: 2.5em;
  text-align: center;
  margin-bottom: 1.5em;
}
#footer ul, #footer li {
  display: inline;
}
#footer a {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 1.5em;
}
#footer a:hover {
  color: white;
}

#copyright {
  font-size: 93%;
  text-align: center;
  color: #666;
  font-weight: bold;
  margin-left: 300px;
  margin-right: 300px;
}
#copyright a {
  color: #666;
}
#copyright a:hover {
  color: black;
}

#content-delivery-methods
{
  float:right; 
  margin-right: 0.4em;
  width:400px;
  
}

#content-delivery-methods .delivery-method
{
  float:right;
  padding-left: 18px;
  padding-right: 0.7em;
  vertical-align: center;  
} 

.delivery-method a
{
  line-height: 18px;
} 

.delivery-method-feed
{
  background: url(../../img/feed_icon.png) no-repeat;
} 

.delivery-method-iphone
{
  background: url(../../img/iphone_icon.gif) no-repeat;
} 

.delivery-method-mobile
{
  background: url(../../img/mobile_icon.gif) no-repeat;
} 


/*****************************************************************************
* Sponsored links
*****************************************************************************/
.block_ad_sponsored_links div {
  border-bottom: 1px solid #d5d3d6;
  padding: 0.3em 0.7em;
  font-size: 93%;
}
.block_ad_sponsored_links div.sl-first {
  margin-top: 0;
}
.block_ad_sponsored_links div.sl-last {
  border: 0;
  margin-bottom: 0.7em;
}
.block_ad_sponsored_links a {
  display: block;
}


/*****************************************************************************
* Competition archive
*****************************************************************************/
.block_competition_archive .season {
  padding-left: 0.7em;
}
.block_competition_archive .unavailable {
  color: #999;
}


/*****************************************************************************
* Teams comparison
*****************************************************************************/
.block_teams_comparison p {
  margin-bottom: 0.7em;
}
.block_teams_comparison select {
  width: 100%;
  clear: left;
}
.block_teams_comparison select.area_id {
  margin-bottom: 1em;
}
.block_teams_comparison select.team_id {
  margin-bottom: 1.5em;
}
.block_teams_comparison h3 {
  padding: 0;
}


/*****************************************************************************
* Navbar
*****************************************************************************/

#navbar {
  line-height: 2em;
  background: #ccc;
  position: relative;
  margin-top: 0.2em;
  padding-left: 0.5em;
}

#navbar-top{
  background-color: #EFEFEF;
  border-bottom: 1px solid black;
  padding: 0.2em;
}

#navbar-left {
  float: left;
}
#navbar-right {
  float: right;
}
#navbar-right li {
  float: left;
  display: block;
  margin-left: 0.5em;
  padding: 0 0.8em 0 0.6em;
}
#navbar-right li.current {
  background-color: #4F4F4F;
}
#navbar-right li.current a {
  color: white;
}

#navbar select, #navbar input {
  font-size: 93%;
  vertical-align: middle;
}

#navbar select.nav-select {
  margin: 0.2em 0.4em 0.2em 0;
  width: 160px;
}

.navbar-button {
  background-repeat: no-repeat;
  background-position: 0 1px;
  padding-left: 20px;
}

#navbar-right li.current .navbar-button {
  background-position: 0 -18px;
}

#navbar-search-container {
  float: right;

}

#navbar-search-button {
  background-image: url(../../img/search.png);
  background-repeat: no-repeat; 
  background-position: 2px 2px;
  padding-left: 15px;
  border: 0; 
  background-color: transparent;
}
#navbar-language-button {
  background-image: url(../../img/globe.png);
  float: left;
  margin-right: 5px;
}

.block_navbar{
  margin-top: -2px;
}

.navbar-panel {
  padding: 0 0.7em;
  line-height: 3em;
  font-size: 95%;
  color: black;
  width: 300px;
}

.navbar-panel a {
  color: black;
}


#navbar-lang-container {
  position: relative;
  width: 550px;
}

#navbar-language-panel label {
  font-size: 108%;
  margin-left: 15px;

}
#navbar-language-panel #convert-timezone-container {
  padding: 0 1em;
}

#convert-timezone-container {
  margin-left: 3em;
  font-size: 95%;

}

#navbar-language-panel {
  float: left;
  z-index: 100;
  position: absolute;
  font-size: 85%;
  background-color: #EFEFEF;
}


#current-l10n-container {
  margin-top: 0.8em;
  width: 15em;
  background: url(../../img/arrow_down.png) no-repeat center right;
  float: left;
  height: 16px;
  margin-right: 1em;
}

#current-l10n {
float: left;
cursor: pointer;

}


#l10n-picker {
  border: 1px solid #4F4F4F;
  border-top-width: 0;
  width: 16em;
  background-color: #EFEFEF;
  z-index: 99;
  margin-left: -2.3em;
  margin-top: 0.4em;

}
  #l10n-picker a {
    padding: 0.3em 0.5em;
    display: block;
    color: black;
  }
  #l10n-picker span {
    display: block;
    line-height: 16px;
    font-size:110%;
  }
  #l10n-picker a:hover, #l10n-picker a:active {
    background-color: #666;
    color: white;
  }

#current-timezone {
  clear: both;
  text-align: right;
  color: #666;
  font-size: 93%;
  font-weight: bold;
  padding-top: 0.8em;
  margin-bottom: -1.1em;
}


#subheading select {
  font-size: 85%;
}

#subheading h1 {
  font-family: impact, arial;
  color: #000000; /*#ff3301;*/
  text-transform: uppercase;
  font-size: 24px;
  font-weight: normal;
  z-index: 2;
  position: absolute;
  padding: 10px 5px 5px 18px;
  /*display: none;*/
}

#subheading h2 {
  color: #000000; /*#ff3301;*/
  text-transform: uppercase;
  font-size: 24px;
  font-weight: normal;
  z-index: 233;
  position: absolute;
  padding: 0px 5px 0px 55px;
  margin-left: 20px;
  margin-top: 10px;
}

/*****************************************************************************
* Google map pop-up windows
*****************************************************************************/

.popup .popup-caption
{
  margin-bottom: 1em;
  vertical-align: middle;
}

/*****************************************************************************
* iPhone application
*****************************************************************************/

	#iphone #slider ul, #iphone #slider li{
		margin:0;
		padding:0;
		list-style:none;
		}
	#iphone #slider, #iphone #slider li{ 
		/* 
			define width and height of container element and list item (slide)
			list items must be the same size as the slider area
		*/ 
		width:320px;
		height:480px;
		overflow:hidden;		
		}
	#iphone span#prevBtn{font-weight:bold;}
	#iphone span#nextBtn{font-weight:bold;}	
  
  #iphone div#iphone-slider-container
  {
    float: right;
  }
  
  #iphone ul.features
  {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  
  #iphone ul.features li{
    list-style-image:none;
    list-style-position: inside;
    list-style-type: square;
  }
  
  #iphone table#action-buttons
  {
    border: none;
    width: 50%;
  }
  
  #iphone table#action-buttons td
  {
    padding: 2.2em;
  }

/*****************************************************************************
* Pop-up windows
*****************************************************************************/

  div.popup-block
  {
    background-color: #FFF;
    border: 1px solid black;
    position: absolute;
    z-index: 9999;
    padding: 0px;
    margin: 0px;
    visibility: hidden;
    text-align: left;
    
    width: 45em;
    height: 32em;
  }  
  
  div.popup-block .heading-wrapper
  {
    margin: 0px;
    padding: 0em; 
    
    border-bottom: 1px solid #D5D3D6;
    
    background-color: white;
    
    width:100%; 
  }
  
  div.popup-block .heading-wrapper h3
  {
    padding: 0.4em; 
    font-weight: bold;
    color: #ff3301;
  }
  div.popup-block .heading-wrapper h3 a {
    color: #ff3301;
  }
  
  
  div.popup-block div.content
  {
    border:none;
    background: transparent;
    padding: 0px;
    margin: 0px;  
  }
  
  div.popup-block div.popup-real-content
  {
    height: 30em;
    overflow: auto;
  }
  


  table.popup-matches-table  
  {
    margin: 0.4em 0;
    width: 100%;
    font-size: 93%;
  }
  
  table.popup-matches-table td 
  {
    padding: 0 0.3em;
    vertical-align: middle;
  }
  
  table.popup-matches-table td.date {
  }
  
  table.popup-matches-table td.team-a 
  {
    text-align: right;
    width: 17em;
  }
  
  table.popup-matches-table td.score 
  {
    text-align: center;
    width: 5em;
    font-weight: bold;
  }
  table.popup-matches-table td.score a {
    display: block;
    line-height: 1.75em;
  }
  table.popup-matches-table tr.odd td.score a {
    background-color: #e0e0e0;
  }
  table.popup-matches-table tr.even td.score a {
    background-color: #dadada;
  }
  table.popup-matches-table tr td.score a:hover {
    background-color: #bbb;
  }
  
  table.popup-matches-table td.team-b 
  {
    text-align: left;
    width: 17em;
  }
  
  table.popup-matches-table td.points
  {
    text-align: center;
    font-weight: bold;
    border: none; 
    width: 1.5em;   
  }
  
  table.popup-matches-table td.strong
  {
    font-weight: bold;
  }
  
  div.popup-loading {
    background-image: url(../../img/loading_white.gif);
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  div.popup-block a.close-button
  {
    display: block;
    height: 13px;
    width: 13px;
    background: url(../../img/close_gray.png) no-repeat center center;
    top: 4px;
    right: 4px;
    
    position:absolute;
  }
    
  .leaguetable tr td.details-available-hover
  {   
    background-color: #ffcabf !important;
    font-weight: bold;
    color: black;
  }
  
  .leaguetable tr td.details-available
  {  
    cursor:hand;
    cursor:pointer; 
  }

  
table.matches tr.aggr td {
  background-color: #dadada;
}
table.matches tr.aggr td.score-time {
  background-color: #bebebe;
}

table.aggregates td {
  background-color: white;
}
table.aggregates tr.last td {
  padding-bottom: 1em;
}


.match-pagination {
  position: absolute;
  right: 0;
  top: -1.3em;
}

.match-pagination a {
  padding-right: 0.3em;
}

.page-dropdown-container {
  float: right;
  text-align: center;
  font-size: 93%;
  margin-top: -2.4em;
  margin-right: 1em;

}

.page-dropdown-container label {
  font-weight: bold;
}
.page-dropdown-container select {
  vertical-align: middle;
}

table.table tr.highlight td {
  background-color: #FFCABF;
}

table.matches tfoot p {
  margin-bottom: 0.5em;
}
table.matches tfoot p.last {
  margin-bottom: 0;
}


.small_odds td {
  padding: 0.2em 0.5em;
}
.small_odds a {
  color: black;
}

.venue-photo-desc {
  margin-top: 0.5em;
}


.js span.timestamp { visibility: hidden; }


#submenu a {
  color: black;
  font-weight: bold;
}

acronym {
	cursor: help;
}

.block_competition_venues li {
  padding: 0.5em 0 0.5em 1em;
}
.block_competition_venues h3 {
  padding: 0;
  margin-bottom: 1em;
}
.block_competition_venues h4 {
  margin-bottom: 1em;
}
.block_competition_venues .even {
  background-color: white;
}
.block_competition_venues .right {
  width: 60%;
  float: left;
}


/*****************************************************************************
* Top bar
*****************************************************************************/
#top-background-bar {
  position: absolute;
  top: 0px;
  left:0px;
  z-index: -1;
  width: 100%;
  height: 158px;
  background-color: #f4f4f4;
}

#bottom-background-bar { 
  position: static;
  bottom: 0;
  width: 100%;
  height: 110px;
  margin: 0;
  padding:0;
  margin-top: -110px;
  z-index: -5;
  background-color: #F4F4F4;
}

#topbar {
  background-color: #f4f4f4;
  margin-bottom: 0.5em;
/*  border-bottom: 1px solid #d5d3d6;*/
  line-height: 1.8em;
}

#topbar-left {
  float: left;
  width: 50%;
}

#topbar-right {
  float: right;
  width: 320px;
  /*text-align: right;*/
}

#search-right {
  float: right;
  width: 210px;
	height: 30px;
	padding-top: 6px;
	color: #ffffff;
}

#topbar-search-input {
  margin-left: 10px;
	border: 1px solid #d5d3d6;
  outline: none;
	width: 186px;
	height: 20px;
	border: none;
  background-image: url(../../img/search_box.png);
  padding: 4px 0px 0px 4px;
  color: #aaa;
}

#search-input-submit {
  position: absolute;
	right: 0px;
	top: 0px;
	width: 20px;
	height: 24px;
	cursor: pointer;
}

#search-input-wrap {
	position: relative;
	width: 200px;
	height: 24px;
	text-align: left;
}

#topbar-search-button {
  background-image: url(../../img/search.png);
  background-repeat: no-repeat; 
  background-position: 2px 2px;
  padding-left: 15px;
  border: 0; 
  background-color: transparent;
}

#topbar-language-button {
  /* background-image: url(../../img/globe_single.gif);*/
  float: left;
  margin-right: 5px;
  background-repeat: no-repeat;
  background-position: 0 center;
  padding-left: 20px;
  padding-right: 0.3em;
  margin-left: 0.6em;
  cursor: auto;
}

#topbar-l10n-container {
  width: 16em;
  float: left;
  position: relative;
}

#topbar-current-l10n-container {
  padding: 0 0.6em;
  background: url(../../img/arrow_down.png) no-repeat center right; 
  display: block;
}

#topbar-l10n-picker {
  position: absolute;
  top: 1.8em;
  border: 1px solid #d5d3d6;
  border-top-width: 0;
  width: 16em;
  background-color: #f4f4f4;
  z-index: 2000;
  text-align: left;
}
  #topbar-l10n-picker a {
    padding: 0.3em 0.5em;
    display: block;
    color: black;
  }
  #topbar-l10n-picker span {
    display: block;
    line-height: 16px;
  }
  #topbar-l10n-picker a:hover, #topbar-l10n-picker a:active {
    background-color: #666;
    color: white;
  }


/*****************************************************************************
* Community buttons
*****************************************************************************/
.community-button {
  background-repeat: no-repeat;
  padding-left: 16px;
}
.community-join {
  background-image: url(../../img/community/join.png);
}
.community-login {
  background-image: url(../../img/community/login.png);
}
.community-username {
  background-image: url(../../img/community/username.png);
}
.community-settings {
  background-image: url(../../img/community/settings.png);
}
.community-logout {
  background-image: url(../../img/community/logout.png);
}



.search-options {
  margin-top: 0.6em;
}
.search-options p {
  margin-bottom: 0.2em;
}
.results-loading img {
  vertical-align: middle;
}
.search-options .meta {
  color: #666;
  font-size: 93%;
}


.block_user_passport h3 {
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 1em;
  text-transform: uppercase;
}

.block_teams_favourites p {
  font-size: 93%;
  margin-top: 1em;
  color: #666;
}

.block_user_favourites .favourite-container {
  width: 50%;
  float: left;
  text-align: center;
  margin-bottom: 1.5em;
}
.block_user_favourites .favourite-container:nth-child(odd) {
  clear: left;
}
.block_user_favourites h3 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}
.block_user_favourites img {
  margin-bottom: 0.5em;
  border: 1px solid #ccc;
}

.block_match_injuries_suspensions h3 {
  font-weight: bold;
  margin-top: 0.7em;
  margin-bottom: 0.5em;
  padding-left: 0.7em;
}
.block_match_injuries_suspensions table thead tr.sub-head {
  display: none;
}
.block_match_injuries_suspensions table .photo {
  padding-left: 0.5em;
  width:22px;
}
.block_match_injuries_suspensions table .player {
  padding-left: 0.3em;
}
.block_match_injuries_suspensions table th, .block_match_injuries_suspensions table td {
  line-height: 20px;
}
.block_match_injuries_suspensions .clearfix {
  padding-bottom: 0.5em;
}
.block_match_injuries_suspensions .clearfix:last-child {
  padding-bottom: 0;
}

.block_competition_playerstats_topscores-wrapper .match-pagination, .block_competition_playerstats_diciplinary-wrapper .match-pagination {
  top: -9px;
}

div.block_competition_playerstats_topscores-wrapper div.content, div.block_competition_playerstats_diciplinary-wrapper div.content{
	border-top: none;
}

.col-50-l {
  width: 49%;
  float: left;
}
.col-50-r {
  width: 49%;
  float: right;
}

.right-subnav {
  width: 100px;
  height: 20px;
  overflow: hidden;
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 400;
  border: solid 1px #f3552e;
  background: #f4f4f4;
}

.right-subnav:hover {
  height: 72px;
}
.right-subnav .right-subnav-current, .right-subnav .right-subnav-list li {
  padding: 2px;
}
.right-subnav:hover .right-subnav-content .right-subnav-current {
  display: none;
}
.right-subnav .right-subnav-list li, .right-subnav .right-subnav-current {
  height: 20px;
}
.right-subnav .right-subnav-list li a{
  color: #000000;
  text-decoration: none;
}
.right-subnav .right-subnav-list li a.right-subnav-active, .right-subnav .right-subnav-current a.right-subnav-active{
  color: #ff0000;
  text-decoration: underline;
}

.playerstats .competition{
  width: 20%;
}

div.big-localized-www {
  background: #f85f00 url(../../img/soccerway/swbanners/world.png) no-repeat left center;
}
div.big-localized-ar {
  background: #f85f00 url(../../img/soccerway/swbanners/ar.png) no-repeat left center;
}
div.big-localized-br {
  background: #f85f00 url(../../img/soccerway/swbanners/bra.png) no-repeat left center;
}
div.big-localized-cn {
  background: #f85f00 url(../../img/soccerway/swbanners/world.png) no-repeat left center;
}
div.big-localized-de {
  background: #f85f00 url(../../img/soccerway/swbanners/ger.png) no-repeat left center;
}
div.big-localized-es {
  background: #f85f00 url(../../img/soccerway/swbanners/es.png) no-repeat left center;
}
div.big-localized-fr {
  background: #f85f00 url(../../img/soccerway/swbanners/fra.png) no-repeat left center;
}
div.big-localized-it {
  background: #f85f00 url(../../img/soccerway/swbanners/ita.png) no-repeat left center;
}
div.big-localized-nl {
  background: #f85f00 url(../../img/soccerway/swbanners/ned.png) no-repeat left center;
}
div.big-localized-pl {
  background: #f85f00 url(../../img/soccerway/swbanners/pol.png) no-repeat left center;
}
div.big-localized-pt {
  background: #f85f00 url(../../img/soccerway/swbanners/por.png) no-repeat left center;
}
div.big-localized-ro {
  background: #f85f00 url(../../img/soccerway/swbanners/rom.png) no-repeat left center;
}	
div.big-localized-ru {
  background: #f85f00 url(../../img/soccerway/swbanners/world.png) no-repeat left center;
}
div.big-localized-uk {
  background: #f85f00 url(../../img/soccerway/swbanners/uk.png) no-repeat left center;
}

.gradientback {
  background-image: url('../../img/soccerway/chartgradient.gif');
  background-repeat: repeat-x;

}

.chart div.chartbar.left {
  background-image: url('../../img/soccerway/leftbarfill.gif');
  background-repeat: repeat-x;
}

.chart div.chartbar.right {
  background-image: url('../../img/soccerway/rightbarfill.gif');
  background-repeat: repeat-x;
}

.chart td.chartbar.background {
  background-image: url('../../img/soccerway/barback.gif');
  background-repeat: repeat-x;
}

table.chartselect tr td {
  background-color: #CDCDCD;
  padding: 10px;
  color: black;
  font-weight: bold;
  background-image: url('../../img/soccerway/chartbargradient.gif');
  background-repeat: repeat-x;
}

#finalstages .round table.final table.versus {
  background: url(../../img/soccerway/finals.png) center center white no-repeat;
  width: 560px;
  border: 0;
  color: black;
}


#matchinfotable .left {
   background-image: url('../../img/soccerway/match_coverage_tab_left.gif');
   background-repeat: no-repeat;
   background-position: left top;
   background-color: white;
   text-align: center;
}


#matchinfotable .right {
   background-image: url('../../img/soccerway/match_coverage_tab_right.gif');
   background-repeat: no-repeat;
   background-position: right top;
   background-color: white;
   text-align: center;
}

