/*-- Olipa kerran nenäkäs koodinlukija... ---*/

#content a span {text-decoration:none !important;}
#content a span:hover {text-decoration:none !important;}
#content a span:visited {text-decoration:none !important;}


#tausta_metsa a {color:white !important; text-decoration:none !important;}

#content ul {padding-bottom: 20px;}
#nav li span {margin-left:17px; background: #E2E2E2;}
#hnav li span {background:#2f700f;color:#E4F1B9 !important; text-decoration:none !important; border:0px solid red;}

#valikko{vertical-align: top}
#sisalto{vertical-align: top; width:90%;}
#tausta_metsa img {padding-left: 20px;}


.now_palkki {background: white!important; color: black !important; cursor:text !important; text-decoration:none !important;}


#content img {border: 0px solid gray; padding:5px;}


.eih3kiitos h3{display:none;}
.eih3kiitos {margin-left:20px; padding-left:0px; }
.eih3kiitos p:first-letter{}

#tausta_metsa{height:122px; width:99%; float:left; padding:0; background:url('http://www.pohjoiskarjalan4h.fi/kuvat/tausta_blur.jpg') left center no-repeat; }


.linklist_lock {padding-left:20px; margin:0; background: url('http://www.pohjoiskarjalan4h.fi/kuvat/lock.png') left center no-repeat;}


.kalenteri { font-size:120%; border: 0px solid gray; margin: 0; padding: 0; text-decoration: none;}


ul.navnavnav li {
  display: inline;
}


/*---- Runko ----*/

body {
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
  font-size: 90%;
  margin: 0;
  padding: 0;
  text-align: center; /* IE 5.5 hack */
}

#farouter {background: #ffffff;width: 100%;

border-top: 0px solid #48A306;
border-bottom: 0px solid #48A306;
border-right: 0px solid #48A306;
border-left: 0px solid #48A306;
/* border-left: 0px solid #48A306; */


margin: 0px auto 0px auto;text-align: left;  /* IE 5.5 hack part II */}
#outer {padding:0; margin:0;}
#rap {padding:0; margin:0;}
#masthead {letter-spacing: 0.2em;margin: 0px 0px 0 0px;padding:0; font: normal 100% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; height: 133px;
}

#main {padding-left:35px;}
#content {float: left;min-width: 200px; width: 80%; padding-top: 40px; text-align:left; padding-left:30px}

#menu {float: right;width: 200px; margin-right: 20px; border-left: 0px dashed #B2920A; /*border-bottom: 1px dashed #B2920A;*/}
#nav {padding-left: 10px;float:right; width: 200px; text-align:left;}
#logo {padding-top: 25px; padding-left: 12px;}
#hmenu {margin: 0px; height: 30px;}
#hnav {margin: 0;padding: 0;}
#clearer { clear: both; margin: 0; padding: 0;}
#footer { margin: 8px 8px 8px 8px; }


/*----------------- Väri    ------------------------*/


body {background: white; color:#333;}
#rap {background: #ffffff;}
#masthead {background: url('http://www.pohjoiskarjalan4h.fi/kuvat/tausta_metsa.jpg') white center left;}

#footer {background: /*#B2920A*/ white;}
#hmenu { background: white;}
#hnav {	background: white;} /*#B2920A*/
a {color: #17397A; text-decoration:underline;}
a:hover { color: #990000; text-decoration: underline; }
a:visited { color: purple; text-decoration: underline; }


h2 {	color: #2f700f;
	font-size: 24px;
	font-weight: normal;}
h3 a {color: #17397A; }
h3 a:hover {color: #17397A;}
h3 a:visited {color: #17397A;}



/* --------     Core CSS ---------*/


a{}
a img { border: none; }
#header{ color: white; text-decoration: none; }

#header a:hover { text-decoration: underline; }
h1 { margin: 0; padding-left: 50px; padding-bottom: 5px; text-align: left; padding-top:20px;}
#hidden {display:none;}

h2 {font: 100% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
  letter-spacing: 0.2em; margin: 0 20px 10px 0; padding: 5px 0 0 0; }
h2#tagline {margin-left: 25px; padding-top:15px;text-align: left;color: #F2EEEC;border: 0px none;}

.post h2 { font: 100% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
  letter-spacing: 0.2em; margin: 0 20px 0 30px; padding: 20px 0 30px 0; }
h3 {font: 24px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; margin-left: 0; margin-top: 30px; margin-bottom:0px; padding-bottom:0px;color: #17397A;  
}
h3#comments { margin-left: 20px; }
h3#respond { margin-left: 20px; }
h4 {
	font-size: 16px;
	font-weight: normal;
}
ol#comments li p { font-size: 100%; }

img {margin: 0px;padding: 0px; border: 0px solid #2F700F; }

p, .feedback 
{ font: 100%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;}
p {}
.textarea { width:200px; margin:0; }
#archvies {
	font: 150% normal 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
}



/* ------------------------- Classes used by the_meta() ---------------------*/


.credit {
  color: black;
  font-size: 90%;
  margin: 10px 0 0 0;
  padding: 3px;
  text-align: center;
}

.credit a {color: blue;text-decoration: underline;}
.credit a:hover {color: #C80642;text-decoration: underline;}
.credit a:visited{text-decoration: underline;}


.storytitle { margin-top: 10px; margin-bottom: 2px; }
.storytitle a { text-decoration: underline; }
.storycontent{margin-bottom: 5px; border-bottom: 1px solid #2050A0;}


/* ----------  lisää koodia ------- */


#nav form {
	margin: 0 0 0 13px;
}

#nav input#s {
	width: 80%;
	background: #eee;
	border: 1px solid #999;
	color: #000;
}


#nav ul li h2 {
  	font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; padding-bottom: -5px; margin-bottom:-5px;
  	font-weight: normal;
	letter-spacing: 0.1em;
	border: 0px none;
	text-align: left;
	padding-left:0;
	margin-left: 0
}


#nav ul ul ul.children {
	font-size: 100%;
	padding-left: 4px;
}


#nav { width: 180px; }

#nav ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
font-size: 95%;
}

#nav a
{
display: block;
padding-left: 17px;
width: 130px;
background-color: #FFF;
background-image: url('images/icon_tmp.gif'); 
background-repeat: no-repeat;
background-position: 0 55%;
border-bottom: 0px solid #2050A0; padding-right:3px; padding-top:3px; padding-bottom:3px

}

#nav a:link, #navlist a:visited
{

text-decoration: underline;
}

#nav a:hover
{
background-image: url('images/icon2_tmp.gif'); 
color: brown; text-decoration:underline;
}

#themeswitcher {
	font-size: 8px;
}

/*------------- hnav------------*/


#hnav ul
{
text-align: center;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 0;
margin-top: 0;
/* cancels gap caused by top padding in Opera 7.54 */
margin-left: 0;
background-color: #B2920A;
color: #F2EEEC;
width: 100%;
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
line-height: 18px;
/* fixes Firefox 0.9.3 */
}

#hnav ul li
{
display: inline;
padding-left: 0;
padding-right: 0;
padding-bottom: 5px;
/* matches link padding except for left and right */
padding-top: 5px;
}

#hnav ul li a
{
padding-left: 10px;
padding-right: 10px;
padding-bottom: 5px;
padding-top: 5px;
color: #F2EEEC;
text-decoration:underline;
}

#hnav ul li a:hover
{
	background: #D1B22F;
color: #3A291F;
}

#hnav #active { border-left: 1px solid #F2EEEC; }



.now_selected{background:#2f700f;color:#E4F1B9 !important; text-decoration:none !important; border:0px solid red;}



a.now_selected:hover{cursor:text !important;background:#2f700f !important;color:#E4F1B9 !important; text-decoration:none !important; border:0px solid red;}




/*-------lightbox alkoi ---------- */
#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#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: 40%;
	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: transparent url(http://www.pohjoiskarjalan4h.fi/textp/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://www.pohjoiskarjalan4h.fi/textp/images/prev.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.pohjoiskarjalan4h.fi/textp/images/next.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: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}

/*-------------lightbox loppui---------*/



/*--- 
...ja he elivät onnellisena perjantaihin asti kunnes muukalaiset tulivat ja tappoivat kaikki. Loppu.
----*/



/*--- Yhdistykset luokat: --*/
.yhd_taulukko {width: 100%; v-align: top;}
.yhd_taulukko td {width: 50% !important;}
.yht_yhd {font-size: 130%; text-transform: uppercase; letter-spacing: 2px; padding-right: 60px;}
.yht_toim {font-size: 110%;}