/* Start of CMSMS style sheet 'ymon' */
html, body {
	margin:0;
	padding:0;
	}

a img {
	border:0;
	}

/* Rakenne */

	
body {
	background: #4c4c4c;
	}


div#container-top {
	width:100%;
	min-height:80px;
        height:80px;
        height: auto !important;
	float:left;
	background: #fff url(images/top_back.gif) 0 0 repeat-x;
	}

div#container {
	width:990px;
	min-height:460px;
        height:460px;
        height: auto !important;
	margin:0 auto;
	background:url(images/header_b.gif) 0 0 no-repeat;
}



	body#home div#container {
	background:url(images/home_main_back.gif) 0 0 no-repeat;
	min-height:641px;
        height:641px;height: auto !important;
}

div#header {
width:986px;
float:left;
	}


	
	
		#logo {
		float:left;
		display:inline;
		margin:29px 0 0 29px;
		background: transparent url(uploads/images/logo.gif) 0 0 no-repeat;
		width:139px;
		height:71px;
		}
		
		a#logo:hover {
		float:left;
		display:inline;
		margin:29px 0 0 29px;
		background: transparent url(uploads/images/logo_hover.gif) 0 0 no-repeat;
		width:139px;
		height:71px;
		}
		
		#logo img {display:none;}
		
		#english {
			float:right;
			display:inline;
			margin:5px 18px 0 0;
			background: transparent url(images/grey_b.gif) 0 -10px repeat-x;
			padding: 2px 7px;
			height:20px;width:150px
			}
		
		#ylateksti {
			float:left;
			width:361px;
			height:20px;
			display:inline;
			margin:20px 0 0 100px ;
		}

                #ylateksti span {
			font-family:arial,"Trebuchet MS", sans-serif;font-size:1.6em;font-style:italic;color:#515151;
		}
		

                 * html #ylateksti { margin: 0px 0 0 55px}
		

		#blog {
		float:right;
		width:265px;
		height:78px;
		padding:10px 20px 0 0; display:inline;
		}
		
		#mainmenu {
		float:right;
		height:37px;
		display:inline;
		margin:0 0 0 0;
		padding:0;
		max-width:800px;
                width:800px;
                width:auto !important;
                min-width:600px;
		}
		

		div#etusivukuva {
			float:left;
			width:656px;
			height:281px;
			margin:7px 0 0 6px;display:inline;
		}
		
		div#kuva {
			float:left;
			width:679px;
			overflow:hidden;
			margin:5px 0 0 6px;display:inline;
		}

                * html div#kuva { margin: 2px 0 0 6px;}		

		div#submenu {
			float:right;
			width:295px;
			display:inline;
			margin:30px 6px 0 0;
		}
		
		div#news {
			float:right;
			width:318px;
			height:232px;
			margin:22px 0 0 0;
			overflow:hidden;display:inline;
		}
		
		div#uutisarkisto {
			float:right;
			margin:5px 30px 0 0;display:inline;
		}

body#home div#main {
	background:none !important;
	height:auto;
	margin-bottom:-20px;
	position:relative;
}

div#main {
	float:left;
	width:990px;
	background: transparent url(images/main_b.gif) repeat-y;
}

div#main-top {
	background: transparent url(images/header_b.gif) left -125px no-repeat;
	float:left;
	width:100%;
}

div#main-bottom {
	background: transparent url(images/main_bottom.gif) left bottom no-repeat;
	float:left;
	width:100%;
    min-height:395px;
	height:95px;
	height:auto !important;
}

div#leipa {
	float:left;
	width:575px;
	display:inline;
	margin:0 0 0 50px;
        min-height:200px;
        height:200px;
        height:auto !important;
}

body#blanko div#leipa {
margin:50px 0 0 50px;}

div#rightbar {
	float:right;
	display:inline;
	width:245px;
	margin:0 35px 0 0;
}


/* Etusivun boxi */

.box {
	float:left;
	width:312px;
	background: transparent url(images/box_back.gif) 0 67px no-repeat;
	margin:8px 0 0 14px;display:inline;
	color:#575757;
}

	#grey .box-top {
		background: transparent url(images/box_header_grey.gif) 0 0 no-repeat;
		float:left;width:100%;
	}
	
	#orange .box-top {
		background: transparent url(images/box_header_orange.gif) 0 0 no-repeat;
		float:left;width:100%;
	}
	
	
	#light-grey .box-top {
		background: transparent url(images/box_header_light-grey.gif) 0 0 no-repeat;
		float:left;width:100%;
	}
	
	
	.box-bottom {
	float:left;
	background: transparent url(images/box_bottom.gif) left bottom no-repeat;
	min-height:250px;
        height:250px;height:auto !important;
	padding:15px 20px;width:272px;
	}

.box a {
	
}

/* boxit loppuu */

/* alapalkki */

div#bottom {
	width:100%;
	background: transparent url(images/body_b.gif) 0 0 repeat-x;
	float:left;
	padding:0 0 8px 0;
}

div#footer {
	background: transparent url(images/footer_b.gif) 0 0 no-repeat;
	width:930px;
	height:75px;
	margin: 0 auto;
	padding:75px 0 0 60px;
	color:#7d7d7d;
	font-size:0.9em;
}

div#footer a {
	color:#7d7d7d;
	text-decoration:underline;
}

div#footer a:hover {
	color:#fff;text-align:left !important;
}

div.column li a {
	text-decoration:none !important;
}

div.column {
	float:left;
	background: transparent url(images/footer_delimiter.png) right top no-repeat;
	min-height:40px;
	min-width:50px;
	padding: 0 15px;
}

div.author {
float:right;
font-size:0.8em;
text-decoration:none;
display:inline;
margin:0 50px 0 0;
}

div#footer  div.author a {text-decoration:none;color:#3a3a3a}


* html div.column {
	background: none;
}

div.column ul {
	float:left;
	display:block;
	margin:0;
	padding:0;
	clear:none;
}


div.column ul li {
	float:left;
	display:block;
	list-style-type:none;
	font-size:0.95em;
	margin:0 10px 0 0;
	padding:0;
}

 div.column ul li span {
	clear:both;
	display:block;
	float:left;
}


div.column ul li ul {
	float:left;
	display:block;
	list-style-type:none;
	margin:0 0 0 3px;
	padding:0;
	clear:both;width:100px
}

div.column ul li ul li {
	float:left;
	clear:both;	
	margin:0;line-height:1.15em;margin:0 0 4px 0;
}



/* Rakenne loppuu */


/* Muotoilut */



.clear {
	clear:both;width:0;height:0;
}

body {
	font-family: Arial, sans-serif;
	font-size:78%;
	line-height:1.5em;
}

p {
	margin:0 0 0.6em 0;
}


/* Taulukot */

table, tr, td {
	vertical-align:top;margin:0;
	}

td {
padding:4px 8px 4px 0;
border:0
}

tr.alaviiva {
	background: transparent url(images/blog_header_b.gif) bottom repeat-x;
}

table {
border:0
}
	

.noborder {border:0 !important}


/* Breadcrumbs */


/* Muotoilut loppuu */

/* Listat */

#leipa ul, #leipa ol, #rightbar ul, #rightbar o {
	margin: 12px 0 12px 0;
	padding:0 0 0 12px;
}

#leipa ul li, #leipa ol li, #rightbar ul li, #rightbar ol li  {
margin: 0 0 6px 0;
padding:0 0 0 15px;
list-style-type:none;
line-height:1.3em;
background: transparent url(images/li_b.gif) left 3px no-repeat;
}



/* Listat loppuu */

/* Otsikot */

h1, h2, h3 {
	line-height:1.4em;
	}

h1 {
	color:#d26414;
	font-size:2.5em;
	line-height:1.2em;
	margin:0 0 0.4em 0;
	font-weight:normal;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif
	}
	

h2  {
	color:#547493;
	font-size:1.4em;
	margin:1.2em 0 0.4em 0;
       font-weight:normal;
	}

h3#NewsPostDetailTitle  {
	color:#547493;
	font-size:1.4em;
	margin:0.5em 0 0.4em 0;
    font-weight:normal;
	}

	
	div#news h2 {
	background: transparent url(images/news_header_back.gif) 0 0 repeat-x;
	height:42px;
	display:block;
	line-height:42px;
	margin:0 0 8px 0;
	padding:0 0 0 15px;
	color:#FFF;
	}
	
	div.box h2 {
		margin:0;
		padding: 17px 0 20px 0 ;display:block;
		color:#FFF;
	}
	
h3 {
	color:#000000;
	font-size:1.15em;
	margin:1.3em 0 0.4em 0;
        line-height:1.3em;font-weight:bold;
	}
	
	div#blog h3 {
	background: transparent url(images/blog_header_b.gif) bottom repeat-x;
	font-weight:normal;
	color:#767676;
	line-height:1.5em;
	}

    
	

/* Otsikot loppuu */

/* Linkit */

a {
	color:#0076ae;;
	}

a:hover  {
	text-decoration:underline;
	color:#2492c0;
	}
	
a.nuoli {
	background: transparent url(images/arrow.png) left top no-repeat;
	padding:0 0 0 25px;
	color:#819ab3;
	text-decoration:none;
	font-weight:bold;
}

* html a.nuoli {
        background: transparent url(images/arrow.gif) left top no-repeat;
}

a.nuoli:hover {
	background: transparent url(images/arrow_orange.png) left top no-repeat;
	color:#d26414;
}

* html a.nuoli:hover {
        background: transparent url(images/arrow.gif) left 2px no-repeat;
}

#alapalkki a {
background: transparent url(images/a-lisaa.png) 0 0 no-repeat;
line-height:23px;
padding: 0 0 0 30px;
color:#fff;
display:block;
height:23px;
width:169px;
float:left;
text-decoration:none !important;
}

#alapalkki a:hover {
background: transparent url(images/a-lisaa-h.png) 0 0 no-repeat;
}


/* Linkit loppuu */


/* MainMenu */


#mainmenu ul {padding:0;margin:0;} 

* html #mainmenu ul {width:800px;}

#mainmenu ul, #mainmenu li {list-style-type:none;}
dfn {display:none}

#mainmenu ul li, #mainmenu ul li.parent {
float:left;
height:37px;
padding:0;
margin:0;
display:block;
background: transparent url(images/mainmenu_li_b.gif) right top no-repeat;
width:auto;
padding:0 2px 0 0;
font-size:10px;
}


#mainmenu ul li a, #mainmenu ul li a.parent {
float:left;
height:inherit;
line-height:40px;
padding:0 14px 0 14px;
color:#fae8dc;
font-size:11px;
text-decoration:none;
background: transparent url(images/mainmenu_b.gif) 0 0 no-repeat;
margin:0;font-family:"Trebuchet MS", sans-serif;letter-spacing:1px;

}

/* IE 7 hack */

>body #mainmenu ul li a, >body #mainmenu ul li a.parent {
font-size:1.2em;
}

/* -- */

#mainmenu ul li a:hover, #mainmenu ul li a.menuactive:hover {
background: transparent url(images/mainmenu_b_h.gif) 0 0 no-repeat;
color:#fff;
}


	/* mainmenu current page */

#mainmenu ul li.currentpage {
background: transparent url(images/mainmenu_current_li_b.gif) right top no-repeat;
}


#mainmenu ul li.currentpage h3, 
#mainmenu ul li a.menuactive {
float:left;
height:inherit;
line-height:40px;
padding:0 14px 0 14px;
color:#9f9f9f;
font-size:1.1em;
text-decoration:none;
background: transparent url(images/mainmenu_current.gif) 0 0 no-repeat;
margin:0;
font-weight:normal !important;
}

#mainmenu ul li.currentpage h3 span, 
#mainmenu ul li a.menuactive span {

}




/* MainMenu loppuu */



/* SubMenu */

#submenu ul {
	padding:0;
	margin:0;
	float:left;
	display:inline;
	width:100%;
	} 


#submenu ul, #submenu li {list-style-type:none;}
dfn {display:none}

#submenu ul li {
float:left;
line-height:31px;
padding:0;
margin:0;
width:100%;
}

#submenu ul li a {
float:left;
display:block;
padding:0 0 0 30px;
font-size:1em;
line-height:31px;
color:#3c4246;
width:265px;
background: transparent url(images/submenu_b.gif) 0 0;
text-decoration:none;
}


#submenu ul li a:hover {
color:#fff;
text-decoration:none;
text-align:left;
background: transparent url(images/submenu_h.gif) 0 0;
}


/* current page */


#submenu ul li.currentpage h3, #submenu ul li a.menuactive {
float:left;
display:block;
padding:0 0 0 13px;
font-size:1em;
line-height:31px;
color:#fff;
background: transparent url(images/submenu_active.gif) 0 0;
text-decoration:none;
width:282px;
margin:0;
}

#submenu ul li a.menuparent:hover {
color:#fff;
text-decoration:none;
text-align:left;
background: #cf5a04 none;
}

/* Subsub */

#submenu ul li ul li a {
float:left;
display:block;
padding:0 0 0 30px;
font-size:1em;
line-height:20px;
color:#3c4246;
width:265px;
background: #c2c2c2 none;
text-decoration:none;
}

#submenu ul li ul li a:hover {
background: #cf5a04 none;
}


/* Subsub current */

#submenu ul li ul li.currentpage h3, #submenu ul li ul li a.menuactive {
float:left;
display:block;
padding:0 0 0 30px;
font-size:1em;
line-height:20px;
color:#000;
background: transparent url(images/submenu_active.gif) 0 center;
text-decoration:none;
width:265px;
margin:0;
}



/* SubMenu loppuu */




/* LOMAKE */


div.lomake {
float:left;
width:100%;
}

div.lomake div {
float:left;
margin: 0 0 5px 0;
width:auto;
}

div.lomake label {
width:190px;
display:block;
float:left;
color:#666;
padding-right:8px;
}

div.required label {
	font-weight:bold;
}


div.fleft {
	float:left;
	clear:left;
	width:244px !important;
}

div.fright {
	float:right !important;
	width:287px !important;
	clear:right;
}

div.lomake input {
display:block;
float:left;
width:238px;
height:18px;
color:#404040;
border:0;
background: transparent url(images/input_b.gif) 0 0 no-repeat;
font-size:1em;
line-height:23px;
padding:3px;
border:0;
font-family:Arial, Helvetica, sans-serif;
}

div.checkbox {
margin:0 0 0 45px !important;
display:inline;
}

div.lomake div.checkbox input {
float:left;
width:auto;
height:auto;
background: none;
border:auto;
padding:0;
margin:4px 8px 0 0;
}



div.lomake textarea {
display:block;
float:left;
width:281px !important;
height:117px;
border:0;
background: #ececec url(images/textarea_b.gif) 0 0 no-repeat;
font-size:1em;
padding:3px;
border:0;
color:#404040;
font-family:Arial, Helvetica, sans-serif;
}

div.lomake div.submit {
	margin:10px  0 0 0;width:287px !important;float:right;}

div.lomake div.submit input {
display:block;
float:left;
height:35px;
width:287px;
color:#fff;
border:0;
cursor:hand;
cursor:pointer;
background: transparent url(images/submit_b.gif) 0 0 no-repeat;
font-size:1.1em;
line-height:35px !important;
font-family: Arial, Helvetica, sans-serif;
padding:0;
text-align:center;
}

div.lomake div.submit input:hover {
background: transparent url(images/submit_b_h.gif) 0 0 no-repeat;
}


/* NEWS uutiset */

#NewsPostDetailHorizRule {
display:none;
}

.NewsSummary {
    padding: 0 0 0 0; 
    margin: 0 0 20px 0; 
}

body#home .NewsSummary  {
border:0 !important;
margin:0 0 0 15px;}


.NewsSummaryPostdate {
  font-size: 85%;
  color: #7f7f7f;
 }
 
body#perussivu .NewsSummaryPostdate {
  font-size: 75%;
  color: #000;
  float:left;
  clear:both;
 }
.NewsSummaryLink {
	margin:0 0 4px 0;
	}
	
.NewsSummaryLink a {
    margin-bottom: 0.5em;
	border:0 !important;
	color:#d3761d !important;
    font-size:1.1em;
	line-height:1.35em;
    font-weight:normal;text-decoration:none !important;
}

.NewsSummaryLink a:hover, .NewsSummaryMorelink a:hover {
	text-decoration:underline !important;
}


.NewsSummarySummary, .NewsSummaryContent {
  line-height: 145%;
  font-size:1em;
 }

.NewsSummaryMorelink  {
   margin: 8px 0  0.5em 0;
}

.NewsSummaryMorelink a {
	border:0 !important;
	font-family:"Trebuchet MS", sans-serif;
    font-weight:normal;
	text-decoration:none !important;
}



#NewsPostDetailDate {
  font-size: 90%;
  margin:5px 0 5px 0;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   font-style:italic;
   margin: 0 0 8px 0;
   }

#NewsPostDetailCategory {
  font-style: italic;
  margin-top: 0.5em;
  padding: 0.2em 0;
display:none;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {
  padding-bottom: 1.5em;
  font-style: italic;
display:none;
}

#NewsPostDetailReturnLink {
  margin:15px 0 0 0;
}

#NewsPostDetailPrintLink {
float:right;
}

/* End of 'ymon' */

