

/*  Drop-Down Navigation: Touch-Friendly and Responsive demo by Osvaldas Valutis */




		#nav
		{
			width: 800px; /* 800 */
			font-family: 'Open Sans', sans-serif;	
			font-size: 9pt;
			position: relative;
			margin-top: -16px;
		
			margin-left: 0px; /* 30 480 */

		}

			#nav > a
			{
				display: none;
			}

			#nav li
			{
				position: relative;

				list-style-type: none;
			}
				#nav li a
				{
					color: #fff;
					display: block;
					text-decoration: none;

				}
				#nav li a:active
				{
					background-color: #363641 !important;
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #598527;
				content: '';
				vertical-align: middle;
				display: inline-block;

				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
				height: 3.75em; /* 60 */
				background: url(img/navipala.jpg);
				background-repeat: repeat-x;
				background-color: #5DA53F;
			}
				#nav > ul > li
				{
					width: 145px;
					height: 100%;
					float: left;
				}
					#nav > ul > li > a
					{
						height: 100%;
						font-size: 1.5em; /* 24 */
						line-height: 2.5em; /* 60 (24) */
						text-align: center;
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: 1px solid #131313;
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							background: url(img/navihover.jpg);
							background-color: #CCC;
						}


				/* second level */

				#nav li ul
				{
			
					background-color: #202B33;
					display: none;
					position: absolute;
					top: 100%;
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						padding-right: 50px;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							font-size: 1.25em; /* 20 */
							border-top: 1px solid #3c3c3c;
							padding: 0.75em; /* 15 (20) */
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
			
								background-color: #3C3C3C;
							}


		@media only screen and ( max-width: 42.5em ) /* 1000 */
		{

/* =============================OMAT VIRITYKSET============================================ */

#lightbox-container-image img { width:auto; max-width:1000px; }

BODY { 
background: url(img/taustaXX.gif);
background-color: #FFF;
background-repeat: repeat-x;
margin:0 0 0 0;

 }

.ylapalkkiS{
display: none;
}

.ylapalkkiT{
display: none;
}


.taulukko{
	width: 90%;
	}




.kuva2{	
	width:90% ;

	height: auto;
	margin-bottom:20px;
	border: #000 0px solid;
	}


.teksti{
	display: table;
	background: url(img/vasenpalstatausXX.gif)  repeat-y left;
		margin-left: auto;
	margin-right: auto;
	width: 100%;

	background-color: #FFF;
	border-right: #3E75B9 0px solid;
	}


.vasenpalsta{
	float: left;
	display: table-cell;
	padding-top: 0px;
	padding-left: 10px;
	padding-right: 0px;
	width: 90%;
	height: ;
	background-color: ;
	}

.vasenpalstaB{
	float: left;
	display: table-cell;
	padding-top: 0px;
	padding-left: 10px;
	padding-right: 10px;
	width: 100%;
	height: ;
	background-color: ;
	}

.keskipalsta{
	float: left;
	display: table-cell;
	padding-left: 10px;
	padding-right: 0px;
	width: 90%;
	height: ;
	color: #000;	
	}

.oikeapalsta{
	float: left;
	display: table-cell;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 75px;

	height: ;
	color: #000;	
	}

.ylapalkkiS{
	display: none;
	text-align: center;
	background-color: #FFF;
	}

.koko{
	display: table;
	padding-left: 0;
	width: 100%;
	height: ;
	background-color: ;
	}

.lodju1{
float: left;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 15px;
	width: 80%;
margin-left: 0px;
margin_right: 5%;
	
	background-color: #005499;
	-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
	}


.sivunavi_li{
	display: inline-block;
	font-family: verdana;
	width: 200px;
	padding: 10px;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #326C26;
	list-style-type: none;
	background-color: #439332 ;
	
	}




.puh{
	font-size: 15pt;
	background: #2F3A44;
	color: #FFF;
	padding: 10px;
	text-decoration: none;
	border-radius: 20px;
	}

.botne{

	height: 0px;
	background-color: #FFF;	
}


.footer{
float: left;	
	background: url(img/alapalkkiXX.jpg)  no-repeat center ;	
	height: 163px;
	text-align: center;
	background-color:#212C34;
	padding-top: 0px;
	width: 100%;
	}

.footerpalikka{		
	height: 30px;
	}

.navi{
	text-align: center;
	text-shadow: 1px  1px  2px  #000;
	background-color: #CCC;
	margin-top: -4px;
margin-bottom: 0px;
	height: 63px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
background: url(img/navipalkkiM.jpg);
background-color: #FFF;
background-repeat: repeat-x;

	
	}

.teksti{
	margin-left: auto;
	margin-right: auto;
	width: ;
	background-color: #FFF;
	

	
	}





			#nav
			{
				width: 100%;
				position: relative;
				margin: 0;
			}
		}

		@media only screen and ( max-width: 40em ) /* 640 */
		{
			html
			{
				font-size: 75%; /* 12 */
			}

			#nav
			{
				position: relative;
				top: auto;
				left: auto;
			}

/* VALIKKO PULIKKA */
				#nav > a
				{
					width: 80px; /* 50 */
					height: 3.125em; /* 50 */
					text-align: left;
					text-indent: -9999px;
					background-color: ;
					position: relative;
text-decoration: none;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 2px solid #fff;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #3c3c3c;
						}


				/* second level */

				#nav li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;

				}
		}


