/* CSS Document */

*	{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	}

body {
	height: 100%;
	font: 12px Verdana, sans-serif;
	color: #31363e;
	background: none /*url(../images/bg_gradient.jpg) repeat-x top*/;
	background-position: 0px 180px;
	background-color: #D9D0C1;
	}

/* links
---------------------------------------------------------- */

a:link, a:visited {
	padding-bottom: 1px;
	color: #48505B;
	text-decoration: none;
	}
a:hover {
	color: #383d44;
	background: #eee;
	}
a.linkki {
	padding-right: 7px;
	}
a.huomio {
	border-bottom: 1px solid #fff;
	}
		
/* page structure
---------------------------------------------------------- */
#header {
	font-size: 95%;
	height: 180px;
	background-image: url(../images/basketball_header.jpg);
	background-position: top right; 
	background-repeat: no-repeat;
	background-color: #38464f /* #293F45 #31363e */;
	}
#main-body {
	width: 900px;
	margin: 30px auto;
	}
#navi {
	width: 800px;
	margin: 20px auto;
	/* border-top: 1px solid #fff; */
	}
#content {
	width: 700px;
	float: left;
	line-height: 15px;
/*	border-right: 1px solid #31363e; */
	}
#content_wide {
	width: 930px;
	}
#sidebar {
	width: 180px;
	float: right;
	margin-left: 10px;
	font-size: 11px;
	font-family: Verdana, sans-serif;
	line-height: 15px;
	color: #666b75;
	}

/* logo
---------------------------------------------------------- */
.tekstiiso { 
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 200%;
	line-height: 1.5;
	color: #fff;
	border: none;
	}
.tekstipieni { 
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 160%;
	line-height: 1.5;
	color: #fff;
	border: none;
	}
#logo {
	width: 600px;
	margin: auto;
	padding: 25px 0 40px 0;
	}
#logo span {
	display: block;
	border-style: none;
	}
#logo img  {
	display: block;
/*	background-color:#FFFFFF; */
	}

#logo a {
	border-style: none;
	}
#logo a:hover {
	background-image: none;
	border-style: none;
	}
 
/* navigation
---------------------------------------------------------- */

#navi ul {
	list-style: none;
	background-color: transparent; /* #293F45; */
	/*
	background-image: url(../images/navi_bg.jpg);
	background-position: bottom;
	background-repeat: repeat-x;
	*/
	}
#navi li {
	float: left;
	font-family: Verdana, sans-serif;
	font-size: 80%;
	letter-spacing: 2px;
	text-transform: uppercase;
	list-style: none;
	list-style-image: none;
	}
#navi li a {
	float: left;
	padding: 10px 20px 10px 20px;
	text-decoration: none;
	color: #e7e3d9;
	border: none;
	}
#navi li a:hover {
	color: #fff;
	background-color: #121f27;
	}
#navi li a.active {
	font-weight: bold;
	color: #fff;
	}
/* content
---------------------------------------------------------- */
#content p {
	margin: 0 0 20px 0;
	}
	
/* entries */
#content div.entry {
	width: 600px;
	margin: 15px 0 2px 0;
  }
#content a {
	color: #B0602F;
	}
#content a:hover {
	color: #B0602F;
	}
#content div.entry h2.date {
	margin-bottom: 6px;
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 80%;
	line-height: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
	color: #666b75;
	}
#content div.entry h3 {
	margin-bottom: .8em;
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 18px;
	line-height: 1.0em;
	color: #8D4D25;
	border: none;
	}
#content div.entry h3 a {
	font-size: 18px;
	line-height: 1.0em;
	color: #8D4D25;
	border: none;
	}
#content div.entry h3 a:hover {
	color: #B0602F;
	border-bottom: 1px solid #fff;
	}
#content div.entry h4 {
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height: 15px;
	color: #B0602F;
	border: none;
	}
#content div.entry h4 a {
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height: 15px;
	color: #B0602F;
	border: none;
	}
#content div.entry h4 a:hover {
	background: white;
	}	
#content div.entry font.vahva {
	font-family: Verdana, sans-serif;
	font-weight: 600;
	font-size: 100%;
	line-height: 15px;
	border: none;
	}
#content div.entry img.thumb {
	float: right;
	margin-left: 12px;
	margin-bottom: 6px;
	margin-top: 5px;
	padding: 1px;
	border: 2px solid  #dbd5c5;
	background-color: #fffefa;
	background-image: none;
	}
#content a img.thumb:hover {
	border-color: #ffffff;
	background-color: #ffffff;
	background-image: none;
	}
#content img.nurisalo {
	margin-left: 12px;
	margin-bottom: 6px;
	margin-top: 05px;
	padding: 1px;
	border: 2px solid #000000;
	background-image: none;
	}
#content ul, #sidebar dl {
	list-style-type: disc;
	list-style: none;
	}
#content li {
	margin: 0 0 0 15px;
	}
#content li.first {
	padding: 5px 0 0 0;
	}
#content li.last {
	padding: 0 0 5px 0;
	}
#content li.only {
	padding: 5px 0 5px 0;
	}

/* content_wide
---------------------------------------------------------- */
	
#content_wide p {
	margin: 0 0 20px 0;
	}

/* entries */

#content_wide h2.date {
	margin: 0 0 15px 0;
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 80%;
	line-height: 1em;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
	color: #666b75;
	}
#content_wide div.entry {
	margin: 0 0 30px 0;
	}
#content_wide div.entry h3 {
	margin: 0 0 .4em 1em;
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 140%;
	line-height: 1.0em;
	color: #8D4D25;
	border: none;
	}
#content_wide div.entry h3 a {
	text-decoration: none;
	color: #8D4D25;
	border: none;
	}
#content_wide div.entry h3 a:hover {
	color: #B0602F;
	border-bottom: 1px solid #fff;
	}

/* sidebar
---------------------------------------------------------- */

#sidebar h3 {
	margin: 25px 0 12px 0;
	padding-bottom: 5px;
	font-family: Verdana, sans-serif;
	font-weight: bold;
	font-size: 100%;
	line-height: 1em;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #B0602F;
	border-bottom: 1px solid #fff;
	}
#sidebar p {
	margin: 0;
	padding: 0;
	}
#sidebar p.cc {
	margin-top: 1em;
	}
#sidebar ul, #sidebar dl {
	line-height: 15px;
	list-style: none;
	}
#sidebar li {
	margin: 0 0 5px 5px;
/*	background: url(../img/1206/icon-bullet.gif) no-repeat 0 4px; */
	}

#login {
	display: block;
	padding-top: 05px;
	padding-right: 05px;
	padding-bottom: 05px;
	padding-left: 05px;
	background-color: transparent;
	}
#login:after {
	clear: both;
	}
#login .input {
	float: left;
	clear: left;
	width: 10em;
	padding: 0.1em;
	font-family: "Minion web", sans-serif;;
	font-size: 1.2em;
	color: #000;
	border 1px solid #e0e0d5;
	background-color: #bbb;
	}
#login .input:focus {
	background-color: #fff;
	}
#login .submit {
	float: left;
	clear: left;
	font-family: "Minion web", sans-serif;;
	font-size: 10px;
	border: 2px solid #e0e0d5;
	margin-top: 3px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0.1em;
	padding-right: 05px;
	padding-bottom: 0.1em;
	padding-left: 05px;
	}
#login .submit:hover, .submit:focus {
	background-color: #fff;
	}
#login label {
	float: left;
	clear: left;
	color: #000;
	border: 0px solid #e0e0d5;
	padding: 0;
	}
/* Ylläpito
---------------------------------------------------------- */
dt.yllapito {
	margin: 1em 0 0.4em 1em;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-weight: normal;
	font-size: 140%;
	line-height: 1.0em;
	color: #8D4D25;
	border: none;  
	}
dt.yllapito a {
	color: #8D4D25;
	}


/* misc.
---------------------------------------------------------- */

hr, .hide {
	height: 0;
	visibility: hidden;
	display: block;
	}
a img {
	border: none;
	}
/* self-clearing floats */

#navi ul:after, 
#main-body:after,
#content div.entry:after,
#login form:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}
/* all-arounders 
---------------------------------------------------------- */
.message {
	color: #014453;
}


/* nimeämisen taulukot
---------------------------------------------------------- */
#kalenteri {
	float: left;
	width: 170px;
	text-align: left;
	padding: 0;
	padding-left: 20px;
}
#kalenteri a {
	font-family: Trebuchet MS, Tahoma;
	font-size: 11px;
	color: black;
	font-weight: normal;
	background: none;
}
#kalenteri a:hover {
	font-weight: bold;
}
div#pelinavi {
  float: right;
  width: 170px;
  padding-left: 10px;
  padding-top: 15px;
  font-size: 10px;
}
div#tiputusvalikot {
	font-size:10px;
	width: 170px;
	clear: both;
	float: none;
	padding: 0;
	border: /* 1px solid black*/;
}
table.ottelulista {
	width: 650px;
	padding: 0;
	border-collapse: collapse;
	table-layout: fixed;
}
table.ottelulista tr.pvm {
  /* empty */
}
table.ottelulista td.pvm {
	font-family: Trebuchet MS, Tahoma;
	font-size: 12px;
	font-weight: bold;
	padding-top: 10px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-left: 0px;
	background: none;
	text-align: left;
}
table.ottelulista tr.otsikko {
  font-family: Trebuchet MS, Tahoma, sans-serif;
  vertical-align: top;
  font-size: 11px;
}
table.ottelulista td.otsikko_pvm{
  width: 60px;
  padding: 0;
  border-bottom: ridge 2px #D9D0C1;
  border-top: solid 0px #000;
  background: none;
}
table.ottelulista td.otsikko_klo{
  width: 40px;
  padding: 0;
  border-bottom: ridge 2px #D9D0C1;
  border-top: solid 0px #000;
  background: none;
}
table.ottelulista td.otsikko_sarja{
  width: 80px;
  padding: 0;
  border-bottom: ridge 2px #D9D0C1;
  border-top: solid 0px #000;
  background: none;
}
table.ottelulista td.otsikko_paikka{
  width: 150px;
  padding: 0;
  border-bottom: ridge 2px #D9D0C1;
  border-top: solid 0px #000;
  background: none;
}
table.ottelulista td.otsikko_koti{
  width: 100px;
  padding: 0;
  border-bottom: ridge 2px #D9D0C1;
  border-top: solid 0px #000;
  background: none;
}
table.ottelulista td.otsikko_vieras{
  width: 100px;
  padding-right: 5px;
  border-bottom: ridge 2px #D9D0C1;
  border-top: solid 0px #000;
  background: none;
}
table.ottelulista td.otsikko_tuomari{
  width: 160px;
  padding-right: 5px;
  border-bottom: ridge 2px #D9D0C1;
  border-top: solid 0px #000;
  background: none;
}
table.ottelulista td.otsikko_estyneet{
	width: 130px;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}

table.ottelulista tr.peli {
	vertical-align: top;
	font-family: Arial;
	font-size: 11px;
}
table.ottelulista tr.peli:hover {
	background: #e9e6e2;
}
table.ottelulista td.peli_pvm{
}
table.ottelulista td.peli_klo{
}
table.ottelulista td.peli_sarja{
}
table.ottelulista td.peli_paikka{
}
table.ottelulista td.peli_koti{
	padding-left: 5px;
}
table.ottelulista td.peli_vieras{
	padding-right: 5px;
}
table.ottelulista td.peli_tuomari{
	border-right: 2px dashed #e9e6e2;
}
table.ottelulista td.peli_estyneet{
  color: #d23131; 
  padding-left: 10px;
  background: #D9D0C1; 
}
table.ottelulista td.peli_estyneet:hover {
	background-color: none;
	background-image: none;	
	background-position: 0% 0%;
}
table.ottelulista tr.peli_empty {
	vertical-align: top;
	font-family: Arial;
	font-size: 10px;
}
table.nimeaminen {
	width: 660px;
	padding: 0;
	border-collapse: collapse;
}
tr.nimeaminen_sarjataso {
}
td.nimeaminen_sarjataso {
	font-family: Trebuchet MS, Tahoma;
	font-size: 12px;
	font-weight: bold;
	padding-top: 10px;
	background: none;
	text-align: left;
}
tr.nimeaminen {
	height: 1px;
	font-size: 1px;
}
td.nimeaminen_pvm{
  width: 80px;
}
td.nimeaminen_klo{
  width: 50px;
}
td.nimeaminen_sarja{
  width: 100px;
}
td.nimeaminen_paikka{
  width: 150px;
}
td.nimeaminen_koti{
  width: 90px;
}
td.nimeaminen_vieras{
	width: 90px;
}
td.nimeaminen_tuomari{
	width: 100px;
}
tr.nimeaminen_otsikko {
	font-family: Trebuchet MS, Tahoma, sans-serif;
	vertical-align: top;
	font-size: 11px;
}	
td.nimeaminen_otsikko_pvm{
	padding: 0;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}
td.nimeaminen_otsikko_klo{
	padding: 0;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}
td.nimeaminen_otsikko_sarja{
	padding: 0;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}
td.nimeaminen_otsikko_paikka{
	padding: 0;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}
td.nimeaminen_otsikko_koti{
	padding: 0;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}
td.nimeaminen_otsikko_vieras{
	padding-right: 5px;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}
td.nimeaminen_otsikko_tuomari{
	padding-right: 5px;
	border-bottom: ridge 2px #D9D0C1;
	border-top: solid 0px #000;
	background: none;
}

tr.nimeaminen_peli {
	vertical-align: top;
	font-family: Arial;
	font-size: 11px;
	border-top: 1px solid black;
}
tr.nimeaminen_peli:hover {
	background: #e9e6e2;
}
td.nimeaminen_peli_pvm{
	height: 50px;
}
td.nimeaminen_peli_klo{
	padding-right: 5px;
}
td.nimeaminen_peli_sarja{
	padding-right: 5px;
}
td.nimeaminen_peli_paikka{
	padding-right: 5px;
}
td.nimeaminen_peli_koti{
	padding-right: 5px;
}
td.nimeaminen_peli_vieras{
	padding-right: 5px;
}
td.nimeaminen_peli_tuomari{
	padding-right: 5px;
}
td.nimeaminen_peli_tuomari select{
	width: 140px;
	border: none;
}
.varattu {
	background-color: pink;
}
tr.nimeaminen_peli_empty {
	vertical-align: top;
	font-family: Arial;
	font-size: 10px;
}

table.esteet {
	width: 170px;
	border-spacing: 2px;
	min-height: 134px;
 }
.esteet_pvm {
	vertical-align: top;
	font-family: Arial;
	font-size: 11px;
	border-spacing: 0px;
	border-bottom: 1px solid black;
}
.esteet_tuomari {
	vertical-align: top;
	font-family: Arial;
	font-size: 11px;
	border-spacing: 0px;
	border-bottom: 1px solid black;
}
.esteet_nimet {
	vertical-align: top;
	font-family: Arial;
	font-size: 11px;
	color: #f00;
}
table.esteet td.kalenteri_otsikko {
  height:16px;
  width: 20px;
  font-weight:bold;
  font-size: 11px;
  text-align: center; 
}
table.esteet td.edellinen_kuukausi, td.seuraava_kuukausi {
  width:20px;
  height:16px;
  font-size: 11px;
  text-align: center;
  border-style: solid;
  border-width: 1px;
  border-color: #c3c3c3;
  white-space: nowrap;
  vertical-align: top;
  color: #c0a880;
}
table.esteet td.estepaiva {
  width:20px;
  height:16px;
  font-size: 11px;
  color: #000;
  text-align: center;
  vertical-align: top;
  border-style: solid;
  border-width: 1px;
  border-color: #c3c3c3;
  background-image: url(../images/tausta_este.jpg);
  background-color: #fbd6c9;
  background-repeat: no-repeat;
}
table.esteet td.estepaiva_muokkaa {
  width:20px;
  height:16px;
  font-size: 11px;
  color: #000;
  text-align: center;
  vertical-align: top;
  border-style: solid;
  border-width: 1px;
  border-color: #c3c3c3;
  background-image: url(../images/tausta_este.jpg);
  background-color: #fbd6c9;
  background-repeat: no-repeat;
}
table.esteet td.estepaiva_muokkaa:hover {
  width:20px;
  height:16px;
  font-size: 11px;
  color: #000;
  text-align: center;
  vertical-align: top;
  border-style: solid;
  border-width: 1px;
  border-color: #c3c3c3;
  background-image: none;
  background-color: #FFF;
  background-repeat: no-repeat;
}
table.esteet td.vapaapaiva {
  width:20px;
  height:16px;
  font-size: 11px;
  color: #000;
  text-align: center;
  vertical-align: top;
  border-style: solid;
  border-width: 1px;
  border-color: #c3c3c3;
  background-image: url(../images/tausta_vapaa.jpg);
  background-color: #cbead3;
  background-repeat: no-repeat;
}
table.esteet td.pelipaiva {
  width:20px;
  height:16px;
  font-size: 11px;
  color: #000;
  text-align: center;
  vertical-align: top;
  border-style: solid;
  border-width: 1px;
  border-color: #c3c3c3;
  background-image: url(../images/tausta_peli.jpg);
  background-color: #cfdff0;
  background-repeat: no-repeat;
}
table.esteet td.estepaiva:hover,
table.esteet td.vapaapaiva:hover,
table.esteet td.pelipaiva:hover {
  border-color: #000;
}
table.esteet td.normipaiva {
  width:20px;
  height:16px;
  font-size: 11px;
  color: #000; 
  text-align: center;
  vertical-align: top;
  border-style: solid;
  border-width: 1px;
  border-color: #c3c3c3;
  background-image: none;
}
table.esteet td#today {
  font-weight: bold; 
}
.error {
  color: #d23131;
}

/* extra
---------------------------------------------------------- */
#tuomari_content {
	width: 100%;
	text-align:center
}



a {
	text-decoration: none;
	margin: 0px;
	color: #navy
}

input {
	border: #999 1px solid;
	font-weight: normal;
	font-size: 10px;
}
.input_tuomarinimeaminen {
	border: #999 1px solid;
	font-weight: normal;
	font-size: 10px;
}

#sarjalista a {
	text-decoration: none;
	color: black;
}
.simple_link:hover {

	background-color: silver;

}


#scroll {
	position: relative;
	margin: 0 auto;
	visibility: hidden;
	background-color: white;
	z-index: 1;
	width: 180px;
	height: 50px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-collapse: collapse;
	border-bottom-style: solid;
	border-color: #000000;
	border-width: 1px;
	overflow: auto
}

#scroll div {
	margin: 0 auto;
	text-align:left
}

#suggest table {
	width: 270px;
	font-size: 11px;
	font-weight: normal;
	color: #676767;
	text-decoration: none;
	border: 0px;
	padding: 0px;
	text-align:left;
	margin: 0px
}

.highlightrow {
	background-color: #999999;
	cursor: pointer;
}
/* self-clearing floats
----------------------------------------------------- */

/* trigger hasLayout and target ie5+6/win only */
* html #content div.entry,
* html #navi ul li a {
	height: 1%;
	}
/* trigger hasLayout and target ie7/win only */
*:first-child+html #content div.entry {
	min-height: 1px;
	}
*:first-child+html #login form {
	min-height: 1px;
	}


* html #content div.entry,
* html #navi ul li a {
	display: inline;
	}

