body {
	background: url(../img/rem_tapetti.gif) #570e00;
}


.block_wrapper {
	margin-right: auto;
	margin-left: auto;
	width: 940px;
	min-height: 300px;
	background: url(../img/kulma_top.png) no-repeat left top white;
	
}

.block, .block_header {
	width: 865px;
	padding-right: 20px;
	padding-left: 55px;
	min-height: 300px;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZWZlZmVmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMzAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNzAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2YzZjNmMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(-45deg,  #efefef 0%, #ffffff 30%, #ffffff 70%, #f3f3f3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#efefef), color-stop(30%,#ffffff), color-stop(70%,#ffffff), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg,  #efefef 0%,#ffffff 30%,#ffffff 70%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg,  #efefef 0%,#ffffff 30%,#ffffff 70%,#f3f3f3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg,  #efefef 0%,#ffffff 30%,#ffffff 70%,#f3f3f3 100%); /* IE10+ */
	background: linear-gradient(135deg,  #efefef 0%,#ffffff 30%,#ffffff 70%,#f3f3f3 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#f3f3f3',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
	border-bottom: 1px solid #efefef;
}	

.left {
	float: left;
	width: 185px;
	margin-top: 70px;
}

.left h3 {
	margin-top: 0;
}

.right {
	width: 640px;
	float: left;
	margin-top: 70px;
}

.otsikko {
	margin-left: 40px;
	float: left;
	width: 560px;
	margin-top: 0;
	margin-bottom: 0;
}

.palsta {
	margin-left: 40px;
	width: 270px;
	float: left;
	min-height: 300px;
}

.block_header {
	width: 900px;
	padding-right: 20px;
	padding-left: 20px;
}

#header {
	height: 115px;
	width: 870px;
	padding-left: 35px;
	padding-top: 295px;
	background: url(../img/rem_kuva.png) no-repeat center top;
	
}

.header_form {
	height: 430px;
}

#form {
	padding-top: 25px;
}

ul.main_navigation, ul.back {
	list-style: none;
	float: left;
	margin-left: 0;
	padding-left: 0;
	margin-right: 30px;
}

ul.main_navigation li:first-child > a, ul.back li:first-child > a {
	color: #c00d0d;
	font-weight: 700;
}

ul.main_navigation {
	font-size: 18px;
	line-height: 21px;
	margin-bottom: 30px;
	margin-top: 10px;
	margin-right: 55px;
}

ul.back {
	float: right;
	margin-bottom: 30px;
	margin-top: 5px;
	position: static;
	bottom: 30px;
	clear: both;
}

#contact {
	clear: both;
}

label {	
	float: left;
	padding: 0 10px;
	text-align: right;
	width: 205px;
	margin-top: 3px;
}

.header_form h1 {
	margin-left: 210px;
}

#form label {
	width: 320px;
	margin-top: -4px;
}

#form {
	padding-bottom: 40px;
}

#form p {
	margin-bottom: 30px;
}


textarea, input {
	width: 470px;
	font: 300 16px/18px 'lato', sans-serif;
}


#form textarea, #form input, #form select {
	width: 370px;	
	margin-right: 5px;
}

#form input, #form select {
	height: 25px;
	
}

textarea, input {
	border: 1px solid silver;
}

.nappi {
	width: inherit !important;
	border: none;
	background: #c00d0d;
	color: white;
	-webkit-border-radius: 8px;
	   -moz-border-radius: 8px;
	        border-radius: 8px;
			margin-left: 225px;
			font-size: 13px;
			padding: 5px 9px 7px;
	}
	
.nappi:hover {
	background-color: gray;
}

/*
.nappi {
	padding: 10px;
	width: inherit !important;
	border: none;
	background: none;
}
*/

.footer_wrapper {
	width: 940px;
	margin-right: auto;
	margin-left: auto;
	min-height: 170px;
	background: url(../img/footer_logo.png) no-repeat center 25px #9a0d0d;

}

.footer {
	float: right;
	margin-right: 40px;
	margin-top: 25px;
}

.footer p, .footer a {
	
	color: white;
	font-weight: 300;
	margin-top: 0;
} 


#thank_you {
	width: 200px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 300px;
	text-align: center;
}

#thank_you h3, #thank_you h3 strong, #thank_you p, #thank_you p a {
	color: white ;
}
