/* Basic */
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,900");
@import url("fontawesome-all.min.css");

* {
  font-family: "Source Sans Pro", "sans-serif";
}

@font-face {
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  font-family: "Source Sans Pro", "sans-serif";
}

/* 10-2024 lisätty CSS alkaa:
Jos otsikon sana ei mahdu ruudulle, katkaistaan se seuraavalle riville.
Koskee myös p-tagien sisällä olevia tekstejä. */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    overflow-wrap: break-word;
}
/* 10-2024 lisätty CSS loppuu */

.content header h2 {
    font-size: 3em;
    line-height: 1em;
    letter-spacing: -0.05em;
    margin-top: 4px !important;
    margin-bottom: 24px !important;
    color: #39454b;
    font-weight: 900;
}

/* 10-2024 lisätty CSS alkaa:
Käytetään listaelementeissä p-tagin tyylejä */
p,
.main ul li,
.main ol li {
		font-weight: 300;
		font-size: 24px;
		line-height: 1.75em;
		color: #39454b;
		letter-spacing: 0.025em;
}
/* 10-2024 lisätty CSS loppuu */

/*html {*/
/*    scroll-behavior: smooth;*/
/*    transition-duration: 5000ms;*/
/*     scroll-padding-top: 75px;*/
/*}*/
@keyframes smoothscroll1 {
  from, to { scroll-behavior: smooth; }
}

@keyframes smoothscroll2 {
  from, to { scroll-behavior: smooth; }
}

html {
  animation: smoothscroll1 2s;
     scroll-padding-top: 75px;
}

html:focus-within {
  animation-name: smoothscroll2;
  scroll-behavior: smooth;
   scroll-padding-top: 75px;
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: system-ui;
    vertical-align: baseline;
}

ol,
ul {
    list-style: none;
}

/* 10-2024 lisätty CSS alkaa:
Listat mobiilissa */
@media only screen and (max-width: 768px) {
        .content ol li,
        .content ul li {
            font-size: 16px !important;
        }   
}
@media only screen and (max-width: 736px) {
        .content ol,
        .content ul {
            text-align: left;
            margin: 20px 0 0 0;
            padding-right: 15px;
        }
}
@media only screen and (max-width: 480px) {
        .content ol,
        .content ul {
            padding-right: 15px;
        }
}
/* 10-2024 lisätty CSS loppuu */

/* 10-2024 lisätty CSS alkaa:
Mahdollistetaan numeroitu ja disc-kuvakkeella varustettu lista,
poista tämä jos numeroita/kuvakkeita ei tarvita */
.main ol li {
    list-style-type: decimal;
}
ol li::marker {
    font-weight: 400;
}
.main ul li {
    list-style-type: disc;
}
/* 10-2024 lisätty CSS loppuu */

a {
    text-decoration: underline;
    color: #C03;
}

#header img {
    padding: 0px;
    margin-left: 2.4em;
}

#header {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0.15em 0 rgb(0 0 0 / 10%);
}

nav ul {
    display: inline-flex;
    padding: 10px 50px;
}

nav ul li a {
    display: inline-block;
    padding: 0px 15px;
    color: #1a1a1a;
    font-size: 18px;
    font-family: system-ui;
    font-weight: 300;
    letter-spacing: 0.025em;
    /* 10-2024 lisätty CSS alkaa:
    Ei alleviivausta navi-linkkeihin */
    text-decoration: none;
    /* 10-2024 lisätty CSS loppuu */
}
 
.hamburger {
        display: none;
}

.bar {  
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out;
    background-color: #727272;
}

@media screen and (min-width: 801px) {
    
        #header {
            background: rgba(255, 255, 255, 0.95);
            height: 81px;
        }
    
        nav ul li a {
            text-decoration: underline;
        }
        
}
    
@media screen and (max-width: 800px) {
    
        h2 {
        font-size: 2em;
        line-height: 1em;
        letter-spacing: -0.05em;
        margin-top: 8px;
        }
    
        /* 10-2024 lisätty CSS alkaa:
        Käytetään listaelementeissä p-tagin tyylejä */
        p,
        .content ul li,
        .content ol li {
            font-weight: 300;
            font-size: 16px;
            line-height: 1.5em;
            color: #39454b;
            letter-spacing: 0.025em;
        }
        /* 10-2024 lisätty CSS loppuu */
    
        .hamburger {
            display: block;
            cursor: pointer;
            position: absolute;
            right: 29px;
            top: 26px;
        }
        
        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active .bar:nth-child(1) {
            -webkit-transform: translateY(8px) rotate(45deg);
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger.active .bar:nth-child(3) {
            -webkit-transform: translateY(-8px) rotate(-45deg);
            transform: translateY(-8px) rotate(-45deg);
        }
        
        .nav-menu {
            position: fixed;
            left: 100%;
            top: 64px;
            flex-direction: column;
            background-color: #3d3d3d;
            width: 100%;
            padding-top: 20px;
            padding-bottom: 20px;
            text-align: center;
            transition-duration: 0.4s;
            justify-content: center;
        }

        .nav-menu.active {
            left: -45px;
            transition-duration: 0.4s;
        }

        .nav-item {
            margin: 0.5rem 0;
        }
        
        .nav ul li a {
            display: inline-block;
            padding: 0px 15px;
            color: #fff;
            font-size: 18px;
            font-family: system-ui;
            font-weight: 300;
            letter-spacing: 0.025em;
        }
        
        nav ul li a {
            color: #fff ;
        }

        #header {
            display: flex;
            position: fixed;
            justify-content: center;
            flex-direction: row;
            flex-wrap: wrap;
            padding: 0px;
            text-align: center;
            height: 81px;
        }

        #header img {
            padding: 0px;
            margin-left: 0.4em;
            margin-right: 0.4em;
        }

}

@media screen and (max-width: 600px) {
    
        #header {
            height: 59px;
        }
  
        #header img[style] {
            margin-top: 0;
            height: 59px !important;
            width: auto !important;
            position: fixed;
            left: 9px;
            margin-left: 0 !important;
            margin-right: 0 !important;
            top: 0;
        }
        
        .hamburger {
            top: 14px;
            margin-right: 0;
        }
        
        .nav-menu {
            top: 42px;
        }
        
}

/* Box */

	.box {
		background: #ffffff;
		color: #39454b;
		padding: 2.5em;
	}

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

		.box.style2 {
			padding: 3.5em 2.5em 3.5em 2.5em;
		}

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

	.box {
		padding: 1em;
	}

	.box.style2 {
		padding: 1.5em 1.25em 1.5em 1.25em;
		background-color: rgba(255, 255, 255, 0.9);
	}

}

/* Sections/Article */

	header p {
		display: block;
		margin: 1em 0 0 0;
		padding: 0 0 0.5em 0;
	}

	footer {
		margin-top: 4em;
	}

/* Button */

input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: background-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    background-color: #6abf60;
    border: 0;
    border-radius: 3.5em;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    height: 3.5em;
    line-height: 3.5em;
    outline: 0;
    padding: 0 2em 0 2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 2px;
}

input[type="button"].down,
input[type="submit"].down,
input[type="reset"].down,
.button.down,
button.down {
    width: 5em;
    height: 5em;
    line-height: 4.5em;
    padding: 0;
    background-image: url("../images/dark-arrow.svg");
    background-position: center center;
    background-repeat: no-repeat;
    text-indent: -10em;
    overflow: hidden;
}

input[type="button"].down.anchored,
input[type="submit"].down.anchored,
input[type="reset"].down.anchored,
.button.down.anchored,
button.down.anchored {
    bottom: 0;
    border-bottom: 0;
    border-radius: 3em 3em 0 0;
   height: 5em;
    width: 5em;
    margin-left: -2.5em;
}

@media screen and (max-width: 768px) {
    
    input[type="button"].down.anchored, input[type="submit"].down.anchored, input[type="reset"].down.anchored, .button.down.anchored, button.down.anchored {
            bottom: 0;
            border-bottom: 0;
            border-radius: 3em 3em 0 0;
            height: 4.5em;
            margin-left: -1.5em;
    }

}

input[type="button"].anchored,
input[type="submit"].anchored,
input[type="reset"].anchored,
.button.anchored,
button.anchored {
    position: absolute;
    left: 50%;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.button:hover,
button:hover {
    background-color: #a8cea4;
}

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
.button:active,
button:active {
    background-color: #88bc82;
}

input[type="button"].style2,
input[type="submit"].style2,
input[type="reset"].style2,
.button.style2,
button.style2 {
    background-color: transparent;
    border: solid 2px #e5e6e7;
    color: inherit;
}

input[type="button"].style2:hover,
input[type="submit"].style2:hover,
input[type="reset"].style2:hover,
.button.style2:hover,
button.style2:hover {
    background-color: rgba(229, 230, 231, 0.25);
}

input[type="button"].style2:active,
input[type="submit"].style2:active,
input[type="reset"].style2:active,
.button.style2:active,
button.style2:active {
    background-color: rgba(229, 230, 231, 0.375);
}

input[type="button"].style2.down,
input[type="submit"].style2.down,
input[type="reset"].style2.down,
.button.style2.down,
button.style2.down {
    background-image: url("../images/arrow.svg");
}

/* Actions */

ul.actions {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	cursor: default;
	list-style: none;
	margin-left: -1em;
	padding-left: 0;
}

ul.actions li {
	padding: 0 0 0 1em;
	vertical-align: middle;
}

ul.actions.special {
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	width: 100%;
	margin-left: 0;
}

ul.actions.special li:first-child {
	padding-left: 0;
}

ul.actions.stacked {
	-moz-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	margin-left: 0;
}

ul.actions.stacked li {
	padding: 1.3em 0 0 0;
}

ul.actions.stacked li:first-child {
	padding-top: 0;
}

ul.actions.fit {
		width: calc(100% + 1em);
}

ul.actions.fit li {
		-moz-flex-grow: 1;
		-webkit-flex-grow: 1;
		-ms-flex-grow: 1;
		flex-grow: 1;
		-moz-flex-shrink: 1;
		-webkit-flex-shrink: 1;
		-ms-flex-shrink: 1;
		flex-shrink: 1;
		width: 100%;
}

ul.actions.fit li > * {
		width: 100%;
}

ul.actions.fit.stacked {
		width: 100%;
}

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

		ul.actions:not(.fixed) {
			-moz-flex-direction: column;
			-webkit-flex-direction: column;
			-ms-flex-direction: column;
			flex-direction: column;
			margin-left: 0;
			width: 100% !important;
		}

		ul.actions:not(.fixed) li {
				-moz-flex-grow: 1;
				-webkit-flex-grow: 1;
				-ms-flex-grow: 1;
				flex-grow: 1;
				-moz-flex-shrink: 1;
				-webkit-flex-shrink: 1;
				-ms-flex-shrink: 1;
				flex-shrink: 1;
				padding: 1em 0 0 0;
				text-align: center;
				width: 100%;
		}

		ul.actions:not(.fixed) li > * {
				width: 100%;
		}

		ul.actions:not(.fixed) li:first-child {
				padding-top: 0;
		}

		ul.actions:not(.fixed) li input[type="submit"],
				ul.actions:not(.fixed) li input[type="reset"],
				ul.actions:not(.fixed) li input[type="button"],
				ul.actions:not(.fixed) li button,
				ul.actions:not(.fixed) li .button {
					width: 100%;
		}

		ul.actions:not(.fixed) li input[type="submit"].icon:before,
				ul.actions:not(.fixed) li input[type="reset"].icon:before,
				ul.actions:not(.fixed) li input[type="button"].icon:before,
				ul.actions:not(.fixed) li button.icon:before,
				ul.actions:not(.fixed) li .button.icon:before {
					margin-left: -0.5rem;
				}

		}

/* Image */

.image {
    position: relative;
    display: inline-block;
}

.image:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* 10-2024 lisätty CSS alkaa:
    Poistetaan kuvista harmaa tausta */
    background: none;
    /* 10-2024 lisätty CSS loppuu */
}

.image img {
    display: block;
    width: 100%;
}

.image.featured {
    display: block;
    width: 100%;
    margin: 0 0 2em 0;
}

.image.fit {
    display: block;
    width: 100%;
}

.image.left {
    float: left;
    margin: 0 2em 2em 0;
}

.image.centered {
    display: block;
    margin: 0 0 2em 0;
}

.image.centered img {
    margin: 0 auto;
    width: auto;
}


/* Form */

form {
	margin: 0 0 2em 0;
}

form > :last-child {
	margin-bottom: 0;
}

form > .fields {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	width: calc(100% + 3em);
	margin: -1.5em 0 2em -1.5em;
}

form > .fields > .field {
	-moz-flex-grow: 0;
	-webkit-flex-grow: 0;
	-ms-flex-grow: 0;
	flex-grow: 0;
	-moz-flex-shrink: 0;
	-webkit-flex-shrink: 0;
	-ms-flex-shrink: 0;
	flex-shrink: 0;
	padding: 1.5em 0 0 1.5em;
	width: calc(100% - 5.1em);
}

form > .fields > .field.half {
    width: calc(100% - 2.95em);
    display: flex;
}

input[type="email"] {
    margin-left: 1.5em;
}

form > .fields > .field.third {
	width: calc(100%/3 - 0.5em);
}

form > .fields > .field.quarter {
	width: calc(25% - 0.375em);
}

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

		form > .fields {
			width: calc(100% + 2em);
			margin: -1em 0 2em -1em;
		}

		form > .fields > .field {
			padding: 1em 0 0 1em;
			width: calc(100% - 4.1em);
		}

		form > .fields > .field.half {
			width: calc(100% - 2em);
            display: flex;
            flex-wrap: wrap;
		}

		form > .fields > .field.third {
			width: calc(100% - 1em);
		}

		form > .fields > .field.quarter {
			width: calc(100% - 1em);
		}
		
		input[type="email"] {
            margin-left: 0em;
            margin-top: 0.75em;
        }

}

label {
	display: block;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
	color: #39454b;
	display: block;
	width: 100%;
	padding: 0.65em 0.75em;
	background: none;
	border: 2px solid #d9d9d9;
	color: inherit;
	border-radius: 0.5em;
	outline: none;
	font-size: 20px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
	border-color: #9ac8e9;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select {
	line-height: 1.35em;
}

textarea {
	min-height: 8em;
}
	
/* 10-2024 lisätty CSS alkaa:
Hieman ilmaa reCAPTCHA-bannerin ja Lähetä-painikkeen väliin.
Näyttää mobiilinäkymissä paremmalta. */
.g-recaptcha.submitbtn.more-space {
	margin-top: 20px;
}
/* 10-2024 lisätty CSS loppuu */

	::-moz-focus-inner {
		border: 0;
	}

	::-webkit-input-placeholder {
		opacity: 0.375;
	}

	:-moz-placeholder {
		opacity: 0.375;
	}

	::-moz-placeholder {
		opacity: 0.375;
	}

	:-ms-input-placeholder {
		opacity: 0.375;
	}


/* Icon */

.icon {
    text-decoration: none;
    position: relative;
    text-decoration: none;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon:before {
    line-height: inherit;
}

.icon>.label {
    display: none;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}


/* Icons */

ul.icons {
    cursor: default;
}

ul.icons li {
    display: inline-block;
}

ul.icons a {
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    text-align: center;
    border: 0;
    font-size: 1.3em;
}


/* List */

ul.default {
    list-style: disc;
    padding-left: 1em;
}

ul.default li {
    padding-left: 0.5em;
}

ul.menu {
    cursor: default;
}

ul.menu li {
    display: inline-block;
    line-height: 1em;
    border-left: solid 1px #e5e6e7;
    padding: 0 0 0 0.5em;
    margin: 0 0 0 0.5em;
}

ul.menu li:first-child {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
}

ol.default {
    list-style: decimal;
    padding-left: 1.25em;
}

ol.default li {
    padding-left: 0.25em;
}


/* Actions */

ul.actions {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    cursor: default;
    list-style: none;
    margin-left: -1em;
    padding-left: 0;
}

ul.actions li {
    padding: 0 0 0 1em;
    vertical-align: middle;
}

ul.actions.special {
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    width: 100%;
    margin: 2em 0em 0em;
    
}

ul.actions.special li:first-child {
    padding-left: 0;
}

ul.actions.stacked {
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-left: 0;
}

ul.actions.stacked li {
    padding: 1.3em 0 0 0;
}

ul.actions.stacked li:first-child {
    padding-top: 0;
}

ul.actions.fit {
    width: calc(100% + 1em);
}

ul.actions.fit li {
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -moz-flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-shrink: 1;
    flex-shrink: 1;
    width: 100%;
}

ul.actions.fit li>* {
    width: 100%;
}

ul.actions.fit.stacked {
    width: 100%;
}

@media screen and (max-width: 480px) {
    
    ul.actions:not(.fixed) {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-left: 0;
        width: 100% !important;
    }
    
    ul.actions:not(.fixed) li {
        -moz-flex-grow: 1;
        -webkit-flex-grow: 1;
        -ms-flex-grow: 1;
        flex-grow: 1;
        -moz-flex-shrink: 1;
        -webkit-flex-shrink: 1;
        -ms-flex-shrink: 1;
        flex-shrink: 1;
        padding: 1em 0 0 0;
        text-align: center;
        width: 100%;
    }
    
    ul.actions:not(.fixed) li>* {
        width: 100%;
    }
    
    ul.actions:not(.fixed) li:first-child {
        padding-top: 0;
    }
    
    ul.actions:not(.fixed) li input[type="submit"],
    ul.actions:not(.fixed) li input[type="reset"],
    ul.actions:not(.fixed) li input[type="button"],
    ul.actions:not(.fixed) li button,
    ul.actions:not(.fixed) li .button {
        width: 100%;
    }
    
    ul.actions:not(.fixed) li input[type="submit"].icon:before,
    ul.actions:not(.fixed) li input[type="reset"].icon:before,
    ul.actions:not(.fixed) li input[type="button"].icon:before,
    ul.actions:not(.fixed) li button.icon:before,
    ul.actions:not(.fixed) li .button.icon:before {
        margin-left: -0.5rem;
    }
    
}

.main {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	position: relative;
	margin: 0;
	overflow-x: hidden;
}

.main > .content {
	width: 65em;
	max-width: calc(100% - 4em);
	margin: 0 auto;
}

.main > .content > :last-child {
	margin-bottom: 0;
}

.main.fullscreen {
	min-height: 100%;
}

.main.style11 {
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	text-align: center;
	padding:10em 0 10em 0;
}
        
#intro p {
    color: white;
    line-height: 40px;
    font-size: 24px;
}
		
.main.style11 > .content {
	-moz-transition: opacity 1s ease;
	-webkit-transition: opacity 1s ease;
	-ms-transition: opacity 1s ease;
	transition: opacity 1s ease;
	-moz-transform: translateZ(0);
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	opacity: 1.0;
	margin: 0;
}

.main.style11.inactive > .content {
	opacity: 0;
}

.main.style2 {
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: center;
	-webkit-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	padding: 6em 0 6em 0;
	overflow: hidden;
}

.main.style2.left {
	-moz-justify-content: -moz-flex-start;
	-webkit-justify-content: -webkit-flex-start;
	-ms-justify-content: -ms-flex-start;
	justify-content: flex-start;
}

.main.style2.right {
	-moz-justify-content: -moz-flex-end;
	-webkit-justify-content: -webkit-flex-end;
	-ms-justify-content: -ms-flex-end;
	justify-content: flex-end;
}

.main.style2.inactive.left > .content {
	-moz-transform: translateX(-100%);
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);
}

.main.style2.inactive.right > .content {
	-moz-transform: translateX(100%);
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	transform: translateX(100%);
}

.main.style3 {
	text-align: center;
	padding: 5em 0 5em 0;
}

.main.style3 .content > header {
	margin-bottom: 2em;
}

.main.style3.primary {
	background: #ffffff;
}

.main.style3.secondary {
	background: #f5f6f7;
}

.main.dark {
	color: #ffffff;
}

.main.dark a {
	color: inherit;
}

.main.dark .button.style2 {
	border-color: #ffffff;
}

.main.dark .button.style2:hover {
	background-color: rgba(255, 255, 255, 0.125);
}

.main.dark .button.style2:active {
	background-color: rgba(255, 255, 255, 0.25);
}

.main.dark .button.style2.down {
	background-image: url("../images/dark-arrow.svg");
}

body.is-touch .main {
	background-attachment: scroll !important;
}

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

	.main.style2 .content {
			width: 40%;
		}

}

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

	.main.style2 .content {
			width: 50%;
		}

}

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

		.main.style2 .content {
			width: 60%;
        }

}

@media screen and (max-width: 736px) {
    
        #intro p {
            color: white;
            line-height: 30px;
            font-size: 18px;
        }
            
		.main > .content br {
			display: none;
		}

		.main.fullscreen {
			height: auto !important;
		}

		.main.style11 {
			padding: 5em 15px 4em 15px;
		}

		.main.style2 {
			padding: 6em 15px 6em 15px;
		}

		.main.style2:before, .main.style2:after {
			display: none !important;
		}

		.main.style2 .button.anchored {
			display: none;
		}

		.main.style2 .content {
			width: 100%;
			max-width: 100%;
			text-align: center;
			-moz-transform: none;
			-webkit-transform: none;
			-ms-transform: none;
			transform: none;
		}

		.main.style3 {
			text-align: center;
			padding: 3em 10px 3em 10px;
		}

}

@media screen and (max-width: 690px) {
    
        #intro p {
            color: white;
            line-height: 27px;
            font-size: 17px;
        }
        
}

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

        /* 10-2024 lisätty CSS alkaa,
        levennetään sisällön sivumarginaaleja hieman mobiiliin */
		.main > .content {
			max-width: 90%;
		}
		/* 10-2024 lisätty CSS loppuu */

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

        /* 10-2024 lisätty CSS alkaa,
        levennetään sisällön sivumarginaaleja hieman mobiiliin */
		.main > .content {
			max-width: 90%;
		}
		/* 10-2024 lisätty CSS loppuu */

}

/* One  */

.content {
    position: relative;
    z-index: 3;
}

#one::before,
#two::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: none !important;
    background-color: #8294a1 !important;
    opacity: 0.25;
}
/* 10-2024 lisätty CSS loppuu */
        
.main.style2 .content {
    width: 40%;
}

.main.style2>.content {
    position: relative;
    width: 35%;
    margin: 15px 0px;
}

    /*#one.main.style2>.content{*/
    /*    -moz-transition: -moz-transform 4s ease-in;*/
    /*    -webkit-transition: -webkit-transform 3s ease-in;*/
    /*    -ms-transition: -ms-transform 4s ease-in;*/
    /*    transition: transform 4s  cubic-bezier(0, 1, .3, 1), opacity .3s .25s ease-in;*/
    /*    -moz-transform: translateX(-38em);*/
    /*    -webkit-transform: translateX(-38em);*/
    /*    -ms-transform: translateX(-38em);*/
    /*     transform: translateX(-38em);*/
    /*    margin-right: -38em;*/
    /*}*/
    /*#two.main.style2>.content{*/
    /*    -moz-transition: -moz-transform 4s ease-in;*/
    /*    -webkit-transition: -webkit-transform 4s ease-in;*/
    /*    -ms-transition: -ms-transform 4s ease-in;*/
    /*    transition: transform 4s  cubic-bezier(0, 1, .3, 1), opacity .3s .25s ease-in;*/
    /*    -moz-transform: translateX(38em);*/
    /*    -webkit-transform: translateX(38em);*/
    /*    -ms-transform: translateX(38em);*/
    /*     transform: translateX(38em);*/
    /*    margin-left: -38em;*/
    /*}*/
    
    
#one .ani {
    -moz-transition: -moz-transform 4s ease-in;
    -webkit-transition: -webkit-transform 3s ease-in;
    -ms-transition: -ms-transform 4s ease-in;
    transition: transform 4s  cubic-bezier(0, 1, .3, 1), opacity .3s .25s ease-in;
    -moz-transform: translateX(-38em);
    -webkit-transform: translateX(-38em);
    -ms-transform: translateX(-38em);
    transform: translateX(-38em);
    margin-right: -38em;
    max-width: 595px;
    will-change: transform, opacity;
}
    
#two .ani {
    margin-left: -38em;
    -moz-transform: translateX(38em);
    -webkit-transform: translateX(38em);
    -ms-transform: translateX(38em);
    transform: translateX(38em);
    transition: transform 4s .25s cubic-bezier(0, 1, .3, 1), opacity .3s .25s ease-in;
    max-width: 600px;
    will-change: transform, opacity;
}
    
.content.ani {
    text-align: left;
}
    
.box.style2 {
    padding: 4.5em 2.5em 4.5em 2.5em;
}

@media screen and (max-width: 736px) {
        
    #one.mobile-image-exists {
        background: center 0 url("../images/one_mobile.jpg") no-repeat;
        background-size: cover;
        background-attachment: inherit;
        position: relative;
        z-index: 1;
        }
    
    #two.mobile-image-exists {
        background: center 0 url("../images/two_mobile.jpg") no-repeat;
        background-size: cover;
        background-attachment: inherit;
        position: relative;
        z-index: 1;
        }
    /* 10-2024 lisätty CSS loppuu */
    
    #one .ani {
        border: none;
        border-bottom: none;
        border-radius: 0.25em;
        box-shadow: 1em 1em 2em 0.25em rgb(0 0 0 / 20%);
        opacity: 1;
        margin: auto;
        position: unset;
        transform: translateX(0);
        transition: transform 4s .25s cubic-bezier(0, 1, .3, 1), opacity .3s .25s ease-in;
        max-width: 595px;
        will-change: transform, opacity;
    }
    
    #two .ani {
        border: none;
        border-bottom: none;
        border-radius: .25em;
        margin: auto;
        box-shadow: 1em 1em 2em .25em rgba(0, 0, 0, .2);
        position: unset;
        opacity: 1;
        transform: translateX(0);
        transition: transform 4s .25s cubic-bezier(0, 1, .3, 1), opacity .3s .25s ease-in;
        max-width: 600px;
        will-change: transform, opacity;
    }
    
    .box.style2 {
        padding: 1.1em;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .main.style2>.content {
        -moz-transition: -moz-transform 1s ease;
        -webkit-transition: -webkit-transform 1s ease;
        -ms-transition: -ms-transform 1s ease;
        transition: transform 1s ease;
        -moz-transform: translateZ(0);
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        position: relative;
        width: 92%;
        /* 10-2024 muokattu CSS alkaa,
		poistetaan tekstin keskitys mobiilista */
        text-align:start;
        /* 10-2024 muokattu CSS loppuu */
        margin: 15px 0px;
    }
    
    a.button.style2.down.anchored {
        font-size: 18px;
    }

}

/* gallery */

.main.style3 {
    text-align: center;
    padding: 6em 0 6em 0;
}

.gallery, .logo-gallery {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 45em;
    max-width: 100%;
    margin: 2em auto 2em auto;
    /* 10-2024 muokattu CSS alkaa,
	lisätään galleriaan ilmavuutta horisontaalisesti */
    gap: 2%;
    /* 10-2024 muokattu CSS loppuu */
}

.gallery article {
    -moz-transition: -moz-transform 1s ease, opacity 1s ease;
    -webkit-transition: -webkit-transform 1s ease, opacity 1s ease;
    -ms-transition: -ms-transform 1s ease, opacity 1s ease;
    transition: transform 1s ease, opacity 1s ease;
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    width: 49%;
    position: relative;
    opacity: 1.0;
    /* 10-2024 muokattu CSS alkaa,
	lisätään galleriaan ilmavuutta vertikaalisesti */
    margin-bottom: 2%;
    /* 10-2024 muokattu CSS loppuu */
}

.logo-gallery article {
    width: 49%;
    position: relative;
    margin-bottom: 2%;
}

.logo-gallery article img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    
    .form-box {
        background: #ffffff;
        color: #39454b;
        padding: 1em;
        border-radius: 5px;
    }
    
    /* 10-2024 lisätty CSS alkaa,
    poistetaan tekstin keskitys mobiilissa */
    .main.style3 {
        text-align: start;
        padding: 3em 0 3em 0;
    }
    /* 10-2024 lisätty CSS loppuu */
    
}

/* gallery – lightbox */

/* 10-2024 lisätty CSS alkaa,
luodaan galleriakuviin lightbox-efekti */

.lightbox {
    display: none;
    position: fixed;
    z-index: 99999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#header.hidden {
    display: none;
}
/* 10-2024 lisätty CSS loppuu */

/* Contact */
    
#contact {
    overflow: hidden;
	padding-bottom: 0;
	/* 10-2024 muokattu CSS alkaa,
	hienosäädetään lohkon marginaaleja */
	margin-top: -7px;
	/* 10-2024 lisätty CSS loppuu */
}

#contact .box {
	-moz-transition: -moz-transform 1s ease;
	-webkit-transition: -webkit-transform 1s ease;
	-ms-transition: -ms-transform 1s ease;
	transition: transform 1s ease;
	-moz-transform: translateY(0);
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	position: relative;
    /* 10-2024 muokattu CSS alkaa,
	hienosäädetään lohkon marginaaleja */
    margin-bottom: 40px;
	/* 10-2024 lisätty CSS loppuu */
}

#contact.inactive .box {
	-moz-transform: translateY(100%);
	-webkit-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
}

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

	#contact .box {
		padding: 1.5em 1.5em 2em 1.5em;
		margin-bottom: 5%;
	}

}

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

	#contact .box {
		padding: 1em 1em 2em 1em;
	}

}

/* Footer */

#footer {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	position: relative;
	margin: 0;
	line-height: 1em;
	padding: 1.5em;
	background: #39454b;
	color: rgba(185, 186, 187, 0.5);
	overflow: hidden;
}

#footer > * {
	margin-bottom: 0;
}

#footer a {
    color: #c3c3c3;
}

#footer a:hover {
	color: #e3e3e3;
}

#footer ul.menu {
	margin: 0;
	margin-right: 35px;
}

#footer ul.menu li {
    border-left-color: #c3c3c3;
    font-size: 1.3em;
    color: #c3c3c3;
}

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

	#footer {
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-moz-justify-content: center;
		-webkit-justify-content: center;
		-ms-justify-content: center;
		justify-content: center;
		line-height: 1.5em;
		text-align: center;
		padding: 2em 1em 2em 1em;
		}

	#footer > * {
		margin: 0 0 1em 0;
		padding-left: 0;
		}
		
	#footer ul.menu {
	    margin-right: 0;
    }

}

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

	#footer ul.menu li {
		border-left: none;
		display: block;
		line-height: inherit;
		margin: 0.25em 0 0 0;
		padding: 0.25em 0 0 0;
	  }

		#footer ul.menu li:first-child {
		margin-top: 0;
		padding-top: 0;
	}

}

.main.style11 h1, .main h1 { line-height: 95%; color: #fff; }
#intro .content h2 { color: #fff; }
#intro .content { width: 100%; max-width: 1190px; padding: 0 40px 0 40px; }
#work .gallery { max-width: 100% !important; }

.main.style11 h2, .main h2, .main.style11 h3, .main h3,
.main.style11 h4, .main h4, .main.style11 h5, .main h5,
.main.style11 h6, .main h6 { line-height: 1.0;
margin-top: 30px; margin-bottom: 20px; }

@media screen and (max-width: 800px) {
.main.style11 h2, .main h2 { line-height: 1em;}
.main.style11 h1 { line-height: 95%; color: white; }
.main h1 { line-height: 95%;} }

@media screen and (max-width: 736px) {
#intro { text-align: left !important; }
#intro .content { padding: 0 10px 0 10px !important; }
.main.style11 h2, .main h2 { line-height: 1em; } }



/*
***************************************************************************
***************************************************************************
***************************************************************************
***************************************************************************
**** CUSTOM-OSUUS ALKAA! **************************************************
**** MUOKKAA TÄSTÄ ETEENPÄIN TARVITTAESSA *********************************
**** TÄHÄN ON KOOTTU USEIMITEN MUOKKAUSTA TARVITSEVAT KOHDAT **************
***************************************************************************/


/* ---------------------------------------------------
    Asemoidaanko Intro-teksti vasemmalle vai keskelle?
------------------------------------------------------ */

#intro { text-align: center; } /* valitse tässä joko "left" tai "center" */


/* ------------------------------------------
    Asemoidaanko Intro-alueen hyppylinkki
    (alaspäin-nuoli) vasemmalle vai keskelle?
--------------------------------------------- */

#intro .content footer { 
text-align: center; } /* valitse tässä joko "left" tai "center" */


/* --------------------------------------------------
    Muokkaa otsikkojen fontti-koot tarvittaessa tässä:
----------------------------------------------------- */

.main.style11 h1,.main h1 { font-size: 88px; } /* H1 isolla näytöllä */
.main.style11 h2,.main h2 { font-size: 48px; } /* H2 isolla näytöllä */
.main.style11 h3,.main h3 { font-size: 33px; } /* H3 isolla näytöllä */
.main.style11 h4,.main h4 { font-size: 30px; } /* H4 isolla näytöllä */
.main.style11 h5,.main h5 { font-size: 29px; } /* H5 isolla näytöllä */
.main.style11 h6,.main h6 { font-size: 25px; } /* H6 isolla näytöllä */

@media screen and (max-width: 800px) {
.main.style11 h1,.main h1 { font-size: 3.7em; } /* H1 leveydessä max 800px */
.main.style11 h2,.main h2 { font-size: 3.0em; } /* H2 leveydessä max 800px */
.main.style11 h3,.main h3 { font-size: 2.0em; } /* H3 leveydessä max 800px */
.main.style11 h4,.main h4 { font-size: 1.5em; } /* H4 leveydessä max 800px */
.main.style11 h5,.main h5 { font-size: 1.3em; } /* H5 leveydessä max 800px */
.main.style11 h6,.main h6 { font-size: 1.1em; } } /* H6 leveydessä max 800px */

@media screen and (max-width: 736px) {
.main.style11 h1,.main h1 { font-size: 3.0em; } /* H1 leveydessä max 736px */
.main.style11 h2,.main h2 { font-size: 3.0em; } } /* H2 leveydessä max 736px */

@media screen and (max-width: 480px) {
.main.style11 h1,.main h1 { font-size: 2.5em; } /* H1 leveydessä max 480px */
.main.style11 h2,.main h2 { font-size: 2.5em; } } /* H2 leveydessä max 480px */
		
@media screen and (max-width: 440px) {
.main.style11 h1,.main h1 { font-size: 2.0em; } /* H1 leveydessä max 440px */
.main.style11 h2,.main h2 { font-size: 2.1em; } } /* H2 leveydessä 440px */
		
@media screen and (max-width: 370px) {
.main.style11 h1,.main h1 { font-size: 1.8em; } /* H1 leveydessä max 370px */
.main.style11 h2,.main h2 { font-size: 1.8em; } } /* H2 leveydessä max 370px */


/* ----------------------------------------------------
    Muokkaa alla oleviin kohtiin seuraavien
    taustakuvien formaatit:
        intro.jpg
        one.jpg
        two.jpg
    Mikäli formaatti on esim. PNG, muokkaa jokainen
    äsken mainituista kolmesta tiedostosta oikeaan
    formaattiin eli esimerkiksi:
        ...url(../images/one.png)... jne.
        
    Tässä tyylitiedostossa on käytössä vakio-formaatti
    eli JPG. Jos käytät JPG-formaattia taustakuvien
    kuvatiedostoissa, muokkauksia ei tarvita.
    
    HUOM! Mobiilitaustakuvat ovat aina JPG-formaatissa.
    Niiden formaattia ei voi muuttaa (helposti).
------------------------------------------------------ */

#intro { background: center 0 url("../images/overlay.png"),
/*muokkaa --> */url("../images/intro.jpg") no-repeat;/* <-- muokkaa*/
background-size: cover; background-attachment: fixed; }

#one {
/*muokkaa --> */background: center 0 url(../images/one.jpg);/* <-- muokkaa*/
background-size: cover; background-attachment: fixed; position: relative; z-index: 1; }

#two {
/*muokkaa --> */background: center 0 url(../images/two.jpg) no-repeat;/* <-- muokkaa*/
background-size: cover; background-attachment: fixed; position: relative; z-index: 1; }

@media screen and (max-width: 1080px) {
    
#intro { background: center 0 url("../images/overlay.png") no-repeat,
/*muokkaa --> */ center 0 url("../images/intro.jpg") no-repeat; /* <-- muokkaa*/
background-size: cover; background-attachment: inherit; }

#one {
/*muokkaa --> */background: center 0 url("../images/one.jpg") no-repeat;/* <-- muokkaa*/
background-size: cover; background-attachment: inherit; position: relative; z-index: 1; }
        
#two {
/*muokkaa --> */background: center 0 url("../images/two.jpg") no-repeat;/* <-- muokkaa*/
background-size: cover; background-attachment: inherit; position: relative; z-index: 1; } }


/* ----------------------------------------------------------
    Kuinka leveä logo-galleria saa olla maksimissaan? Leveys
    määrittää kuvakkeiden koon. Logo-galleria kokoaa sinne
    lisätyt kuvat kahteen palstaan.
    
    Tämä määritys ei koske kuvagalleriaa eli class="gallery"
    -lohkon sisällä olevia kuvia.
------------------------------------------------------------ */

.logo-gallery { width: 500px; } /* määrittele tähän pikseleinä */


