body {
	background: #afb5bf;
	height: 100%;
	cursor: default;
}

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

img {
	behavior: url(../../images/pngbehavior.htc);
}

a img {
	border: 0;
}

.c {
	clear: both;
}

.wrapper {
	width: 930px;
	margin-right: auto;
	margin-left: auto;
}

#topblock {
	width: 100%;
	height: 46px; 
	margin-right: auto;
	margin-left: auto;
	background: #dcdcdc url(../../images/headerbg.png) top center no-repeat;
	border-bottom: 1px solid #e9e9e9;
}

#imgblock {
	background: #b3b7be;	
}

#shadow {
	position: relative;
	top: 0;
	z-index: 1 !important;
	width: 100%;
	/*background: url(../../images/shadow.png) repeat-x;*/
}

/*** animaatio ***/
div.wrap {
	width: 930px;
	margin-top: 0;
	text-align: left;
}
div#top div#nav {
	float: left;
	clear: both;
	width: 682px;
	height: 52px;
	margin: 10px 0 0 0;
}
div#top div#nav ul {
	float: left;
	width: 682px;
	height: 52px;
	list-style-type: none;
}
div#nav ul li {
	float:left;
	height:52px;

}
div#nav ul li a {
	border: 0;
	height: 52px;
	display: block;
	line-height: 52px;
	text-indent: -9999px;
}
div#header {
	margin: -1px 0 0;
}
div#video-header {
	width:682px;
	margin: -1px 0 0;
}
div#header div.wrap {
	height: 304px;
}
div#header div#slide-holder {
	z-index: 40;
	width: 682px;
	height: 304px;
	position: absolute;
	background: #333534;
}
div#header div#slide-holder div#slide-runner {
	top: 0;
	left: 0;
	width: 682px;
	height: 304px;
	overflow: hidden;
	position: absolute;
}
div#header div#slide-holder img {
	margin: 0;
	display: none;
	position: absolute;
}
div#header div#slide-holder div#slide-controls {
	left: 0;
	bottom: 240px;
	width: 682px;
	height: 46px;
	display: none;
	position: absolute;
	background: url(../../images/navibg.png) 0 0 repeat-x;
}
div#header div#slide-holder div#slide-controls p.text {
	float: left;
	color: #fff;
	display: inline;
	font-size: 10px;
	line-height: 16px;
	margin: 15px 0 0 20px;
	text-transform: uppercase;
}
div#header div#slide-holder div#slide-controls p#slide-nav {
	float: right;
	height: 24px;
	display: inline;
	margin: 11px 15px 0 0;
}
div#header div#slide-holder div#slide-controls p#slide-nav a {
	float: left;
	width: 24px;
	height: 24px;
	display: inline;
	color: #fff;
	font-size: 11px;
	margin: 0 5px 0 0;
	line-height: 24px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	background-position: 0 0;
	background-repeat: no-repeat;
}
div#header div#slide-holder div#slide-controls p#slide-nav a.on {
	background-position: 0 -24px;
}
div#header div#slide-holder div#slide-controls p#slide-nav a { background-image: url(../../images/slide-nav.png) }
div#nav ul li a { background: url(../../images/nav.png) no-repeat; }

/**** /animaatio ****/

#news {
	float: right;
	width: 230px;
	height: 280px;
	padding: 20px 0 0 0;
	color: #fff;
}

#news h1 {
	font-size: 16px;
	text-transform: uppercase;
	font-weight: normal;
}

#news ul {
	margin-top: 10px;
	list-style-type: none;
	margin:0;
	padding:0;
}

#news ul li {
	margin-bottom: 10px;
	border-bottom: 1px solid #cecece;
	text-indent: 0;
}

#news a {
	color: #fff;
}

#news a:hover {
	color: gray;
}

#contentbg {
	width: 100%;
	background: #d3d3d3;
}

#navi {
	width: 210px;
	min-height: 400px;
	padding-top: 10px;
	background: url(../../images/mainnavibg.png) no-repeat;
	/*border-right: 1px solid #cfcdcd;*/
}

#navi ul {
	list-style-type: none;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #d4d4d4;
	margin-right: 6px;
	margin-left:0;
	padding-left:0;
}

#navi ul li {
	list-style-type: none;
	border-top: 1px solid #d4d4d4;
	border-bottom: 1px solid #fff;
	text-indent: 0;
}

#navi ul li a {
	color: #000;
	text-decoration: none;
}

#navi ul li a:hover {
	color: gray;
}

#navi ul li a.selected {
	font-weight: bold;
}


#navi ul li ul {
	margin-left: 7px;
	padding: 7px;
	list-style-image: url(../../images/squares.gif);
	border: none;
	background: none;
}

#navi ul li ul li {
	border: none;
}

#navi ul li ul li ul li {
	font-size: 11px;
	list-style: none;
}

#content {
	float: right;
	width: 686px;
	min-height: 370px;
	padding: 30px 0 10px 40px;
	background: url(../../images/contentbg.png) repeat-y;
}

#footer {
	width: 100%;
	height: 100px;
	background: url(../../images/footerbg.png) repeat-x;
}

.footertext {
	float: left;
	font-size: 10px;
	line-height: 12px;
	color: #434343;
	margin: 10px 30px 0 0;
}

#softers {
	float: right;
	width: 61px;
	height: 26px;
	margin-top: 10px;
}

#sivunavit {
	float: right;
	width: 686px;
	margin-top: -20px;
	margin-bottom: 20px;
}
/*
.sivunavi {
	float: left;
	display: block;
	height: 20px;
	padding: 10px 44px 4px 44px;
	border-top: 1px solid #acacac;	
	border-right: 1px solid #fff;	
	border-bottom: 1px solid #acacac;	
	border-left: 1px solid #acacac;	
}
a.sivunavi {
	font-weight: bold;
	color: #1b4796;
}

a:hover.sivunavi {
	color: #000;
	background: #fff;
}
*/
table.yhteys {
	width: 680px;
	background: #fff;
	border: 1px solid #d3d3d3;
	border-collapse: collapse;
}

table.yhteys td {
	padding: 8px;
	vertical-align: top;
}

table.yhteys tr {
	border-bottom: 1px solid #d3d3d3;
}

.yhteydet a {
	display: block;
	width: 300px;
	height: 26px;
	padding: 8px 14px 0 14px;
	background: #fff url(../../images/arr.gif) no-repeat;
	border: 1px solid #d3d3d3;
}

.yhteydet a:hover {
	background: #f9f9f9 url(../../images/arr.gif) no-repeat;
}

.kayntikortti {

}

/*************************** CSS POPUPS ***********************************/
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.thumbnail {
	position: relative;
}
.thumbnail:hover {
	background-color: transparent;
	z-index: 50;
}
.thumbnail span { /*CSS for enlarged image*/
	position: absolute;
	display: block;
	width: 310px;
	height: 154px;
	background: #fff;
	border-top: 1px solid #767676;
	border-right: 2px solid #767676;
	border-bottom: 2px solid #767676;
	border-left: 1px solid #767676;
	padding: 4px;
	left: -1000px;
	visibility: hidden;
	color: black;
	text-decoration: none;
}
.thumbnail span img { /*CSS for enlarged image*/
	border-width: 0;
	padding: 2px;
}
.thumbnail:hover span { /*CSS for enlarged image on hover*/
	visibility: visible;
	top: -60px;
	left: 60px; /*position where enlarged image should offset horizontally */
	font-weight: normal;
}

.thumbnail span.yhtkuva {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	background: transparent;
	border: 0;
}

.thumbnail span.yhtteksti {
	position: absolute;
	display: block;
	top: 0;
	left: 110px;
	background: transparent;
	border: 0;
	font-size: 11px;
}

/***********************************************************************/

.button {
	height: 25px;
	padding: 2px 4px;
	background: #183b76 url(../../images1/buttonbg.gif) repeat-x;
	border: 1px solid #fff;
	font-size: 11px;
	font-weight: bold;
	color: #fff;
}


ul.referenssit{
	list-style: none;
	margin: 0;
	padding: 0;
}

/***********************************************************************/

blockquote {
	margin-left: 40px;
}

textarea {
		font-family: arial, sans-serif;
		font-size: 12px;
}
