body {
  color: #000000;
  background-color: #306394;
  font-family: arial,sans-serif,helvetica;
  font-size: 12;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 20px;
}

.kehys {
  background-color: white;
  width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border-style: solid;
  border-color: black;
  border-width: 2px;
  vertical-align: top;
}

.perus {
  background-color: white;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border-width: 0px;
  vertical-align: top;
  font-family: verdana,helvetica;
  font-size: 12;
  text-align: left;
  line-height: 150%;
}

.index {
  background-color: white;
  width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border-width: 0px;
  vertical-align: top;
  font-family: verdana,helvetica;
  font-size: 12;
  text-align: left;
  line-height: 150%;
}

.vieraskirja {
  background-color: white;
  width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border-width: 0px;
  vertical-align: top;
  font-family: verdana,helvetica;
  font-size: 12;
  text-align: left;
  line-height: 150%;
}

.koirat {
  background-color: white;
  width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border-width: 0px;
  vertical-align: top;
  font-family: verdana,helvetica;
  font-size: 12;
  text-align: left;
  line-height: 150%;
}

.linkkirivi {
  background-color: d7d3bf;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  text-align: center;
  vertical-align: top;
  font-family: arial,sans-serif,helvetica;
  font-size: 14;
  font-weight: bold;
  letter-spacing: 2;
}

.otsikko {
  font-family: verdana,helvetica;
  font-size: 14;
  font-weight: bold;
  text-align: left;
  letter-spacing: 2;
}

.teksti {
  font-family: verdana,helvetica;
  font-size: 12;
  text-align: left;
  line-height: 150%;
}

.boldleft {
  font-family: verdana,helvetica;
  font-size: 12;
  font-weight: bold;
  text-align: left;
  line-height: 150%;
}

.boldcenter {
  font-family: tahoma,sans-serif,helvetica;
  font-size: 12;
  font-weight: bold;
  text-align: center;
  line-height: 150%;
}

.galleria {
  background-color: transparent;
  width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  border-width: 0px;
  vertical-align: top;
  font-family: verdana,helvetica;
  font-size: 12;
  text-align: left;
  line-height: 150%;
}

table,tr,td {
  background-color: transparent;
  vertical-align: top;
}

a:link {
  color:#000000;
  font-weight:bold;
  text-decoration:none;
}

a:active {
  color:#000000;
  font-weight:bold;
  text-decoration:none;
}

a:visited {
  color:#000000;
  font-weight:bold;
  text-decoration:none;
}

a:hover {
  color:#0000ff;
  font-weight:bold;
  text-decoration:none;
}

.pieniteksti {
  font-family: tahoma,sans-serif,helvetica;
  font-size: 10;
  text-align: left;
  font-weight: normal;
  line-height: 125%;
}

.keskitys {
  position: absolute;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* ========= jsphoto ========= */


/* Ideal style sheet for resolution 1024x768 and above */

/* top-level container */
.jsphoto {
  text-align: center;
  background-color: #fcfcfc;
  width: 945px;
}

/* titlerow */
.jsphototitlerow {
  width: 100%;
  background-color: #eaebdd;
  text-align: center;
}

/* title of index and single-image pages */
.jsphototitle {
  width: 670px;
  text-align: left;
  font-family: tahoma,sans-serif,helvetica;
  font-weight: bold;
  font-size: 14;
  border: 0; 
  background: transparent;
  margin-left: 8px;
}

/* default state of a button */
.jsphotobutton {
  width: 40px;
  height: 40px;
  border: solid 2px transparent;
}

/* button with mouse cursor over it */
.jsphotobutton:hover {
  background-color: #f0f0f0;
  border: outset 2px;
}

/* button activated with mouse button */
.jsphotobutton:active {
  background-color: #f0f0f0;
  border: inset 2px;
}

/* disabled button */
.jsphotobutton[disabled] {
  background-color: transparent;
  border: solid 2px transparent;
}

/* thumbnails page */
.jsphotothumbs {
  border: 0;
  padding-top: 4px;
  padding-bottom: 40px;
}

/* box containing thumbnail and title */
.jsphotothumbbox {
  width: 190px;
  height: 140px;
  vertical-align: top;
  text-align: center;
  padding: 0;
}

/* thumbnail image */
.jsphotothumbnail {
  border-style: solid; 
  padding: 0px;
  margin: 0px;
}

/* title of thumbnail image */
.jsphotothumbtitle {
  text-align: center;
  font-family: tahoma,sans-serif,helvetica;
  padding-top: 0px;
  font-size: 12;
  padding-bottom: 2px;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* box containing single enlarged image */
.jsphotosingle {
  text-align: center;
  padding: 0;
  margin: 0;
}

/* properties of the enlarged image */
.jsphotolarge {
  margin: 0;
  border-style: solid;
}

/* search page */
.jsphotosearch {
  padding: 2ex;
  text-align: left;
}

/* active link containing an image */
A.jsphotolink:link {
  color: #0000ff;
  text-decoration: none;
}
A.jsphotolink:active {
  color: #0000ff;
  text-decoration: none;
}
A.jsphotolink:visited {
  color: #0000ff;
  text-decoration: none;
}
A.jsphotolink:hover {
  color: #ff0000;
  text-decoration: none;
}

/* hidden tab/thumbnail */
.jsphotohidden {
  display: none;
}

/* visible tab */
.jsphotovisible {
  display: block;
  width: 100%;
  height: 641px;
}

/* controls in search page */
.jsphotolabel {
  padding-right: 1em;
  vertical-align: top;
}

.jsphotokeywords {
  width: 100%;
}

.jsphotokeyword {
  padding-right: 2ex;
}

.jsphotosearchbtns {
  margin-top: 2ex;
  text-align: center;
}
