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

a img {
	border:0;
	}

/* Rakenne */

body#home {
	background: #151515 url(images/body_home_back.jpg) center 0 no-repeat;
	}
	
body {
	background: #151515 url(images/body_back.jpg) center 0 no-repeat;
	}

div#topbar {
	background: transparent url(images/topbar_back.png) center top repeat-x;
	width:100%;
	min-height:80px;
	overflow:visible;
}
	
	div#header {
	width:988px;
	margin:0 auto;
	}
	
		img#logo {
		float:left;
		width:130px;
		height:66px;
		margin:43px 0 0 25px;
		}
		
		#mainmenu {
		float:left;
		width:760px;
		height:63px;
		display:inline;
		margin:0 0 0 65px;
		}
			

div#container {
	width:988px;
	margin:0 auto;
	}
		

body#home div#footer {
	background: transparent url(images/home_footer_back.png) top center no-repeat;
	width:100%;
	height:60px;
	float:left;
}

div#footer {
	width:780px;
	float:right;
	margin:0 20px 0 0;+
}


	body#home div#footer p {
	color:#717171;
	text-align:center;
	font-size:0.9em;padding: 0 0 10px 0;
	margin:45px 0 0 0; 
	font-family:"Trebuchet MS", arial, sans-serif;
	}
	
	div#footer p {
	color:#717171;
	text-align:center;
	font-size:0.9em;
	margin:0 0 10px 0; 
	font-family: arial, sans-serif;
	}
	
	

div#maincontent-top {
	width:988px;
	float:right;
	background: transparent url(images/white_content_top.png) right top no-repeat;
	padding:21px 0 0 0;position:relative;top:-21px
	}
	
	div#maincontent-bottom {
	width:100%;
	float:left;
	background: transparent url(images/white_content_bottom.png) right bottom no-repeat;
	padding:0 0 35px 0;
	}
	
	div#maincontent {
	width:100%;
	float:left;
	background: transparent url(images/white_content_center.png) right repeat-y;
	padding:21px 0 0 0;
	}
	
	
	div#leipa {
	float:right;
	width:710px;
	display:inline;
	margin: 0 49px 0 0;
	min-height:400px;
	height:auto !important;
	height:400px;
	}

       div#leipis {
       float:left;    
       width:600px;
}
       body#levea div#leipis  {
       float:left;    
       width:100%;
}

        body#kaksi-palstaa  div#leipis {
       float:left;    
       width:415px;
}


       div#alapalkki {
       background: transparent url(images/alapalkki_b.gif) top repeat-x;
       width:100%;
       padding:30px 0 0 0;float:left;
        }


/* Etusivu */

div#home-maintext {
	float:left;
       clear:both;
	width:400px;
        height:160px;
	display:inline;
	margin: 45px 0 0 45px;
}

h1#text-potkua-bisnekseen {
	display:block;
	width:383px;
	height:57px;
	text-indent:-5000px;
	background: transparent url(images/text/potkuva-bisnekseen.png) 0 0 no-repeat;
        margin:0;
}
	
div#home-maintext p {
	padding:0 0 0 45px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:1.15em;
	line-height:1.3em;
	margin:-10px 0 0 0;
}	

div.home-block {
	float:left;
	width:255px;
        min-height:150px;
        heigth:150px;
        height:auto !important;
	display:inline;
	margin:60px 20px 0 40px;
	}

	div.home-block h2 {
	color:#FFF;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	font-size:1.5em;
	font-weight:normal;
	margin:18px 0 15px 0;
	}

	div.home-block p {
	color:#e8e8e8;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	line-height:1.4em;
	}
	
	div.home-block a {
	background: transparent url(images/home-link.png) 0 0 no-repeat;
	display:block;
	width:217px;
	height:27px;
	line-height:27px;
	padding:0 0 0 40px;
	color:#d87b17;
	text-decoration:none;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	}
	
	div.home-block a:hover {
	background: transparent url(images/home-link-h.png) 0 0 no-repeat;
	color:#FFF
	}


/* Sivupalkki */

div#rightbar {
float:right;
width:258px;
min-height:250px;
height:250px;
height:auto !important;
padding:0 0 10px 0 ;
border: 1px solid #dfdfdf;
background: transparent url(images/sivupalkki_b.png) left bottom no-repeat;
margin: 80px 0 10px 0;
}

div#rightbar p {
margin:10px;
}

/* Rakenne loppuu */

/* Ingressi */

p.ingressi {
font-family:Georgia, serif;
font-size:1.2em;
font-style:italic;
color:#606060;
line-height:1.3em;
padding:0 0 0 0;
}
p.ingressi img {
margin: 5px 12px 0 0;
}




/* Muotoilut */



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

body {
	font-family: Arial, "Trebuchet MS", sans-serif;
	font-size:80%;
	line-height:1.4em;color:#1f1f1f;
	}

p {
	margin:0 0 0.6em 0;
}


/* Taulukot */

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

td {
padding: 0 20px 0 0}
	


/* Työt */


/* Työt loppuu */


/* Breadcrumbs */


div#breadcrumbs {
     height:22px;
     float:left;
     margin: 7px 0 0 70px;
     font-size:0.85em;color:#5e4020;
}

div#breadcrumbs a {
     line-height:22px;
    height:22px;;color:#ffe8cf;text-decoration:underline;
}

 div#breadcrumbs span.lastitem {
     line-height:22px;
    height:22px;;color:#5e4020;
}

div#breadcrumbss {
     height:22px;
     float:left;
     margin: 0 0 0 50px;
     border-top:1px solid #e7e7e7
     padding: 0 0 0 10px;
     font-size:9px;
     width:700px;
}

div#breadcrumbss a, div#breadcrumbss span.lastitem,  div#breadcrumbs img {
     line-height:22px;
     padding: 0 0 0 5px;
    background: transparent url(images/breadcrumb_b.png) 0 repeat-x;
    height:22px;
    display:block;
    float:left;
}

/* Muotoilut loppuu */

/* Listat */

#maincontent ul li  {
margin: 0 0 5px 0;
}

#maincontent ol li {
margin: 0 0 10px 0;
}


/* Listat loppuu */

/* Otsikot */

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

h1 {
	font-family:Georgia, "Times New Roman", Times, serif;
	color:#333333;
	font-style:italic;
	font-size:2.7em;line-height:1.2em;
	margin:20px 0 0.4em 0;
	}

h2 {
	color:#424242;
	font-size:1.5em;
	margin:1.2em 0 0.4em 0;
       font-weight:normal;
	}
	
h3 {
	color:#000;
	font-size:1.1em;
	margin:1em 0 0.4em 0;
        line-height:1.3em;font-weight:bold;
	}

        div#rightbar h3 {
	color:#0076ae;
	font-size:1.2em;
	margin:0 0 0.1em 0;
        line-height:41px;font-weight:bold;
        background: transparent url(images/sivupalkki_h3_b.png) right 0 no-repeat;
        padding: 0 0 0 10px;font-family:Georgia;font-weight:normal;
	}

	

/* Otsikot loppuu */

/* Linkit */

a {
	color:#0076ae;text-decoration:none;
	}
	
div#leipa a {
	text-decoration:underline;
}
	

a:hover, div#maincontent a:hover {
	text-decoration:underline;
         color:#0093d8;
	}
	

a.isolinkki {
      display:block;
      color:#0076ae;
      line-height:23px;
      background: transparent url(images/iso-linkki.gif) left center no-repeat;
      padding: 0 0 0 30px;margin:0 0 10px 0;
      font-size:1.3em;
      font-weight:normal !important;text-decoration:none !important;
}

a.isolinkki:hover {
      text-decoration:underline !important;
      background: transparent url(images/iso-linkki-h.gif) left center 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 {margin:0;padding:0;} 

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

#mainmenu ul li {
float:left;
height:63px;
line-height:63px;
padding:0;
margin:0;
display:block;
}


#mainmenu ul li a {
float:left;
height:61px;
line-height:63px;
background: transparent url(images/mainmenu_a.png) 0 0 repeat-x;
padding:0 14px 0 14px;
color:#fff;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:1.3em;
border-left:1px solid #040404;
border-right:1px solid #292929;
}

#mainmenu ul li a:hover, #mainmenu ul li a.menuactive:hover {
color:#e57000;
background: transparent url(images/mainmenu_active.png) 0 0 repeat-x;
text-decoration:none;
}


	/* mainmenu current page */


#mainmenu ul li.currentpage span, 
#mainmenu ul li a.menuactive {
float:left;
height:63px;
display:block;
line-height:63px;
background: transparent url(images/mainmenu_li_selected.png) top repeat-x;
padding:0 15px 0 15px;
color:#ffd7ac;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:1.3em;
font-style:italic;
border:0 !important;
}




/* MainMenu loppuu */



/* SubMenu */

div#submenu {
	float:left;
       margin:0 0 0 50px;
       overflow:visible;
       width:700px;
	}

#submenu ul {
	padding:0 0 0 0;
	margin:0;
	width:740px;
	float:left;
	display:inline;
	background: transparent url(images/submenu_b.jpg) 0 0 no-repeat;
	} 


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

#submenu ul li {
float:left;
height:25px;
background: transparent url(images/submenu_a_b.png) right 8px no-repeat;
padding:0 2px 0 0;
margin:0;
display:block;
}

#submenu ul li a {
float:left;
display:block;
padding:10px 12px 0 10px;
font-size:1em;
color:#2f2f2f;
}


#submenu ul li a:hover {
color:#fff;
text-decoration:underline;
}


/* current page */


#submenu ul li.currentpage span {
float:left;
display:block; 
padding:10px 12px 0 10px;
background: transparent url(images/submenu_selected.png) center bottom no-repeat;
height:27px;
color:#f3eae0;
}



/* SubMenu loppuu */


/* SubSub menu */


div#subsubmenu {
	float:left;display:inline;
     width:191px;margin:30px 0 0 0;
	}

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


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

#subsubmenu ul li {
float:left;
height:48px;
line-height:48px;
padding:0 2px 0 0;
margin:0;
display:block;
margin:0 0 1px 0;  width:191px;
}

#subsubmenu ul li a {
float:left;
display:block;
padding:0;
font-size:1em;
color:#414141;
padding:0 0 0 20px;
height:48px;
line-height:48px;
background: transparent url(images/subsub.png) 0 0 no-repeat;
width:191px;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-style:italic;
}


#subsubmenu ul li a:hover {
color:#e57600;
background: transparent url(images/subsub_h.png) 0 0 no-repeat;
}


/* current page */


#subsubmenu ul li.currentpage span, 
#subsubmenu ul li.menuparent a {
float:left;
display:block;
padding:0 0 0 20px;
height:48px;
line-height:48px;
color:#e57600;  
width:171px;
background: transparent url(images/subsub_active.png) 0 0 no-repeat;
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  font-style:italic;
}



/* SubSubMenu loppuu */


/* LOMAKE */


div.lomake {
float:left;
}

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

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

div.lomake input {
display:block;
float:left;
width:300px;
height:23px;
color:#404040;
border:0;
background: #ececec;
font-size:1.1em;
line-height:23px;
padding:3px;
border:1px solid #cfcdcd;
}

div.lomake div.valintalaatikko {
padding-bottom:10px;
margin-bottom:20px;
border-bottom: 1px dotted grey;
}

div.lomake div.valintalaatikko div {
margin;5px 0;
width:215px;
padding:0 0 8px 0;
}

div.lomake div.valintalaatikko label {
float:none;
width:100%;
margin:0 0 15px 0;
font-weight:bold;
}

div.lomake div.valintalaatikko div label {
float:left;
margin:0;
width:auto;
font-weight:normal;
}

div.lomake div.valintalaatikko input {
background:none;
width:auto;
float:left;
height:auto;
padding:0;
}


div.lomake textarea {
display:block;
float:left;
width:300px !important;
height:110px;
border:0;
background: #ececec;
font-family:Verdana, Helvetica, sans-serif;
font-size:1em;
padding:3px;
border:1px solid #cfcdcd;
}

div.lomake div.submit input {
display:block;
float:left;
height:40px;
width:300px;
color:#525252;
border:0;
cursor:hand;
cursor:pointer;
background: transparent url(images/iso-linkki.gif) left 8px no-repeat;
font-size:1.7em;
line-height:40px;
font-family:"Trebuchet MS", sans-serif;
padding:0 0 0 30px;
margin:10px 0 0 200px ;
font-style:italic;
text-align:left;
}

div.lomake div.submit input:hover {
background: transparent url(images/iso-linkki-h.gif) left center no-repeat;
color:#e58b2d;
}


/* NEWS uutiset */

#NewsPostDetailHorizRule {
display:none;
}

.NewsSummary {
    padding: 25px 0 0 0; 
    margin: 0 0 20px 0; 
    background: transparent url(images/alapalkki_b.gif) top repeat-x;
}

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

body#perussivu .NewsSummary  {
	float:left;
border-bottom:1px solid #FFA04B;
padding:20px 0 15px 0;
width:100%;
}

.NewsSummaryPostdate {
  font-size: 75%;
  color: #000;
 }
 
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:#005078 !important;
	line-height:1.2em;
    font-size:1em;
      font-weight:normal;text-decoration:none !important;
}

.NewsSummaryLink a {
    margin-bottom: 0.5em;
	border:0 !important;
	color:#005078 !important;
     line-height:1.2em;
    font-size:1.4em;font-weight:normal;
    
}



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



.NewsSummarySummary, .NewsSummaryContent {
  line-height: 145%;
  font-size:1.2em;
  font-family:Georgia,"Trebuchet MS", sans-serif;
  font-style:italic;
 }


.NewsSummaryMorelink {
  padding-top: 0.5em;
}

body#perussivu .NewsSummaryMorelink {
  padding-top: 0.5em;display:block;float:left;
}

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

#NewsPostDetailSummary {
   line-height: 150%;
   font-style:italic;
   }

#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;
}

/* Referenssialbumi */

div.bigpicturecaption {
height:22px;
background:#fff;
width:auto;
margin:0 0 0 10px;
}

div.bigpicturecaption h3 {
font-size:1.1em;
color:#4c4c4c;
float:left;
height:22px;
margin:0 10px 0 0 ;
}

div.bigpicturecaption h3 span {
float:left;
display:block;
height:22px;
padding:0 0 0 5px;
}

.isokuva {
float:left;
width:710px;
height:255px;
background: transparent url(images/refakuva_levea_tausta.jpg) 0 0 no-repeat;
clear:both;
}

div.isokuva span {
width:694px;
height:238px;
float:left;
display:inline;
padding:0;
margin:0;
overflow:hidden;
display:block;
margin: 8px 0 0 8px;
}

div.isokuva img {
margin: 8px 0 0 8px;
float:left;
}

div.isokuva span img {
margin: 0;
}
.picturelist {float:left;margin:0;padding:0;}

.picturelist li.thumb {
list-style-type:none;
float:left;
display:
block;
margin:0;
padding:0;
}

.picturelist li.thumb a {
float:left;
display:block;
width:110px;
height:44px;
background: #fff url(images/refakuva_thumb_b.gif) 0 0 no-repeat;
}

.picturelist li.thumb a:hover {
background: #d87b20 url(images/refakuva_thumb_b.gif) 0 0 no-repeat;
}

.picturelist li.thumb span {
width:94px;
height:30px;
overflow:hidden;
float:left;
display:inline;
padding:0;
margin:0;
overflow:hidden;
display:block;
margin: 7px 0 0 8px;
}




/* End of 'wds' */

