
body {
	background:url(tausta.jpg) bottom repeat-x #ffffff;
	background-attachment: fixed;
	margin: 0px;
        margin-top: 2px;
	margin-bottom: 10px;
	font-family:Verdana,Arial, Helvetica, sans-serif;
	font-size:12px;
        text-align: center;
	}

p {
	font-size:12px;
	margin-left: 2px;
	margin-right: 2px;
	}

td {
	font-size:12px;
	}

h2 {
	font-size: 16px;
	font-weight: bold;
	text-align: left;
	letter-spacing: 3px;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 2px;
}

h3 {
    font-size: 12px;
    font-family: verdana;
    font-weight: bold;

    /*background-color: #e8e8e8;*/
    background-color: #b7d7f6;

    /*border-bottom: 2px solid #999999;*/ 
    border-bottom: 2px solid #77b4ed;
    padding-top: 1mm;
    padding-left: 2mm;
    margin-left: 0mm;
    margin-top: 1mm;
    margin-bottom: 2mm;
}

.pieni {
	font-size:10px;
	}

.uutisetPieni {
	font-size:10px;
	color:#000000;
	margin:0px;
	}

.uutisetHarmaa {
	font-size:11px;
	color:#808080;
	margin:0;
	}

.uutisetKuvateksti {
	font-size:11px;
    font-style:italic;
	color:#000000;
	margin:0;
	}

.uutisetPalkki {
	font-size:11px;
	color:#000000;
	margin:0;
	}

.harjoituksetPalkki {
	font-size:10px;
	color:#000000;
	margin:0;
	}

.harjoituksetPieni {
	font-size:10px;
	color:#808080;
	margin:0px;
	}

.palkki {
    font-size: 12px;
    font-family: verdana;
    font-weight: bold;

    /*background-color: #e8e8e8;*/
    background-color: #b7d7f6;

    /*border-bottom: 2px solid #999999;*/ 
    border-bottom: 2px solid #77b4ed;
    padding-top: 1mm;
    padding-left: 2mm;
    margin-left: 0mm;
    margin-top: 1mm;
    margin-bottom: 2mm;
}

.ilmoitus {
	border-left:2px solid #77b4ed;
	border-top:2px solid #77b4ed;
	border-right:2px solid #77b4ed;
	border-bottom:2px solid #77b4ed;
	margin-left:50px;
	margin-right:50px;
	margin-bottom:20px;
	padding-left:5px;
	padding-right:5px;
	padding-bottom:5px;
	padding-top:5px;
	background-color: #e8e8e8;
}

.kuvateksti {
	font-size:11px;
	color:#000000;
	margin:1px;
	font-style:italic;
	margin-left:4px;
	margin-right:4px;
}

#spacer {
  clear: both;
  height:0px;
  overflow: hidden;
  }


#runko {
	width:985px;
        margin: auto;
	background-color:#ffffff;
        border-top:1px outset black;
        border-right:3px outset black;
        border-left:1px outset black;
        border-bottom:3px outset black;
        text-align: left;
	position:relative;
	overflow:hidden;
	}
	

#ylapalkki {
	width:100%;
	height:80px;
	background:url(logo.jpg) no-repeat;
	border-bottom:1px solid #77b4ed;
	}

#ylapalkkiOikea {
        float: right;
	border-bottom:1px dashed #bdd2e5;
	}

#ylapalkkiOikea a {
	text-decoration: none;
	color: grey;
	font-size:12px;
	}

#ylapalkkiOikea a:hover {
	text-decoration: none;
	color: black;
	font-size:12px;
	}

div.header .logo {
     	width:600px;
        float: left;
	margin: 0px;
	}
	

#keski {
	overflow:visible;
	width:100%;
        height:100%;
	}

#keskiVasen {
	width:20%;
	float: left;
	margin-top: 5px;
	margin-bottom: 10px;
	/* border-right:1px dashed #c9c6f6;*/
        background-color: #ffffff;
	}

#keskiOikea {
	width:780px;
    background-color: #ffffff;
	text-align: left;
	border-left:1px solid #77b4ed;
	border-top:1px solid #77b4ed;
	border-right:1px solid #77b4ed;
	border-bottom:1px solid #77b4ed;
	float:left;
	margin-left:0px;
	padding-left:5px;
	padding-top:5px;
	padding-bottom:30px;
	}

#keskiOikea a {
	text-decoration: none;
	color: #005177;
	font-size:12px;
	}

#keskiOikea a:hover {
   	color: #005177;
    	font-size:12px;
    	text-decoration: underline;
	}

div.tekstiOsa .yla {
	width:100%;
	float:left;
	}

#keskiOikeaYla {
	float:left;
	padding-left: 10px;
	padding-right: 8px;
	margin-top: 8px;
	}

#keskiOikeaYla2 {
	float:right;
	font-size:10px;
	color:#77b4ed;
	margin-top: 14px;
	padding-right: 8px;
	}

div.tekstiOsa .ala {
	float:left;
	text-align:left;
	}

.kirjauduForm {
       	font-size:10px;
	margin: 2px;
	}

.kirjauduInput {
	border:1px solid #c0c0c0;
	font-size:10px;
	}

.vieraskirjaInput {
	border:1px solid #c0c0c0;
	font-size:12px;
	}

#alaPalkki {
	width:100%;
	position:absolute;
	bottom:0;
	height:13px;
	text-align: center;
	font-size:10px;
        padding-top: 3px;
	background:url(palkki2.jpg) repeat-x #77b4ed;
        color: #000000;
	}

#alaTeksti {
	text-align:center;
	font-size:9px;
	color: #808080;
	}

#alaPalkki a {
	text-decoration: none;
	color: #005177;
	font-size:10px;
	}

#alaPalkki a:hover {
   	color: #005177;
    	font-size:10px;
    	text-decoration: underline;
	}

div.alaPalkki .vasen {
	float:left;
	text-align: left;
	font-size:10px;
	margin-left: 15px;
	}


div.valikko {
	width: 98%;
	margin: 3px;
	}

div.valikko .ylaOsa {
	padding-top:3px;
	text-align: center;
        color: #000000;
	font-size: 12px;
	letter-spacing: 2px;
	font-weight: bold;
	height:15px;
	background:url(palkki2.jpg) repeat-x #77b4ed;
	border-bottom: 2px solid #77b4ed;
	}

div.valikko .keskiOsa {
	border-right: 1px solid #77b4ed;
	border-left: 1px solid #77b4ed;
	border-bottom: 1px solid #77b4ed;
	margin-bottom: 12px;
	text-align: center;
	background-color: #c0c0c0;
	letter-spacing: 2px;
	font-size: 12px;
	}


div.valikko .keskiOsa a {
	display: block;
	font-size: 12px;
	color: #000000;
	text-align: center;
	text-decoration: none;
	background-color: #e8e8e8;
	letter-spacing: 2px;
	width: 100%;
	}


div.valikko .keskiOsa a:hover {
	font-size: 12px;
	background: #77b4ed;
	text-align: center;
	text-decoration: none;
	letter-spacing: 2px;
	width: 100%;
	color: #ffffff;
	font-weight: bold;
	}

div.valikko .keskiOsaMuut {
	border-right: 1px solid #77b4ed;
	border-left: 1px solid #77b4ed;
	border-bottom: 1px solid #77b4ed;
	margin-bottom: 12px;
	text-align: left;
	background-color: #e8e8e8;
	padding: 2px;
	}

div.valikko .keskiOsaMuut a {
	text-decoration: none;
	color: #005177;
	font-size:12px;
	}

div.valikko .keskiOsaMuut a:hover {
	text-decoration: underline;
	color: #005177;
	font-size:12px;
	}

.kuvalinkki a:link img {
	border-width: 0px;
}	
	
a:link img {

        border-style: solid;
	border-color: #CDCDCD;
	border-width: 2px;
	text-decoration: none;

}

a:visited img {

        border-style: solid;
	border-color: #CDCDCD;
	border-width: 2px;
	text-decoration: none;
	
}

a:hover img {

        border-style: solid;
	border-color: #3366ff;
	border-width: 2px;
	text-decoration: none;
}

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 20%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../kuvat/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../kuvat/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 85%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 22px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }