@import url(http://fonts.googleapis.com/css?family=Lato:400,300,700);

/* reset styles */
html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
 padding: 0;
 margin: 0;
 font-size: 100%;
 font-weight: normal;
}
table { border-collapse: collapse; border-spacing: 0; }
td, th, caption { font-weight: normal; text-align: left; }
img, fieldset { border: 0; }
ol { padding-left: 1.4em; list-style: decimal; }
ul { padding-left: 1.4em; list-style:square; }
q:before, q:after { content:''; }
/* end reset */


body {
	margin: 0 auto;
	font-family: 'Lato', sans-serif;
	background-image:url('images/Tausta.jpg');
}
#wrap {
	width: 1000px;
	margin: 0 auto;
}
a {text-decoration: none; color:#b65527;}
a:hover {text-decoration: underline; color:#536;}
p {font-size: 15px;}
h1 {margin: 10px 0 0 0;font-size: 30px;font-weight:700;text-align:center;color:#fff;}
h2 {margin: 0 0 0 0;font-size: 19px;font-weight:300;text-align:center;color:#fff;}
ul {
	margin: 0 0 14px 0;
	list-style-type:none;
}
.floatL {float:left;}
.clear {clear:both;}
.center {text-align:center;margin: 0 0 15px 0;}
.maisema{
	width: 660px;
	padding: 8px 5px 5px 8px;
	margin: 0 0 30px 18px;
	background-color: #ccc;
   -moz-box-shadow:    inset 0 0 20px #222;
   -webkit-box-shadow: inset 0 0 20px #222;
   box-shadow:         inset 0 0 20px #222;
}
.maisema img {border: solid 2px #ddd;}
.header {
	width: 100%;
	height: 80px;
	float:left;
	z-index: 1;
	background: #AAA url(images/header_tausta.jpg);
}
.navbar {
	width: 220px;
	height: auto;
	position: fixed;
	z-index: -1;
	margin: -15px 10px 0 10px;
	padding: 100px 0 0 0;
	background: #fff url(images/nav_tausta.jpg);
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	-webkit-box-shadow: 0px 7px 10px rgba(50, 50, 50, 0.7);
	-moz-box-shadow:    0px 7px 10px rgba(50, 50, 50, 0.7);
	box-shadow:         0px 7px 10px rgba(50, 50, 50, 0.7);
}
.navitunnus {
	color: rgba(204, 204, 204, 1);
	margin: 0 0 0 0;
	font-size: 14px;
	font-weight: 400;
	list-style: none;
	text-align: center;
	-webkit-touch-callout: none; 
	-webkit-user-select: none; 
	-khtml-user-select: none; 
	-moz-user-select: none; 
	-ms-user-select: none; 
	user-select: none;
	opacity:100%;
	transition:All 0.3s ease;
	-webkit-transition:All 0.3s ease;
	-moz-transition:All 0.3s ease;
	-o-transition:All 0.3s ease;
}
.tekstipaalla {
	color: rgba(204, 204, 204, 1);
}
.tekstipois {
	color: rgba(204, 204, 204, 0);
}
.navbar li {
	color:#ccc;
	margin: 0 0 0 0;
	font-size: 14px;
	font-weight: 400;
	list-style: none;
}
.navbar ul a {
	color:#e93;
	font-weight: 400;
	transition:All 0.3s ease;
	-webkit-transition:All 0.3s ease;
	-moz-transition:All 0.3s ease;
	-o-transition:All 0.3s ease;
}
.navbar ul a:hover {border-left: solid 5px;padding-left: 5px; color:#ec9; text-decoration: none;}
#navnappi {
	cursor: pointer;
}
.navnappiblock {
	margin: 0 0 20px 0;
	height: 25px;
	width: auto;
	color: #fafafa;
	background-color: none;
	border-radius: 0pxpx;
	-webkit-user-select: none; /* Chrome/Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	}
.auki {
	background-image: url(images/Nav_nappi2.png);
	transform:rotate(180deg); 
	-webkit-transform:rotate(180deg); 
	-moz-transform:rotate(180deg); 
	-o-transform:rotate(180deg);
}
.kiinni {background-image: url(images/Nav_nappi2.png); }

#navlista {}
#uutiset {font-size: 20px;}
.cont {
	width: 750px;
	margin: 10px 0 10px 240px;
	padding: 0 0 0 0;
	background: #FFF;
	-webkit-box-shadow: 0px 0px 8px rgba(60, 60, 60, 0.5);
	-moz-box-shadow:    0px 0px 8px rgba(60, 60, 60, 0.5);
	box-shadow:         0px 0px 8px rgba(60, 60, 60, 0.5);
}
.osio {
	display: inline-block;
	width: 710px;
	margin: 0 20px 0 20px;
	padding: 30px 0 30px 0;
	border-bottom: 2px solid #aaa;
}
.osio p {padding: 0 10px 0 10px;}
.osio ul {margin: 10px;}
.osio:last-child {border:none;}
.osio:first-child {margin-top: 0px;}
.soikio {margin: 0 0 20px 105px;}
.icon{
	width:21%;
	height:auto;
	margin: 0 2% 0 0;
	float: left;
}
.teksti{
	width:77%;
	float:left;
}
.huoneistot {
	float: left;
	width: 215px;
	height: 220px;
	margin: 20px 10px 30px 10px;
	text-align:center;
}
.huoneistot2 {
	float: left;
	width: 200px;
	height: 230px;
	margin: 5px 0px 15px 254px;
	text-align:center;
}
.huoneisto2 {
	 float: none;
}
.huoneisto img:hover, .huoneisto2 img:hover, .galleria img:hover{
	opacity: 0.7;
	background: blue;
	transition:All 0.3s ease;
	-webkit-transition:All 0.4s ease;
	-moz-transition:All 0.4s ease;
	-o-transition:All 0.4s ease;
}
.galleria {
	padding: 18px 0 0 0;
	background: #ccc;
	-moz-box-shadow:    inset 2px 3px 5px #777;
	-webkit-box-shadow: inset 2px 3px 5px #777;
	box-shadow:         inset 2px 3px 5px #777;
}
.galleria img {
	margin: 0 12px 12px 13px;
	background: blue;
	-moz-box-shadow:    1px 2px 5px 1px #888;
	-webkit-box-shadow: 1px 2px 5px 1px #888;
	box-shadow:         1px 2px 5px 1px #888;
}
.kanavat {padding: 15px;border: dashed 1px #555;overflow:auto; font-size: auto;}
.kanavat li {display:block;}
.kanavat li b {display:block;float:left;width:10%;}
.kanavat li span {display: block;float: left;width:90%;}
.footer {margin: 0 0 8px 0;text-align: center;}
.footer a {
	color: #492400;
	font-size: 12px;
	transition:none;
	-webkit-transition:none;
	-moz-transition:none;
	-o-transition:none;
}
.footer a:hover {border-left: none;padding-left: 0; color:#7c3d0c;}