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;
}

a.no-link {
  cursor: default;
}

/**
 * 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;
}

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

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

html#header {
  height: 100%;
  background: black;
}
html#page body, html#browser body {
  margin-top: 0.6em;
}
html#page body {
  margin-left: 0.5em;
}
html#browser {
  overflow-y: scroll;
  overflow-x: hidden;
}
html#browser body {
  margin-left: 0.3em;
  margin-right: 0.3em;
}
html#browser .women a {
  background: url(../img/women.gif) no-repeat right center;
  padding-right: 15px;
}

.page-container {
  float: left;
}
.right-column {
  float: right;
}


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

/*****************************************************************************
* Page header
*****************************************************************************/
h1 {
  font-size: 153.9%;
  margin-bottom: 0.2em;
}
h1.hidden {
  display: none;
}
#subheading {
  margin-bottom: 1.5em;
}
.submenu {
  background: #f4f4f4;
  height: 1.65em;
  line-height: 1.65em;
  margin-bottom: 0.5em;
}
.submenu label {
  float: left;
  display: block;
  padding-left: 0.7em;
  padding-right: 1em;
  color: black;
  font-weight: bold;
}
.submenu ul {
  float: left;
}
.submenu li {
  float: left;
  margin-right: 0.6em;
}
.submenu a, .submenu span.disabled {
  display: block;
  font-size: 93%;
  padding: 0 0.6em;
  color: #4f4f4f;
}
.submenu span.disabled {
  color: #999;
  font-weight: bold;
}
.submenu a:hover, .submenu li.current a {
  background: #00336F; /*#4f4f4f*/
  color: white;
}

.block_news_article h1 {
  display: block;
}

/*****************************************************************************
* Search
*****************************************************************************/
#search {
  padding-top: 0.1em;
}
#search .search-submit {
  height: 20px;
  font-size: 93%;
}
.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%;
}

/*****************************************************************************
* Standard block
*****************************************************************************/
div.block {
  margin-bottom: 1.5em;
  position: relative;
}
div.block h2, div.block h2 a {
  color: #00336F;
  text-transform: uppercase;
  font-size: 123.1%;
}
div.block h2 a {
  font-size: 100%;
  padding-right: 1em;
  background: url(../img/base/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 .block-content p {
  padding: 0 0.7em;
}
div.block div.plain {
  background: transparent;
}
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 {
  display: block;
  width: 20%;
  float: left;
  color: #4f4f4f;
}
div.block div.subnav ul {
  float: left;
  font-size: 93%;
  width: 80%;
}
div.block div.subnav li {
  margin-right: 0.8em;
  margin-bottom: 0.2em;
}
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.block .top-right .previous {
  margin-right: 1.5em;
}



/*****************************************************************************
* Tables general
*****************************************************************************/
tr.odd, .odd {
  background: white;
}
tr.even, .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 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 .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 {
  padding-left: 0.8em;
  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: 7%;
}
.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 .leaguetable .number, .block_league_table_small .leaguetable .number {
  width: 1.8em;
}
.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 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;
}

.leaguetable .sf, .leaguetable .sa {
  width: 6%;
}

/*****************************************************************************
* Form
*****************************************************************************/
.leaguetable tr.sub-head th.form, .leaguetable tbody td.form {
  padding-left: 10px;
  padding-right: 10px;
  border-right: 1px solid #d5d3d4;
  width: 88px;
}
.form-icon {
  width: 16px;
  height: 15px;
  float: left;
  background-repeat: no-repeat;
  margin-right: 2px;
  color: white;
  font-weight: bolder;
  text-align: center;
}
.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: 26px;
  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 .player img {
  vertical-align: middle;
}
.playerstats .team {
  width: 25%;
}
.playerstats .number {
  width: 8%;
  text-align: center;
}
.playerstats .bookings {
  width: 25%;
  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.lineups h3 {
  margin-top: 2em;
  margin-bottom: 1em;
  text-transform: uppercase;
  font-weight: bold;
}
.lineups thead {
  display: none;
}
.lineups .substitute-out {
  font-size: 85%;
}
.lineups .substitute-out, .lineups .substitute-out a {
  color: #666;
}
.lineups .substitute img {
  vertical-align: middle;
}
.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.2em;
  font-size: 93%;
}
table.matches .date {
  width: 17%;
}
table.matches .competition {
  width: 15%;
}
table.matches .full-date {
  width: 10%;
}
table.matches .team {
  width: 30%;
}
table.matches .team, x:-moz-any-link {
  width: 25%;
}
table.matches .team, x:-moz-any-link, x:default {
  width: 28%;
}
table.matches .team-a {
  text-align: right;
  padding-right: 10px;
}
table.matches .team-b {
  padding-left: 10px;
}
table.matches .score-time {
  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: 16px;
}
table.matches .button a {
  display: block;
  width: 16px;
  height: 15px;
  background-repeat: no-repeat;
  background-position: 0 0;
  text-indent: -5000px;
}
table.matches .minute {
  padding-left: 0.5em;
  font-size: 93%;
  font-weight: bold;
  width: 10%;
}
table.matches .strong a {
  font-weight: bold;
}
table.matches .events-button a.expand {
  background-image: url(../img/events_icon.gif);
}
table.matches .events-button a.tickets {
  background-image: url(../img/tickets_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/base/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 td.score-time a:hover {
  background-color: #bbb;
}
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: right;
}

div.competition_matches table.matches .team { width: 31%; }
div.competition_matches table.matches .team, x:-moz-any-link { width: 29%; }
div.competition_matches table.matches .team, x:-moz-any-link, x:default { width: 31%; }
.block_match_other_matches {
  font-size: 93%;
}

.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;
}
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;
  color: #999;
  font-size: 93%;
}
table.date_matches tr.round-head th {
  background: none;
  color: black;
}
table.date_matches th.competition-link {
  font-weight: normal;
  width: 16px;
}
table.date_matches th.competition-link a {
  display: block;
  background: url(../img/more_gray.gif) no-repeat center center;
  width: 15px;
  height: 15px;
  margin-right: 5px;
}

table.date_matches .team { width: 34%; }
table.date_matches .team, x:-moz-any-link { width: 32%; }
table.date_matches .team, x:-moz-any-link, x:default { width: 34%; }

div.block_date_matches table.date_matches .team { width: 39%; }
div.block_date_matches table.date_matches .team, x:-moz-any-link { width: 37%; }
div.block_date_matches table.date_matches .team, x:-moz-any-link, x:default { width: 39%; }

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.date_matches tr.last td {
  padding-bottom: 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;
}

.penalty-score {
  color: #ff3301;
  font-size: 93%;
  text-transform: none;
}

.pagination {
  margin-bottom: 0.5em;
}
.pagination a:hover {
  color: #666;
}
.pagination .previous {
  float: left;
  margin-left: 0.7em;
}
.pagination .next {
  float: right;
  margin-right: 0.7em;
}
.pagination a.disabled {
  cursor: default;
  color: #999;
}
.pagination a.disabled:hover {
  color: #999;
}
table.date_matches tr.group-sub-head th {
  font-weight: bold;
  background: none;
  color: black;
}

table.team_matches .team { width: 24%; }
table.team_matches .team, x:-moz-any-link { width: 22%; }
table.team_matches .team, x:-moz-any-link, x:default { width: 24%; }

table.no-competition .team { width: 32%; }
table.no-competition .team, x:-moz-any-link { width: 30%; }
table.no-competition .team, x:-moz-any-link, x:default { width: 32%; }

table.team_matches .competition { width: 17%; }
table.team_matches .competition, x:-moz-any-link { width: 15%; }
table.team_matches .competition, x:-moz-any-link, x:default { width: 17%; }

/*****************************************************************************
* 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;
}
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;
}

/*****************************************************************************
* Squad
*****************************************************************************/

table.people_stats thead tr.main-head th{
  padding: 3px 8px;
  font-weight: bold;
}
table.squad .competition {
  text-align: center;
}
table.squad .name {
  padding-left: 0.5em;
}
table.squad .position {
  width: 9em;
}
table.squad .number {
  text-align: center;
}
table.squad .age {
  width: 6em;
}
table.squad .dob {
  width: 8em;
}
table.squad .statistic {
  width: 2em;
  color: #999;
  text-align: center;
}
table.squad .available {
  color: black;
}
table.squad .shirtnumber {
  width: 2em;
}

/*****************************************************************************
* 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/base/arrow_right.gif);
  margin-bottom: 0.2em;
  margin-left: 1.5em;
}
ul.level-1 li {
  margin-left: 0.75em;
}
ul.tree li.current {
  font-weight: bold;
}
ul.tree li.current ul {
  font-weight: normal;
}
ul.tree li.expanded {
  list-style-image: url(../img/base/arrow_down.gif);
}
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;
}
ul.tree li#today-link {
  list-style-type: disc;
  list-style-image: url(../img/base/arrow_right.gif);
  margin-bottom: 0.2em;
}

.competitions_tree {
  font-size: 93%;
}
.competitions_tree .row {
  clear: both;
  margin-bottom: 1em;
}
.competitions_tree .last {
  margin-bottom: 0;
}
.competitions_tree .column {
  float: left;
}
.competitions_tree.reversed .row {
  clear: none;
  float: left;
}
.competitions_tree.reversed .tree > li {
  float: left;
}
.competitions_tree.reversed .column {
  clear: both;
  float: none;
}

.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;
}

.block_team_info div.logo-container {
  float: left;
  width: 35%;
}
.block_team_info div.info {
  float: right;
  width: 60%;
}

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

.block_news_article {
  text-align: justify;
}
.block_news_article h1 {
  font-size: 189%;
  margin-bottom: 0.5em;
  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 p.meta {
  margin-bottom: 1.5em;
}
.block_news_article .author {
  color: #ff3301;
  font-weight: bold;
}

.block_news_date .time {
  padding-left: 0.5em;
  width: 3em;
  color: #666;
}
.block_news_date .num-comments {
  width: 2em;
  text-align: right;
  padding-right: 0.5em;
  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 {
  font-weight: bold;
  font-size: 123.1%;
}
.small-story {
  font-size: 93%;
}
.mainstory {
  margin-bottom: 1em;
}
.home_news_container {
  background: white;
}
.home_news_container ul a {
  font-size: 93%;
  color: #ff3301; 
}
div.content-column div.logo {
  width: 100px;
}
div.content-column div.logo img {
  width: 100px;
  height: 100px;
}

/*****************************************************************************
* 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: 35%;
  float: left;
}
div.block_match_info div.middle {
  width: 29%;
  float: left;
  margin-left: 1%;
}
div.block_match_info div.right {
  width: 35%;
  float: right;
}
div.block_match_info li {
  text-align: left;
}
div.block_match_info div.container {
  text-align: center;
}
div.block_match_info .details {
  margin-bottom: 1em;
}
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;
}
div.block_match_info acronym {
  border-bottom: 1px dotted black;
  cursor: help;
}


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


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

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


/*****************************************************************************
* 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.first {
  margin-top: 0;
}
.block_ad_sponsored_links div.last {
  border: 0;
  margin-bottom: 0.7em;
}
.block_ad_sponsored_links a {
  display: block;
}


/*****************************************************************************
* Competition archive
*****************************************************************************/
.block_competition_archive td.season {
  padding-left: 0.7em;
  width: 35%;
}
.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 select, #navbar input {
  font-size: 85%;
}
#navbar select.nav-select {
  margin: 0.2em 0.4em 0.2em 0;
  width: 183px;
}
#navbar #navbar-language-button {
  position: absolute;
  right: 0;
  padding-left: 0.5em;
  padding-right: 0.5em;
  font-size: 93%;
}
#navbar #navbar-language-button.active {
  color: white;
  background-color: #4F4F4F;
}
#l10n-panel-container {
  clear: left;
  float: left;
  width: 100%;
  height: 1px;
  position: relative;
  padding: 0;
  margin: 0;
}
#l10n-panel {
  line-height: 2em;
  position: absolute;
  right: 0;
  color: white;
  background: #4F4F4F;
  padding: 0.4em 0.5em;
  font-size: 85%;
}
#l10n-panel select {
  margin-right: 0.3em;
}


#season_id_selector {
  font-size: 85%;
}

.submenu {
  border: 1px solid #999;
  border-width: 1px 0;
}

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


/*****************************************************************************
* 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;
}

.results-header {
  font-weight: bold;
  font-size: 131%;
  margin-top: 2em;
  margin-bottom: 1em;
}


.timezone {
  text-align: right;
  color: #666;
  font-weight: bold;
  margin-top: 0.3em;
  margin-bottom: -1.5em;
}

.block_concanav a {
  display: block;
  padding: 0.2em 0.3em;
}
.block_concanav li.current a {
  font-weight: bold;
  background-color: #bfccdb;
}

#refresh {
   position: absolute;
   top: 5px;
   right: 5px;
}
#refresh a {
  color: white;
  font-weight: bold;
  font-size: 93%;
  padding-left: 14px;
  background: url(../img/refresh.gif) no-repeat 1px;
}