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

@media only screen and (max-width: 499px) {
    
    .sisalto {
        width: 100%;
    }
    .banneri {
        position: relative;
        text-align: center;
        color: #fff;     
        text-shadow: 2px 2px #000;
    }
    .otsikko {
        position: absolute;
        top: 30px;     
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 100%;
    }
    .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%;
    }
    .banneri {
        position: relative;
        text-align: center;
        color: #fff;     
        text-shadow: 2px 2px #000;
    }
    .otsikko {
        position: absolute;
        top: 30px;     
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 100%;
    }
    .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%;
    }
    .banneri {
        position: relative;
        text-align: center;
        color: #fff;     
        text-shadow: 4px 4px #000;
    }
    .otsikko {
        position: absolute;
        top: 30px;     
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 150%;
    }
    .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%;
    }
    .banneri {
        position: relative;
        text-align: center;
        color: #fff;     
        text-shadow: 4px 4px #000;
    }
    .otsikko {
        position: absolute;
        top: 30px;     
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 200%;
    }
    .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%;
    }
    .banneri {
        position: relative;
        text-align: center;
        color: #fff;     
        text-shadow: 4px 4px #000;
    }
    .otsikko {
        position: absolute;
        top: 30px;     
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 200%;
    }
    .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;
    }
    .banneri {
        position: relative;
        text-align: center;
        color: #fff;     
        text-shadow: 4px 4px #000;
    }
    .otsikko {
        position: absolute;
        top: 30px;     
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 200%;
    }
    .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;
}