#container {
  margin: auto;
  width: 1000px;
}


#left {
  background-image: url(images/left-background.png);
  background-repeat: repeat-y;
  width: 200px;
  height: 500px;
  display:block;
  float: left;
}


#content {
  background-image: url(images/background.png);
  background-repeat: repeat-y;
  width: 800px;
  height: 500px;
  display: block;
  float: right;
  overflow: auto;

}

#basefooter {
  background-image: url(images/footer-background.png);
  background-repeat: repeat-y;
  width: 1000px;
  height: 45px;
  font-size: small;
  color: #626262;
  display: block;
  clear: both;
  float: none;
}

.header {
  font-family: Comic Sans MS;
  color: #005E00;
  font-weight: bold;
}


.text {
  margin-left: 3%;
  margin-right: 3%;
  text-align: justify;
  font-family: Comic Sans MS;
  color: #005E00;
}

#nav ul {
        list-style: none;
        list-style-type: none;
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
        }

#nav li {
        margin: 0;
        text-align: left;
        list-style-type: none;
        text-decoration: none;
        }
#nav li a {
        display: block;
        padding: 5px 5px 5px 0.5em;
        border-right: 10px solid #009600;
        background-color: #009600;
        color: #FFFFFF;
        text-decoration: none;
        width: 100%;
        list-style-type: none;
        }

html>body #nav li a {
        width: 110px;
        list-style-type: none;
        }

#nav li a:hover {
        border-right: 10px solid #008000;
        background-color: #009600;
        color: #FFFFFF;
        list-style-type: none;
        }



#gradient {
	background-image: url(images/green_gradient.png);
	background-repeat: repeat-x;
	width: 100%;
	height: 100%;
	float: left;
	/*min-height:1412px;
	height:auto !important;
	height:1412px;*/
}

#subNavContainer {
	width: 100%;
	display: table;
	min-height:22px;
	height:auto !important;
	height:22px;
	background-color:#0296DC;
	background-image:url(images/green_sub.gif);
	background-repeat:repeat-x;
	float: left;
	text-align:left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:0.65em;
	padding: 3px 0px 0px 5px;
	font-weight:bold;
	color:#fff;
}

/* header elements */

#header {
	width: 100%;
	height: 87px;
	background-image: url(images/green_search.gif);
	background-repeat: repeat-x;
	float: left;
	display: table;
}

#logo {
	width: 266px;
	height: 65px;
	margin: 10px 0px 0px 10px;
	float: left;
}
/* general tags */

a {
	color: #000;
	text-decoration:none;
}

a:link {
	color: #000;
}

a:active {
	color: #000;
}

a:hover {
	color: #000;
	text-decoration: underline;
}

a:visited {
	color: #000;
}

/* footer */

#footer {
	width: 100%;
	height: 64px;
	float: left;
	background-image: url(images/green_bottom.gif);
	background-repeat: repeat-x;
	display: table;
}

#footer p {
	width: 560px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	float: left;
	font-size: 0.7em;
	margin: 30px 0px 0px 4px;
}

#footer img {
	float: right;
	margin: 25px 10px 0px 0px;
}
/* end footer*/

body {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	height: 100%;
	text-align: center;
	color: #000000;
	background-color:#B9B9B9;
	/*background-color:#AFB0AA;*/
}

#contentContainer {
	background-color:#fff;
	width: 100%;
	float: left;
	display: table;
}

html>body #container {height:auto;}

/* ###################### */
/* begin DRAWSHEET styles */

table.OuterDrawTable{
	position: relative;
	border: 3px solid #ffffff;
}

table.InnerRoundTable{
	width: 200px;
	/* border: 1px solid blue; */
}

th.RoundName{
	height:40px;
    width:144px;
	font-family: arial, hevetica, sans-serif;
	font-size: 70%;
	color: green;
	/* border: 1px solid green; */
	color: #FFFFFF;
	background-image: url(images/blue_header.png);
	background-position:center;
	background-repeat:no-repeat;
}

td.MatchContainer{

}

table.MatchTable{
	width: 180px;
}

td.MatchNumber{
	width: 30px;
	background-color: #FFFFFF;
	font-family: arial, hevetica, sans-serif;
	font-size: 0.75em;
	color: #FFFFFF;
	text-align: center;
	font-weight: bold;
	background-image:url(images/green_block.gif);
	background-repeat:no-repeat;
}
.MatchTable{
	background-image:url(images/Info.gif);
	background-position:right;
	background-repeat:no-repeat;
}

td.PlayerName{
	font-family: arial, hevetica, sans-serif;
	font-size: 0.65em;
	color: #FFFFFF;
	text-align: left;
	padding-left: 6px;
	padding-top:3px;
	padding-bottom: 1px;
}

td.PlayerScore{
	font-family: arial, hevetica, sans-serif;
	font-size: 0.65em;
	color: #FFFFFF;
	text-align: center;
	padding-right: 2px;
	padding-top: 2px;
}

/* end DRAWSHEET styles */
/* ###################### */

/* TOURNAMENT STYLES */

#tournamentPanelUpperLayer{
	padding-top: 9px;
	filter:Shadow(color:gray);
	font-size: 0.9em;
}
#tournamentPanelUpperLayer h2{
	font-weight:bolder;
	line-height: 0 px;
	text-align: left;
}
h2 {
	text-align: left;
	margin-bottom: -6px;
}