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

@media only screen and (max-width: 800px) {
    
    .sisalto {
        width: 100%;
    }
    .linkkipalkki {
        display: none;
    }
    .linkkipalkki_mobi {
        min-height: 60px;
        overflow: auto;
        width: 100%;
        z-index: 1500;   
    }
    .bannerimobi {
        width: 100%;
        background-color: #535353;
        text-align: left;        
    }
    .banneri {
        display: none;
    }
    .otsikko_mobi {
        color: #000;
        font-size: 200%;
        padding-left: 5%;
        padding-right: 5%;
    }
    .otsikko {
        color: #000;
        font-size: 150%;
    }
    .otsikko {
        color: #fff;
        font-size: 300%;
        padding-bottom: 15px;
        text-shadow: 2px 2px #000;
    }
    .laatikko1, .laatikko2, .laatikko3, .laatikko4 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 80%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 130%;
        margin-top: 15px;
        margin-bottom: 15px;        
    }    
    .linkki:hover{
        background-color: #fff;
        color: #8f9623;
        text-decoration: underline;
    }
    .aktiivinen {
        background-color: #fff;
        color: #8f9623;
    }
    .clear {
        clear: both;
        height: 50px;
    }
    .tekstit {
        background-color: #535353; /* For browsers that do not support gradients */
        background-image: -webkit-linear-gradient(#373737, #535353);
        overflow: auto;
        color: #fff;
        min-height: 275px;
    }
    .tekstialue {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 60px;
        padding-bottom: 100px;
    }
    .tekstialue_mobi {
        
    }
    .tekstivasen {
        width: 100%;
        padding-bottom: 100px;
    }
    .tekstioikea {
        width: 100%;
        padding-bottom: 50px;
    }
    .tekstioikea img {
        float: left;
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .knp {
        clear: both;
        font-size: 70%;
        padding-top: 200px;
        text-align: right;
    }

}

@media only screen and (min-width: 800px) and (max-width: 1149px) {
    
    .sisalto {
        width: 100%;
    }
    .linkkipalkki {
        width: 100%;
        background-color: #fff;
        height: 121px;
    }
    .linkkipalkki_mobi {
        display: none;
    }
    .linkit {
        float: right;
        padding-right: 50px;
        padding-top: 60px;
        font-size: 200%;
        word-spacing: 30px;
    }
    .bannerimobi {
        display: none;
    }
    .banneri {
        height: 36vw;
        background-image: url("kuvat/palvelut.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        padding-top: 3vw;
        box-sizing: border-box;
        background-color: #373737;
    }
    .banneriteksti {
        width: 750px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .otsikko {
        color: #fff;
        font-size: 300%;
        padding-bottom: 15px;
        text-shadow: 2px 2px #000;
    }
    .laatikko1 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 350px;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 150%;
        margin-top: 15px;
        margin-bottom: 15px;
    }    
    .laatikko2 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 350px;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 150%;
        margin-left: 50px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .laatikko3 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 350px;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 150%;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .laatikko4 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 350px;
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 150%;
        margin-left: 50px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .linkki:hover{
        background-color: #fff;
        color: #8f9623;
        text-decoration: underline;
    }
    .aktiivinen {
        background-color: #fff;
        color: #8f9623;
    }
    .tekstit {
        background-color: #535353; /* For browsers that do not support gradients */
        background-image: -webkit-linear-gradient(#373737, #535353);
        overflow: auto;
        color: #fff;
        min-height: 275px;
    }
    .tekstialue {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 50px;
        padding-bottom: 100px;
        text-align: left;
        font-size: 120%;
    }
    .tekstialue_mobi {
        display: none;
    }
    .tekstivasen {
        width: 75%;
        float: left;
    }
    .tekstioikea {
        width: 20%;
        float: right;
    }
     .tekstioikea img {
        float: right;
        padding-bottom: 20px;
    }
    .knp {
        clear: both;
        font-size: 70%;
        padding-top: 200px;
        padding-right: 50px;
        text-align: right;
    }

}

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

    .sisalto {
        width: 100%;
    }
    .linkkipalkki {
        width: 100%;
        background-color: #fff;
        height: 121px;
    }
    .linkkipalkki_mobi {
        display: none;
    }
    .linkit {
        float: right;
        padding-right: 200px;
        padding-top: 60px;
        font-size: 220%;
        word-spacing: 30px;
    }
    .bannerimobi {
        display: none;
    }
    .banneri {
        height: 36vw;
        background-image: url("kuvat/palvelut.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        padding-top: 4vw;
        box-sizing: border-box;
        background-color: #373737;
    }
    .banneriteksti {
        width: 850px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .otsikko {
        color: #fff;
        font-size: 500%;
        padding-bottom: 20px;
        text-shadow: 2px 2px #000;
    }
    .laatikko1 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-top: 20px;
        margin-bottom: 20px;
    }    
    .laatikko2 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-left: 50px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .laatikko3 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .laatikko4 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-left: 50px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .linkki:hover{
        background-color: #fff;
        color: #8f9623;
        text-decoration: underline;
    }
    .aktiivinen {
        background-color: #fff;
        color: #8f9623;
    }
    .tekstit {
        background-color: #535353; /* For browsers that do not support gradients */
        background-image: -webkit-linear-gradient(#373737, #535353);
        overflow: auto;
        color: #fff;
        min-height: 275px;
    }
    .tekstialue {
        width: 850px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 50px;
        padding-bottom: 100px;
        text-align: left;
        font-size: 120%;
    }
    .tekstialue_mobi {
        display: none;
    }
    .tekstivasen {
        width: 75%;
        float: left;
    }
    .tekstioikea {
        width: 20%;
        float: right;
    }
     .tekstioikea img {
        float: right;
        padding-bottom: 20px;
    }
    .knp {
        clear: both;
        font-size: 70%;
        padding-top: 200px;
        text-align: right;
    }

}

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

    .sisalto {
        width: 100%;
    }
    .linkkipalkki {
        width: 100%;
        background-color: #fff;
        height: 121px;
    }
    .linkkipalkki_mobi {
        display: none;
    }
    .linkit {
        float: right;
        padding-right: 200px;
        padding-top: 60px;
        font-size: 220%;
        word-spacing: 30px;
    }
    .bannerimobi {
        display: none;
    }
    .banneri {
        height: 36vw;
        background-image: url("kuvat/palvelut.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        padding-top: 5vw;
        box-sizing: border-box;
        background-color: #373737;
    }
    .banneriteksti {
        width: 850px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .otsikko {
        color: #fff;
        font-size: 500%;
        padding-bottom: 50px;
        text-shadow: 2px 2px #000;
    }
    .laatikko1 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-top: 30px;
        margin-bottom: 30px;
    }    
    .laatikko2 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-left: 50px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .laatikko3 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .laatikko4 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-left: 50px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .linkki:hover{
        background-color: #fff;
        color: #8f9623;
        text-decoration: underline;
    }
    .aktiivinen {
        background-color: #fff;
        color: #8f9623;
    }
    .tekstit {
        background-color: #535353; /* For browsers that do not support gradients */
        background-image: -webkit-linear-gradient(#373737, #535353);
        overflow: auto;
        color: #fff;
        min-height: 275px;
    }
    .tekstialue {
        width: 850px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 50px;
        padding-bottom: 100px;
        text-align: left;
        font-size: 120%;
    }
    .tekstialue_mobi {
        display: none;
    }
    .tekstivasen {
        width: 75%;
        float: left;
    }
    .tekstioikea {
        width: 20%;
        float: right;
    }
     .tekstioikea img {
        float: right;
        padding-bottom: 20px;
    }
    .knp {
        clear: both;
        font-size: 70%;
        padding-top: 200px;
        text-align: right;
    }

}

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

    .sisalto {
        width: 1920px;
        margin-left: auto;
        margin-right: auto;
    }
    .linkkipalkki {
        width: 100%;
        background-color: #fff;
        height: 121px;
    }
    .linkkipalkki_mobi {
        display: none;
    }
    .linkit {
        float: right;
        padding-right: 200px;
        padding-top: 60px;
        font-size: 220%;
        word-spacing: 30px;
    }
    .bannerimobi {
        display: none;
    }
    .banneri {
        height: 680px;
        background-image: url("kuvat/palvelut.jpg");
        background-repeat: no-repeat;
        background-size: contain;
        padding-top: 100px;
        box-sizing: border-box;
        background-color: #373737;
    }
    .banneriteksti {
        width: 850px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .otsikko {
        color: #fff;
        font-size: 500%;
        padding-bottom: 50px;
        text-shadow: 2px 2px #000;
    }
    .laatikko1 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-top: 30px;
        margin-bottom: 30px;
    }    
    .laatikko2 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-left: 50px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .laatikko3 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .laatikko4 {
        background-color: #8f9623;
        color: #fff;
        float: left;
        width: 400px;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 200%;
        margin-left: 50px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .linkki:hover{
        background-color: #fff;
        color: #8f9623;
        text-decoration: underline;
    }
    .aktiivinen {
        background-color: #fff;
        color: #8f9623;
    }
    .tekstit {
        background-color: #535353; /* For browsers that do not support gradients */
        background-image: -webkit-linear-gradient(#373737, #535353);
        overflow: auto;
        color: #fff;
        min-height: 275px;
    }
    .tekstialue {
        width: 850px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 50px;
        padding-bottom: 100px;
        text-align: left;
        font-size: 120%;
    }
    .tekstialue_mobi {
        display: none;
    }
    .tekstivasen {
        width: 75%;
        float: left;
    }
    .tekstioikea {
        width: 20%;
        float: right;
    }
     .tekstioikea img {
        float: right;
        padding-bottom: 20px;
    }
    .knp {
        clear: both;
        font-size: 70%;
        padding-top: 200px;
        text-align: right;
    }
    
}

body {
    margin: 0px;
    font-family: 'Magra', sans-serif;
    font-style: normal;
    color: #fff;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    background-color: #fff;
}
a:link, a:visited, a:active  {
    color: #fff;
    text-decoration: underline;
}
a:hover {
    color: #fff;
    text-decoration: underline;
}
.linkit a:link, .linkit a:visited, .linkit a:active {
    color: #000;
    text-decoration: none;
}
.linkit a:hover {
    color: #000;
    text-decoration: underline;
}
.knp a:link, .knp a:visited, .knp a:active {
    color: #fff;
    text-decoration: none;
}
.knp a:hover {
    color: #fff;
    text-decoration: underline;
}
.tekstialue {
    font-size: 120%;
}
img {
	max-width:100% !important;
	height:auto;
}
.banneri img {
    display:block;
    margin:auto;
}
.kielet img {
    width: 100px;
}
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;
}