	/* Sivuston css-tyylit */

/* HTML-elementtien "nollaus" ja globaalit alustukset */
(at)import url("reset.css");

html, body { height: 100%; }

body {
	color: #282828;
	background: #fff url(../img/css/bg/bg_container.gif) repeat-y 0 0;
	font-size: 11px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}


/* TYPOGRAFIAT
************** */
h1, h2, h3, h4, p, li { line-height: 15px; }

h1 { 
	margin-bottom: 15px;
	font-size: 12px; 
}
body#frontpage #main-content h1 { display: none; }

form h4 { margin-bottom: 8px; }

p {
	margin-bottom: 15px;
	font-size: 11px;
}
#form-info p {
	margin-bottom: 7px;
	color: #cc0000;
}

ul { list-style-position: inside; }
ul#contact { list-style: none; }

p, ul { margin-bottom: 15px; }

a, a:link { 
	color: #282828;
	text-decoration: none; 
}
a:visited { color: #5c5c5c; }
a:hover { 
	color: #4c4c4c;
	text-decoration: underline; 
}
#main-content a { text-decoration: underline; }


/* LAYOUTIN SISALTOINEEN
************************ */
/* Sisallon sailio */
#container {
	position: relative;
	overflow: hidden;
	width: 1000px;
}

	/* Sivuston header */
	#header {
		position: relative;
		z-index: 1;
		padding-top: 103px;
		width: 1000px;
	}
		#header p#brand-site {
			position: absolute;
			overflow: hidden;
			top: 44px;
			left: 9px;
			width: 86px;
			height: 18px;
			background: url(../img/css/bg/bg_subarufi.gif) no-repeat 0 0;
			text-indent: -9999px;
		}
			#header p#brand-site a { 
				display: block;
				width: 86px;
				height: 18px;
			}		
		#header p#brand-logo {
			position: absolute;
			top: 29px;
			right: 30px;
		}
		#header #flashcontent {
			position: relative;
			z-index: 0;
			top: -31px;
			margin-bottom: -31px;
			margin-left: 115px;
			width: 878px;
		}
		
	/* Sivuston paasisalto-alue */
	#content {
		position: relative;
		z-index: 2;
		float: left;
		margin-top: 43px;
		margin-left: 115px;
		margin-bottom: 30px;
		width: 878px;
	}
	
		#content #main-content {
			float: left;
			margin-left: 45px;
			width: 510px;
		}
		
		#content #sidebar {
			position: relative;
			top: -120px;
			left: 0;
			float: right;
			margin-right: 30px;
			margin-bottom: -120px;
			padding-top: 15px;
			width: 238px;
			background: url(../img/css/bg/bg_sidebar-mainpg.png) no-repeat 0 0;
		}		
		body#insurance #content #sidebar { background: url(../img/css/bg/bg_sidebar-basicpg.png) no-repeat 0 0; }
			
			#content #sidebar h2,
			#content #sidebar p,
			#content #sidebar ul {
				padding-right: 25px;
				padding-left: 25px;
			}
			#content #sidebar ul li p {
				padding-right: 0;
				padding-left: 0;
			}
			#content #sidebar h2 { 
				margin-bottom: 5px;
				padding-top: 10px;
				text-transform: uppercase; 
			}
			
			#content #sidebar ul li,
			#content #sidebar ul li p { font-size: 10px; }
		
	/* Sivuston footer */
	#footer {
		clear: both;
		margin-left: 115px;
		padding-top: 5px;
		padding-bottom: 5px;
		width: 878px;
		background: #4c4c4c url(../img/css/bg/bg_footer.gif) repeat-x 100% 0;
	}
		#footer p {
			margin-bottom: 0;
			color: #fff;
			font-size: 10px;
			text-align: center;
		}		
			#footer p a { color: #fff; }

/* Apusivu */
body#help-page { background-image: none; }

body#help-page #container {
	width: 100%;
	background: #f7f7f7;
}
	body#help-page #container #content {
		position: static;
		float: none;
		overflow: hidden;
		margin-top: 45px;
		margin-bottom: 45px;
		margin-left: 45px;
		padding-top: 45px;
		padding-bottom: 30px;
		width: 600px;
		background-color: #fff;
	}
		body#help-page #container #content h1,
		body#help-page #container #content h2,
		body#help-page #container #content p { 
			padding-left: 45px;
			padding-right: 45px; 
		}
		body#help-page #container #content p#brand-logo {
			overflow: hidden;
			margin-bottom: 30px;
			border-bottom: 1px solid #dedede;
			padding-bottom: 30px;
		}
			body#help-page #container #content p#brand-logo img { float: right; }	


/* NAVIGAATIOT
-------------- */
ul#main-nav {
	position: relative;
	z-index: 2;
	overflow: hidden;
	margin-bottom: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 115px;
	width: 878px;
	background: transparent url(../img/css/bg/bg_main-nav.png) repeat 0 0;
	list-style: none;
}
	ul#main-nav li {
		float: left;
		margin-left: 30px;
		line-height: 1;
	}
		ul#main-nav li a {
			color: #464646;
			font-size: 10px;
			text-transform: uppercase;
			text-decoration: none;
		}
		ul#main-nav li a#active { font-weight: bold; }


/* LOMAKKEET
------------ */
form { margin-bottom: 30px; }

fieldset {
	margin-bottom: 30px;
	border-bottom: 1px solid #dedede;
	padding-bottom: 15px;
}

legend {
	padding-bottom: 8px;
	font-weight: bold;
}
	
select { width: 170px; }

/* lomake-elementin sailio */
.form-item {
	overflow: hidden;
	margin-bottom: 8px;
	width: 510px;
}
	.form-item label {
		float: left;
		margin-right: 15px;
		width: 170px;
		text-align: right;
	}
	.form-item input,
	.form-item select { 
		float: left;
		vertical-align: middle;	
	}
	.form-item input.inline { float: none; }
	.form-item input#submit-btn { margin-right: 15px; }

#form-info {
	margin-bottom: 30px;
	border: 1px solid #dedede;
	padding: 10px 10px 0;
	background-color: #f7f7f7;
}
	#form-info a { color: #cc0000; }

span.compulsory { color: #cc0000; }
