* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #BFD682;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: #000;
}

#centrering {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
}

#kolumncontainer {
    overflow: hidden;
    border: 5px solid #fff;
    background: #D7DA9E;
}

#sidhuvud {
    height: 200px;
    width: 100%;
    background-image: url("gfx/ylapalkki2.jpg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}

#navi {
    width: 100%;
    min-height: 36px;
    background-image: url("gfx/navi.gif");
    background-repeat: repeat-x;
    background-position: left top;
}

#kolumn1 {
    float: left;
    width: 38%;
    padding: 20px;
    background: #D7DA9E;
}

#kolumn2 {
    float: left;
    width: 62%;
    padding: 20px 20px 20px 45px;
    background: #D7DA9E;
}

#etusivu #kolumn2 img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0;
}

body:not(#etusivu) #kolumn2 img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 0 18px auto;
}

#menycontainer2 ul {
    margin: 0;
    padding: 4px 10px 0 10px;
    list-style: none;
    font-size: 17px;
    font-weight: bold;
    line-height: 28px;
}

#menycontainer2 li {
    display: inline;
}

#menycontainer2 a {
    color: #fff;
    text-decoration: none;
    padding: 0 7px 0 5px;
    border-right: 1px solid #fff;
}

#menycontainer2 a:visited {
    color: #fff;
}

#menycontainer2 a:hover {
    color: #000;
}

body#etusivu a#etusivunav,
body#siikanen1 a#siikanen1nav,
body#siikanen2 a#siikanen2nav,
body#klapi a#klapinav,
body#pertti a#perttinav {
    text-decoration: underline;
    color: #fff;
}

.teksti,
p,
li {
    font-size: 1rem;
    line-height: 1.55;
}

h1 {
    margin-top: 0;
    font-size: 2rem;
    font-weight: bold;
	 line-height: 1.2;
}

h2 {
    margin-top: 0;
    font-size: 1.6rem;
    font-weight: bold;
	 line-height: 1.2;
}

h3 {
    font-size: 1.2rem;
    font-weight: bold;
	 line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

.kuva {
    display: block;
    margin: 0 0 18px auto;
    clear: both;
}

@media (max-width: 700px) {
    #centrering {
        width: 100%;
        max-width: 100%;
    }

    #kolumncontainer {
        border: 0;
    }

    #sidhuvud {
        height: 90px;
    }

    #navi {
        height: auto;
        min-height: 36px;
        background-repeat: repeat;
    }

    #menycontainer2 li {
        display: block;
    }

    #menycontainer2 a {
        display: block;
        padding: 6px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.35);
    }

    #kolumn1,
    #kolumn2 {
        float: none;
        width: 100%;
        padding: 14px;
    }

    .kuva,
    #kolumn2 img {
        margin: 0 auto 18px auto;
    }
}