html,body {
	padding:0; 
	margin:0; 
	border:0;
	}

html {
	font-family: 'LiberationSansRegular',sans-serif;
	font-size: 0.9em;
	color:#fff;
	}

body {
	background: #0b1337 url() center repeat-y;
	}
	
#borderi {
	min-width: 860px;
	max-width: 1044px;
	border: 5px solid #0b1337;
	margin: 0 auto;
	height: 100%;
	background: #0b1337;
	overflow: hidden;
	}

#borderi img {
	border: 0;
	}

#wrap {
	width: 1024px;
	margin: 0 auto;
	background-attachment: fixed;
	background: #F5ECCF url(img/borderi2.png) right repeat-y;
	}

#header {
	position: relative;
	width: 1024px;
	height: 120px;
	background: #0b1337 url(img/header-bg2.png) left no-repeat;
	text-align: center;
	margin-bottom: 0px;
	}

#header img {float: left;}

#footer {
	position: relative;
	height: 65px;
	margin-left: 158px;
	margin-top: -52px;
	background:  transparent url(img/siluetti.png) bottom left repeat-x;
	}

#motto {
	position: relative;
	width: 163px;
	left: -158px;
	padding-top: 45px;
	text-align: center;
	font-size: 0.7em;
	color: #fff;
	background: transparent url(img/siluetti_pohja2.png) bottom left repeat-x;
	}

#kirkko {
	width: 35px;
	height: 65px;
	background: url(img/kirkko.png) no-repeat;
	margin-left: 150px;
	margin-top: -83px;
	}

#menu {
	position: relative;
	text-transform: none;
	font-variant: small-caps;
	font-size: 0.9em;
	font-weight: bold;
	background: #0b1337 url() top repeat-x;
	z-index: 10;
	width: 163px;
	overflow: hidden;
	margin-right: -160px;
	margin-left: 0px;
	float: left;
	}

#menu span {
	font-family: 'LiberationSerifRegular', serif;
	display: block;
	text-align: center;
	border-bottom: 1px solid #0b1337;
	padding: 3px 0 3px 0;
	background: #F5ECCF;
	}

.first {
	border-top: 1px solid #0b1337;
	}

.last {
	border-bottom: 1px solid #0b1337;
	}

.icon {
	}

#menu span:hover {
	color: #000;
	background: #E0D7B9;
	}

#content-wrap {
	}

#content {
	color: #000;
	min-height: 500px;
	border-left: 0;
	text-align: left;
	padding: 16px 158px 52px 32px;
	margin-left: 163px;
	margin-top: 0px;
	background: url(img/content-side-bg.png) left repeat-y;
	}

#content img {
	border: 1px solid #000;
	}

#content p, ul {
	text-align: justify;
	}

#rajoitin {
	max-width: 50em;
	}

.adobe {
	background:transparent url(img/icon_note.png) top left no-repeat;
	padding:0 0 0 36px;
	line-height:32px;
	}
.nuotti {
	background:transparent url(img/icon_noteh.png) top left no-repeat;
	padding:0 0 0 36px;
	line-height:32px;
	}

.info {
	background:transparent url(img/icon_start.png) top left no-repeat;
	padding:0 0 0 36px;
	line-height:32px;
	}

h1 {

	}
h2 {

	}
h3 {
	font-family: 'LiberationSerifRegular', serif;
	text-align: center;
	font-variant: small-caps;
	text-transform: none;
	font-size: 1.8em;
	text-decoration: underline;
	margin: 0.5em 0 1em 0;
	}

h4 {	
	font-family: 'LiberationSerifRegular', serif;
	font-variant: small-caps;
	text-transform: none;
	font-size: 1.4em;
	margin: 0.5em 0 1em 0;
	}

ul	{
	}

hr {
	border: 0;
	background-color: #000;
	height: 1px;
	text-align: left;/*this will align it for IE*/
	margin: 0 auto 0 0; /*this will align it left for Mozilla*/
}

a {
	color: #252472;
	text-decoration: none;
}

a:hover {
	color: #000;
	text-decoration: underline;
}

.oikealle {
	float: right;
	margin: 1em -5em 1em 1em;
	}

.vasemmalle {
	float: left;
	margin: 1em 1em 1em 0;
	}

.icon_vasemmalle {
	float: left;
	margin: -0.3em -2em 0 0.5em;
	}

.sig {
	font-style: italic;
	}

p.quote {
	font-family: 'GabrielleRegular', serif;
	font-size: 1.4em;
	}