body {
 color: #EFEFEF;
 margin-left: 0.5%; margin-right: 0;
 text-decoration: none;
 font-family: Verdana, Tahoma, Arial, Helvetica;
 font-size: 11px;
 background: #222222 url(reuna01.gif) repeat-y;
 background-position: top right;
 }
 
   .ylabox1 {
position: absolute;
top: 26px;
right: 25px;
width: 150px; 
height: 150px;
z-index: 3;
 background: url(aminaatio01.gif) repeat-x;
 background-position: top right;
}

 div#logoteksti a:hover {
   border-right: 0px;
 z-index: 3;
}
div#logoteksti a span {display: none;}
div#logoteksti a:hover span {
 display: block;
 position: absolute;
 top: 5px;
 width: 120px;
 left: 350px;
 text-decoration: none;
 font-weight: bold;
 letter-spacing: 2px;
 font-size: 12px;
 color: #FF7639;
 border: solid #130D0D;
 border-width:1px 2px 2px 2px;
 background-color: #201414;
 padding: 1px;
 z-index: 3;
}

  .logo a{
 position: absolute;
 width: 347px; 
 height: 65px;
 left: 5px;
 top: 5px;
 background-position: top left;
 background:transparent url(paahtamo001.gif) no-repeat;
 z-index: 3;
}

.logo a:hover {
background: transparent url(paahtamo001.gif) no-repeat;
background-position: top right; 
z-index: 3;
}

  .english a{
 display: block;
 position: absolute;
 margin-top: 4px;
 width: 82px;
 top: 10px; 
 float: right;
 height: 17px;
 right: 75px;
 background:transparent url(english.gif) no-repeat;
 background-position: top left;
 z-index: 3;
}

.english a:hover {
background-position: -82px 0px; 
}

div.ylapaneeli {
 position: absolute;
 top: 0px;
 left: 0px;
 width: 100%;
 height: 88px;
 margin-left: 0; 
 margin-right:0;
 background: url(ylareuna01.gif) repeat-x;
 background-position: top right;
 z-index: 2;}

   .valikko{
 position: absolute;
 left: -44px;
 top: 45px;
 float: left;
 height: 15px;
 text-decoration: none;
 color: #DDDDDD;
 text-align: left;
  z-index: 9;
 }

 #nav{list-style: none; }
 

A:link { text-decoration: none; font-weight: bold; COLOR: #C43D02; }
A:visited { text-decoration: none; font-weight: bold; COLOR: #C43D02;}
A:hover { text-decoration: none;  font-weight: bold; COLOR: #FF7639;}


 #nav ul { 
	padding: 0;
	margin-top:30px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	list-style: none;
    width:118px;
    z-index:4;
    position:relative;
    overflow:visible; 
	height:25px;
	font-weight: bold;
	letter-spacing: 2px;
	font-size: 12px;
   }

#nav li { 
    margin-left: auto;
    margin-right: auto;
    position: relative; 
    float:left;
	 width:118px;
	background-color:#000000;
    display:block;
    height:25px;
	text-align: center;
}


#nav ul li{ background-color:#201414; border: solid #130D0D;
	border-width:1px 2px 2px 2px;}
#nav ul li:last-child{border-width:1px 2px 1px 2px;}
#nav ul ul li:last-child{border-width:1px 2px 1px 2px;}


#nav a {
    text-decoration:none; 
    display:block;
    padding: 1px;  
     width:118px;
    height:25px;
    text-align: center;
}

#nav a:hover, #nav li:hover{

}

#nav ul li:hover, #nav ul li a:hover{ background-color:#0C0808;}


#nav ul{
    display:none;   

}


#nav ul ul, #nav ul ul ul{

    display:none; 
    position:absolute; 
    margin-top:-30px; 
    margin-left:50px;
	border: #CCCCCC; 
	border-width:1px 1px 0 0;
}


 #nav ul li>ul, #nav ul ul li>ul{
 
    margin-top:-29px;
    margin-left: 120px;	

 }

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li:hover ul ul ul ul ul{

    display:none; 
	
}

#nav li:hover ul, #nav ul li:hover ul, #nav ul ul li:hover ul, #nav ul ul ul li:hover ul, #nav ul ul ul ul li:hover ul{

    display:block;
}

li>ul { 
	top: auto;
	left: auto;
}


 .mika a {
display: block;
position: absolute;
margin-top: 4px;
width: 118px; 
left: 0px;
height: 17px;
background: url(mika.gif);
background-position: 25px 0;
background-color:#000000;
background-repeat: no-repeat;
z-index: 3;
}

.mika a:hover {
background-position: -90px 0;
}

 .what a {
display: block;
position: absolute;
margin-top: 4px;
width: 117px; 
left: 0px;
height: 17px;
background: transparent url(what.gif) no-repeat;
background-position: 20px 0;
background-color:#000000;
z-index: 3;
}

.what a:hover {
background-position: -104px 0;
}

 .mikaotsikko  {
position: absolute;
left: 45%;
width: 78px; 
height: 50px;
background: transparent url(mika.gif) no-repeat;
background-position: top left;
}

 .whatotsikko  {
position: absolute;
left: 45%;
width: 78px; 
height: 50px;
background: transparent url(what.gif) no-repeat;
background-position: top left;
}


 .olemme a {
position: absolute;
margin-top: 4px;
width: 118px; 
left: 0px;
height: 17px;
background: url(olemme.gif) no-repeat;
background-position: 2px 0;
background-color: #000000;
z-index: 4;
}

.olemme a:hover {
background-position: -122px 0;
}

 .are a {
display: block;
position: absolute;
margin-top: 4px;
width: 76px; 
left: 0px;
height: 17px;
background: transparent url(are.gif) no-repeat;
background-position: 25px 0;
background-color: #000000;
z-index: 3;
}

.are a:hover {
background-position: -111px 0;
}


 .olemmeotsikko {
display: block;
position: absolute;
width: 118px; 
left: 45%;
height: 17px;
background: url(olemme.gif) no-repeat;
background-position: 1px 0;
z-index: 4;
}


 .areotsikko {
display: block;
position: absolute;
width: 100px; 
left: 45%;
height: 17px;
background: url(are.gif) no-repeat;
background-position: 1px 0;
z-index: 4;
}


 .kysymys a {
display: block;
position: absolute;
margin-top: 4px;
width: 110px; 
left: 0px;
height: 17px;
background: transparent url(kysymys.gif) no-repeat;
background-position: 25px 0;
z-index: 3;
}

.kysymys a:hover {
background-position: -76px 0;
}


 .kysymysotsikko {
display: block;
position: absolute;
width: 110px; 
left: 45%;
height: 17px;
background: transparent url(kysymys.gif) no-repeat;
background-position: 25px 0;
z-index: 4;
}


 .we a {
position: absolute;
margin-top: 4px;
width: 118px; 
left: 0px;
height: 17px;
background: url(we.gif) no-repeat;
background-position: 1px 0;
background-color: #000000;
z-index: 4;
}

.we a:hover {
background-position: -118px 0;
}


 .weotsikko {
position: absolute;
width: 118px; 
left: 45%;
height: 17px;
background: url(we.gif) no-repeat;
background-position: 1px 0;
z-index: 4;
}


  .finnish a{
 display: block;
 position: absolute;
 margin-top: 4px;
 width: 80px;
 top: 10px; 
 float: right;
 height: 17px;
 right: 75px;
 background:transparent url(finnish.gif) no-repeat;
 background-position: top left;
 z-index: 3;
}

.finnish a:hover {
background-position: -80px 0px;

}
div.reunabox{
 position: absolute;
 top: 120px;
 left: 10px;
 width: 23%;
 padding: 5px;
 margin-left: 2px;
 text-align: left;
 z-index: 5;
 }


.pikkuotsikko {
 font-size: 10px;
 font-style: normal;
 color: #CCCCCC;
 margin-left: 0.5%; margin-right: 0;
 margin-top: 5px;
 text-decoration: none;
 font-family: Trebuchet MS, Lucida Sans Unicode, Microsoft Sans Serif, Helvetica, Arial;
 font-weight: bold;
 text-align: left;
letter-spacing: 1px;
 }

 
.bl {background: url(bl.gif) 0 100% no-repeat #181616; width: 100%}
.br {background: url(br.gif) 100% 100% no-repeat}
.tl {background: url(tl.gif) 0 0 no-repeat}
.tr {background: url(tr.gif) 100% 0 no-repeat; padding:10px}
.clear {font-size: 1px; height: 1px}

 .lihavointi {
 padding: 2px;
 font-size: 10px;
 text-align: center;
 text-decoration: none; 
 font-weight: bold; }

p {
margin-left: 1em;
margin-right: 1em;
}


.leipateksti {
 position: absolute;
 width: 50%;
 top: 120px;
 left: 13%;
 margin-left: 12%;
 margin-right: 5%;
 float: right;
 padding-left: 3%;
 z-index: 3;
 }
 

   .leipateksti2 {
 position: absolute;
 width: 73%;
 top: 120px;
 left: 2%;
 margin-left: 5%;
 margin-right: 5%;
 float: right;
 text-decoration: none;
 font-family:  Verdana, Tahoma, Arial, Helvetica;
 font-weight: normal;
 font-style: normal;
 line-height: normal;
 font-variant: normal; 
 font-size: 13px;
 color: #EFEFEF;
 line-height: 16px;
 text-align: left;
 padding-left: 3%;
 z-index: 2;
 }


   div.metadata {
 position: absolute;
 left: 10px;
 margin-left: 2px;
 font-size: 9px;
 letter-spacing: 1px;
 top: 380px;
 width: 23%;
 padding: 2px;
 text-align: left;
 z-index: 2;
 }

.oikealle 
{ 
float: right;
}

.vasemmalle
{ 
float: left;
margin-right: 50px;
}


  .keskitys {
 text-align: center;
 margin-left:auto; 
 margin-right:auto;}

 
h2 {
margin-left: 1em;
margin-right: 1em;
line-height: 25px;
}

 .otsikko {
 text-align: center;
 font-family: Arial Unicode MS, Trebuchet MS, Lucida Sans Unicode, Microsoft Sans Serif, Helvetica;
 font-size:20px;
 line-height: 22px;
 font-weight: bold;
 margin-top: 20px;
 letter-spacing: 2px;
}


  .valiotsikko {
 text-align: center;
 font-family: Arial Unicode MS, Trebuchet MS, Lucida Sans Unicode, Microsoft Sans Serif, Helvetica;
 font-size: 15px;
 line-height: 16px;
 font-weight: normal;
 margin-top: 20px;
}


div.puheenjohtajisto {
width: 400px; 
height: 300px; 
margin-left: auto; 
margin-right: auto; 
}

div.hallitus {
width: 200px; 
height:300px; 
float: left; 
}

div.mikakuva1{
width: 330px; 
height:256px; 
float: left; 
margin-top: 1.2em;
margin-left: 1em;
margin-right: 2em;
margin-bottom: 0.1em;
background: transparent url(mika01.gif) no-repeat;
background-position: top center;
z-index: 3;
}

div.mikakuva2{
width: 330px;
height:200px;
float: right; 
margin-top: 1em;
margin-left: 1.2em;
margin-right: 1em;
margin-bottom: 0.1em;
background: transparent url(mika02.gif) no-repeat;
background-position: top center;
z-index: 3;
}

div.olemmekuva1 {
width: 270px; 
height:360px; 
margin-top: 1em;
margin-right: 1em; 
float: left; 
clear: left;
background: transparent url(olemme01.gif) no-repeat;
background-position: top center;
z-index: 3;
}

div.olemmekuva2{
width: 319px; 
height:220px; 
margin-top:  1em; 
margin-left: 0.3em; 
margin-right: 3em;
float: right;
background: transparent url(olemme02.gif) no-repeat;
background-position: top center;
z-index: 3;
}

div.ideasivukuva {
float: left;
margin: 1em 1em 1em 1em;
width: 400px; 
height: 251px;
background: transparent url(idea.png) no-repeat;
background-position: top center;
z-index: 1;
}

div.liitykuva {
float: right;
margin: 1em 1em 1em 1em;
width: 350px; 
height: 254px;
background: transparent url(liity.gif) no-repeat;
background-position: top center;
z-index: 3;
}

div.nytkuva {
margin-top: 4px;
margin-left: 1em;
margin-right: 1em;
float: left;
clear: left;
width: 400px; 
height: 300px;
background: transparent url(ajankohtaista.png) no-repeat;
background-position: top center;
z-index: 3;
}

div.tapahtumatkuva {
margin-top: 4px;
margin: 1em;
float: right;
width: 400px; 
height: 305px;
background: transparent url(tapahtumat.gif) no-repeat;
background-position: top center;
z-index: 3;
}

 div.jookuva {
float: left;
margin: 1em 1em 1em 1em;
width: 400px; 
height: 276px;
background: transparent url(joo.png) no-repeat;
background-position: top center;
z-index: 3;
}

div.kokouskuva {
float: right;
margin: 1em 1em 1em 1em;
width: 400px; 
height: 263px;
background: transparent url(kokoukset.png) no-repeat;
background-position: top center;
z-index: 3;
}

div.mukaankuva {
float: right;
margin: 1em 1em 1em 1em;
width: 400px;
height: 300px;
background: transparent url(mukaan.png) no-repeat;
background-position: top center;
z-index: 3;
}

 div.poytakirjakuva {
float: right;
margin: 1em 1em 1em 1em;
width: 400px; 
height: 300px;
background: transparent url(poytakirjat.gif) no-repeat;
background-position: top center;
z-index: 3;
}

div.irckuva{
width: 400px; 
height:250px; 
float: left;
margin: 1em 1em 1em 1em;
background: transparent url(irc.gif) no-repeat;
background-position: top center;
z-index: 3;
}

div.yhteyskuva{
width: 400px; 
height:231px; 
float: right;
margin: 1em 4em 2em 1em;
background: transparent url(yhteydet.gif) no-repeat;
background-position: top center;
z-index: 3;
}
  .kuvateksti {
  font-family: Lucida Sans Unicode, Microsoft Sans Serif, Helvetica, Arial; 
  font-size: 10px;
  text-align: left;
  line-height: 10px;
  margin-left:auto; 
  margin-right:auto;
  font-weight: bold;}
  
span.css:before {
    font-size: 9px;
	letter-spacing: 1px;
	content: "CSS: Kytynen kivihiilikaivos, Ossi A. Ojutkangas (paitsi logo)";
}

