@charset "UTF-8";
@font-face{
  font-family: myFont;
  src: url(Lato-Light.woff);
}
@font-face{
  font-family: myFont;
  src: url(Lato-Bold.woff);
  font-weight: bold;
}
html{
  font-family: myFont;/*"Comic Sans MS"*/
}
header, h1{
  font-size: 40px;
}
h2{
  font-size: 34px;
}
h3{
  font-size: 28px;
}
.headerCell{
  font-size: 24px;
}
/* #stage fonttikokoa muutettaessa, pitää resizeIfame funktiota muokata stageLoader.js tiedostosta */
html, p, ul, li, table, tr, td, .linkInactive, .linkActive, .linksVisible, #stage{
  font-size: 22px;
}
footer{
  font-size: 16px;
}
/* Reunuksellisen tekstin koko */
/*.textOutline{
  font-size: 30px;
}*/
td{
  vertical-align: top;
  padding: 10px;
}
/* Vierailematon linkki */
a{
  text-decoration: none;
}
.linkDecoration{
  text-decoration: underline;
}
a:hover{
  box-shadow: 0px 0px 3px 3px white; 
}
#mainPage {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  overflow-y: scroll; /*Pakottaa sivulle vierityspalkin, jottei taustakuvan koko "hypi" kun siirrytään palkillisen ja palkittoman sivun välillä */
}
header {
  z-index: 2;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 100px;
  position: fixed;
  border-style: solid;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 10px;
}
#logo{
  z-index: 2;
  position: fixed;
  margin-top: 10px;
  margin-left: 18px;
}
#heading{
  z-index: 2;
  position: relative;
  margin-top: 10px;
  margin-left: 100px;
}
#topNav {
  z-index: 3;
  margin: auto;
  margin-top: 2px;/* Säätää ylänappien sijaintia pystysuunnassa */
  width: 1300px;
  vertical-align: middle;
}
.linkInactive, .linkActive{
  height: 20px;
  width: 160px;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 3px;
  padding-bottom: 10px;
  border-radius: 10px;
}
.linkActive:hover, .linkInactive:hover{
  cursor: pointer;
  box-shadow: 0px 0px 3px 3px white;
}
.videoInactive, .videoActive{
  font-size: 12px;
  height: 14px;
  width: 62px;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  text-align: center;
  padding: 3px;
  border-radius: 5px;
}
.videoActive:hover, .videoInactive:hover{
  cursor: pointer;
  box-shadow: 0px 0px 3px 3px white;
}
#leftAndStage{
  margin: auto;
  width: 1400px;
}
#leftNavContainer{
  margin-left: 30px;/* Säätää vasemmanpuoleisten nappien sijaintia vaakasuunnassa */
  display: table;
  width: 160px;
  position: fixed;
  float: left;
}
#leftNavContainer, #stageContainer{
  margin-top: 130px;
}
.linksInvisible{
  visibility: hidden;
  height: 0px;
}
.linksVisible{
  visibility: visible;
}
.cell{
  display: table-cell;
}
.bgInvisible{
  background: none;
}
#stageContainer{
  float: left;
  margin-left: 220px;/* Säätää dokumenttien näyttöalueen sijaintia vaakasuunnassa */
  margin-right: 20px;
  border-radius: 30px;
}
#stage{
  z-index: 1;
  position: relative;
  border-style: none;
  overflow: hidden;
  width: 1000px;
  display: inline;
  float: left;
  padding: 30px;
  padding-top: 10px;
}
#padder{
  clear: both;
  display: block;
  height: 80px;
  background: none;
  margin: 0;
}
footer {
  z-index: 2;
  margin-left: -8px;
  height: 50px;
  width: 99.7%;
  position:fixed;
  display: block;
  padding: 10px;	 	 
}
footer a{
  padding: 5px;
  padding-left: 10px;
  text-decoration: underline;
}
/* Tekstiarkisto */
.headerCell{
  padding-right: 50px;  
}

/* Palaute */
.antispam {
  display: none;
}
#palaute{
  margin-left: 60px;
}
#palauteKaavake{
  width: 820px;
  padding: 20px;
  padding-bottom: 70px;
  border-radius: 30px;
}
.borderless{
  border: none;
}
#nimi, #otsikko, #merkkejaJaljella, #email{
  height: 20px;
}
.emailHidden{
  visibility: hidden;
}
.emailVisible{
  visibility: visible;
}
#submit, #reset{
  margin-left: 20px;
}
#sendButton, #resetButton{
  float: left;
  margin-top: 10px;
  margin-left: 20px;
  border-style: solid;
}
.fullWidth{
  width: 100%;
}
.author{
  text-align: right;
}
input[type=checkbox]
{
  -webkit-transform: scale(1.5); /* Chrome and Safari */
  -o-transform: scale(1.5); /* Opera */
  padding: 20px;
}
input[type=radio]
{
  -webkit-transform: scale(1.5); /* Chrome and Safari */
  -o-transform: scale(1.5); /* Opera */
  padding: 20px;
}
/*GROW*/
.grow img{
  height: 48px;
  width: 48px;
  transition: all 0.1s ease;
}
.grow img:hover {
  width: 64px;
  height: 64px;
}
.grow a:hover{
  box-shadow: none;
}