﻿
/* get rid of surroundings */
* {
  margin: 0;
  padding: 0;
  border: 0;
}

a {
  color: black;
}

/* .. for body, in general */
body {
  /* positionings */
  margin-left: auto;
  margin-right: auto;
  /* dimensions */
  width: 800px;
  /* decorations */
  /*background-color: #feffc3;*/
  background-color: #C69200;
}

div.menu {
  margin-top: -5px;
}

table.menu {
  width: 800px;
  border-collapse: separate;
  border-spacing: 0px;
}

a.menubutton {
  display: block;
  height: 25px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: top left;
  position: relative;
}

a.menubutton span {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 25px;
  width: 100%;
}


a.menubutton#etusivu span {
  background: url(img/etusivu.jpg);
}

a.menubutton:hover#etusivu span {
  background: url(img/hover/etusivu.jpg);
}

a.menubutton#etusivu {
  width: 80px;
}


a.menubutton#esittely span {
  background: url(img/esittely.jpg);
}

a.menubutton:hover#esittely span {
  background: url(img/hover/esittely.jpg);
}

a.menubutton#esittely {
  width: 72px;
}


a.menubutton#nasta span {
  background: url(img/nasta.jpg);
}

a.menubutton:hover#nasta span {
  background: url(img/hover/nasta.jpg);
}

a.menubutton#nasta {
  width: 61px;
}


a.menubutton#vinha span {
  background: url(img/vinha.jpg);
}

a.menubutton:hover#vinha span {
  background: url(img/hover/vinha.jpg);
}

a.menubutton#vinha {
  width: 58px;
}


a.menubutton#kuulumisia span {
  background: url(img/kuulumisia.jpg);
}

a.menubutton:hover#kuulumisia span {
  background: url(img/hover/kuulumisia.jpg);
}

a.menubutton#kuulumisia {
  width: 94px;
}


a.menubutton#galleria span {
  background: url(img/galleria.jpg);
}

a.menubutton:hover#galleria span {
  background: url(img/hover/galleria.jpg);
}

a.menubutton#galleria {
  width: 75px;
}


a.menubutton#videot span {
  background: url(img/videot.jpg);
}

a.menubutton:hover#videot span {
  background: url(img/hover/videot.jpg);
}

a.menubutton#videot {
  width: 66px;
}


a.menubutton#vieraskirja span {
  background: url(img/vieraskirja.jpg);
}

a.menubutton:hover#vieraskirja span {
  background: url(img/hover/vieraskirja.jpg);
}

a.menubutton#vieraskirja {
  width: 100px;
}


a.menubutton#linkkeja span {
  background: url(img/linkkeja.jpg);
}

a.menubutton:hover#linkkeja span {
  background: url(img/hover/linkkeja.jpg);
}

a.menubutton#linkkeja {
  width: 83px;
}


a.menubutton#yhteystiedot span {
  background: url(img/yhteystiedot.jpg);
}

a.menubutton:hover#yhteystiedot span {
  background: url(img/hover/yhteystiedot.jpg);
}

a.menubutton#yhteystiedot {
  width: 111px;
}


div.body {
  height: 405px;
  background: url(img/background.jpg);
  background-repeat: no-repeat;
}

div.plaincontentcontainer {
  height: 359px;
  width: 691px;
  float: right;
  margin-top: 30px;
  margin-left: 80px;
  margin-right: 36px;
  padding: 10px;
}

div.contentcontainer {
  background: url(img/contentbackground.jpg);
  background-repeat: no-repeat;
  background-position: 0px 0px;
  height: 359px;
  width: 531px;
  float: right;
  margin-top: 30px;
  margin-left: 80px;
  margin-right: 16px;
  padding: 10px;
}

div.contentscroll {
  width: 506px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 15px;
}

div.content {
  float: right;
  height: 339px;
  width: 100%;
  text-align: left;
  word-wrap: break-word;
}

div.submenu {
  padding-top: 60px; /* was 30px */
  padding-left: 20px;
}

div.submenu a {
  font-family: sans-serif;
  font-size: 0.9em;
  font-weight: bold;
  color: #593802;
}

div.submenu li {
  margin: 0px 0px 0px 10px;
}

div.submenu li.activemenuitem {
  list-style-image: url(img/paw.png);
}

div.submenu li.deactivemenuitem {
  list-style-type: none;
  list-style-image: none;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

div.footer {
  float: left;
  height: 10px;
  position: relative;
  top: 30px;
}

div.content h1 {
  margin-bottom: 0.5em;
  font-family: sans-serif;
  font-size: 1.0em;
}

div.content h2 {
  margin-bottom: 0.5em;
  font-family: sans-serif;
  font-size: 0.9em;
}

div.content hr {
  width: 80%;
  border: 1px solid #593802;
  margin: 0.9em auto 0.9em auto;
}

div.content p {
  margin-bottom: 0.5em;
  font-family: serif;
  font-size: 0.9em;
}

/* .. for copyright */
p.copyright {
  /* dimensions */
  width: 100%;
  padding-top: 20px;
  padding-bottom: 10px;
  /* decorations */
  color: #593802;
  font-family: monospace;
  font-size: 0.8em;
}

/* .. for lists */
div.content ol {
  font-family: serif;
  font-size: 0.9em;
  list-style: circle;
  list-style-position: inside;
}

/* .. for images, in general */
img {
  border: 0;
}

/* .. for cotent images */
div.content img {
  padding: 0.5em;
}

img.left {
  float: left;
}

img.right {
  float: right;
}

img.center {
  margin-left: auto;
  margin-right: auto;
}

img.small {
  width: 128px;
}

img.medium {
  width: 192px; 
}

img.large {
  width: 320px; 
}

img.big {
  width: 512px;
}

img.full {
  width: 576px;
}

/* Credits: Dynamic Drive CSS Library */
/* URL: http://www.dynamicdrive.com/style/ */
.thumbnail {
  position: static;
  z-index: 50;
}

.thumbnail:hover {
  background-color: transparent;
  z-index: 50;
}

.thumbnail span { /*CSS for enlarged image*/
  position: fixed;
  background-color: #f9e8b2;
  padding: 5px;
  border: 2px solid #cbccc4;
  visibility: hidden;
  display: none;
  color: black;
  text-decoration: none;
  z-index: 50;
}

.thumbnail span img { /*CSS for enlarged image*/
  border-width: 0;
  padding: 2px;
  z-index: 50;
}

.thumbnail:hover span { /*CSS for enlarged image on hover*/
  visibility: hidden; /* popup disabled */
  top: 0;
  left: 100px; /*position where enlarged image should offset horizontally */
  z-index: 50;
}

