a:link {
    color: #000000; 
	padding-top: 5px
}
a:visited {
	color: black;
}
a:hover {
	/*color: darkgray;*/
/*	color: #666666;*/
	color: #808080;
	text-decoration: underline;
}
a.a_inside:hover {
	/*color: darkgray;*/
	/*color: #666666;*/
	color: lightgray;
/*	color: #808080;*/
	text-decoration: underline;
}
a:active {
	color: #666666;
	text-decoration: underline;
}

a {

	text-decoration: none;
}
a.a_inside {
	text-decoration: none;
}

a.h2_inside {
	font-size: 100%;
	text-align: left;
	font-family: Berlin Sans FB Demi, arial;
	text-decoration: underline;
	font-weight: bold;
	color: #666666;
	margin-left: .5em;
}
a.h2_inside:hover {
	/*color: darkgray;*/
	color: lightgray;
}

p.h2_inside {
	font-size: 100%;
	text-align: left;
	font-family: Berlin Sans FB Demi, arial;
	text-decoration: underline;
	font-weight: bold;
	margin-bottom: 0;
	margin-bottom: 0;
	/*margin-top: .5em;*/
	color: black;
}
body {
/*http://www.immigration-usa.com/html_colors.html*/
	/*background: lightgray;
*/
    font-size: 80%;
	background: black;
/*FF6600 #A9A9A9*/
	font-family: arial;
	text-align: center;
}
h1 {
	text-align: center;
	font-size: 150%;
	font-family: Berlin Sans FB Demi, arial;
	letter-spacing: 9px;
	text-indent: 1cm;
	color: #e68200;
}

h1#statsHeader
{
    text-align: left;
}

h2 {
	text-align: left;
	font-size: 120%;
	color: #808080;
	font-family: Berlin Sans FB Demi, arial;
	text-decoration: underline;
	margin-left: 1em;
	margin-bottom: 3px;
	margin-top: 1em;
}

h2.h2_inside {
	font-size: 100%;
	text-align: left;
	font-family: Berlin Sans FB Demi, arial;
	text-decoration: underline;
	font-weight: bold;
	margin-left: .5em;
	margin-bottom: 0px;
	margin-top: .5em;
	color: #666666;
}


h4 {
	text-align: left;
	font-size: 150%;
	color: #808080;
	font-family: Berlin Sans FB Demi, arial;
	text-decoration: underline;
	margin-left: 0em;
	margin-bottom: .5em;
	margin-top: 0em;
}
h2#form {
	text-align: left;
	font-size: 100%;
	color: #808080;
	font-family: Berlin Sans FB Demi, arial;
	text-decoration: underline;
	margin-left: 1em;
	margin-bottom: 3px;
	margin-top: 1em;
}

p {
	text-align: left;
	line-height: 80%;
}
/*
p.table_caption
{
    color: #666666;
    font-weight: bold;
}
*/
p.form {
	text-align: left;
	line-height: 100%;
}
p.left {
	font-family: Berlin Sans FB Demi, arial;
	font-weight: bold;
}
p.red {
	color: #FF0000;
	font-size: 120%;
	text-align: left;
	line-height: 120%;
	font-family: Comic Sans MS;
}
#write {
	font-size: 120%;
}
#counter {
	text-align: right;
}
#links {
	font-size: 100%;
	text-align: left;
	padding-left: 1em;
}
#time {
	text-align: left;
	vertical-align: top;
}

.table_caption {
    /*color: #666666;*/
	margin-left: 0.3em;
	margin-top: .3em;
	margin-bottom: 1em;
	font-weight: bold;
}

.table_caption#active {
    /*color: #666666;*/
    color: #666666;
	text-decoration: underline;
	/*margin-left: 0.3em;
	margin-top: .3em;
	margin-bottom: 1em;
	font-weight: bold;*/
}


th, td {
	/*border-style: solid;
	*/
	border-width: 0px;
	vertical-align: top;
	text-align: left;
}

th.inside, td.inside {
	/*border-style: solid;
	*/
	/*color: white;*/
	border-width: 0px;
	vertical-align: top;
	text-align: left;
}

#news {
	width: 90%;
	padding-left: 0.5cm;
}
td#left_align {
	text-align: left;
}

td.left
{
text-align: left;
}
td.center
{
text-align: center;
}
td.right
{
text-align: right;
}


th {
	/* background-color: #b7d0e3;
*/
	text-decoration: underline;
	font-weight: bold
}
table {
	/*width: 600px;
*/
	/* background-color: #e68200;
*/
	width: 100%;
	/*margin-left: 5%;
	margin-right: 5%;
	border-style: solid;
	border-color: black;
	border-collapse: collapse;
	border-width: 0px;
*/
}

td#right {
	padding-left: 10px;
	width: 33%;
}

#inside_center
{
	text-align: center;
}

/*******************************************************************************
 *
 * Player-card
 *
 ******************************************************************************/   
/* Pelaajakortin tiedot*/

h2.h2_playercard {
	text-align: left;
	font-size: 160%;
	color: lightgray;
	font-family: Berlin Sans FB Demi, arial;
	text-decoration: underline;
	margin-left: .5em;
	margin-bottom: 3px;
	margin-top: 0;
}

a.player_caption {
	font-size: 100%;
	text-align: left;
	line-height: 100%;
	color:lightgray;
	margin-top: .5em;
}

div.smallPlayerContainer {
    min-width:400px;
    max-width:500px;
	padding-top: .5em;
	background-color: black;
	/*padding-top: 1em;
	width: 80%;
*/
 
	/*width: expression(document.body.clientwidth > 500? "500px": "auto" );*/
	 
	
	/*width: 1000px;
*/
}
div.smallPlayerInfo {
	padding-left: .5em;
	padding-right: .5em;
}

td.playerimage {
	/*background-color: #b7d0e3;
*/
	border-style: inset;
	border-width: 4px;
	width: 150px;
	height: 200px;
	text-align: center;
}
/*******************************************************************************
 *
 *  STATS
 *
 ******************************************************************************/   

table.playerstats {
	/*table-layout: automatic;
*/
    margin-top: .3em;


	border-collapse: collapse;
	border-width: 2px;
	text-align: left;
	vertical-align: top;
}
td.playerstats {
	/*table-layout: automatic;
*/
	border-style: solid;
	border-color: #808080;
	border-width: 1px;
	text-align: center;
}
th.playerstats {
	/*table-layout: automatic;
*/
	border-style: solid;
	border-width: 1px;
	border-color: black;
	text-decoration: none;
	text-align: center;
}

td#ilmo {
	/*background-color: #b7d0e3;
*/
	border-color: gray;
	border-style: outset;
	border-width: 1px;
	text-align: center;
}
form#ilmo {
	margin: 0em;
	margin-top: 0em;
}



/*******************************************************************************
 *
 *  CONTAINER SETTINGS
 *
 *******************************************************************************/


div.container {
    width:90%;
    min-width:650px;
    max-width:800px;
    background:#eee;
	background-color: white;
	padding-top: 1em;
	/*width: 80%;
*/
/*	width: expression(document.body.clientwidth > 800? "800px": "auto" );*/
/*	max-width: 800px;
	width: 90%;
	/*width: 1000px;
*/
	margin: 0 auto;
}
div#table {
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 0.5em;
}


/*******************************************************************************
 *
 * HEADER
 *
 *******************************************************************************/
.header {
	font-size: 120%;
	color: #A9A9A9;
	color: lightgray;
	text-align: center;
}   

div#horMenu {
	padding: 0;
	margin: 0;
}

table#logo {
    padding: 0;
    margin: 0;
	background-color: white;
	width: 100%;
}
table#menu {
    padding: 0;
    margin: 0;
	width: 100%;
}
/*******************************************************************************
 *
 *SARJATAULUKKO
 * 
 ******************************************************************************/  

table.sarjataulukko {
	/*background-color: white;*/
    border-collapse: collapse;
    
}
td#js
{
    font-weight: bold; 
}

td.sarjataulukko
{
    padding: 2px;
}

td.sarjataulukko_js
{
    padding: 2px;
    font-weight: bold;
}

td.sarjataulukko_bordertop 
{   
    border-top-style: solid; 
    border-top-color: black; 
    border-top-width: 1px; 
}
td.sarjataulukko_bordertop_js 
{   
    border-top-style: solid; 
    border-top-color: black; 
    border-top-width: 1px; 
    font-weight: bold; 
}

/******************************************************************************
 *
 *    Properties of jedanstaga-footer
 *    
 *****************************************************************************/

#footer_caption
{
    font-size: 90%;
}

#spons {
	text-align: left;
	font-size: 120%;
	font-weight: bold;
	vertical-align: middle
}

#inside_right
{
    text-align: right;
}
/*
div#left {
	margin-top: 20px;
	margin-right: 15px;
	float: left;
	width: 200px;
}
div#right {
	margin-left: 15px;
	float: right;
	width: 35%;
}
*/
/*
div#leftcol {
	margin-top: 20px;
	margin-right: 15px;
	float: left;
	width: 200px;
}
div#rightcol {
	margin-left: 15px;
	float: right;
	width: 35%;
}
*/


/*div.left {
	float: left;
	width: 140px;
	margin: 0;
	padding: 0.2cm;
	font-size: 16px;
	letter-spacing: 1px;
}
*/
/*div.content {
	padding: 2em;
	min-height: 250px;
	margin-left: 150px;
	border-left: 1px solid gray;
}
*/
/*******************************************************************************
 *
 *   elements for tables with rounded corners  
 *   
 ******************************************************************************/
#round_corners_table {
	border: 0px;
	border-collapse: collapse;
	background-color: #e68200;
	margin-top: 0;
	margin-bottom: 0;
}

#round_corners_table_black{
	border: 0px;
	border-collapse: collapse;
	background-color: #e68200;
	margin-top: 0;
	margin-bottom: 0;
}

#top-row {
	height: 10px;
}
#bottom-row {
	height: 10px;
}
#tl {
	width: 8px;
	background-image: url(tl.gif);
}
#tr {
	width: 8px;
	background-image: url(tr.gif);
}
#bl {
	background-image: url(bl.gif);
}
#br {
	background-image: url(br.gif);
}

/* NO BG CORNERS */
#tl_nobg {
	width: 8px;
	background-image: url(tl_nobg.gif);
}
#tr_nobg {
	width: 8px;
	background-image: url(tr_nobg.gif);
}
#bl_nobg {
	background-image: url(bl_nobg.gif);
}
#br_nobg {
	background-image: url(br_nobg.gif);
}


/* BLACK BG CORNERS */
#tl_black {
	width: 8px;
	background-image: url(tl_black.gif);
}
#tr_black {
	width: 8px;
	background-image: url(tr_black.gif);
}
#bl_black {
	background-image: url(bl_black.gif);
}
#br_black {
	background-image: url(br_black.gif);
}


/*body {
	background: #18447b url(images/background.png) repeat-y center +.5em;
	background: black;
	font-size: small;
}
*/
/*#guestbook_container {
	width: 506px;
	width: 640px;
	margin: 0 auto;
	background: #fff;
}
*/

/*******************************************************************************
 *
 * Guestbook related stuff
 * 
 ******************************************************************************/
#guestbook_container {
	/*width: 506px;
	width: 580px;
	margin: 0 auto;
*/
	/*background: #fff;
*/
	text-align: left;
}
#guestbook_welcome, #guestbook_sign {
	/*height: 50px;
	background: url(guestbook/images/welcome_bg.png);
*/
	border-bottom: 5px #ccc solid;
	padding-bottom: 1em;
	margin-bottom: 1em;
}
#guestbook_welcome_mh p {
	margin: 1em;
	font-family: Berlin Sans FB Demi, arial;
	font-weight: bold;
	font-size: 150%;
}
#guestbook_link a {
	margin: 1em;
	font-family: Berlin Sans FB Demi, arial;
	font-weight: bold;
	font-size: 150%;
}
#guestbook_welcome p {
	margin: 1em;
}
#guestbook_welcome_mh p {
	margin: 1em;
	font-family: Berlin Sans FB Demi, arial;
	font-weight: bold;
	font-size: 150%;
}
#guestbook_sign p {
	margin: 1em;
}
#guestbook_welcome h2 {
	letter-spacing: -1000em;
	background: url(guestbook/images/welcome.png);
	width: 131px;
	height: 33px;
}
#guestbook_sign h2 {
	letter-spacing: -1000em;
	background: url(guestbook/images/sign.png);
	width: 61px;
	height: 32px;
}
#guestbook_footer {
	margin: 1em;
	text-align: right;
}
#guestbook_smilies {
	/*margin: 1em;
*/
	vertical-align: middle;
}
.guestbook_comment {
	border: 1px solid;
	margin: .5em;
}
.guestbook_comment p {
	margin: .5em;
	margin-top: 1em;
}
.guestbook_secimage {
	display: block;
	clear: both;
	margin: .5em;
}
h1 {
	letter-spacing: 0em;
}
/*hr {
	border-top: 1px solid #456c93;
	margin: 1em auto;
	width: 80%;
}
*/
/*a {
	color: #67A2DD;
	text-decoration: none;
}
a:hover {
	padding-bottom: .2em;
	border-bottom: 1px solid #67A2DD;
}
*/
form {
	margin: 1em;
	margin-top: 3em;
}
label {
	display: block;
	margin-top: .5em;
	margin-bottom: .2em;
}