* {
	margin: 0;
	padding: 0;
	color: #F0F0E1;
	font-family: arial;
}

body {
	background-color: #C8C8C8;
}

#wrapper {
	margin: 0 auto;
	width: 1000px;
	height: 1180px;
}

#header {
	height: 100px;
	background-image: url("../img/headerbg.jpg");
	background-repeat: both;
}


#underline {
	float: left;
	padding-top: 25px;
	margin-left: 20px;
	border-bottom: 4px solid #F0F0E1;
	height: 42px;
	width: 240px;
	text-align: center;
}

#underline a {
	font-family: 'Bevan', cursive;
	font-size: 30px;
	text-decoration: none;
	color: #F0F0E1;
	letter-spacing: 2px;
}

.nav {
	float: right;
	list-style: none;
	padding-top: 40px;
	padding-right: 60px;
}

.nav li {
	display: inline;
	font-family: 'Arial';
	padding: 20px;
	font-size: 18px;
}

.nav a {
	text-decoration: none;
	color: #F0F0E1;
	padding-bottom: 2px;
	letter-spacing: 1px;
}

.nav a:hover {
	border-bottom: 2px solid #F0F0E1;
}

#content {
	height: auto;
	width: inherit;
	background-image: url("../img/bg.jpg");
	background-repeat: both;
	padding-top: 30px;
	overflow: hidden;
}

#content > h2 {
	color: #646473;
	margin-left: 50px;
	margin-bottom: 10px;
}

#hero {
	overflow: auto;
	height: 460px;
	width: 940px;
	background-image: url("../img/hana.jpg");
	margin-left: 30px;
}

.herotext {
	background-image: url("../img/headerbg.jpg");
	background-repeat: both;
	width: 470px;
	height: auto;
	margin-top: 30px;
	opacity: 0.9;
}

.herotext h1 {
	opacity: 1;
	font-size: 26px;
	padding-left: 30px;
	padding-top: 20px;
	color: #F0F0E1;
}

.herotext p {
	opacity: 1;
	font-size: 16px;
	padding: 20px 20px 15px 30px;
}

.herotext p + p {
	padding-top: 5px;
}

.firstp {
	height: 60px;
	width: 60px;
	background-color: #646473;
	font-family: Arial;
	font-size: 100px;
	text-align: center;
	float: left;

}

.secondp {
	position: absolute;
	float: left;
	color: #646473;
	margin-top: 7px;
	margin-left: 95px;
	font-size: 21px;
	width: 800px;
}

#lainaus {
	margin-top: 40px;
	margin-left: 50px;
	margin-bottom: 140px;
}

#kuvat {
	width: 900px;
	height: 256px;
	background-image: url("../img/headerbg.jpg");
	background-repeat: both;
	margin-left: 30px;
	padding: 20px;
	border-radius: 5px;
}

.kuva {
	float:left;
	width: 30%;
	height: 240px;
	
}

.kuva + .kuva {
	margin-left: 42px;
}

.kuva img {
	width: 100%;
	height: 180px;
	margin-bottom: 10px;
	border: 2px solid #CACAD9;
	box-shadow: 5px 4px 3px #50505B;
}

.kuva p {
	margin-left: 15px;
}

#footer {
	clear:both;
	background-image: url("../img/bg.jpg");
	background-repeat: both;
	width: 100%;
	padding-top: 40px;
}

#footer img {
	float: left;
	margin-left: 40px;
	margin-bottom: -2px;
}

#footer > p {
	color: #646473;
	float: left;
	margin-top: 67px;
	margin-left: 8px;
	margin-right: 20px;
}

.footerblock {
	width: 32px;
	height: 32px;
	float: left;
	background-color: #CACAD9;
	margin-left: 20px;
	margin-top: 60px;
}

#ikonify {
	width: 100%;
	height: 26px;
	background-color: #646473;
	clear: both;
	text-align: center;
	padding-top: 4px;
}

#ikonify a {
	font-size: 12px;
	text-decoration: none;
}

#ikonify a:hover {
	text-decoration: underline;
}
#ikonify p {
	margin-top: 4px;
	font-family: Arial;
	font-size: 12px;
	color: #F0F0E1;
}

#content > h1 {
	margin-left: 40px;
	color: #646473;
	margin-bottom: 20px;
}

#content > p {
	width: 800px;
	color: #646473;
	margin-left: 60px;
}

.referenssi {
	
	width: 880px;
	height: auto;
	margin-left: 60px;
}

.referenssi h2 {
	color: #646473;
	margin-bottom: 10px;
	margin-left: 5px;
}

.refdetail {
	width: 25%;
	float: right;
	
}
.refdetail h2 {
	margin-top: 20px;
	color: #646473;
}

.refdetail p {
	margin-top: 20px;
	color: #646473;
}

#feature, #feature2, #feature3, #feature4, #feature5 {
	background-image: url("../img/headerbg.jpg");
	width: 630px;
	height: 490px;
	float:left;
	margin-bottom: 20px;
	padding-top: 20px;
	padding-left: 20px;
	border-radius: 5px;

}

#feature img, #feature2 img, #feature3 img, #feature4 img, #feature5 img{
	width: 600px;
	height: 460px;
	border: 5px solid #fff;
	box-shadow: 5px 4px 3px #50505B;

}

.viiva {
	width: 880px;
	border-bottom: 2px solid #646473;
	margin-top: 40px;
	margin-bottom: 40px;
	margin-left: 60px;
	box-shadow: 1px 2px 2px #50505B;
}

.pikkukuvat {
	clear: left;
}

.pikkukuvat img {
	width: 120px;
	height: 80px;
	border: 5px solid #fff;
	box-shadow: 3px 3px 3px #50505B;

}

.pikkukuvat a {
	cursor: pointer;
}

.pikkukuvat a {
	margin-left: 10px;
}

label {
	float: left;
	width: 150px;
	text-align: right;
	padding-right: 10px;
	color: #646473;
}

form {
	padding: 20px;
	color: #000;
}

input {
	width: 200px;
	height: 25px;
	color: #000;
}

textarea {
	margin-top: 5px;
	width: 300px;
	color: #000;
	height: 90px;
}

#submitb {
	margin-top: 20px;
	background-image: url("../img/headerbg.jpg");
	background-repeat: both;
	background-color: #646373;
	border-radius: 5px;
	height: 40px;
	width: 100px;
	font-size: 14px;
	color: #fff;
}

#yhtlomake h1, #yhttied h1 {
	color: #646473;
}

#yhttied h1 {
	margin-bottom: 10px;
	color: #F0F0E1;
}
3
#yhttied p {
	color: #F0F0E1;
}

#yhtlomake {
	float: left;
	margin-left: 40px;
	line-height: 40px;
	color: #000;
}

#yhttied {
	padding: 20px;
	float: right;
	margin-right: 60px;
	line-height: 30px;
	background-image: url("../img/headerbg.jpg");
	background-repeat: both;
	border-radius: 5px;
}

#tilaus {
	background-image: url("../img/bg.jpg");
	background-repeat: both;
	color: #000;
	padding:20px;
}

#tilaus p {
	color: #646473;
}

#tilaus a {
	color: #646473;
}