/*Yahoo! Inc. Reset and Base CSS files */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote{margin:0;padding:0;}table{/*border-collapse:collapse;border-spacing:0;*/}fieldset,/*img{border:0;}*/address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}

h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong{font-weight:bold;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;} em{font-style:italic;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{/*border:1px solid #000;padding:.5em;*/}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}p,fieldset,pre{margin-bottom:1em;}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}


/* Main CSS */

html {
	overflow-y: scroll;
}

body {
	background: #e6e7e8 url(gfx/bg.jpg) top left repeat-x;
	width: 900px;
	margin: 0px auto 0px auto;
	font-family: "Arial", "Trebuchet MS", "Helvetica", sans-serif;
	font-size: 1em;
}

#navigation {
	width: 900px;
	height: 70px;
	float: left;
}

#logo {
	float: left;
	margin-left: 30px;
	margin-top: 14px;
	border: 0px;
}

#ramses {
	position:absolute;
	top:0px;
	z-index:12;
	border: 0px;
}

#header {
	float: left;
	width: 900px;
	height: 270px;
	font-size: 0px;
}

#header img {
	border: 0px;
	width: 900px;
	height: 270px;
	
}

#headerfooter {
	float: left;
	margin: 0px;
	padding: 0px;
	width: 900px;
	height: 25px;
	background-image: url(gfx/headerfooter.jpg);
}

#content {
	background-color: #fff;
	float: left;
	width: 900px;
	font-size: 0.8em;
	color: #47484b;
}

#content a {
	color: #29688a;
	text-decoration: none;
}

#content a:hover {
	color: #1c4256;
}


#leftcontent {
	float: left;
	padding: 20px 20px 20px 50px;
	width: 560px;
	min-height: 300px;
}

#leftcontent a img {
	border-color: #29688a;
}

#leftcontent a img:hover {
	border-color: #1c4256;
}

#rightcontent {
	float: left;
	width: 270px;
	min-height: 300px;
	text-align: justify;
}


#papyrys {
	position: relative;
	z-index: 12;
	width: 200px;
	height: 220px;
	padding: 50px 30px 0px 30px;
	margin: -70px 0px 0px 5px;
	background: url(gfx/papyrus.png) no-repeat;
}

#papyrystext {
	float: left;
	margin-left: 6px;
	height: 23px;
}

#logo,#ramses,#papyrys,#papyrystext img  { behavior: url("gfx/iepngfix.htc") }

#papyrys ul {
	float: left;
	margin: 10px 0px 0px 20px !important;
	margin: 10px 0px 0px 10px;
}

#papyrys li {
	color: #523016;
	margin-bottom: 5px;
	list-style: none;
}

#papyrys li a {
	display: block;
	color: #523016;
	text-decoration: none;
	background: url(gfx/nuoli.gif) left top no-repeat;
	padding-left: 20px;
}

#papyrys li a:hover {
	color: #000;
	background: url(gfx/nuoli2.gif) left top no-repeat;
}

#address {
	width: 900px;
	float: left;
	padding: 10px 0px 10px 0px;
}

#info {
	float: left;
	width: 560px;
	font-size: 0.8em;
	color: #626365;
	border-top: 1px solid #ddddde;
	padding-top: 5px;
	margin-left: 50px !important;
	margin-left: 25px;
	text-align: center;
}

#righttext {
	float: left;
	width: 220px;
	margin-top: 10px;
	margin-left: 20px;
}

.text {
	margin-left: 10px;
}

/* Navigation */
#navigation li {
	display: inline;
}

#navigation ul {
	margin: 30px 0px 0px 0px;
	padding: 0px;
}



#navigation li a {
	float: right;
	
	color: #fff;
	font-weight: bold;
	font-size: 0.8em;
	text-decoration: none;
	border-left: 1px solid white;
	
	display: block;
	padding: 2px 16px 2px 16px;
}

#navigation li a.firstpage {
	border: 0px;
}



#navigation li a:hover {
	color: #ffd75e;
}

/* Ask form */

fieldset {
    margin: 0;
    padding: 0;
    width: 100%;
    border-style: none;
    float: left;
}

legend {
    margin-left: 1em;
    font-weight: bold;
}

fieldset ol {
    list-style: none;
    padding-left: 15px;
    margin-left: 0em;
}

fieldset li {
	list-style: none;
    float: left;
    clear: left;
    width: 100%;
    padding-top: 8px;
}

fieldset.forms {
    padding-top: 0px;
    border-style: none;
}

fieldset.forms ol {
    margin-left: -0.3em !important;
    margin-left: -2.7em;
}

label {
    display: block;
    float: left;
    width: 130px;
    margin-right: 0;
    text-align: left;
    margin-left: -1em !important;
    margin-left: 1em;
    font-weight: bold;
    padding-bottom: 8px;
}

.forms input {
    background-color: #e0e0e0;
    border: 1px solid #898a8c;
}

.forms select {
    background-color: #e0e0e0;
    border: 1px solid #898a8c;
}

.forms textarea {
    background-color: #e0e0e0;
    border: 1px solid #898a8c;
    width: 50%; 
    height: 140px;
}

.submit   {
    background-color: #e0e0e0;
    border: 1px solid #898a8c;
    padding: 2px 10px 2px 10px;
    margin-left: 126px !important;
    margin-left: 134px;
	margin-bottom: 15px;
	margin-top: 15px;
}

.submit:hover {
	background-color: #898a8c;
}

.reset   {
    margin-left: 10px !important;
	margin-bottom: 15px;
}

.reset:hover {
	background-color: #898a8c;
}

/*
 * Uutiset
 */

#papyrustmp {
	float: left;
	 min-height: 135px;
}

#papyrusuutiset {
	text-align: left;
	margin: 0px;
	min-height: 135px;
}

* html div#papyrustmp { 
   height: expression( this.scrollHeight < 146 ? "145px" : "auto" ); /* sets min-height for IE */
   min-height: 135px; /* sets min-height value for all standards-compliant browsers */
}

#uutinenala {
	margin: 0px 5px 0px 0px;
	font-size: 0.9em;
	float: right;
}

#uutinenala a {
	display: block;
	text-decoration: none;
	background: url(gfx/nuoli.gif) left top no-repeat;
	padding-left: 20px;
	color: #523016;
}

#uutinenala a:hover {
	background: url(gfx/nuoli2.gif) left top no-repeat;
	color: #000;
}

/* Old news */

#arkistouutinen {
	width: 100%;
}

#arkistootsikko {
	width: 100%;
	float: left;
}

#uutinenkeski {
	float: left;
	margin-top: 10px;
	
}

#uutinenkeski ul li {
	font-size: 0.9em;
}

#arkistopvm {
	font-size: 0.8em;
}

#arkistotiedot {
	font-size: 0.8em;
	width: 100%;
	float: left;
	margin: -14px 0px 10px 0px;
}

#arkistoteksti {
	width: 100%;
	float: left;
	margin-bottom: 20px;
}

#arkistoala {
	font-size: 11px;
	text-align: right;
	width: 100%;
	float: left;
}

#arkistovuodet {
	width: 100%;
	float: left;
	border-bottom: 1px solid #d2d2d4;
}

#arkistovuodet ul {
	margin: 0px;
}

#arkistovuodet li {
	font-size: 1.1em;
	padding-right: 8px;
	list-style: none;
  	float: left;
	margin-left: 0px;
  	display: block;
	
}

#arkistovuodet li a {
	text-decoration: none;
}

#slideshow {
   	position:relative;
    height:270px;
}

#slideshow A {
   	position:absolute;
    top:0;
    left:0;
    z-index:8;
}

#slideshow A.active {
  	z-index:10;
}

#slideshow A.last-active {
    z-index:9;
}

#copy {
	width: 900px;
	float: left;
	font-size: 0.6em;
	color: #79797a;
}

#copy a {
	text-decoration: none;
	color: #79797a;
}

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

#copyright {
	float: left;
}

#copyleft {
	float: right;
}







