html {
    height: 100%;
}

body {
	margin: 0;
	padding: 0;
	background-color: #FFFFFF;
	height: 100%;
	font-family: Arial, Verdana, sans-serif;
	font-size: 100%;
	line-height:1.125em; /* 16x1.125=18 */
	background-image: url(layout/tausta.jpg);
}
h1 {
	margin: 0px;
	padding: 0px;
}
h2 {
	font-size: 0.75em;
	margin: 0 0 0 0;
	padding: 0;
 	color: #330033;
}
h3 {
	color: #C13B00;
	font-size: 0.9em;
	margin: 10px 0 5px 0;
	text-transform: uppercase;
}
h4 {
	color: #333333;
	font-size: 11pt;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 15px;
}
h5 {
	margin: 0px;
	font-size: 10pt;
	padding-left: 8px;
	padding-top: 8px;
	text-decoration: underline;
}
h6 {
	margin: 0px;
}
p {
	font-size:0.75em; /* 0.125 */
	padding: 0 0 15px 0;
	margin: 0px;
	color: #330033;
	line-height:1.1em; /* 16x1.125=18 */
}
b, .emphasis {
	color: #cc0033;
}

/* Layout */
#pagewrapper {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 0px;
	width: 100%;
	height: 1px;
	overflow: visible;
	visibility: visible;
	display: block;
}

#centerbox {
	margin-left: -322px;
	position: absolute;
	top: -210px;
	left: 50%;
	visibility: visible;
	width: 645px;
	height: 420px;
	text-align: left;
}
#menu {
	width: 119px;
	float: left;
	margin-top: 66px;
}
#menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#menu ul li {
	float: left;
	padding: 0;
	margin: 0 0 13px 0;
}
#menu ul li a {
	text-indent: -999em;
}
#menu a:hover, #menu a:active,.current {
	background-position: 0 -44px;
}
#menu li.current a {
	background-position:  left -44px;
}
#menu_salat a {
	display: block;
	width: 119px;
	height: 44px;
	background: transparent url(layout/menu_salat.gif) no-repeat;
}
#menu_palvelut a {
	display: block;
	width: 119px;
	height: 44px;
	background: transparent url(layout/menu_palvelut.gif) no-repeat;
}
#menu_yhteys a {
	display: block;
	width: 119px;
	height: 44px;
	background: transparent url(layout/menu_yhteys.gif) no-repeat;
}
#menu_ps a {
	display: block;
	width: 119px;
	height: 44px;
	background-color: transparent;
	background: transparent url(layout/menu_ps.gif) no-repeat;
	margin-top: 45px;
}
#contentwrapper {
	float: left;
	width: 520px;
	border: 1px solid #330033;
	height: 421px;
	background-image: url(layout/back.gif);
	background-repeat: no-repeat;
	background-position: right top;
	background-color: #FFFFFF;
}
#index #contentwrapper {
	background: #330033 url(layout/back_index.gif) no-repeat right top;
	float: left;
	width: 520px;
	border-bottom: 1px solid #330033;
	height: 421px;
}
#logo {
	height: 66px;
	width: 160px;
	overflow: hidden;	
}
#logo h1 {
	height: 0px;
	width: 160px;
	padding: 70px 0 0 0;
	overflow: hidden;
	background: transparent url(layout/logo.gif) no-repeat 17px 10px;
}
#index #logo h1 {
	height: 0px;
	width: 160px;
	padding: 70px 0 0 0;
	overflow: hidden;
	background: transparent url(layout/logo_index.gif) no-repeat 17px 10px;
}
#logo h1 a {
	height: 0px;
	width: 160px;
                margin: 0 0 0 -9999px;
	overflow: hidden;	
	padding: 66px 0 0 0;
}
#index #logo h1 a {
	height: 0px;
	width: 160px;
                margin: 0 0 0 -9999px;
	padding: 66px 0 0 0;
	overflow: hidden;	
}
#content {
	background: transparent url(layout/stitches.gif) no-repeat;
	width: 250px;
	float: left;
	height: 335px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 17px;
}
#index #content {
	background: transparent url(layout/stitches_index.gif) no-repeat;
	width: 200px;
	float: left;
	height: 335px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 17px;
}
#index #content p {
	color: #fff;
}
#footer {
	background: #330033;
	width: 520px;
	float: left;
}
#footer p {
	color: #fff;
	line-height: 20px;
	padding: 0 10px;
	margin: 0;
	font-size: 0.69em;
}
#phone {
	background: transparent url(layout/footer_phone.gif) no-repeat 0 1px;
	padding: 0 0 0 15px;
	margin: 0 10px 0 10px;
}
#mail {
	background: transparent url(layout/footer_mail.gif) no-repeat 0 1px;
	padding: 0 0 0 15px;
	margin: 0 10px 0 10px;
}
#index #footer {
	background: #fff;
	width: 520px;
	float: left;
}
#index #footer p {
	color: #330033;
	line-height: 20px;
	padding: 0 10px;
	margin: 0;
}
#index #phone {
	background: transparent url(layout/footer_phone_index.gif) no-repeat 0 1px;
	padding: 0 0 0 15px;
	margin: 0 10px 0 10px;
}
#index #mail {
	background: transparent url(layout/footer_mail_index.gif) no-repeat 0 1px;
	padding: 0 0 0 15px;
	margin: 0 10px 0 10px;
}
.indent {
	padding: 0 0 15px 8px;
}
/* Form */
.inputwrap {
	font-size: 0.675em;
	width: 200px;
	margin: 0 0 4px 0;
	float: left;
}
.inputwrap label {
	width: 50px;
	float: left;
}
.inputwrap input {
	width: 140px;
	float: left;
	font-size: 1em;
}
.inputwrap textarea {
	width: 140px;
	float: left;
	font-size: 1.25em;

}
.submitwrap {
	width: 195px;
	float: left;
}
.submitwrap input {
	float: right;
}
