/* http://www.ihme.info - iHME työryhmä */

/* IMPORTANT */
/* Please, if you make a copy of this CSS-file we ask you to use it in a way that glorify God
   the Father, the Son and the Holy Spirit! */
   
*
{
padding: 0em;
margin: 0em;
}

body
{
background: #FFFFFF;
padding: 35px 0px 35px 0px;
}

body,input
{
font-size: 10pt;
font-family: "georgia", "times new roman", serif;
color: #333333;
}

p, p.bodytext
{
line-height: 1.5em;
margin-top: 1.0em;
margin-bottom: 1.0em;
text-align: justify;
}

a
{
color: #B96D00;
text-decoration: underline;
}

a:hover
{
text-decoration: none;
}


h3 span
{
font-weight: normal;
}

h3,h4
{
display: inline;
font-weight: bold;
background-repeat: no-repeat;
background-position: right;
}

h3
{
font-size: 1.7em;
padding-right: 34px;
background-image: url('images/db1.gif');
}

h4
{
font-size: 1.2em;
padding-right: 28px;
background-image: url('images/db2.gif');
}

h4 a {
color: #333333;
text-decoration: none;
}

h4 a:hover {
color: #B96D00;
text-decoration: underline;
}

.contentarea
{
padding-top: 1.3em;
}

img
{
border: solid 1px #6F5230;
}

.csc-textpic img
{
border: solid 1px #6F5230;
margin: 0em 0em 1.8em 1.8em;
}

img.spacer-gif {
    border:none;
}

img.left
{
position: relative;
float: left;
margin: 0em 1.8em 1.4em 0em;
}

img.right
{
position: relative;
float: right;
margin: 0em 0em 1.8em 1.8em;
}

.divider1
{
position: relative;
background: #fff url('images/border2.gif') repeat-x;
height: 14px;
margin: 2.0em 0em 1.5em 0em;
clear: both;
}

.divider2
{
position: relative;
height: 1px;
border-bottom: solid 1px #eaeaea;
margin: 2.0em 0em 2.0em 0em;
}

hr {
height: 1px;
border:0;
background-color: #eaeaea;
color: #eaeaea;
margin: 2.0em 0em 2.0em 0em;
}

.post .details
{
position: relative;
top: -1.5em;
font-size: 0.8em;
color: #787878;
}

.post ul.controls
{
clear: both;
}

.post ul.controls li
{
display: inline;
font-size: 0.8em;
}

.post ul.controls li a
{
background-repeat: no-repeat;
background-position: left;
padding: 0em 1.0em 0em 20px;
}

.post ul.controls li a.printerfriendly
{
background-image: url('images/icon-printerfriendly.gif');
}

.post ul.controls li a.comments
{
background-image: url('images/icon-comments.gif');
}

.post ul.controls li a.more
{
background-image: url('images/icon-more.gif');
}

.box
{
position: relative;
background: #FDFCF6 url('images/boxbg.gif') repeat-x;
left: -1.5em;
top: -1.5em;
padding: 1.5em;
border-bottom: solid 1px #E1D2BD;
margin-bottom: 1.0em;
}

ul.linklist
{
list-style: none;
margin-top: 1.0em;
}

ul.linklist li
{
line-height: 2.0em;
}

#upbg
{
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 275px;
background: #fff url('') repeat-x;
z-index: 1;
}

#outer
{
z-index: 2;
position: relative;
/*
	The width value below controls the overall width of the design. By default it's set to 82%
	(so it'll take up 82% of the browser window's width). You can set it to a different percentage
	value (70%, 90%, etc.) or even a pixel value (760px, 800px, etc.) to enforce a fixed width.
*/
width: 960px;
border: solid 7px #fff;
background-color: #fff;
margin: 0 auto;
}

#headerpic
{
position: relative;
height: 342px;
margin-bottom: 2px;
}

#menubottom
{
background: #fff url('images/border1.gif') repeat-x;
height: 14px;
margin-bottom: 1.5em;
}

#content
{
padding: 0em 2.0em 0em 2.0em;
}

#normalcontent
{
float: left;
width: 50%;
}

#footer
{
position: relative;
height: 2.0em;
clear: both;
padding-top: 5.0em;
background: #fff url('images/border2.gif') repeat-x 0em 2.5em;
font-size: 0.8em;
}

#footer .left
{
position: absolute;
left: 2.0em;
bottom: 1.2em;
}

#footer .right
{
position: absolute;
right: 2.0em;
bottom: 1.2em;
}

/* Navigation */

#menu
{
position: relative;
background: url('') repeat-x top left;
height: 3.5em;
padding: 0em 1.0em 0em 1.0em;
margin-bottom: 2px;
}

.nav2, .nav2 * {
}

.nav2 {
}

.nav2 ul {
    margin-left: 1em;
	background:none; /*IE6 needs this*/
}

.nav2 ul ul {
}

.nav2 li {
	border: 0;
	float:left;
	list-style:none;
	position:relative;
	z-index:999;
}

.nav2 li.active
{
background: #7F8400 url('images/menuactive.gif') repeat-x top left;
}

.nav2 li.menu1-level2 a {
    text-decoration: none;
	background: none;
	padding: .75em 0 .75em 0.5em;
}

.nav2 li.menu1-level2 a.menu1-level2-daddy {
    text-decoration: none;
	background: transparent url(images/icon-arrow.gif) center right no-repeat;
}

.nav2 li.menu1-level2 a.menu1-level2-daddy:hover {
    text-decoration: none;
	background: transparent url(images/icon-arrow.gif) center right no-repeat;
}

.nav2 a {
	display:block;
	float:left;
    padding: 0.5em 1.0em 0.9em 1.0em;
    color: #fff;
    text-decoration: none;
}

.nav2 li ul {
	border: 1px solid #fff;
	float:none;
	top:-999em;
	position:absolute;
}

.nav2 li:hover,
.nav2 li.sfHover,
.nav2 a:focus, .nav2 a:hover, .nav2 a:active {
}

.nav2 li.menu1-level2:hover, .nav2 li.menu1-level2:hover li:hover,
.nav2 li.menu1-level2.sfHover, .nav2 li.menu1-level2.sfHover li.sfhover,
.nav2 li.menu1-level2 a:focus, .nav2 li.menu1-level2 a:hover, .nav2 li.menu1-level2 a:active {
}

.nav2 li:hover ul,
.nav2 li.sfHover ul {
	left:-1px;
	top:1.7em;
}

.nav2 li:hover li ul,
.nav2 li.sfHover li ul {
	top:-999em;
}
.nav2 li li:hover ul,
.nav2 li li.sfHover ul {
	left:11.45em;
	top:-1px;
	width:11.45em;
}
.nav2 li li {
	float:none;
	width:11.45em;
}
.nav2 li li li {
}
.nav2 li li a {
    text-decoration: none;
	float:none;
	padding-right:0;
	width:10.45em;
}
/* quick hacks for IE */
*html .nav2 li li {
	margin-bottom:-3px;
}
*html .nav2 li li li {
	margin-bottom:-1px;
}
*+html .nav2 li li {
	margin-bottom:-3px;
}
*+html .nav2 li li li {
	margin-bottom:-1px;
}

#menu2 {
    clear: both;
    float: left:
    width: 30%;
    margin-right: 10%;
}

/* News */

/*  clearer  */
/* prevent floated images from overlapping the div-containers they are wrapped in  */

.news-list-container HR.clearer, .news-single-item HR.clearer, .news-latest-container HR.clearer{
    clear:right;
    height:1px;
}

.news-latest-container HR.clearer {
position: relative;
height: 1px;
border: 0;
background-color: #eaeaea;
color: #eaeaea;
margin: 2.0em 0em .5em 0em;
clear:left;
}

.news-latest-container h2 {
    display:none;
}

/* tt_news LATEST view */

.news-latest-container {
	font-size:10pt;
}

.news-latest-container H2,.news-latest-gotoarchive {
	padding:3px;
	margin:3px;
}

.news-latest-gotoarchive {
    position: absolute;
    visibility: hidden;
	color:#333;
	margin-top:5px;
}

.news-latest-gotoarchive A {
    position: absolute;
    visibility: hidden;
	color:rgb(204, 0, 0);
}

.news-latest-item {
	padding:3px;
	margin:3px;
}

.news-latest-item IMG {
    border: solid 1px #6F5230;
    position: relative;
    float: left;
    margin: 1.4em 1.8em 1.4em 0em;
    padding: 1px;
}

.news-latest-category IMG {
	float: none;
    border:none;
    margin:0px;
}

.news-latest-date {
    position: absolute;
    visibility: hidden;
}

.news-latest-morelink,.news-latest-category {
	font-size: 7pt;
	margin-bottom: 1.5em;
}

.news-latest-item H3 {
    padding-top:20px;
    font-size: 1.2em;
    padding-right: 28px;
    padding-bottom:2em;
    background-image: url('images/db2.gif');
    color: #333333;
    float: none;
    position: relative;
    left: 0;
}

.news-latest-item H3 A {
text-decoration: none;
color: #333333;
}

.news-latest-item H3 A:hover {
text-decoration: underline;
color: #B96D00;
}

.news-latest-item H3 A:visited {
color: #333333;
}

.news-latest-item H3 A {
    font-size: 1em;
}

#secondarycontent .news-latest-container h2 {
    margin-bottom:2em;
    font-size: 1em;
    display: block;
    background-image: url('images/db2.gif');
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 28px;
}

#secondarycontent .news-latest-item H3 {
    font-size: 1em;
    background-image: none;
}

#secondarycontent .news-latest-item H3 A {
    font-size: .8em;
    background-image: none;
    font-weight: bold;
}

.news-latest-morelink {
	height:9pt;
	font-size: 7pt;
}

.news-latest-morelink A {
	float:right;
	font-size: 9pt;
	padding-bottom: 20px;
}

/* tt_news LIST view  --*/

.news-list-container {
}

.news-list-item {
	padding:3px;
	margin:3px;

}

.news-search-form {
    padding:3px;
	margin-bottom:5px;
	border:1px solid #333;

}

.news-search-emptyMsg{
    margin:0px;
}

.news-search-form FORM {
	margin:0px;
}

.news-list-container H3 {
    padding-top:20px;
    font-size: 1.2em;
    padding-right: 28px;
    padding-bottom:2em;
    background-image: url('images/db2.gif');
    color: #333333;
    float: none;
    position: relative;
    left: 0;
}

.news-list-container H3 A {
text-decoration: none;
color: #333333;
}

.news-list-container H3 A:hover {
text-decoration: underline;
color: #B96D00;
}

.news-list-container H3 A:visited {
color: #333333;
}

.news-list-container H3 A {
    font-size: 1em;
}

.news-list-container P {
}

.news-list-date {
	float: right;
	color: #333;
	width: 180px;
	text-align: right;
	height: 20px;
	margin-top: -2px;
	margin-right: -2px;
	font-size: 9px;
	font-weight: normal;
	background-color: #FFF;
	visibility: hidden;
	position: absolute;
}

.news-list-imgcaption {
	float: right;
	padding-top:3px;
	padding-right:3px;
	font-size: 9px;

}

.news-list-container IMG {
    border: solid 1px #6F5230;
    position: relative;
    margin: 1.4em 0em 1.4em 1.8em;
    padding: 2px;
	float: right;
}

.news-list-category IMG {
	float: none;
    border:none;
}

.news-list-morelink,.news-list-category {
	font-size:10pt;
    margin-left:3px;
}

.news-list-morelink  {
    margin-bottom:3px;
}

.news-list-browse {
	text-align: center;
}

/*  tt_news Page-Browser */

.tx-ttnews-browsebox {
	margin:3px;
	border:1px solid #333;
	padding:3px;
	background-color:#FFF;
}

.tx-ttnews-browsebox TD {
	font-size: 10px;
}

.tx-ttnews-browsebox-strong, .tx-ttnews-browsebox-SCell {
	font-weight: bold;
}

.tx-ttnews-browsebox-SCell P,.tx-ttnews-browsebox TD P{
	margin:0px;
}

.tx-ttnews-browsebox-SCell {
	background-color: #BBE53A;
	border:1px solid #333;
}

.news-search-emptyMsg {
	font-size: 11px;
	margin-left: 10px;
}

/* tt_news SINGLE view  */

.news-single-item {
	padding:5px;
	margin-bottom:5px;

}

.news-single-item H2 {
	font-size: 16px;
	font-weight:bold;
	color: #333;
	margin-bottom: 0px;
}

.news-single-item H3 {
    font-size: 13px;
	margin-bottom: 15px;
	background: none;
}

.news-single-img {
    border: solid 1px #6F5230;
    position: relative;
    margin: 0em 0em 1.4em 1.8em;
    padding: 3px;
	float: right;
}

.news-single-imgcaption {
	padding:3px;
	clear:both;
	display:none;
}

.news-single-category {
	float: right;
}

.news-single-backlink, .news-single-backlink a {
	font-weight: bold;
	font-size:10pt;
	margin-bottom: 15px;
	margin-top: 10px;
}

.news-single-timedata {
	float: right;
	visibility: hidden;
}

.news-single-timedata, .news-single-imgcaption {
	font-size: 11px;
}

.news-single-item .news-single-author {
    font-size: 0px;
	padding-bottom: 0px;
	visibility: hidden;
}

.news-single-additional-info {
	clear: both;
	margin-top: 15px;
    padding:3px;
    padding-bottom:0px;
}

.news-single-related,.news-single-files,.news-single-links  {
    margin:0px;
	margin-bottom: 3px;
    padding:3px;
}

.news-single-related DD, .news-single-links DD, .news-single-files DD {
    margin-left:20px;
}

.news-single-related DT, .news-single-links DT, .news-single-files DT {
	font-weight: bold;
	font-size: 11px;
    margin-left:5px;
    width:90%;
}

/* tt_news Archivemenu (AMENU) */

.news-amenu-container {
	margin-top:10px;
	padding:3px;
	border:1px solid #333;
	background-color:#FFF;
}

.news-amenu-container LI {
	padding-bottom:1px;
}

.news-amenu-container UL {
	padding:3px;
	margin-top:5px;
	margin-left:0px;
	margin-bottom:0px;
	border:1px solid #333;
	background-color:#FFF;
	list-style-type: none;
}

.news-amenu-container H2 {
	color:#fff;
	padding:3px;
	border:1px solid #333;
	background-color:#769024;
}

.news-amenu-item-year {
	font-weight: bold;
	border: 1px solid #333;
	padding: 2px;
	color:#333;
}

/* Forms */

.csc-mailform, .contactform {
    background: #FDFCF6 url('images/boxbg.gif') repeat-x;
    padding: 1.5em;
    border: 0;
    border-bottom: solid 1px #E1D2BD;
    margin-bottom: 1.0em;
}

.csc-mailform-field, .contactform div {
     clear: both;
     padding-top: 5px;
}

.csc-mailform-field label, .contactform label, .csc-mailform-label {    
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 100px; 
	padding: 0;
	padding-right:5px; 
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
}

.csc-mailform-field input, .csc-mailform-field textarea, .contactform input, .contactform textarea, .contactform select {
	width: auto;
    margin: 5px 0 0 10px;
}

.csc-mailform-field .csc-mailform-submit, .contactform #mailformformtype_mail { 
	float: none; 
	display: inline; 
	margin:0;
	margin-top: 10px;
	padding:0;
	margin-left: 115px;
}

.contactform select.combo {width:275px; padding:2px; border:solid 1px rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:110%; }

.contactform input.field {width:275px; padding:2px; border:solid 1px rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:110%;}

.contactform textarea {width:275px; padding:2px; border:solid 1px rgb(200,200,200); font-family:verdana,arial,sans-serif; font-size:110%;}

.contactform input.button {float:right; width:9.0em; margin-right:20px; padding:1px !important /*Non-IE6*/; padding:0 /*IE6*/; background:rgb(230,230,230); border:solid 1px rgb(150,150,150); text-align:center; font-family:verdana,arial,sans-serif; color:rgb(150,150,150); font-size:110%;}

.contactform input.button:hover {cursor: pointer; border:solid 1px rgb(80,80,80); background:rgb(220,220,220); color:rgb(80,80,80);}



/* List */

ul.csc-bulletlist, ul.csc-menu {
padding: 1.0em 2.0em;
background: #FDFCF6 url('images/boxbg.gif') repeat-x;
border: 0;
border-bottom: solid 1px #E1D2BD;
}

ul.csc-bulletlist li, ul.csc-menu li
{
line-height: 1.5em;
padding-bottom: 1em;
}

/* Indexed search */

.tx-indexedsearch-res table {
    background: #FDFCF6 url('images/boxbg.gif') repeat-x;
    border: 0;
    border-bottom: solid 1px #E1D2BD;
    margin-bottom: 1.0em;
    width: 100%;
    padding: 1em;
}

.tx-indexedsearch-searchbox td {
    padding: .5em;
}

.tx-indexedsearch-icon img {
    border: 0;
    padding: .5em;
}

.tx-indexedsearch-descr {
    padding-top: 1em;
    padding-bottom: 1em;
}

.tx-indexedsearch-redMarkup {
    color: #B96D00;
}

.tx-indexedsearch-info br {
    line-height: 1.5em;
}

.csc-sword {
    font-weight: bold;
}

.tx-psmhighlight-sword, .csc-sword { background-color: #E1D2BD; }
.tx-psmhighlight-sword-1 { background-color: #E1D2BD; }
.tx-psmhighlight-sword-2 { background-color: #F2CFB0; }
.tx-psmhighlight-sword-3 { background-color: #EDCCBA; }

/*
 * Remove Google ads
 */
iframe[name='google_ads_frame'],
a[href^='http://pagead2.googlesyndication.com']
{ display: none ! important; }

/*
 * Remove Yahoo ads
 */
iframe[src^='http://ypn-js.overture.com']
{ display: none ! important; }
