/*
Original design: andreas04 (v2.0 - Apr 24, 2008) - A free xhtml/css website template by Andreas Viklund.
For more information, see http://andreasviklund.com/templates/andreas04/
*/

/* General layouts */
body {margin:0; padding:0; font:80% Georgia,tahoma,verdana,sans-serif; background:#e6e6e6 url(images/bodybg.png) repeat-x; color:#444; text-align:center;}
#container {width:92%; min-width:700px; padding:0 20px; margin:0 auto; background:#f0f0f0 url(images/contentbg.png) repeat-x; text-align:left; border-left:1px solid #eef; border-right:1px solid #eef;}
#container800 {width:700px; padding:0 20px; margin:0 auto; background:#f0f0f0 url(images/contentbg.png) repeat-x; text-align:left; border-left:1px solid #eef; border-right:1px solid #eef;}
#container1024 {width:920px; padding:0 20px; margin:0 auto; background:#f0f0f0 url(images/contentbg.png) repeat-x; text-align:left; border-left:1px solid #eef; border-right:1px solid #eef;}

/* Tags */
a {text-decoration:none; color:#567; font-weight:bold;}
a:hover {text-decoration:underline;}
p {margin:5px 0 15px 0;}
h1,h2,h3,h4 {margin:0; padding:0; font-weight:normal; line-height:1.2em;}
h1 {font-size:2.5em; letter-spacing:-1px; color:#567; margin:15px 0 5px 20px;}
h1 a:hover {text-decoration:none;}
h2 {font-size:1.4em; letter-spacing:1px; margin:-10px 0 0 30px; color:#888;}
h3 {color: #555; font-size:1.4em; margin:1em 0 0.5em 0.5em;}
h4 {font-size:1.4em; letter-spacing:1px; margin:-10px 0 0 30px; color:#888;}
h5 {color: #555; font-size:1.4em; margin:1em 0 0.5em 0.5em;border:1px solid #fff;}
th.ph{background:#90EE90;cursor: help;}
th.kh{background:#ffff00;cursor: help;}
th.gh{background:#DEB887;cursor: help;}
th.no2{background:#FFB6C1;cursor: help;}
th.c{background:#87CEFF;cursor: help;}
th.no3{background:#FF83FA;cursor: help;}
th.nh3{background:#f0f0f0;cursor: help;}
th.nh4{color: #fff; background:#4682B4;cursor: help;}
th.nah{background:#ccc;cursor: help;}
th{background:#ffffff;}
span {cursor: help; font-weight:bold;}


/* Header */
#sitetitle {float:left; height:100px; background:url(images/globe.gif) no-repeat; width: 42%; color: #333;}
#sitetitle a {color:#567; font-weight:normal;}
#sitetitle a:hover {color:#269;}
#menu {height:71px; padding-top:35px; text-align: right;}
#menu a {margin:0; height:100px; padding:35px 6px 41px 6px; font-size:1.6em; font-weight:normal; letter-spacing:-1px; color:#888;}
#menu a:hover{color:#269; text-decoration:none; background: #fff url(images/menuhover.png) repeat-x; padding:35px 5px 41px 5px; border-left: 1px solid #eee; border-right: 1px solid #eee;}
#menu a.current{color:#269;}
#menu a.current:hover{color:#888; padding:35px 6px 41px 6px;  text-decoration:none; background: none; border:0;}

/* Main content and sidebar layout */
#content {margin-top:20px; width:100%; clear:both; background:url(images/globebottom.gif) bottom left no-repeat;}
#content h2 {margin:0 0 10px 0; color:#555; border-bottom:2px solid #abb;}
#content h2 a {color:#555; font-weight:normal;}
#content h2 a:hover {color:#269; text-decoration:none; background:none;}
#content p {margin:0.5em 0.5em 0.8em 0.5em;}
#right{width:70%; float:right; line-height:1.4em;}
#right h2 {margin:0 0 2px 0; padding:0; font-size:1.6em;}
#left {margin-right:72%; line-height:1.4em;}
#viekku{float:left; line-height:1.4em;}

/* Footer */
#footer {clear:both; padding:10px 0 12px 24px; text-align:left; color:#777;}
#footer a {color:#777; font-weight:normal;}
#footer h2 {color:#aaa; font-size:2em; letter-spacing:-1px; margin:0; padding:0; border:0;}
#footer h2 a {color:#aaa;}
#footer p {margin:0; padding:0;}

/* Additional classes */
.entry {margin:0 0 20px 0; border:2px solid #fff; background:#e6e6e6 url(images/entrybg.png) repeat-x; color:#333; padding:10px 10px 0 10px;}
.entry a:hover, .intro a:hover {text-decoration:none; padding-bottom:0px; background:url(images/flash2.gif) bottom left repeat-x;}
.link {color:#269; background:url(images/linkarrow.gif) left no-repeat; display:block; margin:4px 0 0 0; padding:2px 1em;}
.link:hover {color:#48b; background:url(images/blinkarrow.gif) left no-repeat;text-decoration:none;}
.thumbs { text-align:center;}
.thumbs img {padding:3px; margin:0 2px 2px 0; border:1px solid #fff; background-color:#ddd; color: #555;}
.thumbs img:hover {background: url(images/flash.gif);}
.entryphoto {margin:5px 5px 1px 2px; float:left; padding:3px; border:1px solid #fff; background-color:#ddd; color:#333;}
.entryphoto2 {margin:5px 1px 1px 2px; float:right; padding:3px; border:1px solid #fff; background-color:#ddd; color:#333;}
.meta {clear:both; border-top: 2px solid #ccc; padding: 5px 1px 0 0; margin:10px 0 0 0; text-align:right; font-size:1em; color: #567;}
.pagenav {color: #777; text-align:center;}
.subcontainer {display:block; width:98%;}
.rightsub {float:left; width:45%; padding:0;}
.rightsub2 {margin-left:50%; padding:0;}
.right {text-align:right;}
.center {text-align:center;}
.clear {clear:both;}
.hide {display:none;}
.kypsytys {color: #777; text-align:center; padding:2px; width:600px;}

#espg a:link {
	color: #577058;
	text-decoration:underline;
}
#espg a:visited {
	color: #333;
}
#espg a:hover, #espg a:active, #espg a:focus {
	text-decoration:none;
}
#espg h2 {
	/*-moz-border-radius:20px 20px 0 0;*/
	font:bold 1.1em Georgia, garamond, times, serif;
	margin:0;
	padding:2px 0 2px 10px;
	background: #c5bfaf;
	color:#143E10;
}
#espg #prevnext{
	margin-top:10px;
}
#espg #prev, #espg #next {
	display:block;
	padding:5px;
	border:1px solid #bbb;
	/*-moz-border-radius:5px;*/
	background:#ddd;
	text-decoration:none;
	margin:0 10px 10px;
	font-size:0.8em;
}
html body #espg div #prev:hover, html body #espg #next:hover,html body #espg div #prev:focus, html body #espg #next:focus {
	border-color:#888;
	background:#ccc;
	color:#000;
}
#espg #prev {
	float:left;
}
#espg #next {
	float:right;
}
#espg #image {
	text-align:center;	
	background: #ddd url(imagefade/loading.gif) 50% 50% no-repeat;
	margin:0 auto;
/*	margin-bottom:5px;*/
}
#espg .imgwrapper {
	float: left;
	margin: 0 15px 15px 15px;
	padding: 2px;
}
#espg .imgwrapper span {
	display:block;
	font:0.8em verdana, sans-serif;
	text-align:center;	
}
#espg .imgwrapper img {
	background-color: #fff;
	border: 1px solid #ddd;
	/*-moz-border-radius:5px;*/
	padding: 4px;
}
#espg .imgwrapper a:visited img {
	background-color:#fff;	
}
#espg .imgwrapper a:hover img, #espg .imgwrapper a:focus img {
	background-color: #ddd;
}
#espg .imgwrapper a:hover, #espg .imgwrapper a:focus {
	color:#000;
}
#espg #single {
	padding:3px;
	border:1px solid #aaa;
	/*-moz-border-radius:5px;*/
	background:#ddd;
}
#espg #description {
	border:1px solid #ddd;
	text-align:center;
	clear:both;
	margin:5px 40px;
	padding:5px;
	color:#303;
	background:#D1ECE8;
}
#espg #thedate {
	text-align:right;
	clear:both;
	margin:10px;
	color:#303;
	font-style:italic;
}
#espg #credit {
	background: #c5bfaf;
	color:#143E10;
	border-top:4px solid #bbb;
	/*-moz-border-radius:0 0 20px 20px;*/
	font-size:0.8em;
	text-align:center;
	margin:0;
	padding:3px 0;
	clear:both;
}
#espg #credit a {
	color:#000;
}
#espg #credit a:hover, #espg #credit a:active, #espg #credit a:focus {
	color:#000;
	text-decoration:none;
}
#espg #directories {
	border-bottom:1px solid #ddd;
	margin:0;
}
#espg #breadcrumb {
	padding:5px;
	font: 1.0em Georgia, garamond, times, serif;
	border-bottom:1px solid #ddd;
	background:#ddd;
	color:#CD7F03;
	margin:0;
}
#espg #breadcrumb a {
	color:#000;
	text-decoration:underline;
}
#espg #breadcrumb a:hover, #espg #breadcrumb a:active, #espg #breadcrumb a:focus{
	color:#000;
	text-decoration:none;
}
#espg #dirdesc {
	padding:4px;
	border-bottom:1px dashed #ddd;	
	background:transparent;
	margin:0 0 10px 0;
}
#espg #gallery {
	padding:10px 5px;
}
/* Standard category listing*/
#espg #directories ul.cat {
	list-style:circle;
	padding-bottom:5px;
}
#espg ul.cat li {
	margin:2px 0;
}
/* categories with thumbs */

#espg div.catthumbs {
	margin:5px;
	padding:5px;
}
#espg div.catthumbs div {
	margin:10px;
	padding:2px;
	float:left;
	height:150px;
	width:150px;
	text-align:center;
}
#espg div.catthumbs img.tnexample{
	margin:0 2px 2px 0;
	display:block;
	padding:3px; 
	border:1px solid #fff; 
	background-color:#ddd; 
	color: #555;
}
#espg div.catthumbs a{
	display:block;
}

#espg #directories h3 {
	font:1em georgia, garamond, times, serif;
	font-weight:bold;
	text-indent:15px;
	margin:0;
}
#espg #directories h4 {
	font:0.9em georgia, garamond, times, serif;
	font-weight:bold;
	text-indent:20px;
	margin:0;
}
#espg div.pagination{
	clear:both;
	text-align:center;
}

#espg #header {
	background:#fff;
	color:#969696;
}
#espg #header h1 {
	background:transparent;
	color:#4E684A;
}
#espg #header {
	margin:0;
	padding: 0;
	height: 164px;
}
#espg #header h1 {
	position:relative;
	top:94px;
	left:-15px;
	font-size:1.3em;
	font-weight:normal;
	font-family:verdana,tahoma,helvetica,sans-serif;
	margin:0 0 0 200px;
}
/* footer */
#espg #footer {
	font-family: arial,helvetica,sans-serif;
	margin:0 15px;
	clear: both;
	padding:0;
	font-size: 70%;
	color:#303;
}
#espg #footer a:hover, #espg #footer a:focus  {
	text-decoration:none;
	color:#969696;
}

#espg #design {
	float:right;
	text-align:right;
	margin:0;
}
#espg #copyright {
	padding:0 0 0.2em;
	margin:0;
}
/*editor*/
#espg div#admin {
	background:#c00;
	color:#fff;
	/*-moz-border-radius:0 0 20px 20px;*/
	font-size:1.2em;
	font-weight:bold;
	letter-spacing:0.2em;
	text-align:center;
	margin:0;
	padding:5px 0;
	clear:both;
}
#espg div#editor {
   font: .85em/1 Verdana, Arial, sans-serif;
   border-top: 1px gray solid;
   padding: 10px 20px;
   margin: 10px 0;
   clear:both;
}
#espg div#editor h2 {
   font-size: 1.2em;
   text-align: center;
   margin: 0 0 8px;
}
#espg div#editor p.valid {
   background: pink;
   color: black;
   font-size:1.2em;
   float: left;
   padding: 5px;
   margin: 5px 0;
}
#espg div#editor p.invalid {
   background: #c00;
   font-size:1.2em;
   border:1px solid #000;
   color: #fff;
   float: left;
   padding: 5px;
   margin: 5px 0;
}
#espg div#editor fieldset {
   background: #f6f6f6;
   clear: both;
}

#espg div#editor p {
   margin: 5px 0;
}
#espg div#editor input[type="text"], #espg div#editor textarea,#espg div#editor input[type="password"] {
   border: solid 1px green;
   margin: 2px 1px 1px;
}
#espg div#editor input[type="text"]:focus, #espg div#editor textarea:focus,#espg div#editor input[type="password"]:focus {
   border: solid 2px darkgreen;
   margin: 1px 0 0;
}
#espg div#editor input#userfile{
   margin: 2px 1px 1px;
}
/* login specific */
#espg p.warn{
	background: #c00;
	font-size:1em;
	border:1px solid #000;
	color: #fff;
	float: left;
	padding: 5px;
	margin: 5px 0;
}
#espg div#login fieldset {
   background: #f6f6f6;
   clear: both;
}
#espg div#login input[type="text"], #espg div#login input[type="password"] {
   border: solid 1px green;
   margin: 2px 1px 1px;
}
#espg div#login input[type="text"]:focus, #espg div#login input[type="password"]:focus {
   border: solid 2px darkgreen;
   margin: 1px 0 0;
}
#espg div#login label{
	width:8em;
	float:left;
	text-align:right;
	padding-right:5px;
}
#espg div#login .button{
	margin: 0.5em 0 0 9em;
}

#espg div.clearer {
	clear: both;
}
#espg img.precache {
	position: absolute;
	top: 0;
	left: 0;
	float: left;
	visibility: hidden;
}
/* comment system */
#espg div#comments{
	margin:0.5em 15%;
	font-size:0.9em;
}

#espg div#comments div.comment-odd{
	margin:3px 0;
	border:1px solid #969696;
	background:#f9f9f9;
}
#espg div#comments div.comment-even{
	margin:3px 0;
	border:1px solid #969696;
	background:#fff;
}
#espg p.cname{
	font-weight:bold;
	margin:3px;
}
#espg p.ccomment{
	margin:0 10px;
}
#espg p.time{
	font-style:italic;
	margin:0;
	padding:4px 1em 4px 0;
	text-align:right;
}
#espg p.no-comment{
	font-weight:bold;
	text-align:center;
}
#espg p.comment-error{
	color:#900;
}
#espg div.comment-form-holder{
	width:50%;
	margin:0.5em 0;
}
#espg form.comment-form{
	width:100%;
}
#espg form.comment-form fieldset{
	border:1px solid #f9f9f9;
}
#espg form.comment-form legend{
	letter-spacing:0.1em;
	color:#003;
}
#espg form.comment-form label{
	width:12em;
	float:left;
}
 div.pagedcomments{
 	text-align:center;
 }
#espg p.comment-attrib{
	text-align:right;
	font-size:80%;
	padding-right:1em;
}
#espg .center{
	text-align:center;
}
