.header{
margin-top:-65px;
z-index:1;
color:#FFF;
    display:inline-block;

}
.header .welcometext{
text-align:center;
position: absolute;
  top:35%;
  left: 50%;  
  transform: translate(-50%, -50%);
}
.welcometext h1{
    letter-spacing:3px;
}
.welcometext h2{
font-size:2em;
}
@media only screen and (max-width: 992px) {
.table-of-contents .language h5 a{
color:#fff!important;
}
.header{
margin-top:-65px;
z-index:1;
color:#FFF;
display:inline-block;

}

.header .welcometext{
top:auto;
width:100%;
left:auto;
transform: none;
position:relative;
display:inline-block;
}
  .welcometext h1{
    color:#333;
      text-shadow:none;
      font-weight:600;

      text-align:center;
  }
    .welcometext h2{
        font-size:2.2em;
color:#333;
        text-shadow:none;
text-align:center;
    }
#aapahovi h4{ 
    font-size:1.8em;
    }
.parallaxtext{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    margin-top:200px;
    font-weight:700;
    font-size:1.5em;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#333;
    background-color:rgba(255,255,255,0.7); 
    width:100%;
    display:block;
    padding:0px 0px 0px 0px;
}
    .parallax-container h4{
    text-align:center;
        width:100%;
        font-size:3em;
        display:inline-block;
            padding:0px 0px 0px 0px;
}
.shadow{
    text-shadow: 0px 0px #fff;
}
}
    
.nav{
background-color:rgba(255,255,255,0.8)!important;   
}
.parallaxtext{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    margin-top:150px;
    font-weight:700;
    font-size:4em;
    letter-spacing:2px;
    text-transform:uppercase;
color:#333;
background-color:rgba(255,255,255,0.7); 
    display:inline-block;
    width:auto;
    padding:0px 35px 5px 35px;
}
#map{
  width:100%;
      height:400px;

}
#kuvagalleria{
    display:inline-block;
    margin-left:auto;
    margin-right:auto;
  width:100%;
    max-width:960px;
      height:400px;
}

#kuvagalleria img{
opacity:1;
}
#kuvagalleria img:hover{
opacity:0.7;

}
.underline{
width:100%;
border-bottom: 1px solid #333333;
}
.fancybox img{
width:auto;
height:150px;
overflow:hidden;
 margin:5px 5px 5px 5px;
}

.blacktext{
color:#333;
background-color:rgba(255,255,255,0.7); 
    display:inline-block;
    width:auto;
    padding:0px 35px 5px 35px;
    
}
nav ul li .language{
width:auto;
margin:0px 0px 0px 10px;
    color:#333;
}
.table-of-contents .language a{
width:auto;
margin:0px 15px 0px 15px;
padding:0px 0px; 0px 0px
}
.table-of-contents .rightline{
border-right: solid 1px #999;
    margin-right:10px;
}
.transparent{background-color:transparent;}

.shadow{
    text-shadow: 3px 2px #333;
}