/* globaalit asetukset */
html
{ 
  	height: 100%;
}

body
{ 
  	background: transparent url(../img/sivuosa2.jpg) repeat-x top center;
  	font-family: verdana, arial, sans-serif;
  	padding: 0px;
  	margin: 0px;
  	font-size: .74em;
  	height: auto;
  	overflow: visible; 
}

p
{ 
  	margin: 0px;
  	padding: 0px 0px 24px 0px;
  	line-height: 20px;
}

h1
{ 
  	marigin: 0px 0px 0px 0px;
  	padding: 0px 0px 0px 0px;
  	font-family: verdana, tahoma, arial, sans-serif;
  	font-size: 140%; 
  	font-weight: bolder;
}

h2
{ 
	margin: 0px;
	padding: 0px 0px 0px 0px;
	font-size: 100%;
	text-decoration: none;
	font-weight: bold;
}

img
{
  	border: 1px solid #000;
}

/* kuvan sijoittelut */
.left
{ 
  	float: left; 
 	padding: 0px 8px 0px 0px;
}

.right
{ 
  float: right; 
  padding: 0px 0px 0px 8px;
}

.center
{ 
  display: block;
  text-align: center;
  margin: 0 auto;
}

/* blockquote */
blockquote
{ 
  margin: 20px 0px 20px 0px; 
  padding: 10px 20px 0px 20px;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

/* listat (unordered) */
ul
{ 
  margin: 8px 0px 0px 14px;
  padding: 0px;
}

ul li
{ 
	list-style-type: square;
	margin: 0px 0px 11px 0px; 
	padding: 0px;
}

/* Pääsisältö */
#main
{ 
	width: 800px;
	margin-left: auto; 
	margin-right: auto;
	height: auto;
	background: transparent url(../img/tausta.gif) repeat-y top; 
}

/* logo */
#logo
{ 
  clear: both;
  border: 0px;
  padding: 2px 0px 0px 0px;
  marigin: 0px 0px 0px 0px;
  width: 760px;
  height: 200px;
}

#logo h1
{ 
  marigin: 0px 0px 0px 0px;
  padding: 160px 0px 0px 10%;
  font-family: verdana;
  font-size: 20px;
  font-weight: bolder;
}

#verticalmenu
{
  clear: both;
  border: 0px;
  width: 760px;
  height: 80px;
}

/* sisältö */
#content
{ 
  align: center;
  margin-left: auto; 
  margin-right: auto; 
  width: 760px;
  height: 100%;
  padding: 0px;
  text-align: left;
  overflow-y: hidden;
} 

/* column 1 - vasemmalla */
#column1
{ 
  width: 210px;
  float: left;
  padding: 0px 0px 5px 8px;
  border-right: solid 1px #C3C3C3;
  height: 100%;
}

#column1 h1
{
  padding: 0px 5px 0px 0px;
}

#menu, #addlinks
{ 
  /* position: relative; */
  width: 200px;
  float: left;
  margin: 0px 0px 10px 0px;
  padding: 8px 0px 0px 0px;
  /* height: 184px; */
}

#menu ul, #addlinks ul
{ 
  margin: 0px auto; 
  padding: 0px; 
  list-style: none; 
  text-align: left; 
  width: 180px;
} 

#menu li, #addlinks li 
{ 
  margin: 0px; 
  list-style: none; 
  float: left; 
} 

#menu li a, #addlinks li a 
{ 
  float: left; 
  height: 14px;
  text-decoration: none; 
  padding: 3px 10px 4px 12px;
  width: 160px;
} 

#menu h1, #addlinks h1
{
  padding: 0px 0px 2px 0px;
}

#sidebaritem
{ 
  width: 200px;
  float: left;
  margin: 0px 0px 10px 0px;
  padding: 8px 0px 0px 0px;
}

#sidebaritem a, #sidebaritem a:hover, #column2 a:hover
{ 
  text-decoration: none;
  width: 778px;
}

#affiliates
{
	position: relative;
  	text-align: left;
  	width: 180px;
  	float: left;
  	min-height: 244px;
}

.rauma
{
	border: 0px;
}

.sidebaritem[id]
{
	height: auto;
}

/* column 2 - oikealla (isompi) */
#column2
{ 
  text-align: left;
  padding: 10px 30px 0px 0px;
  marigin: 10px 5px;
  width: 490px;
  float: right;
}

#column2 a
{
  text-decoration: underline;
}

#column2 h1
{ 
  padding: 0px 0px 6px 0px; 
  margin: 24px 0px 12px 0px; 
  border-bottom: 2px solid;
}

/* alapalkki */
#footer
{ 
	background: transparent url(../img/footer.gif) bottom center;
  	float: left;
  	padding: 0;
	margin: 0; 
  	width: 760px;
  	height: 100px;
  	vertical-align: bottom;
  	text-align: center;
}

#footer a, #footer a:hover{text-decoration: none;}

/* yhteydet - formi layoutti */
form
{
  margin-top: 0px;
}

div.row
{ 
  clear: both;
  width: 448px;
  height: 29px;
}

div.row span.formlabel 
{ 
  float: left;
  width: 150px;
  text-align: left;
}

div.row span.forminput
{ 
  float: right;
  text-align: right;
} 

div.spacer
{ 
  clear: both;
  width: 80px;
  height: 22px;
}

form 
{
  padding: 0;
  margin: 0;
}

label 
{
  float: left;
  width: 25%;
  vertical-align: top;
}

input,
textarea,
select 
{
  padding: 0px;
  font: 400 1em verdana, sans-serif;
  color: #999;
  background: #EEE;
  border: 1px solid #CCC;
}

.pakollinen
{
  left-border: 3px solid #FF0000;
}

input:focus,
input:hover,
textarea:focus,
textarea:hover,
select:focus,
select:hover 
{
  color: #000;
  background: #E7F1F3;
  border: 1px solid #888;
}

input.noBorder,
input:focus.noBorder,
input:hover.noBorder 
{
  padding: 0;
  border: 0;
}

input.button 
{
  padding: 2px 5px;
  font: 400 0.9em verdana, serif;
  cursor: pointer;
  color: #fff;
  background: #FC3307;
  border-width: 1px;
  border-style: solid;
  border-color: #FF7800 #691300 #691300 #FF7800;
}

input.radio 
{
  background: none;
  border: 0px;
}

/* Popup divit */

.popupcontainer
{
	align: center;
	width: 9px;
	background: #eee;
	border: 1px solid #ccc;
	font: center normal 12px Arial, Helvetica, sans-serif;
	color: #000;
}

.popupdiv
{
	position: absolute;
	width: 220px;
	padding: 1px 1px 1px 1px;
	background: #ffc;
	border: 1px solid #ccc;
	font: normal 12px Arial, Helvetica, sans-serif;
	color: #000;
}

#mainokset img
{
	border: 0px;
}

.dropcap {
   display: block;
   float: left;
   font-size: 300%;
   font-family: Georgia, "Times New Roman", Times, serif;
   font-weight: bold;
   height: .8em;
   margin-bottom: -.4em;
   padding: .2em .1em 0 0;
}


.horizontalcssmenu
{
	padding-top: 3px;
	width: 100%;
	height: 29px; 
	border-bottom: 1px solid #AAA;
	background: #F0F8FF;
	align: center;
}

.horizontalcssmenu ul
{
	width: 100%;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/*Top level list items*/
.horizontalcssmenu ul li
{
	position: relative;
	display: inline;
	float: right;
}


/*Top level menu link items style*/
.horizontalcssmenu ul li a
{
	display: block;
	padding: 1px 8px;
	border-right: 1px solid #AAA;
	border-left-width: 0;
	text-decoration: none;
	background: url(menubg.gif) center center repeat-x;
	color: black;
	font: bold 13px "Arial";
}
	
/*Sub level menu*/
.horizontalcssmenu ul li ul
{
	position: absolute;
	display: block;
	border-bottom: 1px solid #AAA;
	border-left: 1px solid #AAA;
	visibility: hidden;
	z-index: 100;
}

/*Sub level menu list items*/
.horizontalcssmenu ul li ul li
{
	display: inline;
	float: none;
	border-bottom: 1px solid #AAA;
}


/* Sub level menu links style */
.horizontalcssmenu ul li ul li a
{
	min-width: 80px; /*width of sub menu levels*/
	font-weight: normal;
	background: #F0F8FF;
}

.horizontalcssmenu ul li a:hover
{
	background: url(menubgover.gif) center center repeat-x;
}

.horizontalcssmenu ul li ul li a:hover
{
	background: #BBB;
}

.horizontalcssmenu .arrowdiv
{
	position: absolute;
	right: 0;
	background: transparent url(menuarrow.gif) no-repeat center left;
}

* html p#iepara
{ 
	padding-top: 1em;
}
	
/* Holly Hack for IE \*/
* html .horizontalcssmenu ul li { float: left; height: 1%; }
* html .horizontalcssmenu ul li a { height: 1%; }
/* End */