/* VÄLIMUISTITETTU */
/* GENEROITU 26.10.25 01:39 */

:root {
    --musta: #0f0f0f;
    --valkoinen: #FFF;
    --paavari: #26547c;
    --lisavari: #a99f96;
    --alapalkki: #094700;
    --teksti: #0f0f0f;
    --footnote: #161616;
    --rajoittaja: 1720px;
    --rajoittajakapea: 1330px;
    --fonttikoko: 18px;
    --turva: 20px;
    --isoturva: 70px;
    --logo: 250px;
}

@media screen and (max-width: 1500px) {
    :root {
        --fonttikoko: 18px;
        --turva: 15px;
    }
}

@media screen and (max-width: 1300px) {
    :root {
        --fonttikoko: 16px;
    }
}


body {
    background-color: #FFF;
    font-family: "Host Grotesk", sans-serif;;
    font-weight: 300;
}

input,
textarea {
    font-family: "Host Grotesk", sans-serif;;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7,
.widget-title,
#main_logo > a {
    font-family: "Host Grotesk", sans-serif;;
    font-weight: 800;
}


/* FONTTIKOOT START */
/*
@media screen and (min-width: 1801px) {
    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 30px;
    }

    h4 {
        font-size: 25px;
    }

    h5,
    html,
    body,
    div {
        font-size: 18px;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1800px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 35px;
    }

    h3 {
        font-size: 25px;
    }

    h4 {
        font-size: 20px;
    }

    h5,
    html,
    body,
    div {
        font-size: 18px;
    }
}

@media screen and (min-width: 1051px) and (max-width: 1200px) {
    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5,
    html,
    body,
    div {
        font-size: 18px;
    }
}

@media screen and (min-width: 801px) and (max-width: 1050px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5,
    html,
    body,
    div {
        font-size: 18px;
    }
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 21px;
    }

    h4 {
        font-size: 19px;
    }

    h5,
    html,
    body,
    div {
        font-size: 16px;
    }
}
*/
/* FONTTIKOOT END */

/* SIVUSTON ASETUKSET: OMA CSS */
header.ylavalikko.etusivu, header.ylavalikko.alasivu {
    background: var(--valkoinen);
}

nav.paavalikko a,
.alasivu nav.paavalikko a {
		color: var(--paavari);
}

nav.paavalikko a:hover,
.alasivu nav.paavalikko a:hover {
		border-color: var(--paavari);
}

nav.paavalikko li {
    margin-left: calc(var(--turva) * 1.5);
}

.hero_vasen {
		position: relative;
}

.hero_vasen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 20%);
}

input[type="submit"], a.nappula, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	font-family: "Host Grotesk", sans-serif;
    font-weight: 800;
}

.alapalkki_yla,
.hero_oikea.paavari {
	    background: url(https://www.kittilanvesi.com/wp-content/uploads/2024/11/blue-waves-background-scaled.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.alapalkki_yla::after,
.hero_oikea.paavari::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paavari);
    opacity: 0.9;
}


.alapalkki_yla::after {
	background: var(--alapalkki);
}

.hero_oikea .rajoittaja.puolikas {
    position: relative;
    z-index: 2;
}

nav.solu_12.arkisto_navigointi.pohjapadding {
    display: none;
}

nav.paavalikko .sub-menu a, .alasivu nav.paavalikko .sub-menu a {
    color: var(--valkoinen);
}

.alasivu .viiva1,
.alasivu .viiva2,
.alasivu .viiva3 {
	background-color: var(--paavari);
}

.alapalkki_yla .flex {
	position: relative;
	z-index: 2;
}

.alapalkki_ala p, .alapalkki_ala a {
    color: var(--valkoinen);
}

.alapalkki_ala a {
    text-decoration: underline;
}

.alapalkki_ala a:hover {
    color: #c0c0c0;
}

span.artikkelikuva {
	display: none;
}

.codedropz-upload-wrapper {
    display: block;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.home .arkisto.sisaltorivi.flex.valigntop {
    text-align: center;
}

.home .yksisisalto {
    padding-top: 0;
}

header.ylavalikko {
    padding-top: 0;
    padding-bottom: 0;
}

nav.paavalikko a {
    margin-top: 2px;
}

h1, h2, h3, h4, h5, h6, div, strong, p, span {
    word-break: break-word;
    overflow-wrap: break-word;
}

@media screen and (min-width: 801px) {
	.alapalkki_solu {
    width: 32%;
	}
}


@media screen and (max-width: 1000px) {
	nav.paavalikko a,
	.alasivu nav.paavalikko a {
    color: var(--valkoinen);
	}
	
	.home nav.paavalikko {
    background: var(--paavari);
	}
	
	li.menu-item-has-children > a:after {
			content: ' ⯆';
			font-size: 0.7em;
			display: inline-flex;
			margin-left: 0.5em;
			margin-bottom: 0.2em;
	}

	li.menu-item-has-children > a {
			display: flex;
			justify-content: center;
			align-items: center;
	}
}

@media screen and (min-width: 1001px) {
	.home .arkisto .solu_6 {
    padding-left: 3em;
    padding-right: 3em;
	}
}

a.paivystysnappi {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--paavari);
    padding: 25px 40px;
    line-height: 1em;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.25em;
    border: 5px solid var(--valkoinen);
    border-radius: 25px;
    color: var(--valkoinen);
	  transition: 0.25s background;
		z-index: 100;
}

a.paivystysnappi:hover {
	background: var(--lisavari);
}

.alapalkki_ala {
    padding-bottom: 120px;
}

@media screen and (max-width: 800px) {
	a.paivystysnappi {
    font-size: 1em;
    padding: 20px 30px;
	}
}


@media screen and (max-width: 450px) {
	a.paivystysnappi span {
    display: none;
	}
}

@media screen and (max-width: 280px) {
	a.paivystysnappi {
    display: none;
	}
}

@media screen and (max-width: 800px) {
	a.paalogo {
			max-width: calc(100% - 50px);
	}

	.ylavalikko .rajoittaja.flex {
			padding-left: 10px;
			padding-right: 20px;
	}
}