@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: 100%;
	margin: 0 auto;
}
a {text-decoration: none; color:#b65527;}
a:hover {text-decoration: underline; color:#536;}
p {font-size: 20px;}
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: 5px 0 20px 0;
	list-style-type:none;
}
.floatL {float:left;}
.clear {clear:both;}
.center {text-align:center;margin: 0 0 15px 0;}
.maisema{
	width: 98%;
	padding: 1%;
	margin: 0 0 3% 0;
	background-color: #ccc;
   -moz-box-shadow:    inset 0 0 0px #222;
   -webkit-box-shadow: inset 0 0 0px #222;
   box-shadow:         inset 0 0 0px #222;
}
.maisema img {border: solid 2px #ddd;width: 99%; height:inherit;}
.header {
	width: 100%;
	height: auto;
	padding: 2% 0;
	float:left;
	z-index: 1;
	background: #AAA url(images/header_tausta.jpg);
}
.navbar {
	display: none;
	width: 220px;
	height:550px;
	position: fixed;
	z-index: -1;
	margin: -10px 10px 0 10px;
	padding: 105px 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);
}
.navbar li {
	color:#ccc;
	margin: 0 0 0 0;
	font-size: 14px;
	font-weight: 400;
	list-style: none;
}
.navbar 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 a:hover {border-left: solid 5px;padding-left: 5px; color:#ec9; text-decoration: none;}
.cont {
	width: 100%;
	margin: 0;
	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: 96%;
	margin: 0% 2% 0% 2%;
	padding: 5% 0 5% 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;}
.icon {width:21%;height:inherit;}
.huoneistot {
	float: left;
	width: 31%;
	height: auto;
	margin: 2% 1% 2% 1%;
	text-align:center;
}
.huoneistot img {width:100%; height:inherit;}
.huoneistot2 {
	float: left;
	width: 33%;
	height: auto;
	margin: 1% 33% 3% 33%;
	text-align:center;
}
.huoneisto2 img {width:100%; height:inherit;}
.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: 1% 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: 1% 2%;
	width: 20%;
	height: inherit;
	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;}
.kanavat li {display:block; font-size: 20px;}
.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;}