/* Start of CMSMS style sheet 'sundcon' */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Yleiset */

div.clear {clear:both;}

/* Yleinen rakenne */

body {
	background: #d6d3ce url(images/body_b2.jpg) center top repeat-x;
}

#container {
	width:970px;
	margin: 0 auto;
}

#logo {
	display:inline;
	margin: 40px 0 0 8px;
	float:left;
	clear:left;
}

#mainmenu {
	float:right;
	display:inline;
	margin:50px 40px 0 100px; 
	height:40px;
	background: transparent url(images/mainmenu_r_b.png) right bottom no-repeat;
	padding:0 15px 0 0;
}

div#footer {
	float:left;
	width:100%;
	height:42px;
	display:inline;
	margin:20px 0 0 0;
	padding:0 0 20px 0;
	background: transparent url(images/footer_b.png) right top no-repeat;
	color:#aaaaaa;
}

div#footer p {
	float:right;
	display:inline;
	margin:32px 50px 0 0 ;
}

div#author {
float:right;
font-size:0.8em;
margin:12px 50px 0 0 ;
clear:right;
}

div#author a {
	color:#aaaaaa;text-decoration:none;
}
div#author a:hover {
	color:#aaaaaa;text-decoration:underline;
}


/* Etusivu rakenne ja muotoilut */

#text_1 {
	float:left;
	width:426px;height:230px;
	display:inline;
	font-family:"Times New Roman", serif;
	font-size:1.4em;
	line-height:1.5em;
	font-style:italic;
	color:#000;
	clear:left;
	margin:100px 0 0 15px;
	background: transparent url(images/pystyviiva.png) left top no-repeat;
	padding:0 0 0 20px;
}

#text_2 {
	float:right;
	width:450px;height:300px;
	display:inline;
	clear:right;
	margin:30px 0 0 0;
}


#box_1, #box_2, #box_3 {
	float:left;
	width:277px;height:194px;
	padding:15px;display:inline;margin:0 17px 0 0;
}

#box_1 {
	background: transparent url(images/box_red.png) 0 0 no-repeat;
	clear:left;
}

#box_2 {
	background: transparent url(images/box_blue.png) 0 0 no-repeat;
}

#box_3 {
	background: transparent url(images/box_beige.png) 0 0 no-repeat;
	clear:right;margin:0;
}


/* Perussivun rakenne ja muotoilut */


div#main {
	float:left;
	display:inline;
	margin:23px  0 0 0;
	width:100%;
	min-height:450px;
	background: transparent url(images/perussivu_main_b.jpg) 5px 0 no-repeat;
}

div#leipa {
	float:right;
	width:688px;
	background:#fff;
	display:inline;
	margin:20px 0 0 0;
	padding:0 50px 10px 24px;
}

div#submenu {
	float:left;
	display:inline;
	width:207px;
}

div#leipa p {
	font-size:1.em;
	line-height:1.45em;
	color:#2e2b26;
}

div#alapalkkilinkit {
	border-top:1px solid #999;
	margin:10px 0 0 0;
	padding:10px 0;
}

/* Yleiset tyylit */

body { 
	font: 80%/1.4em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
																  															
p {
	margin:0 0 0.8em;}

/* Linkit */

a {	color:#0a64a3;
	text-decoration:underline;
}

a:hover {	
	color:#bd0a2e;
}

div#alapalkkilinkit a {
	background: transparent url(images/alapalkki_a.gif) left 3px no-repeat;
	padding:0 0 0 15px;
	margin:0 14px 0 0;
	text-decoration:none;
	font-size:1.2em;
}

div#alapalkkilinkit a:hover {
	background: transparent url(images/alapalkki_a_h.gif) left 3px no-repeat;
	color:#bd0a2e;
}

/* Listat */

ul {
	list-style-type:square;
	list-style-position:inside;
	padding:0 0 0 20px;
	margin:18px 0;
	
	}

li {
	margin:0 0 10px 0;
	font-size:1.1em;
	}

#text_2 ul li {
	color:#252423;
	list-style-type:none;
	padding:0 0 0 22px;
	background: transparent url(images/arrow_grey.png) left 3px no-repeat;
	display:block;
	font-size:1em;
	margin:0 0 12px 0;
}

#text_2 ul li b, #text_2 ul li strong {
	font-weight:normal;
	color:#f1ede0;
	text-transform:uppercase;
}

/* Otsikot */

h1, h2, h3 {
	font-weight:normal;
}

h1 {
	font:;
	color:;
	margin:;
}


	h1#sivuotsikko {
		display:inline;
		float:left;
		height:51px;
		line-height:53px;
		margin:2px 0 0 230px;
		font-size:1.7em;
		color:#0a64a3;
	}

h2 {
	font:;
	color:#bd0a2e;
	margin:20px 0 12px 0;
	font-size:1.6em;line-height:1.4em;
}

	#text_2 h2 {
		color:#FFF;
		font-family:"Times New Roman", serif;
	}

	.box h2 {
		color:#FFF;
		background: transparent url(images/arrow_grey.png) left 3px no-repeat;
		padding:0 0 0 20px;
		margin:10px 0 30px 0;
		
	font-size:1.45em;
	}

.box h2 a {color:#fff;text-decoration:none;}
.box h2 a:hover {text-decoration:underline;}

h3 {
	font-size:1.3em;
	color:#166daa;
	margin:20px 0 6px 0;
}


/* Taulukot */

table td, #leipa table p { font-family:"Lucida Sans Unicode", Arial, sans-serif;font-size:1em;}

/* Submenu */

#submenu ul {margin:0;padding:0;list-style-type:none;
	width:180px;float:right;display:block;font-size:0.85em;}

#submenu ul li {
	display:inline;
	width:180px;
	float:right;
	list-style-type:none;
	margin:0;
	padding:0;
}

#submenu ul li a {
	display:block;
	width:180px;
	float:left;
	background: transparent url(images/submenu_b.png) right repeat-y;
	padding:5px 0;
	margin:0 0 2px 0;
	color:#062939;
	text-decoration:none;
}

#submenu ul li a:hover {
	background: transparent url(images/submenu_s.png) right repeat-y;
}

#submenu ul li span {
	background: transparent url(images/submenu_arrow.png) left 3px no-repeat;
	padding:0 0 0 14px;
	display:block;
}

#submenu ul li.currentpage {
	display:block;
	width:180px;
	float:left;
	background: transparent url(images/submenu_s.png) right repeat-y;
	padding:5px 0;
	margin:0 0 2px 0;
	color:#fff;
	text-decoration:none;
}




/* LOMAKE */

div.lomake {
float:left;
}

p.errormessage, p.errormessage2 {
font-size:0.9em  !important;
color:#bd0a2e !important;
}

fieldset {
	border:0;
	padding:0;
	margin:0 0 10px 0;
}

div.lomake fieldset.lomake_vasen {
	width:335px;
	float:left;
	padding:0  10px 0 0;
}

div.lomake fieldset.lomake_oikea {
	width:335px;
	float:right;
}


.errormessage2 {
display:block;
width:100%;
float:left;
font-size:0.8em;
color:#d0284c;
}

div.lomake div {
float:left;
margin: 0 0 5px 0;
}

div.lomake label {
width:85px;
display:block;
float:left;
padding-right:8px;
}

div.lomake input {
display:block;
float:left;
width:214px;
height:22px;
border:0;
background: transparent url(images/input_b.gif) 0 0 no-repeat;
font-size:1em;
padding:3px;
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
}


div.lomake textarea {
display:block;
float:right;
width:568px !important;
height:108px;
border:0;
background: transparent url(images/textarea_b.gif) 0 0 no-repeat;
font-size:1em;
padding:3px;
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
div.lomake div.submit {
	float:right;
	margin:15px 20px 0 0;
}

div.lomake div.submit input {
display:inline;
float:right !important;
width:145px;
height:40px;
line-height:40px;
text-align:center;
color:#fff;
border:0;
cursor:hand;
cursor:pointer;
background: transparent url(images/submit_b.gif) 0 0 no-repeat;
font-size:1.1em;
}

div.lomake div.submit input:hover {
background: transparent url(images/submit_h.gif) 0 0 no-repeat;
color:#fff;
}

/* Ajankohtaiset */







/* End of 'sundcon' */

