html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}
nav ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}

h1 {
    font-size: 2.5em; /* 40px/16=2.5em */
}

h2 {
    font-size: 1.875em; /* 30px/16=1.875em */
}

h3 {
    font-size: 1.2em; 
}


p {
    font-size: 1em; /* 14px/16=0.875em */
}

#main {
  position:relative;
  background-color: #FF99CC;
  width:100em;
  margin: 0px auto;

}

#ylatunniste {
  background-color: #58ACFA;
  border-style:solid;
  border-width:10px;
  border-color:#58ACFA;
  margin: 0;
  height: 3em;
  width:100em;

}

#pohja
{
background-image: url(tausta.jpg);
background-repeat: no-repeat;
background-size: cover;

}

#ylaosa
{
  position:absolute;
  height:27em;
  top: 3em;
  background-color: #CCCCfc;
  border-style:solid;
  border-width:10px;
  border-color:#FFFF00;
  width:100em;
}

.logo
{
  position:absolute;
  height: 10em;
  left:0em;
  top:0em;
}



#kuva1
{
  position:absolute;
  width:60em;
  height: 20em;
  left:16em;
  top:0em;
}

#lohko1
{
  position:absolute;
  text-align: center;
  top: 30em;
  left:0em;
  width:49em;
  height:30em;
  border-style:solid;
  border-width:10px;
  border-color:#FFFF00;
  background-color: #CCCCff;
  font-weight: bold;
padding: 0.5em;
}



#lohko2
{
  position:absolute;
  text-align: center;
  top: 30em;
  left:50em;
  width:49em;
  height:30em;
  border-style:solid;
  border-width:10px;
  border-color:#FFFF00;
  background-color: #CCCCff;
  font-weight: bold;
  padding: 0.5em;
}

#lohko3
{
  position:absolute;
  text-align: center;
  top: 60em;
  left:0em;
  width:49em;
  height:30em;
  border-style:solid;
  border-width:10px;
  border-color:#FFFF00;
  background-color: #CCCCff;
  font-weight: bold;
  padding: 0.5em;
}

#lohko4
{
  position:absolute;
  text-align: center;
  top: 60em;
  left:50em;
  width:49em;
  height:30em;
  border-style:solid;
  border-width:10px;
  border-color:#FFFF00;
  background-color: #CCCCff;
  font-weight: bold;
  padding: 0.5em;
}

#otsikko
{
  position:absolute;
  text-align: left;
  top: 16em;
  left:3em;
  width:30em;
}

#ajankohtaista
{
  position:absolute;
  width:20em;
  height: 20em;
  left:78em;
  top:6em;
  font-weight: bold;
  padding: 0.5em;
}
.linkit
{
  position:absolute;
  text-align: center;
  top: 0.5em;
  left:30em;
  width:36em;
}

#yv.logo
{
  position:absolute;
  height: 10em;
  left:1em;
  top:1em;
}


#alatunniste {
  background-color: #58ACFA;

  padding: 0.5em 1%;
  margin: 0;
  position: fixed;
  bottom: 0em;
  left: 0em;
  right: 0em;
  height: 6em;

}

a:link {
  text-decoration: none;
  color: blue;
}
a:visited {
  background: transparent none repeat scroll 0%;
  color: #993399;
}
a:active {
  background: transparent none repeat scroll 0%;
  color: #990000;
}
a:hover {
  border-style: solid;
  border-color: #faf4e1 black black #faf4e1;
  border-width: 1px;
  padding: 2px;
  background: #ce9c52 none repeat scroll 0%;
  color: black;
}

ul {
  font-weight: bold;
  font-size: large;
}

ul {
  font-weight: bold;
  font-size: large;
}

#nav, #nav ul {
	float: left;
	width: 36em;
	list-style: none;
	line-height: 1;
	background: white;
	font-weight: bold;
	padding: 0;
	border: solid #eda;
	border-width: 1px 0;
	margin: 0 0 1em 0;
}

#nav a {
	display: block;
	width: 10em;
	w\idth: 6em;
	color: #7C6240;
	text-decoration: none;
	padding: 0.25em 2em;
}

#nav a.daddy {
	background: url(rightarrow2.gif) center right no-repeat;
}

#nav li {
	float: left;
	padding: 0;
	width: 10em;
}

#nav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 14.4em;
	w\idth: 13.9em;
	font-weight: normal;
	border-width: 0.25em;
	margin: 0;
}

#nav li li {
	padding-right: 1em;
	width: 13em
}

#nav li ul a {
	width: 13em;
	w\idth: 9em;
}

#nav li ul ul {
	margin: -1.75em 0 0 14em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

#nav li:hover, #nav li.sfhover {
	background: #eda;
}

/* Main Selectors */
body {
        background-color: #CCCCff;
	color: #000000;
}

a, a:visited {
	background-color: transparent;
	color: #0000FF;
}

a:hover {
	background-color: transparent;
	color: #FF0000;
}

/* Header */
div#header h1 {
	font-family: tahoma, arial, helvetica, sans-serif;
	text-align: center;
	background-color: transparent;
	color: #808080;
}

/* Thumbnail Index */
div#index {
	margin: 1ex 0 1ex 0;
	text-align: center;
}

div#index table {
	text-align: center;
	margin: 0 auto 0 auto;
}

div#index td.thumbcell {
	width: 100px;
	border-style: solid;
	border-color: #D7D7D7;
	border-width: 1px;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
}

div#index td.thumbcell img {
	border-style: none;
}

div#index div.pages {
	font-family: tahoma, arial, helvetica, sans-serif;
	font-size: 0.8em;
	text-align: right;
}

/* Photo Navigation */
div#navigation {
	text-align: center;
	font-family: tahoma, arial, helvetica, sans-serif;
	font-size: 0.8em;
	margin: 1ex 0 1ex 0;
}

div#navigation table {
	text-align: center;
	margin: 0 auto 0 auto;
}

div#navigation td.previous {
	text-align: left;
	width: 100px;
}

div#navigation td.index {
	text-align: center;
}

div#navigation td.next {
	text-align: right;
	width: 100px;
}

div#navigation td.thumbcell {
	width: 100px;
	border-style: solid;
	border-color: #D7D7D7;
	border-width: 1px;
	text-align: center;
	vertical-align: middle;
	padding: 10px;
}

div#navigation td.thumbcell img {
	border-style: none;
}

div#navigation td.selected {
	border-style: outset;
	border-width: 2px;
}

div#navigation span.home {
	display: block;
	padding-bottom: 1em;
}

/* Photograph */
div#photograph {
	text-align: center;
	margin: 1ex 0 1ex 0;
}

div#photograph img {
	margin: 0 auto 0 auto;
	border-style: solid;
	border-color: #808080;
	border-width: 1px;
}

/* Photograph Title */
h1.title {
	text-align: center;
	font-family: tahoma, arial, helvetica, sans-serif;
	font-size: 0.8em;
	font-weight: bold;
	margin: 0px;
}

/* Photograph Caption */
p.caption, p.description {
	font-family: tahoma, arial, helvetica, sans-serif;
	text-align: center;
	font-size: 0.8em;
	display: block;
	width: 1024px;
	margin: auto;
}

/* Footnote */
p.footnote {
	font-family: tahoma, arial, helvetica, sans-serif;
	font-size: 0.6em;
	text-align: right;
	padding: 0 2em 0 0;
}
footer{
	clear: both;
	position:absolute;
	text-align: center;
	top:91em;
	left:0em;
	width: 100em;
	height:8em;
	border-style:solid;
	border-width:10px;
	border-color:#58ACFA;
	background-color: #58ACFA;
	font-weight: bold;

}