html, body {
	padding: 0;
	margin: 0;
}

body {
	font-family:arial;
	font-size: 12px;
	line-height: 19px;
	background-image:url(../images/Peruselementit/body_bg.jpg); background-repeat: repeat-x;
}

/*** MISC ***/

form {
	margin: 0;
	padding: 0;
}

fieldset {
	margin: 0;
	padding: 0;
	border-style: none;
}

img {
	margin: 0;
	padding: 0;
	border-style: none;
}

div.clear {
	clear: both;
}

/*** TEXT STYLES ***/

h1, h2, h3 {
	margin: 5px 0px;
	font-weight: bold;
	font-family:georgia;
}

h1, .otsikko1 {
	font-size: 24px;
	font-weight:bold;
	margin-top:0;
	margin-bottom:20px;
}

h2, .otsikko2 {
	font-size: 14px;
	font-weight:bold;
	/*font-style:oblique;
	margin-top:0;
	margin-bottom:20px;*/
	margin-top:5px;
}

h3, .otsikko3 {
	font-size: 14px;
}
h4, .otsikko4{
	font-size: 24px;
	margin-top:0;
	margin-bottom:20px;
	font-family:georgia;
	letter-spacing:2px;
}
a {
	text-decoration: none;
}
a:hover{
	text-decoration:underline;
}
/*** MAIN WRAPPER ***/

#mainwrapper {
	width: 733px;
	margin:0px auto;
	padding-right:123px;
}
#mainwrapper a{
	color:#CF5D00;
}
/*** HEADER ***/

#headertop {
	height: 152px;
	background: url(../images/Peruselementit/header.jpg) no-repeat top center;
	color:#BDC6A0;
}
#headertop #headertopactions{
	width:960px;
	margin:auto;
	height:100%;
	background: url(../images/Peruselementit/header.jpg) no-repeat top center;

}
#headertop #headertopactions .topactions{
	/*width:333px;*/
	float:right;
	padding-right:209px;
	line-height:31px;
}
#headertop #headertopactions .topactions .topactions_left{
	float:left;
	background:url(/metso/www/images/topactions_left.gif) top left no-repeat;
	width:5px;
	height:31px;
}
#headertop #headertopactions .topactions .topactions_content{
	float:left;
	background:url(/metso/www/images/topactions_center.gif) top left repeat-x;
}
#headertop #headertopactions .topactions .topactions_content a.lang,
#headertop #headertopactions a.lang{
	padding-right:5px;
}
#headertop #headertopactions .topactions .topactions_content a.lang,
#headertop #headertopactions a.lang{
	float:left;
	height:30px;
}
#headertop #headertopactions .topactions .topactions_content img,
#headertop #headertopactions img{
	margin-top:5px;
}
#headertop #headertopactions .topactions .topactions_content table.searchTable{
	width:auto;
	color:black;
	float:left;
}
#headertop #headertopactions .topactions .topactions_content table.searchTable td{
	padding:0px 6px;
}
#headertop #headertopactions .topactions .topactions_right{
	float:left;
	background:url(/metso/www/images/topactions_right.gif) top left no-repeat;
	width:5px;
	height:31px;
}
#headertop #headertopactions .topactions .leftcontent{
	float:left;
	padding-right:0px;
	padding-left:32px;
	width:25%;
}
#headertop #headertopactions .topactions .leftcontent a{
	padding:0px 4px;

}
#headertop #headertopactions .topactions .search{
	float:left;
}
#headertop #headertopactions .topactions .rightcontent{
	float:left;
}
#headertop #headertopactions .topactions .lang{
	float:left;
}
#headertop #headertopactions .topactions .rightcontent .sv,
#headertop #headertopactions .topactions .leftcontent .sv {
	background:url(../images/Peruselementit/sv.gif) no-repeat;
	background-position:0px center;
	padding-left:23px;
	padding-right:5px;
	display:block;
}
#headertop #headertopactions .topactions .rightcontent .en,
#headertop #headertopactions .topactions .leftcontent .en {
	background:url(../images/Peruselementit/en.gif) no-repeat;
	background-position:0px center;
	padding-left:23px;
	padding-right:5px;
	display:block;
}
#headertop #headertopactions .topactions .rightcontent .fi,
#headertop #headertopactions .topactions .leftcontent .fi {
	background:url(../images/Peruselementit/fi.gif) no-repeat;
	background-position:0px center;
	padding-left:23px;
	padding-right:5px;
	display:block;
}
#headertop #headertopactions a{
	color:black;
}
/*#headertop #headertopactions .leftcontent{
	padding:0px 5px;
}
#headertop #headertopactions .rightcontent{
	padding:0px 5px;
}*/
#headertoplogo {
	margin: 5px 0px 0px 10px;
	float: left;
}

#headertopactions table {
	float: right;
	border-collapse: collapse;
	width:100%;
}

#headertopactions table td {
	padding: 0px 10px;
}

#headertopactions table td.link {
	border-right: 1px solid #BDC6A0;
}

#headertopactions table td.link a {
	font-weight: bold;
	text-decoration: none;
}

#headertopactions td.search input.text {
	border-width: 1px;
	background-color: #eeeeee;
	font-size: 10px;
}

#headertopactions td.search input.button {
	border-width: 1px;
	background-color: #027e10;
	font-size: 10px;
	color: #ffffff;
	padding: 0px;
	cursor: pointer;
}

#headermiddle {
	height: 239px;
	background-image: url(../images/Peruselementit/header_bg.jpg);
	background-position: top left;
	background-repeat: no-repeat;
}

#headermiddle div.content {
	padding: 20px 100px 10px 10px;
}

/*** TOPNAVI ***/

#topnavi {
	/*background-color: #e2e2e2;
	background-image: url(../images/Peruselementit/topnavi_bg.jpg);
	background-position: top left;
	background-repeat: repeat-x;*/
	font-family:georgia, arial;
}

#topnavi,
#topnavibg,
#topnavi ul,
#topnavi ul li {
	height: 32px;
}

#topnavibg {
	/*margin: 0px 6px;*/
}

#topnavi ul {
	margin: 0px;
	padding: 0;
}

#topnavi ul li {
	padding: 0;
	margin: 0;
	display: block;
	float: left;
}

#topnavi ul li a {
	display: block;
	float: left;
	line-height: 32px;
	padding: 0px 12px;
	color: #ffffff;
	font-size: 12px;
	background: url(../images/Peruselementit/topnavispacer.jpg) no-repeat top right;
}
#topnavi ul li a.first, #topnavi ul li.current_first a {
	padding-left:0;
}
#topnavi ul li a.last, #topnavi ul li.current_last a{
	padding-right:0;
	background:none;
}
#topnavi ul li a:hover {
	text-decoration: none;
	color: #e5c2a5;

}

#topnavi ul li.current {
	height: 32px;
text-decoration:underline;
color:#fff;
}
#topnavi ul li.current a:hover {
	height: 32px;
text-decoration:underline;
color:#e5c2a5;
}
#topnavi ul li.current a {
	line-height: 32px;
	/*font-weight:bold;*/
}

#topnavibar {
	background-color: #e6e6e6;
}

/* navibar content wrapper */
#topnavibarupper {
}

#topnavibarupper div.content {
	color: #ffffff;
	font-weight: bold;
}

#topnavibarupper table {
	border-collapse: collapse;
	width: 100%;
}

#topnavibarupper table td {
	padding: 0;
}

/* navibar bottom */
#topnavibarbottom {
	
}

/*** UPPER CONTENT ***/

#contentupper {
	padding-top:36px;
}
#contentupper div.onecol{
	margin-bottom:10px;
}
#contentupper div.onecol .header{
	margin-bottom:33px;
}
#contentupper div.onecol .header h1{
	line-height:24px;
}
#contentupper div.onecol .liftpic{
	float:left;
	padding:5px;
	border:1px #C9C9C9 solid;
}
#contentupper div.onecol .uppercontent{
	float:left;
	font-family:arial;

	width:520px;
	padding-left:26px;
}
#contentupper div.twocols{
	/*margin-bottom:10px;*/
}
#contentupper div.twocols div.col1 {
	width: 490px;
	float: left;
	overflow: hidden;
}

#contentupper div.twocols div.col1 .liftpic{
	float:left;
	padding:5px;
	border:1px #C9C9C9 solid;
}


#contentupper div.twocols div.col1 .uppercontent{
	float:left;
	font-family:arial;
	width:250px;
	padding-left:15px;
}


#contentupper div.twocols div.col2{
	width:225px;
	float:left;
	padding-left:15px;
	background: url(../images/Peruselementit/colspacer.jpg) bottom left no-repeat;
}
#contentupper div.twocols div.col1 div.content {
	padding-right: 10px;
}

#contentupper div.twocols div.col2 div.content {
	padding-left: 10px;
}
#contentupper div.twocols div.col2 div.content .uutinen {
	padding-bottom:10px;
}

#contentupperbottom {
	height: 7px;
	background-image: url(../images/Peruselementit/upper_content_bottom.gif);
	background-position: top left;
	background-repeat: no-repeat;
}

/*** LOWER CONTENT ***/

#contentlower,
#contentlifts {
	padding: 10px 0px;
	padding-top:15px;
}
#contentlower img{
	padding:1px;
	border:1px #C9C9C9 solid;
}
/* normal content with left menu */
#contentlowernormal {
	/*margin-left: 160px;*/
	margin-left:175px;
	
}

#contentlowernormal div.col1 {
	/*width:350px;*/
}
#contentlowernormal div.col1_thick {
	/*width:425px;*/
	width:350px;
	float:left;
}
#contentlowernormal div.col1_wide {
	width:565px;
	float:left;
}
#contentlowernormal div.col1_wide ul {
	list-style-type:none;
}
#contentlowernormal div.col1_wide ul li {
	background: url(../images/Peruselementit/leftnavibullet.gif) no-repeat left 6px;
	padding-left:10px;
}
#contentlowernormal div.col1_wide ul li a{
	display:block;
}
#contentlowernormal div.col1_wide ul ul li {
	font-size:90%;
}
#contentlowerwide div.twocols div.col1,
#contentlowerwide div.twocols div.col2 {
	width: 341px;
	float: left;
}

#contentlowerwide div.twocols div.col1 div.content {
	padding-right: 25px;
}

#contentlowerwide div.twocols div.col2 div.content {
	padding-left: 25px;
}

/*** RIGHT LIFTS ***/
#rightlifts {
	width: 174px;
	padding-left: 20px;
	float: left;
}
#rightlifts .liftentry{
	margin-bottom:5px;
}
/*** LOWER CONTENT - INDEX ***/

#contentlowerindex div.twocols div.col1,
#contentlowerindex div.twocols div.col2 {
	width: 296px;
	float: left;
}

#contentlowerindex div.twocols  div.col1 div.content {
	padding-right: 5px;
}

#contentlowerindex div.twocols  div.col2 div.content {
	padding: 0px 5px;
}

/*** CONTENT LIFTS ***/

#contentlifts div.col1,
#contentlifts div.col2,
#contentlifts div.col3,
#contentlifts div.col4 {
	overflow: hidden;
}

/*** CONTENT LIFTS - THREE COLUMNS ***/

#contentlifts div.threecols div.col1,
#contentlifts div.threecols div.col3 {
	width: 233px;
	float: left;
	font-size:0.9em;
	line-height:16px;
}
#contentlifts div.threecols div.col3 span.pvm{
	font-weight:bold;
}
#contentlifts div.threecols{
	padding:14px;
	border:1px #C9C9C9 solid;
	background: url(../images/Peruselementit/3cols_bg.jpg) no-repeat bottom center;
	font-family:arial;
}
#contentlifts div.threecols h2{
	margin-bottom:15px;
}
#contentlifts div.threecols div.col2 {
	width: 234px;
	float: left;
	font-size:0.9em;
	line-height:16px;
}

#contentlifts div.threecols div.content img {
	padding:1px;
	border:1px #C9C9C9 solid;
}
#contentlifts div.threecols div.col1 div.content, #contentlifts div.threecols div.col1 div.content_edit {
	padding-right: 15px;
}
#contentlifts div.threecols div.col2 div.content {
	padding: 0px 10px;
}

#contentlifts div.threecols div.col3 div.content {
	padding-left: 15px;
}

/*** COLUMN BACKGROUNDS ***/

div.colbgright,
div.colbgleft {
	/*padding:0px 10px;*/
}

div.colbgright {
	background-position: right bottom;
	background-image: url(../images/Peruselementit/viivat.png);
	background-repeat: no-repeat;
}

div.colbgleft {
	background-position: left bottom;
	background-image: url(../images/Peruselementit/viivat.png);
	background-repeat: no-repeat;
}

/*** LEFT NAVI  ***/

#leftnavi {
	width: 160px;
	padding-right:15px;
	float: left;
	font-family:georgia;
}

#leftnavi ul {
	margin: 0px 5px 0px 0px;
	padding: 0;
	list-style-type: none;
}

#leftnavi ul li {
	display: block;
	background-image: url(../images/Peruselementit/leftnaviborder.jpg);
	background-position: left bottom;
	background-repeat: repeat-x;
}
#leftnavi ul li.current a{
	color:#D4740A;
	/*font-weight:bold;*/
}
#leftnavi ul li.current ul li a{
	color:black;
}
#leftnavi ul li a {
	display: block;
	line-height: 20px;
	text-decoration: none;
	color: #000000;
	padding: 5px 0px 5px 10px;
	background-image: url(../images/Peruselementit/leftnavibullet.gif);
	background-position: left 11px;
	background-repeat: no-repeat;
	height:1%;
}

#leftnavi ul li a:hover {
	text-decoration: underline;
}

#leftnavi ul li a.current {
	font-weight: bold;
}
#leftnavi ul ul li {
	background:none;
}
#leftnavi ul li ul li a {
	padding-left: 20px;
	line-height:20px;
	font-size:80%;
	color:black;
	background-position: 10px 12px;
}

/*** FOOTER ***/

#footerwrapper {
	margin-top:22px;
	padding-top: 10px;
	background:url(../images/Peruselementit/footerspacer.jpg) repeat-x left top;
}

#footer {
	/*border-top: 1px solid #cccccc;*/
}

#footer div.content {
	padding: 5px 10px;
	text-align: center;
	color: #666666;
}
#footer div.content .footertext{
	float:left; 
	width:250px;
	text-align:left;
	color:black;
}
#footer div.content .footertext a{
	vertical-align:middle;
	display:block;
	float:left;
}
#footer div.content .footertext a.addthis{
	padding-left:3px;
}
#footer div.content .footerlinks{
	float:left; 
	width:460px;
	text-align:right;
}
#footer div.content .footerlinks a{
	padding-left:15px;
}
div.editmodeRightLifts 
{
	background-color:white;
	position:relative;
	width:200px;
}
input.meFormSubmit,
input.meFormReset{
	border:none;
	color:white;
	background-color:#BE5600;
	padding:1px;
	border:1px #833B00 solid;
}
div.lifttext_background{
	background:url(../images/Peruselementit/loota.jpg) top left no-repeat;
	background-color:#FBFBFB;
	border:1px #D8D8D8 solid;
	padding:14px;
}
div#rightlifts div.lifttext_background a,
div#rightlifts div.lifttext_background a .linkki,
div#rightlifts div.lifttext_background a .liitetiedosto{
	color:black;
	text-decoration:underline;
}
div#rightlifts div.lifttext_background a:hover,
div#rightlifts div.lifttext_background a:hover .linkki,
div#rightlifts div.lifttext_background a:hover .liitetiedosto{
	color:#333333;
	text-decoration:none;
}
.liitetiedosto{
	padding-left:20px;
	background:url(../images/Peruselementit/document_icon.gif) left top no-repeat;
	display:block;
}
.linkki{
	padding-left:15px;
	background:url(../images/Peruselementit/arrow.gif) 2px 6px no-repeat;
	display:block;
}
#sitemap ul li a{
	color:black;
	height:1%;
}
#sitemap ul ul li a, .sitemap ul ul ul li a{
	color:#CF5D00;
	height:1%;
}
#headertopactions div.rightcontent table td{
	padding:0;
}
#headertopactions div.rightcontent table.searchTable{
	width:200px;
	float:left;
}
#headertopactions div.rightcontent table.searchTable td{
	color:black;
}
#headertopactions div.rightcontent form.searchForm input.button{
	background-color:#E7EEE8;
	border:1px black solid;
}
.kuva_vasemmalla{
	float:left;
	margin-right:5px;
	margin-bottom:3px;
}
.kuva_oikealla{
	float:right;
	margin-left:5px;
	margin-bottom:3px;
}


.meEnrollmentForm .errorbox, .meFormErrorDialog
{ width:70%;
border: medium double #D1586B;
padding: 5px;
margin-top:10px;
}
.meEnrollmentForm .title, .meFormErrorTitle
{margin-bottom:5px;
margin-top:10px;
color: red;
font-weight:bold;
font-size:14px;
}
.meEnrollmentForm .content, .meFormErrorEntry
{
color: red;


}

table.publicmodetable, div .meEnrollmentForm
{
padding-top:10px;
}

div.rotatingimage{
	border:1px solid #C9C9C9;
	padding:1px;
	width:212px;
	margin-bottom:15px;
}
.Kuvateksti { font-family: Arial, sans-serif; font-weight: normal; font-size: 11px; color: #00639E; }
.KuvaReunat { border: 1px solid #000000; }
.KuvaOikealla { float: right; margin-left: 5px; border: 1px solid #000000; }
.KuvaVasemmalla { float: left; margin-right: 5px; border: 1px solid #000000; }