/*
Theme Name: Sentica
Author: JJ-Net
Author URI: https://www.jj-net.fi
Description: Sentica sivupohja
Version: 1.0
*/
@font-face {
  font-family: "MontBlancSemiBold";
  src: url("fonts/MontBlancSemiBold/font.woff2") format("woff2"), url("fonts/MontBlancSemiBold/font.woff") format("woff");
}
@font-face {
  font-family: "MontBlancLight";
  src: url("fonts/MontBlancLight/font.woff2") format("woff2"), url("fonts/MontBlancLight/font.woff") format("woff");
}
@font-face {
  font-family: "MontBlancRegular";
  src: url("fonts/MontBlancRegular/font.woff2") format("woff2"), url("fonts/MontBlancRegular/font.woff") format("woff");
}
@font-face {
  font-family: "MontBlancSemiBold";
  src: url("fonts/MontBlancSemiBold/font.woff2") format("woff2"), url("fonts/MontBlancSemiBold/font.woff") format("woff");
}
/*! 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 */
  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: #fff;
  color: #333;
  font-family: "MontBlancLight", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  font-weight: 400;
}

iframe {
  width: 100%;
}

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

body.sticky-header {
  padding-top: 100px;
}

body.error404 section.page-404 {
  min-height: calc(100vh - 430px);
}

body.navi-open {
  background-color: #002d4c;
}
body.navi-open main,
body.navi-open footer {
  display: none;
}

@media only screen and (max-width: 600px) {
  body.sticky-header {
    padding-top: 50px;
  }
}
header#top {
  background-color: #cda969;
  border-bottom: 1px solid #cda969;
  height: 100px;
  position: relative;
  z-index: 2;
}
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%;
}

@keyframes sticky-header {
  from {
    top: -100px;
  }
  to {
    top: 0;
  }
}
p.site-title {
  margin: 0;
  padding: 0;
}

p.site-title a {
  background: url("img/sentica_white.svg") top left no-repeat;
  background-size: contain;
  box-sizing: border-box;
  color: #fff;
  display: block;
  height: 30px;
  left: 37px;
  overflow: hidden;
  position: absolute;
  text-indent: -9999px;
  transition-duration: 0s;
  top: 35px;
  width: 75px;
}

a.extranet {
  background: #001d2d;
  background-image: url(img/kpy_www_2021_arrow_right_white.svg);
  background-position: top 35px center;
  background-repeat: no-repeat;
  background-size: 20px;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 9px;
  font-size: 0.5625rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100px;
  letter-spacing: 1px;
  line-height: 100px;
  padding-top: 15px;
  position: absolute;
  right: 0;
  text-align: center;
  text-transform: uppercase;
  top: 0;
  width: 100px;
}
a.extranet:after {
  display: none;
}
a.extranet:hover {
  background-color: rgb(0, 61.8666666667, 96);
}

a.lang {
  color: #fff;
  display: none;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
  position: absolute;
  right: 145px;
  text-transform: uppercase;
  top: 43px;
}

ul.lang-navi {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 145px;
  text-transform: uppercase;
  top: 43px;
}
ul.lang-navi li.current-lang {
  display: none;
}
ul.lang-navi a {
  color: #fff;
}

/* Poista, kun kieliversio ok */
@media only screen and (max-width: 600px) {
  header#top {
    height: 50px;
  }
  p.site-title a {
    left: 20px;
    top: 17px;
    width: 50px;
  }
  a.lang,
  ul.lang-navi {
    display: none;
  }
  a.extranet {
    background-position: top 15px center;
    background-size: 15px;
    height: 50px;
    font-size: 5px;
    font-size: 0.3125rem;
    letter-spacing: 0.5px;
    line-height: 50px;
    padding-top: 11px;
    width: 50px;
  }
}
button.hamburger {
  background: none;
  border: 0;
  cursor: pointer;
  display: block;
  height: 18px;
  left: calc(50% - 17px);
  margin: 0;
  outline: none;
  padding: 0;
  position: absolute;
  top: 37px;
  width: 35px;
  z-index: 5;
}
button.hamburger span.text {
  bottom: -11px;
  color: #fff;
  display: block;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 9px;
  font-size: 0.5625rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
  position: absolute;
  text-align: center;
  width: 100%;
}
button.hamburger.open span.text {
  display: none;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 35px;
  background: #fff;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.2s ease-in-out;
  width: 100%;
}

#nav-icon span:nth-child(1) {
  top: 0;
  transform-origin: center center;
}

#nav-icon span:nth-child(2) {
  top: 5px;
  transform-origin: center center;
}

#nav-icon span:nth-child(3) {
  top: 10px;
  transform-origin: center center;
}

#nav-icon.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 7px;
  left: -7px;
}

#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 7px;
  left: -7px;
}

nav.main-navi {
  background-color: #cda969;
  display: none;
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

nav.main-navi ul {
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 100%;
}
nav.main-navi ul li {
  display: inline-block;
  padding: 0 20px 0 15px;
}
nav.main-navi ul li > a {
  color: #fff;
  display: block;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}
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 ul {
  display: none;
}

@media only screen and (max-width: 900px) {
  nav.main-navi ul {
    top: 200px;
  }
  nav.main-navi ul li {
    display: block;
    margin-bottom: 30px;
    padding: 0;
  }
  #nav-icon.open span:nth-child(1),
  #nav-icon.open span:nth-child(3) {
    left: 0;
    top: 10px;
  }
}
@media only screen and (max-width: 600px) {
  button.hamburger {
    top: 16px;
  }
  button.hamburger span.text {
    bottom: -5px;
    font-size: 5px;
    font-size: 0.3125rem;
    letter-spacing: 0.5px;
  }
  nav.main-navi ul {
    top: 100px;
  }
  nav.main-navi li.current-lang {
    display: none;
  }
  nav.main-navi ul li > a {
    display: inline-block;
  }
}
footer {
  background-color: #cda969;
  border-left: 100px solid #cda969;
  border-right: 100px solid #fff;
  color: #fff;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
footer div.col-wrap {
  padding: 100px 0;
}
footer div.col-2 {
  padding: 0;
}
footer div.col-2:first-child {
  padding-left: 100px;
  width: calc(100% - 400px);
}
footer div.col-2:last-child {
  padding-right: 100px;
  text-align: right;
  width: 400px;
}
footer div.col-2:last-child p:first-child {
  letter-spacing: 1px;
}
footer a {
  color: #fff;
}

nav.footer-navi ul {
  letter-spacing: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
nav.footer-navi ul li {
  border-right: 1px solid #fff;
  display: inline-block;
  padding: 0 25px 0 22px;
}
nav.footer-navi ul li:first-child {
  padding-left: 0;
}
nav.footer-navi ul li:last-child {
  border-right: none;
}
nav.footer-navi ul li a {
  display: block;
  line-height: 1;
}
nav.footer-navi ul li.facebook a {
  background: url(img/kpy_www_2021_facebook_icon_white.svg);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
  position: relative;
  text-indent: -9999px;
  top: 2px;
  width: 15px;
}

@media only screen and (max-width: 1450px) {
  nav.footer-navi ul li {
    padding: 0 15px 0 12px;
  }
  footer div.col-2:first-child {
    padding-left: 30px;
  }
}
@media only screen and (max-width: 1250px) {
  footer div.col-wrap {
    padding: 50px 0;
  }
  footer div.col-2:first-child {
    padding-left: 50px;
  }
  footer div.col-2:last-child {
    padding-right: 50px;
  }
  nav.footer-navi ul li {
    border: 0;
    display: block;
    margin-bottom: 10px;
    padding-left: 0;
  }
  nav.footer-navi ul li.facebook a {
    background-position: left top;
  }
}
@media only screen and (max-width: 900px) {
  footer {
    border-width: 0;
  }
}
@media only screen and (max-width: 600px) {
  footer div.col-2:first-child {
    padding: 0 20px 40px 20px;
    text-align: center;
    width: 100%;
  }
  footer div.col-2:last-child {
    padding: 0 20px;
    text-align: center;
    width: 100%;
  }
  footer div.col-2:last-child p {
    line-height: 1.6;
  }
  nav.footer-navi ul {
    padding-top: 10px;
  }
  nav.footer-navi ul li {
    margin-bottom: 20px;
    padding: 0;
  }
  nav.footer-navi ul li.facebook a {
    background-position: center top;
    line-height: 1.5;
    padding: 0;
    width: 100%;
  }
}
main {
  box-sizing: border-box;
  min-height: calc(100vh - 397px);
  position: relative;
}
main > section {
  border-left: 100px solid #cda969;
  border-right: 100px solid #f2f0ed;
  position: relative;
  z-index: 1;
}
main > section.bg-darkblue {
  background: #001d2d;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main > section.bg-blue {
  background: #002d4c;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main > section.bg-lightgray {
  background: #f2f0ed;
}
main > section.bg-lightbrown {
  background: #cda969;
}
main:after {
  background: #002d4c;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100px;
}

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

.col-wrap {
  clear: both;
  padding: 140px 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.col-wrap:after,
.wrap:after {
  clear: both;
  content: "";
  display: table;
}

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

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

.col-1 {
  padding: 0;
}

.col-2 {
  float: left;
  padding: 0 200px;
  position: relative;
  width: 50%;
  z-index: 1;
}
.col-2:first-child {
  padding-left: 0;
}
.col-2:last-child {
  padding-right: 0;
}

section.bg-darkblue div.col-wrap {
  display: flex;
}
section.bg-darkblue div.col-2:first-child {
  border-right: 1px solid #002d4c;
}

section.two-columns div.col-wrap {
  display: flex;
}
section.two-columns.borders div.col-wrap {
  border-bottom: 2px solid #dcdcdc;
}
section.two-columns.borders div.col-2:first-child {
  border-right: 2px solid #dcdcdc;
}
section.two-columns.bg-blue.borders div.col-wrap {
  padding: 70px 0;
}

section.kaksi-palstaa-kapea-levea div.col-wrap {
  align-items: center;
  display: flex;
}
section.kaksi-palstaa-kapea-levea.align-vertical-top div.col-wrap {
  align-items: flex-start;
}
section.kaksi-palstaa-kapea-levea div.col-2:first-child {
  padding: 0 150px 0 0;
  width: 40%;
}
section.kaksi-palstaa-kapea-levea div.col-2:last-child {
  padding: 0;
  width: 60%;
}

section.kaksi-palstaa-levea-kapea div.col-wrap {
  align-items: center;
  display: flex;
}
section.kaksi-palstaa-levea-kapea div.col-2:first-child {
  padding: 0;
  width: 60%;
}
section.kaksi-palstaa-levea-kapea div.col-2:last-child {
  padding: 0 0 0 150px;
  width: 40%;
}

section.kaksi-palstaa-levea-kapea + section.kaksi-palstaa-levea-kapea div.col-wrap,
section.kaksi-palstaa-kapea-levea + section.kaksi-palstaa-kapea-levea div.col-wrap,
section.kaksi-palstaa-levea-kapea + section.kaksi-palstaa-kapea-levea div.col-wrap,
section.kaksi-palstaa-kapea-levea + section.kaksi-palstaa-levea-kapea div.col-wrap,
section.kaksi-palstaa-kapea-levea + section.three-columns div.col-wrap,
section.kaksi-palstaa-levea-kapea + section.three-columns div.col-wrap,
section.three-columns + section.three-columns div.col-wrap,
section.kaksi-palstaa-levea-kapea + section.one-column.bg-white div.col-wrap,
section.kaksi-palstaa-kapea-levea + section.one-column.bg-white div.col-wrap {
  padding-top: 2rem;
}

section.three-columns + section.three-columns div.col-wrap {
  margin-top: -120px;
}

section.one-column + section.kaksi-palstaa-levea-kapea div.col-wrap {
  padding-top: 2rem;
}

.flex .col-2 {
  float: none;
}

.col-2-right .col-2:first-child {
  margin-left: auto;
  order: 2;
}

.col-2-right {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.flex .col-2:last-child {
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
}

/*.col-2:first-child {
  padding-left: 75px;
}

.col-2:last-child {
  padding-right: 75px;
}*/
.col-2:nth-child(2n+1) {
  clear: both;
}

.col-2-img {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
}

.col-2-img img {
  display: none;
}

.col-3 {
  float: left;
  padding: 0;
  position: relative;
  width: 33.33%;
  border-right: 2px solid #E6E6E6;
}
.col-3:nth-child(3n+1) {
  clear: both;
}

.col-3 {
  padding: 0 50px;
}

.col-3-2 {
  float: left;
  width: 66.66%;
}

.col-3-1 {
  float: left;
  width: 33.33%;
}

.col-2-2 {
  float: left;
  width: 60%;
}

.col-2-1 {
  float: left;
  width: 40%;
}

.col-2-2:first-child,
.col-2-1:first-child {
  padding-right: 20px;
}

.col-2-1:last-child,
.col-2-2:last-child {
  padding-left: 20px;
}

.col-4 {
  float: left;
  padding: 0;
  position: relative;
  width: 25%;
}

.col-5 {
  float: left;
  padding: 0;
  position: relative;
  width: 20%;
}

.flex {
  align-items: center;
  display: flex;
}

@media only screen and (max-width: 1650px) {
  .wrap {
    max-width: calc(100% - 200px);
  }
  .col-wrap {
    padding: 70px 0;
  }
  .col-2 {
    padding: 0 50px;
  }
  .col-3 {
    padding: 0 20px;
  }
  section.kaksi-palstaa-kapea-levea div.col-2:first-child {
    padding-right: 50px;
  }
  section.kaksi-palstaa-levea-kapea div.col-2:last-child {
    padding-left: 50px;
  }
  section.kaksi-palstaa-levea-kapea + section.kaksi-palstaa-levea-kapea div.col-wrap,
  section.kaksi-palstaa-kapea-levea + section.kaksi-palstaa-kapea-levea div.col-wrap,
  section.kaksi-palstaa-levea-kapea + section.kaksi-palstaa-kapea-levea div.col-wrap,
  section.kaksi-palstaa-kapea-levea + section.kaksi-palstaa-levea-kapea div.col-wrap,
  section.kaksi-palstaa-kapea-levea + section.three-columns,
  section.kaksi-palstaa-levea-kapea + section.three-columns,
  section.three-columns + section.three-columns,
  section.kaksi-palstaa-levea-kapea + section.one-column.bg-white,
  section.kaksi-palstaa-kapea-levea + section.one-column.bg-white {
    margin-top: 0;
  }
}
@media only screen and (max-width: 900px) {
  section {
    border-width: 0 !important;
  }
  section.hero div.wrap {
    max-width: calc(100% - 100px);
  }
  main:after {
    width: 0;
  }
  .wrap {
    max-width: calc(100% - 100px);
  }
  section.kaksi-palstaa-kapea-levea div.col-2:first-child,
  section.kaksi-palstaa-kapea-levea div.col-2:last-child,
  section.kaksi-palstaa-levea-kapea div.col-2:first-child,
  section.kaksi-palstaa-levea-kapea div.col-2:last-child {
    width: 50%;
  }
}
@media only screen and (max-width: 600px) {
  section.hero div.wrap,
  .wrap {
    max-width: calc(100% - 40px);
  }
  .col-wrap,
  section.bg-blue.borders div.col-wrap {
    padding: 40px 0;
  }
  section.two-columns div.col-wrap,
  section.kaksi-palstaa-kapea-levea div.col-wrap,
  section.kaksi-palstaa-levea-kapea div.col-wrap {
    display: block;
  }
  .col-3,
  .col-2 {
    float: none;
    padding: 0 0 40px 0;
    width: 100%;
    border-right: none;
  }
  .col-3:last-child,
  .col-2:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0;
  }
  section.kaksi-palstaa-kapea-levea div.col-2:first-child,
  section.kaksi-palstaa-kapea-levea div.col-2:last-child,
  section.kaksi-palstaa-levea-kapea div.col-2:first-child,
  section.kaksi-palstaa-levea-kapea div.col-2:last-child {
    float: none;
    padding: 0 0 40px 0;
    width: 100%;
  }
  section.three-columns + section.three-columns div.col-wrap {
    margin-top: 0;
  }
  section.bg-darkblue div.col-2:first-child {
    border: 0;
  }
  section.two-columns.borders div.col-2:first-child {
    border: none;
  }
}
.with-bg-color {
  flex-wrap: wrap;
}
.with-bg-color .is-full {
  padding: 0 20px 20px 20px;
  width: 100%;
}
@media screen and (min-width: 1650px) {
  .with-bg-color .is-full {
    padding: 0 50px;
  }
}
@media screen and (max-width: 600px) {
  .with-bg-color .is-full {
    padding: 0 0 20px 0;
  }
}
.with-bg-color .col-3:nth-child(3n+1) {
  clear: unset;
}

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

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

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

img.alignright {
  float: right;
  margin: 0;
}

@media only screen and (max-width: 600px) {
  img.alignright {
    float: none;
  }
}
div.gform_wrapper {
  max-width: 800px;
  position: relative;
}
div.gform_wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0 !important;
  position: relative;
}
div.gform_wrapper ul li {
  box-sizing: border-box;
  display: block;
  margin-bottom: 20px;
  width: 100%;
}
div.gform_wrapper ul li input, div.gform_wrapper ul li select, div.gform_wrapper ul li textarea {
  border: 1px solid #b7b7b7;
  box-sizing: border-box;
  font-size: 16px;
  font-size: 1rem;
  padding: 10px;
  width: 100%;
}
div.gform_wrapper ul li ul.gfield_checkbox li,
div.gform_wrapper ul li ul.gfield_radio li {
  margin-bottom: 0;
}
div.gform_wrapper ul li ul.gfield_checkbox label,
div.gform_wrapper ul li ul.gfield_radio label {
  box-sizing: border-box;
  float: left;
  font-weight: normal;
  padding-left: 10px;
  position: relative;
  top: -4px;
  width: calc(100% - 20px);
}
div.gform_wrapper ul li ul.gfield_checkbox input,
div.gform_wrapper ul li ul.gfield_radio input {
  float: left;
  padding-right: 20px;
  width: 20px;
}
div.gform_wrapper ul li input[type=checkbox],
div.gform_wrapper ul li input[type=radio] {
  padding: 0;
  width: auto;
}
div.gform_wrapper ul li input[type=file] {
  padding: 7px 10px;
}
div.gform_wrapper ul li textarea {
  height: 117px;
}
div.gform_wrapper ul li.gform_validation_container {
  display: none;
}
div.gform_wrapper ul li.show-label label {
  display: block;
}
div.gform_wrapper label {
  display: block;
  padding-bottom: 5px;
}
div.gform_wrapper li#field_1_14 > label,
div.gform_wrapper li#field_1_16 > label {
  display: none;
}
div.gform_wrapper li#field_1_14,
div.gform_wrapper li#field_1_16 {
  clear: both;
  content: "";
  display: table;
}
div.gform_wrapper input[type=submit] {
  background-color: #fff;
  border: 1px solid #002d4c;
  border-radius: 40px;
  color: #002d4c;
  cursor: pointer;
  display: inline-block;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  letter-spacing: 1px;
  padding: 15px 30px;
  text-transform: uppercase;
  transition-duration: 0.5s;
  width: auto;
}
div.gform_wrapper input[type=submit]:hover {
  background: #f2f0ed;
}
div.gform_wrapper input[type=submit]:hover {
  color: #000;
}
div.gform_wrapper div.gform_footer {
  padding-top: 20px;
}

ul.gfield_radio li {
  margin-bottom: 0;
}

div.ginput_container_radio {
  margin-bottom: 11px;
}

li.gfield_html {
  margin-bottom: 20px;
}

li.gform_validation_container {
  display: none;
}

img.gform_ajax_spinner {
  display: block;
  height: auto !important;
  margin-top: 20px;
  margin-top: 10px;
  width: 30px !important;
}

div.validation_error {
  color: red;
  margin-bottom: 11px;
}

div.validation_error,
div.validation_message,
li.gfield_error {
  color: red;
}

li.gfield_error input[type=text],
li.gfield_error textarea {
  border: 1px solid red !important;
}

div.gform_confirmation_message {
  padding: 20px 0;
}

.gform_ajax_spinner {
  animation: spinner 1.1s infinite linear;
  background: none;
  border: 2px solid #002d4c;
  border-left: 2px solid #fff;
  border-radius: 50%;
  bottom: -45px;
  height: 20px;
  display: block;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 20px;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
table {
  border-collapse: collapse;
  line-height: 1.45;
  margin-bottom: 30px;
  width: 100%;
}

table th {
  text-align: left;
}

table td {
  padding: 2px 0;
  vertical-align: top;
}

a {
  color: #cda969;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
}
a:after {
  background-color: #fff;
  bottom: -2px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left top;
  transition-duration: 0.3s;
  width: 100%;
}

a:hover:after {
  transform: scaleX(1);
}

a.btn,
a.nappi {
  border: 1px solid #002d4c;
  border-radius: 40px;
  color: #002d4c;
  display: inline-block;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  letter-spacing: 1px;
  padding: 15px 30px;
  text-transform: uppercase;
}
a.btn.valkoinen,
a.nappi.valkoinen {
  border-color: #fff;
  color: #fff;
}
a.btn.oikea-ala,
a.nappi.oikea-ala {
  bottom: 0;
  position: absolute;
  right: 0;
}
a.btn:after,
a.nappi:after {
  bottom: 12px;
  left: 30px;
  width: calc(100% - 60px);
}

section.osakekurssi a:after {
  background-color: #dcdcdc;
}

section.ajankohtaista-uusimmat a.more:after {
  background-color: #dcdcdc;
}

div.accordion-content a:after {
  background-color: #cda969;
}

section.bg-white a:after,
section.bg-lightgray a:after,
section.three-columns a:after {
  background-color: #002d4c;
}

section.avattavat-sisallot-listana a.accordion-title h2 span {
  position: relative;
}
section.avattavat-sisallot-listana a.accordion-title h2 span:after {
  background-color: #002d4c;
  bottom: -5px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left top;
  transition-duration: 0.3s;
  width: 100%;
}
section.avattavat-sisallot-listana a.accordion-title:hover h2 span:after {
  transform: scaleX(1);
}

a.sisapiiri:after {
  display: none;
}

section.bg-blue a,
section.bg-darkblue a {
  color: #fff;
}

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

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

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

strong {
  font-family: "MontBlancBold", sans-serif;
}

.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 {
  margin: 0;
  padding: 0;
}
h1.pieni,
h2.pieni,
h3.pieni,
h4.pieni {
  color: #b7b7b7;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 50px;
  text-transform: uppercase;
}

h1 {
  font-family: "MontBlancLight", sans-serif;
  font-size: 30px;
  font-size: 1.875rem;
  font-weight: 100;
  line-height: 1.3;
  margin-bottom: 20px;
}

h2 {
  font-family: "MontBlancLight", sans-serif;
  font-size: 30px;
  font-size: 1.875rem;
  font-weight: 100;
  line-height: 1;
  margin-bottom: 30px;
}

h3 {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 20px;
}

h4 {
  font-family: "MontBlancLight", sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1;
  margin-bottom: 20px;
}

.col-wrap p + h2,
.col-wrap p + h3,
.col-wrap p + h4 {
  padding-top: 20px;
}

.center {
  text-align: center;
}

span.tavuviiva {
  display: none;
}

.vertical {
  bottom: 75%;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  left: -2.5rem;
  position: absolute;
  text-transform: uppercase;
  /*top: 250px;
  top: 0;*/
  transform-origin: bottom left;
  transform: rotate(-90deg);
}

section.hero-ilman-kuvaa .vertical {
  bottom: 70px;
}

a.sisapiiri {
  background-color: #34a798;
  background-image: url(img/kpy_www_2021_arrow_right_white.svg);
  background-position: center right 50px;
  background-repeat: no-repeat;
  background-size: 30px;
  border-radius: 100px;
  display: block;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 22px;
  font-size: 1.375rem;
  padding: 40px 110px 40px 60px;
  text-align: right;
}
a.sisapiiri span {
  background-image: url(img/kpy_sisarinki_logo_vierekkain_rgb_valkoinen.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 200px;
  display: block;
  line-height: 50px;
}
@media screen and (max-width: 1150px) {
  a.sisapiiri span {
    background-size: contain;
  }
}
a.sisapiiri:hover {
  background-color: rgb(42.4929577465, 139.5070422535, 221.5070422535);
}

@media only screen and (max-width: 1800px) {
  section.hero-valikko-oikeassa-reunassa .vertical {
    left: -88px;
  }
}
@media only screen and (max-width: 1500px) {
  .vertical {
    bottom: 70%;
  }
}
@media only screen and (max-width: 900px) {
  .vertical {
    bottom: auto;
    font-size: 8px;
    font-size: 0.5rem;
    left: 0;
    top: 50px;
    transform: rotate(0);
  }
  h2 {
    font-size: 25px;
    font-size: 1.5625rem;
  }
  a.sisapiiri {
    background-size: 20px;
    font-size: 16px;
    font-size: 1rem;
    padding: 20px 90px 20px 40px;
  }
  a.sisapiiri span {
    background-size: 120px;
  }
  section.hero-valikko-oikeassa-reunassa .vertical,
  section.hero-ilman-kuvaa .vertical {
    bottom: auto;
    left: 0;
    top: 50px;
    transform: rotate(0deg);
  }
}
@media only screen and (max-width: 600px) {
  .vertical {
    text-align: center;
    width: 100%;
    margin-left: 12px;
  }
  a.btn, a.nappi {
    padding: 10px 25px;
  }
  h2 {
    font-size: 22px;
    font-size: 1.375rem;
  }
  div.col-2 > .pieni:first-child {
    padding-top: 20px;
  }
  a.sisapiiri {
    background-position: bottom 15px center;
    background-size: 20px;
    font-size: 16px;
    font-size: 1rem;
    padding: 20px 20px 40px 20px;
    text-align: center;
  }
  a.sisapiiri span {
    background-position: top center;
    background-size: 100px;
    line-height: 1;
    padding-top: 40px;
  }
  section.hero-valikko-oikeassa-reunassa .vertical {
    left: 0;
  }
  a.btn.oikea-ala,
  a.nappi.oikea-ala {
    bottom: auto;
    position: relative;
    right: auto;
  }
}
a.btn,
a.nappi {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a.btn:hover,
a.nappi:hover {
  background-color: #002d4c;
  color: #fff;
  border-color: #002d4c;
}
a.btn.valkoinen:hover,
a.nappi.valkoinen:hover {
  background-color: #fff;
  color: #002d4c;
  border-color: #fff;
}

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

body.single section.hero.hero-ilman-kuvaa {
  background-color: #002d4c;
}

section.hero {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-right: 100px solid #fff;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: calc(100vh - 300px);
  height: 40vw;
}
section.hero.hero-ilman-kuvaa {
  height: 30vw;
  max-height: 400px;
  min-height: 250px;
}
section.hero.hero-ilman-kuvaa h1 {
  max-width: 100% !important;
  overflow-wrap: unset;
  word-break: break-word;
  white-space: break-spaces;
}
section.hero.hero-ilman-kuvaa div.content {
  padding-left: 100px;
}
@media screen and (max-width: 1023px) {
  section.hero.hero-ilman-kuvaa div.content {
    padding-left: 0;
  }
}
section.hero.hero-ilman-kuvaa div.content h1 {
  margin-bottom: 0;
}
section.hero div.wrap {
  height: 100%;
  max-width: calc(100% - 200px);
  position: relative;
}
section.hero div.wrap div.content {
  bottom: 100px;
  left: 0;
  position: absolute;
}
section.hero div.wrap div.content h1 {
  font-family: "MontBlancLight", sans-serif;
  font-size: 32px;
  font-size: 2rem;
  font-weight: 100;
  letter-spacing: 5px;
  margin-bottom: 65px;
  text-transform: uppercase;
}
section.hero div.wrap div.content p {
  font-family: "MontBlancLight", sans-serif;
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: 100;
  line-height: 1.2;
  margin-bottom: 30px;
  max-width: 40%;
}
section.hero div.wrap div.content p.pieni {
  font-size: 16px;
  font-size: 1rem;
}
section.hero div.wrap div.content p:last-child {
  margin-bottom: 0;
}
section.hero a {
  color: #fff;
}
section.hero a.nappi {
  border-color: #fff;
}
section.hero.hero-valikko-oikeassa-reunassa {
  background-color: #002d4c;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi {
  background-color: #cda969;
  bottom: 0;
  display: flex;
  height: 100%;
  padding: 0 60px 60px 60px;
  position: absolute;
  right: -200px;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul {
  align-self: flex-end;
  list-style: none;
  margin: 0;
  min-width: 18vw;
  padding: 0;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul li {
  border-top: 1px solid #fff;
  display: block;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul li:last-child {
  border-bottom: 1px solid #fff;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul li a {
  background-image: url(img/kpy_www_2021_arrow_right_white.svg);
  background-position: center right 10px;
  background-repeat: no-repeat;
  background-size: 20px;
  color: #fff;
  display: block;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
  padding: 20px 35px 20px 10px;
  text-transform: uppercase;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul li a:hover {
  background-position: center right;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul li a:after {
  display: none;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul.sub-navi-vertical > li {
  display: none;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul.sub-navi-vertical > li.menu-item-has-children > .sub-menu li.menu-item-has-children > .sub-menu {
  display: none !important;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul.sub-navi-vertical > li.current-menu-item {
  border-top: 0;
  display: block;
}
section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul.sub-navi-vertical > li.current-menu-item > a {
  display: none;
}
section.hero.hero-valikko-oikeassa-reunassa img.hero-img-between {
  bottom: 80px;
  max-height: 80%;
  max-width: 20vw;
  position: absolute;
  right: 20vw;
}
@media screen and (max-width: 1250px) {
  section.hero.hero-valikko-oikeassa-reunassa img.hero-img-between {
    right: 13vw;
  }
}
section.hero video {
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

@media only screen and (max-width: 1900px) {
  section.hero div.wrap div.content h1 {
    max-width: 60%;
  }
}
@media only screen and (max-width: 1700px) {
  section.hero div.wrap div.content p {
    font-size: 20px;
    font-size: 1.25rem;
    max-width: 55%;
  }
}
@media only screen and (max-width: 1500px) {
  section.hero {
    height: 43vw;
  }
  section.hero div.wrap div.content {
    bottom: 50px;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content h1,
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content p {
    max-width: 50%;
  }
  section.hero div.wrap div.content p {
    font-size: 18px;
    font-size: 1.125rem;
  }
  section.hero div.wrap div.content h1 {
    margin-bottom: 32px;
  }
}
@media only screen and (max-width: 1400px) {
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content {
    bottom: 50px;
  }
}
@media only screen and (max-width: 1300px) {
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content h1,
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content p {
    max-width: 45%;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.hero-navi {
    padding: 0 30px 30px 30px;
  }
}
@media only screen and (max-width: 900px) {
  section.hero {
    border-width: 0;
    height: auto;
    min-height: 500px;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content h1,
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content p {
    max-width: 100%;
  }
  section.hero div.wrap {
    max-width: calc(100% - 100px);
    min-height: 500px;
  }
  section.hero div.wrap div.content h1 {
    font-size: 28px;
    font-size: 1.75rem;
    margin-bottom: 20px;
    max-width: 100%;
  }
  section.hero div.wrap div.content p {
    font-size: 20px;
    font-size: 1.25rem;
    max-width: 100%;
  }
  section.hero.hero-valikko-oikeassa-reunassa {
    height: auto;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content {
    bottom: auto;
    left: auto;
    max-width: 65%;
    padding-bottom: 100px;
    padding-top: 150px;
    position: relative;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.hero-navi {
    bottom: auto;
    height: auto;
    margin-left: -50px;
    padding: 50px;
    position: relative;
    right: auto;
    width: calc(100% + 100px);
  }
  section.hero.hero-valikko-oikeassa-reunassa img.hero-img-between {
    bottom: auto;
    max-height: 350px;
    right: 0;
    top: 100px;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.hero-navi ul {
    width: 100%;
  }
  section.hero-ilman-kuvaa div.wrap div.content {
    bottom: auto;
    left: auto;
    padding-left: 0;
    padding-top: 80px;
    position: relative;
  }
  section.hero.hero-video {
    height: 450px;
  }
}
@media only screen and (max-width: 1200px) {
  section.hero {
    min-height: 600px;
  }
}
@media only screen and (max-width: 600px) {
  section.hero {
    min-height: calc(100vh - 50px);
  }
  section.hero div.wrap {
    max-width: calc(100% - 40px);
  }
  section.hero div.wrap div.content {
    bottom: auto;
    text-align: center;
    top: 100px;
  }
  section.hero.hero-ilman-kuvaa {
    height: auto;
    max-height: none;
    min-height: 0;
  }
  section.hero.hero-ilman-kuvaa div.wrap div.content {
    padding-bottom: 20px;
    top: auto;
  }
  section.hero div.wrap div.content h1 {
    font-size: 24px;
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 100%;
  }
  section.hero.hero-ilman-kuvaa div.wrap div.content h1 {
    font-size: 20px;
    font-size: 1.25rem;
    hyphens: auto;
  }
  section.hero div.wrap div.content p {
    font-size: 18px;
    font-size: 1.125rem;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content {
    max-width: 100%;
    padding-bottom: 50px;
    padding-top: 150px;
    top: auto;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.wrap div.content h1 {
    max-width: 100%;
  }
  section.hero.hero-valikko-oikeassa-reunassa div.hero-navi {
    margin-left: -20px;
    padding: 40px;
    width: calc(100% + 40px);
  }
  section.hero.hero-valikko-oikeassa-reunassa img.hero-img-between {
    display: block;
    margin: 0 auto 50px auto;
    max-height: auto;
    max-width: 50%;
    position: relative;
    right: auto;
    top: auto;
  }
}
@media only screen and (max-width: 330px) {
  section.hero div.wrap div.content p {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
.page-id-7769 section.hero .vertical {
  bottom: 60% !important;
}

section.osakekurssi {
  border-right: 100px solid #f2f0ed;
}
section.osakekurssi div.wrap {
  border-bottom: 2px solid #dcdcdc;
  max-width: calc(100% - 200px);
}
section.osakekurssi div.col-wrap {
  margin: 0 auto;
  max-width: 795px;
  padding: 85px 0;
}
section.osakekurssi div.col-5 {
  padding: 0;
  text-align: center;
  width: 17.5%;
}
section.osakekurssi div.col-5:first-child {
  width: 30%;
}
section.osakekurssi div.col-5:first-child div.title {
  text-align: left;
}
section.osakekurssi div.col-5:first-child div.data {
  text-align: left;
}
section.osakekurssi div.col-5:last-child div.data {
  border-right: none;
  text-align: right;
}
section.osakekurssi div.title {
  border-bottom: 2px solid #dcdcdc;
  color: #b7b7b7;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  padding: 0 0 15px 0;
  text-transform: uppercase;
}
section.osakekurssi div.title a {
  color: #b7b7b7;
}
section.osakekurssi div.data {
  border-right: 2px solid #dcdcdc;
  font-family: "MontBlancLight", sans-serif;
  font-size: 24px;
  font-size: 1.5rem;
  padding-bottom: 17px;
}
section.osakekurssi div.data.row-2 {
  border-top: 2px solid #dcdcdc;
  padding-bottom: 0;
  padding-top: 17px;
}

@media only screen and (max-width: 900px) {
  section.osakekurssi div.wrap {
    max-width: calc(100% - 100px);
  }
  section.osakekurssi div.data {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
@media only screen and (max-width: 600px) {
  section.osakekurssi div.wrap {
    max-width: calc(100% - 40px);
  }
  section.osakekurssi div.title {
    border-width: 1px;
    font-size: 7px;
    font-size: 0.4375rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  section.osakekurssi div.data {
    border-width: 1px;
    font-size: 10px;
    font-size: 0.625rem;
  }
  section.osakekurssi div.col-wrap {
    padding: 40px 0;
  }
  section.osakekurssi div.wrap {
    border-width: 1px;
  }
  section.osakekurssi div.data {
    padding-bottom: 10px;
  }
  section.osakekurssi div.data.row-2 {
    border-width: 1px;
    padding-top: 10px;
  }
}
@media only screen and (max-width: 330px) {
  section.osakekurssi div.title {
    font-size: 6px;
    font-size: 0.375rem;
  }
  section.osakekurssi div.data {
    font-size: 9px;
    font-size: 0.5625rem;
  }
}
section.ajankohtaista-uusimmat div.col-wrap:first-child {
  padding-bottom: 0;
}
section.ajankohtaista-uusimmat div.col-wrap:first-child h2 {
  color: #b7b7b7;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
section.ajankohtaista-uusimmat div.col-wrap:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 60px;
  padding-top: 50px;
}
section.ajankohtaista-uusimmat div.col-wrap:last-child {
  padding-top: 0;
  text-align: center;
}
section.ajankohtaista-uusimmat div.col-3 {
  border-left: 7px solid #cda969;
  margin-bottom: 50px;
  padding: 3px 60px 3px 40px;
}
section.ajankohtaista-uusimmat h3 {
  font-family: "MontBlancLight", sans-serif;
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.1;
}
section.ajankohtaista-uusimmat h3 a {
  color: #333;
}
section.ajankohtaista-uusimmat time {
  color: #b7b7b7;
  display: block;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
section.ajankohtaista-uusimmat span.label.label-press-release {
  margin-left: 10px;
  background-color: #cda969;
  color: white;
  padding: 2px 4px;
  border-radius: 3px;
}
section.ajankohtaista-uusimmat span.label.label-tag {
  margin-left: 10px;
  background-color: #1d71b8;
  color: white;
  padding: 2px 4px;
  border-radius: 3px;
  text-transform: uppercase;
}
section.ajankohtaista-uusimmat a.more {
  color: #b7b7b7;
  display: inline-block;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
section.ajankohtaista-uusimmat.ajankohtaista-kaikki div.col-wrap:last-child, section.ajankohtaista-uusimmat.ajankohtaista-yritys div.col-wrap:last-child {
  padding: 100px 0;
  text-align: left;
}

.news-container {
  display: flex;
}
@media screen and (max-width: 768px) {
  .news-container {
    display: block;
  }
}
.news-container h3 {
  margin-bottom: 0.6rem;
}
.news-container .source-span {
  font-size: 0.7rem;
  display: block;
  margin-bottom: 0.9rem;
}
.news-container .rst-news p {
  color: #cda969;
  text-align: left;
  border-bottom: 2px solid #cda969;
  margin-bottom: 1rem;
  margin-right: 2rem;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  padding-bottom: 0.2rem;
}
.news-container .kpy-news {
  width: 100%;
}
.news-container .kpy-news p {
  color: #002d4c;
  text-align: left;
  border-bottom: 2px solid #002d4c;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  padding-bottom: 0.2rem;
}
.news-container .news-inner {
  width: 66.66%;
  padding-top: 50px !important;
}
@media screen and (max-width: 768px) {
  .news-container .news-inner {
    width: 100%;
    padding-top: 10px !important;
  }
}
.news-container .news-inner .col-2 {
  border-left: 7px solid #002d4c;
  margin-bottom: 50px;
  padding: 3px 60px 3px 40px;
  text-align: left;
}
.news-container .rst-container {
  width: 33.33%;
  padding-top: 50px !important;
}
@media screen and (max-width: 768px) {
  .news-container .rst-container {
    width: 100%;
    padding-top: 0 !important;
  }
}
.news-container .rst-container .col-1 {
  border-left: 7px solid #cda969;
  margin-bottom: 50px;
  padding: 3px 60px 3px 40px;
  text-align: left;
}

@media only screen and (max-width: 1500px) {
  section.ajankohtaista-uusimmat h3 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  section.ajankohtaista-uusimmat div.col-3 {
    padding-right: 30px;
  }
  section.ajankohtaista-uusimmat div.col-wrap:nth-child(2) {
    padding-bottom: 60px;
  }
}
@media only screen and (max-width: 1400px) {
  section.ajankohtaista-uusimmat h3 {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
@media only screen and (max-width: 900px) {
  section.ajankohtaista-uusimmat div.col-3 {
    border-width: 3px;
    padding-left: 30px;
  }
  section.ajankohtaista-uusimmat h3 {
    font-size: 16px;
    font-size: 1rem;
  }
}
@media only screen and (max-width: 600px) {
  section.ajankohtaista-uusimmat div.col-wrap:nth-child(2) {
    padding-top: 10px;
  }
  section.ajankohtaista-uusimmat div.col-3 {
    padding-left: 20px;
    padding-right: 0;
  }
  section.ajankohtaista-uusimmat a.more {
    font-size: 12px;
    font-size: 0.75rem;
  }
  section.ajankohtaista-uusimmat.ajankohtaista-kaikki div.col-wrap:last-child {
    padding: 40px 0;
  }
}
section.ajankohtaista-uusimmat div.col-3 {
  border-right: none !important;
}

section.iso-kuva-tekstin-paalla {
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  display: flex;
  min-height: 35vw;
  padding: 0 10vw;
  position: relative;
}
section.iso-kuva-tekstin-paalla.text-align-right {
  justify-content: flex-end;
}
section.iso-kuva-tekstin-paalla.text-align-center {
  justify-content: center;
}
section.iso-kuva-tekstin-paalla p:last-child {
  margin-bottom: 0;
}
section.iso-kuva-tekstin-paalla div.text {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 25%;
  padding: 2rem 0;
}
@media screen and (max-width: 1250px) {
  section.iso-kuva-tekstin-paalla div.text {
    width: 50%;
  }
}
section.iso-kuva-tekstin-paalla div.text .pieni {
  color: #fff;
}

@media only screen and (max-width: 900px) {
  section.iso-kuva-tekstin-paalla {
    padding: 0 50px;
  }
  section.iso-kuva-tekstin-paalla h1.pieni,
  section.iso-kuva-tekstin-paalla h2.pieni,
  section.iso-kuva-tekstin-paalla h3.pieni,
  section.iso-kuva-tekstin-paalla h4.pieni {
    margin-bottom: 25px;
  }
  section.iso-kuva-tekstin-paalla p {
    font-size: 12px;
    font-size: 0.75rem;
  }
  section.iso-kuva-tekstin-paalla a.btn,
  section.iso-kuva-tekstin-paalla a.nappi {
    padding: 10px 15px;
  }
  section.iso-kuva-tekstin-paalla div.text {
    width: 40%;
  }
}
@media only screen and (max-width: 600px) {
  section.iso-kuva-tekstin-paalla {
    min-height: 200px;
    padding: 0 20px;
  }
  section.iso-kuva-tekstin-paalla h1.pieni,
  section.iso-kuva-tekstin-paalla h2.pieni,
  section.iso-kuva-tekstin-paalla h3.pieni,
  section.iso-kuva-tekstin-paalla h4.pieni {
    margin-bottom: 20px;
  }
  section.iso-kuva-tekstin-paalla p {
    font-size: 12px;
    font-size: 0.75rem;
  }
  section.iso-kuva-tekstin-paalla a.btn,
  section.iso-kuva-tekstin-paalla a.nappi {
    font-size: 12px;
    font-size: 0.75rem;
  }
  section.iso-kuva-tekstin-paalla div.text {
    width: 100%;
  }
}
section.linkkilista div.wrap {
  border-bottom: 2px solid #dcdcdc;
  border-top: 2px solid #dcdcdc;
}
section.linkkilista ul {
  list-style: none;
  padding: 0;
}
section.linkkilista ul li {
  background: url(img/kpy_www_2021_arrow_right_gray.svg);
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 20px;
  border-bottom: 2px solid #dcdcdc;
}
section.linkkilista ul li:first-child {
  border-top: 2px solid #dcdcdc;
}
section.linkkilista ul li a {
  background: url(img/kpy_listaikoni_ruskea.svg);
  background-position: left 20px center;
  background-repeat: no-repeat;
  background-size: 16px;
  color: #333;
  display: block;
  padding: 15px 50px;
}
section.linkkilista h2 + ul {
  margin-top: 60px;
}

@media only screen and (max-width: 600px) {
  section.linkkilista h2 + ul {
    margin-top: 40px;
  }
  section.linkkilista ul li {
    background-position: right center;
  }
  section.linkkilista ul li a {
    background-position: left center;
    padding: 15px 20px 15px 25px;
  }
}
section.toisen-tason-valikko-vaaka {
  background: #cda969;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section.toisen-tason-valikko-vaaka .wrap {
  max-width: calc(100% - 200px);
}
section.toisen-tason-valikko-vaaka div.col-wrap {
  padding: 50px 0;
}
section.toisen-tason-valikko-vaaka nav.breadcrumbs {
  margin-left: 0.6rem;
  margin-top: -1.5rem;
  margin-bottom: 1rem;
}
section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  letter-spacing: 1px;
  list-style: none;
  padding: 0;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
}
section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li {
  border-right: 2px solid #fff;
  display: inline-block;
  padding: 0 15px 0 10px;
  height: fit-content;
  margin: 0.5rem 0 0 0;
}
section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li.menu-item-has-children > a {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li .sub-menu li:first-of-type {
  padding-left: 0;
}
section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li a {
  display: block;
  letter-spacing: 1px;
  line-height: 1;
}
section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li:last-child {
  border-right: none;
}
section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li.current-menu-item > a:after, section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li.current-menu-parent > a:after, section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li.current-menu-ancestor > a:after {
  transform: scaleX(1);
}
section.toisen-tason-valikko-vaaka nav.children-nav {
  margin-top: 1.5rem;
}
@media screen and (min-width: 900px) {
  section.toisen-tason-valikko-vaaka nav.children-nav:before {
    content: "";
    display: block;
    width: 2.6rem;
    height: 0.1rem;
    background-color: white;
    margin-left: 0.6rem;
    margin-bottom: 1rem;
  }
}
section.toisen-tason-valikko-vaaka nav.children-nav ul {
  padding-left: 0.6rem;
  display: flex;
  flex-direction: column;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  letter-spacing: 1px;
  list-style: none;
  text-transform: uppercase;
}
section.toisen-tason-valikko-vaaka nav.children-nav ul li {
  padding: 0.25rem 0;
}
section.toisen-tason-valikko-vaaka nav.children-nav ul li.has-children {
  margin-bottom: 0.25rem;
}
section.toisen-tason-valikko-vaaka nav.children-nav ul li.has-children > a {
  display: inline-block;
  width: auto;
  position: relative;
}
section.toisen-tason-valikko-vaaka nav.children-nav ul li.has-children:hover > ul {
  display: block;
}
section.toisen-tason-valikko-vaaka a {
  color: #fff;
}

@media only screen and (max-width: 1550px) {
  section.toisen-tason-valikko-vaaka .wrap {
    max-width: 100%;
    padding-left: 100px;
  }
}
@media only screen and (max-width: 1420px) {
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul {
    font-size: 14px;
    font-size: 0.875rem;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li {
    margin: 0.5rem 0 0 0;
  }
}
@media only screen and (max-width: 900px) {
  section.toisen-tason-valikko-vaaka .wrap {
    max-width: calc(100% - 100px);
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li:first-child a {
    padding-left: 0;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li {
    border-right: none;
    border-top: 1px solid #fff;
    display: block;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li:last-child {
    border-bottom: 1px solid #fff;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li a {
    background-image: url(img/kpy_www_2021_arrow_right_white.svg);
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: 20px;
    border: none;
    color: #fff;
    display: block;
    font-family: "MontBlancSemiBold", sans-serif;
    font-size: 14px;
    font-size: 0.875rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 1px;
    padding: 20px 10px 20px 0;
    text-transform: uppercase;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li a:hover {
    color: #dcdcdc;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li.current-menu-item > a:after,
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li.current-menu-parent > a:after,
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li.current-menu-ancestor > a:after {
    display: none;
  }
  section.toisen-tason-valikko-vaaka .wrap {
    padding-left: 0;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li {
    margin: 0;
  }
}
@media only screen and (max-width: 600px) {
  section.toisen-tason-valikko-vaaka .wrap {
    max-width: calc(100% - 80px);
  }
  section.toisen-tason-valikko-vaaka div.col-wrap {
    padding: 40px 0;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  section.toisen-tason-valikko-vaaka nav.sub-navi-horizontal ul li {
    margin: 0;
  }
}
div.accordion-item {
  border-bottom: 2px solid #dcdcdc;
}
div.accordion-item:first-child {
  border-top: 2px solid #dcdcdc;
}

a.accordion-title {
  color: #333;
  display: block;
  padding: 25px 50px 25px 30px;
  position: relative;
  text-decoration: none;
}
a.accordion-title h2 {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}
a.accordion-title h2:after {
  content: "+";
  display: block;
  font-family: "MontBlancLight", sans-serif;
  font-weight: 100;
  position: absolute;
  right: -20px;
  top: 0;
}
a.accordion-title h2 span {
  display: inline-block;
}
a.accordion-title.open h2:after {
  content: "-";
}
a.accordion-title {
  /*&:hover {
  	text-decoration: underline;
  }*/
}
a.accordion-title img {
  position: absolute;
  right: 25px;
  top: 40px;
}
a.accordion-title {
  /*span {
  	background: url(img/nuoli-ylos.svg) center center no-repeat;
  	background-size: contain;
    height: 16px;
  	position: absolute;
  	right: 10px;
  	top: 25px;
  	transform: rotate(180deg);
  	transition-duration: 0.5s;
  	width: 16px;  
  }*/
}

div.accordion-content {
  display: none;
}
div.accordion-content div.col-wrap {
  padding: 50px 30px;
}
div.accordion-content div.col-wrap div.col-1 {
  max-width: 960px;
}

@media only screen and (max-width: 600px) {
  a.accordion-title {
    padding: 20px 20px 20px 0;
  }
  a.accordion-title h2:after {
    right: -20px;
  }
  section.avattavat-sisallot-listana div.wrap {
    max-width: calc(100% - 80px);
  }
  a.accordion-title h2 {
    font-size: 18px;
    font-size: 1.125rem;
  }
  div.accordion-content div.col-wrap {
    padding: 20px 0;
  }
}
div.sisapiiri-popup {
  background: #fff;
  border: 20px solid #002D4C;
  display: none;
  left: calc(50% - 325px);
  line-height: 1.4;
  max-width: 650px;
  padding: 100px;
  position: fixed;
  text-align: center;
  top: 200px;
  width: 90%;
  z-index: 9999;
}
div.sisapiiri-popup p.fail,
div.sisapiiri-popup p.success {
  display: none;
}
div.sisapiiri-popup p.fail {
  color: red;
}
div.sisapiiri-popup p.success {
  color: green;
}
div.sisapiiri-popup input {
  border: 1px solid #b7b7b7;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  width: 100%;
}
div.sisapiiri-popup a.sisapiiri-popup-close {
  font-size: 40px;
  position: absolute;
  right: 20px;
  top: 0;
  color: #002D4C;
}
div.sisapiiri-popup input[type=button] {
  background: #fff;
  border: 1px solid #002d4c;
  border-radius: 40px;
  color: #002d4c;
  cursor: pointer;
  display: inline-block;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  letter-spacing: 1px;
  padding: 15px 30px;
  position: relative;
  text-transform: uppercase;
  transition-duration: 0.5s;
  width: auto;
}
div.sisapiiri-popup input[type=button]:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 1400px) {
  div.sisapiiri-popup {
    top: 100px;
  }
}
@media only screen and (max-width: 600px) {
  div.sisapiiri-popup {
    border-width: 10px;
    left: 20px;
    padding: 20px 20px 0 20px;
  }
  div.sisapiiri-popup a.sisapiiri-popup-close {
    right: 10px;
    top: -10px;
  }
}
div#cookie-notice a.cn-close-icon:after {
  bottom: auto;
  left: auto;
  transform-origin: center center;
}
div#cookie-notice a.cn-close-icon:hover:after {
  transform: rotate(-45deg);
}
div#cookie-notice .nappi {
  background-color: transparent;
  border: 1px solid #fff;
  position: relative;
  color: #fff;
}
div#cookie-notice .nappi:after {
  bottom: 6px;
  left: 12px;
  width: calc(100% - 24px);
}

@media only screen and (max-width: 600px) {
  .cn-close-icon {
    top: 25px !important;
  }
}
div.fts-jal-single-fb-post {
  border-left: 7px solid #cda969 !important;
  display: inline-block;
  padding-left: 40px !important;
  vertical-align: top;
  width: 33%;
}
div.fts-jal-single-fb-post:nth-child(1) {
  padding: 0 33px 0 40px !important;
}
div.fts-jal-single-fb-post:nth-child(2) {
  padding: 0 16.5px 0 40px !important;
}
div.fts-jal-single-fb-post:nth-child(3) {
  padding: 0 0 0 40px !important;
}

div.fts-jal-fb-user-thumb {
  display: none !important;
}

span.fts-jal-fb-user-name {
  display: none !important;
}

.fts-powered-by-text-popup a.fts-powered-by-text {
  display: none !important;
}

.fts-jal-fb-group-display.fts-mashup-media-top .fts-jal-single-fb-post {
  background: transparent !important;
}

div.fts-likes-shares-etc-wrap a:after,
div.fts-jal-fb-link-wrap a:after {
  display: none;
}

.fts-mashup-hide-thumbnail.fts-mashup-media-top .fts-jal-fb-user-name,
.fts-mashup-hide-thumbnail.fts-mashup-media-top .fts-jal-single-fb-post .fts-jal-fb-user-name,
.fts-mashup-media-top .fts-jal-fb-message {
  padding: 0 !important;
}

.fts-mashup-media-top .fts-likes-shares-etc-wrap {
  padding-left: 0 !important;
}

@media only screen and (max-width: 900px) {
  div.fts-jal-single-fb-post {
    border-width: 3px !important;
    display: inline-block;
    vertical-align: top;
    width: 32%;
  }
  div.fts-jal-single-fb-post:nth-child(1) {
    padding: 0 20px 0 20px !important;
  }
  div.fts-jal-single-fb-post:nth-child(2) {
    padding: 0 10px 0 20px !important;
  }
  div.fts-jal-single-fb-post:nth-child(3) {
    padding: 0 0 0 20px !important;
  }
}
@media only screen and (max-width: 600px) {
  .fts-jal-fb-group-display.fts-mashup-media-top .fts-jal-single-fb-post {
    display: block;
    padding: 0 0 40px 20px !important;
    width: 100%;
  }
}
div.person {
  display: inline-block;
  margin-bottom: 50px;
  padding: 0 50px;
  vertical-align: top;
  width: 25%;
  text-align: center;
}
div.person img {
  display: block;
  margin-bottom: 10px;
  width: 100%;
}
div.person p {
  font-size: 14px;
  font-size: 0.875rem;
  margin-bottom: 10px;
}
div.person p strong {
  font-size: 16px;
  font-size: 1rem;
}
div.person p.omistus {
  font-size: 12px;
  font-size: 0.75rem;
}

.johtohenkilot .person img {
  cursor: pointer;
}

@media only screen and (max-width: 1500px) {
  div.person {
    padding: 0 30px;
  }
}
@media only screen and (max-width: 900px) {
  div.person {
    padding: 0 20px;
    width: 33%;
  }
  div.person p {
    font-size: 12px;
    font-size: 0.75rem;
  }
  div.person p strong {
    font-size: 14px;
    font-size: 0.875rem;
  }
  div.person p.omistus {
    font-size: 10px;
    font-size: 0.625rem;
  }
}
@media only screen and (max-width: 600px) {
  div.person {
    padding: 0 10px;
    width: 50%;
  }
  div.person p {
    font-size: 8px;
    font-size: 0.5rem;
  }
  div.person p strong {
    font-size: 12px;
    font-size: 0.75rem;
  }
  div.person p.omistus {
    font-size: 7px;
    font-size: 0.4375rem;
  }
}
.wrap.personel-wrap {
  padding: 3rem 0;
  max-width: calc(100% - 100px);
}

.personel-wrap-inner {
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}
.personel-wrap-inner .single-person-container {
  width: 20%;
  margin-bottom: 1.5rem;
  border-right: 1px solid #cccccc;
}
@media screen and (min-width: 1023px) {
  .personel-wrap-inner .single-person-container:nth-of-type(5n+0) {
    border-right: none;
  }
}
@media screen and (max-width: 1023px) {
  .personel-wrap-inner .single-person-container {
    width: 33%;
  }
  .personel-wrap-inner .single-person-container:nth-of-type(3n+0) {
    border-right: none;
  }
}
@media screen and (max-width: 768px) {
  .personel-wrap-inner .single-person-container {
    width: 50%;
  }
  .personel-wrap-inner .single-person-container:nth-of-type(3n+0) {
    border-right: 1px solid #cccccc;
  }
  .personel-wrap-inner .single-person-container:nth-of-type(even) {
    border-right: none;
  }
}
@media screen and (max-width: 475px) {
  .personel-wrap-inner .single-person-container {
    width: 100%;
    border-right: none !important;
    border-bottom: 1px solid #cccccc;
  }
  .personel-wrap-inner .single-person-container:last-of-type {
    border-bottom: none;
  }
}
.personel-wrap-inner .single-person-container .single-person-inner {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}
.personel-wrap-inner .single-person-container .single-person-inner .single-person-image {
  position: relative;
  margin-bottom: 1rem;
}
.personel-wrap-inner .single-person-container .single-person-inner .single-person-image img {
  display: block;
  object-fit: cover;
  border-radius: 100%;
  width: 90%;
  height: 90%;
  margin-left: auto;
  margin-right: auto;
}
.personel-wrap-inner .single-person-container .single-person-inner .single-person-image .vote-number {
  position: absolute;
  font-size: 1.2rem;
  top: -12px;
  right: -10px;
  background-color: #002d4c;
  z-index: 1;
  color: white;
  border-radius: 100%;
  padding: 1rem 1.4rem;
}
.personel-wrap-inner .single-person-container .single-person-inner .single-person-texts {
  text-align: center;
}
.personel-wrap-inner .single-person-container .single-person-inner .single-person-texts p {
  margin-bottom: 0.25rem;
}
.personel-wrap-inner .single-person-container .single-person-inner .single-person-texts p:last-of-type {
  margin-bottom: 0.5rem;
}

.accordition-wrap {
  padding: 5rem 0;
}
.accordition-wrap .qa-container-outer {
  max-width: 800px;
}
.accordition-wrap .qa-container-outer .single-question-container {
  position: relative;
  background-color: #f2f0ed;
  padding: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
  border-bottom: 1px solid #002d4c;
}
.accordition-wrap .qa-container-outer .single-question-container h3 {
  margin-bottom: 0;
  padding-bottom: 0;
  transition: 0.3s;
  padding-right: 3rem;
}
.accordition-wrap .qa-container-outer .single-question-container .fake-opener {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.9rem 1.2rem;
  background: #002d4c;
  color: white;
  transition: 0.3s;
}
.accordition-wrap .qa-container-outer .single-question-container:hover {
  background-color: rgb(231.3064516129, 227.6612903226, 222.1935483871);
}
.accordition-wrap .qa-container-outer .single-question-container:hover h3 {
  color: #cda969;
}
.accordition-wrap .qa-container-outer .single-question-container:hover .fake-opener {
  background-color: rgb(0, 29.9013157895, 50.5);
}
.accordition-wrap .qa-container-outer .single-answer-container {
  display: block;
  position: relative;
  border: 1px solid #cda969;
  padding: 0.8rem;
  margin-top: -1px;
}
.accordition-wrap .qa-container-outer .single-answer-container.is-hidden {
  display: none;
}
.accordition-wrap .qa-container-outer .single-answer-container p:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}
@media screen and (max-width: 1000px) {
  .accordition-wrap .qa-container-outer .single-answer-container img {
    width: 100%;
    height: 100%;
  }
}

.filelist-wrap {
  padding: 5rem 0;
}
.filelist-wrap .single-file-list-container {
  margin-bottom: 2.5rem;
}
.filelist-wrap .file-list-cols {
  padding: 1rem 0;
  display: flex;
}
.filelist-wrap .file-list-cols h3 {
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .filelist-wrap .file-list-cols {
    display: block;
  }
}
.filelist-wrap .file-list-cols .left-side-col {
  width: 50%;
  padding-right: 3rem;
}
@media screen and (max-width: 768px) {
  .filelist-wrap .file-list-cols .left-side-col {
    width: 100%;
    padding-right: 0;
  }
}
.filelist-wrap .file-list-cols .left-side-col a {
  display: block;
  padding: 0.8rem 0.5rem;
  border-top: 1px solid #002d4c;
  display: flex;
  word-break: break-all;
}
.filelist-wrap .file-list-cols .left-side-col a:last-of-type {
  border-bottom: 1px solid #002d4c;
}
.filelist-wrap .file-list-cols .right-side-col {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .filelist-wrap .file-list-cols .right-side-col {
    width: 100%;
    margin-top: 1.5rem;
  }
}
.filelist-wrap .file-list-cols .right-side-col a {
  display: block;
  padding: 0.8rem 0.5rem;
  border-top: 1px solid #002d4c;
  display: flex;
  word-break: break-all;
}
.filelist-wrap .file-list-cols .right-side-col a:last-of-type {
  border-bottom: 1px solid #002d4c;
}
.filelist-wrap .file-list-cols .file-icon {
  width: 14px;
  margin-right: 0.5rem;
}
.filelist-wrap .file-list-cols .link-icon {
  width: 18px;
  margin-right: 0.25rem;
}

table th {
  background-color: #f1f0ed;
  color: black;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
}
table td {
  padding: 0.25rem 0.5rem;
}

.ajankohtaista-stt .heading-container h2 {
  color: #b7b7b7;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .heading-container h2 {
    margin-bottom: 1rem;
  }
}
.ajankohtaista-stt .title-col p {
  color: #b7b7b7;
  font-family: "MontBlancRegular", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ajankohtaista-stt h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.25em;
  font-family: "MontBlancRegular", sans-serif;
}
@media screen and (max-width: 1023px) {
  .ajankohtaista-stt h3 {
    font-size: 1.2rem;
  }
}
.ajankohtaista-stt .news-link {
  display: block;
  width: fit-content;
  margin-top: 1.25rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "MontBlancRegular", sans-serif;
}
.ajankohtaista-stt .date-col {
  display: flex;
  margin-bottom: 1rem;
}
.ajankohtaista-stt .date-col * {
  color: #b7b7b7;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-family: "MontBlancRegular", sans-serif;
}
.ajankohtaista-stt .date-col p {
  margin-bottom: 0;
  position: relative;
}
.ajankohtaista-stt .date-col p:first-of-type::after {
  content: "|";
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.ajankohtaista-stt .image-text-col {
  display: flex;
  margin: 0 -0.5rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .image-text-col {
    display: block;
  }
}
.ajankohtaista-stt .image-text-col .image-col {
  width: 50%;
  padding: 0.5rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .image-text-col .image-col {
    width: 100%;
  }
}
.ajankohtaista-stt .image-text-col .image-col img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.ajankohtaista-stt .image-text-col .text-col {
  width: 50%;
  padding: 0.5rem;
  margin-top: auto;
  margin-bottom: auto;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .image-text-col .text-col {
    width: 100%;
  }
}
.ajankohtaista-stt .big-news-col {
  margin-bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .big-news-col {
    display: block;
    margin-bottom: 2rem;
  }
}
.ajankohtaista-stt .big-news-col .image-col {
  width: 50%;
  padding: 0.75rem;
  padding-right: 2rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .big-news-col .image-col {
    width: 100%;
    padding-right: 0.75rem;
  }
}
.ajankohtaista-stt .big-news-col .image-col img {
  max-height: 40vh;
  min-height: 250px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .big-news-col .image-col img {
    max-height: 275px;
  }
}
.ajankohtaista-stt .big-news-col .texts-col {
  margin-top: auto;
  margin-bottom: auto;
  width: 50%;
  padding: 0.75rem;
  padding-left: 2rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .big-news-col .texts-col {
    width: 100%;
    padding-left: 0.75rem;
  }
}
.ajankohtaista-stt .ajankohtaista-stt-cols {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .ajankohtaista-stt-cols {
    display: block;
  }
}
.ajankohtaista-stt .ajankohtaista-col {
  width: 60%;
  padding: 0.75rem;
  padding-right: 4rem;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .ajankohtaista-col {
    width: 100%;
    padding-right: 0.75rem;
  }
}
.ajankohtaista-stt .ajankohtaista-col .single-ajankohtaista-col {
  border-left: 5px solid #002d4c;
  margin-bottom: 2rem;
}
.ajankohtaista-stt .ajankohtaista-col .single-ajankohtaista-col .single-ajankohtaista-inner {
  padding: 0.75rem 1.25rem;
}
.ajankohtaista-stt .stt-col {
  padding: 0.75rem;
  width: 40%;
}
@media screen and (max-width: 768px) {
  .ajankohtaista-stt .stt-col {
    width: 100%;
  }
}
.ajankohtaista-stt .stt-col .single-stt-col {
  border-left: 5px solid #cda969;
  margin-bottom: 2rem;
}
.ajankohtaista-stt .stt-col .single-stt-col .single-stt-inner {
  padding: 0.75rem 1.25rem;
}
.ajankohtaista-stt .stt-col .single-stt-col .single-stt-inner h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.25em;
  font-family: "MontBlancRegular", sans-serif;
}
@media screen and (max-width: 1023px) {
  .ajankohtaista-stt .stt-col .single-stt-col .single-stt-inner h4 {
    font-size: 1.05rem;
  }
}

.single-post .date-col {
  display: flex;
  margin-bottom: 1rem;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 1023px) {
  .single-post .date-col {
    width: 85%;
  }
}
@media screen and (max-width: 768px) {
  .single-post .date-col {
    width: 100%;
  }
}
.single-post .date-col * {
  color: #b7b7b7;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-family: "MontBlancRegular", sans-serif;
}
.single-post .date-col p {
  margin-bottom: 0;
  position: relative;
}
.single-post .date-col p:first-of-type::after {
  content: "|";
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.single-post article {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 1023px) {
  .single-post article {
    width: 85%;
  }
}
@media screen and (max-width: 768px) {
  .single-post article {
    width: 100%;
  }
}
.single-post article::first-letter {
  initial-letter: 3;
  padding-right: 0.25rem;
  padding-bottom: 0.25rem;
}
.single-post .recent-posts-container .col-wrap {
  padding-top: 0;
}
.single-post .recent-posts-container .posts-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}
@media screen and (max-width: 768px) {
  .single-post .recent-posts-container .posts-container {
    display: block;
  }
}
.single-post .recent-posts-container .posts-container .single-post-container {
  width: 33%;
  border-left: 5px solid #cda969;
  display: flex;
}
@media screen and (max-width: 1023px) {
  .single-post .recent-posts-container .posts-container .single-post-container {
    width: 50%;
    margin-bottom: 1.25rem;
  }
}
@media screen and (max-width: 768px) {
  .single-post .recent-posts-container .posts-container .single-post-container {
    width: 100%;
  }
}
.single-post .recent-posts-container .posts-container .single-post-container .single-post-inner {
  padding: 0.75rem 1.25rem;
  margin-top: auto;
  margin-bottom: auto;
}
.single-post .recent-posts-container .posts-container .single-post-container .date,
.single-post .recent-posts-container .posts-container .single-post-container a {
  color: #b7b7b7;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-family: "MontBlancRegular", sans-serif;
  margin-bottom: 1rem;
}
.single-post .recent-posts-container .posts-container .single-post-container h3 {
  color: #333;
  font-size: calc(0.7rem + 0.5vw);
  font-family: "MontBlancRegular", sans-serif;
}
@media screen and (max-width: 1023px) {
  .single-post .recent-posts-container .posts-container .single-post-container h3 {
    font-size: 1rem;
  }
}

.page-yhteystiedot main#content .three-columns .col-3 a > img {
  transition: transform 0.3s;
}
.page-yhteystiedot main#content .three-columns .col-3 a > img:hover {
  transform: scale(1.05);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  z-index: 9999;
  opacity: 1;
}

section.wayfinder {
  padding: 10vh 0;
}
section.wayfinder .col-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 50px 0;
}
section.wayfinder .col-3 {
  border-left: 2px solid rgba(255, 255, 255, 0.8);
  border-right: none;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
section.wayfinder .col-3:first-child {
  border-left: none;
  padding-left: 0;
}
section.wayfinder .col-3:last-child {
  padding-right: 0;
  border-right: none;
}
section.wayfinder .col-3 h3 {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
section.wayfinder .col-3 p {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  flex-grow: 1;
}
section.wayfinder.bg-darkblue .col-3, section.wayfinder.bg-blue .col-3 {
  border-left-color: rgba(255, 255, 255, 0.2);
}
section.wayfinder.bg-darkblue .col-3 h3, section.wayfinder.bg-darkblue .col-3 p, section.wayfinder.bg-blue .col-3 h3, section.wayfinder.bg-blue .col-3 p {
  color: #fff;
}
section.wayfinder.bg-darkblue .col-3 .nappi, section.wayfinder.bg-blue .col-3 .nappi {
  border-color: #fff;
  color: #fff;
}
section.wayfinder.bg-darkblue .col-3 .nappi:hover, section.wayfinder.bg-blue .col-3 .nappi:hover {
  background-color: #fff;
  color: #002d4c;
}
section.wayfinder.bg-white .col-3, section.wayfinder.bg-lightgray .col-3 {
  border-left-color: #002d4c;
}
@media only screen and (max-width: 900px) {
  section.wayfinder .col-wrap {
    flex-direction: column;
  }
  section.wayfinder .col-3 {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 0;
  }
  section.wayfinder .col-3:first-child {
    border-top: none;
    padding-top: 0;
  }
}
@media only screen and (max-width: 600px) {
  section.wayfinder {
    padding: 40px 0;
  }
  section.wayfinder .col-3 {
    padding: 30px 0;
  }
}

section.ajankohtaista-nostot {
  padding: 10vh 0;
}
section.ajankohtaista-nostot h2 {
  text-align: center;
  margin-bottom: 60px;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 32px;
  font-size: 2rem;
}
section.ajankohtaista-nostot .col-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 40px 0;
}
section.ajankohtaista-nostot .col-3 {
  border-right: 7px solid #cda969;
  border-left: none;
  padding: 0 50px;
}
section.ajankohtaista-nostot .col-3:first-child {
  padding-left: 0;
}
section.ajankohtaista-nostot .col-3:last-child {
  border-right: none;
  padding-right: 0;
}
section.ajankohtaista-nostot .col-3 .uutinen-kuva {
  margin-bottom: 20px;
}
section.ajankohtaista-nostot .col-3 .uutinen-kuva img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto .uutinen-pvm {
  font-size: 13px;
  font-size: 0.8125rem;
  color: #b7b7b7;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto h3 {
  font-size: 18px;
  font-size: 1.125rem;
  font-family: "MontBlancSemiBold", sans-serif;
  margin-bottom: 15px;
  line-height: 1.3;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto h3 a {
  color: #333;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto h3 a:hover {
  color: #cda969;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto h3 a:after {
  display: none;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto p {
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto .lue-lisaa {
  font-size: 13px;
  font-size: 0.8125rem;
  font-family: "MontBlancSemiBold", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto .lue-lisaa:after {
  display: none;
}
section.ajankohtaista-nostot .col-3 .uutinen-sisalto .lue-lisaa:hover {
  color: #cda969;
}
section.ajankohtaista-nostot .kaikki-linkki {
  text-align: center;
  margin-top: 60px;
}
section.ajankohtaista-nostot .kaikki-linkki a {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 14px;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
  border: none;
  padding: 0;
  border-radius: 0;
}
section.ajankohtaista-nostot .kaikki-linkki a:after {
  display: none;
}
section.ajankohtaista-nostot .kaikki-linkki a:hover {
  color: #cda969;
}
@media only screen and (max-width: 900px) {
  section.ajankohtaista-nostot .col-wrap {
    flex-direction: column;
  }
  section.ajankohtaista-nostot .col-3 {
    border-right: none;
    border-bottom: 2px solid #cda969;
    padding: 40px 0;
  }
  section.ajankohtaista-nostot .col-3:first-child {
    padding-top: 0;
  }
  section.ajankohtaista-nostot .col-3:last-child {
    border-bottom: none;
  }
}
@media only screen and (max-width: 600px) {
  section.ajankohtaista-nostot {
    padding: 40px 0;
  }
}

section.henkilolistaus {
  padding: 10vh 0;
  text-align: center;
}
section.henkilolistaus h2 {
  font-family: "MontBlancSemiBold", sans-serif;
  margin-bottom: 20px;
  text-align: center;
}
section.henkilolistaus .wrap {
  max-width: 90%;
  margin: 0 auto;
}
section.henkilolistaus .henkilot-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 30px;
  margin-top: 20px;
  padding: 20px 0;
}
section.henkilolistaus .henkilot-wrap:after {
  display: none;
}
section.henkilolistaus .henkilo-kortti {
  width: calc(25% - 20px);
  text-align: center;
}
section.henkilolistaus .henkilo-kortti .henkilo-kuva {
  margin-bottom: 15px;
}
section.henkilolistaus .henkilo-kortti .henkilo-kuva img {
  border-radius: 0;
  display: block;
  height: 300px;
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center top;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot {
  margin-top: 25px;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot h3 {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  margin-bottom: 15px;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot h3 a {
  color: #333;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot h3 a:after {
  display: none;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot h3 a:hover {
  color: #cda969;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .titteli {
  font-size: 14px;
  font-size: 0.875rem;
  color: #333;
  margin-bottom: 8px;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .puhelin {
  margin-bottom: 8px;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .puhelin-label {
  font-size: 14px;
  font-size: 0.875rem;
  color: #333;
  margin-bottom: 0;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .puhelin a {
  font-size: 14px;
  font-size: 0.875rem;
  color: #333;
  display: block;
  margin-bottom: 3px;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .puhelin a:after {
  display: none;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .puhelin a:hover {
  color: #cda969;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .email {
  margin-bottom: 20px;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .email a {
  font-size: 14px;
  font-size: 0.875rem;
  color: #333;
  display: block;
  margin-bottom: 0;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .email a:after {
  display: none;
}
section.henkilolistaus .henkilo-kortti .henkilo-tiedot .email a:hover {
  color: #cda969;
}
@media only screen and (max-width: 900px) {
  section.henkilolistaus .henkilo-kortti {
    width: calc(50% - 20px);
  }
}
@media only screen and (max-width: 600px) {
  section.henkilolistaus {
    padding: 40px 0;
  }
  section.henkilolistaus .henkilot-wrap {
    gap: 40px 20px;
  }
  section.henkilolistaus .henkilo-kortti {
    width: calc(50% - 20px);
  }
  section.henkilolistaus .henkilo-kortti .henkilo-kuva img {
    height: 200px;
    width: 100%;
  }
}

section.sisaltoelementti {
  padding: 80px 0;
}
section.sisaltoelementti .sisaltoelementti-wrap {
  display: flex;
  align-items: center;
  gap: 80px;
}
section.sisaltoelementti .sisaltoelementti-kuva {
  flex: 1;
}
section.sisaltoelementti .sisaltoelementti-kuva img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 350px;
  object-fit: cover;
}
section.sisaltoelementti .sisaltoelementti-teksti {
  flex: 1;
}
section.sisaltoelementti .sisaltoelementti-teksti h2 {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 28px;
  font-size: 1.75rem;
  margin-bottom: 25px;
}
section.sisaltoelementti .sisaltoelementti-teksti .sisalto-teksti {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}
section.sisaltoelementti .sisaltoelementti-teksti .sisalto-teksti p {
  margin-bottom: 15px;
}
section.sisaltoelementti .sisaltoelementti-teksti .sisalto-teksti p:last-child {
  margin-bottom: 0;
}
section.sisaltoelementti .sisaltoelementti-teksti .nappi {
  margin-top: 30px;
}
section.sisaltoelementti.oikea .sisaltoelementti-wrap {
  flex-direction: row-reverse;
}
section.sisaltoelementti.bg-darkblue .sisaltoelementti-teksti h2, section.sisaltoelementti.bg-blue .sisaltoelementti-teksti h2 {
  color: #fff;
}
section.sisaltoelementti.bg-darkblue .sisaltoelementti-teksti .sisalto-teksti, section.sisaltoelementti.bg-blue .sisaltoelementti-teksti .sisalto-teksti {
  color: #fff;
}
section.sisaltoelementti.bg-darkblue .sisaltoelementti-teksti .sisalto-teksti p, section.sisaltoelementti.bg-blue .sisaltoelementti-teksti .sisalto-teksti p {
  color: #fff;
}
section.sisaltoelementti.bg-darkblue .sisaltoelementti-teksti .nappi, section.sisaltoelementti.bg-blue .sisaltoelementti-teksti .nappi {
  border-color: #fff;
  color: #fff;
}
section.sisaltoelementti.bg-darkblue .sisaltoelementti-teksti .nappi:hover, section.sisaltoelementti.bg-blue .sisaltoelementti-teksti .nappi:hover {
  background-color: #fff;
  color: #002d4c;
}
section.sisaltoelementti.bg-white .sisaltoelementti-teksti h2,
section.sisaltoelementti.bg-white .sisaltoelementti-teksti p, section.sisaltoelementti.bg-lightgray .sisaltoelementti-teksti h2,
section.sisaltoelementti.bg-lightgray .sisaltoelementti-teksti p {
  color: #333;
}
section.sisaltoelementti.bg-white .sisaltoelementti-teksti .nappi, section.sisaltoelementti.bg-lightgray .sisaltoelementti-teksti .nappi {
  border-color: #002d4c;
  color: #002d4c;
}
section.sisaltoelementti.bg-white .sisaltoelementti-teksti .nappi:hover, section.sisaltoelementti.bg-lightgray .sisaltoelementti-teksti .nappi:hover {
  background-color: #002d4c;
  color: #fff;
}
@media only screen and (max-width: 900px) {
  section.sisaltoelementti .sisaltoelementti-wrap {
    flex-direction: column;
    gap: 40px;
  }
  section.sisaltoelementti.oikea .sisaltoelementti-wrap {
    flex-direction: column;
  }
  section.sisaltoelementti .sisaltoelementti-kuva,
  section.sisaltoelementti .sisaltoelementti-teksti {
    flex: none;
    width: 100%;
  }
}
@media only screen and (max-width: 600px) {
  section.sisaltoelementti {
    padding: 40px 0;
  }
}

.page-picnic section.sisaltoelementti .sisaltoelementti-kuva,
.page-dimex section.sisaltoelementti .sisaltoelementti-kuva,
.page-hammas-hohde section.sisaltoelementti .sisaltoelementti-kuva,
.page-3-kaveria section.sisaltoelementti .sisaltoelementti-kuva,
.page-eezy section.sisaltoelementti .sisaltoelementti-kuva,
.page-purkupiha-group section.sisaltoelementti .sisaltoelementti-kuva,
.page-veke section.sisaltoelementti .sisaltoelementti-kuva,
.page-verkanappulat section.sisaltoelementti .sisaltoelementti-kuva {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-picnic section.sisaltoelementti .sisaltoelementti-kuva img,
.page-dimex section.sisaltoelementti .sisaltoelementti-kuva img,
.page-hammas-hohde section.sisaltoelementti .sisaltoelementti-kuva img,
.page-3-kaveria section.sisaltoelementti .sisaltoelementti-kuva img,
.page-eezy section.sisaltoelementti .sisaltoelementti-kuva img,
.page-purkupiha-group section.sisaltoelementti .sisaltoelementti-kuva img,
.page-veke section.sisaltoelementti .sisaltoelementti-kuva img,
.page-verkanappulat section.sisaltoelementti .sisaltoelementti-kuva img {
  max-height: 100px;
  width: auto;
  max-width: 60%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

section.nosto {
  padding: 80px 0;
}
section.nosto .nosto-wrap {
  display: flex;
  align-items: center;
  gap: 80px;
}
section.nosto .nosto-kuva {
  flex: 0 0 40%;
}
section.nosto .nosto-kuva img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 350px;
  object-fit: cover;
}
section.nosto .nosto-sisalto {
  flex: 1;
}
section.nosto .nosto-sisalto h2 {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 28px;
  font-size: 1.75rem;
  margin-bottom: 25px;
}
section.nosto .nosto-sisalto p {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}
section.nosto .nosto-sisalto .nappi {
  margin-top: 10px;
}
section.nosto.bg-darkblue .nosto-sisalto h2, section.nosto.bg-darkblue .nosto-sisalto p, section.nosto.bg-blue .nosto-sisalto h2, section.nosto.bg-blue .nosto-sisalto p {
  color: #fff;
}
section.nosto.bg-darkblue .nosto-sisalto .nappi, section.nosto.bg-blue .nosto-sisalto .nappi {
  border-color: #fff;
  color: #fff;
}
section.nosto.bg-darkblue .nosto-sisalto .nappi:hover, section.nosto.bg-blue .nosto-sisalto .nappi:hover {
  background-color: #fff;
  color: #002d4c;
}
section.nosto.bg-white .nosto-sisalto h2, section.nosto.bg-white .nosto-sisalto p, section.nosto.bg-lightgray .nosto-sisalto h2, section.nosto.bg-lightgray .nosto-sisalto p {
  color: #333;
}
section.nosto.bg-white .nosto-sisalto .nappi, section.nosto.bg-lightgray .nosto-sisalto .nappi {
  border-color: #002d4c;
  color: #002d4c;
}
section.nosto.bg-white .nosto-sisalto .nappi:hover, section.nosto.bg-lightgray .nosto-sisalto .nappi:hover {
  background-color: #002d4c;
  color: #fff;
}
@media only screen and (max-width: 900px) {
  section.nosto .nosto-wrap {
    flex-direction: column;
    gap: 40px;
  }
  section.nosto .nosto-kuva {
    flex: none;
    width: 100%;
  }
  section.nosto .nosto-kuva img {
    min-height: 250px;
  }
}
@media only screen and (max-width: 600px) {
  section.nosto {
    padding: 40px 0;
  }
  section.nosto .nosto-kuva img {
    min-height: 200px;
  }
}

section.nostolistaus {
  padding: 10vh 0;
}
section.nostolistaus h2 {
  font-family: "MontBlancSemiBold", sans-serif;
  text-align: center;
  margin-bottom: 60px;
  font-size: 32px;
  font-size: 2rem;
}
section.nostolistaus .col-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  row-gap: 60px;
  padding: 40px 0;
}
section.nostolistaus .col-3 {
  border-right: 7px solid #cda969;
  border-left: none;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
section.nostolistaus .col-3:first-child {
  padding-left: 0;
}
section.nostolistaus .col-3:last-child {
  border-right: none;
  padding-right: 0;
}
section.nostolistaus .col-3:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}
section.nostolistaus .col-3:nth-child(3n+1) {
  padding-left: 0;
}
section.nostolistaus .col-3 .nosto-kortti-kuva {
  margin-bottom: 25px;
}
section.nostolistaus .col-3 .nosto-kortti-kuva img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center center;
}
section.nostolistaus .col-3 .nosto-kortti-sisalto {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  text-align: center;
}
section.nostolistaus .col-3 .nosto-kortti-sisalto h3 {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  margin-bottom: 15px;
  line-height: 1.3;
}
section.nostolistaus .col-3 .nosto-kortti-sisalto p {
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}
section.nostolistaus .col-3 .nosto-kortti-sisalto .nappi {
  border: none;
  border-radius: 0;
  padding: 0;
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 13px;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333;
}
section.nostolistaus .col-3 .nosto-kortti-sisalto .nappi:after {
  display: none;
}
section.nostolistaus .col-3 .nosto-kortti-sisalto .nappi:hover {
  color: #cda969;
}
section.nostolistaus.bg-darkblue h2, section.nostolistaus.bg-blue h2 {
  color: #fff;
}
section.nostolistaus.bg-darkblue .col-3, section.nostolistaus.bg-blue .col-3 {
  border-right-color: rgba(255, 255, 255, 0.3);
}
section.nostolistaus.bg-darkblue .col-3 .nosto-kortti-sisalto h3, section.nostolistaus.bg-darkblue .col-3 .nosto-kortti-sisalto p, section.nostolistaus.bg-blue .col-3 .nosto-kortti-sisalto h3, section.nostolistaus.bg-blue .col-3 .nosto-kortti-sisalto p {
  color: #fff;
}
section.nostolistaus.bg-darkblue .col-3 .nosto-kortti-sisalto .nappi, section.nostolistaus.bg-blue .col-3 .nosto-kortti-sisalto .nappi {
  color: #fff;
}
section.nostolistaus.bg-darkblue .col-3 .nosto-kortti-sisalto .nappi:hover, section.nostolistaus.bg-blue .col-3 .nosto-kortti-sisalto .nappi:hover {
  color: #cda969;
}
@media only screen and (max-width: 900px) {
  section.nostolistaus .col-wrap {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }
  section.nostolistaus .col-3 {
    border-right: none;
    border-top: 4px solid #cda969;
    padding: 40px 0;
  }
  section.nostolistaus .col-3:first-child {
    border-top: none;
    padding-top: 0;
    padding-left: 0;
  }
  section.nostolistaus .col-3:last-child {
    padding-bottom: 0;
  }
  section.nostolistaus .col-3:nth-child(3n), section.nostolistaus .col-3:nth-child(3n+1) {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }
}
@media only screen and (max-width: 600px) {
  section.nostolistaus {
    padding: 40px 0;
  }
}

.page-id-7769 section.nostolistaus .col-3 .nosto-kortti-kuva img,
.page-id-7591 section.nostolistaus .col-3 .nosto-kortti-kuva img {
  object-fit: cover;
}

section.nosto-kompakti {
  padding: 40px 0;
}
section.nosto-kompakti .nosto-kompakti-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}
section.nosto-kompakti .nosto-kompakti-kuva {
  flex: 0 0 auto;
}
section.nosto-kompakti .nosto-kompakti-kuva img {
  display: block;
  height: 100px;
  width: 100px;
  object-fit: contain;
}
section.nosto-kompakti .nosto-kompakti-teksti {
  flex: 1;
}
section.nosto-kompakti .nosto-kompakti-teksti h2 {
  font-family: "MontBlancSemiBold", sans-serif;
  font-size: 32px;
  font-size: 2rem;
  margin-bottom: 10px;
}
section.nosto-kompakti .nosto-kompakti-teksti p {
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}
section.nosto-kompakti .nosto-kompakti-painike {
  flex: 0 0 auto;
}
section.nosto-kompakti.bg-darkblue .nosto-kompakti-teksti h2, section.nosto-kompakti.bg-darkblue .nosto-kompakti-teksti p, section.nosto-kompakti.bg-blue .nosto-kompakti-teksti h2, section.nosto-kompakti.bg-blue .nosto-kompakti-teksti p {
  color: #fff;
}
section.nosto-kompakti.bg-darkblue .nappi, section.nosto-kompakti.bg-blue .nappi {
  border-color: #fff;
  color: #fff;
}
section.nosto-kompakti.bg-darkblue .nappi:hover, section.nosto-kompakti.bg-blue .nappi:hover {
  background-color: #fff;
  color: #002d4c;
}
section.nosto-kompakti.bg-white .nosto-kompakti-teksti h2, section.nosto-kompakti.bg-white .nosto-kompakti-teksti p, section.nosto-kompakti.bg-lightgray .nosto-kompakti-teksti h2, section.nosto-kompakti.bg-lightgray .nosto-kompakti-teksti p {
  color: #333;
}
section.nosto-kompakti.bg-white .nappi, section.nosto-kompakti.bg-lightgray .nappi {
  border-color: #002d4c;
  color: #002d4c;
}
section.nosto-kompakti.bg-white .nappi:hover, section.nosto-kompakti.bg-lightgray .nappi:hover {
  background-color: #002d4c;
  color: #fff;
}
@media only screen and (max-width: 900px) {
  section.nosto-kompakti .nosto-kompakti-wrap {
    flex-wrap: wrap;
  }
  section.nosto-kompakti .nosto-kompakti-painike {
    width: 100%;
  }
}
@media only screen and (max-width: 600px) {
  section.nosto-kompakti {
    padding: 30px 0;
  }
  section.nosto-kompakti .nosto-kompakti-kuva img {
    height: 70px;
    width: 70px;
  }
}
/*# sourceMappingURL=style.css.map */
section.nostolistaus {
  .nappi {
    &:hover {
      background-color: transparent;
      color: $dark-gray;
      border-color: transparent;
    }
  }
}
.page-huld section.sisaltoelementti .sisaltoelementti-kuva img,
.page-vesivek section.sisaltoelementti .sisaltoelementti-kuva img,
.page-solteq section.sisaltoelementti .sisaltoelementti-kuva img,
.page-chilit section.sisaltoelementti .sisaltoelementti-kuva img,
.page-ropo-capital section.sisaltoelementti .sisaltoelementti-kuva img,
.page-silta section.sisaltoelementti .sisaltoelementti-kuva img,
.page-kotipizza-group section.sisaltoelementti .sisaltoelementti-kuva img,
.page-pihlajanlinna section.sisaltoelementti .sisaltoelementti-kuva img,
.page-arjessa section.sisaltoelementti .sisaltoelementti-kuva img,
.page-puuilo section.sisaltoelementti .sisaltoelementti-kuva img,
.page-ursviken-group section.sisaltoelementti .sisaltoelementti-kuva img,
.page-terrawise section.sisaltoelementti .sisaltoelementti-kuva img,
.page-secto-automotive section.sisaltoelementti .sisaltoelementti-kuva img,
.page-coptersafety section.sisaltoelementti .sisaltoelementti-kuva img,
.page-citec section.sisaltoelementti .sisaltoelementti-kuva img {
    max-height: 100px;
    width: auto;
    max-width: 60%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}