html{height: 100%;}

body
{ font-family: tahoma, arial, sans-serif;
  padding: 0px;
  margin: 0px;
  font-size: .80em;
  background: #FFF url(sbcak_bg.png) repeat;
}

img{border: 0px; }

p
{ margin: 5px;
  padding: 5px 5px 5px 5px;
  line-height: 1.2em;
}

li
{ margin: 5px;
  padding: 0px 5px 5px 5px;
  line-height: 1.4em;
}

h1
{ font-family: tahoma, serif;
  font-size: 108%;
 font-weight: bold;
   letter-spacing: .1em;
}

h2
{ margin: 0px;
  padding: 0px 0px 4px 0px;
  font-size: 102%;
  letter-spacing: .1em;
  font-weight: normal;
  text-decoration: underline;
}

h3
{ 
font-family: tahoma, serif;
margin: 5px;
  padding: 0px 0px 4px 0px;
  font-size: 102%;
  letter-spacing: .1em;
  font-weight: normal;
   color: #6699CC;
}

hr
{
color: #6699CC;
}

fieldset
{
 font-size: 102%;
border: 1px solid #6699CC;
margin: 5px;

}

legend
{
color: #555;
 font-weight: bold;
}

table#dot, td#dot
{
background: #FFF;
text-align:left;
border:  1px dotted #6699CC;
margin:10px 10px 10px 5px; 
padding:5px;
}

table, td
{
background: #FFF;
text-align:left;
border:  0px dotted #6699CC;
margin: 5px 5px 5px 5px; 
padding:5px;
}


/* kuvat - left, right and center */
.left
{ float: left; 
  padding: 0px 8px 0px 10px;
}

.right
{ float: right; 
  padding: 0px 10px 0px 8px;
}

.center
{ display: block;
  text-align: center;
  margin: 0 auto;
}

/* margin lefts / margin rights - to centre content */
#wrapper
{ margin-left: auto; 
  margin-right: auto;
}

/* main container */
#wrapper{width: 900px;}

/* header */
#header
{ width: 100%;
  height: 120px;
}

/* logo_left */
#logo_left
{ padding: 2px 0px 0px 0px;
  float: left;
  margin: 10px 10px 10px 5px;
}

#logo_right
{ padding: 15px 17px 10px 14px;
  float: right;
  text-align: right;
}

#logo_right p
{ padding: 0px;
  margin: 0px;
}

#logo_right a, #logo_right a:hover
{ padding: 0px 0px 2px 14px;
  text-decoration: none;
  background: transparent url(arrow.png) no-repeat center left;
  color: #555;
}

/* menu */
#menu{margin: 0px 10px 0px 10px;}

#menu ul
{ 
  height: 35px;
  margin: 0px auto;
} 

#menu li
{ float: left; 
  margin: 0px 0px 0px 0px; 
  padding: 0px;
  list-style: none;
} 

#menu li a, #menu li a#selected, #menu li a:hover 
{ font-family: tahoma, arial, sans-serif;
  display: inline; 
  float: left; 
  text-decoration: none; 
  margin: 10px 10px 0px 5px;
  padding: 0px;
  text-transform: uppercase;
  font-size: 83%;
} 

#menu, #menu li a
{ background: #FFCC66;
  color: #555;
}

#menu li a:hover, #menu li a#chosen, #menu li a#chosen:hover
{ background: #FFCC66;
  color: #6699CC;
  border-color: #B1BCA4;
}

/* Sivu laatikot */
.side
{ float: left;
  width: 190px;
  padding: 16px 15px 15px 15px;
font-family: tahoma, arial, sans-serif;
}

/* Sivul. content*/
.sideitem
{ text-align: left;
  width: 190px;
  float: left;
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 0px 0px;
background:#FFCC66;
}

.sideitem ul
{margin: 0px 0px 0px 10px;  
padding: 10px 0px 10px 0px;
}

.sideitem li
{ list-style: none; 
  padding: 2px 0px 2px 0px;
  margin: 0px 0px 0px 0px;
font-family: tahoma, arial, sans-serif;
}

.sideitem li a, .sideitem li a:hover
{ 
height: 16px;
  text-decoration: none; 
  width: 190px;
font-family: tahoma, arial, sans-serif;
} 

.sideitem a#chosen
{ color: #6699CC;
}

.sideitem li a
{ background: transparent url(arrow.png) no-repeat center left;
  color: #555;
} 

.sideitem li a:hover
{ background: transparent url(arrow_select.png) no-repeat left center;
  color: #555;
} 


.sideitem a, .sideitem a:hover
{ padding: 2px 0px 2px 12px;
  text-decoration: none;
   color: #555;
 
}

.sideitem p, h1, h2
{
font-family: tahoma, arial, sans-serif;
  padding: 2px 0px 2px 10px;
  margin: 0px 0px 0px 0px;
}

.sideitem h1
{ font-weight: normal; 
	color: #6699CC;
  text-transform: uppercase;
    font-size: 13px;
}

/*** Content ***/
#content_short, #content
{ text-align: justify;
  width: 440px;
  padding: 11px 9px 15px 9px;
  margin-top: 16px;
  float: left;
  background: #FFF;
  color: #555;
}

/** Pidempi keskiosa **/
#content 
{
width: 640px;
}

#content_short h1, #content h1
{ font-family: tahoma, arial, sans-serif;
  margin: 5px 0px 12px 0px; 
  font-size: 120%;  
  font-weight: bold;
background: #FFF;
  color: #6699CC;
}

#content_short a, #content_short a:hover, #content a, #content a:hover
{ padding: 0px 0px 2px 0px;
  text-decoration: none;
   background: transparent;
  color: #6699CC;
}

#pentue li
{ list-style: none; 
  padding: 2px 0px 2px 0px;
  margin: 0px 0px 0px 0px;
font-family: tahoma, arial, sans-serif;
}

#tumm a, #tumm a:visited
{ 
  color: #555;
text-decoration: underline;
}

#tumm li a:hover
{ 
  color: #6699CC;
}

/** Laatikoiden reunat **/

.xsnazzy {background: #FFF;  }

.xb4, .xb5, .xb6, .xb7 {display:block; overflow:hidden; font-size:0;}
 .xb4, .xb5, .xb6, .xb7 {height:1px;}
 .xb4, .xb5, .xb6, .xb7 {background:#B0C4DE; border-left:1px solid #B0C4DE; border-right:1px solid #B0C4DE;}


.xb4 {margin:0 5px; background: #B0C4DE; }

.xb5 {margin:0 3px; background:#B0C4DE; }
.xb6 {margin:0 2px; background:#B0C4DE; } 
.xb7 {margin:0 1px; background:#B0C4DE; height:2px;} 

/** Sivulaatikoiden content**/
.xboxcontent {background:#FFCC66;text-align: left;  color: #555;}

/* footer */
#footer
{ height: 44px;  
  padding: 18px 0px 4px 0px;
  font-size: 90%;
  font-family: tahoma, arial, sans-serif;
  clear: both;
  text-align: center; 
  border-top: 2px solid;
  margin: 4px 15px 4px 15px;
  background: transparent;
  color: #6699CC;
  border-color: #6699CC;
}

#footer a
{ text-decoration: none;
  padding: 0px 0px 2px 0px;
color: #6699CC;
}

#footer a:hover
{ text-decoration: none;
  padding: 0px 0px 2px 0px;
  border-bottom: 1px solid;
  color: #6699CC;
}
