/* Tagien oletustyylit */
/***********************/

* {
	margin: 0;
	padding: 0;
}

html, body {	
	height: 100%;
	font-family: "Trebuchet MS", Verdana, Arial;
	font-size: 12px;
	background: #FDFCEE url(images/tausta.jpg) no-repeat top center;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

ul, ol {
	padding-left: 40px;
	margin: 16px 0px;
}

h1 {
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 10px;
	color: #806a02;
}

h2 {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 10px;
	color: #806a02;
}

h3 {
	margin-bottom: 10px;
}

p {
	margin-bottom: 10px;
	font-size: 12px;
}

/* container elementtien määrittelyt */
/****************************/

#outerContainer {
	width: 100%;
	height: 100%;
	position: relative;
}

#topContainer {
	width: 968px;
	height: 120px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	background: url(images/topContainer.png) no-repeat bottom center; 
}

#middleContainer {
	width: 968px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	background: url(images/middleContainer.png) repeat-y; 
}

#bottomContainer {
	width: 968px;
	height: 120px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	background: url(images/bottomContainer.png) no-repeat top center; 
	padding-bottom: 50px;
}

/* headerin määrittelyt */
/****************************/

#header {
	width: 900px;
	height: 120px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#header_teksti_1 {
	width: 465px;
	height: 62px;
	position: absolute;
	top: 10px;
	left: 15px;
	background: url(images/header_teksti_1.png) no-repeat;
}

#header_teksti_2 {
	width: 295px;
	height: 66px;
	position: absolute;
	top: 17px;
	right: 17px;
	background: url(images/header_teksti_2.png) no-repeat;
}

/* navigaation määrittelyt */
/***************************/ 

#navigation {
	width: 170px;
	position: relative;
}

/* sisällön määrittelyt */
/****************************/

#contents {
	position: relative;
	width: 900px;
	margin-left: auto;
	margin-right: auto;
}

#left {
	float: left;
	width: 170px;
}

#center {
	float: left;
	width: 470px;
	min-height: 300px;
	margin-left: 20px;
}

#right {
	float: right;
	width: 220px;
}

#tooltip {
	position:absolute;
	border:1px solid #ccc;
	background:#333;
	padding:5px;
	display:none;
	color:#fff;
	text-align: center;
}


/* footerin määrittelyt */
/****************************/

#footer-textbox {
	position: absolute;
	width: 380px;
	top: 20px;
	left: 50px;
}

#footer-open {
	position: absolute;
	width: 120px;
	top: 20px;
	right: 300px;
}

#footer-contact {
	position: absolute;
	width: 200px;
	top: 20px;
	right: 40px;
	text-align: right;
}

#footer-heinakuu {
	position: absolute;
	right: 40px;
	top: 100px;
}

#footer-heinakuu a {
	color: #7b7b7b;
	font-size: 11px;
}

#footer-legalnotice {
	position: absolute;
	right: 750px;
	top: 100px;
}

#footer-legalnotice a {
	color: #7b7b7b;
	font-size: 11px;
}
/* luokka määrittelyt */
/****************************/

.bold {
	font-weight: bold;
}

.middle {
	vertical-align: middle;
}

.strike {
	text-decoration: line-through ;
}

.smalltext {
	font-weight: normal;
	font-size: 11px;
}

.bordered {
	border: 1px solid #bcbc2b;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.nappi {
	margin-bottom: 1px;
	background: #b59711;
	border: 0;
}

.nappi:hover {
	background: #dcdc56;
}

.nappi .ui-button-text {
	font-size: 13px;
	padding: 0.4em 1.0em;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
}

.nappi:hover .ui-button-text {
	color: #810707;
}

.error_msg {
	height:16px;
	font-size: 11px;
	color: red;
	font-weight: bold;
	padding-right: 22px;
	padding-top: 4px;
	background: url(images/exclamation.png) right 3px no-repeat;
	margin-top: 4px;
}

h1.bar {
	background: url(images/bar.jpg) no-repeat top left;
	font-size: 16px;
	color: white;
	font-weight: bold;
	text-align: right;
	padding: 3px 15px;
}

h1.shortbar {
	background: url(images/bar_short.jpg) no-repeat top left;
	font-size: 14px;
	color: white;
	font-weight: bold;
	text-align: left;
	padding: 5px 15px;
}

/* Selaimen tunnitukseen    */
/* liittyvät määritykset    */
/****************************/

#browser_notice {
	width: 100%;
	margin-bottom: 10px;
	padding: 5px 0px;
	border: 1px solid #cecece;
	background: #d9ffb7;
}

#browser_notice span.message {
	padding: 0px 10px;
	font-size: 11px;
}

#browser_notice  img {
	vertical-align: middle;
	margin-left: 10px;
}

#browser_notice  #notice_close {
	position: absolute;
	right: 5px;
	top: 5px;
}