@charset "utf-8";#soita{display:none;}
#lisaatietoa{display:block;z-index:9000;position:fixed;left:50%;margin-left:-1.5em;bottom:1em;width:3em;height:3em;border-radius:1.5em;background-color:#2ddf90;color:#fff;line-height:4.25em;-webkit-transition:all 0.25s ease-in-out;-moz-transition:all 0.25s ease-in-out;-o-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out;}
#mailaa{display:none;}
html {scroll-snap-type:y proximity;}
.sp{font-family:'Calibri', serif;text-decoration:none;font-size:1.15em;color:#000;font-weight:light;}
.sps{font-family:'Calibri', serif;text-decoration:none;font-size:1.15em;color:#000;font-weight:light;}
figcaption{font-family:'Calibri', serif;text-decoration:none;font-size:1em;color:#606060;}
.stronp{padding-top:1em;}
fieldset {border:none;}
body{background-size:cover;background-color:#fff;padding:0;margin:0;}
section{height:100vh;padding-top:3em;}
section.no-top-padding{padding-top:0;}
a{color:#fff;font-size:1em;text-decoration:none;}
p{font-family:'Calibri', serif;text-decoration:none;font-size:1.25em;color:#606060;font-weight:light;}
strong{font-family:'Calibri', serif;text-decoration:none;font-size:1.5em;color:#f77f00;}
h5{font-family: 'Oswald', sans-serif;text-decoration:none;font-size:8em;color:#fff;margin:-1em;line-height:0.75em;}
h1{font-family: 'Oswald', sans-serif;text-decoration:none;font-size:2em;color:#000;margin-top:0;}
h2{font-family:'Calibri', serif;text-decoration:none;font-size:1.25em;color:#000;display:block;}
h3{font-family: 'Oswald', sans-serif;text-decoration:none;font-size:1.5em;color:#000;margin-top:0;line-height:0.75em;}
#nav{position:fixed;top:0;width:100%;font-size:1em;text-align:center;padding-left:0;z-index:3;background:rgb(255, 255, 255,0);}
#navtop{width:100%;height:4em;font-size:1em;text-align:center;}
/* video#bgvid{padding:0;margin:0;z-index:-10;background:url(../img/paetkae1.jpg) no-repeat;background-size:100% 100%;} */
video {object-fit: cover;width: 100vw;height: 100vh;position: absolute;top: 0em;left: 0;}
img.zoom {width:100%}
.logo {position: relative;height: 100vh;text-align: center;display: flex;align-items: center;width:auto;justify-content: center;}
.kolmasosa {float:left;min-width:25em;max-width:30em;}
.kolmasosaloput {overflow-x: auto;min-width:25em;max-width:30em;}
h1.keskitys {text-align:center;}
.kortticontainer {display:flex;margin:2em;background-color:rgb(240,240,235);}
.korttikuva img {width:10em;}
.korttitieto {padding-left:2em;padding-top:1em;padding-bottom:1em;padding-right:2em;}
.korttitieto p {font-size:1.2em;text-decoration:none;}
#yhteystiedot {background: url(kortetalo-edit.webp) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;height:auto;}
.yhteystietoinfo {display:flex;flex-direction:column;padding-left:2em;}
#navbottom{width:100%;font-size:1em;text-align:center;background:rgba(0,0,0,0);padding:0;padding-bottom:0.5em;height:auto;color:#fff;}
#navbottom.active{background:rgb(255, 255, 255);}
.kaare{overflow:hidden;}
.sisalto{margin-top:-150%;width:100%;-webkit-transition:margin-top 0.25s cubic-bezier(1,0,1,.05);-moz-transition:margin-top 0.25s cubic-bezier(1,0,1,.05);-o-transition:margin-top 0.25s cubic-bezier(1,0,1,.05);transition:margin-top 0.25s cubic-bezier(1,0,1,.05);}
.sisalto.nayta{margin-top:0px;-webkit-transition:margin-top 0.25s cubic-bezier(.22,.91,.13,1);-moz-transition:margin-top 0.25s cubic-bezier(.22,.91,.13,1);-o-transition:margin-top 0.25s cubic-bezier(.22,.91,.13,1);transition:margin-top 0.25s cubic-bezier(.22,.91,.13,1);}
.teksti li{list-style-type:none;}
.lisaa h2:hover{cursor:pointer;}
.navi{width:auto;height:2em;line-height:2.5em;display:inline-block;}
a.navi{font-size:1.2em;color:rgb(200,200,200);font-weight:100;}
a.navi.active{color:rgb(255,255,255);}
a.navi:hover{color:rgb(150,150,150);}
#nav ul li{list-style:none;margin:3px 0px 3px 0px;display:inline;font-family: 'Oswald', sans-serif;text-decoration:none;padding:0;}
#nav ul{padding:0;margin:0;}
.active{-webkit-transition:0.5s ease-in-out;-moz-transition:0.5s ease-in-out;-ms-transition:0.5s ease-in-out;-o-transition:0.5s ease-in-out;transition:0.5s ease-in-out;color:#e9f4f4;}
.viiva{width:10%;height:auto;border:none;display:inline-block;color:rgb(255,255,255);text-align:center;}
.ylaosa{width:100%;padding:0;clear:both;background:rgba(0, 0, 0, 0);overflow:hidden;}
.otsikko-osa{width:100%;height:auto;padding:0;clear:both;background-color:#fff;overflow:hidden;margin:0;position:relative;padding-top:3em;z-index:1;}
.nappikoko{margin-top:3em;width:8em;height:8em;}
.otsikko-osa2{width:100%;padding:0;padding-bottom:10em;clear:both;background-color:#009ea0;overflow:hidden;margin:0;position:relative;background:url(../img/kpaperi.png) repeat;}
.keskiosa{width:100%;background-color:#ffffff;padding:0;margin:0;}
#lisaeae.keskiosa2{width:100%;background-color:#ffffff;padding:0;margin:0;display:flex;justify-content: center;flex-wrap: wrap;height:auto;min-height:100vh;flex-direction: row;align-content: flex-start;}
.secflex{height:auto;}
.kuva{width:100%;}
.teksti{width:80%;background-color:#fff;padding:0;padding-top:25px;padding-bottom:50px;margin:auto;max-width:40em;}
.teksti p {}
textarea{display:block;width:95%;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;background-color:#f0f0f0;color:#000;border:1px solid #333;padding:10px;margin-bottom:25px;}
label {font-family:calibri;}
input{display:block;width:95%;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;background-color:#f0f0f0;color:#000;border:1px solid #333;padding:10px;margin-bottom:25px;}
input:hover{background-color:#ccc;}
textarea:hover{background-color:#ccc;}
.sendButton{display:block;width:auto;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;background-color:#f0f0f0;color:#000;border:1px solid #333;margin:0;padding:10px;margin-bottom:25px;}
.sendButton:hover{background-color:#ccc;cursor:pointer;}
div#tekstikehys p {padding-left:1em;padding-right:1em;font-size:1.15em;}
div#tekstikehys h1 {padding-left:1em;font-size:1.5em;}
.kohdeesittely{background-color:white;}
#yhteystieto{width:90%;}
/* #referenssit {scroll-snap-align:start;scroll-snap-top:normal;} */
@media (max-aspect-ratio:12/8){#lisaatietoa{display:none;}
}
@media screen and (max-width:29.999em){.viiva{width:8px; }h5{font-size:4em;} h1.keskitys {text-align:left;} a.navi{font-size:1em;color:rgb(200,200,200);font-weight:100;}div#tekstikehys p {padding-left:1em;padding-right:1em;font-size:1em;} .splide__slide img {width: 100vw; height: 50vh!important; object-fit: cover;}div#tekstikehys h1 {margin-bottom:-0.5em;}.teksti{padding:0;}div.korttikuva img{width:8em;object-fit:cover;}div.korttitieto{font-size:0.8em; font-family:'Oswald', sans-serif;padding-right:1em;}.kortticontainer{margin:1em;}
}
@media screen and (min-width:22em) and (max-width:45em){.viiva{width:3px;color:rgba(0,0,0,0)} h5{font-size:4em;}
}
@media screen and (min-width:10em) and (max-width:81em){ h5{font-size:4em;}h1.keskitys {text-align:left;}
}
@media screen and (orientation:landscape) and (max-width:40em){#navtop{display:none;}#mailaa{display:none;}#soita{display:none;}}
}
@media screen and (min-width:240px) and (max-width:420px) and (orientation:portrait){#soita{z-index:9000;position:fixed;bottom:1em;left:1em;width:3em;height:3em;border-radius:1.5em;background-color:#2ddf90;color:#000;line-height:4em;visibility:visible;display:block;}
#mailaa{z-index:9000;position:fixed;bottom:1em;right:1em;width:3em;height:3em;border-radius:1.5em;background-color:#2ddf90;color:#fff;line-height:3.5em;visibility:visible;display:block;} h5{font-size:4em;}
}
/* Slider wrapper*/
  .css-slider-wrapper {
      display: block;
      background: #FFF;
      overflow: hidden;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
  }
  /* Slider */
  .slider {
      width: 100%;
      height: 60vh;
      background: red;
      position: absolute;
      left: 0;
      top: 0;
      opacity: 1;
      z-index: 0;
      
      display: flex;
      display: -webkit-flex;
      display: -ms-flexbox;
      flex-direction: row;
      flex-wrap: wrap;
      -webkit-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
      justify-content: center;
      align-content: center;
      
      -webkit-transition: -webkit-transform 1600ms;
      transition: -webkit-transform 1600ms, transform 1600ms;
      -webkit-transform: scale(1);
      transform: scale(1);
      }
  /* each slide background color */ 
  .slide1 {
      background: #00bcd7;
      left: 0;
  }
  .slide2 {
      background: #009788;
      left: 100%
  }
  .slide3 {
      background: #ff5608;
      left: 200%
  }
  .slide4 {
      background: #607d8d;
      left: 300%;
  }
  .slider > div {
    text-align: center;
  }
  /* Slider inner content */
  .slider h2 {
      color: #FFF;
      font-weight: 900;
      text-transform: uppercase;
      font-size: 45px;
      line-height: 120%;
      opacity: 0;
      -webkit-transform: translateX(500px);
      transform: translateX(500px);
  }
  .slider .button {
      color: #FFF;
      padding: 5px 50px;
      background: rgba(255,255,255,0.3);
      text-decoration: none;
      opacity: 0;
      font-size: 15px;
      line-height: 30px;
      display: inline-block;
      -webkit-transform: translateX(-500px);
      transform: translateX(-500px);
  }
  .slider h2, .slider .button {
      -webkit-transition: opacity 800ms, -webkit-transform 800ms;
      transition: transform 800ms, opacity 800ms;
      -webkit-transition-delay: 1s; /* Safari */
      transition-delay: 1s;
  }
  /* Next and previous button */ 
  .control {
      position: absolute;
      top: 50%;
      width: 50px;
      height: 50px;
      margin-top: -25px;
      z-index: 55;
  }
  .control label {
      z-index: 0;
      display: none;
      text-align: center;
      line-height: 50px;
      font-size: 50px;
      color: #FFF;
      cursor: pointer;
      opacity: 0.2;
  }
  .control label:hover {
     opacity: 0.5;
  }
  .next {
    right: 1%;
  }
  .previous {
    left: 1%;
  }
  
  /* Slider pagination */ 
  .slider-pagination {
      position: absolute;
      bottom: 20px;
      width: 100%;
      left: 0;
      text-align: center;
      z-index: 1000;
  }
  .slider-pagination label {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: inline-block;
      background: rgba(255,255,255,0.2);
      margin: 0 2px;
      border: solid 1px rgba(255,255,255,0.4);
      cursor: pointer;
      }
      
  /* Slider control active css */
  .slide-radio1:checked ~ .next .numb2, 
  .slide-radio2:checked ~ .next .numb3, 
  .slide-radio3:checked ~ .next .numb4, 
  .slide-radio2:checked ~ .previous .numb1, 
  .slide-radio3:checked ~ .previous .numb2, 
  .slide-radio4:checked ~ .previous .numb3 {
      display: block;
      z-index: 1;
  }
  /* Slider pagination active css */
  .slide-radio1:checked ~ .slider-pagination .page1, 
  .slide-radio2:checked ~ .slider-pagination .page2, 
  .slide-radio3:checked ~ .slider-pagination .page3, 
  .slide-radio4:checked ~ .slider-pagination .page4 {
      background: rgba(255,255,255,1)
  }
  
  /* css for sliding  effect when you click on control button*/
  .slide-radio1:checked ~ .slider {
      -webkit-transform: translateX(0%);
      transform: translateX(0%);
  }
  .slide-radio2:checked ~ .slider {
      -webkit-transform: translateX(-100%);
      transform: translateX(-100%);
  }
  .slide-radio3:checked ~ .slider {
      -webkit-transform: translateX(-200%);
      transform: translateX(-200%);
  }
  .slide-radio4:checked ~ .slider {
      -webkit-transform: translateX(-300%);
      transform: translateX(-300%);
  }
  
  .slide-radio1:checked ~ .slide1 h2, 
  .slide-radio2:checked ~ .slide2 h2, 
  .slide-radio3:checked ~ .slide3 h2, 
  .slide-radio4:checked ~ .slide4 h2, 
  .slide-radio1:checked ~ .slide1 .button, 
  .slide-radio2:checked ~ .slide2 .button, 
  .slide-radio3:checked ~ .slide3 .button, 
  .slide-radio4:checked ~ .slide4 .button {
      -webkit-transform: translateX(0);
      transform: translateX(0);
      opacity: 1
  }
  
@media only screen and (max-width: 767px) {
  .slider h2 {
      font-size: 20px;
  }
  .slider > div {
      padding: 0 2%
  }
  .control label {
      font-size: 35px;
  }
  .slider .button {
      padding: 0 30px;
  }
  }
  .splide__slide img {
  width: 100vw;
  height:60vh;
  object-fit: cover;
  justify-content: center;

}
.splide__slide {position:relative;}
#tekstikehys {position:absolute;background:#fff;height:40vh;}