/* Start of CMSMS style sheet 'CSS-oletus' */
* {
margin:0;
padding:0;
}

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

div {
   font-size: 1em;
}

img {
   border: 0;
}
a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #356AA0;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #356AA0;   
}

a:hover {
   text-decoration: none;
   background-color: #EEEEEE;
   color: #356AA0; 
}

a:hover img {
}

body {
   background: #EFEFEF url(images/bg.gif) repeat-y;
   color: #333;
}

div#pagewrapper {
   position: absolute;
   border-right: 1px solid #36393D;
   margin: 0; 
   width: 799px;
   background-color: #fff;;
   color: black;
}

div#header {
   height: 105px;  
   background: #FFFFFF;           
}

div#header h1 a {
   background: #FFFFFF url(images/thead.jpg) no-repeat; 
   display: block;
   height: 105px;           
   text-indent: -999em;  
   text-decoration:none; 
}

div#masthead {
  font: bold 24px georgia;
  margin: 0.2em 0.6em 0 0.6em;
  padding: 0 0 0.2em 0;
  border-bottom: 1px solid #EEEEEE;
  color: #36393D;
}

div#masthead img {
  margin-left: -0.3em;
}

div#masthead a.hover {
  background-color: #fff;
}

div#search {
   float: right;
   margin: 1.6em 1.2em 0 0;
   text-align: right;
}

div#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}

div#main {
   margin-left: 24.5%; 
   margin-right: 2%; 
}

div#sidebar {
   float: left;        
   width: 23%;    
   display: inline; 
   margin-left: 0;
}

div#comments table {
  margin-bottom: 1.5em;
}

div#footer {
   clear: both;       
   color: #fff;
   background-color: #385C72; 
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      
   text-align: center;  
   margin: 0;
}

div#footer p a {
   color: #fff; 
}

div.hr {
   height: 1px;
   border-bottom: 1px solid #EEEEEE;
}

div.left49 {
  width: 49%; 
}

div.right49 {
  padding-top: 0.6em;
  float: right;
  width: 49%;
  text-align: right;
}

div#content h1 {
   font-size: 2em; 
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #36393D; 
	font-size: 1.5em; 
	text-align: left; 
	padding-bottom: 1px;
	border-bottom: 1px dotted #36393D; 
           line-height: 1.5em;
           margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #000000; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #000000;
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #000000;
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #000000;
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

p {
   font-size: 1em;
   margin: 0 0 1.5em 0;
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}

strong, b {
   font-weight: bold;
}

em, i {
   font-style:italic;
}

code, pre {
 white-space: pre-wrap;   
 white-space: -moz-pre-wrap;  
 white-space: -pre-wrap;     
 white-space: -o-pre-wrap; 
 word-wrap: break-word;      
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;
}

div.templatecode {
  margin: 0 0 2.5em;
}

div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

input, textarea {
  border: 1px solid #C0C0C0;
  padding: 2px 4px 2px 4px;
}

#comments textarea, #comments input[type=text] {
  width: 400px;
}

div#search input[type=text] {
  width: 100px;
}

/* End of 'CSS-oletus' */

