@charset "utf-8";
/* CSS Document */

@media only screen and (max-width: 499px) {
    
    .sisalto {
        width: 100%;
    }
    .parallax {
        background-image: url("kuvat/metso.jpg");
        height: 38vw;
        background-size: cover;
    }
    .otsikko {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        padding-top: 10vw;
        color: #fff;   
        font-size: 90%;
    }
    .linkkipalkki {
      background: #fff;
      width: 100%;
      height: 100px;
      top: 0px;
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      color: #000;
      border-bottom: 1px solid #000;
      margin-bottom: 15px;
      padding-top: 25px;
      padding-left: 15px;
    }
    .linkkipalkki_linkit {
        display: none;
    }
    .tekstit {
      width: 95%;
      margin: auto;
      background-color: #fff;
    }
    .teksti {
        padding-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
    }
    .knp {
        padding-top: 75px;
        padding-bottom: 100px;
        padding-left: 15px;
        text-align: left;
        font-size: 70%;
        border-top: 1px solid #000;
    }

}

@media only screen and (min-width: 500px) and (max-width: 799px) {
    
    .sisalto {
        width: 100%;
    }
    .parallax {
        background-image: url("kuvat/metso.jpg");
        height: 32vw;
        background-size: cover;
    }
    .otsikko {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        padding-top: 20vw;
        color: #fff;   
        font-size: 90%;
    }
    .linkkipalkki {
      background: #fff;
      width: 100%;
      height: 100px;
      top: 0px;
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      color: #000;
      border-bottom: 1px solid #000;
      margin-bottom: 15px;
      padding-top: 25px;
      padding-left: 15px;
    }
    .linkkipalkki_linkit {
        display: none;
    }
    .tekstit {
      width: 95%;
      margin: auto;
      background-color: #fff;
    }
    .teksti {
        padding-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
    }
    .knp {
        padding-top: 75px;
        padding-bottom: 75px;
        padding-left: 15px;
        text-align: left;
        font-size: 70%;
        border-top: 1px solid #000;
    }

}

@media only screen and (min-width: 800px) and (max-width: 1149px) {
    
    .sisalto {
        width: 100%;
    }
    .parallax {
        background-image: url("kuvat/metso.jpg");
        height: 32vw;
        background-size: cover;
    }
    .otsikko {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        padding-top: 22vw;
        color: #fff;        
    }
    .linkkipalkki {
      background: #fff;
      width: 100%;
      height: 100px;
      top: 0px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #000;
      border-bottom: 1px solid #000;
      margin-bottom: 15px;
    }
    .linkkipalkki_linkit_mobi {
        display: none;
    }
    .tekstit {
      width: 85%;
      max-width: 1500px;
      margin: auto;
      background-color: #fff;
    }
    .teksti {
        padding-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
    }
    .knp {
        padding-top: 75px;
        padding-bottom: 75px;
        text-align: right;
        font-size: 70%;
        border-top: 1px solid #000;
    }

}

@media only screen and (min-width: 1150px) and (max-width: 1499px) {

    .sisalto {
        width: 100%;
    }
    .parallax {
        background-image: url("kuvat/metso.jpg");
        height: 32vw;
        background-size: cover;
    }
    .otsikko {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        padding-top: 25vw;
        color: #fff;        
    }
    .linkkipalkki {
      background: #fff;
      width: 100%;
      height: 100px;
      top: 0px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #000;
      border-bottom: 1px solid #000;
      margin-bottom: 15px;
    }
    .linkkipalkki_linkit_mobi {
        display: none;
    }
    .tekstit {
      width: 85%;
      max-width: 1500px;
      margin: auto;
      background-color: #fff;
    }
    .teksti {
        padding-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
    }
    .knp {
        padding-top: 75px;
        padding-bottom: 75px;
        text-align: right;
        font-size: 70%;
        border-top: 1px solid #000;
    }

}

@media only screen and (min-width: 1500px) and (max-width: 1939px) {

    .sisalto {
        width: 100%;
    }
    .parallax {
        background-image: url("kuvat/metso.jpg");
        height: 32vw;
        background-size: cover;
    }
    .otsikko {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        padding-top: 25vw;
        color: #fff;        
    }
    .linkkipalkki {
      background: #fff;
      width: 100%;
      height: 100px;
      top: 0px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #000;
      border-bottom: 1px solid #000;
      margin-bottom: 15px;
    }
    .linkkipalkki_linkit_mobi {
        display: none;
    }
    .tekstit {
      width: 85%;
      max-width: 1500px;
      margin: auto;
      background-color: #fff;
    }
    .teksti {
        padding-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
    }
    .knp {
        padding-top: 75px;
        padding-bottom: 75px;
        text-align: right;
        font-size: 70%;
        border-top: 1px solid #000;
    }

}

@media only screen and (min-width: 1940px) {

    .sisalto {
        width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
    .parallax {
        background-image: url("kuvat/metso.jpg");
        height: 600px;
        background-attachment: fixed;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .otsikko {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        padding-top: 470px;
        color: #fff;        
    }
    .linkkipalkki {
      background: #fff;
      width: 100%;
      height: 100px;
      top: 0px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #000;
      border-bottom: 1px solid #000;
      margin-bottom: 15px;
    }
    .linkkipalkki_linkit_mobi {
        display: none;
    }
    .tekstit {
      width: 75%;
      margin: auto;
      background-color: #fff;
    }
    .teksti {
        padding-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
    }
    .knp {
        padding-top: 75px;
        padding-bottom: 75px;
        text-align: right;
        font-size: 70%;
        border-top: 1px solid #000;
    }
    
}

body {
    margin: 0px;
    font-family: 'Oxygen', sans-serif;
    font-style: normal;
    color: #000;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    background-color: #fff;
}
a:link, a:visited, a:active  {
    color: #000;
    text-decoration: underline;
}
a:hover {
    color: #000;
    text-decoration: underline;
}
.knp a:link, .knp a:visited, .knp a:active  {
    color: #000;
    text-decoration: none;
}
.knp a:hover {
    color: #000;
    text-decoration: underline;
}
img {
	max-width:100% !important;
	height:auto;
}
h1, h2 {
    margin: 0;
    line-height: 100%;
}
.topMenu {
    position: fixed;
    bottom: 0;
    width: 20%;
    max-width: 100px;
    z-index: 2000;
    transition: all 1s;
    padding-bottom: 30px;
}
.hide {
    opacity:0;
    right:-100%;
}
.show {
    opacity:1;
    right:0;
}
.leveys {
    z-index: 1000;
    position: sticky;
    top: 0;
    left: 0;
    color: #000;
}
.lomake_virhe {
	background-color: #F0ABAD;
	font-family: 'Oxygen', sans-serif;
	color: #000;
	font-size: 100%;
}
.lomake {
	background-color: #fff;
	font-family: 'Oxygen', sans-serif;
	color: #000;
	font-size: 100%;
}
#piiloon {
	color: #FF0004;
	font-size: 85%;
}
hr {
    margin-top: 25px;
    margin-bottom: 25px;
}