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

* {
	margin: 0;
	padding: 0;
}

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

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

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

ul ul {
	margin: 0;
}

h1 {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 1em;
	color: #a22a33;
}

h2 {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 1em;
}

h3 {
	margin-bottom: 10px;
}

p {
	margin-bottom: 10px;
	font-size: 13px;
	line-height: 18px;
}

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

#outerContainer {
	width: 100%;
	height: 100%;
	position: relative;
	background: transparent url(../images/base/tausta-2.jpg) no-repeat center top;
}

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

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

#bottomContainer {
	width: 1001px;
	height: 70px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/base/bottomContainer.png) no-repeat top center; 
}

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

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

#logo {
	position: absolute;
	top: 20px;
	left: 19px;
}

#navibar {
	width: 659px;
	height: 39px;
	position: absolute;
	top: 40px;
	right: 19px;
	background: url(../images/base/navipalkki.png) no-repeat top center;
	padding-top: 3px;
}


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

#topnav {
	list-style: none;
	margin: 0;
	padding: 0;
}

#topnav li {
	position: relative;
	float: left;
}

#topnav li  a {
	outline: none;
	display: block;
	padding: 7px 18px;
	font-size: 15px;
	font-weight: bold;
	color: white;
}

#topnav li  a:hover , #topnav li  a.selected  {
	text-decoration: none;
	background: white;
	color: black;
}

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

#contents {
	position: relative;
	width: 970px;
	padding-top: 7px;
	margin-left: auto;
	margin-right: auto;
}

#content_top {
	position: relative;
}

#content_bottom {
	position: relative;
}

#location {
	font-size: 11px;
	font-weight: normal;
	color: #6d6d6d;
}

#location a {
	font-size: 11px;
	color: #6d6d6d;
}

#content_top {	
	width: 925px;
	margin-left: auto;
	margin-right: auto;
	min-height: 350px;
}

#content_bottom {	
	width: 925px;
	margin-left: auto;
	margin-right: auto;
}


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


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

#footer {
	position: relative;
	width: 1001px;
	height: 70px;
	margin-left: auto;
	margin-right: auto;
}

#footer-ikonit{
	position: absolute;
	left: 44px;
	top: 18px;
	text-align: left;
}

#footer-heinakuu {
	position: absolute;
	right: 24px;
	top: 10px;
	text-align: right;
}

#footer-heinakuu a {
	color: #686868;
	font-size: 11px;
	line-height: 10px;
}

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

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


/* luokka määrittelyt */
/****************************/

.bold {
	font-weight: bold;
}

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


.middle {
	vertical-align: middle;
}

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

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

.center {
	margin-left: auto;
	margin-right: auto;
}

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

.tooltip {
	width: 250px;
}

a.nappi {
	font-size: 11px;
	font-weight: bold;
	color: white;
	display: block;
	background: #ff0000;
	padding: 2px 6px;
	float: left;
}

a.nappi:hover {
	text-decoration: underline;
}

h2.greybar {
	font-size: 16px;
	color: white;
	padding-left: 10px;
	background: #474747;
	font-weight: bold;
}

div.hr {
	height: 1px;
	background: #7a7a7a;
}

.bottom-link {
	display: inline-block;
	padding: 25px 10px;
}

/* Uutispalikan tyylit      */
/****************************/

div.index_uutinen {
	position: relative;
	margin-bottom: 15px;
}


div.index_uutinen h1 {
	padding-left: 25px;
	background: #a22a33;
	font-size: 16px;
	color: white;
	font-weight: bold;
}

div.index_uutinen p {
	padding-left: 25px;
	font-size: 13px;
	line-height: 14px;
	color: white;
	margin: 0;
}

div.index_uutinen p.pvm {
	padding-left: 25px;
	font-size: 11px;
	margin: 0;
	color: white;
}

div.index_uutinen a {
	padding-left: 25px;
	font-size: 13px;
	font-weight: bold;
	color: white;
	margin: 0;
}

div.uutinen_otsake {
	position: relative;
	margin-bottom: 15px;
}


div.uutinen_otsake h1 {
	font-size: 13px;
	color: black;
	font-weight: bold;
}

div.uutinen_otsake p {
	font-size: 13px;
	line-height: 14px;
	color: black;
	margin: 0;
}

div.uutinen_otsake p.pvm {
	font-size: 11px;
	margin: 0;
	color: black;
}

div.uutinen_otsake a {
	font-size: 11px;
	font-weight: bold;
	color: black;
	margin: 0;
}


/* 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;
}
