
/* Footer & base container styles */
#container {
  position: relative;
  top: 0;
  width: 838px;
  /* height: 561px; */
  margin: 0 auto;
  /* padding-bottom: 50px; */
  /* border: 1px solid #f00; */
}

#footer {
  position: fixed;
  width: 100%;
  min-width:1200px;
  height: 50px;
  background-image: url('../images/footer-bg.png');
  bottom: 0px;
  left: 50%;
  margin-left: -512px;
  z-index: 997;
}

#footerContainer {
  height: 40px;
  margin-top: 10px;
  background-color: #fff;
}

UL#navi {
  float: left;
  margin-top: 1px;
}
UL#navi LI {
  font-family:'FuturaW01-BoldCondensed 774893',"arial narrow", sans-serif;
  font-style:normal;
  font-weight:normal;
  text-transform:uppercase;
  display:inline-block;
  list-style:none;
  font-size:18px;
  margin:4px 10px 0 0;
  padding:0;
}

UL#navi LI A {
  text-decoration:none;
  color: #bfbfbf;
}

UL#navi LI A:hover {
  text-decoration:none;
  color: #62bb46 !important;
}

#left {
  font-family:'Orator W01 Medium', sans-serif;
  float: left;
  margin-top:12px;
  margin-right: 30px;
  margin-left: 20px;
  font-size:11px;
}

#right {
  font-family:'Orator W01 Medium', sans-serif;
  margin-top:12px;
  font-size:11px;
  float: left;
  margin-left: 30px;
}

#footer .last {
  margin-right: 0;
}


#introtext P, #introtext LI {
  font-size:14px;

}

p {
  font-family: arial, sans-serif;
  color: #000;
  line-height: 1.5em;
  font-size:12px;
}

li {
  font-family: arial, sans-serif;
  color: #000;
  font-size: 1.2em;
  line-height: 1.5em;
  list-style: disc;
  margin-left: 15px;
}

h1 {
  font-family: 'FuturaW01-BoldCondensed 774893', "arial narrow" , sans-serif !important;
  color: #bfbfbf;
  font-size: 4em;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  margin-top: 15px;
}

h2 {
  font-family: 'FuturaW01-BoldCondensed 774893',"arial narrow", sans-serif;
  color: #fff;
  font-size: 3em;
  font-style: normal;
  font-weight: normal;
  margin-bottom: 10px;
}

a {
  color: #62bb46;
  font-weight: normal;
}

.column {
  float: left;
}

.page {
  position: relative;
  width: 838px;
  float: left;
  margin-bottom: 200px;
  /* border: 1px solid #0f0; */
}

.fixed {
  height: 662px;
}

/* Front page styles */
.family {
}

.family #flash {
  /* margin: 100px auto 0; */
  position: absolute;
  /* top: 100px; */
  top: 0px;
  left: -61px;
  /* left: 169px; */
}

.family .circle {
  position: absolute;
  top: 60px;
  right: 90px;
  cursor: pointer;
  z-index: 999;
}

/* People page styles */
.me {

}

.me P {
  font-family:'Orator W01 Medium',sans-serif;
}

.me .circles {
  margin-top: 25px;
}

.me .persons {
  /* margin: 20px 0 150px; */
  margin: 20px 0 0;
  width: 838px;
  position: relative;
}

.me .person {
  width: 200px;
  height: 240px;
  position: absolute;
  /* float: left; */
  /* margin-right: 10px; */
  cursor: pointer;
  text-align: center;
  /* background-image: url('../images/me-box.png') */
}

.me .person img.bg {
  position: absolute;
  top: 0px;
  left: 0px;
}

.me .person img.photo {
  position: absolute;
  left: 15px;
  top: 15px;
}

.me .person .info {
  text-align:center;
  position: absolute;
  left: 15px;
  top: 195px;
  width: 170px;
  /* border: 1px solid #f00; */
}

.me .person .name {
  text-align:center;
  color: #62bb46;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  margin-bottom: 0;
  line-height: 0.75em;
}

.me .person .title {
  text-align:center;
  margin-top: 3px;
  font-size: 12px;
  color: #666666;
  margin-bottom: 0;
}

.me .person .full {
  position: absolute;
  left: -25px;
  top: 207px;
  width: 250px;
  display: none;
  height: 95px;
  text-align:center;
  /* border: 1px solid #f00; */
}

.me .person .full .name {
  font-size: 12px;
  line-height: 1.5em;
}

.me .person .full .caption {
  line-height: 1em;
  margin-bottom: 3px;
}

.me .person .full .contact {
  color: #017987;
  font-size: 11px;
  line-height:11px;
}

.me .link {
  position: absolute;
  left: 676px;
  top: 153px;
  cursor: pointer;
}

.me .circle {
  position: absolute;
}


/* Work page styles */
.tyomme {
}

.tyomme p {
  line-height: 1.25em;
}

.tyomme li {
  line-height: 1.25em;
}

.tyomme .box {
  position: absolute;
  width: 220px;
  height: 245px;
  padding: 25px 25px 0 25px;
}

.tyomme .box1 {
  background-image: url('../images/tyomme-box-1.jpg');
  left: 0px;
  top: 150px;
}

.tyomme .box2 {
  background-image: url('../images/tyomme-box-2.jpg');
  left: 285px;
  top: 235px;
}

.tyomme .box3 {
  background-image: url('../images/tyomme-box-3.jpg');
  left: 575px;
  top: 315px;
}

.tyomme .circle {
  position: absolute;
  left: 517px;
  top: 75px;
}

.tyomme .arrow {
  position: absolute;
  left: 663px;
  top: 598px;
  cursor: pointer;
}

/* Cases page styles */
.caset {
}

.caset h2 {
  font-family:'FuturaW01-BoldCondensed 774893', "arial narrow", sans-serif !important;
  color: #62bb46;
  margin-bottom: 10px;
  margin-top:60px;
  margin-left:20px;
  text-align: left;
}


.caset LI {
  list-style:none;
  padding:0;
  text-align:left;
  margin:0 auto 0 20px;
  width:800px;
}

.caset LI IMG {
  text-align:center;
  margin:0 auto 0 auto;
}


.caset p {
  font-family:'Orator W01 Medium',sans-serif !important;
  font-size:14px;
  width: 800px;
  margin: 0 auto 20px;
}

.caset .cases {
  position: relative;
  margin-top: 60px;
}

.caset .case {
  margin: 30px auto;
}

.caset .thumbnail {
  width: 172px;
  height: 167px;
  background-image: url('../images/caset-box.jpg');
  float: left;
  margin-bottom: 10px;
  text-align: left;
}

.caset .thumbnail a {
  display: block;
  width: 142px;
  height: 137px;
  margin: 10px 0 0 10px;
}

/* News page styles */
.paivakirja {
  height: auto;
  margin:0 auto 0 auto;
}

/* .paivakirja h1 {
  margin-top: 100px;
} */

.paivakirja .list {
  width:850px;
}

.paivakirja p {
  font-family:sans-serif;
}

.paivakirja .window {
  position: relative;
  margin-top: 40px;
  width: 850px;
  height: auto;
}

.paivakirja h2, #lightbox h2 {
  color: #000;
  margin-bottom: 15px;
  line-height: 1em;
}

.paivakirja .item {
  float: left;
  width: 400px;
  height: 400px;
  background:#f5eace;
  margin-right: 25px;
  margin-bottom:25px;
  overflow:hidden;
  
  -moz-box-shadow: 0px 5px 10px #c8b268;
  -webkit-box-shadow: 0px 5px 10px #c8b268;
  box-shadow: 0px 5px 10px #c8b268; 
}

.paivakirja .itemContent {
  width: 340px;
  margin: 45px 0 0 30px;
}

.paivakirja .itemContent .more {
  float: left;
}

.paivakirja .itemContent .date, #lightbox .date {
  float: right;
}

.paivakirja .last {
  margin-right: 0;
}

.paivakirja .tree {
  position: absolute;
  top: 450px;
  left: 340px;
}

.paivakirja .prev {
  position: absolute;
  top: 493px;
  left: 263px;
}

.paivakirja .next {
  position: absolute;
  top: 493px;
  left: 517px;
}

.paivakirja .fullContent {
  display: none;
}

.paivakirja .left {
  position: absolute;
  left: 0;
  top: 0;
}

.paivakirja .right {
  position: absolute;
  left: 818px;
  top: 0;
}

#lightboxWrapper { display: none; }
#lightbox { }
   #lightbox .content { width: 423px; }
   #lightbox .contentWide { width: 650px; }
   #lightbox .contentWideX { width: 730px; }
   #lightbox .close {
    background-image: url('../images/case-sulje.gif');
    width: 66px;
    height: 29px;
    cursor: pointer;
    margin: 60px auto 0;
   }

/*
#lightboxWrapper {
  display: none;
}

#lightbox {
  width: 430px;
}

#lightbox .close {
  background-image: url('../images/case-sulje.gif');
  width: 66px;
  height: 29px;
  cursor: pointer;
  margin: 60px auto 0;
}
 
*/
/* Contact page styles */
.yhteydet {
  height: 602px;
  padding-bottom: 50px;
}

.yhteydet P {
  font-family:sans-serif;
}


.yhteydet .smallBox {
  position: absolute;
  width: 192px;
  height: 153px;
  left: 145px;
  top: 118px;
  background-image: url('../images/yhteydet-smallbox.png');
  padding: 25px 30px 0 30px;
  z-index: 3;
}
.yhteydet .smallBox A {
  color:#fff;
}

.yhteydet .smallBox h2 {
  margin-bottom: 10px;
}
.yhteydet .largeBox {
  position: absolute;
  left: 365px;
  top: 166px;
  width: 405px;
  background: #fff url('../images/yhteydet-largebox-bg.jpg') left top repeat-y;
  z-index: 0;
}

.yhteydet .largeBox .top {
  width: 405px;
  height: 19px;
  background: #fff url('../images/yhteydet-largebox-top.jpg') left top no-repeat;
}

.yhteydet .largeBox .bottom {
  width: 405px;
  height: 21px;
  background: #fff url('../images/yhteydet-largebox-bottom.jpg') left top no-repeat;
}

.yhteydet .largeBox .content {
  margin: 30px 0 30px 45px;
}

.yhteydet .largeBox .content p.title {
  color: #62bb46;
  font-size: 1.25em;
  font-weight: normal;
  margin-bottom: 0;
}

.yhteydet .largeBox .content .column {
  width: 160px;
  margin-right: 10px;
}

.yhteydet .largeBox .circle {
  position: absolute;
  left: 180px;
  bottom: -55px;
  z-index: 1;
}

.yhteydet .mapBox {
  position: absolute;
  width: 314px;
  height: 212px;
  left: 40px;
  top: 318px;
  background-image: url('../images/yhteydet-mapbox.jpg');
  z-index: 2;
  padding: 10px 0 0 10px;
}


/* Fancybox styles */
#fancybox-outer #fancy-bg-n,
#fancybox-outer #fancy-bg-ne,
#fancybox-outer #fancy-bg-e,
#fancybox-outer #fancy-bg-se,
#fancybox-outer #fancy-bg-s,
#fancybox-outer #fancy-bg-sw,
#fancybox-outer #fancy-bg-w,
#fancybox-outer #fancy-bg-nw {
  background-image: none;
}

#fancybox-title {
  position: absolute;
  padding: 0 !important;
  text-align: center;
  /*border: 1px solid #f00; /* ************************************************************ */
}

#fancy {
  position: relative;
  float: none;
  margin: auto;
  height: 30px;
  /* border: 1px solid #00f; /* ************************************************************ */
}

#fancy .title {
  position: relative;
  float: left;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: normal;
  color: #bfbfbf;
  font-size: 1.4em;
  margin-top: 5px;
  letter-spacing: -0.05em;

  /*border: 1px solid #f00; /* ************************************************************ */
}

#fancy .cases,
#fancy .close {
  position: relative;
  float: left;
  width: 102px;
  height: 25px;
  margin-right: 7px;
  background-image: url('../images/case-tyomme.gif');
  cursor: pointer;
  /*border: 1px solid #f00; /* ************************************************************ */
}
#fancy .close {
  width: 66px;
  height: 29px;
  margin-right: 0;
  margin-left: 5px;
  background-image: url('../images/case-sulje.gif');
}


#fancy .prev,
#fancy .next {
  position: relative;
  float: left;
  width: 16px;
  height: 24px;
  background-image: url('../images/case-arrow-left.gif');
  margin-top: 3px;
  margin-right: 7px;
  cursor: pointer;
  /*border: 1px solid #f00; /* ************************************************************ */
}
#fancy .next {
  margin-left: 13px;
  background-image: url('../images/case-arrow-right.gif');
}

