/* css reset - makes the layout looking good in all browsers */
 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;  
	vertical-align: baseline; } 
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block; } 
html{ 
	
	    background: url(../kuvat/_MK33572bg.jpg) no-repeat center center fixed;
	    -webkit-background-size: cover;
	    -moz-background-size: cover;
	    -o-background-size: cover;
	    background-size: cover;
	}	

/* body {
	 line-height: 1; 
	 font:12px/20px Arial; 
	background:#e0f3ff url(bg.png) repeat scroll 0 0; 
	} */
ol, ul {
	list-style: none; }

/* Main Styles */	
	
#wrapper{
/*	width:620px; 
	margin:0 auto;
	margin-top:100px; */
	line-height: 1; 
	font:12px/20px Arial; 
	 /* background:#e0f3ff url(bg.png) repeat scroll 0 0;  */
}

#nav {
	position:relative;  
/*	width:620px;    */
	width:100%;   
	margin:0 auto;  
}

ul#navigation {
	margin:0px auto;
	position:relative;
	float:left;
/*	border-left:1px solid #c4dbe7; */
	border-left:0px solid #def;
/*	border-right:1px solid #c4dbe7; */
	border-right:0px solid #336;
}

ul#navigation li {
	display:inline;
/*	font-size:12px;  */
	font-size:100%; 
	font-weight:bold;
	margin:0;
	padding:0;
	float:left;
	position:relative;
/*	border-top:1px solid #c4dbe7; */
	border-top:0px solid #def;
/*	border-bottom:2px solid #c4dbe7; */
	border-bottom:0px solid #336;
}

ul#navigation li a {
	padding:1px 5px; /* tila yksink yläv ympärillä */
	color:#BBB;  /* yksink yläval tekstin väri */
/*	text-shadow:1px 1px 0px #fff; */
	text-shadow:0px 0px 0px #fff;
	text-decoration:none;
	display:inline-block; 
/*	border-right:1px solid #fff; */
	border-right:0px solid #336;
/*	border-left:1px solid #C2C2C2; */
	border-left:0px solid #C2C2C2;
/*	border-top:1px solid #fff; */
	border-top:0px solid #def;
	background: #444; /* yksink ylävalikon taustaväri */
	
	-webkit-transition:color 0.2s linear, background 0.2s linear;	
	-moz-transition:color 0.2s linear, background 0.2s linear;	
	-o-transition:color 0.2s linear, background 0.2s linear;	
	transition:color 0.2s linear, background 0.2s linear;	
}

ul#navigation li a:hover {
	background:#CDDEFF; /* ??? */
	color:#fff; /* yksink yläv hover tekstin väri */
}

ul#navigation li:hover > a {
	background:#444; /* yksink yläv hover taustaväri */
}

/* Drop-Down Navigation */
ul#navigation li:hover > ul
{
	visibility:visible;
	opacity:1; 
}

ul#navigation ul, ul#navigation ul li ul {
	list-style: none;
    margin: 0;
    padding: 0;    
	visibility:hidden; 
    position: absolute;
    z-index: 99999;
	width:180px; 
	background:#444; /* alavalikon taustaväri */
/*	box-shadow:1px 1px 3px #ccc; */
	box-shadow:0px 0px 0px #ccc;
	opacity:0;
	-webkit-transition:opacity 0.2s linear, visibility 0.2s linear; 
	-moz-transition:opacity 0.2s linear, visibility 0.2s linear; 
	-o-transition:opacity 0.2s linear, visibility 0.2s linear; 
	transition:opacity 0.2s linear, visibility 0.2s linear; 	
}

ul#navigation ul {
/*    top: 43px;  */
    top: 22px; /* alivalikon limitys päävalikon päälle */
    left: 1px;
}

ul#navigation ul li ul {
    top: 0;
    left: 181px;
}

ul#navigation ul li {
	clear:both;
	width:100%;
	border:0 none;
	border-bottom:0px solid #336;  /* alavalikon väliviivan väri */
}

ul#navigation ul li a {
	background:none;
	padding:3px 5px; 
	color:#BBB;  /* alavalikon tekstin väri */
/*	text-shadow:1px 1px 0px #fff; */
	text-shadow:0px 0px 0px #fff;
	text-decoration:none;
	display:inline-block; 
	border:0 none;
	float:left;
	clear:both;
	width:150px; 
}

ul#navigation li a.first {
	border-left: 0 none; 
}

ul#navigation li a.last {
	border-right: 0 none;
}
