/* Start of CMSMS style sheet 'screen' */
body {
margin: 0 auto;
padding: 0;
/*background: #fff;
font: 80% Verdana, Helvetica, sans-serif;

*/
font: 80% "Trebuchet MS", Tahoma,Arial,sans-serif;

background: #fff url(uploads/taustat/plan2.gif) top center no-repeat;

}

#container {
background: #fff;
color: #303030;
margin: 0 auto;
margin-top: 10px;
width: 800px;
}

#topimage {
height: 290px;
width: 100%;
background: #000;
color: #fff;
border: 0;
paddding: 0;
}

#frontphoto {
display: block;
height: 290px;
margin: 0 auto;
border: 0;
padding: 0;
}

#header {
clear: both;
margin: 20px 0 0 0;
padding: 0;
height: 45px;
}

#header h1 {
width: 250px;
margin: 0 0 10px 0;
float: left;
}

#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 10px 0;
font-size: 0.8em;
line-height: 1.2em;
}

#avmenu {
clear: left;
float: left;
width: 160px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
}

#avmenu ul {	
list-style: none;
width: 160px;
margin: 0 4px 0px 0; /* huom. oli 20px */
padding: 0;

}	

#avmenu li {
margin-bottom: 4px;
}

#avmenu li li {
margin-top: 4px;
}


/* first level */
#avmenu li a {
font-weight: bold;
height: 1.9em;
text-decoration: none;
color: #000;
display: block;
padding: 6px 0 0 10px;
background: #f4f4f4;
/* border-left: 4px solid #cccccc; */
}	
	
#avmenu li a:hover {
background: #e0e0e0;
color: #000;
/* border-left: 4px solid #000; */
}

#avmenu li a.menuactive {
background: #e0e0e0;
color: #000;
/* border-left: 4px solid #000; */
}


/* second level */
#avmenu li li a {
font-weight: normal;
height: 1.9em;
text-decoration: none;
color: #000;
display: block;
padding: 6px 0 0 2.1em;
background: #fff;
border:0;
}	

#avmenu li li a:hover {
background: #e0e0e0;
color: #000;
border:0;
}

#avmenu li li a.menuactive {
background: #e0e0e0;
color: #000;
border:0;
}

/* third level */
#avmenu li li li a {
font-weight: normal;
height: 1.9em;
text-decoration: none;
color: #000;
display: block;
padding: 6px 0 0 3.2em;
background: #fff;
border:0;
}	

#avmenu li li li a:hover {
background: #e0e0e0;
color: #000;
border:0;
}

#avmenu li li li a.menuactive {
background: #e0e0e0;
color: #000;
border:0;
}



.announce {
margin: 10px 0px 10px 0;
padding: 0px;
width: 160px;
color: #505050;
background-color: #fff;
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;
}

#content {
margin: 0 0px 10px 170px;
border-left: 1px solid #e0e0e0;
border-right: 0px;
padding: 0 0px 0 10px;
line-height: 1.6em;
text-align: left;
}

#content img {
padding: 0px;
display:inline;
border: 0;
}

h1, h2, h3, h4, h5  {
font-family: Georgia, "Times New Roman", serif;
}

#content h2 { 
font-weight: normal;
font-size: 1.5em;
/*
font-size: 1.3em;
text-transform: uppercase;
letter-spacing: 1px;
*/
letter-spacing: 0.02em;
margin: 0 0 0.5em 0;
}

#content p + h3, #content p + h2 {
padding-top: 3px;
}


h3 {
font-weight: bold;
font-size: 1.05em;
margin: 0 0 10px 0;
}

h4 { 
font-size: 1em;
font-weight: normal;
text-transform: uppercase;
margin: 0 0 10px 0;
}

/*
h3 {
font-weight: normal;
font-size: 1.25em;
margin: 0 0 10px 0;
}

#content h3 a { font-weight: normal; }
*/

a {
text-decoration: none;
font-weight: bold;
color: #303030;
}

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

a img {
border: 0;
}

#footer {
clear: both;
margin: 0 auto;
/*
padding: 10px 0 20px 0;
border-top: 1px solid #e0e0e0;
*/
padding: 0;
width: 800px;
text-align: center;
color: #808080;
font-size: 0.8em;
}

#footer a {
color: #808080;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

.left {
margin: 10px 10px 5px 0;
float: left;
}

.right {
margin: 10px 0 5px 10px;
float: right;
}

.textright {
text-align: right;
}

.center {
text-align: center;
}

.small {
font-size: 0.8em;
}

.bold {
font-weight: bold;
}

.hide {
display: none;
}

.title h1 { margin-bottom: 0; }
.title h5 { margin-top: 0; }

.announce h3 { margin: 0; font-size: 1em; }
.NewsSummary { margin: 0; padding: 5px 0 5px 0; border-bottom: 1px solid #eaeaea; }

hr {
border: 0;
color: #e0e0e0;
background-color: #e0e0e0;
height: 1px;
margin: 0;
margin-bottom: 10px;
}

ul { list-style-type: square; }

#comments textarea { width:500px; }
/* End of 'screen' */

