/* A CSS Framework by Mike Stenhouse of Content with Style, adapted to CMSMS by Daniel Westergren */

/* clearing */
	.stretch,
	.clear {
		clear:both; 
		height:1px; 
		margin:0; 
		padding:0; 
		font-size: 15px;
		line-height: 1px;
	}
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */


/* replace */
	.replace {
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	/* tidy these up */
	.replace * {
		text-indent: -10000px;
		display:block;
		
		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	.replace a {
		text-indent:0;
	}
	.replace a span {
		text-indent:-10000px;
	}
/* end replace */


/* accessibility */
     span.accesskey {
     	text-decoration:none;
     }
     .accessibility {
     	position: absolute;
     	top: -999em;
     	left: -999em;
     }
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}
/* end accessibility */
/* End of 'andreas01 : Tools' */


/* Start of CMSMS style sheet 'andreas01_pv_screen' */
/* andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas

Version: 1.0
(July 25, 2005)

Screen layout: */

/*
This layout depends on modified news summary template

<!-- Start News Display Template -->
{foreach from=$items item=entry}

<h3>
	{$entry->titlelink}
</h3>

<p>
{$entry->category}
{if $entry->author}
	by {$entry->author}
{/if}

{if $entry->formatpostdate}
<strong>
		{$entry->formatpostdate}
</strong><br />
{/if}


{if $entry->summary}
 {eval var=$entry->summary}
</p>
  <p class="textright">[{$entry->morelink}]</p>

{else if $entry->content}
		{eval var=$entry->content}
</p>
{/if}

{/foreach}
<!-- End News Display Template -->

Copy paste this template to your news summary template and delete from here
*/

body {
margin: 0 auto;
padding: 0;
font: 76% Verdana,Tahoma,Arial,sans-serif;
background: #98fb98 url(images/bg.jpg);/* top center repeat-y;*/
}

#wrap {
background: #ffffff;
color: #303030;
margin: 40px auto;
width: 760px;
padding: 0px 10px;
border: 1px solid grey;
}

#intralink {
position: relative;
left: 250px;
top: -15px;
font-size: 15px;
color: red !important;
}

#header {
clear: both;
margin: 0px 0px 10px 0px;
padding: 0px;
height: 175px;
background-image: url('images/header.jpg');
background-repeat: no-repeat;
}

#header h1 {
font-size: 20px;
text-align: left;
padding-top: 4px;
padding-left: 82px;
margin-bottom: 0;
padding-bottom: 0;
color: black;
}

#frontphoto {
margin: 0 0 10px 0;
border: 0;
}

#lang wrapper {
padding-left: 15px;
}

#langmenuwrapper ul {
list-style: none;
margin: 0;
padding: 0;
font-size: 12px;
}

#langmenuwrapper li {
display: inline;
}

#avmenu {
clear: left;
float: left;
width: 150px;
margin: 0 0 30px 0;
padding: 0;
font-size: 0.9em;
}

#avmenu ul {	
list-style: none;
width: 150px;
margin: 4px 0 0 0;
padding: 0;
font-size: 1.1em;
}	

#avmenu li {
margin-bottom: 4px;
}


/* first level */
#avmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 10px;
background: #98fb98;
border-left: 4px solid #006400;
}	
	
#avmenu li a:hover {
background: #e6ffbf;
color: #006400;
border-left: 4px solid #006400;
}

#avmenu li a.menuactive {
background: #e6ffbf;
color: #006400;
border-left: 4px solid #006400;
}


/* second level */
#avmenu li li a {
font-weight: normal;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 24px;
background: #98fb98;
border:0;
}	

#avmenu li li a:hover {
background: #e6ffbf;
color: #006400;
border:0;
}

#avmenu li li a.menuactive {
background: #e6ffbf;
color: #006400;
border:0;
}

/* third level */
#avmenu li li li a {
font-weight: normal;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 34px;
background: #98fb98;
border:0;
}	

#avmenu li li li a:hover {
background: #e6ffbf;
color: #006400;
border:0;
}

#avmenu li li li a.menuactive {
background: #e6ffbf;
color: #006400;
border:0;
}

#news {
clear: left;
float: left;
width: 150px;
margin: 20px 0 10px 0;
padding: 0;
font-size: 0.9em;
}

#news h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}

.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
background-color: #98fb98;
line-height: 1.3em;
}

#extras {
float: right;
width: 100px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
line-height: 1.5em;
}

#extras p {
margin: 0 0 1.5em 0;
}

#extras h2 {
font-size: 1.2em;
border-bottom: 1px solid gray;
margin-bottom: 5px;
}

a {
text-decoration: underline;
color: #0033CC;
}

a:hover {
text-decoration: underline;
color: #809FFF;
}

a img {
border: 0;
}

#content {
margin: 0 0px 20px 160px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height: 1.6em;
text-align: left;
}

#content p {
margin: 1.3em 0 1.3em 0;
}

#content h2 {
font-size: 1.5em;
margin: 1.2em 0 1.3em 0;
padding-left: 0.4em;
border-left: 1.2em solid #18947b;
}

#content h3 {
font-size: 1.25em;
color: #18947b;
margin: 1.3em 0 1.2em 0;
padding-left: 0.4em;
border-left: 1.25em solid #32be72;
}

#content h3 a {
color: #18947b;
}

#content h3 a:hover {
color: #82d2c1;
}

#content h4 {
font-size: 1.0em;
margin: 0.6em 0 0.0em 0;
}

#content .uutisotsikko {
font-weight: bold;
padding-left: 0.4em;
border-left: 1.3em solid #80e97f;
}

#content img {
padding: 1px;
display:inline;
background: #006400;
border: 4px solid #f0f0f0;
}

#content hr {
color: #18947b;
margin: 2em 0 1.5em 0;
}

#content p.compact {
margin-bottom: 0;
}

#content ul.compact {	
margin: 0;
padding-left: 1.5em;
}	

#hallitus table {
border: 1px solid #c0c0c0;
border-top: none;
border-right: none;
}

#hallitus td {
vertical-align: top;
border: 1px solid #c0c0c0;
border-left: none;
border-bottom: none;
padding: 2px 8px 2px 8px;
margin: 0px;
}

#content div.valokuva {
width: 300px;
padding-left: 10px;
padding-bottom: 10px;
float: right;
}

#content img.valokuva {
/* height: 300px; */
width: 300px;
}

#content div.kuvateksti {
width: 300px;
font-size: 0.8em;
text-align: center;
}

#content div.museokuva {
width: 200px;
padding-left: 10px;
padding-bottom: 10px;
float: right;
}

#content img.museokuva {
/* height: 300px; */
width: 200px;
}

#content div.museokuvateksti {
width: 200px;
font-size: 0.8em;
text-align: center;
}

/* h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
} */

#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
border-top: 4px solid #f0f0f0;
width: 760px;
text-align: center;
color: #808080;
font-size: 0.9em;
}

#footer a {
color: #808080;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

.uutispvm {
color: #808080;
text-decoration: none;
}

.left {
margin: 0 10px 10px 0;
float: left;
}

.right {
margin: 0 0 10px 10px;
float: right;
}

.textright {
text-align: right;
}

.center {
text-align: center;
}

.small {
font-size: 0.8em;
}

.bold {
font-weight: bold;
}

.hide {
display: none;
}
/* End of 'andreas01_pv_screen' */

.floatleft {
margin-right: 10px;
}

