body {
    background-color: #f7f9f7;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; 
    background-size: cover;
    /*font-family: Palatino, serif;*/
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    text-align: center;
    color:black;
    margin: 0px;
}

/* P */

div#osa3 p {
    font-size: 0.9em;
}

p {
    margin: 0px;
    margin-bottom:20px;
    line-height: 150%;
    font-size: 1em;
}

p.paaotsikko {
    margin-left: 80px;
    margin-right: 80px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.5em;
    font-family: 'Mulish', sans-serif;
}

p.lohkonotsikko {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.4em;
    text-transform: uppercase;
    color: #eca18f;
}

div#osa3 p.lohkonotsikko {
    font-size: 1.1em;
    color: #a66986;
}

p.otsikko {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.4em;
}

p.osoite {
    font-size: 1.1em;
    margin-bottom: 0px;
    margin-left: 15px;
}

p.ytunnus {
    font-size: 0.9em;
    padding-top: 15px;
    margin-top: 5px;
    margin-bottom: 40px;
    margin-left: 15px;
}

p.footer {
    opacity: .9;
    /*
    margin-bottom: 5vw;
    margin-top: 1vw;
    */
    font-size: 0.7em;
}

p.osoite::after {
    content: "\40sarimalinen.com";
}

span#prefix::before {
    content: "sari";
}

span#email {
    display: none;
}

div#osa3 li {
    font-size: 0.9em;
}

/* DIV */

div#header {
    height: 349px;
}

div#content {
    width: 100%;
}

div.colored {
    background-color: #d0dad6;
}

div.colored2 {
    background-color: #dfd4d6;
}

div.tekstiosio {
    padding-top: 40px;
    width: 100%
}

div.lohko {
    display:inline-block;
    padding-bottom: 20px;
    padding-left: 3%;
    padding-right: 3%;
    vertical-align: top;
    text-align: left;
}

div#osa3 div.lohko {
    width: 43%;
}

div#osa4 div.lohko {
    width: 100%;
}

div.kuvakehys {
    margin-bottom: 30px;
    margin-left: 30px;
}

div.kuvakehys2 {
    display: none;
}

div#osa1 {
    height:5px;
    background-color: #a66986
}

div#osa2 {
    padding-top: 30px;
    padding-bottom: 30px;
}

div#osa2 p {
    margin-bottom: 0px;
}

div.grid {
    margin-left: 10%;
    margin-right: 10%;
}

div.grid-kapea {
    margin-left: 15%;
    margin-right: 20%;
}

div#osa2 div.grid-kapea 
{
    margin-left: 15%;
    margin-right: 15%;
}

.imgbox {
    display: grid;
    height: 100%;
}

.center-fit {
    max-width: 90%;
    min-width: 350px;
    max-height: 100vh;
    margin: auto;
}

/* A */

a:hover{
    text-decoration: none;
}

a:hover,active,visited {
    text-decoration: none;
    color: black;
}

a {
    text-decoration: none;
    color: black;
    padding-left: 40px;
    padding-right: 40px;
}

/* IMG */

img#paakuva {
    width: 100%;
    height: 349px;
    object-fit:cover;
    object-position: center;
}

a {
    text-align: left;
    padding: 0px;
    text-decoration: underline;
    margin-left: 15px;
}

td.kuvake {
    padding-top: 5px;
}