/*
Theme Name: Neuropsykologikeskus Luoto
Author: Jam Jam Brand Agency / Mikko Hopia
Author URI: https://www.jamjam.fi
Description: Neuropsykologikeskus Luoto sivupohja
Version: 1.0
*/
@font-face {
  font-display: auto;
  font-family: "Outfit";
  font-weight: 300;
  src: url(fonts/Outfit-Light.ttf);
}
@font-face {
  font-display: auto;
  font-family: "Outfit";
  font-weight: 500;
  src: url(fonts/Outfit-Medium.ttf);
}
@font-face {
  font-display: auto;
  font-family: "Outfit";
  font-weight: 700;
  src: url(fonts/Outfit-Bold.ttf);
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Hopia adds
   ========================================================================== */
div {
  box-sizing: border-box;
}

body {
  background-color: #edf6f7;
  color: #373737;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: 300;
}

iframe {
  aspect-ratio: 16/9;
  height: 100%;
  max-width: 500px;
  width: 100%;
}

.clear {
  clear: both;
  height: 0;
}

body.navi-open main,
body.navi-open footer {
  display: none;
}

@media only screen and (max-width: 1500px) {
  body {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
@media only screen and (max-width: 600px) {
  body {
    background-color: #fff;
    font-size: 16px;
    font-size: 1rem;
  }
}
header#top {
  height: 300px;
}
header#top.sticky {
  animation: sticky-header 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1;
  left: 0;
  position: fixed;
  top: -100px;
  width: 100%;
  z-index: 9;
}

p.site-title {
  margin: 0;
  padding: 0;
}

p.site-title a {
  background: url("img/Luoto_logo_230px.svg") left center no-repeat;
  background-size: contain;
  box-sizing: border-box;
  display: block;
  height: 135px;
  left: 200px;
  overflow: hidden;
  position: absolute;
  text-indent: 100%;
  transition-duration: 0s;
  top: 83px;
  white-space: nowrap;
  width: 230px;
  z-index: 2;
}

body.sticky-header,
body.sticky-header-hide {
  padding-top: 300px;
}
body.sticky-header header#top,
body.sticky-header-hide header#top {
  animation: sticky-header 1s normal forwards ease-in-out;
  animation-iteration-count: 1;
  background-color: #edf6f7;
  height: 100px;
  left: 0;
  position: fixed;
  top: -300px;
  width: 100%;
  z-index: 9;
}
body.sticky-header p.site-title a,
body.sticky-header-hide p.site-title a {
  background: url("img/Luoto_logo_230px.svg") left top no-repeat;
  height: 70px;
  left: 100px;
  top: 14px;
  width: 120px;
}

body.sticky-header-hide header#top {
  animation: sticky-header-hide 1s normal forwards ease-in-out;
  animation-iteration-count: 1;
  top: 0;
}

@keyframes sticky-header {
  from {
    top: -300px;
  }
  to {
    top: 0;
  }
}
@keyframes sticky-header-hide {
  from {
    top: 0;
  }
  to {
    top: -300px;
  }
}
@media only screen and (max-width: 1900px) {
  p.site-title a {
    left: 0;
  }
}
@media only screen and (max-width: 1250px) {
  header#top {
    height: 170px;
  }
  p.site-title a {
    background-position: top left;
    height: 100px;
    top: 43px;
    width: 130px;
  }
}
@media only screen and (max-width: 900px) {
  header#top .wrap {
    max-width: calc(100% - 100px);
  }
}
@media only screen and (max-width: 600px) {
  header#top .wrap {
    max-width: calc(100% - 40px);
  }
  header#top {
    height: 100px;
  }
  p.site-title a {
    height: 60px;
    top: 23px;
    width: 100px;
  }
}
button.hamburger {
  display: none;
}

nav.main-navi {
  font-size: 30px;
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: 2.5px;
}
nav.main-navi > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 105px;
  top: 137px;
}
nav.main-navi > ul > li {
  display: block;
  position: relative;
}
nav.main-navi > ul > li > a {
  color: #373737;
  display: block;
  padding: 0 47px;
  position: relative;
  text-decoration: none;
}
nav.main-navi > ul > li > a:after {
  background-color: #019491;
  bottom: -5px;
  content: "";
  height: 2px;
  left: 47px;
  position: absolute;
  transform: scaleX(0);
  transition-duration: 0.3s;
  width: calc(100% - 94px);
}
nav.main-navi > ul > li > a:hover:after {
  transform: scaleX(1);
}
nav.main-navi > ul > li.current-menu-item > a:after, nav.main-navi > ul > li.current-menu-parent > a:after, nav.main-navi > ul > li.current-menu-ancestor > a:after {
  transform: scaleX(1);
}
nav.main-navi > ul > li:last-child > a {
  padding-right: 0;
}
nav.main-navi > ul > li:last-child > a:after {
  width: calc(100% - 47px);
}
nav.main-navi > ul > li > ul {
  display: none;
}

body.sticky-header nav.main-navi,
body.sticky-header-hide nav.main-navi {
  font-size: 20px;
  font-size: 1.25rem;
}
body.sticky-header nav.main-navi > ul,
body.sticky-header-hide nav.main-navi > ul {
  top: 37px;
}

@media only screen and (max-width: 1900px) {
  nav.main-navi > ul {
    right: 0;
  }
  body.sticky-header nav.main-navi > ul,
  body.sticky-header-hide nav.main-navi > ul {
    right: 100px;
  }
}
@media only screen and (max-width: 1500px) {
  nav.main-navi {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
@media only screen and (max-width: 1250px) {
  nav.main-navi > ul {
    top: 70px;
  }
  nav.main-navi > ul > li > a {
    padding: 0 20px;
  }
}
@media only screen and (max-width: 900px) {
  nav.main-navi {
    display: none;
    left: -50px;
    min-height: 100vh;
    position: absolute;
    top: 0;
    width: calc(100% + 100px);
    z-index: 1;
  }
  nav.main-navi > ul {
    display: block;
    padding-top: 200px;
    position: relative;
    right: auto;
    text-align: center;
    top: auto;
  }
  nav.main-navi > ul > li {
    display: block;
    margin-bottom: 30px;
  }
  nav.main-navi > ul > li:before, nav.main-navi > ul > li:after {
    display: none;
  }
  nav.main-navi > ul > li > a {
    line-height: 1;
    padding: 0;
  }
  nav.main-navi > ul > li.some {
    display: inline-block;
    margin-left: 0 !important;
    width: 44px;
  }
  nav.main-navi > ul > li.some a {
    box-sizing: border-box;
    line-height: 24px;
    width: 100%;
  }
  button.hamburger {
    background: none;
    border: 0;
    cursor: pointer;
    display: block;
    height: 18px;
    margin: 0;
    outline: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 70px;
    width: 30px;
    z-index: 5;
  }
  #nav-icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 30px;
    background: #50a5b2;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
    width: 100%;
  }
  #nav-icon span:nth-child(1) {
    top: 0;
    transform-origin: left center;
  }
  #nav-icon span:nth-child(2) {
    top: 7px;
    transform-origin: left center;
  }
  #nav-icon span:nth-child(3) {
    top: 14px;
    transform-origin: left center;
  }
  #nav-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 0;
    left: 0;
    width: 30px;
  }
  #nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  #nav-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
    left: 0;
    width: 30px;
  }
}
@media only screen and (max-width: 600px) {
  nav.main-navi {
    left: -20px;
    width: calc(100% + 40px);
  }
  button.hamburger {
    right: 0;
    top: 40px;
  }
}
footer {
  background-image: url(img/09_luoto_grafiikka_footer_2400px.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: 20vw;
}
footer .col-wrap {
  display: block;
  position: relative;
}
footer img.footer-logo {
  position: absolute;
  right: 100px;
  top: 210px;
}

@media only screen and (max-width: 2000px) {
  footer img.footer-logo {
    right: 8vw;
    top: 170px;
    width: 250px;
  }
}
@media only screen and (max-width: 1800px) {
  footer img.footer-logo {
    right: 6vw;
    top: 9vw;
    width: 15vw;
  }
}
@media only screen and (max-width: 1200px) {
  footer img.footer-logo {
    right: 9vw;
    top: 9vw;
    width: 15vw;
  }
}
@media only screen and (max-width: 900px) {
  footer img.footer-logo {
    right: 6vw;
    top: 9vw;
    width: 15vw;
  }
}
@media only screen and (max-width: 600px) {
  footer img.footer-logo {
    right: 8vw;
    top: 9vw;
    width: 15vw;
  }
}
main {
  box-sizing: border-box;
  position: relative;
}

body.error404 main {
  min-height: 40vh;
}

section {
  margin-bottom: 100px;
}
section.yksi-palsta .col-wrap {
  display: block;
}
section.no-top-margin .col-wrap {
  padding-top: 0;
}
section.top-border .col-wrap {
  border-top: 1px solid #000;
}
section.kaksi-palstaa .wrap {
  padding: 80px 100px 100px 100px;
}
section.kaksi-palstaa .wrap .col-wrap {
  padding: 60px 100px 80px 100px;
}
section.kaksi-palstaa .wrap .col-wrap.title {
  padding: 0 100px;
}
section.kaksi-palstaa .wrap .col-wrap.title h1,
section.kaksi-palstaa .wrap .col-wrap.title h2,
section.kaksi-palstaa .wrap .col-wrap.title h3,
section.kaksi-palstaa .wrap .col-wrap.title h4 {
  margin-bottom: 0;
}
section.kaksi-palstaa .wrap .col-wrap.img, section.kaksi-palstaa .wrap .col-wrap.txt {
  display: block;
  padding: 0;
}
section.kaksi-palstaa .wrap .col-wrap.img img {
  display: block;
}
section.bg-white .wrap {
  background-color: #fff;
}
section.bg-turquoise .wrap {
  background-color: #50a5b2;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section.bg-turquoise .wrap h1,
section.bg-turquoise .wrap h2 {
  color: #fff;
}
section.bg-lightturquoise .wrap {
  background-color: #edf6f7;
}
section.bg-mediumturquoise .wrap {
  background-color: #cae4e8;
}
section.bg-darkgray .wrap {
  background-color: #373737;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section.bg-darkgray .wrap h1,
section.bg-darkgray .wrap h2 {
  color: #fff;
}
section.alagrafiikka .wrap {
  padding-bottom: 0;
  position: relative;
}
section.alagrafiikka .wrap:after {
  background-image: url(img/03_luoto_grafiikka.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 0;
  content: "";
  display: block;
  height: 23vw;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 2;
}
section.alagrafiikka .wrap:before {
  background-image: url(img/Luoto_logo_valkea_360px.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 98px;
  content: "";
  display: block;
  height: 210px;
  position: absolute;
  right: 198px;
  width: 365px;
  z-index: 3;
}

.wrap {
  clear: both;
  margin: 0 auto;
  max-width: 2000px;
  position: relative;
  z-index: 1;
}

.col-wrap {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 100px 0;
  position: relative;
  width: 100%;
}

.no-bot-pad {
  padding-bottom: 0;
}

.no-top-pad {
  padding-top: 0;
}

.password-form {
  min-height: 500px;
  padding-top: 100px;
}

.col-2 {
  width: calc(50% - 50px);
}

.col-3 {
  width: calc(33.33% - 26px);
}

.col-4 {
  width: calc(25% - 30px);
}

@media only screen and (max-width: 2200px) {
  .wrap {
    max-width: calc(100% - 200px);
  }
}
@media only screen and (max-width: 2000px) {
  section.alagrafiikka .wrap:before {
    bottom: 50px;
    right: 8%;
  }
}
@media only screen and (max-width: 1800px) {
  section.kaksi-palstaa .wrap .col-wrap.title {
    padding: 0;
  }
  section.kaksi-palstaa .wrap .col-wrap {
    padding: 60px 0 80px 0;
  }
  section.alagrafiikka .wrap:before {
    right: 10%;
    width: 17vw;
  }
}
@media only screen and (max-width: 1300px) {
  .col-2 {
    width: calc(50% - 20px);
  }
  section.alagrafiikka .wrap:before {
    right: 10%;
    width: 15vw;
  }
}
@media only screen and (max-width: 1200px) {
  .wrap {
    max-width: calc(100% - 100px);
  }
  section.kaksi-palstaa .wrap {
    padding: 50px;
  }
  section.kaksi-palstaa.alagrafiikka .wrap {
    padding-bottom: 0;
  }
}
@media only screen and (max-width: 1000px) {
  section.alagrafiikka .wrap:before {
    bottom: 30px;
    right: 10%;
  }
}
@media only screen and (max-width: 900px) {
  section {
    margin-bottom: 50px;
  }
  section.kaksi-palstaa .wrap .col-wrap {
    padding: 50px 0;
  }
  .col-wrap {
    padding: 50px 0;
  }
  .col-wrap.persons {
    padding-top: 20px;
  }
}
@media only screen and (max-width: 900px) {
  .wrap,
  section.yksi-palsta .wrap,
  section.kaksi-palstaa .wrap {
    max-width: calc(100% - 100px);
  }
  .col-4 {
    width: calc(50% - 20px);
  }
  .col-4:first-child, .col-4:nth-child(2) {
    padding-bottom: 40px;
  }
  .col-2 {
    width: calc(50% - 20px);
  }
}
@media only screen and (max-width: 700px) {
  section.alagrafiikka .wrap:before {
    bottom: 20px;
    right: 10%;
  }
}
@media only screen and (max-width: 600px) {
  .wrap,
  section.yksi-palsta .wrap,
  section.kaksi-palstaa .wrap {
    max-width: calc(100% - 40px);
  }
  .col-wrap {
    display: block;
    padding: 20px 0;
  }
  .col-2,
  .col-3,
  .col-4 {
    width: 100%;
  }
  .col-2:first-child {
    padding-bottom: 20px;
  }
  .col-3:first-child, .col-3:nth-child(2) {
    padding-bottom: 40px;
  }
  .col-4:first-child, .col-4:nth-child(2), .col-4:nth-child(3) {
    padding-bottom: 40px;
  }
  section {
    margin-bottom: 20px;
  }
  section:first-child .col-wrap {
    padding-top: 60px;
  }
  section.kaksi-palstaa .wrap {
    padding: 20px 0;
  }
  section.kaksi-palstaa .wrap .col-wrap {
    padding: 20px 0;
  }
  section.alagrafiikka .wrap:before {
    bottom: 15px;
    right: 10%;
  }
}
.col-wrap img {
  height: auto;
  max-width: 100%;
}

.wp-caption {
  font-size: 14px;
  font-size: 0.875rem;
  max-width: 100%;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin: 0 40px 40px 0;
}

.alignright {
  float: right;
  margin: 0 0 40px 20px;
}

div.gform_wrapper {
  margin: 0 auto;
  max-width: 600px;
  padding: 50px 0 0 0;
  position: relative;
}
div.gform_wrapper .gform_fields .gfield input,
div.gform_wrapper .gform_fields .gfield select,
div.gform_wrapper .gform_fields .gfield textarea {
  border: 1px solid #000;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 12px 10px;
  width: 100%;
}
div.gform_wrapper .gform_fields .gfield div.ginput_recaptcha {
  margin-bottom: 20px;
  text-align: center;
}
div.gform_wrapper .gform_fields .gfield div.ginput_recaptcha > div {
  margin: 0 auto;
}
div.gform_wrapper .gform_fields .gfield textarea {
  height: 200px;
}
div.gform_wrapper .gform_footer {
  text-align: center;
}
div.gform_wrapper .gform_footer input[type=submit] {
  background-color: #000;
  border: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  padding: 12px 30px;
  transition-duration: 0.3s;
}
div.password-form label {
  display: block;
  margin-bottom: 10px;
}

div.gform_validation_container,
p.gform_required_legend {
  display: none;
}

div.gform_validation_errors {
  color: red;
}
div.gform_validation_errors h2 {
  color: red;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  letter-spacing: normal;
}

div.validation_message {
  color: red;
  font-weight: 700;
  margin-top: -10px;
}

@media only screen and (max-width: 900px) {
  div.gform_wrapper {
    max-width: calc(100% - 100px);
  }
  div.gform_wrapper .gform_fields .gfield textarea {
    height: 100px;
  }
}
@media only screen and (max-width: 600px) {
  div.gform_wrapper {
    max-width: 100%;
    padding-top: 0;
  }
}
table {
  border-collapse: collapse;
  line-height: 1.6;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 460px;
  text-align: right;
  width: 100%;
}
table:last-child {
  margin-bottom: 0;
}

table th {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  padding: 2px 10px;
  text-align: right;
}

table td {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  padding: 2px 10px;
  vertical-align: top;
}

@media only screen and (max-width: 600px) {
  table {
    font-size: 12px;
    font-size: 0.75rem;
  }
}
a {
  color: #50a5b2;
  transition-duration: 0.3s;
}

a.btn {
  background-color: #50a5b2;
  color: #fff !important;
  display: inline-block;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 2px;
  padding: 20px 100px;
  text-align: center;
  text-decoration: none;
}

a.btn:hover {
  background-color: #4795a1;
}

p,
.col-wrap ul,
.col-wrap ol,
blockquote {
  line-height: 1.6;
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
}

p.ingressi {
  font-size: 18px;
  font-size: 1.125rem;
}

blockquote {
  margin-bottom: 20px;
  padding: 20px;
}

.col-wrap ul,
.col-wrap ol {
  padding-left: 20px;
}

.col-wrap p:last-child,
.col-wrap ul:last-child,
.col-wrap ol:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Outfit", sans-serif;
  font-size: 70px;
  font-size: 4.375rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 20px;
}

h2 {
  color: #019491;
  font-family: "Outfit", sans-serif;
  font-size: 70px;
  font-size: 4.375rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

h3 {
  font-family: "Outfit", sans-serif;
  font-size: 30px;
  font-size: 1.875rem;
  margin-bottom: 20px;
}

h4 {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

/*.col-wrap p + h2,
.col-wrap p + h3,
.col-wrap p + h4 {
  padding-top: 30px;
}*/
.center {
  text-align: center;
}

span.tavuviiva {
  display: none;
}

.hide-text {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

strong {
  font-weight: 700;
  letter-spacing: 2px;
}

#cookie-notice .cn-button {
  color: #000 !important;
}

@media only screen and (max-width: 2000px) {
  h1,
  h2 {
    font-size: 60px;
    font-size: 3.75rem;
  }
}
@media only screen and (max-width: 1800px) {
  h1,
  h2 {
    font-size: 50px;
    font-size: 3.125rem;
  }
}
@media only screen and (max-width: 1500px) {
  h1,
  h2 {
    font-size: 40px;
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 990px) {
  h1,
  h2 {
    font-size: 30px;
    font-size: 1.875rem;
  }
}
@media only screen and (max-width: 900px) {
  a.btn {
    padding: 15px 50px;
  }
}
@media only screen and (max-width: 600px) {
  h1 {
    font-size: 22px;
    font-size: 1.375rem;
  }
  h2 {
    font-size: 22px;
    font-size: 1.375rem;
  }
  h3 {
    font-size: 18px;
    font-size: 1.125rem;
  }
  a.btn {
    box-sizing: border-box;
    padding: 15px 50px;
    width: 100%;
  }
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #000;
  display: block;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 20px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.wrap-carousel {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 800px;
  position: relative;
  z-index: 1;
}

.carousel-items {
  display: none;
}

.current-item,
.next-item {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.current-item {
  display: block;
  position: absolute;
  z-index: 2;
}

.next-item {
  position: absolute;
  display: none;
  z-index: 1;
}

.item-text {
  align-items: center;
  display: flex;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  z-index: 3;
  width: 100%;
}

.item-text > div {
  text-align: center;
  width: 100%;
}
.item-text > div p:last-child {
  margin-bottom: 0;
}

.carousel-navi {
  bottom: 20px;
  display: none;
  left: 20px;
  position: absolute;
  text-align: center;
  z-index: 4;
}

.carousel-navi a {
  background: #fff;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 20px;
  margin-left: 5px;
  margin-right: 5px;
  outline: none;
  overflow: hidden;
  text-indent: -9999px;
  width: 20px;
}

.carousel-navi a:hover,
.carousel-navi a.current {
  background: #000;
}

.next-item-link,
.prev-item-link {
  display: none;
  font-size: 40px;
  font-size: 2.5rem;
  overflow: hidden;
  position: absolute;
  right: 20px;
  text-decoration: none;
  top: 50%;
  z-index: 4;
}

.prev-item-link {
  left: 20px;
  right: auto;
}

.next-item-link:hover,
.prev-item-link:hover {
  opacity: 0.8;
}

section.hero {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
section.hero > img,
section.hero > video {
  display: block;
  height: 666px;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
section.hero > img + video {
  left: 0;
  position: absolute;
  top: 0;
  z-index: 2;
}
section.hero div.text-wrap {
  align-items: center;
  color: #fff;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  left: 0;
  padding: 100px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}
section.hero div.text-wrap h1 {
  color: #fff;
}
section.hero div.text-wrap p:last-child {
  margin-bottom: 0;
}

section.avautuva-sisalto div.col-wrap {
  display: block;
}
section.avautuva-sisalto a.accordion-title {
  color: #373737;
  display: block;
  padding: 25px 0 25px 0;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}
section.avautuva-sisalto a.accordion-title:before {
  border-bottom: 13px solid transparent;
  border-left: 20px solid #333;
  border-top: 13px solid transparent;
  content: "";
  display: block;
  height: 0;
  right: 40px;
  position: absolute;
  top: calc(50% - 13px);
  transition-duration: 0.3s;
  width: 0;
}
section.avautuva-sisalto a.accordion-title:hover:before {
  right: 30px;
}
section.avautuva-sisalto a.accordion-title.open:before {
  right: 30px;
  transform: rotate(90deg);
}
section.avautuva-sisalto div.accordion-content-wrap {
  display: none;
  padding: 20px 0;
}

section.kaksi-palstaa-teksti-kuva .col-wrap {
  align-items: center;
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
  width: calc(50% - 5px);
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:first-child {
  padding-right: 40px;
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:last-child img {
  width: 100%;
}
section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:first-child {
  order: 2;
  padding-left: 40px;
  padding-right: 0;
}
section.kaksi-palstaa-teksti-kuva.col-img-text .col-2:last-child {
  order: 1;
}

@media only screen and (max-width: 900px) {
  section.kaksi-palstaa-teksti-kuva .col-wrap {
    display: block;
  }
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
    width: 100%;
  }
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:first-child {
    padding: 0 0 20px 0;
  }
}
section.teksti-ja-kuva .wrap {
  background-color: #50a5b2;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 80px 100px 100px 100px;
}
section.teksti-ja-kuva .wrap .col-wrap {
  padding: 0;
}
section.teksti-ja-kuva .wrap .col-wrap .txt {
  padding: 0 100px 80px 100px;
}
section.teksti-ja-kuva .wrap .col-wrap .txt p {
  font-size: 70px;
  font-size: 4.375rem;
  line-height: 1.3;
}
section.teksti-ja-kuva .wrap .col-wrap .txt h1 {
  margin-bottom: 0;
}

@media only screen and (max-width: 2000px) {
  section.teksti-ja-kuva .wrap .col-wrap .txt p {
    font-size: 60px;
    font-size: 3.75rem;
  }
}
@media only screen and (max-width: 1800px) {
  section.teksti-ja-kuva .wrap .col-wrap .txt {
    padding: 0 0 80px 0;
  }
}
@media only screen and (max-width: 1200px) {
  section.teksti-ja-kuva .wrap {
    padding: 50px;
  }
  section.teksti-ja-kuva .wrap .col-wrap .txt {
    padding-bottom: 50px;
  }
}
@media only screen and (max-width: 600px) {
  section.teksti-ja-kuva .wrap {
    max-width: 100%;
    padding: 20px;
  }
  section.teksti-ja-kuva .wrap .col-wrap .txt {
    padding-bottom: 20px;
  }
  section.teksti-ja-kuva:first-child .col-1 {
    display: flex;
    flex-wrap: wrap;
  }
  section.teksti-ja-kuva:first-child .col-1 .txt {
    order: 2;
    padding-bottom: 0;
    text-align: center;
    width: 100%;
  }
  section.teksti-ja-kuva:first-child .col-1 img {
    height: calc(100vw - 40px);
    margin-bottom: 20px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center right;
       object-position: center right;
    order: 1;
    width: 100%;
  }
}
section.henkilot .wrap {
  background-color: #cae4e8;
  padding: 0 200px;
}
section.henkilot .col-wrap.title {
  padding-bottom: 0;
}
section.henkilot .col-wrap.persons {
  display: block;
}
section.henkilot .col-wrap.persons .person {
  display: flex;
  margin-bottom: 100px;
}
section.henkilot .col-wrap.persons .person:last-child {
  margin-bottom: 0;
}
section.henkilot .col-wrap.persons .person .col-2 {
  width: 50%;
}
section.henkilot .col-wrap.persons .person .col-2:first-child {
  letter-spacing: 2px;
  padding: 100px 40px 0 0;
}
section.henkilot .col-wrap.persons .person .col-2:first-child a {
  color: #373737;
}
section.henkilot .col-wrap.persons .person .col-2:first-child a:hover {
  color: #50a5b2;
}
section.henkilot .col-wrap.persons .person .col-2:first-child a.btn {
  margin-top: 40px;
}
section.henkilot .col-wrap.persons .person .col-2:last-child {
  text-align: right;
}
section.henkilot .col-wrap.persons .person .col-2:last-child img {
  display: block;
  margin: 0 0 0 auto;
}

@media only screen and (max-width: 1800px) {
  section.henkilot .wrap {
    padding: 0 100px;
  }
}
@media only screen and (max-width: 1200px) {
  section.henkilot .wrap {
    padding: 0 50px;
  }
  section.henkilot .col-wrap.persons .person .col-2:first-child {
    padding: 50px 40px 0 0;
  }
}
@media only screen and (max-width: 900px) {
  section.henkilot .col-wrap.persons .person .col-2:first-child {
    padding: 0 20px 0 0;
  }
  section.henkilot .col-wrap.persons .person .col-2:first-child a.btn {
    margin-top: 20px;
  }
  section.henkilot .col-wrap.persons .person .col-2:first-child {
    width: 60%;
  }
  section.henkilot .col-wrap.persons .person .col-2:last-child {
    width: 40%;
  }
}
@media only screen and (max-width: 600px) {
  section.henkilot .wrap {
    max-width: 100%;
    padding: 0 20px;
  }
  section.henkilot .col-wrap.persons .person .col-2:first-child {
    padding: 0 20px 0 0;
  }
  section.henkilot .col-wrap.persons {
    padding: 0 0 20px 0;
  }
  section.henkilot .col-wrap.persons .person {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 75px;
  }
  section.henkilot .col-wrap.persons .person .col-2:first-child {
    order: 2;
    padding: 0;
    width: 100%;
  }
  section.henkilot .col-wrap.persons .person .col-2:last-child {
    order: 1;
    padding: 0 0 20px 0;
    width: 100%;
  }
  section.henkilot .col-wrap.persons .person .col-2:first-child a.btn {
    margin-top: 0;
  }
}
div.kartta {
  background-color: #edf6f7;
  height: 900px;
  width: 100%;
}
div.kartta > span.ladataan {
  display: block;
  padding: 100px;
  text-align: center;
}

@media only screen and (max-width: 900px) {
  div.kartta {
    height: 50vw;
  }
}
@media only screen and (max-width: 600px) {
  div.kartta {
    height: calc(100vw - 80px);
  }
}
/*# sourceMappingURL=style.css.map */
