body {
    background-color: #fff;
    color: #000;
    font-family: "Roboto Slab", sans-serif;
    margin: 0;
    padding: 0;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

#head {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#head #times {}

#head h1 {
    font-size: 40px;
    line-height: 100%;
    margin: 0;
    padding: 0;
}

#hero h2 {
    /* line-height: 100%; */
    font-size: 34px;
    line-height: 44px;
    font-weight: bold;
    margin: 0;
    padding: 0;

}

#hero p {
    font-size: 24px;
}

#hero {
    background: #EDE5EB;
    height: 600px;
}



#hero .wrap {
    display: flex;
}

#hero .left {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#hero .left .inner {}

#hero .right {
    text-align: right;
    width: 50%;
}

#hero .right {
    order: 2;
}

#map {
    text-align: right;
    height: 600px;
    margin-bottom: 20px;
}

#map svg {
    height: 500px;
}

#magazines {
    border-bottom: 1px solid #000;
    margin: 80px 0 40px 0;
    padding-bottom: 40px;
}

#magazines .wrap {
    display: flex;

}

#magazines .col {
    text-align: center;
    font-weight: bold;
}

#magazines .col img {
    display: block;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}


a.button {
    background: #520840;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    text-decoration: none;
    line-height: 100%;
    font-weight: bold;
}

#magazines .col a.button {
    display: inline-block;
    margin-top: 20px;
}

#turun-aika {
    margin: 40px 0 80px 0;
}

#turun-aika .wrap {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: stretch;
    flex-wrap: nowrap;
    flex-direction: row;
}

#turun-aika .wrap .col {
    width: 50%;
}

#turun-aika .wrap .col p {
    padding-bottom: 20px;
}

#footer {
    background: #000;
    color: #fff;
    padding: 60px 0;
    line-height: 150%;
    font-size: 16px;
}

#footer a,
#footer a:visited {
    color: #fff;
    text-decoration: none;
}

#footer .wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;

}

#footer p {
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (max-width:1200px) {
    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    img {
        max-width: 100%;
    }

    #footer p {
        font-size: 14px;

    }
    #footer .wrap div {
        margin-top:40px;
    }
}

@media screen and (max-width:800px) {

    .wrap,
    #footer .wrap {
        flex-wrap: wrap !important;
        /* text-align: center; */
    }

    .wrap .col {
        text-align: center;
        width: 100% !important;
    }

    #magazines .col {
        text-align: center;
    }

    #footer .wrap>* {
        width: 100%;
    }

    #head {
        text-align: center;
        flex-wrap: wrap !important;
        padding:15px 0;
    }

    #head h1 {
        font-size: 30px;
        margin-top: 0px;
        margin-bottom: 0;
    }

    #logo, #times {
        text-align: center;
        display: block;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #footer img {
        margin-bottom: 20px;
        margin-left: 20px;
    }

    #hero .left {
        padding: 40px 0;
    }

    #hero .left {
        order: 2;
    }

    #hero .left .inner {
        text-align: left;
    }

    #hero .right {
        order: 1;
    }

    #hero {
        height: auto;
    }

    #hero .right {
        text-align: center;
        width: 100%;
    }

    #hero #map {
        width: 100%;
        text-align: center;
        height: 300px;
    }

    #map svg {
        height: 300px;
        text-align: center;
    }
}
#subfooter {
        text-align: center;
        background: #000;
        color: #c3c3c3;
        padding:0px 0 20px 0;
}