/*
Theme Name: Teknotaikurit
Theme URI: https://markkinointiukkonen.fi/kotisivut-hinta/
Author: Markkinointi Ukkonen Oy
Author URI: https://markkinointiukkonen.fi/
Description: Taknoteikureille tehty WordPress-teema
Version: 1.0
Text Domain: teknotaikurit
*/

: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;
}

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

blockquote {
	quotes: '"' '"' '"' '"';
	font-style: italic;
}

blockquote:before {
    content: open-quote;
}

blockquote:after {
    content: close-quote;
}

.alignleft {
    float: left;
    margin: 0.3em 2em 2em 0;
}

.aligncenter {
	display: block;
	margin: 2em auto;
}

.alignright {
    float: right;
    margin: 0.3em 0 2em 2em;
}

.wp-caption-text {
    font-size: 0.9em;
    font-style: italic;
    margin-top: 0.25em;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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: 600;
    font-style: normal;
    color: var(--turkoosi);
}

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

h2,
h1.blogiotsikko {
	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);
    position: relative;
}

.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;
    max-width: 70%;
}

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

ul.paavalikko li.puhelin a {
    font-weight: 600;
    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 !important;
    background-size: cover !important;
    color: var(--valkoinen);
    font-size: 1.364rem;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    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);
	text-shadow: 0px 0px 10px #000000;
}

.hero p {
    text-shadow: 0px 0px 10px #000000;
}

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

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

.single-post .teksti {
	min-height: 650px;
}

.kuva, .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;
    aspect-ratio: 786 / 604;
}

.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: 600;
    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;
    font-weight: 500;
}

.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;
    font-style: initial !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: 4.5rem 7.818rem 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: 600;
}

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

.footer_slogan span, .footer_slogan a {
    display: inline-block;
    font-family: "Roboto Condensed", sans-serif;
    /* font-optical-sizing: auto; */
    font-weight: 500;
    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: 600;
    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;
}

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

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

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

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


section.pienihero {
    display: block;
    background: #000;
    padding: 3.417em 0;
    background-size: cover !important;
    background-position: center !important;
}

section.pienihero h1 {
    color: var(--valkoinen);
    text-shadow: 0px 0px 10px #000000;
}

.teksti h3 {
    font-size: 1rem;
    margin-bottom: 2.409em;
}

.teksti h1.blogiotsikko+h3,
.teksti h2+h3 {
    margin-top: -0.7em;
}

.kaksirivissa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.wpcf7-text, .wpcf7-email, .wpcf7-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
    font-size: 0.955rem;
    padding: 0.605em 1em;
    border: 0;
    font-family: "Roboto Condensed", sans-serif;
    /* font-optical-sizing: auto; */
    font-weight: 400;
    border-radius: 5px;
    color: var(--musta);
}

.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-textarea::placeholder {
    color: rgb(0 174 194 / 95%);
}

span.radio_label {
    display: block;
    margin: 1.5em 0 1em 0;
}

span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    margin-bottom: 1.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.wpcf7-radio input {
    display: inline-block;
    font-size: 1em;
    width: 1em;
    height: 1em;
    margin: 0;
    cursor: pointer;
}

.wpcf7-radio label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.wpcf7-submit.nappula {
    margin-top: 1.5rem;
    cursor: pointer;
}

span.wpcf7-list-item-label a {
    color: var(--valkoinen);
    font-weight: 500;
}

span.wpcf7-form-control.wpcf7-acceptance {
    margin-top: 1.773rem;
    display: block;
    margin-bottom: 1.364rem;
    font-size: 0.909rem;
}

.wpcf7 input[type="checkbox"] {
    font-size: 21px;
    width: 24px;
    height: 24px;
    margin: 0;
    border: none;
    cursor: pointer;
}

.wpcf7-acceptance label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    text-align: left;
}

.eikuvaa .kuva_wrapper {
    display: none;
}

.eikuvaa .kuvalaatikko {
    position: relative;
    margin-top: 0;
}

.arkisto {
    display: grid;
    grid-template-columns: 1fr 400px;
}

.arkisto_tekstit {
    display: block;
    border-right: 1px solid #89C1C8;
    padding-right: 11rem;
}

.arkisto_sivupalkki {
    display: block;
    padding-left: 2.727rem;
    box-sizing: border-box;
    font-style: italic;
}

.arkisto_sivupalkki img {
    display: block;
    border-radius: 30px;
    margin-bottom: 2.75rem;
    width: 275px;
    max-width: 100%;
}

article.arkisto_teksti {
    display: block;
    margin-bottom: 8rem;
}

a:hover > h1.blogiotsikko,
a:hover > h2 {
    text-decoration: none;
    color: var(--musta);
}

a > h1.blogiotsikko,
a > h2 {
    transition: 0.25s color;
    margin-top: 1em;
}

.arkisto_teksti a:hover {
    text-decoration: none;
}

.arkisto_sivutus {
    display: flex;
    gap: 20px;
}

.arkisto_sivutus > .nappula {
    text-indent: -9999px;
    min-width: 68px;
    box-sizing: border-box;
    background-size: 50% auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.sivutus_uudemmat {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26.785" height="16.74" viewBox="0 0 26.785 16.74"><path id="arrow-left-long" d="M.5,103.212l6.7-6.7a1.674,1.674,0,0,1,2.367,2.367L5.725,102.72H25.118a1.674,1.674,0,0,1,0,3.348H5.725l3.839,3.839A1.674,1.674,0,0,1,7.2,112.274l-6.7-6.7A1.67,1.67,0,0,1,.5,103.212Z" transform="translate(-0.007 -96.025)" fill="%2300aec2"/></svg>');
}

.sivutus_uudemmat:hover {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26.785" height="16.74" viewBox="0 0 26.785 16.74"><path id="arrow-left-long" d="M.5,103.212l6.7-6.7a1.674,1.674,0,0,1,2.367,2.367L5.725,102.72H25.118a1.674,1.674,0,0,1,0,3.348H5.725l3.839,3.839A1.674,1.674,0,0,1,7.2,112.274l-6.7-6.7A1.67,1.67,0,0,1,.5,103.212Z" transform="translate(-0.007 -96.025)" fill="%23ffffff"/></svg>');
}

.sivutus_vanhemmat {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26.79" height="16.743" viewBox="0 0 26.79 16.743"><path id="arrow-right-long" d="M26.3,105.55l-6.7,6.7a1.674,1.674,0,1,1-2.368-2.368l3.843-3.838H1.674A1.684,1.684,0,0,1,0,104.32a1.6,1.6,0,0,1,1.674-1.627h19.4l-3.84-3.84A1.674,1.674,0,0,1,19.6,96.486l6.7,6.7A1.676,1.676,0,0,1,26.3,105.55Z" transform="translate(0 -95.995)" fill="%2300aec2"/></svg>');
}

.sivutus_vanhemmat:hover {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26.79" height="16.743" viewBox="0 0 26.79 16.743"><path id="arrow-right-long" d="M26.3,105.55l-6.7,6.7a1.674,1.674,0,1,1-2.368-2.368l3.843-3.838H1.674A1.684,1.684,0,0,1,0,104.32a1.6,1.6,0,0,1,1.674-1.627h19.4l-3.84-3.84A1.674,1.674,0,0,1,19.6,96.486l6.7,6.7A1.676,1.676,0,0,1,26.3,105.55Z" transform="translate(0 -95.995)" fill="%23ffffff"/></svg>');
}


.somejako {
    display: block;
    border-top: 1px solid #89C1C8;
    padding-top: 1.955rem;
}

.somejako > h2 {
    display: block;
    margin: 0 0 1.2em 0;
    font-size: 0.864rem;
}

span.arkisto_paivays {
    display: block;
    font-size: 0.864rem;
	text-transform: uppercase;
}

.single-post .teksti h5,
.kampanja {
    font-family: "Oswald", sans-serif;
    /* font-optical-sizing: auto; */
    font-weight: 600;
    font-style: normal;
    font-size: 1.364rem;
    color: var(--turkoosi);
    border-left: 5px solid var(--turkoosi);
    padding-left: 0.867em;
    width: 280px;
	max-width: 100%;
    line-height: 1.3em;
    margin: 2.273rem 0;
}

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

h1.blogiotsikko {
    margin-top: 1em;
}

.wpcf7-not-valid-tip {
	background: #741414;
	color: var(--valkoinen);
	margin-top: -1em;
	margin-bottom: 1em;
	padding: 0.5em;
	box-sizing: border-box;
	border-radius: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output {
	background: #741414;
	color: var(--valkoinen);
	margin-top: -1em;
	margin-bottom: 1em;
	padding: 2em 0.5em;
	box-sizing: border-box;
	border-radius: 5px;
	border: 0;
	text-align: center;
	margin: 2em 0 1em 0;
}

.wpcf7 form.sent .wpcf7-response-output {
	  background: #105316;
	  color: var(--valkoinen);
	  margin-top: -1em;
	  margin-bottom: 1em;
	  padding: 2em 0.5em;
	  box-sizing: border-box;
	  border-radius: 5px;
	  border: 0;
	  text-align: center;
	  margin: 2em 0 1em 0;
}

.wpcf7 form.sent input,
.wpcf7 form.sent textarea,
.wpcf7 form.sent span {
	  display: none !important;
}


.nosto a {
	color: var(--valkoinen);
	text-decoration: underline;
}

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

a.sahkopostiosoite > i {
    display: none !important;
}

@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;
    }

    .arkisto {
        grid-template-columns: 70% 30%;
    }
	
	.single-post .teksti {
		min-height: 550px;
	}
}

@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: 5.5rem 6rem 6rem 6rem;
	}

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

	.kuva_wrapper {
		right: -8rem;
	}
	
	.single-post .teksti {
		min-height: 500px;
	}
}

@media screen and (max-width: 1400px) {
    ul.paavalikko 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: 4.5rem 5rem 5rem 5rem;
	    width: calc(100% - 4rem);
	    margin: 0rem 2rem 0 2rem;
	    background: var(--turkoosi);
	    border-radius: 20px;
	}

	.footer_slogan {
		font-size: 1.3rem;
	}

	.alapalkki_rivi_2 {
        gap: 1rem;
    }
	
	.single-post .teksti {
		min-height: 450px;
	}
}

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

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

	.kuva_wrapper {
		right: -4rem;
	}
	
	.single-post .teksti {
		min-height: 425px;
	}
}

.mobile_nav_toggle {
    display: none;
}

@media screen and (max-width: 1200px) {
	.mobile_nav_toggle {
        display: block;
        width: 30px;
        box-sizing: border-box;
        cursor: pointer;
        padding: 0;
        z-index: 100;
    }

    .viiva1,
    .viiva2,
    .viiva3 {
        width: 30px;
        height: 5px;
        background-color: var(--valkoinen);
        margin: 5px 0;
        transition: 0.4s;
    }
	
	.nostolaatikko_data {
	    margin-top: -4rem;
	}

    .avattu .viiva1 {
        -webkit-transform: rotate(-45deg) translate(-8px, 7px);
        transform: rotate(-45deg) translate(-8px, 7px);
    }

    .avattu .viiva2 {
        opacity: 0;
    }

    .avattu .viiva3 {
        -webkit-transform: rotate(45deg) translate(-7px, -6px);
        transform: rotate(45deg) translate(-7px, -6px);
    }

	ul.paavalikko {
	    display: block;
	    position: absolute;
	    top: 100%;
	    right: 0;
	    left: 0;
	    background: var(--musta);
	    text-align: right;
	    font-size: 1.2rem;
	    transform: scaleY(0);
	    transform-origin: top;
	    transition: 0.2s transform;
		z-index: 10;
	}
	
	ul.paavalikko a {
	    display: block;
	    white-space: nowrap;
	    padding: 1rem 2rem;
	    text-align: left;
	}
	
	ul.paavalikko li.puhelin {
	    margin-left: 0;
		margin-top: 1rem;
	}
	
	ul.paavalikko li.puhelin a {
	    padding: 1rem calc(2rem + 30px) 1rem 2rem;
	    text-indent: inherit;
	    box-sizing: border-box;
	    width: auto;
	    background: none;
	    display: flex;
	    align-items: center;
	    gap: 10px;
	    text-align: left;
	    justify-content: flex-start;
	}
	
	li.puhelin span {
	    display: inline-block;
	    margin-right: 0;
	}
	
	.ylavalikko > .kehys {
	    padding: 1.5rem 2rem;
	    min-height: 100px;
	}
	
	.avattu+ul.paavalikko {
	    transform: scaleY(1.0);
	    transition: 0.5s transform;
	}
	
	.teksti_ja_kuva {
	    display: block;
	}
	
	.teksti {
	    padding-right: 0;
	}
	
	.kuva {
	    margin-top: 3rem;
	    padding-top: 80%;
	}
	
	.kuva_wrapper {
	    right: 0;
	    position: relative;
	}
	
	.kuva_wrapper > img {
	    border-radius: 20px;
	    object-position: top center;
	}
	
	.kuvalaatikko {
	    width: 500px;
	    left: calc(50% - 250px);
	    bottom: 0;
	    margin-top: -4em;
	    position: relative;
	    border-radius: 20px;
	}
	
	article.nostolaatikko {
	    display: block;
	    margin: 3rem auto;
	    width: 100%;
	    border-radius: 0px !important;
	    background: none;
	}
	
	.nostolaatikko_kuva {
	    min-height: 0;
	    padding-top: 50%;
	}
	
	.alapalkki_rivi_1 {
	    display: block;
	}
	
	a.footer_logo {
	    max-width: 90%;
	    margin: 0 auto 2rem auto;
	}
	
	.footer_slogan {
	    text-align: center;
	}
	
	.alapalkki_rivi_2 {
	    grid-template-columns: 1fr 1fr;
	    gap: 3rem 1rem;
	}
	
	.alapalkki_rivi_3 {
	    display: block;
	}
	
	.alapalkki_logot {
	    justify-content: center;
	    margin-bottom: 3rem;
	}
	
	.alapalkki_copyright {
	    text-align: center;
	    font-size: 0.9rem;
	}
	
	section.hero {
	    max-height: 1000px;
	    height: calc(100vh - 100px);
	    font-size: 1.2rem;
	}
	
	main.paasisalto {
	    margin-top: 3rem;
	    margin-bottom: 3rem;
	}
	
	.nostolaatikot {
	    margin: 3rem auto;
	}
	
	.lisateksti {
	    margin: 3rem 0;
	}
	
	.nosto {
	    margin-top: 3rem;
	}

	h1 {
	    font-size: 3rem;
	}

	.kuva {
	    padding-top: 0;
	}

	.footer_slogan p {
		margin-bottom: 1rem;
	}

	.kuvalaatikko > * {
	    background-size: 20px auto !important;
	    min-height: 24px;
	    padding-left: 2rem;
	}

	.alapalkki_rivi_2 img {
	    width: 40px;
	    height: 40px;
	    margin-bottom: 0.75rem;
	}

	.alapalkki_copyright p {
		line-height: 1.2em;
		margin-bottom: 1rem;
	}
	
	span.nowrap {
	    display: block;
	    line-height: 1.5rem;
	    white-space: nowrap;
	}

	

	.footer_jakaja {
		display: none;
	}
		
	li {
	    background-size: auto 12px;
	    padding-left: 1.5em;
	}

    .arkisto_tekstit {
        padding-right: 7rem;
    }

	.eikuvaa .kuvalaatikko {
	   left: 0;
	}
	
	.single-post .teksti {
		min-height: 0px;
	}
	
	.page-template-page-yhteystiedot .nosto {
		text-align: left;
	}

	.wpcf7 {
		text-align: left;
	}
	
	.wpcf7-list-item {
		margin-left: 0;
	}
}

@media screen and (max-width: 1000px) {
    .arkisto_tekstit {
        padding-right: 4rem;
    }
}

@media screen and (max-width: 800px) {
    .arkisto {
        display: flex;
        flex-direction: column-reverse;
    }

    .arkisto_sivupalkki {
        padding-left: 0;
        margin-bottom: 2.5rem;
        border-bottom: 1px solid #89C1C8;
        padding-bottom: 1rem;
    }

    .arkisto_tekstit {
        padding-right: 0;
        border: 0;
    }

    article.arkisto_teksti {
        margin-bottom: 5rem;
    }

	h2,
	h1.blogiotsikko {
		margin-bottom: 1.5rem;
	}
		
	p+p > .nappula {
	    margin-top: 0.5rem;
	}

	.nosto h1, .nosto h2, .nosto h3, .nosto h4, .nosto h5, .nostolaatikko h1, .nostolaatikko h2, .nostolaatikko h3, .nostolaatikko h4, .nostolaatikko h5 {
		margin-bottom: 1.5rem;
	}
}


@media screen and (max-width: 700px) {
	.kuvalaatikko {
		width: calc(100% - 2rem);
		left: 1rem;
		position: relative;
		padding: 1.5rem 2rem;
	}

	.eikuvaa .kuvalaatikko {
		left: 0;
		width: 100%;
	}	

	.nostolaatikko_data {
	    padding: 2.6rem 3rem 3rem 3rem;
	}
	
	.nosto {
	    padding: 4rem 0;
	}
	
	footer.alapalkki {
	    padding-top: 4rem;
	}
	
	.alapalkki_rivi_1 {
	    margin-bottom: 3rem;
	}
	
	.alapalkki_rivi_2 {
	    padding-bottom: 3rem;
	}
		
	.alapalkki_rivi_2 {
	    display: block;
	    padding-bottom: 1rem;
	}
	
	.alapalkki_rivi_2 > div {
	    display: block;
	    margin-bottom: 3rem;
	}
	
	.alapalkki_copyright p a {
	    display: block;
	    margin: 0.5rem 0;
	}
	
	.footer_slogan span, .footer_slogan a {
	    display: block;
	    margin: 1rem 0;
	}
	
	.footer_slogan p {
	    line-height: 1.3em;
	    margin-bottom: 2rem;
	}
	
	.google-maps {
	    padding-bottom: 70%;
	}

	.nostolaatikko li {
	    line-height: 1.2em;
	    background-position: left top 4px;
	}

	.kaksirivissa {
	    display: block;
	}
	
	ul + p > .nappula {
  		margin-top: 0.75rem;
	}
}

@media screen and (max-width: 600px) {
	h1 {
		font-size: 2.5rem;
	}

    h1.blogiotsikko,
	h2 {
		font-size: 1.8rem;
	}

	h3 {
		font-size: 1.25rem;
	}
	
	.kehys {
	    padding-left: 2rem;
	    padding-right: 2rem;
	}
	
	.alapalkki_kehys {
	    padding: 0 2rem;
	}

	.nostolaatikko_data {
	    padding: 3rem 2rem;
	}
	
	.nostolaatikko_kuva {
	    padding-top: 100%;
	}
	
}

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

    h1, h2, h3, h4, h5, h6 {
	    -webkit-hyphens: auto;
	    -moz-hyphens: auto;
	    -ms-hyphens: auto;
	    hyphens: auto;
	}
}