/* Start of CMSMS style sheet 'damico' */
@charset "utf-8";
/* CSS Document */
* {
margin:0;
padding:0;
}

body {
   font-family: Tahoma, Arial, Verdana, sans-serif;
   font-size: 82.0%;
   line-height: 1.3em;
   
}

img {
   border: 0;
}

.break {clear:both;}

div#author {
text-indent:-4000px;
}

/*
Linkit
*/

a,
a:link, 
a:active {
   text-decoration: underline;
    color: #4a73b2;
}

a:visited {
   text-decoration: underline;
   color: #4a73b2;
}


a:hover {
   text-decoration: underline;
   color: #555d63;
}

/*****************
Sivurakenne
*****************/

body {
   background: #97233f url(images/body_b.gif) top repeat-x;
   color: #333;   
}

div#header { 
width:970px;
height:118px;
margin: 0 auto;
}

	a#logo {
	display:block;
	float:left;
	}


	div#mainmenu {
	width:792px;
	float:left;
	}

div#isokuva {
width:970px;
height:223px;
margin: 0 auto;
}

div#container {
background: #f8f8f8 url(images/content_b.gif) bottom repeat-x;
width:100%;
float:left;
padding: 0 0 50px 0;
}

div#content {
width:970px;
margin: 0 auto;
}

div#contentb {
background: #ffffff url(images/containerb_b.gif) center repeat-y;
float:left;
padding: 30px 0 0 0;
}

div#leftbar {
width:205px;
float:left;
padding:0 0 140px 20px;

}

div#leipa {
width:450px;
float:left;
padding:0 30px;
}

body#muut div#leipa {
width:525px;
float:left;
padding:0 190px 0 30px;
}

div#rightbar {
float:right;
width:215px;
clear:right;
padding:0 20px 0 0;
}

div#footer {
   height:38px;  
   width:970px;
   margin:0 auto;
}


div#footer p {
text-align:center;
line-height:38px;
color:#ffffff;
font-size:90%;
margin:0;
}

div#footer p a{
color:#fff;
}


/********************
Muotoilut
*********************/

.ingressi {
color:#0b601f;
font-style:italic;
font-family:Georgia, "Times New Roman", Times, serif;
font-weight:bold;
margin:1em 0 1em 0;
}


/* OTSIKOT */

h1,h2,h3,h4,h5,h6 {
margin: 1.2em 0 0.5em 0;
}

h1 {
font-size: 1.7em; 
line-height: 1.3em;
margin:5px 0 8px 0;
color:#248ea6;
font-family:"Trebuchet MS",Tahoma, Arial, sans-serif;
font-weight:normal;
margin-top:0;
}

h2 {
font-size: 1.2em; 
line-height: 1.3em;
margin:1em 0 8px 0;
color:#9c2844;
font-family:"Trebuchet MS", Arial, sans-serif;
font-weight:normal;
}

div#rightbar  h2 {
margin:0;
font-size: 1.5em; 
color:#1c67a1;
}

h3 {
   color: #2e4144; 
   line-height: 1.3em;
   font-weight:normal;
   font-size:1em;
   font-weight:bold;
   padding-left:0.2em;
}

/* OTSIKOT LOPPU*/


/* TEKSTI*/
p {
   margin: 0 0 1em 0; 
}

pre {
   border: 1px solid #000;  
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;
}


/* TEKSTI LOPPUU*/

/* LISTAT */

div#leipa ul,
div#leipa ol {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#leipa ul li,
div#leipa ol li {
   margin: 0 0 0.25em 3em;
   color:#496367;
   font-weight:bold;
   font-size:92%;
}

ul li {
list-style-type: square;
   color:#496367;
   font-weight:bold;
   font-size:92%;
}


/* LISTAT LOPPUU */


/* MAINMENU */


#mainmenu ul {margin-left:70px;}

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

#mainmenu ul li {
float:left;
background: transparent url(images/mainmenu_li_b.gif) right center no-repeat;
height:116px;
padding: 0 1px 0 0 !important;
font-weight:normal;
font-size:1em;
}

#mainmenu ul li a {
color:#ffffff;
display:block;
padding:0 10px 0 10px;
text-decoration:none;
float:left;
height:116px;
line-height:116px;
font-size:1.1em;
letter-spacing:1px;
}

#mainmenu ul li a:hover {
background: transparent url(images/mainmenu_a_h.gif) center center repeat-x;
}

#mainmenu ul li h3 {
background: transparent url(images/mainmenu_a_h.gif) center center repeat-x;
line-height:116px;
font-weight:normal;
color:#ffffff;
padding:0 10px 0 10px;
font-size:1.1em;
letter-spacing:1px;
margin:0;
font-family:Tahoma, Arial, sans-serif;
width:auto;
}

#mainmenu ul li a.activeparent {
background: transparent url(images/mainmenu_a_h.gif) center center repeat-x;
height:116px;
line-height:116px;
color:#ffffff;
padding:0 8px 0 8px;
font-size:1.1em;
font-weight:normal;
margin:0;
}

/* SUBMENU */

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

#submenu ul li {
float:left;
list-style-type:none;
margin:0 !important;
padding:0 0 1px 0;
clear:both;
font-weight:normal;
}

#submenu ul li a {
display:block;
width:172px;
height:26px;
line-height:26px;
padding:0 0 0 10px;
float:left;
font-size:1em;
color:#1c4b9a;
text-decoration:none;
background: transparent url(images/submenu_a_b.gif) 0 0 no-repeat;
margin:0;
}

#submenu ul li a:hover {
color:#ffffff;
background: transparent url(images/submenu_a_h.gif) 0 0 no-repeat;
}

#submenu ul li h3, #submenu ul li a.activeparent {
background: transparent url(images/submenu_a_s.gif) bottom center no-repeat;
font-weight:normal;
color: #333333;
padding:0 0 0 10px;
font-size:1em;
font-weight:normal;
margin:0;
display:block;
width:172px;
height:26px;
line-height:26px;
}


/* LOMAKE */

#contact h2 {
font-size: 1.5em; 
padding:8px 0 0 0;
line-height: 1.3em;
margin-top:1.5em;
}

#contact  div {
padding:5px;
background: #f2f2f2 url(uploads/images/contact_b.gif) top repeat-x;
}

div.formbuilderform div {
float:left;
width:100%;
padding:0 0 8px 0;
}

div.formbuilderform label {
float:left;
display:block;
width:150px;
padding:0 0 8px 0;
font-family:"Trebuchet MS", sans-serif;
font-weight:bold;
}

div.formbuilderform input {
float:right;
width:350px;
font-family:"Trebuchet MS", sans-serif;
}

div.formbuilderform textarea {
float:right;
width:350px;
height:175px;
padding:0;
padding:0 0 8px 0;
font-family:"Trebuchet MS", sans-serif;
font-size:1em !important;
}

#fbsubmit3 {
padding:3px !important;
height:35px;
}


.pallot div {
width:170px !important;
float:right !important;
}


.pallot div input {
width: auto !important;
float:left !important;
padding:0;
margin:0;
display:block;
clear:none;
}


.pallot div label {
width: 150px !important;
font-weight:normal;
padding:0;
margin:-15px 0 0 0;
float:right !important;
display:block;
}


.fb_invalid {
width:350px;
float:right;
color:red;
}



#leipa div.kaverille {
display:none;
}


div.kaverille div {
float:left;
width:100%;
margin:0;
padding:0 0 3px 0 !important;
}

div.kaverille label {
float:left;
display:block;
width:150px;
padding:0 0 2px;
font-family:"Trebuchet MS", sans-serif;
margin:0;
}

div.kaverille input {
float:right;
width:150px;
height:15px;
padding:0;
padding:0;
font-family:"Trebuchet MS", sans-serif;
}

div.kaverille textarea {
float:right;
width:150px;
height:55px;
padding:0;
padding:0 0 8px;
font-family:"Trebuchet MS", sans-serif;
font-size:1em !important;
}

#fbsubmit4 {
padding:3px !important;
height:25px;
margin-top:3px;
}

.fb_invalid {
width:350px;
float:right;
color:red;
}


/* Uutiset */

.pagenumber {
font-size:0.9em;
}
.NewsSummary {
border-bottom:2px dotted #a7c5cb;
margin:0 0 2px 0;
padding:6px 0 12px 0;
float:left;
width:100%;
}
#NewsPostDetailDate, .NewsSummaryPostdate {
margin-bottom:0.1em;
font-style:italic;
color:#808080;}
.NewsSummaryLink {margin-bottom:0.3em;}

#rightbar .NewsSummaryLink a, #leipa h3#NewsPostDetailTitle {
margin-bottom:0.3em;
font-size:1.2em;
text-decoration:none;
color:#97233f;
font-family:Tahoma, Arial, sans-serif;
font-weight:normal;
margin-top:0;
}
#rightbar .NewsSummaryLink a:hover {
color:#1a6878;
}

.NewsSummaryCategory, .NewsSummaryAuthor, #NewsPostDetailAuthor, #NewsPostDetailCategory, #NewsPostDetailPrintLink {
display:none;
}

#rightcolumn .NewsSummaryLink a {font-size:1em;text-decoration:underline;background:none;padding:0;}

.NewsSummarySummary, #rightbar .NewsSummaryContent {
margin-bottom:0.3em;
color:#404040;
font-size:92%;
font-weight:bold;
}
.NewsSummaryMorelink {
float:right;
margin-right:3em
;}
#NewsPostDetailReturnLink {
margin:1em 0 0 0 ;
}

#NewsPostDetailContent {
margin:0.5em 0 0 0;
line-height:1.4em;
}
#NewsPostDetailSummary {
margin: 0;
font-size:1em;
color:#404040
}

hr#NewsPostDetailHorizRule {
display:block;
border:0;
}


/* End of 'damico' */

