@charset "UTF-8";
/* Master scss file */
/* utilityjen kääntämistä varten */
/* Branding */
/* Functions */
/*Vanhasta styles.css tiedostosta poimittuja, toistaiseksi relevantteja kohtia 

* Navigaatiot > Siirretty: branding/_navigation.scss
* Saavutettavuus > Siirretty: branding/_accessibility.scss
* Jäljelle jääneitä ei varmaankaan enää tarvita, mutta jätetty vielä varalta


*/
/* Variables */
/*---------------------------------------------
Typografia
----------------------------------------------*/
/* Käytetyt fontit */
/* Fonttikoot niiltä osin kun ei ole kiinteinä tiedostossa branding.scss */
/*---------------------------------------------
Värit
----------------------------------------------*/
/* Brändivärit */
/* Harmaat (Brightnessin mukaan, näihin ei kannata koskea)*/
/* Värien sovellukset */
/*---------------------------------------------
Layout
----------------------------------------------*/
/* Absoluuttisilla mitoilla (oletus) */
/* Suhteellisilla mitoilla */
/* _branding.scss */
html {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 14px;
  /* Tämä on root-fonttikoko */
  background-color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; }

body {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  /* Määrittele perusfontti tähän */ }

@media (max-width: 991.98px) {
  *:lang(se-FI) {
    word-break: break-word; }
  *:lang(se-SE) {
    word-break: break-word; }
  *:lang(se-FI) {
    word-break: break-word; } }

/* Branding: Basic HTML elements */
/* blockquote, lainaus */
blockquote {
  background-color: #ede9e3;
  margin: 2rem 0 3rem 0;
  padding: 2rem 1.5rem;
  position: relative; }

blockquote footer cite {
  color: #000;
  font-size: 0.85rem; }

blockquote footer {
  padding: 0 1.5rem; }

blockquote p {
  padding: 0 1.5rem; }

blockquote:before {
  content: '"';
  font-size: 2rem;
  margin-left: -1.5rem;
  padding-right: 0.3rem;
  font-style: italic;
  font-weight: 700;
  position: absolute;
  top: 1.6rem;
  left: 2.5rem; }

blockquote:after {
  content: '"';
  font-size: 2rem;
  margin-right: 0;
  padding-left: 0.3rem;
  font-style: italic;
  font-weight: 700;
  position: absolute;
  bottom: 2.6rem;
  right: 2.5rem; }

@media screen and (max-width: 450px) {
  blockquote {
    margin-left: -20px;
    width: calc(100% + 40px); } }

/* hr-viiva, vaakaviiva sisällössä */
hr {
  background-color: #ccdbe1;
  border: 0;
  height: 1px;
  margin-bottom: 3rem;
  margin-top: 3rem; }

/* Branding: Sections eli sisällön osiot */
.s-section.-highlighted {
  background-color: #ede9e3; }

.site-main__section {
  margin: 0; }
  .site-main__section > * {
    padding-top: 2rem;
    padding-bottom: 1rem; }

.a-section-header {
  margin-top: 0; }

@media (min-width: 576px) {
  .site-main__section > * {
    padding-top: 3rem;
    padding-bottom: 3rem; } }

/* Branding: Images */
img,
figure {
  max-width: 100%;
  height: auto; }

/* Alignments: Kuvien tasaus WP:n perusluokille */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5rem; }

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5rem; }

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  margin-bottom: 2rem; }

.size-large,
.size-full {
  margin-top: 2rem;
  margin-bottom: 2rem; }

@media (max-width: 767.98px) {
  .size-large {
    clear: both;
    display: block;
    float: none; } }

@media (max-width: 575.98px) {
  .alignleft,
  .alignright,
  .aligncenter {
    clear: both;
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 2rem; } }

/* Kuvalle, joka täyttää koko vanhemman */
.-image-filling-cover, .-proportions-16-9 > img, .-proportions-4-3 > img, .-proportions-3-2 > img, .-proportions-8-5 > img, .-proportions-1-1 > img, .m-card__frame.-full .m-card__header .a-card-header__image, .-image-filling-contain {
  width: 100%;
  height: 100%; }

.-image-filling-cover, .-proportions-16-9 > img, .-proportions-4-3 > img, .-proportions-3-2 > img, .-proportions-8-5 > img, .-proportions-1-1 > img, .m-card__frame.-full .m-card__header .a-card-header__image {
  -o-object-fit: cover;
     object-fit: cover; }

.-image-filling-contain {
  -o-object-fit: contain;
     object-fit: contain; }

/* Placeholder-taustakuva puuttuville kuville kortteihin yms. */
.-placeholder-image {
  background-image: url("../../assets/img/placeholder.svg");
  background-size: cover;
  background-position: 50% 50%; }

/* Kuvat ja elementit määrättyihin mittasuhteisiin esim. 16:9 */
.-proportions-16-9, .-proportions-4-3, .-proportions-3-2, .-proportions-8-5, .-proportions-1-1 {
  width: 100%;
  position: relative; }

.-proportions-16-9 > div, .-proportions-4-3 > div, .-proportions-3-2 > div, .-proportions-8-5 > div, .-proportions-1-1 > div, .-proportions-16-9 > img, .-proportions-4-3 > img, .-proportions-3-2 > img, .-proportions-8-5 > img, .-proportions-1-1 > img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: red; }

.-proportions-16-9 {
  padding-bottom: 56.25%;
  /* 16:9 i.e. 56.25% */ }

.-proportions-4-3 {
  padding-bottom: 75%;
  /* 4:3 */ }

.-proportions-3-2 {
  padding-bottom: 66.66667%;
  /* 3:2 */ }

.-proportions-8-5 {
  padding-bottom: 62.5%;
  /* 8:5 */ }

.-proportions-1-1 {
  padding-bottom: 100%;
  /* 1:1 */ }

/* Proportioned images and elements that grow vertically if needed */
.-proportions-4-3-fluid-height {
  min-height: 75vw; }

@media (min-width: 768px) {
  .-proportions-4-3-fluid-height {
    min-height: 37.5vw; } }

@media (min-width: 1200px) {
  .-proportions-4-3-fluid-height {
    min-height: 427.5px; } }

/* Branding: Breadcrumbs, murupolku */
.breadcrumbs {
  background-color: rgba(0, 75, 103, 0.9);
  color: #fff;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  z-index: 3; }
  .breadcrumbs div > span {
    font-size: 0.85714rem;
    font-weight: 400;
    margin-right: 1rem;
    display: inline-block; }
    .breadcrumbs div > span:after {
      content: "\203A";
      margin-left: 1rem; }
    .breadcrumbs div > span.current-item {
      font-weight: 700;
      margin-right: 0; }
      .breadcrumbs div > span.current-item:after {
        content: none; }
    .breadcrumbs div > span a {
      color: #fff;
      text-decoration: none; }
      .breadcrumbs div > span a:hover, .breadcrumbs div > span a:focus, .breadcrumbs div > span a:active {
        color: #fff;
        text-decoration: underline; }

/* Branding: Header */
/* Kuvakarusellin tyylejä. Tarvitaanko?? */
.article-slick-next-button,
.article-slick-prev-button {
  background-color: #9d9d9d; }

.article-slick-next-button:hover {
  background-color: #8d8d8d; }

/* Karusellin värit */
.slick-dots li button::before {
  color: #fff; }

.slick-dots li.slick-active button:before {
  color: rgba(255, 255, 255, 0.75); }

.carousel-arrow-next,
.carousel-arrow-prev {
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff; }

.slick-next-button:hover .carousel-arrow-next, .slick-prev-button:hover .carousel-arrow-prev {
  background-color: rgba(0, 0, 0, 0.6); }

/* Branding: Lomakkeet */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
.form-control,
.bootstrap-select .dropdown-toggle {
  color: #666;
  border: 1px solid #ccdbe1; }

/* Input kenttien focus tilan säädöt */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
.form-control:focus,
.dropdown-toggle:focus,
.bootstrap-select.open .dropdown-toggle {
  color: #111;
  border-color: #004b67 !important; }

.bootstrap-select .dropdown-menu.open {
  border: 1px solid #000; }

form .dropdown-menu > li > a:hover,
form .dropdown-menu > li > a:focus,
.dropdown.open .dropdown-menu li a:hover,
.dropdown.open .dropdown-menu li a:focus,
.dropup.open .dropdown-menu li a:hover,
.dropup.open .dropdown-menu li a:focus {
  background-color: #004b67;
  color: #fff; }

.dropdown .btn-default,
.dropup .btn-default {
  background-color: #fff;
  color: #666;
  border: 1px solid #ccdbe1; }

.dropdown .btn-default:hover,
.dropup .btn-default:hover {
  background-color: #fff; }

/*--------------------------------------------------------------
## Lomakkeita ja inputteja
--------------------------------------------------------------*/
/* Input kenttien perus asetuksia */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  border-radius: 0px;
  padding: 0.60714rem;
  font-size: 1.21429rem; }

li label {
  padding-left: 0; }

/* Input kenttien focus tilan säädöt */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
.form-control:focus,
.dropdown-toggle:focus,
.bootstrap-select.open .dropdown-toggle {
  outline: 0;
  -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075), 0 0 0px rgba(0, 75, 103, 0.6);
  box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075), 0 0 0px rgba(0, 75, 103, 0.6); }

/* lomakkeen input kentän korkeus ja reunan väri */
.form-control {
  border-radius: 0px;
  height: 3rem; }

/* Lomakkeen otsikon määritykset */
.form-title {
  font-size: 1.5rem !important;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  margin-top: 1.21429rem; }

/* Lomakkeen osion marginit (osio sisältää inputin ja labelin) */
.form-group {
  margin-bottom: 2.4rem !important; }

/* Osion labelin määritykset */
form .main-label {
  font-size: 1.21429rem;
  line-height: 1.6;
  margin-bottom: 0.85rem !important; }

form .form-checkbox .main-label,
form .form-radio .main-label,
form .form-upload .main-label {
  margin-bottom: 1.21429rem !important; }

form .radio label, form .checkbox label {
  font-size: 1.21429rem;
  line-height: 1.6;
  margin-bottom: 1.21429rem; }

/* Upload */
.field input[type=file] {
  background-color: inherit;
  border: 0;
  line-height: 0; }

.form-upload input {
  height: auto;
  -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 0px 0px;
  padding-left: 0; }

/* textarea */
textarea.form-control {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 0; }

/* Dropdown */
.bootstrap-select .dropdown-toggle {
  background-color: #fff;
  border-width: 0px;
  padding-left: 1.5rem;
  padding-top: 0.65rem;
  height: 3rem; }

form .dropdown-menu ul li,
.dropdown.open .dropdown-menu li,
.dropup.open .dropdown-menu li {
  margin-bottom: 0; }

form .dropdown-menu ul li a,
.dropdown.open .dropdown-menu li a,
.dropup.open .dropdown-menu li a {
  margin-bottom: 0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-decoration: none; }

.bootstrap-select.btn-group .dropdown-toggle .caret {
  margin-top: -5px; }

.bootstrap-select .dropdown-menu.open {
  padding: 0;
  top: 96%;
  border-radius: 0; }

form .dropdown-menu > li > a:hover,
form .dropdown-menu > li > a:focus,
.dropdown.open .dropdown-menu li a:hover,
.dropdown.open .dropdown-menu li a:focus,
.dropup.open .dropdown-menu li a:hover,
.dropup.open .dropdown-menu li a:focus {
  text-decoration: none;
  color: #fff;
  outline: none; }

input[type="button" i],
input[type="file" i]::-webkit-file-upload-button {
  background-color: #e2e2e2;
  border: 1px solid #ccdbe1; }

/* Gravity Forms alustavat tyylit*/
.gform_wrapper .gform_page_footer .button.gform_previous_button {
  background-color: #e5e5e5 !important;
  color: #000 !important; }

.gform_heading,
.gf_progressbar_wrapper,
.gform_body .gfield {
  margin-bottom: 3rem !important; }

.gform_wrapper .gform_page_footer {
  border-top: 1px solid #ccdbe1 !important; }

.gform_wrapper .gsection {
  border-bottom: 1px solid #ccdbe1 !important; }

/* Childpage moduulin overlayn värit */
.child-page-layer {
  background-color: rgba(0, 0, 0, 0.4); }

/* Facebook moduulin värit */
.prev-post:hover,
.next-post:hover {
  color: #00384e; }

.fb-link:hover {
  background-color: #00384e; }

.fb-link a {
  color: #004b67; }

.fb-link:hover a {
  color: #fff; }

.post-message {
  border-left: 2px solid #004b67; }

/* Branding: Basic typography */
/* Otsikot */
/* Otsikoissa määritellään mobiili ensin ja mahdolliset suuremmat koot erikseen */
h1 {
  font-size: 2.2rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: "Noto Serif", serif;
  font-weight: 700;
  color: #004b67;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto; }

@media (min-width: 576px) {
  h1 {
    font-size: 3rem;
    -webkit-hyphens: initial;
        -ms-hyphens: initial;
            hyphens: initial; } }

h2 {
  font-size: 2.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: "Noto Serif", serif;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto; }

@media (min-width: 576px) {
  h2 {
    font-size: 2.5rem;
    -webkit-hyphens: initial;
        -ms-hyphens: initial;
            hyphens: initial; } }

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-family: "Noto Serif", serif; }

h4 {
  font-size: 1.28571429;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-family: "Noto Serif", serif; }

h5 {
  font-size: 1.21429rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.5rem; }

h6 {
  font-size: 1.21429rem;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 2rem;
  margin-bottom: 0.5rem; }

/* Muut perus sisältötekstit: ingressi (lead), leipis, listat */
.lead,
.o-primary__content > p:first-child,
.-bigger-text p,
.-bigger-text ul,
.-bigger-text ol,
.-bigger-text li {
  font-family: "Noto Serif", serif;
  font-size: 1.45714286rem;
  margin-bottom: 1.4rem;
  line-height: 1.6; }

p, ul, ol, li,
dl, dt, dd,
tr, th, td {
  font-size: 1.21429rem;
  line-height: 1.6; }

p, li, dt, dd {
  margin-bottom: 1rem; }

/* Linkit */
a {
  text-decoration: none;
  color: #004b67; }

a:hover,
a:focus,
a:active {
  text-decoration: underline;
  color: #004b67; }

.panel-title a {
  text-decoration: none; }

.panel-title a:hover,
.footer-navi li a:hover {
  text-decoration: underline; }

/*  Listat */
ul,
ol,
dl {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-left: 15px; }

dl {
  padding-left: 0; }

ul ul {
  margin-top: 1rem; }

/* Branding: Buttons */
.gform_wrapper .gform_page_footer .button.gform_button,
.gform_wrapper .gform_page_footer .button.gform_next_button,
.gform_wrapper .gform_page_footer .button.gform_previous_button, .btn:visited,
.btn,
.btn-default,
.btn-primary,
.search-submit,
.login-submit input,
.form-submit input,
.readmore, .nav-links > * > a {
  background-color: #004b67;
  color: #fff; }

.btn:hover,
.btn-default:hover,
.btn-primary:hover,
.search-submit:hover,
.login-submit input:hover,
.form-submit input:hover,
.readmore:hover,
.btn:focus,
.btn-default:focus,
.btn-primary:focus,
.search-submit:focus,
.login-submit input:focus,
.form-submit input:focus,
.readmore:focus {
  background-color: #00384e;
  color: #fff;
  -webkit-box-shadow: none;
          box-shadow: none; }

.btn.-negative:visited,
.btn.-negative,
.btn-default.-negative,
.btn-primary.-negative,
.search-submit.-negative,
.login-submit input.-negative,
.form-submit input.-negative,
.readmore.-negative {
  color: #004b67;
  background-color: #fff; }

.btn.-negative:hover,
.btn-default.-negative:hover,
.btn-primary.-negative:hover,
.search-submit.-negative:hover,
.login-submit input.-negative:hover,
.form-submit input.-negative:hover,
.readmore.-negative:hover,
.btn.-negative:focus,
.btn-default.-negative:focus,
.btn-primary.-negative:focus,
.search-submit.-negative:focus,
.login-submit input.-negative:focus,
.form-submit input.-negative:focus,
.readmore.-negative:focus {
  color: #00384e;
  background-color: #e6edf0;
  -webkit-box-shadow: none;
          box-shadow: none; }

.gform_wrapper .gform_page_footer .button.gform_button,
.gform_wrapper .gform_page_footer .button.gform_next_button,
.gform_wrapper .gform_page_footer .button.gform_previous_button, .btn:visited,
.btn,
.btn-default,
.btn-primary,
.search-submit,
.login-submit input,
.form-submit input,
.readmore, .nav-links > * > a,
.btn {
  border-radius: 0;
  text-decoration: none;
  border-width: 0px;
  margin-top: 2rem;
  margin-bottom: 3rem;
  font-size: 1.21429rem;
  padding: 0.60714rem 1.21429rem;
  text-decoration: none;
  /* Erikokoisten nappien säädöt */ }
  .gform_wrapper .gform_page_footer .button.gform_button:hover,
  .gform_wrapper .gform_page_footer .button.gform_next_button:hover,
  .gform_wrapper .gform_page_footer .button.gform_previous_button:hover, .btn:hover,
  .btn-default:hover,
  .btn-primary:hover,
  .search-submit:hover,
  .login-submit input:hover,
  .form-submit input:hover,
  .readmore:hover, .nav-links > * > a:hover,
  .btn:hover {
    text-decoration: none; }
  .gform_wrapper .gform_page_footer .-lg.button.gform_button,
  .gform_wrapper .gform_page_footer .-lg.button.gform_next_button,
  .gform_wrapper .gform_page_footer .-lg.button.gform_previous_button,
  .-lg.btn,
  .-lg.btn-default,
  .-lg.btn-primary,
  .-lg.search-submit,
  .login-submit input.-lg,
  .form-submit input.-lg,
  .-lg.readmore, .nav-links > * > a.-lg,
  .btn.-lg {
    font-size: 2.42857rem;
    line-height: 1.2;
    padding: 2.42857rem;
    /*margin-right: 2rem;*/ }
  .gform_wrapper .gform_page_footer .-md.button.gform_button,
  .gform_wrapper .gform_page_footer .-md.button.gform_next_button,
  .gform_wrapper .gform_page_footer .-md.button.gform_previous_button,
  .-md.btn,
  .-md.btn-default,
  .-md.btn-primary,
  .-md.search-submit,
  .login-submit input.-md,
  .form-submit input.-md,
  .-md.readmore, .nav-links > * > a.-md,
  .btn.-md {
    font-size: 1.82143rem;
    line-height: 1.2;
    padding: 1.82143rem;
    /*margin-right: 1.5rem;*/ }
  .gform_wrapper .gform_page_footer .-sm.button.gform_button,
  .gform_wrapper .gform_page_footer .-sm.button.gform_next_button,
  .gform_wrapper .gform_page_footer .-sm.button.gform_previous_button,
  .-sm.btn,
  .-sm.btn-default,
  .-sm.btn-primary,
  .-sm.search-submit,
  .login-submit input.-sm,
  .form-submit input.-sm,
  .-sm.readmore, .nav-links > * > a.-sm,
  .btn.-sm {
    font-size: 1.21429rem;
    line-height: 1.2;
    padding: 1.21429rem;
    /*margin-right: 1rem;*/ }
  .gform_wrapper .gform_page_footer .-xs.button.gform_button,
  .gform_wrapper .gform_page_footer .-xs.button.gform_next_button,
  .gform_wrapper .gform_page_footer .-xs.button.gform_previous_button,
  .-xs.btn,
  .-xs.btn-default,
  .-xs.btn-primary,
  .-xs.search-submit,
  .login-submit input.-xs,
  .form-submit input.-xs,
  .-xs.readmore, .nav-links > * > a.-xs,
  .btn.-xs {
    font-size: 1.21429rem;
    line-height: 1.2;
    padding: 0.60714rem 1.21429rem;
    /*margin-right: 1rem;*/ }
  .gform_wrapper .gform_page_footer .-default.button.gform_button,
  .gform_wrapper .gform_page_footer .-default.button.gform_next_button,
  .gform_wrapper .gform_page_footer .-default.button.gform_previous_button,
  .-default.btn,
  .-default.btn-default,
  .-default.btn-primary,
  .-default.search-submit,
  .login-submit input.-default,
  .form-submit input.-default,
  .-default.readmore, .nav-links > * > a.-default, .gform_wrapper .gform_page_footer .-primary.button.gform_button,
  .gform_wrapper .gform_page_footer .-primary.button.gform_next_button,
  .gform_wrapper .gform_page_footer .-primary.button.gform_previous_button,
  .-primary.btn,
  .-primary.btn-default,
  .-primary.btn-primary,
  .-primary.search-submit,
  .login-submit input.-primary,
  .form-submit input.-primary,
  .-primary.readmore, .nav-links > * > a.-primary,
  .btn.-default,
  .btn.-primary {
    border-width: 0px;
    padding: 0.5rem 1rem; }
  .gform_wrapper .gform_page_footer .-grid.button.gform_button,
  .gform_wrapper .gform_page_footer .-grid.button.gform_next_button,
  .gform_wrapper .gform_page_footer .-grid.button.gform_previous_button,
  .-grid.btn,
  .-grid.btn-default,
  .-grid.btn-primary,
  .-grid.search-submit,
  .login-submit input.-grid,
  .form-submit input.-grid,
  .-grid.readmore, .nav-links > * > a.-grid,
  .btn.-grid {
    width: 100%; }

/* Erikokoisten nappien säädöt */
/* Bootstrapin perus nappi (Saattaa olla lomakkeissa, yms käytössä) */
/* Sidebar linkit */
.sidebar a {
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4; }

.sidebar li {
  margin-bottom: 1.5rem; }

.sidebar a {
  color: #000; }

.sidebar a:hover {
  color: #004b67; }

.sidebar .current_page_item > a {
  color: #004b67; }

/* Accordion moduuli */
.panel-default > .panel-heading {
  color: #000;
  background-color: #f2f2f2;
  border-color: #ccdbe1; }

.panel-title a {
  text-decoration: none;
  color: #000; }

.panel-title a:hover {
  text-decoration: underline;
  color: #000; }

.panel {
  background-color: #fff;
  border: 1px solid #ccdbe1; }

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent; }

.panel-body {
  padding: 15px; }

.panel-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0rem;
  margin-top: 0rem; }

.panel-title a {
  text-decoration: none;
  color: #000; }

.panel-title a:hover {
  text-decoration: underline;
  color: #000; }

.panel {
  margin-bottom: 0.2rem;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/* Linkki etusivulle eli sivuston logo */
.site-branding {
  z-index: 9; }

/* Päänavigaation ja pystynavigaation linkit */
.o-vertical-navigation a, .m-accordian-content-menu__toggle {
  color: #000;
  font-family: "Noto Serif", serif;
  text-decoration: none;
  font-size: 1.21429rem;
  line-height: 1.4;
  padding: 15px 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #004b67; }

.o-vertical-navigation .current_page_item > a,
.o-vertical-navigation .current-menu-item > a,
.o-vertical-navigation .current_page_ancestor > a,
.o-vertical-navigation .current-menu-ancestor > a {
  color: #004b67; }

.o-vertical-navigation a:hover,
.o-vertical-navigation a:focus {
  color: #004b67;
  text-decoration: underline; }

.o-vertical-navigation .sub-menu a {
  color: #000;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  text-transform: none;
  font-weight: 400; }

.o-vertical-navigation .sub-menu .current_page_item > a,
.o-vertical-navigation .sub-menu .current-menu-item > a {
  color: #004b67; }

.o-vertical-navigation .sub-menu .current_page_ancestor > a,
.o-vertical-navigation .sub-menu .current-menu-ancestor > a {
  color: #000; }

/* Pystynavin branding (sidebar + päänavin pystyversion) */
.o-vertical-navigation > div ul li {
  border-bottom: 1px solid #e6edf0;
  background-color: white; }
  .o-vertical-navigation > div ul li:first-child {
    border-top: 1px solid #e6edf0; }
  .o-vertical-navigation > div ul li a {
    font-size: 1.21429rem;
    text-transform: none; }
    .o-vertical-navigation > div ul li a:hover, .o-vertical-navigation > div ul li a:active, .o-vertical-navigation > div ul li a:focus {
      background: #d9e4e8;
      text-decoration: none; }

.o-vertical-navigation > div ul .sub-menu li {
  background-color: #f2f2f2; }
  .o-vertical-navigation > div ul .sub-menu li a {
    font-size: 1.14285714rem; }
  .o-vertical-navigation > div ul .sub-menu li.current-menu-item {
    position: relative; }
    .o-vertical-navigation > div ul .sub-menu li.current-menu-item:before {
      content: "\f0da";
      font-family: "Font Awesome 5 Free";
      font-weight: 700;
      position: absolute;
      left: 0;
      top: 1.1rem;
      font-size: 1rem; }

/* Pystynavin layout */
.o-vertical-navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  width: 100%;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end; }
  .o-vertical-navigation > div {
    width: 100%; }
    .o-vertical-navigation > div ul {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column; }
      .o-vertical-navigation > div ul li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; }
  .o-vertical-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0; }
    .o-vertical-navigation ul li {
      position: relative;
      margin-bottom: 0; }
  .o-vertical-navigation .sub-menu {
    position: relative;
    left: 0px;
    top: 0; }
    .o-vertical-navigation .sub-menu ul li a {
      padding-left: 30px; }

/* Päänavigaation asetuksia */
.o-main-navigation-wrapper {
  position: relative;
  margin-right: -15px;
  margin-left: -15px;
  width: calc(100% + 30px); }

@media (min-width: 992px) {
  .o-main-navigation-wrapper {
    margin-right: initial;
    margin-left: initial;
    width: 100%; } }

.o-main-navigation {
  -webkit-transition: all .5s ease;
  transition: all .5s ease; }

.o-main-navigation > div .o-vertical-navigation__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.o-main-navigation ul {
  display: none; }

.o-main-navigation .search-toggle, .o-main-navigation .menu-toggle {
  margin-right: 0;
  margin-left: 0;
  width: 60px;
  height: 50px;
  padding: 10px;
  border-radius: 0 !important;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  background-color: #fff; }

/* Mobiilihaun ja navigaation nappioen container */
.m-buttons__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row;
          flex-flow: row;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end; }

/* Mobiilihaun avausnappi */
.o-main-navigation .search-toggle {
  position: relative; }

.o-main-navigation.open .menu-toggle {
  background-color: #f3f0ec; }

/* Mobiilinavin avausnappi */
/* Nappi */
.o-main-navigation .menu-toggle {
  position: relative;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: -webkit-focus-ring-color auto 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }
  .o-main-navigation .menu-toggle .icon-bar {
    background-color: #004b67;
    width: 25px;
    height: 2px;
    border-radius: 1px;
    display: block; }
  .o-main-navigation .menu-toggle .icon-bar + .icon-bar {
    margin-top: 6px; }

/* Transitionit */
.icon-bar-1,
.icon-bar-2,
.icon-bar-3 {
  -webkit-transition: all .5s ease;
  transition: all .5s ease; }

/* Hampurilaismenun viivat menun ollessa auki */
.o-main-navigation.open .menu-toggle .icon-bar-1 {
  -webkit-transform: translate(0px, 7px) rotate(45deg);
          transform: translate(0px, 7px) rotate(45deg); }

.o-main-navigation.open .menu-toggle .icon-bar-2 {
  opacity: 0; }

.o-main-navigation.open .menu-toggle .icon-bar-3 {
  -webkit-transform: translate(0px, -9px) rotate(-45deg);
          transform: translate(0px, -9px) rotate(-45deg); }

/* Subnavin avausnapit */
.subnav-button {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  background-color: transparent;
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  margin-right: 0;
  margin-left: 0;
  width: 60px;
  height: 50px;
  padding: 10px; }

/* Ikonit */
.o-main-navigation .menu-item-has-children > .subnav-button > .fa:before,
.o-main-navigation .menu-item-has-children > ul > .subnav-button > .fa:before, .m-accordian-content-menu__toggle .subnav-button > .fa:before {
  content: "\f067";
  color: #004b67; }

.o-main-navigation .menu-item-has-children.toggled > .subnav-button > .fa:before,
.o-main-navigation .menu-item-has-children > ul.toggled > .subnav-button > .fa:before, .m-accordian-content-menu__toggle.toggled .subnav-button > .fa:before {
  content: "\f068";
  color: #004b67; }

/* Mainnavin desktop-naville spesifit määrittelyt: min-width 768px tai suurempi näyttö kuin "small" */
@media (min-width: 992px) {
  .o-main-navigation .menu-toggle,
  .o-main-navigation .subnav-button {
    display: none; }
  .o-main-navigation ul {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0; }
    .o-main-navigation ul li:last-child > ul {
      left: auto !important;
      right: 0; }
    .o-main-navigation ul li:hover > ul,
    .o-main-navigation ul li:focus > ul {
      left: 0px;
      visibility: visible;
      opacity: 1;
      filter: alpha(opacity=100); }
    .o-main-navigation ul .menu-item-has-children > a:after {
      content: '\f107';
      font-size: 1.3rem;
      font-weight: 800;
      margin-left: 0.35em;
      margin-top: -0.1em;
      font-family: "Font Awesome 5 Free";
      display: inline-block; }
    .o-main-navigation ul .sub-menu > .menu-item-has-children > a:after {
      content: '\f105';
      margin-left: 0.5em; }
  .o-main-navigation > div ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    flex-direction: row;
    -ms-flex-line-pack: start;
        align-content: flex-start; }
  .o-main-navigation .sub-menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: absolute;
    top: 100%;
    visibility: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: 300ms ease;
    transition: 300ms ease; }
    .o-main-navigation .sub-menu .sub-menu {
      left: 100%;
      top: 0; }
  .o-main-navigation ul .sub-menu a,
  .o-main-navigation ul .sub-menu li ul li a {
    padding-left: 15px;
    padding-right: 15px; } }

/* Megadropdown desktopiin */
@media (min-width: 992px) {
  .o-main-navigation-wrapper {
    margin-right: -15px;
    margin-left: -15px;
    width: calc(100% + 30px); }
  .o-main-navigation {
    -webkit-transition: all 300ms cubic-bezier(0, 1.17, 0.25, 1);
    transition: all 300ms cubic-bezier(0, 1.17, 0.25, 1);
    width: 100%; }
    .o-main-navigation a {
      padding-top: 0;
      padding-bottom: 0;
      background: transparent; }
      .o-main-navigation a:hover, .o-main-navigation a:active, .o-main-navigation a:focus {
        text-decoration: underline; }
    .o-main-navigation ul .menu-item-has-children > a:after {
      content: "";
      display: none; }
    .o-main-navigation > div ul {
      margin-bottom: 15px;
      margin-top: 15px; }
      .o-main-navigation > div ul .sub-menu li a {
        font-size: 1rem; }
      .o-main-navigation > div ul li {
        background: transparent;
        max-width: 16.666667vw;
        border: none;
        border-right: 1px solid #ede9e3; }
        .o-main-navigation > div ul li:last-child {
          border-right: none; }
        .o-main-navigation > div ul li li {
          background: transparent; }
        .o-main-navigation > div ul li li a {
          padding-top: 0.7em;
          padding-bottom: 0.7rem; }
      .o-main-navigation > div ul li ul li {
        border-right: none; }
    .o-main-navigation ul .sub-menu > .menu-item-has-children > a:after {
      content: ""; }
    .o-main-navigation ul .sub-menu > .menu-item-has-children > ul {
      margin-top: 0;
      margin-bottom: 0.5em;
      padding-left: 1em; }
  .o-main-navigation.o-vertical-navigation .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    visibility: initial;
    opacity: 1;
    -webkit-transition: all 300ms cubic-bezier(0, 1.17, 0.25, 1);
    transition: all 300ms cubic-bezier(0, 1.17, 0.25, 1);
    display: none !important;
    -webkit-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
    overflow-wrap: break-word; }
  .o-main-navigation.o-vertical-navigation:hover .sub-menu {
    display: initial !important; }
  .o-main-navigation.o-vertical-navigation:focus-within .sub-menu {
    display: initial !important; }
  .o-main-navigation.o-vertical-navigation:hover,
  .o-main-navigation.o-vertical-navigation:focus {
    padding-bottom: 2rem; }
  .o-main-navigation.o-vertical-navigation > div ul li {
    width: 100%; }
  > div ul .sub-menu li {
    background-color: white; }
  .o-main-navigation > div ul .sub-menu li,
  .o-main-navigation > div ul li:first-child,
  .o-main-navigation > div ul li a:hover,
  .o-main-navigation > div ul li a:active,
  .o-main-navigation > div ul li a:focus,
  .o-main-navigation > div ul li a {
    background: white;
    border-bottom: none;
    border-top: none; }
  .o-main-navigation > div ul .sub-menu li.current-menu-item::before {
    content: ""; }
  .o-main-navigation > div ul li a:hover, .o-main-navigation > div ul li a:active, .o-main-navigation > div ul li a:focus {
    text-decoration: underline; }
  .o-main-navigation div > ul > li > a {
    white-space: nowrap; } }

/* Secondary navigation */
.m-secondary-navigation {
  width: 100%; }
  .m-secondary-navigation .menu {
    list-style: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    line-height: 1.6rem; }
    .m-secondary-navigation .menu .menu-item {
      margin-left: 3rem;
      margin-bottom: 0;
      padding: 0; }
      .m-secondary-navigation .menu .menu-item:first-child {
        margin-left: 0; }
      .m-secondary-navigation .menu .menu-item a {
        font-size: 1rem;
        font-weight: 400;
        color: #004b67;
        text-transform: none;
        -webkit-text-emphasis: none;
                text-emphasis: none; }
      .m-secondary-navigation .menu .menu-item.current-language a {
        color: rgba(255, 255, 255, 0.5);
        pointer-events: none; }

@media (max-width: 991.98px) {
  .m-secondary-navigation .menu .menu-item {
    margin-left: 2rem; } }

@media (max-width: 991.98px) {
  .o-info-header__nav {
    padding-top: 1rem;
    padding-bottom: 0.5rem; }
  .m-secondary-navigation {
    background-color: #004b67;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(204, 219, 225, 0.5);
    padding-left: 15px;
    padding-right: 15px; }
    .m-secondary-navigation .menu {
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -webkit-box-flex: 1;
          -ms-flex-positive: 1;
              flex-grow: 1;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap; }
      .m-secondary-navigation .menu .menu-item {
        margin-left: 0;
        border: none; }
        .m-secondary-navigation .menu .menu-item a {
          padding: 0.5rem 0.3rem;
          color: #fff;
          background-color: #004b67; }
          .m-secondary-navigation .menu .menu-item a:hover, .m-secondary-navigation .menu .menu-item a:active, .m-secondary-navigation .menu .menu-item a:focus {
            text-decoration: underline;
            color: rgba(255, 255, 255, 0.5); }
          .m-secondary-navigation .menu .menu-item a:after {
            content: "|";
            margin-left: 0.6rem;
            color: rgba(255, 255, 255, 0.5); }
        .m-secondary-navigation .menu .menu-item:first-child a {
          padding-left: 0; }
        .m-secondary-navigation .menu .menu-item:last-child a {
          padding-right: 0; }
          .m-secondary-navigation .menu .menu-item:last-child a:after {
            content: none;
            margin-left: 0; } }

/* Tertiary navigation (3. valikko, kielivalikko) */
.m-tertiary-navigation {
  width: 100%; }
  .m-tertiary-navigation .menu {
    list-style: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end; }
    .m-tertiary-navigation .menu .menu-item {
      margin-left: 3rem;
      margin-bottom: 0;
      padding: 0; }
      .m-tertiary-navigation .menu .menu-item:first-child {
        margin-left: 0; }
      .m-tertiary-navigation .menu .menu-item a {
        font-size: 0.85714rem;
        font-weight: 400;
        color: #fff;
        text-transform: uppercase;
        -webkit-text-emphasis: none;
                text-emphasis: none; }
      .m-tertiary-navigation .menu .menu-item.current-lang a {
        color: rgba(255, 255, 255, 0.5);
        pointer-events: none; }

@media (max-width: 991.98px) {
  .o-info-header__nav {
    padding-top: 1rem;
    padding-bottom: 0.5rem; }
  .o-tertiary-navigation-container {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0; }
  .m-tertiary-navigation {
    background-color: #004b67;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px; }
    .m-tertiary-navigation .menu {
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -webkit-box-flex: 1;
          -ms-flex-positive: 1;
              flex-grow: 1;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap; }
      .m-tertiary-navigation .menu .menu-item {
        margin-left: 0;
        background-color: transparent;
        border: none; }
        .m-tertiary-navigation .menu .menu-item a {
          color: #fff;
          padding: 0.5rem 1.3rem; }
          .m-tertiary-navigation .menu .menu-item a:hover, .m-tertiary-navigation .menu .menu-item a:active, .m-tertiary-navigation .menu .menu-item a:focus {
            text-decoration: underline;
            color: rgba(255, 255, 255, 0.5);
            background: none; }
  .home .m-tertiary-navigation {
    display: none; } }

/* Post navigation: artikkelilistausten yms. "Seuraava" ja "Edellinen" linkit */
.comment-navigation,
.posts-navigation,
.post-navigation {
  margin-top: 6rem;
  margin-bottom: 3rem;
  overflow: hidden; }
  .comment-navigation .nav-links,
  .posts-navigation .nav-links,
  .post-navigation .nav-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap; }
    .comment-navigation .nav-links > * > .btn,
    .posts-navigation .nav-links > * > .btn,
    .post-navigation .nav-links > * > .btn {
      margin-top: 0;
      margin-bottom: 2rem; }

/* Footer menu. */
#footer-menu {
  list-style: none;
  display: inline-block;
  margin: 0;
  padding-left: 0; }

/* Branding: Footer */
.o-site-footer {
  background-color: #004b67;
  padding-top: 3rem;
  padding-bottom: 3rem; }

.m-desing-by__linkki {
  fill: white; }

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden; }

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */ }

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0; }

/*--------------------------------------------------------------
## Tiedotteet-sivu
--------------------------------------------------------------*/
.o-tiedote___container {
  border-bottom: 1px solid #ccdbe1;
  padding-top: 40px;
  padding-bottom: 20px; }
  .o-tiedote___container:first-child {
    padding-top: 0; }

.m-tiedote__postinfo .m-post-info {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  list-style: none;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem; }
  .m-tiedote__postinfo .m-post-info li {
    font-family: "Noto Serif", serif;
    font-size: 1.21429rem;
    font-weight: 700;
    padding-right: 0.8rem;
    margin-bottom: 0.3rem; }
    .m-tiedote__postinfo .m-post-info li:after {
      content: "|";
      padding-left: 0.8rem; }
    .m-tiedote__postinfo .m-post-info li:last-child:after {
      content: ""; }

.a-tiedote-image {
  display: block; }
  .a-tiedote-image .size-large {
    margin-top: 0;
    margin-bottom: 0; }

@media (min-width: 992px) {
  .a-tiedote__title {
    margin-top: 0; }
  .a-tiedote-image {
    display: block; }
    .a-tiedote-image .size-large {
      margin-bottom: 1.5rem; } }

.m-tiedote__content > * > img {
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
  width: 33%;
  min-width: 170px;
  height: auto;
  -webkit-transform: translateY(0.5em);
          transform: translateY(0.5em); }

.a-tiedote__text {
  word-wrap: break-word; }

/* 
Artikkeleiden ym. listausten sivutuksen navigaation napit
Käytössä the_post_navigation(); funktion yhteydessä
.btn-luokka eli Bootstrapin perusnapin luokka tulee filtteristä posts_link_attributes();
*/
.nav-next > a:after, .nav-next > a:hover:after, .nav-next > a:focus:after, .nav-next > a:active:after {
  content: "\00BB";
  text-decoration: none;
  display: inline-block;
  margin-left: 0.5em; }

.nav-previous > a:before, .nav-previous > a:hover:before, .nav-previous > a:focus:before, .nav-previous > a:active:before {
  content: "\00AB";
  text-decoration: none;
  display: inline-block;
  margin-right: 0.5em; }

/* Branding: Search */
.o-site-search-form__container {
  display: none; }

.o-site-search__form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }

.o-site-search-form__container.-mobile {
  background: #ede9e3;
  padding: 4px;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
          box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); }
  .o-site-search-form__container.-mobile .search-field {
    width: 100%;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1; }

.btn.m-site-search__button {
  margin: 0;
  border: 1px solid transparent;
  cursor: pointer; }
  .btn.m-site-search__button .a-site-search__form-icon,
  .btn.m-site-search__button .a-site-search__icon {
    line-height: inherit;
    margin-left: 0.5em; }
  .btn.m-site-search__button.-mobile {
    border: none;
    width: 58px; }
    .btn.m-site-search__button.-mobile .a-site-search__form-icon,
    .btn.m-site-search__button.-mobile .a-site-search__icon {
      margin-left: 0; }

.o-site-header .m-site-search__button {
  font-size: 1rem; }

.a-site-search__button.-mobile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }
  .a-site-search__button.-mobile .a-site-search__form-text {
    display: none; }
  .a-site-search__button.-mobile .a-site-search__form-icon {
    font-size: 1.2rem;
    text-align: center;
    vertical-align: middle;
    -ms-flex-item-align: center;
        align-self: center;
    color: #004b67; }

.search-toggle.-open {
  background-color: #ede9e3; }

@media (min-width: 992px) {
  .o-site-search__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-left: 3rem; }
    .o-site-search__container .m-site-search__button,
    .o-site-search__container .search-field {
      font-size: 1rem !important; }
    .o-site-search__container .search-field {
      min-width: 300px; }
    .o-site-search__container .o-site-search-form__container {
      margin-left: 0;
      width: 100%;
      z-index: 1;
      background: #fff; }
      .o-site-search__container .o-site-search-form__container .o-site-search__form {
        width: 100%; }
        .o-site-search__container .o-site-search-form__container .o-site-search__form .search-field {
          -webkit-box-flex: 1;
              -ms-flex-positive: 1;
                  flex-grow: 1;
          width: 100%;
          background: #f6f4f1 !important; }
        .o-site-search__container .o-site-search-form__container .o-site-search__form .a-site-search__form-button.-desktop {
          -ms-flex-negative: 0;
              flex-shrink: 0; }
  .o-site-search__container {
    width: 435px; }
  .o-secondary-navigation-container {
    position: relative;
    left: calc(320px + 3rem); } }

/* Hakutulossivu */
.o-search-results__article {
  padding-top: 1rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #ccdbe1; }

.content-no-hero .o-site-search__form {
  margin-top: 3rem;
  width: 100%; }

.o-search-form-page__container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  min-width: 100%; }
  .o-search-form-page__container .search-field {
    width: 100%; }
  .o-search-form-page__container .-hide-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
  .o-search-form-page__container .-hide-desktop {
    display: none; }

/*--------------------------------------------------------------
## Sidebar navigation - spesifics
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
  .o-sidebar-menu {
    display: none; } }

.m-accordian-content-menu__toggle {
  cursor: pointer;
  display: block;
  position: relative;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  margin-top: -2rem;
  color: #004b67;
  background: #ede9e3;
  text-transform: uppercase; }
  .m-accordian-content-menu__toggle .subnav-button {
    margin-right: 0;
    color: #004b67; }
  .m-accordian-content-menu__toggle.toggled {
    color: #fff;
    background: #004b67; }

.a-accordian-content-menu__toggle-text {
  margin-bottom: 0;
  font-size: 1.21429rem; }

.m-accordian-content-menu__toggle .subnav-button > .fa:before {
  content: "\f107"; }

.m-accordian-content-menu__toggle.toggled .subnav-button > .fa:before {
  color: #fff;
  content: "\f106"; }

/* Extra branding to vertical menu */
.sidebar-navigation > div ul li {
  background-color: white; }
  .sidebar-navigation > div ul li:first-child {
    border-bottom: 1px solid #e6edf0; }
  .sidebar-navigation > div ul li a {
    font-size: 1.21429rem;
    text-transform: uppercase; }
    .sidebar-navigation > div ul li a:hover, .sidebar-navigation > div ul li a:active, .sidebar-navigation > div ul li a:focus {
      background: #d9e4e8;
      text-decoration: none; }

.sidebar-navigation > div ul .sub-menu li {
  background-color: #fff; }
  .sidebar-navigation > div ul .sub-menu li:last-child {
    border-bottom: none; }
  .sidebar-navigation > div ul .sub-menu li a {
    text-transform: none;
    font-size: 1.21429rem;
    color: #004b67;
    font-family: "Noto Serif", serif; }

.sidebar-navigation > div ul .sub-menu ul li {
  background-color: white; }
  .sidebar-navigation > div ul .sub-menu ul li a {
    padding-left: 30px;
    font-size: 1.14285714rem;
    color: #000;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; }

.sidebar-navigation > div ul .sub-menu .current_page_ancestor > a, .sidebar-navigation > div ul .sub-menu .o-vertical-navigation .sub-menu .current-menu-ancestor > a {
  color: #004b67; }

/* Branding Tables */
.o-primary__content table,
.s-freeform-content table,
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #000; }
  .o-primary__content table th,
  .o-primary__content table td,
  .s-freeform-content table th,
  .s-freeform-content table td,
  .table th,
  .table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #ccdbe1; }
  .o-primary__content table thead th,
  .o-primary__content table th,
  .s-freeform-content table thead th,
  .s-freeform-content table th,
  .table thead th,
  .table th {
    vertical-align: bottom;
    border-bottom: 2px solid #ccdbe1;
    background: #f2f2f2;
    color: #004b67; }
  .o-primary__content table tbody + tbody,
  .s-freeform-content table tbody + tbody,
  .table tbody + tbody {
    border-top: 2px solid #ccdbe1; }

.table-sm th,
.table-sm td {
  padding: 0.3rem; }

.table-bordered {
  border: 1px solid #ccdbe1; }
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #ccdbe1; }
  .table-bordered thead th,
  .table-bordered thead td {
    border-bottom-width: 2px; }

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
  border: 0; }

.table-hover tbody tr:hover {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.075); }

.table-primary,
.table-primary > th,
.table-primary > td {
  background-color: #b8daff; }

.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
  border-color: #7abaff; }

.table-hover .table-primary:hover {
  background-color: #9fcdff; }
  .table-hover .table-primary:hover > td,
  .table-hover .table-primary:hover > th {
    background-color: #9fcdff; }

.table-secondary,
.table-secondary > th,
.table-secondary > td {
  background-color: #d6d8db; }

.table-secondary th,
.table-secondary td,
.table-secondary thead th,
.table-secondary tbody + tbody {
  border-color: #b3b7bb; }

.table-hover .table-secondary:hover {
  background-color: #c8cbcf; }
  .table-hover .table-secondary:hover > td,
  .table-hover .table-secondary:hover > th {
    background-color: #c8cbcf; }

.table-success,
.table-success > th,
.table-success > td {
  background-color: #c3e6cb; }

.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody + tbody {
  border-color: #8fd19e; }

.table-hover .table-success:hover {
  background-color: #b1dfbb; }
  .table-hover .table-success:hover > td,
  .table-hover .table-success:hover > th {
    background-color: #b1dfbb; }

.table-info,
.table-info > th,
.table-info > td {
  background-color: #bee5eb; }

.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody + tbody {
  border-color: #86cfda; }

.table-hover .table-info:hover {
  background-color: #abdde5; }
  .table-hover .table-info:hover > td,
  .table-hover .table-info:hover > th {
    background-color: #abdde5; }

.table-warning,
.table-warning > th,
.table-warning > td {
  background-color: #ffeeba; }

.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody + tbody {
  border-color: #ffdf7e; }

.table-hover .table-warning:hover {
  background-color: #ffe8a1; }
  .table-hover .table-warning:hover > td,
  .table-hover .table-warning:hover > th {
    background-color: #ffe8a1; }

.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: #f5c6cb; }

.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
  border-color: #ed969e; }

.table-hover .table-danger:hover {
  background-color: #f1b0b7; }
  .table-hover .table-danger:hover > td,
  .table-hover .table-danger:hover > th {
    background-color: #f1b0b7; }

.table-light,
.table-light > th,
.table-light > td {
  background-color: #fdfdfe; }

.table-light th,
.table-light td,
.table-light thead th,
.table-light tbody + tbody {
  border-color: #fbfcfc; }

.table-hover .table-light:hover {
  background-color: #ececf6; }
  .table-hover .table-light:hover > td,
  .table-hover .table-light:hover > th {
    background-color: #ececf6; }

.table-dark,
.table-dark > th,
.table-dark > td {
  background-color: #c6c8ca; }

.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
  border-color: #95999c; }

.table-hover .table-dark:hover {
  background-color: #b9bbbe; }
  .table-hover .table-dark:hover > td,
  .table-hover .table-dark:hover > th {
    background-color: #b9bbbe; }

.table-active,
.table-active > th,
.table-active > td {
  background-color: rgba(0, 0, 0, 0.075); }

.table-hover .table-active:hover {
  background-color: rgba(0, 0, 0, 0.075); }
  .table-hover .table-active:hover > td,
  .table-hover .table-active:hover > th {
    background-color: rgba(0, 0, 0, 0.075); }

.table .thead-dark th {
  color: #fff;
  background-color: #343a40;
  border-color: #454d55; }

.table .thead-light th {
  color: #004b67;
  background-color: #f2f2f2;
  border-color: #ccdbe1; }

.table-dark {
  color: #fff;
  background-color: #343a40; }
  .table-dark th,
  .table-dark td,
  .table-dark thead th {
    border-color: #454d55; }
  .table-dark.table-bordered {
    border: 0; }
  .table-dark.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05); }
  .table-dark.table-hover tbody tr:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.075); }

@media (max-width: 575.98px) {
  .table-responsive-sm {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
    .table-responsive-sm > .table-bordered {
      border: 0; } }

@media (max-width: 767.98px) {
  .table-responsive-md {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
    .table-responsive-md > .table-bordered {
      border: 0; } }

@media (max-width: 991.98px) {
  .table-responsive-lg {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
    .table-responsive-lg > .table-bordered {
      border: 0; } }

@media (max-width: 1199.98px) {
  .table-responsive-xl {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
    .table-responsive-xl > .table-bordered {
      border: 0; } }

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; }
  .table-responsive > .table-bordered {
    border: 0; }

/* //// custom image-viewer gallery style \\\\ */
.fg-image-viewer.fiv-inner .fiv-ctrls .fiv-count, .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev, .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next, .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:hover, .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:hover {
  background-color: transparent;
  color: #fff; }

.fg-image-viewer .fiv-inner .fiv-ctrls {
  background-color: #004b67;
  border-color: #fff;
  /*margin-left: 5px;*/
  /*margin-right: 5px;*/
  margin-top: 0px;
  border-style: none;
  font-family: "Font Awesome 5 Free";
  font-weight: 900; }

.fg-image-viewer .fiv-next, .fg-image-viewer .fiv-prev {
  -webkit-box-shadow: none;
          box-shadow: none; }

/* generic */
.fiv-inner .fiv-inner-container {
  border-style: none; }

.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-count {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #fff; }

.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next span, .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev span {
  -webkit-transform: none !important;
          transform: none !important;
  -webkit-transition: none !important;
  transition: none !important;
  visibility: hidden; }

.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:hover:before, .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:hover:before {
  -webkit-transform: none !important;
          transform: none !important;
  -webkit-transition: none !important;
  transition: none !important;
  opacity: 1; }

.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:before, .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:before {
  opacity: 0.6;
  line-height: 30px; }

.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:before {
  content: '\f053';
  font-size: 20px;
  margin-top: 3px; }

.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:before {
  content: '\f054';
  font-size: 20px;
  margin-top: 3px; }

.tos-desktop .tos-wrapper.tos-fixed {
  z-index: 9999; }

/* Utilities */
/* Utilities */
/* Responsive visibility */
@media (max-width: 991.98px) {
  .-hide-mobile {
    display: none; } }

@media (min-width: 992px) {
  .-hide-desktop {
    display: none; } }

/* Vierityssijainnin kohdistuminen oikein id-linkkeihin siirryttäessä */
/* Fixed headrin vuoksi */
@media (max-width: 991.98px) {
  :target::before {
    content: "";
    display: block;
    height: 50px;
    /* fixed header height*/
    margin: 50px 0 0;
    /* negative fixed header height */ } }

@media (min-width: 992px) {
  :target::before {
    content: "";
    display: block;
    height: 150px;
    /* fixed header height*/
    margin: -150px 0 0;
    /* negative fixed header height */ } }

/* Sections */
/* All sections */
/* Import here */
/* section info-header */
.s-info-header {
  background-color: #004b67;
  color: #fff;
  height: 41px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }

/* Aukioloajat linkki */
.o-info-header__time {
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }
  .o-info-header__time .a-info-header {
    display: block;
    color: #fff;
    -webkit-text-emphasis: none;
            text-emphasis: none; }
    .o-info-header__time .a-info-header:after {
      content: "\00BB";
      display: inline-block;
      text-decoration: none; }

@media (max-width: 991.98px) {
  .o-info-header__time {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; }
  .home .s-info-header {
    height: 90px; }
    .home .s-info-header .m-tertiary-navigation {
      display: block; }
  .home .o-info-header__nav {
    display: block !important;
    padding-top: 0;
    padding-bottom: 0; }
    .home .o-info-header__nav .m-language-navigation {
      padding-top: 5px;
      padding-bottom: 0; } }

/* header */
.o-site-header {
  position: fixed;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #ccdbe1;
  z-index: 9999; }

@media (min-width: 992px) {
  .s-info-header {
    margin-bottom: 1rem; } }

/* Headerin elementtien asettelu */
.o-site-header {
  -webkit-box-shadow: 0 3px 3px rgba(31, 61, 72, 0.2);
          box-shadow: 0 3px 3px rgba(31, 61, 72, 0.2); }
  .o-site-header .o-site-header__navigations-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end; }

@media (max-width: 991.98px) {
  .o-site-header {
    padding-top: 0;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0);
            box-shadow: 0 3px 3px rgba(0, 0, 0, 0); }
    .o-site-header .m-site-branding {
      height: 50px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center; }
    .o-site-header .o-main-navigation-wrapper {
      position: absolute;
      height: 50px;
      left: 15px;
      width: 100%; }
      .o-site-header .o-main-navigation-wrapper #menuwrapper {
        display: none;
        overflow-y: auto;
        max-height: calc(100vh - 150px); }
      .o-site-header .o-main-navigation-wrapper .o-main-navigation {
        position: absolute; }
        .o-site-header .o-main-navigation-wrapper .o-main-navigation.open {
          -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
                  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); }
  .home .o-site-header .o-main-navigation-wrapper #menuwrapper {
    max-height: calc(100vh - 199px); }
  .o-site-header__navigations-wrapper {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start; } }

/* Headerin Logo */
.m-site-branding {
  margin-right: auto;
  padding-top: 1em;
  padding-bottom: 1em; }
  .m-site-branding .a-site-branding__link {
    display: block;
    width: 160px;
    overflow: hidden;
    height: auto; }
    .m-site-branding .a-site-branding__link .a-site-branding__image {
      width: 100%;
      height: auto; }

@media (max-width: 991.98px) {
  .m-site-branding .a-site-branding__link {
    width: 85px;
    height: 25px;
    position: relative; }
    .m-site-branding .a-site-branding__link .a-site-branding__image {
      position: absolute;
      top: 0;
      left: 0; } }

/* Skrollatessa aktivoituvan fixed navin tyylit */
.o-site-header {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: -webkit-transform 300ms ease-in-out;
  transition: -webkit-transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out; }

.m-site-branding {
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out; }

@media (max-width: 991.98px) {
  .o-site-header.fixed-nav {
    -webkit-transform: translateY(-41px);
            transform: translateY(-41px); }
    .o-site-header.fixed-nav .o-main-navigation-wrapper #menuwrapper {
      display: none;
      overflow-y: auto;
      max-height: calc(100vh - 109px); }
  .home .o-site-header.fixed-nav {
    -webkit-transform: translateY(-90px);
            transform: translateY(-90px); }
    .home .o-site-header.fixed-nav .o-main-navigation-wrapper #menuwrapper {
      display: none;
      overflow-y: auto;
      max-height: calc(100vh - 109px); } }

@media (min-width: 992px) {
  .m-site-branding .a-site-branding__link {
    width: 160px;
    height: 71px;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out; }
  .o-site-header.fixed-nav {
    -webkit-transform: translateY(-41px);
            transform: translateY(-41px); }
    .o-site-header.fixed-nav .m-site-branding {
      padding-top: 0;
      padding-bottom: 0; }
      .o-site-header.fixed-nav .m-site-branding .a-site-branding__link {
        width: 145px;
        height: 45px; } }

.site-content {
  padding-top: 0; }
  .site-content:before {
    content: "";
    display: block;
    background: #004b67;
    width: 100%; }

@media (max-width: 991.98px) {
  .site-content:before {
    height: 91px; }
  .home .site-content:before {
    height: 140px; } }

@media (min-width: 992px) {
  .site-content:before {
    height: 207px; } }

/* Hero */
.m-hero__text-wrap {
  width: 100%; }

.m-hero__postinfo ul {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  list-style: none;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
  margin: 0; }

.m-hero__postinfo ul li {
  position: relative;
  padding: 4px;
  border-right-style: ridge; }

@media (min-width: 992px) {
  .s-hero-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
    .s-hero-section.-with-image {
      background-color: #333333; }
  .o-hero {
    position: relative;
    width: 100%; }
  .m-hero__image-container {
    max-height: calc(82vh - 136px);
    overflow: hidden;
    position: relative;
    width: 100%; }
  .m-hero__image-container::after {
    content: "";
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 60%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ }
  .-normal-page .m-hero__image-container::after {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(0, 0, 0, 0)), color-stop(80%, rgba(0, 0, 0, 0.6)));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 80%); }
  .a-hero__image {
    max-height: calc(82vh - 136px);
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 50% 30%;
       object-position: 50% 30%; }
  .m-hero__text-content {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding-top: 2rem;
    padding-bottom: 2rem; }
    .m-hero__text-content .m-hero__text-wrap.-with-image h1.a-hero__title,
    .m-hero__text-content .m-hero__text-wrap.-with-image .a-hero__lead,
    .m-hero__text-content .m-hero__text-wrap.-with-image .m-hero__postinfo {
      color: #fff;
      text-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.5); }
  .a-hero__lead {
    max-width: 360px; }
  .-normal-page .m-hero__text-content {
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end; }
  .m-hero__postinfo {
    font-weight: 700; }
  .breadcrumbs {
    position: absolute;
    width: 100%;
    top: 0; }
  .o-hero.-no-hero-image {
    position: absolute; }
  .m-hero__text-content.-no-hero-image {
    position: relative;
    -ms-flex-item-align: center;
        align-self: center; }
    .m-hero__text-content.-no-hero-image .m-hero__text-wrap {
      padding-top: 5rem; } }

/* Etusivun herolle matalampaan tilaan mahtuvat tekstit matalalla näytöllä */
@media screen and (max-height: 900px) and (min-aspect-ratio: 1 / 1) {
  .home .m-hero__text-wrap.-with-image > div {
    max-width: 70%; }
  .home .a-hero__lead {
    font-size: 1.2rem; } }

/* Section: Opening info */
.s-opening-info > * {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center; }

.a-opening-info__text {
  margin-bottom: 0;
  font-weight: 700;
  text-transform: uppercase;
  -webkit-transform: translateX(-0.25em);
          transform: translateX(-0.25em); }
  .a-opening-info__text:after, .a-opening-info__text:hover:after, .a-opening-info__text:focus:after, .a-opening-info__text:active:after {
    content: "\00BB";
    text-decoration: none;
    display: inline-block;
    margin-left: 0.5em; }

/* Section primary - perusisältö + sidebar */
.o-primary__content > h2:first-child, .o-primary__content > h3:first-child, .o-primary__content > h4:first-child, .o-primary__content > h5:first-child, .o-primary__content > h6:first-child, .o-primary__content > *:first-child {
  margin-top: 0; }

@media (max-width: 991.98px) {
  .s-primary-section > * {
    padding-top: 3rem;
    padding-bottom: 3rem; }
    .s-primary-section > * > * > * > * .m-accordian-content-menu__toggle {
      padding-top: 0; }
    .s-primary-section > * > * > * > * .m-accordian-content-menu__toggle {
      padding-bottom: 0;
      margin-bottom: 2rem; }
  .s-primary-section .o-accordian-content-menu {
    margin-bottom: 3rem; } }

/* sosiaalisen median linkit */
.s-social-links {
  background-color: #DEDAD4; }
  .s-social-links .-featured {
    background-color: #ede9e3; }

.o-social-links {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-negative: 0;
      flex-shrink: 0; }
  .o-social-links a {
    color: #004b67; }
  .o-social-links a:hover {
    text-decoration: none; }

.m-social-links__link {
  display: block;
  width: 193px;
  max-width: 33%;
  margin-bottom: 1rem;
  padding: 10px; }
  .m-social-links__link:hover .m-social-links__container, .m-social-links__link:active .m-social-links__container, .m-social-links__link:focus .m-social-links__container {
    -webkit-transform: scale(1.1);
            transform: scale(1.1); }

.m-social-links__container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out; }

.a-social-links_icon-container {
  height: 40px;
  margin: 10px;
  display: block; }

.a-social-links__icon {
  display: block;
  text-align: center;
  margin: auto; }

.a-social-links__icon.-symbol {
  font-size: 3rem; }

.a-social-links__icon.-image {
  height: 100%; }

.a-social-links__text {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  margin: auto;
  text-transform: uppercase; }

@media (max-width: 575.98px) {
  .a-social-links__text {
    font-size: 0.71428571rem; } }

/* vierailijatiedot */
.s-visitor-info > * {
  padding-top: 0;
  padding-bottom: 0; }

.s-visitor-info .o-visitor-info {
  background-color: #004b67;
  margin-right: 0;
  margin-left: 0; }

.m-visitor-info__container {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 15px;
  padding-right: 15px; }

/* Borderit */
.m-visitor-info__container {
  border-bottom: solid 1px;
  border-color: rgba(255, 255, 255, 0.3); }
  .m-visitor-info__container:last-of-type {
    border: 0; }

@media (min-width: 576px) {
  .m-visitor-info__container:nth-child(odd) {
    border-right: solid 1px;
    border-color: rgba(255, 255, 255, 0.3); }
  .m-visitor-info__container:nth-last-of-type(2) {
    border-bottom: 0; } }

@media (min-width: 992px) {
  .m-visitor-info__container {
    border-bottom: 0;
    border-right: solid 1px;
    border-color: rgba(255, 255, 255, 0.3); }
    .m-visitor-info__container:last-of-type {
      border-right: 0; } }

.a-visitor-info__icon {
  font-size: 2.5rem;
  color: #ec6730; }

.o-visitor-info .a-visitor-info__text h4, .o-visitor-info .a-visitor-info__text h5, .o-visitor-info .a-visitor-info__text h6, .o-visitor-info .a-visitor-info__text p, .o-visitor-info .a-visitor-info__text lu, .o-visitor-info .a-visitor-info__text li, .o-visitor-info .a-visitor-info__text a {
  color: #fff; }

.o-visitor-info .a-visitor-info__text > *:first-child {
  margin-top: 1rem; }

.o-visitor-info a:after {
  content: " \00BB";
  text-decoration: none;
  display: inline-block;
  margin-left: 0.2rem; }

.a-visitor-info__link {
  color: #fff; }
  .a-visitor-info__link:hover, .a-visitor-info__link:active, .a-visitor-info__link:focus {
    color: #fff; }

.a-visitor-info__text {
  color: #fff; }

/* Cards */
.card-deck {
  margin-bottom: -3rem; }

/* Basic cards */
.m-card__frame {
  position: relative;
  margin-bottom: 30px !important;
  background: none;
  border-radius: 0px;
  border: none;
  background: none;
  margin-left: 0;
  margin-right: 0; }
  .m-card__frame .m-card__header {
    position: relative; }
    .m-card__frame .m-card__header .a-card-header__image {
      background-color: #fff; }
  .m-card__frame .m-card__body {
    padding: 30px;
    padding-bottom: 39px; }
    .m-card__frame .m-card__body > *:last-child {
      margin-bottom: 0; }
  .m-card__frame .a-card-body__title {
    margin-top: 0;
    margin-bottom: 0.5rem; }
  .m-card__frame .a-card-body__title-link a:not([href]):not([tabindex]) {
    color: #000;
    pointer-events: none;
    cursor: default; }
  .m-card__frame .a-card-body__title-link a:not([href]):not([tabindex]):hover, .m-card__frame .a-card-body__title-link a:not([href]):not([tabindex]):focus {
    color: #000;
    pointer-events: none;
    cursor: default; }
  .m-card__frame .a-card-body__button {
    margin-top: 0.5rem; }

.a-card-header__badge {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background-color: #ede9e3;
  color: #000;
  font-size: 1rem;
  line-height: 1.2;
  color: #004b67;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.5em 1em;
  z-index: 1; }

/* Full width card, two columns */
.m-card__frame.-full .m-card__header {
  padding-left: 0 !important;
  padding-right: 0 !important; }
  .m-card__frame.-full .m-card__header .m-card-header__link {
    height: 100%; }
    .m-card__frame.-full .m-card__header .m-card-header__link .m-card-header__image-wrapper {
      height: 100%; }

.m-card__frame.-full .m-card__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 60px;
  padding-bottom: 60px; }

@media (max-width: 767.98px) {
  .m-card__frame.-full {
    background: #ede9e3; } }

/* Freeform content */
/* Karttamoduuli 
 * Toistaiseksi käytössä vain Google maps
*/
.o-acf-map {
  width: 100%;
  border: #ccc solid 1px;
  margin: 0px 0; }

/* fixes potential theme css conflict */
.acf-map img {
  max-width: inherit !important; }

.a-map-marker__heading {
  margin-top: 0; }

.a-map-marker__info-text {
  margin-bottom: 0.5rem; }

.o-footer-navi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column wrap;
          flex-flow: column wrap;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end; }

/* Modules */
/*# sourceMappingURL=master.css.map */