body {
 font-size: 12px;
 font-style: normal;
 color: #000000;
 margin-left: 0.5%; margin-right: 0;
 text-decoration: none;
 font-family: Garamond, Georgia, Times New Roman;
 font-weight: normal;
 text-align: center;
 background: #222222 url(tausta.png);
 }
 
  .ylabox1 {
position: absolute;
top: 32px;
right: 15px;
width: 170px; 
height: 87px;
z-index: 6;
 background: url(piratefish.gif);
background-position: top center;
}

.oikealle 
{ 
float: right;
}

p {
margin-left: 20px;
margin-right: 20px;
}

.vasemmalle
{ 
float: left;
margin-right: 50px;
}
 
.leipateksti {
 position: absolute;
 width: 60%;
 top: 200px;
 left: 20%;
 margin-left: 12%;
 margin-right: 5%;
 float: right;
 text-decoration: none;
 font-family: Garamond, Georgia, Times New Roman;
 font-weight: normal;
 font-style: normal;
 line-height: normal;
 font-variant: normal; 
 font-size: 14px;
 color: #000000;
 line-height: 16px;
 text-align: left;
 padding-left: 3%;
 }
 
  .leipateksti2 {
 position: absolute;
 width: 73%;
 top: 195px;
 left: 2%;
 margin-left: 12%;
 margin-right: 5%;
 float: right;
 text-decoration: none;
 font-family: Garamond, Georgia, Times New Roman;
 font-weight: normal;
 font-style: normal;
 line-height: normal;
 font-variant: normal; 
 font-size: 14px;
 color: #000000;
 line-height: 16px;
 text-align: left;
 padding-left: 3%;
 }
 
 .lihavointi {
 padding: 2px;
 font-size: 10px;
 text-align: center;
 text-decoration: none; 
 font-weight: bold; }

.keskitys {
 text-align: center;
 margin-left:auto; 
 margin-right:auto;}
 
  .valiotsikko {
 text-align: center;
 font-family: Arial Unicode MS, Trebuchet MS, Lucida Sans Unicode, Microsoft Sans Serif, Helvetica;
 font-size: 16px;
 line-height: 16px;
 font-weight: bold;
 margin-top: 20px;
 letter-spacing: 1px;
}
 
 .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;
}
 
.tekstikuva {
float: left;
position: relative;
top: -25px;
 }
 
 .tekstikuvabox {
position: relative;
top: 5px;
float: left;
left: 5px;
 }

div.puheenjohtajisto {
width: 400px; 
height: 300px; 
margin-left: auto; 
margin-right: auto; 
}

div.muutjasenet {
margin-left: auto; 
margin-right: auto; 
}
 
div.hallitus {
width: 200px; 
height:300px; 
float: left; 
}

div.ideasivukuva {
margin-top: 4px;
margin-left: auto;
margin-right: auto;
width: 400px; 
height: 322px;
background: transparent url(kivihiilikuva04.jpg) no-repeat;
background-position: top center;
z-index: 3;
}

 div.joosivukuva {
margin-top: 4px;
margin-left: auto;
margin-right: auto;
width: 257px; 
height: 394px;
background: transparent url(kivihiilikuva03.jpg) no-repeat;
background-position: top center;
z-index: 3;
}

 div.joosivukuva2 {
margin-top: 4px;
margin-left: auto;
margin-right: auto;
width: 400px; 
height: 250px;
background: transparent url(kivihiilikuva02.jpg) no-repeat;
background-position: top center;
z-index: 3;
}

div.ylapaneeli {
 position: absolute;
 top: 0px;
 left: 0px;
 width: 100%;
 height: 165px;
 margin-left: 0; 
 margin-right:0;
 background: transparent url(ylatausta.png) repeat-x;
background-position: top right;
 z-index: 0;}
 
   .oikeareuna {
position: absolute;
color: #000000;
top: 0px;
right: 0px;
width: 100px; 
height: 100%;
z-index: 5;
padding: 10px;
}


 
 div.reunabox{
 position: absolute;
 top: 200px;
 left: 26px;
 width: 200px;
 height: 400px;
 padding: 2px;
 margin-left: 2px;
 text-align: left;
 z-index: 2;
 }
 
  div.metadata {
 position: absolute;
 left: 26px;
 margin-left: 2px;
 font-size: 10px;
 letter-spacing: 1px;
 top: 430px;
 width: 200px;
 padding: 2px;
 text-align: left;
 z-index: 2;
 }
  
    div.float-right {
  font-size: 12px;
  float: right;
  margin: 3px;
  padding: 0.5em;
  }
  
  .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;}
  
    div.float-left {
  font-size: 12px;
  float: left;
  padding: 0.5em;
  margin: 3px;
  }

  div span.cap-g {
  float: left;
  font-size: 24px;
  font-weight: bold;
  }
  
.valikko{
 position: absolute;
 left: -10px;
 top: 138px;
 height: 35px;
 text-decoration: none;
 color: #DDDDDD;
 text-align: left;
  z-index: 3;
 }

.logo a{ position: absolute; width: 397px; 
 height: 156px;
 left: 15px;
 top: 2px; background-position: top left; background:transparent url(merirosvologo.png) no-repeat; z-index: 9;}.logo a:hover { background:transparent url(merirosvologo.png) no-repeat;background-position: top right; z-index: 9;}


 div#logoteksti a:hover {
   border-right: 0px;
 z-index: 9;
}
div#logoteksti a span {display: none;}
div#logoteksti a:hover span {
 display: block;
 position: absolute;
 top: 15px;
 width: 115px;
 height: 35px;
 left: 150px;
 text-decoration: none;
 font-weight: bold;
 letter-spacing: 2px;
 font-size: 12px;
 color: none;
 background: url(papru.gif) no-repeat;
 padding-top: 10px;
 z-index: 9;
}

.pikkuotsikko {
 font-size: 10px;
 font-style: normal;
 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;
 }

#nav{list-style: none; }


A:link { text-decoration: none; font-weight: bold; COLOR: #6f0e03; }
A:visited { text-decoration: none; font-weight: bold; COLOR: #6f0e03;}
A:hover { text-decoration: none;  font-weight: bold; COLOR: #000000;}


 #nav ul { 
	padding: 0;
	margin-top:35px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	list-style: none;
    width:115px;
    z-index:10;
    position:relative;
    overflow:visible; 
	height:35px;
	font-weight: bold;
	letter-spacing: 2px;
	font-size: 11px;
	background: url(papru.gif) no-repeat;
	background-color:#000000;
   }
   
  
#nav li { 
    margin-left: auto;
    margin-right: auto;
    position: relative; 
    float:left;
	 width:115px;
	background-color:#000000;
    display:block;
    height:35px;
	text-align: center;
	background: url(papru.gif) no-repeat;
	z-index: 10
}


#nav ul li{ background-color: none; border: none; z-index: 10}
#nav ul li:last-child{border: none; z-index: 10}
#nav ul ul li:last-child{border: none; z-index: 10}


#nav a {
    text-decoration:none; 
    display:block;
    padding-top: 9px;  
    width:115px;
    height:35px;
    text-align: center;
    z-index: 10
}


#nav ul li:hover, #nav ul li a:hover{ background-color: none; text-decoration: underline;  z-index: 10;}


#nav ul{
    display:none;
    z-index: 10   

}

/* Kaikki selaimet näyttävät tähän kohtaan tehdyt muutokset */

#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;
	z-index: 10
}

/* kaikki paitsi Internet Explorer näyttävät tähän tehdyt muutokset */

 #nav ul li>ul, #nav ul ul li>ul{
 
    margin-top:-35px;
    margin-left: 115px;
    z-index: 10

 }

#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;
    z-index: 10
	
}

#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;
    z-index: 10
}

li>ul { 
	top: auto;
	left: auto;
	z-index: 10
}

/* Mikä -nappi pudotusvalikossa. Tee ulkoasuusi sopiva kuvatiedosto sanasta ja muuta tämä sen mukaiseksi. */


 .mika a {
display: block;
position: absolute;
width: 115px; 
left: 0px;
height: 35px;
background: url(mika.gif) no-repeat;
background-position: top left;
z-index: 6;
}

.mika a:hover {
background-position: top right;
}

 .what a {
display: block;
position: absolute;
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;
width: 115px; 
left: 0px;
height: 35px;
background: url(olemme.gif) no-repeat;
background-position: top left;
z-index: 6;
}

.olemme a:hover {
background-position: top right;
}

 .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;
width: 115px; 
left: 0px;
height: 35px;
background: transparent url(kysymys.gif) no-repeat;
background-position: top left;
z-index: 6;
}

.kysymys a:hover {
background-position: top right;
}


 .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;
}

.bl {background: url(bl.gif) 0 100% no-repeat #ffff92; 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;}


span.css:before {
    font-size: 9px;
	letter-spacing: 1px;
	content: "CSS: Arrrrr! (Ossi Arrrrrrrr! O.)";
}