body {  
	margin: 45px 50px 20px 50px;
	background: #ffffff url(../images/bg.jpg);
	background-position: top;
	background-repeat: repeat-x;
	text-align: left;
	overflow-x: hidden;
}

body, td, p, div, select, input, textarea {  
	font: 11px/18px "Verdana", Arial, Helvetica, sans-serif;
	/*color: #7f7f7f;*/
	color: #666666;
}
#content td, #content p, #content div {  
	font: 11px/18px "Verdana", Arial, Helvetica, sans-serif;
	color: #000000;
}
a:link, a:active, a:visited {
	color: #000000;
	/*border-bottom: 1px solid #99d8d3;*/
	text-decoration: underline;
	outline: none;
}
a:hover {
	/*color: #333333;*/
	background-color: #7f7f7f;
	color: #ffffff;
	/*border-bottom: 1px solid #adadad;*/
	text-decoration: none;
}


#header {
	height: 116px;
}
#logo {
	margin-bottom: 40px;
}

.navi_wrapper {
	overflow: hidden;
	width: 540px;
	display: block;
	margin-left: -10px;
}
#navi {
	list-style: none;
	display: block;
	overflow: hidden;
	left: -7px;
	color: #000000;
	font-weight: normal;
	position: relative;
	margin: 0 0 0 0;
	list-style: none;
	text-align: left;
	margin: 0;
	padding: 0;
}
#navi li {
	list-style: none;
	float: left;
	margin: 0 3px 0 0;
	padding: 0 0 0 12px;
	display: block;
	background: #ffffff url(../images/slash.gif) no-repeat 0 4px;

}
#navi a.active, #navi a.active:link, #navi a.active:visited, #navi a.active:hover {
	text-decoration: line-through;
	background-color: #ffffff;
	color: #000000;
}
/*
#header a {
	width: 135px;
	float: left;
	margin-right: 15px;
}
*/
#navi li a, #navi li a:link, #navi li a:active, #navi li .navi a:visited {
	color: #000000;
	text-decoration: none;
	padding: 1px 4px 2px 4px;
}
.navi_sm a, .navi_sm a.active, .navi_sm a.active:link, .navi_sm a.active:visited, .navi_sm a.active:hover {
	color: #000000;
	text-decoration: none;
	padding: 1px 4px 2px 4px;
}
#navi li a:hover {
	color: #ffffff;
	background-color: #7f7f7f;
}
.navi_sm a:hover {
	color: #ffffff;
	background-color: #7f7f7f;
}


.date {
	margin-top: -10px;
}
.viiva {
	background-color: #000000;
	width: 8px;
	height: 1px;
	overflow: hidden;
}
#content .viiva {
	margin: 20px 0 20px 0;
}

#footer_viiva {
	position: relative; 
	margin: 40px 0 0 0;
}
#footer {
	position: relative; 
	margin: 15px 0 0px 0;
}
#footer a, #footer a:link, #footer a:active, #footer a:visited {
	color: #666666;
	text-decoration: none;
}
#footer a:hover {
	color: #666666;
	text-decoration: underline;
}	


#content, .contents {
	width: 530px;
	margin-bottom: 45px;
}

.thumbs {
	width: 868px;
	overflow: hidden;
	margin-bottom: 45px;
}
#front .thumbs {
	width: 540px;
}
#front .thumbs:hover {
	background: #ffffff url(../images/n-nuoli.gif) top right no-repeat;
}
.thumbs .kuva {
	float: left;
	width: 106px; 
	height: 71px;
	overflow: hidden;
	margin-bottom: 10px;
}
.thumbs .kuva:hover {
	background: #ffffff url(../images/n-nuoli.gif) top right no-repeat;
}
.thumbs .kuva_clip, .thumbs .kuva_clip {
	width: 96px;
	height: 71px;
	text-align: center;
	overflow: hidden;
}
.thumbs .kuva_clip img {
	margin-top: -1px;
}


.hide { display: none; }
.show { display: block; }

.sec {
color: #7f7f7f;
}

.pad {
padding:13px;
}
.space {
margin-bottom: 20px;
}
.space2 {
margin-bottom: 2px;
}

.clear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clear {display: inline-block;}

/* Hides from IE-mac \*/
* html .clear {height: 1%;}
.clear {display: block;}
/* End hide from IE-mac */

.clear_both {
clear: both;
height: 0px; overflow: hidden;
}
.clear_left {
clear: left;
height: 0px; overflow: hidden;
}

h1, .large, h2, h3, h4, h5, h6 {
font-family: "Verdana", Arial, Helvetica, sans-serif;
font-size: 18px;
color: #000000;
margin-top: 0em;
margin-bottom: 15px;
font-weight: normal;
}

h1.head { 
	font-size: 14px;
	margin: 11px 0 32px 0;
}
h1.head span {
	background:#7f7f7f;
	color: #ffffff; 
	padding: 8px 15px 10px 15px;
}

p, ul { 
margin-top: 0em;
margin-bottom: 11px; 
}
small, .small {
font-size: 10px;
}

.inline {
display:inline;
}
.block {
display:block;
}
.f_left { float: left; }
.f_right { float: right; }
.hidden { display: none; }


form {
margin: 0px;
padding: 0px;
}
ol {
margin-top: 0px;
margin-bottom: 0px;
}
li {
margin-left: -10px;
}

/*
	selection
*/

::-moz-selection{
	background:#7f7f7f;
	color: #ffffff;
}

::selection {
	background:#7f7f7f;
	color: #ffffff;
}

code::-moz-selection {
	background: #7f7f7f;
	color: #ffffff;
}

code::selection {
	background: #7f7f7f;
	color: #ffffff;
}


/*
img, div, a, input, span, select { behavior: url(ext/iepngfix_v2/iepngfix.htc) }
*/