/* Wed, 27 Sep 2023 10:37:28 +0000 (0.0327s) */

h1 {
  font-size: 2.3rem;
  margin-bottom: 0.5em;
}
.ingress {
  font-weight: 700;
}
p {
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: 1.5em;
}
html {
  font-size: 15px;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}
body {
  background-color: #ffffff;
  color: #3b3b3a;
}
div, section {
  position: relative;
}
a, td, div, body, span, * {
  background-repeat: no-repeat;
  box-sizing: border-box;
  margin: 0;
}
#wrap {
  min-height: 100%;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #wrap {
    min-height: 100%;
    padding-top: 90px;
  }
}
a {
  text-decoration: none;
}
header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-image: url(../img/vari.png);
  background-position: left center;
  background-size: auto 100%;
}
@media screen and (min-width: 768px) {
  header {
    height: 90px;
  }
}
header .mobileindexlink {
  font-size: 2rem;
  font-weight: 700;
  line-height: 50px;
  margin-left: 2em;
  color: inherit;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  header .mobileindexlink {
    display: none;
  }
}
header .inner {
  flex: 0 1 1024px;
  box-sizing: border-box;
  height: 50px;
}
@media screen and (min-width: 768px) {
  header .inner {
    height: auto;
    padding: 0 50px;
  }
}
header .mainlogo {
  width: 220px;
  display: inline-block;
  vertical-align: top;
  height: 50px;
}
@media screen and (min-width: 768px) {
  header .mainlogo {
    height: 90px;
  }
}
header .mainlogo img {
  max-height: 100%;
  max-width: 100%;
}
header nav {
  display: none;
  width: 310px;
  position: absolute;
  right: 0;
  top: 50px;
  z-index: 1;
  padding: 20px;
  font-size: 1.5rem;
  box-sizing: border-box;
  text-align: right;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  header nav {
    background-color: transparent;
    top: auto;
    right: auto;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 35px 0 35px 0;
  }
}
@media screen and (min-width: 900px) {
  header nav {
    font-size: 1.2rem;
  }
}
header nav a {
  text-transform: uppercase;
  font-weight: 100;
  color: #3b3b3a;
  display: block;
}
@media screen and (min-width: 768px) {
  header nav a {
    font-weight: 700;
    padding: 0 12px;
    display: inline;
  }
}
header nav a:hover {
  color: #bfd786;
}
header nav a.index {
  font-size: 1.7rem;
}
@media screen and (min-width: 768px) {
  header nav a.index {
    font-size: 1.3rem;
  }
}
@media screen and (min-width: 900px) {
  header nav a.index {
    font-size: 1.5rem;
  }
}
header .toggle {
  display: block;
  position: absolute;
  right: 20px;
  top: 5px;
  background-color: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  header .toggle {
    display: none;
  }
}
header .toggle:focus {
  outline: none;
}
header .toggle div {
  background-color: #000;
  width: 100%;
  height: 5px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
header .toggle .l1 {
  top: 6px;
}
header .toggle .l2 {
  top: 18px;
}
header .toggle .l3 {
  opacity: 1;
  top: 30px;
}
body.naviopen header .toggle .l1 {
  transform: rotate(45deg) translate(9px, 8px);
}
body.naviopen header .toggle .l2 {
  transform: rotate(135deg);
}
body.naviopen header .toggle .l3 {
  opacity: 0;
}
body.naviopen header nav {
  display: block;
}
@media screen and (min-width: 800px) {
  body.naviopen header nav {
    display: inline-block;
  }
}
footer {
  width: 100%;
  min-height: 90px;
  background-color: #385E8B;
  text-align: center;
  color: #ffffff;
  padding: 39px 20px 28px 20px;
  line-height: 1.5em;
}
@media screen and (min-width: 768px) {
  footer {
    line-height: 1.25em;
  }
}
footer span {
  display: block;
  height: 1em;
}
@media screen and (min-width: 768px) {
  footer span {
    display: inline-block;
  }
}
@media screen and (min-width: 768px) {
  footer span:after {
    content: "|";
    padding: 0 0.5em;
  }
}
footer .fa {
  margin: 0.5em 0.5em;
  font-size: 1.5rem;
}
@media screen and (min-width: 768px) {
  footer .fa {
    font-size: 2rem;
  }
}
footer a {
  color: #ffffff;
}
footer p {
  font-size: 0.9rem;
}
footer .vahvimmat {
  width: 120px;
  margin: 1em 0;
}
footer .tos {
  font-size: 0.75rem;
}
form.contact {
  width: 100%;
  max-width: 450px;
  position: relative;
}
form.contact textarea, form.contact select, form.contact input {
  box-sizing: border-box;
  width: 100%;
  padding: 2px 15px;
  font-size: 1.1rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: border-color 0.5s ease;
}
form.contact textarea:focus, form.contact select:focus, form.contact input:focus {
  border: 1px solid #666;
  outline: none;
}
form.contact input[type="checkbox"] {
  width: auto;
  padding: 0;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}
form.contact textarea {
  height: 4em;
  resize: none;
}
form.contact .field {
  padding: 0.2em 0;
}
form.contact .field.invalid input, form.contact .field.invalid textarea {
  border: 1px solid #f00;
}
form.contact label {
  display: block;
  padding: 0.2em 0;
}
form.contact .source-other {
  display: none;
}
form.contact .submit {
  padding: 11px 20px 13px 20px;
  background-color: #bfd786;
  color: #3b3b3a;
  font-weight: 700;
  border: 0;
  margin: 1em 0;
  cursor: pointer;
}
form.contact .thanks {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
}
form.contact .thanks p {
  position: absolute;
  bottom: 1em;
  left: 1em;
  font-weight: 600;
}
.imagetext img.left {
  max-width: 100%;
}
@media screen and (min-width: 600px) {
  .imagetext img.left {
    float: left;
    max-width: 240px;
    margin: 0 20px 10px 0;
  }
}
.imagetext blockquote {
  padding-left: 20px;
}
.newsletter {
  width: 100%;
}
.newsletter form._form {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
section.reference .inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
@media screen and (min-width: 1024px) {
  section.reference .inner {
    flex-direction: row;
  }
}
section.reference .col {
  flex: 0 0 33.3%;
  display: flex;
  flex-direction: column;
}
section.reference .image, section.reference .text {
  background-size: cover;
  background-position: center;
  flex: 0 0 330px;
}
@media screen and (min-width: 1024px) {
  section.reference .col2 {
    flex-direction: column-reverse;
  }
}
section.reference .image {
  display: flex;
  justify-content: center;
  align-items: center;
}
section.reference .image h2 {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  position: relative;
}
section.reference .veil {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
section.reference .text {
  padding: 20px;
  box-sizing: border-box;
}
/* HERO */
.hero {
  width: 100%;
  height: 490px;
  background-color: #cccccc;
  text-align: center;
  padding: 410px 45px 0px 45px;
  background-position: center center;
  background-size: cover;
}
.hero .herobutton {
  padding: 11px 20px 13px 20px;
  background-color: #bfd786;
  color: #3b3b3a;
  font-weight: 700;
}
/* MAIN CONTENT */
/*
main {
    max-width: 840px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    h1 {
        hyphens: auto;
    }
    img {
        max-width: 100%;
		height: auto;
    }
}
*/
section.center {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}
section.center h1 {
  hyphens: auto;
}
section.center img {
  max-width: 100%;
  height: auto;
}
.fullwidthimage {
  width: 100%;
  height: 400px;
  background-color: #cccccc;
  padding: 175px 0 0 0;
  text-align: center;
  background-position: center center;
  background-size: cover;
}
.fullwidthimage .quotation {
  font-weight: 700;
  font-size: 1.9rem;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}
.wp-block-image img {
  height: auto;
  width: 100%;
  max-width: 100%;
}
.postlist {
  width: 100%;
  max-width: 760px;
  margin: 30px auto 50px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.postlink {
  margin-bottom: 3em;
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 30px;
}
.postlink h2 {
  font-size: 2rem;
}
.postlink .time {
  color: #aaa;
  margin: 0 0 0.5em;
}
.postlink a.more {
  text-decoration: underline;
  font-weight: bold;
  color: inherit;
}
.postlink .image {
  margin: 0 0 1em;
}
.postlink .image img {
  max-width: 100%;
}
main.post {
  max-width: 760px;
  margin: 0 auto 50px;
  padding: 0 30px;
}
main.post h1 {
  margin-bottom: 0.1em;
}
main.post .time {
  color: #aaa;
  margin: 0 0 0.5em;
}
main.post a.back {
  font-weight: bold;
  color: inherit;
}
main.post .image img {
  max-width: 100%;
}
section.newsletter {
  background-color: #cedca2;
  padding: 30px;
}
section.newsletter > div {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
section.newsletter ._form-title {
  font-weight: bold;
}
section.newsletter label {
  font-size: 0.8rem;
  font-weight: bold;
}
section.newsletter input {
  width: 100%;
  max-width: 300px;
  margin: 0 0 0.5em;
  padding: 3px 10px;
  border-radius: 0;
  border: 1px solid #ccc;
}
section.newsletter ._form-branding {
  display: none;
}
section.newsletter button {
  background-color: #48668f;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 10px 15px;
  font-weight: bold;
  margin: 1em 0;
}
