@charset "UTF-8";
/*
Theme Name: Sampokeskus 2024
Author: Mint Company Oy ja Mikko Hopia Oy
Author URI: https://mintcompany.fi
Description: ACF-pohjainen joustaviin sisältölohkoihin perustuva sivupohja.
Version: 1.0
*/
@font-face {
  font-display: auto;
  font-family: "DM Sans";
  font-weight: 400;
  src: url(fonts/DMSans-Regular.ttf);
}
@font-face {
  font-display: auto;
  font-family: "DM Sans";
  font-weight: 500;
  src: url(fonts/DMSans-Medium.ttf);
}
@font-face {
  font-display: auto;
  font-family: "DM Sans";
  font-weight: 600;
  src: url(fonts/DMSans-SemiBold.ttf);
}
@font-face {
  font-display: auto;
  font-family: "DM Sans";
  font-weight: 700;
  src: url(fonts/DMSans-Bold.ttf);
}
@font-face {
  font-display: auto;
  font-family: "DM Sans";
  font-weight: 800;
  src: url(fonts/DMSans-ExtraBold.ttf);
}
@font-face {
  font-display: auto;
  font-family: "DM Serif Text";
  font-weight: 400;
  src: url(fonts/DMSerifText-Regular.ttf);
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

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

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

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

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

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

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

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

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

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

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

body {
  background-color: #fff;
  color: #0E0E0E;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  font-weight: 400;
}

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

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

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

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

header#top {
  height: 124px;
  position: relative;
  z-index: 9;
}

body.sticky-header header#top {
  animation: sticky-header 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1;
  background-color: #fff;
  left: 0;
  position: fixed;
  top: -124px;
  width: 100%;
}

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

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

p.slogan {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 500;
  left: 305px;
  position: absolute;
  top: 23px;
}

@media only screen and (max-width: 1270px) {
  p.site-title a {
    left: 0;
  }
  p.slogan {
    font-size: 16px;
    font-size: 1rem;
    left: 277px;
  }
}
@media only screen and (max-width: 1120px) {
  p.site-title a {
    width: 200px;
  }
  p.slogan {
    left: 210px;
  }
}
@media only screen and (max-width: 1000px) {
  header#top {
    height: 62px;
  }
}
@media only screen and (max-width: 400px) {
  p.slogan {
    display: none;
  }
}
button.hamburger {
  display: none;
}

nav.main-navi {
  position: relative;
}
nav.main-navi > ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 68px;
  width: 100%;
}
nav.main-navi > ul > li {
  display: block;
  flex-grow: 1;
  margin: 0 4px;
  position: relative;
  text-align: center;
}
nav.main-navi > ul > li:first-child {
  margin-left: 0;
}
nav.main-navi > ul > li:last-child {
  margin-right: 0;
}
nav.main-navi > ul > li > a {
  background-color: #FAD9D9;
  border-radius: 8px;
  box-sizing: border-box;
  color: #480125;
  display: block;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 10px;
  text-decoration: none;
}
nav.main-navi > ul > li > a:hover {
  background-color: #FFEAEA;
}
nav.main-navi > ul > li.current-menu-item > a, nav.main-navi > ul > li.current-menu-parent > a, nav.main-navi > ul > li.current-menu-ancestor > a {
  background-color: #480125;
  color: #FAD9D9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
nav.main-navi > ul > li > ul {
  background-color: #FFEAEA;
  border-radius: 0px 8px 8px 8px;
  box-sizing: border-box;
  display: none;
  left: 0;
  list-style: none;
  padding: 30px 10px 30px 30px;
  position: absolute;
  text-align: left;
  top: 56px;
  width: 333px;
  z-index: 9;
}
nav.main-navi > ul > li > ul > li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}
nav.main-navi > ul > li > ul > li:last-child {
  margin-bottom: 10px;
}
nav.main-navi > ul > li > ul > li::before {
  background-image: url(img/li_chevron-down.svg);
  background-position: left 1px center;
  background-repeat: no-repeat;
  background-size: 20px;
  content: "";
  display: block;
  left: 0;
  height: 20px;
  position: absolute;
  top: 0;
  transform: rotate(-90deg);
  transition-duration: 0s;
  width: 20px;
}
nav.main-navi > ul > li > ul > li:hover::before {
  left: 3px;
  transition-duration: 0.1s;
}
nav.main-navi > ul > li > ul > li > a {
  color: #480125;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}
nav.main-navi > ul > li:last-child > ul {
  border-radius: 8px 0 8px 8px;
  left: auto;
  right: 0;
}
nav.main-navi > ul > li.menu-item-has-children > a::after {
  background-image: url(img/li_chevron-down.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 20px;
  margin: -2px 0 0 5px;
  transition-duration: 0.3s;
  vertical-align: top;
  width: 20px;
}
nav.main-navi > ul > li.menu-item-has-children > a:hover {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
nav.main-navi > ul > li.menu-item-has-children > a:hover::after {
  transform: rotate(-180deg);
}
nav.main-navi > ul > li.menu-item-has-children:hover > a {
  background-color: #FFEAEA;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
nav.main-navi > ul > li.menu-item-has-children:hover > a::before {
  background-color: #FFEAEA;
  bottom: -8px;
  content: "";
  display: block;
  left: 0;
  height: 8px;
  position: absolute;
  transition-duration: 0s;
  width: 100%;
}
nav.main-navi > ul > li.menu-item-has-children:hover > a::after {
  transform: rotate(-180deg);
}
nav.main-navi > ul > li.menu-item-has-children:hover > ul {
  display: block;
}
nav.main-navi > ul > li.menu-item-has-children.current-menu-item > a::after, nav.main-navi > ul > li.menu-item-has-children.current-menu-parent > a::after {
  background-image: url(img/li_chevron-down-l.svg);
}
nav.main-navi > ul > li.menu-item-has-children.current-menu-item > a:hover, nav.main-navi > ul > li.menu-item-has-children.current-menu-parent > a:hover {
  color: #480125;
}
nav.main-navi > ul > li.menu-item-has-children.current-menu-item > a:hover::after, nav.main-navi > ul > li.menu-item-has-children.current-menu-parent > a:hover::after {
  background-image: url(img/li_chevron-down.svg);
}
nav.main-navi > ul > li.menu-item-has-children.current-menu-item:hover > a, nav.main-navi > ul > li.menu-item-has-children.current-menu-parent:hover > a {
  color: #480125;
}
nav.main-navi > ul > li.menu-item-has-children.current-menu-item:hover > a::after, nav.main-navi > ul > li.menu-item-has-children.current-menu-parent:hover > a::after {
  background-image: url(img/li_chevron-down.svg);
}

div.top-navi {
  position: absolute;
  right: 6px;
  top: 14px;
}
div.top-navi > a,
div.top-navi > div,
div.top-navi > form {
  display: inline-block;
}
div.top-navi > a {
  background-position: left 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
  border-radius: 30px;
  border: 2px solid #FAD9D9;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 2px;
  padding: 11px 14px 11px 38px;
  text-decoration: none;
}
div.top-navi > a:hover {
  background-color: #FFEAEA;
  border-color: #FFEAEA;
}
div.top-navi > a:active {
  background-color: #D40E48;
  border-color: #480125;
  color: #FAD9D9;
}
div.top-navi > a.opening-times {
  background-image: url(img/li_clock.svg);
  background-position: left 12px center;
  padding: 11px 14px 11px 38px;
}
div.top-navi > a.directions {
  background-image: url(img/li_location.svg);
  background-position: left 12px center;
  padding: 11px 14px 11px 38px;
}
div.top-navi > a.parking {
  background-image: url(img/li_car.svg);
  background-position: left 12px center;
  padding: 11px 14px 11px 38px;
}
div.top-navi > div {
  border-radius: 30px;
  border: 2px solid #FAD9D9;
  margin: 0 2px;
  padding: 10px 14px;
}
div.top-navi > div > a {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 20px;
  display: inline-block;
  margin: 0;
  text-decoration: none;
  text-indent: -9999px;
  width: 20px;
}
div.top-navi > div > a.youtube {
  background-image: url(img/li_youtube.svg);
}
div.top-navi > div > a.facebook {
  background-image: url(img/li_facebook.svg);
}
div.top-navi > div > a.instagram {
  background-image: url(img/li_instagram.svg);
}
div.top-navi > div > a.tiktok {
  background-image: url(img/tiktok.svg);
  background-size: contain;
  margin-left: 2px;
  width: 18px;
}
div.top-navi > div.lang {
  position: relative;
}
div.top-navi > div.lang ul.lang-menu {
  background-color: #fff;
  border: 2px solid #FAD9D9;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top: 0;
  box-sizing: border-box;
  display: none;
  left: -2px;
  list-style: none;
  padding: 10px;
  position: absolute;
  text-align: center;
  top: 22px;
  width: calc(100% + 4px);
}
div.top-navi > div.lang ul.lang-menu li a {
  background-image: none;
  color: #0E0E0E;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
}
div.top-navi > div.lang ul.lang-menu li a:hover {
  color: #480125;
}
div.top-navi > div.lang:hover {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
div.top-navi > div.lang:hover ul {
  display: block;
}
div.top-navi > div.lang > a {
  background-image: url(img/li_globe.svg);
  background-position: left center;
  background-size: contain;
  color: #0E0E0E;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  padding-left: 22px;
  text-indent: initial;
  width: auto;
}
div.top-navi > div.lang > a::after {
  background-image: url(img/li_chevron-down-b.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 14px;
  margin-left: 3px;
  transform: translateY(2px);
  width: 14px;
}
div.top-navi form.search {
  margin-left: 2px;
}
div.top-navi form.search label,
div.top-navi form.search input[type=submit] {
  display: none;
}
div.top-navi form.search input[type=text] {
  background-image: url(img/li_search.svg);
  background-position: left 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
  border-radius: 30px;
  border: 2px solid #FAD9D9;
  box-sizing: border-box;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 11px 14px 11px 38px;
  width: 300px;
}
div.top-navi form.search input[type=text]::-webkit-input-placeholder {
  color: #0E0E0E;
}
div.top-navi form.search input[type=text]:-moz-placeholder {
  color: #0E0E0E;
}
div.top-navi form.search input[type=text]::-moz-placeholder {
  color: #0E0E0E;
}
div.top-navi form.search input[type=text]:-ms-input-placeholder {
  color: #0E0E0E;
}

@media only screen and (max-width: 1450px) {
  div.top-navi form.search input[type=text] {
    width: 180px;
  }
}
@media only screen and (max-width: 1320px) {
  div.top-navi form.search input[type=text] {
    width: 130px;
  }
}
@media only screen and (max-width: 1270px) {
  div.top-navi {
    right: 0;
  }
  div.top-navi > a {
    margin: 0;
  }
}
@media only screen and (max-width: 1200px) {
  div.top-navi > a.opening-times,
  div.top-navi > a.directions,
  div.top-navi > a.parking {
    background-image: none;
    padding: 11px 14px;
  }
  div.top-navi > div.lang > a {
    background-image: none;
    padding-left: 5px;
  }
}
@media only screen and (max-width: 1050px) {
  div.top-navi form.search input[type=text] {
    width: 110px;
  }
}
@media only screen and (max-width: 1000px) {
  nav.main-navi {
    display: none;
    left: 0;
    min-height: 100vh;
    padding-top: 70px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
  }
  nav.main-navi > ul {
    display: block;
    position: relative;
    right: auto;
    text-align: center;
    top: auto;
  }
  nav.main-navi > ul > li {
    display: block;
    margin-bottom: 30px;
    width: 100%;
  }
  button.hamburger {
    background: none;
    border: 0;
    cursor: pointer;
    display: block;
    height: 18px;
    margin: 0;
    outline: none;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 24px;
    width: 25px;
    z-index: 5;
  }
  #nav-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 25px;
    background: #480125;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
    width: 100%;
  }
  #nav-icon span:nth-child(1) {
    top: 0;
    transform-origin: left center;
  }
  #nav-icon span:nth-child(2) {
    top: 7px;
    transform-origin: left center;
  }
  #nav-icon span:nth-child(3) {
    top: 14px;
    transform-origin: left center;
  }
  #nav-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 0;
    left: 0;
    width: 25px;
  }
  #nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  #nav-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 18px;
    left: 0;
    width: 25px;
  }
  div.top-navi {
    display: none;
  }
  nav.main-navi div.top-navi {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 8px;
    position: relative;
    right: auto;
    top: auto;
  }
  nav.main-navi div.top-navi > a.opening-times {
    background-image: url(img/li_clock.svg);
    padding-left: 42px;
  }
  nav.main-navi div.top-navi > a.directions {
    background-image: url(img/li_location.svg);
    padding-left: 42px;
  }
  nav.main-navi div.top-navi > a.parking {
    background-image: url(img/li_car.svg);
    padding-left: 42px;
  }
  nav.main-navi div.top-navi div.lang > a {
    background-image: url(img/li_globe.svg);
    padding-left: 26px;
  }
  nav.main-navi div.top-navi div.some {
    display: none;
  }
  nav.main-navi div.top-navi form.search {
    grid-column: 1/-1;
  }
  nav.main-navi div.top-navi form.search input[type=text] {
    width: 100%;
  }
  nav.main-navi div.some {
    padding: 10px 0 20px 0;
    text-align: center;
  }
  nav.main-navi div.some > a {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    display: inline-block;
    margin: 0;
    text-decoration: none;
    text-indent: -9999px;
    width: 20px;
  }
  nav.main-navi div.some > a.youtube {
    background-image: url(img/li_youtube.svg);
  }
  nav.main-navi div.some > a.facebook {
    background-image: url(img/li_facebook.svg);
  }
  nav.main-navi div.some > a.instagram {
    background-image: url(img/li_instagram.svg);
  }
  nav.main-navi div.some > a.tiktok {
    background-image: url(img/tiktok.svg);
    background-size: contain;
    margin-left: 2px;
    width: 18px;
  }
  nav.main-navi > ul > li {
    margin: 0 0 8px 0;
  }
  nav.main-navi > ul > li > ul {
    padding: 14px;
  }
  nav.main-navi > ul > li.menu-item-has-children > ul {
    border-top-left-radius: 0;
    left: auto;
    position: relative;
    top: auto;
    width: 100%;
  }
  nav.main-navi > ul > li.menu-item-has-children:hover > a::before {
    display: none;
  }
}
footer {
  margin-bottom: 14px;
}
footer .wrap {
  background-color: #480125;
  border-radius: 4px;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 64px;
}
footer .col-wrap {
  padding: 0;
}
footer .col-wrap:first-child {
  display: block;
  padding-bottom: 32px;
}
footer .col-wrap:nth-child(2) {
  padding-bottom: 42px;
}
footer .col-wrap:last-child {
  border-top: 1px solid #EF8290;
  font-size: 14px;
  font-size: 0.875rem;
  padding-top: 24px;
}
footer .col-wrap:last-child ul {
  display: flex;
  list-style: none;
  padding: 0;
}
footer .col-wrap:last-child ul li {
  margin-right: 42px;
}
footer .col-wrap:last-child ul li:last-child {
  margin-right: 0;
}
footer .col-wrap:last-child .col-2:last-child {
  text-align: right;
}
footer .col-wrap:last-child .col-2:last-child a {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  height: 20px;
  overflow: hidden;
  margin-left: 26px;
  text-indent: 9999px;
  width: 20px;
}
footer .col-wrap:last-child .col-2:last-child a:first-child {
  margin-left: 0;
}
footer .col-wrap:last-child .col-2:last-child a.facebook {
  background-image: url(img/li_facebook_w.svg);
}
footer .col-wrap:last-child .col-2:last-child a.instagram {
  background-image: url(img/li_instagram_w.svg);
}
footer .col-wrap:last-child .col-2:last-child a.youtube {
  background-image: url(img/li_youtube_w.svg);
}
footer .col-3:first-child {
  width: 286px;
}
footer .col-3:nth-child(2) {
  width: 271px;
}
footer .col-3:last-child {
  width: calc(100% - 557px);
}
footer .col-3:last-child ul {
  -moz-columns: 3;
       columns: 3;
  float: right;
  list-style: none;
  padding: 0;
  width: 600px;
}
footer .col-3:last-child ul li {
  padding-left: 42px;
  margin-bottom: 8px;
  width: 200px;
}
footer p {
  line-height: 1.75;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
footer a:hover {
  color: #FAD9D9;
}

@media only screen and (max-width: 1512px) {
  footer {
    margin-bottom: 8px;
  }
}
@media only screen and (max-width: 1300px) {
  footer .col-3:last-child ul {
    width: 100%;
  }
  footer .col-3:last-child ul li {
    padding-left: 0;
    width: auto;
  }
}
@media only screen and (max-width: 1100px) {
  footer .wrap {
    padding: 50px;
  }
  footer .col-3:last-child ul {
    -moz-columns: 2;
         columns: 2;
  }
}
@media only screen and (max-width: 900px) {
  footer .col-3:last-child ul {
    -moz-columns: 1;
         columns: 1;
  }
}
@media only screen and (max-width: 800px) {
  footer .wrap {
    padding: 30px 20px;
  }
  footer .col-wrap:nth-child(2) {
    display: block;
    padding-bottom: 20px;
  }
  footer .col-wrap:nth-child(2) .col-3 {
    padding-bottom: 20px;
    width: 100% !important;
  }
  footer .col-wrap:nth-child(2) .col-3:last-child {
    padding-bottom: 0;
  }
  footer .col-3:last-child ul {
    float: none;
  }
  footer .col-3:last-child ul li:last-child {
    margin-bottom: 0;
  }
  footer .col-wrap:last-child ul {
    display: block;
  }
  footer .col-wrap:last-child ul li {
    margin-bottom: 8px;
  }
}
@media only screen and (max-width: 600px) {
  footer .col-wrap:last-child {
    display: flex;
  }
  footer .col-wrap:last-child .col-2:first-child {
    width: calc(100% - 150px);
  }
  footer .col-wrap:last-child .col-2:last-child {
    width: 150px;
  }
}
@media only screen and (max-width: 300px) {
  footer .col-wrap:last-child {
    display: block;
  }
  footer .col-wrap:last-child .col-2:first-child {
    padding-bottom: 20px;
    width: 100%;
  }
  footer .col-wrap:last-child .col-2:last-child {
    text-align: left;
    width: 100%;
  }
}
main {
  box-sizing: border-box;
  position: relative;
}

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

section.yksi-palsta .col-wrap {
  display: block;
}
section.yksi-palsta .col-wrap .col-1 {
  margin: 0 auto;
  max-width: 700px;
}
section.yksi-palsta.tayslevea .col-wrap .col-1 {
  max-width: 100%;
}
section.yksi-palsta.tayslevea .col-wrap .col-1 iframe {
  aspect-ratio: 3/1;
  max-width: 100%;
}
section.yksi-palsta.tayslevea:first-child .col-wrap {
  padding-top: 0;
}
section.kaksi-palstaa.kapea .wrap {
  max-width: 1000px;
}
section.no-top-margin .col-wrap {
  padding-top: 0;
}
section.top-border .col-wrap {
  border-top: 1px solid #000;
}

body.home section.yksi-palsta .col-wrap .col-1 {
  max-width: 100%;
}

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

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

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

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

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

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

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

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

@media only screen and (max-width: 1512px) {
  .wrap {
    max-width: calc(100% - 16px);
  }
}
@media only screen and (max-width: 1000px) {
  .col-4 {
    width: calc(50% - 20px);
  }
  .col-4:first-child, .col-4:nth-child(2) {
    padding-bottom: 40px;
  }
  .col-2 {
    width: calc(50% - 20px);
  }
}
@media only screen and (max-width: 600px) {
  .col-wrap {
    display: block;
    padding: 20px 0;
  }
  .col-2,
  .col-3,
  .col-4 {
    width: 100%;
  }
  .col-2:first-child {
    padding-bottom: 20px;
  }
  section.yksi-palsta.tayslevea .col-wrap .col-1 iframe {
    aspect-ratio: 1/1;
  }
}
.col-wrap img {
  height: auto;
  max-width: 100%;
}

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

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

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

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

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

div.password-form label {
  display: block;
  margin-bottom: 10px;
}

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

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

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

@media only screen and (max-width: 1000px) {
  div.gform_wrapper .gform_fields .gfield textarea {
    height: 100px;
  }
}
@media only screen and (max-width: 600px) {
  div.gform_wrapper {
    max-width: 100%;
    padding-top: 0;
  }
  .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
    line-height: 1 !important;
    min-height: 0 !important;
  }
}
table {
  border-collapse: collapse;
  line-height: 1.6;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 460px;
  text-align: right;
  width: 100%;
}
table:last-child {
  margin-bottom: 0;
}

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

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

@media only screen and (max-width: 600px) {
  table {
    font-size: 12px;
    font-size: 0.75rem;
  }
}
a {
  color: #0050A4;
  text-decoration: none;
  transition-duration: 0.3s;
}
a.btn {
  border: 2px solid #FAD9D9;
  border-radius: 30px;
  color: #0E0E0E;
  display: inline-block;
  font-weight: 600;
  padding: 7px 24px;
}
a.btn:hover {
  background-color: #FFEAEA;
  border-color: #FFEAEA;
}
a.btn.plus {
  background-image: url(img/li_plus-circle.svg);
  background-position: left 20px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-left: 42px;
}
a.btn.opening-times {
  background-image: url(img/li_clock.svg);
  background-position: left 16px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 7px 24px 7px 42px;
}
a.btn.directions {
  background-image: url(img/li_location.svg);
  background-position: left 16px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 7px 24px 7px 42px;
}
a.btn.parking {
  background-image: url(img/li_car.svg);
  background-position: left 16px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 7px 24px 7px 42px;
}
a.btn.map {
  background-image: url(img/li_map.svg);
  background-position: left 18px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 7px 24px 7px 44px;
}
a.btn.instagram {
  background-image: url(img/li_instagram.svg);
  background-position: left 18px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 7px 24px 7px 44px;
}
a.btn.facebook {
  background-image: url(img/li_facebook.svg);
  background-position: left 18px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding: 7px 24px 7px 44px;
}

.col-1 .btn {
  margin: 0 10px;
}

.col-2 .btn {
  margin: 0 5px;
}
.col-2 .btn:first-child {
  margin-left: 0;
}
.col-2 .btn:last-child {
  margin-right: 0;
}

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

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

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Serif Text", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
  margin-bottom: 0;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #0E0E0E;
}

h1 {
  font-size: 48px;
  font-size: 3rem;
  margin-bottom: 20px;
}
h1 span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h2 {
  font-size: 36px;
  font-size: 2.25rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 32px;
  font-size: 2rem;
  margin-bottom: 20px;
}

h4 {
  font-size: 28px;
  font-size: 1.75rem;
  margin-bottom: 15px;
}

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

span.tavuviiva {
  display: none;
}

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

strong {
  font-weight: 600;
}

@media only screen and (max-width: 1500px) {
  .col-2 a.btn {
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 1150px) {
  a.btn.plus {
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 700px) {
  .col-1 a.btn,
  .col-2 a.btn {
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 600px) {
  h1 {
    font-size: 38px;
    font-size: 2.375rem;
  }
  h1 span {
    font-size: 16px;
    font-size: 1rem;
  }
  h2 {
    font-size: 26px;
    font-size: 1.625rem;
  }
  h3 {
    font-size: 22px;
    font-size: 1.375rem;
  }
  h4 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  a.btn.plus {
    box-sizing: border-box;
    display: block;
    margin: 0 0 8px 0;
    text-align: left;
    width: 100%;
  }
}
@media only screen and (max-width: 400px) {
  a.btn.plus {
    text-align: center;
  }
  .col-2 a.btn {
    margin: 0 10px 10px 0;
  }
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

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

.wrap-carousel {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 4px;
  height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.carousel-items {
  display: none;
}

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

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

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

.item-text {
  align-items: center;
  color: #fff;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  z-index: 3;
  width: 100%;
}
.item-text h1 {
  color: #fff;
  font-size: 72px;
  font-size: 4.5rem;
}
.item-text p:last-child {
  margin-bottom: 0;
}
.item-text p > img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
.item-text a {
  color: #fff;
}
.item-text a.btn {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: normal;
  padding: 4px 24px;
}
.item-text a.btn:hover {
  background-color: #FFEAEA;
  border-color: #FFEAEA;
  color: #480125;
}

.item-text > div {
  text-align: center;
  width: 100%;
}
.item-text > div p:last-child {
  margin-bottom: 0;
}
.item-text > div.c-dark {
  color: #0E0E0E;
}
.item-text > div.c-dark h1,
.item-text > div.c-dark a {
  color: #0E0E0E;
}
.item-text > div.c-dark a.btn {
  border-color: #0E0E0E;
}
.item-text > div.c-dark a.btn:hover {
  background-color: #0E0E0E;
  border-color: #0E0E0E;
  color: #fff;
}

.carousel-navi {
  bottom: 20px;
  display: none;
  left: 20px;
  position: absolute;
  text-align: center;
  width: calc(100% - 40px);
  z-index: 4;
}

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

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

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

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

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

@media only screen and (max-width: 600px) {
  .wrap-carousel {
    /* height: calc(100vh - 70px); */
    height: 500px;
  }
  section.hero-karuselli .item-text h1 {
    font-size: 36px;
    font-size: 2.25rem;
    line-height: 1;
  }
  section.hero-karuselli .item-text h1 span {
    font-size: 14px;
    font-size: 0.875rem;
  }
  section.hero-karuselli .item-text a.btn {
    font-size: 16px;
    font-size: 1rem;
  }
  section.hero-karuselli .item-text {
    padding: 0 10px;
    position: relative;
  }
  section.hero-karuselli .item-text::after {
    background-color: rgba(0, 0, 0, 0.2);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
  }
  section.hero-karuselli div.carousel-navi {
    bottom: 10px;
  }
  section.hero-karuselli div.carousel-navi a {
    height: 10px;
    width: 10px;
  }
  .current-item {
    display: none;
  }
}
section.hero {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
section.hero .wrap > img,
section.hero .wrap > video {
  border-radius: 4px;
  display: block;
  height: 500px;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
section.hero .wrap > img.hero-img-mobile,
section.hero .wrap > video.hero-img-mobile {
  display: none;
}
section.hero .wrap > img + video {
  left: 0;
  position: absolute;
  top: 0;
  z-index: 2;
}
section.hero .wrap div.text-wrap {
  align-items: center;
  color: #fff;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  justify-content: center;
  left: 0;
  padding: 100px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 2;
}
section.hero .wrap div.text-wrap h1 {
  color: #fff;
  font-size: 72px;
  font-size: 4.5rem;
}
section.hero .wrap div.text-wrap p:last-child {
  margin-bottom: 0;
}
section.hero .wrap div.text-wrap p > img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
section.hero .wrap div.text-wrap a.btn {
  color: #fff;
  font-size: 20px;
  font-size: 1.25rem;
  padding: 4px 24px;
}
section.hero .wrap div.text-wrap a.btn:hover {
  background-color: #FFEAEA;
  border-color: #FFEAEA;
  color: #480125;
}
section.hero.txt-left .wrap div.text-wrap {
  justify-content: start;
}
section.hero.txt-right .wrap div.text-wrap {
  justify-content: end;
}
section.hero.c-dark .wrap div.text-wrap h1 {
  color: #0E0E0E;
}
section.hero.c-black .wrap div.text-wrap a.btn {
  border-color: #0E0E0E;
  color: #0E0E0E;
}
section.hero.c-black .wrap div.text-wrap a.btn:hover {
  background-color: #0E0E0E;
  border-color: #0E0E0E;
  color: #fff;
}

@media only screen and (max-width: 1000px) {
  section.hero .wrap > img {
    display: none;
  }
  section.hero .wrap > img.hero-img-mobile {
    display: block;
  }
}
@media only screen and (max-width: 600px) {
  section.hero .wrap div.text-wrap h1 {
    font-size: 52px;
    font-size: 3.25rem;
  }
  section.hero .wrap div.text-wrap a.btn {
    font-size: 18px;
    font-size: 1.125rem;
  }
  section.hero .wrap div.text-wrap {
    padding: 100px 10px;
  }
}
section.avautuva-sisalto div.col-wrap {
  display: block;
}
section.avautuva-sisalto a.accordion-title {
  color: #0E0E0E;
  display: block;
  padding: 25px 0 25px 0;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}
section.avautuva-sisalto a.accordion-title:before {
  border-bottom: 13px solid transparent;
  border-left: 20px solid #333;
  border-top: 13px solid transparent;
  content: "";
  display: block;
  height: 0;
  right: 40px;
  position: absolute;
  top: calc(50% - 13px);
  transition-duration: 0.3s;
  width: 0;
}
section.avautuva-sisalto a.accordion-title:hover:before {
  right: 30px;
}
section.avautuva-sisalto a.accordion-title.open:before {
  right: 30px;
  transform: rotate(90deg);
}
section.avautuva-sisalto div.accordion-content-wrap {
  display: none;
  padding: 20px 0;
}

section.kaksi-palstaa-teksti-kuva {
  padding: 14px 0;
}
section.kaksi-palstaa-teksti-kuva.bg-red-light .wrap {
  background-color: #FAD9D9;
  border-radius: 4px;
}
section.kaksi-palstaa-teksti-kuva.bg-red-light a.btn {
  background-color: #fff;
  border-color: #fff;
}
section.kaksi-palstaa-teksti-kuva.bg-red-light a.btn:hover {
  background-color: #FFEAEA;
  border-color: #FFEAEA;
}
section.kaksi-palstaa-teksti-kuva .col-wrap {
  align-items: center;
  padding: 0;
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
  width: 50%;
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:first-child {
  padding: 50px 120px;
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:last-child img {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:last-child iframe {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  display: block;
  max-width: 100%;
}
section.kaksi-palstaa-teksti-kuva.col-img-txt .col-2:first-child {
  order: 2;
}
section.kaksi-palstaa-teksti-kuva.col-img-txt .col-2:last-child {
  order: 1;
}
section.kaksi-palstaa-teksti-kuva.col-img-txt .col-2:last-child img,
section.kaksi-palstaa-teksti-kuva.col-img-txt .col-2:last-child iframe {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 0;
}

@media only screen and (max-width: 1350px) {
  section.kaksi-palstaa-teksti-kuva .col-wrap {
    align-items: initial;
  }
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
    flex-grow: 1;
  }
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:last-child > img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
  }
}
@media only screen and (max-width: 1200px) {
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:first-child {
    padding: 50px;
  }
}
@media only screen and (max-width: 800px) {
  section.kaksi-palstaa-teksti-kuva .col-wrap {
    display: block;
  }
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
    width: 100%;
  }
  section.kaksi-palstaa-teksti-kuva .col-2:last-child img,
  section.kaksi-palstaa-teksti-kuva.col-img-txt .col-2:last-child img,
  section.kaksi-palstaa-teksti-kuva.col-img-txt .col-2:last-child iframe,
  section.kaksi-palstaa-teksti-kuva .col-2:last-child iframe {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}
@media only screen and (max-width: 600px) {
  section.kaksi-palstaa-teksti-kuva .col-wrap .col-2:first-child {
    padding: 20px;
  }
}
section.ajankohtaista-uusimmat .col-wrap:first-child,
section.ajankohtaista-kaikki .col-wrap:first-child {
  display: block;
  padding-bottom: 24px;
  text-align: center;
}
section.ajankohtaista-uusimmat .col-wrap:nth-child(2),
section.ajankohtaista-kaikki .col-wrap:nth-child(2) {
  padding-bottom: 0;
  padding-top: 0;
}
section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1,
section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 {
  display: grid;
  grid-gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}
section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1 div.news-list-item,
section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 div.news-list-item {
  border: 1px solid #D3D3D3;
  border-radius: 4px;
}
section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1 div.news-list-item img,
section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 div.news-list-item img {
  aspect-ratio: 365/260;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  display: block;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1 div.news-list-item-content,
section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 div.news-list-item-content {
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 32px 24px;
}
section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1 div.news-list-item-content p.lyhyt-teksti,
section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 div.news-list-item-content p.lyhyt-teksti {
  min-height: 100px;
}
section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1 div.news-list-item-content a.btn,
section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 div.news-list-item-content a.btn {
  margin: 0;
}
section.ajankohtaista-uusimmat .col-wrap:last-child,
section.ajankohtaista-kaikki .col-wrap:last-child {
  display: block;
  padding-top: 20px;
  text-align: center;
}

section.ajankohtaista-kaikki .col-wrap:nth-child(2) {
  padding-bottom: 50px;
}

body.single-post main .col-wrap {
  display: block;
}
body.single-post main .col-1 {
  margin: 0 auto;
  max-width: 700px;
}
body.single-post main .col-1.news-list {
  max-width: 100%;
  padding-bottom: 50px;
}
body.single-post main .col-1 h1 {
  text-align: center;
}
body.single-post main .col-1 p.entry-time {
  color: #909090;
  font-size: 14px;
  font-size: 0.875rem;
  text-align: center;
}
body.single-post main .col-1 p.photo {
  text-align: center;
}

@media only screen and (max-width: 1000px) {
  section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1 div.news-list-item-content,
  section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 div.news-list-item-content {
    padding: 20px;
  }
}
@media only screen and (max-width: 800px) {
  section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1,
  section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 600px) {
  section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1,
  section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 {
    grid-template-columns: 1fr;
  }
  section.ajankohtaista-uusimmat .col-wrap:nth-child(2) .col-1 div.news-list-item-content p.lyhyt-teksti,
  section.ajankohtaista-kaikki .col-wrap:nth-child(2) .col-1 div.news-list-item-content p.lyhyt-teksti {
    min-height: 0;
  }
}
section.palvelut-logomeri {
  text-align: center;
}
section.palvelut-logomeri .wrap {
  max-width: 1200px;
}
section.palvelut-logomeri .col-wrap {
  display: block;
}
section.palvelut-logomeri h2 {
  margin-bottom: 32px;
}
section.palvelut-logomeri div.logo-wrap {
  /* display: grid;
  grid-gap: 48px 24px;
  grid-template-columns: repeat(8, 1fr); */
}
section.palvelut-logomeri div.logo-wrap a {
  display: inline-block;
  height: 60px;
  margin: 24px 12px;
  width: 120px;
}
section.palvelut-logomeri div.logo-wrap a.logo {
  transition: transform 0.3s ease-in-out;
}
section.palvelut-logomeri div.logo-wrap a.logo.scale-out {
  /* animation: logo-scale-out 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1; */
  display: none;
}
section.palvelut-logomeri div.logo-wrap a.logo.scale-in {
  /* animation: logo-scale-in 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1; */
  display: inline-block;
}
section.palvelut-logomeri img {
  display: block;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}

@keyframes logo-scale-in {
  from {
    display: inline-block;
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes logo-scale-out {
  from {
    transform: scale(1);
  }
  to {
    display: none;
    transform: scale(0);
  }
}
@keyframes shop-scale-in {
  from {
    display: inline-block;
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes shop-scale-out {
  from {
    opacity: 1;
  }
  to {
    display: none;
    opacity: 0;
  }
}
ul.filter-services {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}
ul.filter-services li {
  margin: 0 4px;
}
ul.filter-services li a {
  border: 2px solid #FAD9D9;
  border-radius: 30px;
  color: #0E0E0E;
  display: inline-block;
  font-weight: 600;
  padding: 7px 24px;
}
ul.filter-services li a:hover {
  background-color: #FFEAEA;
  border-color: #FFEAEA;
}
ul.filter-services li.selected a {
  background-color: #480125;
  border-color: #480125;
  color: #FAD9D9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section.liikkeet .col-wrap,
section.tarjoukset .col-wrap {
  display: block;
  padding: 24px 0 8px 0;
}
section.liikkeet .col-1,
section.tarjoukset .col-1 {
  max-width: 100%;
}
section.liikkeet .col-1 > h1,
section.tarjoukset .col-1 > h1 {
  text-align: center;
}
section.liikkeet .col-1 > ul,
section.tarjoukset .col-1 > ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}
section.liikkeet .col-1 > ul li,
section.tarjoukset .col-1 > ul li {
  margin: 0 4px 8px 4px;
}
section.liikkeet .col-1 > ul li a,
section.tarjoukset .col-1 > ul li a {
  border: 2px solid #FAD9D9;
  border-radius: 30px;
  color: #0E0E0E;
  display: inline-block;
  font-weight: 600;
  padding: 7px 24px;
}
section.liikkeet .col-1 > ul li a:hover,
section.tarjoukset .col-1 > ul li a:hover {
  background-color: #FFEAEA;
}
section.liikkeet .col-1 > ul li.selected a,
section.tarjoukset .col-1 > ul li.selected a {
  background-color: #480125;
  border-color: #480125;
  color: #FAD9D9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section.liikkeet div.stores-wrap,
section.liikkeet div.offers-wrap,
section.tarjoukset div.stores-wrap,
section.tarjoukset div.offers-wrap {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}
section.liikkeet div.stores-wrap div.store,
section.liikkeet div.stores-wrap div.offer,
section.liikkeet div.offers-wrap div.store,
section.liikkeet div.offers-wrap div.offer,
section.tarjoukset div.stores-wrap div.store,
section.tarjoukset div.stores-wrap div.offer,
section.tarjoukset div.offers-wrap div.store,
section.tarjoukset div.offers-wrap div.offer {
  border: 1px solid #D3D3D3;
  border-radius: 4px;
  padding: 28px 24px 32px 24px;
  transition: transform 0.3s ease-in-out;
}
section.liikkeet div.stores-wrap div.store.scale-out,
section.liikkeet div.stores-wrap div.offer.scale-out,
section.liikkeet div.offers-wrap div.store.scale-out,
section.liikkeet div.offers-wrap div.offer.scale-out,
section.tarjoukset div.stores-wrap div.store.scale-out,
section.tarjoukset div.stores-wrap div.offer.scale-out,
section.tarjoukset div.offers-wrap div.store.scale-out,
section.tarjoukset div.offers-wrap div.offer.scale-out {
  /* animation: shop-scale-out 0.1s normal forwards ease-in-out;
  animation-iteration-count: 1; */
  display: none;
}
section.liikkeet div.stores-wrap div.store.scale-in,
section.liikkeet div.stores-wrap div.offer.scale-in,
section.liikkeet div.offers-wrap div.store.scale-in,
section.liikkeet div.offers-wrap div.offer.scale-in,
section.tarjoukset div.stores-wrap div.store.scale-in,
section.tarjoukset div.stores-wrap div.offer.scale-in,
section.tarjoukset div.offers-wrap div.store.scale-in,
section.tarjoukset div.offers-wrap div.offer.scale-in {
  /* animation: shop-scale-in 0.3s normal forwards ease-in-out;
  animation-iteration-count: 1; */
  display: block;
}
section.liikkeet div.stores-wrap div.store > a > img,
section.liikkeet div.stores-wrap div.offer > a > img,
section.liikkeet div.offers-wrap div.store > a > img,
section.liikkeet div.offers-wrap div.offer > a > img,
section.tarjoukset div.stores-wrap div.store > a > img,
section.tarjoukset div.stores-wrap div.offer > a > img,
section.tarjoukset div.offers-wrap div.store > a > img,
section.tarjoukset div.offers-wrap div.offer > a > img {
  display: block;
  height: 157px;
  margin: 0 auto 50px auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  width: 248px;
}
section.liikkeet div.stores-wrap div.store div.text,
section.liikkeet div.stores-wrap div.offer div.text,
section.liikkeet div.offers-wrap div.store div.text,
section.liikkeet div.offers-wrap div.offer div.text,
section.tarjoukset div.stores-wrap div.store div.text,
section.tarjoukset div.stores-wrap div.offer div.text,
section.tarjoukset div.offers-wrap div.store div.text,
section.tarjoukset div.offers-wrap div.offer div.text {
  min-height: 300px;
  padding-bottom: 20px;
}
section.liikkeet div.stores-wrap div.store .btn,
section.liikkeet div.stores-wrap div.offer .btn,
section.liikkeet div.offers-wrap div.store .btn,
section.liikkeet div.offers-wrap div.offer .btn,
section.tarjoukset div.stores-wrap div.store .btn,
section.tarjoukset div.stores-wrap div.offer .btn,
section.tarjoukset div.offers-wrap div.store .btn,
section.tarjoukset div.offers-wrap div.offer .btn {
  margin: 0;
}

section.tarjoukset div.offer p:last-child {
  margin-top: 20px;
}

body.single-liike section.yksi-palsta {
  text-align: center;
}
body.single-liike section.yksi-palsta .col-wrap {
  padding: 20px 0;
}
body.single-liike section.yksi-palsta .col-wrap .col-1 {
  max-width: 100%;
}
body.single-liike section.yksi-palsta img.logo {
  display: block;
  height: 100px;
  margin-bottom: 20px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
body.single-liike section.kaksi-palstaa-teksti-kuva .col-wrap {
  align-items: initial;
}
body.single-liike section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 {
  flex-grow: 1;
}
body.single-liike section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 video {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
body.single-liike section.kaksi-palstaa-teksti-kuva .col-wrap .col-2 > img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
body.single-liike section.kaksi-palstaa-teksti-kuva.directions {
  padding-top: 0;
}
body.single-liike section.kaksi-palstaa-teksti-kuva.directions .col-wrap {
  align-items: center;
}
body.single-liike section.kaksi-palstaa-teksti-kuva.directions .col-wrap .col-2:last-child {
  background-color: #fff;
}
body.single-liike section.kaksi-palstaa-teksti-kuva.directions .col-wrap .col-2:last-child img {
  margin: 0 auto;
  max-width: 50%;
}
body.single-liike div.opening-times {
  display: flex;
  padding-top: 20px;
}
body.single-liike div.opening-times > div {
  width: 50%;
}
body.single-liike div.opening-times > div.opening-times-left {
  padding-right: 20px;
}

div.offers-wrap {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}
div.offers-wrap div.offer {
  border: 1px solid #D3D3D3;
  border-radius: 4px;
  padding: 28px 24px 32px 24px;
  position: relative;
  text-align: center;
}
div.offers-wrap div.offer p.offer-date {
  left: 0;
  position: absolute;
  top: 12px;
  width: 100%;
}
div.offers-wrap div.offer p.offer-date span {
  border-radius: 40px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-size: 0.875rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 700;
  line-height: 1;
  padding: 10px 24px;
}
div.offers-wrap div.offer p.offer-date.tarjous span {
  background-color: #D40E48;
}
div.offers-wrap div.offer p.offer-date.uutuus span {
  background-color: #F39200;
}
div.offers-wrap div.offer > a > img,
div.offers-wrap div.offer > img {
  display: block;
  height: 224px;
  margin: 0 auto 24px auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
div.offers-wrap div.offer div.text {
  min-height: 100px;
}
div.offers-wrap div.offer div.text img.logo {
  height: 30px;
  margin-bottom: 20px;
  width: auto;
}
div.offers-wrap div.offer div.text h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
div.offers-wrap div.offer div.text h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 20.8px;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
}
div.offers-wrap div.offer div.text p {
  margin-bottom: 10px;
}
div.offers-wrap div.offer div.text p:last-child {
  margin-bottom: 0;
}
div.offers-wrap div.offer .btn {
  margin: 0;
}

p.offer-date {
  margin-bottom: 0;
  text-transform: uppercase;
}

p.price {
  margin-bottom: 10px;
}

span.price {
  display: inline-block;
  font-family: "DM Serif Text", sans-serif;
  font-size: 42px;
  font-size: 2.625rem;
  line-height: 1.1;
}

img.offer-img {
  display: block;
  margin-bottom: 20px;
}

@media only screen and (max-width: 1200px) {
  section.liikkeet div.stores-wrap,
  section.tarjoukset div.offers-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 850px) {
  section.liikkeet div.stores-wrap,
  section.tarjoukset div.offers-wrap,
  body.single-liike section.yksi-palsta.offers div.offers-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 600px) {
  ul.filter-services,
  section.liikkeet ul.filter-shops,
  section.tarjoukset ul.filter-shops {
    display: block;
  }
  ul.filter-services li,
  section.liikkeet ul.filter-shops li,
  section.tarjoukset ul.filter-shops li {
    display: inline-block;
    margin: 0 4px 4px 4px;
  }
  section.liikkeet ul.filter-shops,
  section.tarjoukset ul.filter-shops {
    text-align: center;
  }
  body.single-liike div.opening-times {
    display: block;
    padding-top: 0;
  }
  body.single-liike div.opening-times > div {
    width: 100%;
  }
  body.single-liike div.opening-times > div.opening-times-left {
    padding-bottom: 30px;
  }
  section.liikkeet div.stores-wrap div.store div.text,
  section.liikkeet div.stores-wrap div.offer div.text,
  section.liikkeet div.offers-wrap div.store div.text,
  section.liikkeet div.offers-wrap div.offer div.text,
  section.tarjoukset div.stores-wrap div.store div.text,
  section.tarjoukset div.stores-wrap div.offer div.text,
  section.tarjoukset div.offers-wrap div.store div.text,
  section.tarjoukset div.offers-wrap div.offer div.text {
    min-height: 0;
  }
}
@media only screen and (max-width: 550px) {
  section.liikkeet div.stores-wrap,
  section.tarjoukset div.offers-wrap,
  body.single-liike section.yksi-palsta.offers div.offers-wrap {
    grid-template-columns: 1fr;
  }
  body.single-liike section.kaksi-palstaa-teksti-kuva.directions .col-wrap .col-2:last-child img {
    max-width: 80%;
  }
}
body.search-results article {
  margin-bottom: 20px;
}
body.search-results article h3 {
  margin-bottom: 0;
}
body.search-results article h3 a:hover {
  color: #EF8290;
}
body.search-results article span.search-permalink {
  color: #EF8290;
}
/*# sourceMappingURL=style.css.map */
