body {
  text-align: center;
  background-color: #D5D0B0;
  margin-top:10px;
  margin-left: 3px;
  margin-right: 3px; 
  margin-bottom:10px;
  color:#666666;
}

A:link {
	COLOR: #990000; text-decoration: none
}
A:visited {
	COLOR: #990000; text-decoration: none
}
A:active {
	COLOR: #990000; text-decoration: none
}
A:hover {
	COLOR: #990000; text-decoration: underline
}

#sivu_pohja {
  margin-left: auto; 
  margin-right: auto;
  width: 992px;
  text-align: left;
  background: #FFFFFF url('../img/content_bg.gif') top left repeat-y;
}

#sivu_pohja2 {
  margin-left: auto; 
  margin-right: auto;
  width: 992px;
  text-align: left;
  background: #FFFFFF url('../img/content2_bg.gif') top left repeat-y;
}

#sivu_pohja_search {
  margin-left: auto; 
  margin-right: auto;
  width: 992px;
  text-align: left;
  background: #FFFFFF url('../img/content3_bg.gif') top left repeat-y;
}

#sivu_polku {
  height: 20px;
  clear: both;
  background-color: #D5D0B0;
  text-align:right;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
}

#sivu_otsikko {
  height: 80px;
  background: #FFFFFF url('../img/sportmapworld.jpg') bottom left no-repeat;
  clear: both;
}

#ylamummo {
  width: 992px;
  text-align: left;
  font-size: 12px;
  margin-left: auto; 
  margin-right: auto;

}

#sivu_otsikko_etu {
  height: 80px;
  background: #FFFFFF url('../img/sportmapworld.jpg') bottom left no-repeat;
  clear: both;
}

#sivu_otsikko_team {
  height: 80px;
  background: #FFFFFF url('../img/sportmapworld.jpg') bottom left no-repeat;
  clear: both;
}


#sivu_otsikko h2 {
  padding-top:30px; padding-left:15px;
  margin:0px;
  font-family: verdana;
  font-size: 24px;
  color: #fdbe4d;
  line-height:26px;
  letter-spacing:-1px;
  }
  
  #sivu_otsikko_etu h1 {
  padding-top:30px; padding-left:15px;
  margin:0px;
  font-family: verdana;
  font-size: 24px;
  color: #fdbe4d;
  line-height:26px;
  letter-spacing:-1px;
}

  #sivu_otsikko_team h2 {
  padding-top:30px; padding-left:15px;
  margin:0px;
  font-family: verdana;
  font-size: 24px;
  color: #fdbe4d;
  line-height:26px;
  letter-spacing:-1px;
}

#sivu_otsikko h3 {
  margin:0px;
  padding-left:15px;
  font-family: verdana;
  font-size: 12px;
  color: #D5D0B0;
  line-height:22px;
}

#valikko_rivi {
  margin:0px;
  padding:0px;
  border:0px dashed #cccccc;
  height:26px;
  clear:both;
  background: #FFFFFF url('../img/valikon_bg.gif') bottom left no-repeat;
}

#sisalto_sivu {
  margin-top:4px;
  margin-bottom:4px;
  margin-left:5px;
  margin-right:5px;      
  border:0px dashed #FFFFFF;  
}

#sisalto_sivu_team {
  margin-top:4px;
  margin-bottom:4px;
  margin-left:5px;
  margin-right:5px;      
  border:0px dashed #FFFFFF;  
}

#sisalto_sivu_team h1 {
  margin-top:0px;
  margin-bottom:5px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #6b7e4b;
  text-transform: uppercase;
  
}

#sisalto_sivu_team h2 {
  margin-top:0px;
  margin-bottom:5px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #6b7e4b;
  text-transform: uppercase;
}

#joukkueet {
  margin-top:4px;
  margin-bottom:4px;
  margin-left:210px;
  margin-right:5px; 
  font-size: 14px;     
  border:0px dashed #FFFFFF;  
}

#kapasiteetti {
  margin-top:4px;
  margin-bottom:4px;
  margin-left:210px;
  margin-right:5px;      
  border:0px dashed #FFFFFF; 
  font-size: 14px;
}

#leipis {
  margin-left:200px;
  margin-right:0px;
  border:0px dashed #cccccc;
}

#navform {
  font-size: 12px;
}

div.fastnav {
height: 20px;
}

#leipis_haku {
  margin-left:230px;
  margin-right:0px;
  border:0px dashed #cccccc;
}

div.map
{
	width:780px;
	height:548px;
	background-color:white;
	font-size:11px;
	display:block;
	margin:0px;
	padding:0px;
	vertical-align:top;
}



#leipis h2 {
  margin-top:0px;
  margin-bottom:5px;
  margin-left:3px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #6b7e4b;
}

#leipis p {
  margin-top:5px;margin-bottom:15px;
  padding:4px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  line-height: 16px;
}

#vasen_sivu {
  float: left;
  width:183px;
  border:0px dashed #cccccc;
}

#vasen_sivu_etu {
  float: left;
  width:183px;
  border:0px dashed #cccccc;
}

#vasen_sivu_uusi {
  float: left;
  width:320px;
  border:0px dashed #cccccc;
}

#vasen_sivu h1 {
  margin-top:0px;
  margin-bottom:5px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #6b7e4b;
}

#vasen_sivu_etu h3 {
  margin-top:0px;
  margin-bottom:5px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #6b7e4b;
}

#vasen_sivu_uusi2 h3 {
  margin-top:0px;
  margin-bottom:5px;
  font-family: verdana, arial, sans-serif;
  font-size: 12px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #6b7e4b;
}

#vasen_sivu p {
  margin-top:5px;margin-bottom:15px;
  padding:4px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  line-height: 16px;
  color: #666666;
}

#vasen_sivu_etu p {
  margin-top:5px;margin-bottom:10px;
  padding:4px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  line-height: 16px;
  color: #666666;
}

#oikea_sivu {
  text-align:center;
  float: right;
  width:148px;
  border:0px dashed #cccccc;
}

#oikea_sivu h3 {
  margin-top:0px;
  margin-bottom:5px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #739240;
}

#oikea_sivu p {
  margin-top:5px;margin-bottom:15px;
  padding:4px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  line-height: 16px;
  color: #666666;
}

#sivu_alaosa {
  height: 50px;
  background: #425227;
  clear: both;
  border-left: 1px solid #425227;
  border-right: 1px solid #425227;
  border-bottom: 1px solid #425227;
}

#sivu_alaosa3 {
  height: 50px;
  background: #425227;
  clear: both;
  border-left: 1px solid #425227;
  border-right: 1px solid #425227;
  border-bottom: 1px solid #425227;
}

#sivu_alaosa p {
  padding-top:15px;
  text-align:center;
  font-family: verdana;
  font-size: 10px;
  line-height:14px;
  color:#D5D0B0;
}

#social {
padding-top:4px;
height:90px;
}

#socialone {
padding-top:3px;
}

#sivu_alaosa A:link {
	COLOR: #FBD539; text-decoration: none
}
#sivu_alaosa A:visited {
	COLOR: #FBD539; text-decoration: none
}
#sivu_alaosa A:active {
	COLOR: #FBD539; text-decoration: none
}
#sivu_alaosa A:hover {
	COLOR: #FBD539; text-decoration: underline
}

#sidebar A:link {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: none
}
#sidebar A:visited {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: none
}
#sidebar A:active {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: none
}
#sidebar A:hover {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: underline
}

#vasen_sivu_uusi2 A:link {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: none ; padding-left:4px
}
#vasen_sivu_uusi2 A:visited {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: none ; padding-left:4px
}
#vasen_sivu_uusi2 A:active {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: none ; padding-left:4px
}
#vasen_sivu_uusi2 A:hover {
	COLOR: #990000; font-size:12px; font-family:Arial; text-decoration: underline ; padding-left:4px
}

#linkit_valikko ul {
  padding-left: 0;
  margin-left: 0;
  margin-top:0px;
  background-color: #C86000;
  background: url('../img/valikon_bg.jpg') top right no-repeat; 
  color: #000000;
  float: left;
  width: 100%;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size:12px;
  font-weight:bold;
}

#linkit_valikko ul li { display: inline; }

#linkit_valikko ul li a {
  padding-top: 5px;
  padding-bottom: 7px;
  padding-left:10px;
  padding-right:10px;
  background-color: transparent;
  color: #000000;
  text-decoration: none;
  float: left;
  border-right: 1px solid #BD620E;
}

#linkit_valikko ul li a:hover {
  background-color: #DE6B02;
  background: url('../img/hover_bg.gif') bottom left repeat-x; 
  color: #fff;
}

#linkit_vasen {
  padding-left: 0;
  margin-left: 0;
  border-bottom: 1px solid #D1D9C4;
  width: 130px;
}

#linkit_vasen li {
  list-style: none; 
  margin: 0;
  line-height:15px;
  border-top: 1px solid #D1D9C4;
  font-family:verdana;
  font-size:10px;
}

#linkit_vasen li a 
{
  text-decoration: none;
  color: #990000;
  font-weight:bold;
}

.thumbnail_left {
  float:left;
  margin-right:10px;
  margin-bottom:5px;
  border:0px;
}

.thumbnail_right {
  float:right;
  margin-left:10px;
  margin-bottom:5px;
  border:0px;
}

#vasen_linkita
{
  margin-left:8px;
}

.nappi
{
	width:40px;
}

.nappi2
{
	width:75px;
}
.worldmap
{
	width:100px;
}
#distance h1 {
  margin-top:4px;
  margin-bottom:4px;
  margin-left:11px;
  margin-right:11px;
  font-family: verdana, arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding:4px;
  border: 1px solid #425227;
  background-color: #6b7e4b;
}


.teamform {background-color:#fafafa; border:1px solid #ddd;padding:5px; margin:0px;}
.teamform2 {background-color:#333333; border:0px solid #ddd;padding:8px 8px 8px 8px; margin:0px; color:#FFFFFF;}
.teamform3 {background-color:#333333; border:0px solid #ddd;padding:0px 8px 8px 8px; margin:0px; color:#FFFFFF;}
.selectteam {background-color:#727272; border:0px solid #ddd;padding:5px; margin:0px; color:#FFFFFF; font-size:12px;}
#showdistance{background-color:#fafafa; border:1px solid #ddd;padding:5px; margin:0px;}
#showdistance2{background-color:#505050; border:0px solid #ddd;padding:5px; margin:0px; color:#FFFFFF; font-size:11px;}
#showdistance3{background-color:#505050; border:0px solid #ddd;padding:5px; margin:0px; color:#FFFFFF;}
.distanceinput {font-size:1.2em; color:#003399;}
.distanceinput2 {font-size:1.2em; color:#cc3333;}

#mittaa2 {
	background-color: #4297D1;
    border-radius: 4px 4px 4px 4px;
    color: #FFFFFF !important;
    display: inline-block;
    font-weight: 400;
    line-height: 18px;
    padding: 5px 6px 4px 6px;
	margin-left:10px;
    text-transform: uppercase;
	font-size:10px;
	
}


.chart {
	background-color: #fafafa;
	border:1px solid #cccccc;
	-moz-box-shadow:3px 3px 3px #888;
	-webkit-box-shadow:3px 3px 3px #888;
	-box-shadow:3px 3px 3px #888;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-border-radius: 4px;
	-webkit-background-clip: padding-box;	
	margin-bottom: 4px;
}  

.distt .tt {
	-webkit-transform: translate(12px,12px) rotate(270deg);
	-moz-transform: translate(12px,12px) rotate(270deg) ;
	-o-transform: translate(12px,12px) rotate(270deg);
	-transform: translate(12px,12px) rotate(270deg);
	writing-mode: tb-rl;
    filter: flipv fliph;
	-webkit-transform-origin:left top;
	-moz-transform-origin:left top;
	-o-transform-origin:left top;
	-transform-origin:left top;
	white-space:nowrap;
	display: block;
	text-align: left;
	width: 35px;
	font-weight:100;
}


.chart th.corner, td.left {
	padding: 4px 10px 2px 20px;
	text-align: right;
	width: 200px;
}

.chart .row {
	width: 35px;
	max-width: 35px;
}

.chart th {
    height: 200px;
    padding-bottom: 2px;
    vertical-align: bottom;
}

