
/*
##################################################################
# Historiakone 2008-2009
# Agricola - Suomen historiaverkko
# Antti-Jussi Nygård
# template/css/style.css
# Muut tyylit
#
##################################################################
*/

/* Punainen kehys pois aktiivisista linkeistä...*/
a:active
{
outline: none;
}

a:focus
{
-moz-outline-style: none;
}


/* Linkit */
a{
	text-decoration: none;
	color: #003399;
}

a:visited {
	text-decoration: none;
	color: #FF6600;
}

.linklike{
	color: #003399;
	cursor:pointer;
}


/* Tekstit */

#content{
	font-family: "Helvetica Neu", Helvetica, Arial, sans-serif;
	font-weight: 300;	
	font-size: 15px;
	line-height: 24px;
}

#content h2{
	font-weight: 500;
	font-size: 28px;
	line-height: 32px;
	padding: 20px 0 10px 0;
	color: #333;
	text-shadow: 1px 1px 2px #999;

	
}

#content h3{
	font-weight: 300;
	font-size: 20px;
	line-height: 24px;
	padding: 15px 0 0px 0;
	color: #333333;
}

#content p{
	margin: 10px 0 0 0;
}

#content blockquote{
	margin: 10px 15px 10px 15px;
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: 300;
}
#content blockquote p strong{
	font-weight: 300;
}

#content ul{
	margin: 5px 0px 10px 25px;
	list-style-type: square;
}

#content table{
	font-family: "Helvetica Neu", Helvetica, Arial, sans-serif;
	border: none;
}
#content tr, #content td, #content th{
	border: none;
}

#content th{
	background: #423109;
	color: #ffffff;
}

tr:nth-child(odd)		{ background-color:#F0EDDD; }
tr:nth-child(even)		{ background-color: none; }




/* Kuvat */

#content img{
	
	border: none;

}

.kuvaboksi{
	border: 1px solid #999999;
	background: #ffffff;
	margin: 8px;
	padding: 6px;	
}
.kuvateksti{
	font-size: 0.9em;
	color: #444444;
	margin-top: 6px;
}


/* Teeman aiheiden listaus */

#teeman_sivulista {
	width: 320px;
	margin: 250px 20px 0 200px;
}
#teeman_sivulista li{
	list-style-type: none;
	border: 1px solid white;
	padding: 5px;
	margin: 4px 0 4px 0;
	font-size: 1.3em;
	background: url(../images/transparent_white.png);
	
}
#teeman_sivulista li:hover{
	background: white;
	
}
#teeman_sivulista a, #teeman_sivulista a:visited, #teeman_sivulista a:hover, #teeman_sivulista a:active{
	color: #222222;
	display: block;
}


/* Vuosien selaus */

#vuosiselauslaatikko{
	width: 76px;
	height: 48px;
	background: url(../images/vuosi_tausta.png) top left no-repeat;
	margin: 3px 0 0 0;
}


#vuosiselaus li{
	list-style-type: none;
	padding: 0 0 0 16px;
}

#vuosiselaus li.next, #vuosiselaus li.previous{
	height: 14px;
	padding: 0 0 0 23px;
}

#vuosiselaus h3{
	display: block;	
}


#vuosiselaus img{
	border: none;
	display: block;
}
#vuosiselaus img.next, #vuosiselaus img.previous{
	padding: 2px 0 2px 0;
}
#vuosiselaus img.next:active{
	padding: 0px 0 4px 0;
}
#vuosiselaus img.previous:active{
	padding: 4px 0 0px 0;
}

.valittu-vuosi{
	border:0; background: none; font-size: 16px; color:#000000; font-weight:bold; width: 45px; cursor:pointer;
}
.valittu-vuosi:hover{
	-moz-text-shadow:  0px 0px 2px #ffffff, 0px 0px 4px #FFFFA6; 
	-webkit-text-shadow:  0px 0px 2px #ffffff, 0px 0px 4px #FFFFA6; 
	text-shadow: 0px 0px 4px #ffffff, 0px 0px 8px #FFFFA6;  
}

/* Paluunappi */
#paluu{
	width: 100%;
	height: 30px;
	margin: 20px 0 0 0;
}
#paluu img{
	margin: 2px 0 2px 6px;
	border: none;
}
#paluu img:hover{
	margin: 1px 0 3px 5px;
	border: none;
}


/* Teemojen napit*/
#teemanapit{
	margin: 5px 0 0 3px;
}

#teemanapit li{
	list-style-type: none;	
	background-position: 12px 1px;
	background-repeat: no-repeat;
	position: relative; /* peekaboo bug fix for IE6 */
	min-width: 0; /* peekaboo bug fix for IE7 */
}
 

#teemanapit img{
	border: none;
	display: block;
	padding: 0px 0 6px 2px;
}
#teemanapit img:hover{
	padding: 2px 0 4px 4px;
}
#teemanapit img.active, #teemanapit img.active:hover{	
	padding: 3px 0 3px 9px;
}

/* Päävlikkoon paluu*/
#paavalikkoon{
	margin: 8px 0 0 3px;
}
#paavalikkoon img:hover{
	-moz-box-shadow:  0px 0px 2px #ffffff, 0px 0px 4px #FFFFA6; 
	-webkit-box-shadow:  0px 0px 2px #ffffff, 0px 0px 4px #FFFFA6; 
	box-shadow: 0px 0px 4px #ffffff, 0px 0px 8px #FFFFA6; 	
}

/* Vuoden vilauttaminen */

#vuosinaytto{	
	position:relative;
	left:110px;
	top: 150px;
	width: 290px;
	height: 170px;
	text-align: center;
	vertical-align: middle;
	background-image: url(../images/iso_vuositausta.png);
	background-repeat: no-repeat;
	background-position: top left;
	display: none;
}
#vuosinaytto h2{
	font-size: 110px;
	color: #D97707;
	font-weight: bold;
	padding: 50px 20px 20px 20px;
	text-shadow: 1px 1px 4px#000;
}	


/* Loppuviitteet*/

#footnotes{
	margin: 20px 0 0 0;
}
#footnotes ol{
	margin: 5px 0 10px 25px;
}
#footnotes li{
	margin: 0 0 4px 0;
	color: #444444;
	font-size: 0.9em;	
}

#footnotes hr{
	width: 65%;
	color: #999999;	
}


/* Päävalikko */

#paavalikko{
	width: 640px;
	height: 480px;
	margin: 0 auto;
	background-image: url(../images/paavalikko.jpg);	
	background-position: top left;
	background-repeat: no-repeat;
	background-color: #ffffff;
	position: relative;
}

.tyokalut a{
	text-indent: -9999px;
	display: block;
	width: 220px;
	height: 115px;
	position: absolute;
	left: 107px;
	top: 51px;
}
.tyokalut a:hover{
	background: url('../images/tyokalut.png') no-repeat bottom left;
}

.haku a{
	text-indent: -9999px;
	display: block;
	width: 100px;
	height: 115px;
	position: absolute;
	left: 382px;
	top: 60px;
}
.haku a:hover{
	background: url('../images/haku.png') no-repeat bottom right;
}

.aikakone a{
	text-indent: -9999px;
	display: block;
	width: 170px;
	height: 180px;
	position: absolute;
	left: 227px;
	top: 162px;
}
.aikakone a:hover{
	background: url('../images/aikakone.png') no-repeat top center;
}

.lopetus a{
	text-indent: -9999px;
	display: block;
	width: 110px;
	height: 110px;
	position: absolute;
	left: 115px;
	top: 328px;
}
.lopetus a:hover{
	background: url('../images/lopetus.png') no-repeat center center;
}

.tekijat a{
	text-indent: -9999px;
	display: block;
	width: 90px;
	height: 95px;
	position: absolute;
	left: 390px;
	top: 342px;
}
.tekijat a:hover{
	background: url('../images/tekijat.png') no-repeat top center;
}


/* Haku */

#konehaku{
	width: 290px;
	float: right;
	background: url(../images/blue.png);
	padding: 10px;
     -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;	
}

#konehaku a{
	color: #333;
	font-size: 0.9em;
}

#konehaku input{
	font-size: 20px;
	padding: 5px;
	color: #333;
	border: 1px solid #333;
}

#konehaku h2{
	font-weight: 500;
	font-size: 28px;
	line-height: 32px;
	padding: 5px 0 5px 0;
	color: #4C6C87;
	text-shadow: 0 0 2px #3c1603, 0 0 3px #333;

}

div.normaltext{
	font-family: "Helvetica Neu", Helvetica, Arial, sans-serif;
	font-weight: 300;	
	font-size: 13px;
	line-height: 24px;	
	text-align: left;	
}
div.normaltext p{
	margin: 0 0 12px 0;
}
/* Dokumentit */
#dokumentti{
	width: 355px;
}

#dokumentti h2{
	margin: 0 0 12px 0;
	color: #333;
}

/* Tekijänoikeudet */
#tekijanoikeudet{
	float: right; width: 120px; margin: 4px;
}
#tekijanoikeudet a{
	color: #666;
}

/*Tilastokone*/

#tilastokone_legend{
	width: 150px; position: absolute; top: 100px; right: 15px; z-index: 2;
	text-align: left;
}
#tilastokone_legend li{
list-style-type: none;
}



