/* andreas01 - an open source xhtml/css website layout by Andreas Viklund  - http://andreasviklund.com - Free to use for any purpose as long as the proper credits are given to the original author.
Version: 2.0 (Jun 25, 2006)
Screen layout: */

/***** Body and main container *****/
body {
margin:0 auto;
padding:10px;
font:76% Verdana,Tahoma,Arial,sans-serif;
background:#cacbca url(img/bg.png) top repeat-x;
color:#555;
}

#wrap {
background:#ffffff;
border: 1px dotted #ccc;
color:#303030;
margin:0 auto;
width:780px;
}

/***** Various tags *****/
a {

color:#286ea0;
background-color:inherit;
}

a:hover {
text-decoration:underline;
color:#286ea0;
background-color:inherit;
}

a img {
border:0;
}

/***** Header *****/
#header {
width: 780px;
margin:0;
padding:0;
height:202px;
/*border: red solid thin;*/
}

#header h1 {
color:#505050;
background-color:inherit;
width:350px;
margin:0 0 10px;
font-size:2.2em;
float:left;
}

#header h1 a{
color:#505050;
background-color:inherit;
text-decoration:none;
}

#header p {
width:400px;
float:right;
text-align:center;
color:#505050;
margin:1px 0 0;
font-size:1.1em;
font-weight:bold;
line-height:1.3em;
background-color:inherit;
}

#frontphoto {
margin:0 0 10px;
border:0;
}

/***** Left sidebar *****/
#leftside {
clear:left;
float:left;
width:202px;
height:500px;

margin:0 0 5px 5px;
padding:0;
}

/*search*/
#leftside h2,#leftside h3 {
color:#505050;
background-color:inherit;
font-size:1.3em;
margin:0 0 5px;
padding:0;
}
/*search box*/
#leftside div.announce {
clear:left;
text-align: center;
margin:15px 0 15px;
padding:7px 5px;
width:185px;
font-size:9px;
color:#505050;
border: 1px dotted #CCC;
line-height:1.5em;
}
/*language box*/
#leftside div.languages {
clear:left;
margin:0;
padding:0px 0px 0px 10px;
width:185px;
font-size:0.9em;
color:#505050;
border: 0px dotted #CCC;
}

#leftside div.announce p {
margin:10px 0 0;
padding:0;
}

/***** Main menu *****/
ul.valikko {
width:188px;
margin:0px 0px 18px 0px;
padding:0px;
list-style:none;

}

ul.valikko li {
width:188px;
margin:0px 0px 18px 0px;
padding:0;
line-height:1.4em;
display:inline;
}
/* menu item */
ul.valikko li a {
background: url(img/sin.png) top repeat-x;
color:#FFF;
width:184px;
float:left;
margin-bottom:3px;
padding:4px 1px 3px 10px;
border:1px dotted #ccc;
text-decoration:none;
}
/* menu item hover & current*/
ul.valikko li a:hover {
color:#FFF;
background:#FFF url(img/vihr.png) top repeat-x;
}
ul.valikko li a.current {
color:#FFF;
background:#FFF url(img/vihr.png) top repeat-x;
font-weight:bold;
}
ul.valikko ul {
clear: both;
background:#FFF;
margin:1px 0 1px 5px;
padding:0 -10px 5px 0;
font-size:0.9em;
width:178px;
}
/* - -  alaotsikko */
ul.valikko ul a {
border: hidden;
padding:0px 1px 0px 5px;
margin: 1px 0px 1px 0px;
width:180px;
background:#FFF;
color: #555;
}
ul.valikko ul a:hover {
color:#000;
background: #ddd;
}
/* - - - alaotsikko */
ul.valikko ul ul a{
padding:0px 1px 0px 5px;
margin: 0px 0px 1px 0px;
width:170px;
background:#FFF;
color: #555;
}
/* - - - - last item */
ul.valikko ul ul ul a {
width:160px;
}



/***** Right sidebar *****/
#extras {
float:right;
width:140px;
margin:0 0 5px;
padding:0;
line-height:1.4em;
}

#extras p,#extras ul {
font-size:0.9em;
margin:0 0 16px;
padding:0;
}

#extras li {
list-style:none;
line-height:1.2em;
margin:0 0 6px 0;
padding:0;
}

#extras ul ul {
margin:6px 0 0 10px;
padding:0;
}

#extras ul ul li {
margin: 0 0 4px 0;
}

#extras ul ul li a {
font-size:1.1em;
font-weight:normal;
}

#extras h2, #extras h3 {
color:#505050;
background-color:inherit;
font-size:1.2em;
margin:0 0 10px;
padding:0;
}

/***** Main content *****/


#contentwide {
width:545px;
margin:0 0 5px 210px;
border-left: 1px dotted #CCC;
padding:0 0 0 10px;
line-height:1.6em;
height: auto;
min-height:666px;
}

#content h2,#contentwide h2 {
font-size:1.6em;
margin:0 0 10px;
}

#content h3,#contentwide h3 {
font-size:1.4em;
margin:0 0 8px;
}

#content img,#contentwide img {
padding:1px;
display:inline;
/*background:#cccccc;*/
color:#303030;
border:4px solid #f0f0f0;
}

#content ul, #contentwide ul, #content ol, #contentwide ol {
margin:0 0 16px 20px;
padding:0;
}

#content li, #contentwide li {
margin:0;
padding:0 0 0 5px;
}

#content ul ul, #contentwide ul ul, #content ol ol, #contentwide ol ol{
margin:0 0 0 16px;
padding:0;
}

/***** Footer *****/
#footer {
clear:both;
margin:0 auto;
padding:4px 0 0 0;
width:780px;
height: 20px;
text-align:center;
color:#EEE;
background:#FFF url(img/vihr.png) top repeat-x;
font-size:0.9em;
}

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

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

/***** Various classes *****/
.left {
margin:3px 10px 2px 0;
float:left;
}

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

.textright {
text-align:right;
}

.center {
text-align:center;
}

.small {
font-size:0.8em;
}

.bold {
font-weight:bold;
}

.hide {
display:none;
}