html
{ 
  background-color: black;
}

body
{
  background-color: black;
	width: 1000px;
	color: white;
	padding-top: 10px;
}

div.menu
{
width: 240px;
}

div.content-main
{
width: 760px;
}

p
{
  margin: 1ex 0 1ex 1ex;
}
table
{
  font-size: 1em;
}
h1
{
  margin: 1ex 0.5ex;
  font-size: 130%;
  text-align: center;
}
h2
{
  margin: 1ex 0.5ex;
  margin-bottom: 0.5ex;
  font-size: 120%;
}
h3
{
  margin: 1ex 0.5ex;
  font-size: 110%;
}
div.content a
{
  color: #336699;
  font-weight: bold;
  text-decoration: none;
}
div.content a:hover
{
  color: #993333;
  text-decoration: underline;
}
div.content a:visited
{
  color: #808080;
}
.img-center
{
  text-align: center;
  margin: 2ex auto;
  padding: 1px;
}
.img-center img
{ 
  border: none;
}

.img-right
{
  float: right;
  text-align: center;
  padding: 0;
  margin: 1ex;
}
.img-right img
{ 
  margin: 0;
  padding: 0;
  border: 1px solid #808080; 
}
.img-right p
{ 
  margin: 0.5ex 0 1ex 0;
  font-style: italic;
  clear: both;
}
.img-left
{
  float: left;
  text-align: center;
  padding: 0;
  margin: 1ex 2ex 1ex 1ex;
}
.img-left img
{ 
  margin: 0;
  padding: 0;
  border: 1px solid #808080; 
}
.img-left p
{ 
  margin: 0.5ex 0 1ex 0;
  font-style: italic;
  clear: both;
}
.tcenter
{
  margin: 0 auto;
  text-align: center;
}
.dcenter
{
  margin: 0 auto;
}

img.photo
{ 
  border: 1px solid #808080;
  text-align: center;
  margin: 2ex auto;
}
.bghilite
{ 
  background-color: #f0f0ff;
  font-weight: bold;
}

/* Layout */

div.content
{ 
  background-color: black;
	color: white;
  margin: 0;
  padding: 0 10px 5px 10px;

  color: white;
  font-size: 75%;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

div.content-header
{ 
  width: 580px;
  height: 130px;
  color: #00345E;
  padding: 0;
  font-size: 200%;
  font-weight: bold;
}

div.content-header img
{ 
  background-color: white;
  padding-left: 10px;
}

div.content-header p
{ 
  margin-top: 0;
  padding-top: 40px;
}

div.top-menu
{ 
	margin-left: 4px;
  padding: 4px 10px 0 0;
  /* height: 20px; */
  width: 220px;
  font-size: 12px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

div.top-menu a, div.top-menu a.visited
{ 
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding-right: 4ex;
}

div.content-main
{ 
  width: 710px;
  margin: 0;
  padding-top: 10px;
}

/* General table formatting */

div.content-main table
{ 
  text-align: left;
  border-collapse: collapse;
  width: 100%;
}

div.content-main td
{ 
  padding: 2px 0.5ex;
  border: solid 1px #c0c0c0;
}

div.content-main td.id
{ 
  text-align: right;
  width: 2ex;
}

div.content-main td.date
{ 
  text-align: left;
  width: 6ex;
}

div.content-main td.time
{ 
  text-align: center;
  width: 6ex;
}

div.content-main td.game-time
{ 
  text-align: center;
  width: 6ex;
}

div.content-main td.scoresheet
{ 
  text-align: center;
}

div.content-main td.result
{ 
  font-weight: bold;
  text-align: center;
}

div.content-main table.group-rank a
{
	color: #ffffc0;
}

div.content-main table.group-rank a.visited
{
	color: #ffffc0;
}

div.content-main table.game-list a
{
	color: #ffffc0;
}

div.content-main table.game-list a.visited
{
	color: #ffffc0;
}

div.content-main table.game-list tr.odd
{
	background-color: #202020;
}

div.content-main table.group-rank td.result
{
  width: 7ex;
}

div.content-main thead
{ 
  background-color: #202020;
  background-color: #76000E;
}

div.content-main thead td
{ 
  font-weight: bold;
  border: 1px solid #808080;
  text-align: center;
}

div.content-main td.team-id
{ 
  text-transform: uppercase; 
  border-left: 1px solid #808080;
  text-align: center;
}

div.content-main td.player-no, div.content-main  td.cnt
{ 
  text-align: center;
  border-left: 1px solid #808080;
  width: 3ex;
}

div.content-main  td.pct
{ 
  text-align: center;
  border-left: 1px solid #808080;
  width: 6ex;
}

div.content-main  td.cnt-g
{ 
  text-align: center;
  border-left: 1px solid #808080;
  width: 3ex;
}


/* Special formatting */

.game-record table td.description
{ 
  width: 40ex;
}

.game-record table td.type
{ 
  text-transform: uppercase; 
  text-align: center;
}

.game-record table tr.goal-home
{ 
  background-color: #202020;
}

.game-record table td.game-state
{ 
  text-align: center;
}

.game-record table.goal-list, .game-record table.penalty-list, .game-record table.other-info
{ 
  width: 100%;
}

.game-record table td.penalty-len-hdr
{ 
  width: 12ex;
}

.game-record table td.penalty-len
{ 
  text-align: center;
}


/* Player selection */

div.pselect
{ 
  margin-left: 10ex;
}

div.pselect table
{ 
  border-collapse: collapse;
}

div.pselect td
{ 
  vertical-align: top;
  padding: 2px 0.5ex;
}

div.pselect form > table
{ 
  border: solid 1px black;
}

/* Rank */

td.rank 
{ 
	text-align: right;
	padding-right: 1ex;
}

td.teamid 
{ 
	text-align: left;
	padding-left: 1ex;
	padding-right: 1ex;
}

td.count 
{ 
	text-align: right;
	padding-right: 1ex;
}

/* Team page menu */

div#team-page-menu
{ 
	margin: 8px 0;
	height: 4ex;
	width: 100%;
}

#team-page-menu ul 
{
	list-style-type: none;
	margin: auto;
	padding: 0;
}

#team-page-menu li
{
	float: left;
	padding: 2px 4px;
	margin: 0.5ex 4px;
	background-color: #404040;
	border: solid 1px #808080;
	width: 30ex;
	text-align: center;
}

#team-page-menu li a
{
	float: none
}

div.team-stats
{ 
	clear: both;
}

div.top-menu
{ 
	position: relative;
	left: -220px;
	top: 200px;
}

div.top-menu ul
{ 
  padding: 0;
}

div.top-menu li
{ 
  list-style: none;
	background: url("img/menu-item-bg.jpg") no-repeat;
  height: 30px;
	margin: 0px 0;
	padding: 4px 0 4px 40px;
}

div.all-groups h2
{ 
	color: white;
	text-align: center;
	border: 1px solid #808080;
}

td.group-blue h2
{ 
	background-color: #000040;
	border: 1px solid #404080;
}

td.group-orange h2
{ 
	background-color: #804000;
	border: 1px solid #c08040;
}

td.group-red h2
{ 
	background-color: #400000;
	border: 1px solid #804040;
}

td.group-plum h2
{ 
	background-color: #400040;
	border: 1px solid #804080;
}

td.group-turquoise h2
{ 
	background-color: #004040;
	border: 1px solid #408080;
}

td.group-grey h2
{ 
	background-color: #404040;
	border: 1px solid #808080;
}

td.group-yellow h2
{ 
	background-color: #404000;
	border: 1px solid #808040;
}

div.all-groups a, div.all-groups a.visited
{ 
	color: white;
	text-decoration: none;
}

div.all-groups table td
{ 
	border: none;
}

div.all-groups img
{ 
	border: none;
}

div.all-groups a
{ 
	border: none;
}

div.flag-frame
{ 
	padding: 1px;
	border: solid 1px #808080;
	margin: 2px 0;
	margin: 2px auto;
}

div.all-groups td.flag
{ 
  width: 90px;
	padding: 10px 8px 2px;
}

div.all-groups td.country
{ 
  text-align: left;
  text-align: center;
	padding-left: 1ex;
	padding: 0 0 10px 0;
}

div.content-main table.group-black thead
{ 
	background-color: black;
}

div.content-main table.group-blue thead
{ 
	background-color: #000040;
}

div.content-main table.group-orange thead
{ 
	background-color: #804000;
}

div.content-main table.group-red thead
{ 
	background-color: #400000;
}

div.content-main table.group-plum thead
{ 
	background-color: #400040;
}

div.content-main table.group-turquoise thead
{ 
	background-color: #004040;
}

div.content-main table.group-grey thead
{ 
	background-color: #404040;
}

div.content-main table.group-yellow thead
{ 
	background-color: #404000;
}

table.playoff-games-frame td
{ 
	border: none;
}

table.playoff-games-frame li
{ 
	margin-bottom: 1ex;
}

div.content-main table.playoff-single-game
{
	color: #808080;
	margin: 4px;
	width: 20ex;
}

div.content-main table.playoff-single-game td
{
	/* border: 1px solid #808080; */
}

.team-name
{ 
	width: 16ex;
}

.result-short
{ 
	width: 4ex;
	padding-right: 1ex;
	text-align: right;
}

table.playoff-single-game td.team-name, 
table.playoff-single-game td.result-short
{ 
	color: white;
	font-weight: bold;
	background-color: #404040;
	border: 1px solid black;
} 

#topStrip 
{
	height: 80px;
}

#leftMenu ul
{ 
	list-style: none;
	padding-left: 0;
}

#leftMenu ul li
{ 
	background-image:url(img/menu.gif);
	background-position:left top;
	background-repeat:no-repeat;
	border-bottom:thin solid #000000;
	background-color:#76000E;
	text-align:right;
	color: #ffffff;
	padding: 4px 10px 0px 0px;
	height: 20px;
}

#leftMenu a
{ 
	font-weight: normal;
	color: white;
}

div#leftMenu ul li a.hover
{ 
	color: yellow;
	text-decoration: none;
}

div#leftMenu
{
	padding-right: 10px;
}

