img {
margin: 0;
padding: 0;
border: 0;
}

body{ 

margin:0; 
padding:0; 
width:84%; 
margin-left:auto;
margin-right:auto;
background-color: #CECCCC;
} 

#sivu{ 
margin:0; 
padding:0; 
margin-left:auto;
margin-right:auto;
margin-top:50px;
margin-bottom:30px;
min-width:766px;
max-width:1100px;
border:1px solid #305EA2;
font-family:arial, verdana, sans-serif;
font-size: 12px;
font-style: normal;
color: #000000;
background-color: #ffffff;
} 

#otsikko{
background: url('http://tikpar.com/kuvat/yla.gif') no-repeat;
 position:relative; 
 height:93px; 
 width:100%;
 display:block;
 overflow:auto;
} 

/*vasen-----------------------------------*/

#vasen{
background: url('http://tikpar.com/kuvat/vasen.gif') repeat-x 0 0;
width:20%; 
float:left; 
position:relative; 
padding-top:60px;
}
  
#vasen p.tapahtumat a{
text-decoration: underline;
}
   
#vasen p{
padding-left:10px;
padding-right:10px;
}
 
#vasenlista p{
margin-top:20px;
margin-bottom:20px;
font-weight:bold;
font-family:arial, verdana, sans-serif;
font-size: 11px;
}
 
p.tapahtumat{
text-align: center;
margin-top:15px;
margin-bottom:0px;
}

p.kuukausi{
margin-top:5px;
margin-bottom:2px;
}

p.tapahtuma{
margin-top:4px;
margin-bottom:0px;
font-size: 11px;
}

#vasen hr{
width:35%;
padding-bottom:10px;
margin-top:15px;
border: 0;
border-top: 1px solid #305EA2;
height: 0; 
 }

/*teksti-----------------------------------*/
 
#teksti{
position: relative; 
width:80%;
float:right; 
}

#tekstiosuus{
margin-left:-1px;
width:93%;
padding-top:10px;
padding-bottom:10px;
padding-right:30px;
padding-left:30px;
height:100%;
border-left:1px solid #305EA2;
min-height:350px;
}

td.pikku{
font-size: 11px;
font-family: Arial, Helvetica;
font-style: normal;
color: #000000;
}

 
h1 { font-size: 17px; 
font-weight: bold; 
margin-bottom:20px;
margin-top:20px;
}


/*linkit-----------------------------------*/

a, a:active {
color: #060694;
text-decoration: none;
}

a:hover {
color: #060694;
text-decoration: underline;
}

/*ala-----------------------------------*/
 
#ala{
height:22px; 
border-top:1px solid #305EA2;
background: url('http://tikpar.com/kuvat/ala.gif') no-repeat;
clear:both;
display:block;
overflow:auto;
font-size: 11px;
font-style: normal;
} 
 
#ala p {
margin: 0;
padding-left:7px;
line-height:22px; 
color: #ffffff;
}  

/*navigaatio-----------------------------------*/
  
#nav {

float:left;
width:80%;
margin:0%; 
border-top:1px solid #305EA2;
border-bottom:1px solid #305EA2;
background-color: #ffffff;
}

#menu {
padding:0; 
margin:0; 
margin-left:0px; 
list-style:none; 
height:25px; 
position:relative; 
z-index:9; 

}


#menu li {
background:#ffffff; 
float:left;
border-left: 1px solid #305EA2;

}

#menu li a {
display:block; 
float:left; 
line-height:25px; 
color:#305EA2; 
text-decoration:none; 
font-size:11px; 
font-weight:bold; 
padding:0 20px 0 20px;
}


li.vikasub{border-right: 1px solid #305EA2;}
#menu li ul {border-top: 1px solid #305EA2;}
#menu li a:hover {z-index:8; position:relative;color:#ffffff; background-color:#305EA2;}
#menu li:hover {position:relative; z-index:8;}
#menu :hover ul {left:0; top:25px; width:120px; background:#305EA2;}
#menu ul, 
#menu :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
#menu :hover ul :hover ul
{left:120px; top:-1px; background:#305EA2; white-space:nowrap; width:100px; z-index:8; height:auto;}
#menu :hover ul li {margin:0; margin-left:-1px; border-right:1px solid #305EA2; border-bottom:1px solid #305EA2;}
#menu :hover ul li a {width:90px; padding-bottom:0; padding-left:10px; background:#ffffff; color:#305EA2; height:auto; line-height:25px;}
#menu :hover ul :hover {background-color:#305EA2; color:#ffffff;}
#menu :hover ul :hover ul li a {width:100px; padding:0; text-indent:10px; background:#3e3e3e; color:#ccc;}
#menu :hover ul :hover ul :hover {background-color:#d70; color:#fff;}

