:root {
	--musta: #000000;
	--valkoinen: #FFFFFF;
	--turkoosi: #00AEC2;
	--tummanharmaa: #545454;
}

html, body {
	margin: 0;
	font-size: 22px;
	font-family: "Roboto Condensed", sans-serif;
	/*font-optical-sizing: auto;*/
	font-weight: 400;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
	font-family: "Oswald", sans-serif;
	/*font-optical-sizing: auto;*/
	font-weight: 700;
	font-style: normal;
	color: var(--turkoosi);
    /*-webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;*/
}

img {
	max-width: 100%;
	height: auto;
}

h2 {
	font-size: 2.273em;
	line-height: 1.200em;
	margin-bottom: 2.318rem;
}

li {
    display: block;
    list-style: none;
    min-height: 20px;
    padding-left: 1.818em;
    background: url(images/ikoni_lista.svg);
    background-size: auto 16px;
    background-position: left top 2px;
    background-repeat: no-repeat;
    line-height: 1em;
    margin: 0.7em 0;
}

ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.paavalikko li {
    background: none;
    min-height: unset;
    margin: 0;
    padding: 0;
}

.kehys {
	width: 1920px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-left: 12.636rem;
	padding-right: 12.636rem;
}

header.ylavalikko {
    display: block;
    background: var(--musta);
    color: var(--valkoinen);
}

.ylavalikko > .kehys {
    padding-left: 2.682em;
    padding-right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ul.paavalikko {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.paavalikko a {
    display: flex;
    height: 100%;
    font-size: 1em;
    line-height: 1em;
    padding-top: 1.9319em;
    padding-bottom: 1.9319em;
    text-decoration: none;
    color: var(--valkoinen);
    font-weight: 500;
    padding-left: 0.818em;
    padding-right: 0.818em;
    box-sizing: border-box;
    align-items: center;
}

ul.paavalikko a:hover {
	color: var(--turkoosi);
}

a.paalogo, a.paalogo img {
    display: block;
}

a.paalogo {
    width: 264px;
}

ul.paavalikko li.puhelin {
    background: var(--turkoosi);
    font-weight: 700;
    margin-left: 1.364em;
    padding: 0;
}

li.puhelin a {
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    gap: 0.591em;
    padding-left: 2.364em;
    padding-right: 2.591em;
}

li.puhelin a:hover {
	color: var(--musta);
}

span.icon_puh {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg id="phone-solid" xmlns="http://www.w3.org/2000/svg" width="20.302" height="20.282" viewBox="0 0 20.302 20.282"><g id="Group_8" data-name="Group 8" transform="translate(0 0)"><path id="Path_65" data-name="Path 65" d="M.609,2.363C-1.1,4.93.958,10.32,5.46,14.853s9.923,6.562,12.491,4.85a.493.493,0,0,0,.254-.19l1.744-1.744a1.438,1.438,0,0,0-.159-2.061l-3.075-3.075a1.5,1.5,0,0,0-2.061-.159l-2,2a.619.619,0,0,1-.793.032,25.776,25.776,0,0,1-3.3-2.758,23.4,23.4,0,0,1-2.758-3.3.619.619,0,0,1,.032-.793l2-2A1.438,1.438,0,0,0,7.679,3.6L4.6.524A1.5,1.5,0,0,0,2.543.365L.8,2.109A.493.493,0,0,0,.609,2.363Z" transform="translate(-0.01 -0.024)" fill="%23fff"/></g></svg>');
    background-size: cover !important;
    background-position: center !important;
    transition: 0.25s background;
}

li.puhelin a:hover > span.icon_puh {
	background: url('data:image/svg+xml,<svg id="phone-solid" xmlns="http://www.w3.org/2000/svg" width="20.302" height="20.282" viewBox="0 0 20.302 20.282"><g id="Group_8" data-name="Group 8" transform="translate(0 0)"><path id="Path_65" data-name="Path 65" d="M.609,2.363C-1.1,4.93.958,10.32,5.46,14.853s9.923,6.562,12.491,4.85a.493.493,0,0,0,.254-.19l1.744-1.744a1.438,1.438,0,0,0-.159-2.061l-3.075-3.075a1.5,1.5,0,0,0-2.061-.159l-2,2a.619.619,0,0,1-.793.032,25.776,25.776,0,0,1-3.3-2.758,23.4,23.4,0,0,1-2.758-3.3.619.619,0,0,1,.032-.793l2-2A1.438,1.438,0,0,0,7.679,3.6L4.6.524A1.5,1.5,0,0,0,2.543.365L.8,2.109A.493.493,0,0,0,.609,2.363Z" transform="translate(-0.01 -0.024)" fill="%23000"/></g></svg>');
}

section.hero {
    display: flex;
    padding-top: 10.318rem;
    padding-bottom: 12.773rem;
    background: url(images/herokuva.jpg);
    background-position: center;
    background-size: cover;
    color: var(--valkoinen);
    font-size: 1.364rem;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    height: calc(100vh - 107px);
    box-sizing: border-box;
    align-items: center;
    max-height: 2053px;
}

h1 {
    font-size: 4.364rem;
    line-height: 1.125em;
}

.nosto .kehys > *:first-child,
.nostolaatikko_data > *:first-child,
section.hero .kehys > *:first-child {
    margin-top: 0;
}

.nosto .kehys > *:last-child,
.nostolaatikko_data > *:last-child,
section.hero .kehys > *:last-child {
    margin-bottom: 0;
}

.hero h1 {
    margin-bottom: 1.864rem;
    color: var(--valkoinen);
}

.teksti_ja_kuva {
    display: grid;
    grid-template-columns: 62.5% 37.5%;
}

.teksti {
    display: block;
    padding-right: 6.409em;
    box-sizing: border-box;
}

.kuva.kuvalaatikolla {
    position: relative;
}

.kuva_wrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: -12.636rem;
    bottom: 8rem;
    max-width: unset;
    height: auto;
    width: auto;
    box-sizing: border-box;
    margin-top: 23px;
}

.kuvalaatikko {
    display: block;
    background: var(--musta);
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 2.636em;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 1.7rem 3.273rem 1.6rem 3.273rem;
    color: var(--valkoinen);
}

.kuva_wrapper > img {
    display: block;
    border-radius: 30px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.kuvalaatikko > * {
    display: block;
    min-height: 33px;
    margin: 20px 0;
    font-size: 0.864rem;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    padding-left: 2.409rem;
    text-decoration: none;
    color: var(--valkoinen);
    background-size: 30px auto !important;
    background-position: center left !important;
    background-repeat: no-repeat !important;
}

span.kuvalaatikko_osoite {
    background: url(images/ikoni_osoite.svg);
}

span.kuvalaatikko_aukiolo {
    background: url(images/ikoni_aukiolo.svg);
}

.kuvalaatikko_puh {
    background: url(images/ikoni_puh.svg);
}

.kuvalaatikko_email {
    background: url(images/ikoni_email.svg);
}

.teksti > *:first-child {
    margin-top: 0;
}

.teksti > *:last-child {
    margin-bottom: 0;
}

main.paasisalto {
    display: block;
    margin-top: 9.136rem;
    margin-bottom: 9.545rem;
}

p {
    line-height: 1.455em;
    margin: 1.5rem 0;
}

a {
    color: var(--turkoosi);
    text-decoration: none;
    transition: 0.25s color;
}

.nappula {
    display: inline-block;
    color: var(--turkoosi);
    padding: 12px 17px;
    font-size: 1rem;
    border: 3px solid var(--turkoosi);
    border-radius: 5px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    line-height: 1em;
    transition: 0.25s background, 0.25s color;
    background: rgba(0,0,0,0);
    text-decoration: none !important;
}

.nappula:hover {
    background: var(--turkoosi);
    color: var(--valkoinen);
}

a:hover {
    color: var(--musta);
    text-decoration: underline;
}

.kuvalaatikko > a:hover {
    text-decoration: none;
    color: var(--turkoosi);
}

.nostolaatikot {
    display: block;
    width: 1920px;
    max-width: 100%;
    margin: 9.545rem auto 8.364rem auto;
}

article.nostolaatikko {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    background: var(--turkoosi);
    color: var(--valkoinen);
    overflow: hidden;
}

.nostolaatikko_kuva {
    min-height: 910px;
    background-size: cover !important;
    background-position: center !important;
    height: 100%;
}

.nostolaatikko_data {
    display: block;
    padding: 5rem 7.818rem;
    box-sizing: border-box;
}

article.nostolaatikko:nth-of-type(2n) > .nostolaatikko_data {
    order: -1;
}

article.nostolaatikko:first-child {
    border-radius: 30px 30px 0 0;
}

article.nostolaatikko:last-child {
    border-radius: 0 0 30px 30px;
}

.nosto h1, .nosto h2, .nosto h3, .nosto h4, .nosto h5,
.nostolaatikko h1, .nostolaatikko h2, .nostolaatikko h3, .nostolaatikko h4, .nostolaatikko h5 {
    color: var(--valkoinen);
    margin-bottom: 2.364rem;
}

.nosto .nappula,
.nostolaatikko .nappula {
    border-color: var(--valkoinen);
    color: var(--valkoinen);
}

.nosto .nappula:hover,
.nostolaatikko .nappula:hover {
    background: var(--valkoinen);
    color: var(--turkoosi);
}

.nosto {
    display: block;
    margin-top: 9.545em;
    background: var(--turkoosi);
    color: var(--valkoinen);
    padding-top: 5rem;
    padding-bottom: 6.409rem;
    text-align: center;
}

.kehys.kapea {
    width: 1590px;
}

.lisateksti {
    margin: 8.364rem 0;
}

.google-maps {
	max-width:100%;
	position: relative;
	padding-bottom: 29.5834%;
	overflow: hidden;
	margin: 0;
	max-height: 600px;
}

.google-maps iframe {
	pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

footer.alapalkki {
    display: block;
    background: var(--musta);
    color: var(--valkoinen);
    padding-top: 5.500rem;
}

.alapalkki_kehys {
    width: 1920px;
    margin: 0 auto;
    padding: 0 7.727rem;
    box-sizing: border-box;
    max-width: 100%;
}

.alapalkki_rivi_1 {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    margin-bottom: 6rem;
}

a.footer_logo {
    display: block;
    width: 442px;
    max-width: 100%;
}

a.footer_logo > img {
    display: block;
    width: 100%;
}

.footer_slogan {
    display: block;
    text-align: right;
    font-family: "Oswald", sans-serif;
    font-size: 1.591rem;
    font-weight: 700;
}

.footer_slogan p {
    margin: 0;
    line-height: 1em;
    display: block;
}

.footer_slogan span {
    display: inline-block;
    font-family: "Roboto Condensed", sans-serif;
    /* font-optical-sizing: auto; */
    font-weight: 400;
    font-size: 1rem;
    color: var(--turkoosi);
    margin-left: 1.127em;
    line-height: 1em;
}

.alapalkki_rivi_2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    gap: 4rem;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    padding-bottom: 5.955rem;
    border-bottom: 1px solid var(--tummanharmaa);
    margin-bottom: 3.091rem;
}

.alapalkki_rivi_2 img {
    display: block;
    width: 59px;
    height: 59px;
    margin: 0 auto 1.5rem auto;
    object-fit: contain;
    object-position: center;
}

.alapalkki_rivi_2 p {
    margin: 0;
}

.alapalkki_rivi_3 {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    padding-bottom: 2.409rem;
}

.alapalkki_logot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2.455rem;
}

.alapalkki_copyright {
    display: block;
    text-align: right;
    font-size: 0.909rem;
}

.alapalkki_copyright p {
    margin: 0 0 0.409rem 0;
    line-height: 1em;
}

.alapalkki_copyright p:last-child {
    margin: 0;
}

.alapalkki_copyright p a {
	margin-left: 0.85em;
}

.alapalkki_copyright p a:hover {
	color: var(--turkoosi);
}

@media screen and (min-width: 2030px) {
	.google-maps {
		padding: 0;
		min-height: 600px;
	}
}

p+p > .nappula {
    margin-top: 1.5rem;
}

h3 {
    font-size: 1.364rem;
    line-height: 1.067em;
    margin: 1.633em 0 1.133em 0;
}

.alapalkki_rivi_2 a {
    color: var(--valkoinen);
}

.alapalkki_rivi_2 a:hover {
    color: var(--turkoosi);
    text-decoration: none;
}

@media screen and (max-width: 1935px) {
    article.nostolaatikko:first-child,
    article.nostolaatikko:last-child {
        border-radius: 0;
    }

    .kuva_wrapper > img {
        border-radius: 30px 0 0 30px;
    }

    section.hero {
        max-height: 1500px;
    }
}

@media screen and (max-width: 1800px) {
    html, body {
        font-size: 20px;
    }

    .nostolaatikko_kuva {
        min-height: 800px;
    }

    section.hero {
        max-height: 1300px;
    }
}

@media screen and (max-width: 1700px) {
    html, body {
        font-size: 19px;
    }

    .nostolaatikko_kuva {
        min-height: 750px;
    }

    section.hero {
        max-height: 1200px;
    }
}

@media screen and (max-width: 1600px) {
    html, body {
        font-size: 18px;
    }

    .nostolaatikko_kuva {
        min-height: 700px;
    }

    section.hero {
        max-height: 1100px;
    }

    a.footer_logo {
        width: 400px;
    }

    .alapalkki_rivi_2 {
        gap: 2rem;
    }

	.nostolaatikko_data {
	    padding: 6rem;
	}

    .kehys {
        padding-left: 8rem;
        padding-right: 8rem;
    }

	.kuva_wrapper {
		right: -8rem;
	}
}

@media screen and (max-width: 1400px) {
    li.puhelin a {
        text-indent: -9999px;
        width: 90px;
        overflow: hidden;
        box-sizing: border-box;
        background: url('data:image/svg+xml,<svg id="phone-solid" xmlns="http://www.w3.org/2000/svg" width="20.302" height="20.282" viewBox="0 0 20.302 20.282"><g id="Group_8" data-name="Group 8" transform="translate(0 0)"><path id="Path_65" data-name="Path 65" d="M.609,2.363C-1.1,4.93.958,10.32,5.46,14.853s9.923,6.562,12.491,4.85a.493.493,0,0,0,.254-.19l1.744-1.744a1.438,1.438,0,0,0-.159-2.061l-3.075-3.075a1.5,1.5,0,0,0-2.061-.159l-2,2a.619.619,0,0,1-.793.032,25.776,25.776,0,0,1-3.3-2.758,23.4,23.4,0,0,1-2.758-3.3.619.619,0,0,1,.032-.793l2-2A1.438,1.438,0,0,0,7.679,3.6L4.6.524A1.5,1.5,0,0,0,2.543.365L.8,2.109A.493.493,0,0,0,.609,2.363Z" transform="translate(-0.01 -0.024)" fill="%23fff"/></g></svg>');
        background-position: center !important;
        padding: 0;
        background-repeat: no-repeat;
        background-size: 40%;
    }

	ul.paavalikko li.puhelin {
		margin-left: 0.7rem;
	}

	a.footer_logo {
        width: 300px;
    }

	.nostolaatikko_kuva {
        min-height: 600px;
    }

	li.puhelin span {
		display: none;
	}

	.kehys {
        padding-left: 6rem;
        padding-right: 6rem;
    }

	.kuva_wrapper {
		right: -6rem;
	}

	.nostolaatikko_data {
	    padding: 5rem;
	}

	.footer_slogan {
		font-size: 1.3rem;
	}

	.alapalkki_rivi_2 {
        gap: 1rem;
    }
}

@media screen and (max-width: 1300px) {
	html, body {
		font-size: 17px;
	}

	.kehys {
        padding-left: 4rem;
        padding-right: 4rem;
    }

	.kuva_wrapper {
		right: -4rem;
	}
}

@media screen and (max-width: 1200px) {
    body * {
        display: none !important;
    }

    body::after {
        position: fixed;
        display: flex !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        content: 'Mobiiliversio ei vielä valmis.';
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 2rem;
        background: var(--turkoosi);
        color: var(--valkoinen);
    }
}