/*
Theme Name: Tasapaino 2k26
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tasapaino2k26
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Tasapaino2k26 is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%; }

body {
  margin: 0; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block; }

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline; }

audio:not([controls]) {
  display: none;
  height: 0; }

[hidden],
template {
  display: none; }

a {
  background-color: transparent; }

a:active,
a:hover {
  outline: 0; }

abbr[title] {
  border-bottom: 1px dotted; }

b,
strong {
  font-weight: bold; }

dfn {
  font-style: italic; }

h1 {
  font-size: 2em;
  margin: 0.67em 0; }

mark {
  background: #ff0;
  color: #000; }

small {
  font-size: 80%; }

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

img {
  border: 0; }

svg:not(:root) {
  overflow: hidden; }

figure {
  margin: 1em 40px; }

hr {
  box-sizing: content-box;
  height: 0; }

pre {
  overflow: auto; }

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0; }

button {
  overflow: visible; }

button,
select {
  text-transform: none; }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer; }

button[disabled],
html input[disabled] {
  cursor: default; }

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

input {
  line-height: normal; }

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0; }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto; }

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

legend {
  border: 0;
  padding: 0; }

textarea {
  overflow: auto; }

optgroup {
  font-weight: bold; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

td,
th {
  padding: 0; }

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
  color: #404040;
  font-family: sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5; }

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both; }

p {
  margin-bottom: 1.5em; }

dfn,
cite,
em,
i {
  font-style: italic; }

blockquote {
  margin: 0 1.5em; }

address {
  margin: 0 0 1.5em; }

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em; }

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem; }

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help; }

mark,
ins {
  background: #fff9c0;
  text-decoration: none; }

big {
  font-size: 125%; }

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box; }

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit; }

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */ }

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: ""; }

blockquote,
q {
  quotes: "" ""; }

hr {
  border: 0;
  margin-top: 3em;
  margin-bottom: 3em;
  height: 3px;
  background-color: #000;
  display: block; }

ul,
ol {
  margin: 0 0 1.5em 3em; }

ul {
  list-style: disc; }

ol {
  list-style: decimal; }

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em; }

dt {
  font-weight: bold; }

dd {
  margin: 0 1.5em 1.5em; }

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */ }

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */ }

table {
  margin: 0 0 1.5em;
  width: 100%; }

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); }

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); }

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  border-color: #aaa #bbb #bbb;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); }

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 {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px; }

select {
  border: 1px solid #ccc; }

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 {
  color: #111; }

textarea {
  width: 100%; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: royalblue; }

a:visited {
  color: purple; }

a:hover,
a:focus,
a:active {
  color: midnightblue; }

a:focus {
  outline: thin dotted; }

a:hover,
a:active {
  outline: 0; }

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  clear: both;
  display: block;
  float: left;
  width: 100%; }

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0; }

.main-navigation li {
  float: left;
  position: relative; }

.main-navigation a {
  display: block;
  text-decoration: none; }

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 1.5em;
  left: -999em;
  z-index: 99999; }

.main-navigation ul ul ul {
  left: -999em;
  top: 0; }

.main-navigation ul ul a {
  width: 200px; }

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto; }

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  left: 100%; }

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block; }

@media screen and (min-width: 850px) {
  .menu-toggle {
    display: none; }

  .main-navigation ul {
    display: block; } }
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden; }

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%; }

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%; }

/*--------------------------------------------------------------
# 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;
  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; }

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em; }

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

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto; }

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed; }

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both; }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em; }

/* Make sure select elements fit in widgets. */
.widget select {
  max-width: 100%; }

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block; }

.hentry {
  margin: 0 0 1.5em; }

.byline,
.updated:not(.published) {
  display: none; }

.single .byline,
.group-blog .byline {
  display: inline; }

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0; }

.page-links {
  clear: both;
  margin: 0 0 1.5em; }

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word; }

.bypostauthor {
  display: block; }

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none; }

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block; }

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0; }

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%; }

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%; }

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto; }

.wp-caption .wp-caption-text {
  margin: 0.8075em 0; }

.wp-caption-text {
  text-align: center; }

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em; }

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%; }

.gallery-columns-2 .gallery-item {
  max-width: 50%; }

.gallery-columns-3 .gallery-item {
  max-width: 33.33%; }

.gallery-columns-4 .gallery-item {
  max-width: 25%; }

.gallery-columns-5 .gallery-item {
  max-width: 20%; }

.gallery-columns-6 .gallery-item {
  max-width: 16.66%; }

.gallery-columns-7 .gallery-item {
  max-width: 14.28%; }

.gallery-columns-8 .gallery-item {
  max-width: 12.5%; }

.gallery-columns-9 .gallery-item {
  max-width: 11.11%; }

.gallery-caption {
  display: block; }

/*
  Simple Grid
  Project Page - http://thisisdallas.github.com/Simple-Grid/
  Author - Dallas Bass
  Site - http://dallasbass.com
*/
[class*='grid'],
[class*='col-'],
[class*='mobile-'],
.grid:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

[class*='col-'] {
  float: left;
  min-height: 1px;
  padding-right: 20px;
  /* column-space */
  padding-left: 20px; }

[class*='col-'] [class*='col-']:last-child {
  padding-right: 0; }

.grid {
  width: 100%;
  max-width: 1274px;
  min-width: 748px;
  /* when using padded grid on ipad in portrait mode, width should be viewport-width - padding = (768 - 20) = 748. actually, it should be even smaller to allow for padding of grid containing element */
  margin: 0 auto;
  overflow: hidden; }

.grid:after {
  content: "";
  display: table;
  clear: both; }

.grid-pad {
  padding-top: 20px;
  padding-left: 20px;
  /* grid-space to left */
  padding-right: 0;
  /* grid-space to right: (grid-space-left - column-space) e.g. 20px-20px=0 */ }

.push-right {
  float: right; }

/* Content Columns */
.col-1-1 {
  width: 100%; }

.col-2-3, .col-8-12 {
  width: 66.66%; }

.col-1-2, .col-6-12 {
  width: 50%; }

.col-1-3, .col-4-12 {
  width: 33.33%; }

.col-1-4, .col-3-12 {
  width: 25%; }

.col-1-5 {
  width: 20%; }

.col-1-6, .col-2-12 {
  width: 16.667%; }

.col-1-7 {
  width: 14.28%; }

.col-1-8 {
  width: 12.5%; }

.col-1-9 {
  width: 11.1%; }

.col-1-10 {
  width: 10%; }

.col-1-11 {
  width: 9.09%; }

.col-1-12 {
  width: 8.33%; }

/* Layout Columns */
.col-11-12 {
  width: 91.66%; }

.col-10-12 {
  width: 83.333%; }

.col-9-12 {
  width: 75%; }

.col-5-12 {
  width: 41.66%; }

.col-7-12 {
  width: 58.33%; }

/* Pushing blocks */
.push-2-3, .push-8-12 {
  margin-left: 66.66%; }

.push-1-2, .push-6-12 {
  margin-left: 50%; }

.push-1-3, .push-4-12 {
  margin-left: 33.33%; }

.push-1-4, .push-3-12 {
  margin-left: 25%; }

.push-1-5 {
  margin-left: 20%; }

.push-1-6, .push-2-12 {
  margin-left: 16.667%; }

.push-1-7 {
  margin-left: 14.28%; }

.push-1-8 {
  margin-left: 12.5%; }

.push-1-9 {
  margin-left: 11.1%; }

.push-1-10 {
  margin-left: 10%; }

.push-1-11 {
  margin-left: 9.09%; }

.push-1-12 {
  margin-left: 8.33%; }

@media handheld, only screen and (max-width: 767px) {
  .grid {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    /* grid-space to left */
    padding-right: 10px;
    /* grid-space to right: (grid-space-left - column-space) e.g. 20px-10px=10px */ }

  [class*='col-'] {
    width: auto;
    float: none;
    margin: 10px 0;
    padding-left: 0;
    padding-right: 10px;
    /* column-space */ }

  [class*='col-'] [class*='col-'] {
    padding-right: 0; }

  /* Mobile Layout */
  [class*='mobile-col-'] {
    float: left;
    margin: 0 0 10px;
    padding-left: 0;
    padding-right: 10px;
    /* column-space */
    padding-bottom: 0; }

  .mobile-col-1-1 {
    width: 100%; }

  .mobile-col-2-3, .mobile-col-8-12 {
    width: 66.66%; }

  .mobile-col-1-2, .mobile-col-6-12 {
    width: 50%; }

  .mobile-col-1-3, .mobile-col-4-12 {
    width: 33.33%; }

  .mobile-col-1-4, .mobile-col-3-12 {
    width: 25%; }

  .mobile-col-1-5 {
    width: 20%; }

  .mobile-col-1-6, .mobile-col-2-12 {
    width: 16.667%; }

  .mobile-col-1-7 {
    width: 14.28%; }

  .mobile-col-1-8 {
    width: 12.5%; }

  .mobile-col-1-9 {
    width: 11.1%; }

  .mobile-col-1-10 {
    width: 10%; }

  .mobile-col-1-11 {
    width: 9.09%; }

  .mobile-col-1-12 {
    width: 8.33%; }

  /* Layout Columns */
  .mobile-col-11-12 {
    width: 91.66%; }

  .mobile-col-10-12 {
    width: 83.333%; }

  .mobile-col-9-12 {
    width: 75%; }

  .mobile-col-5-12 {
    width: 41.66%; }

  .mobile-col-7-12 {
    width: 58.33%; }

  .hide-on-mobile {
    display: none !important;
    width: 0;
    height: 0; } }
/* SASS Magic */
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-sans-latin-italic-100-1000.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-sans-latin-normal-100-1000.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin */
@font-face {
  font-family: 'DM Serif Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-serif-text-latin-italic-400.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin */
@font-face {
  font-family: 'DM Serif Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-serif-text-latin-normal-400.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face {
  font-family: 'DM Serif Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-serif-text-latin-ext-italic-400.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin-ext */
@font-face {
  font-family: 'DM Serif Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-serif-text-latin-ext-normal-400.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-sans-latin-ext-normal-100-1000.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/wp-content/themes/tasapaino2k26/fonts/dm-sans-latin-ext-italic-100-1000.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Tools */
.tpadding {
  padding-top: 40px; }

.padding {
  padding-bottom: 40px; }

.tbpadding {
  padding-bottom: 40px;
  padding-top: 40px; }

.tmargin {
  margin-top: 40px; }

.margin {
  margin-bottom: 40px; }

.tbmargin {
  margin-top: 40px;
  margin-bottom: 40px; }

.center {
  text-align: center; }

.userselect {
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  /* No support for these yet, use at own risk */
  -o-user-select: none;
  user-select: none; }

.caps {
  text-transform: uppercase; }

.desktoponly {
  display: block; }

.mobileonly {
  display: none !important; }

.topspace {
  width: 100%;
  height: 150px;
  -webkit-user-select: none;
  /* Chrome all / Safari all */
  -moz-user-select: none;
  /* Firefox all */
  -ms-user-select: none;
  /* IE 10+ */
  /* No support for these yet, use at own risk */
  -o-user-select: none;
  user-select: none; }

.nomargin {
  margin: 0; }

.larger {
  font-size: 120%; }

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0; }

.clearfix {
  display: inline-block; }

/* start commented backslash hack \*/
* html .clearfix {
  height: 1%; }

.clearfix {
  display: block; }

/* close commented backslash hack */
html {
  box-sizing: border-box;
  /* This accounts for the height of your header + extra breathing room */
  scroll-padding-top: 100px;
  /* Optional: Makes the scroll look fancy instead of instant */
  scroll-behavior: smooth; }

*, *:before, *:after {
  -webkit-font-smoothing: subpixel-antialiased;
  /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
  box-sizing: inherit; }

body {
  background: #fff;
  font: 18px 'DM Sans', sans-serif;
  font-weight: normal;
  color: #0A0A0A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-size: contain;
  background-position-y: -40vh;
  background-repeat: no-repeat; }

strong {
  font-weight: bold; }

h1, h2, h3, h4 {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3; }

h2 {
  font-size: 48px; }

h3 {
  font-size: 36px; }

h4 {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal; }

h2 svg {
  color: #009768; }

.bg-gray {
  background-color: #F8FAFC; }

.maincolor {
  color: #009768; }

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

blockquote {
  margin-bottom: 0.5em;
  font-size: 120%; }

a, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none; }

.button, .button:hover, .button:active, .button:visited, .menubutton a,
.menubutton a:hover, .menubutton a.visited, .menubutton a:active {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  text-decoration: none;
  text-shadow: none;
  border: none;
  display: inline-block; }

.button:hover {
  background: none; }

.menubutton a, .menubutton a:hover, .menubutton a.visited, .menubutton a:active {
  border: 2px solid; }

.menubutton a:hover {
  background: #fff;
  color: #000;
  border: 2px solid #fff; }

.outline a, .outline a:hover, .outline a:visited, .outline a:active {
  background: none;
  border: 2px solid #fff; }

.outline a:hover {
  background: #fff;
  color: #000; }

button, input[type="button"], input[type="reset"], input[type="submit"], button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
  text-shadow: none;
  box-shadow: none; }

.button, .button:hover, .button:active, .button:visited {
  color: #D2FFF1; }

.button {
  background-color: #009768;
  color: #D2FFF1;
  border-radius: 40px;
  padding: 14px 24px;
  box-shadow: none;
  display: inline-flex;
  margin-right: 10px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  line-height: 1.5; }
  .button:hover {
    background-color: #007e56;
    box-shadow: none;
    border: none; }
  .button:active {
    background-color: #006445;
    box-shadow: none;
    border: none; }
  .button__text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #332500;
    white-space: nowrap;
    font-variation-settings: 'opsz' 14; }
  .button__icon {
    width: 13.414px;
    height: 13.414px;
    flex-shrink: 0; }
    .button__icon svg {
      display: block;
      width: 100%;
      height: 100%;
      fill: #332500; }

li .button a {
  color: #D2FFF1; }

.button-alt {
  background: #FFB800;
  color: #332500 !important; }
  .button-alt:hover {
    background-color: #e6a600; }
  .button-alt:active {
    background-color: #cc9300; }

.button-wide {
  width: 100%;
  max-width: 500px;
  background: #583D56;
  color: #F2D6F0 !important; }
  .button-wide:hover {
    background-color: #493347; }
  .button-wide:active {
    background-color: #3a2839; }

.intro {
  margin-bottom: 40px; }
  .intro p {
    font-size: 120%; }

nav {
  display: flex;
  align-self: center;
  align-content: center;
  justify-self: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  z-index: 999;
  margin: 0 auto;
  background-color: #fff; }

.main-navigation {
  text-align: center;
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  max-width: 1274px;
  font-family: 'DM Sans', sans-serif; }
  .main-navigation .additional {
    margin-left: auto;
    align-items: center;
    display: flex;
    width: 500px;
    gap: 10px; }
    .main-navigation .additional a, .main-navigation .additional button {
      text-wrap: nowrap; }
    .main-navigation .additional .button {
      margin: 0px; }
    .main-navigation .additional svg {
      margin-bottom: -5px; }
  .main-navigation ul {
    display: flex;
    flex-direction: row-reverse; }

a.logo img {
  width: 100%;
  max-width: 90px; }

.main-navigation li {
  float: none;
  display: inline-block;
  padding: 0px 10px; }

.current_page_item a {
  color: #009768; }

.nav-menu {
  display: flex;
  flex-direction: row-reverse; }

.hero, .hero-sub {
  display: flex;
  height: 60vh;
  min-height: 600px;
  color: #fff;
  border-right: none;
  border-left: none;
  position: relative;
  z-index: 1;
  padding: 80px;
  border-radius: 40px;
  background-position: center center;
  background-size: cover;
  align-items: end; }
  .hero span, .hero-sub span {
    display: inline-block;
    max-width: 800px; }
  .hero span h1, .hero-sub span h1 {
    font-size: 92px;
    margin-bottom: 20px;
    line-height: 1.0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.21); }

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.15); }

.scrollcontainer {
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  max-width: none;
  padding-left: 5%;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */ }
  .scrollcontainer::-webkit-scrollbar {
    display: none; }

.scrollcontainer a:nth-child(4n + 1) .palikka {
  background-color: #FFFBEA; }

.scrollcontainer a:nth-child(4n + 2) .palikka {
  background-color: #C5FCE4; }

.scrollcontainer a:nth-child(4n + 3) .palikka {
  background-color: #F2D6F0; }

.scrollcontainer a:nth-child(4n + 4) .palikka {
  background-color: #FFF1F2; }

/* 1. The Wrapper (Handles the scroll spacing and width) */
.palikka-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  /* Crucial for the inner height logic */
  min-width: 295px;
  max-width: 295px;
  margin-right: 20px;
  /* Space between cards */
  white-space: normal; }

/* 2. The Card (Handles the background, border-radius, and flex layout) */
.palikka {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Fill the 295px wrapper */
  min-height: 320px;
  padding: 10px 25px;
  border-radius: 10px;
  overflow: hidden;
  /* Ensures content doesn't bleed past corners */ }

/* 3. Typography & Spacing */
.palikka h4 {
  margin-bottom: 0px; }

.palikka-kuvaus {
  font-size: 16px;
  line-height: 1.4;
  flex-grow: 1;
  margin-bottom: 10px; }

.hintatieto {
  margin-top: auto;
  transform: translateY(-10px);
  display: block;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap; }

.scrollcontainer-alt a:nth-child(4n + 1) .palikka {
  background-color: #F2D6F0; }

.scrollcontainer-alt a:nth-child(4n + 2) .palikka {
  background-color: #FFF2F8; }

.scrollcontainer-alt a:nth-child(4n + 3) .palikka {
  background-color: #C5FCE4; }

.scrollcontainer-alt a:nth-child(4n + 4) .palikka {
  background-color: #FBF5FF; }

.hscroll {
  display: block;
  width: 100%;
  margin-top: 40px;
  max-width: 40px;
  position: relative;
  bottom: 20px;
  left: 50%;
  transform: translateX(-20px);
  opacity: 0.4; }

.tapahtumakortti {
  width: 100%;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  -webkit-box-shadow: 1px 2px 18px 5px rgba(0, 0, 0, 0.05);
  box-shadow: 1px 2px 18px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px; }
  .tapahtumakortti .tapahtuma-img {
    width: 100%;
    height: 236px;
    background-size: cover;
    background-position: center; }
  .tapahtumakortti .tapahtuma-info {
    padding: 15px 10% 15px 5%; }
    .tapahtumakortti .tapahtuma-info h4 {
      margin-bottom: 0px;
      margin-top: 10px;
      font-size: 20px; }
    .tapahtumakortti .tapahtuma-info p {
      font-size: 16px; }
    .tapahtumakortti .tapahtuma-info .button {
      width: 100%; }
    .tapahtumakortti .tapahtuma-info .tapahtuma-details {
      font-weight: bold;
      font-size: 16px; }
    .tapahtumakortti .tapahtuma-info svg {
      margin-bottom: -6px;
      color: #FF758F; }
    .tapahtumakortti .tapahtuma-info .unit {
      display: inline-block;
      padding-right: 10px;
      margin-bottom: 5px; }
    .tapahtumakortti .tapahtuma-info .button {
      margin-top: 20px; }

.lukkari-paiva {
  background-color: #fff;
  width: 100%;
  margin: 0px 0px 20px 0px;
  padding: 20px 20px 40px 20px;
  border-radius: 12px; }
  .lukkari-paiva h4 {
    font-size: 22px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 10px; }
  .lukkari-paiva hr, .lukkari-paiva ul {
    margin: 0; }
  .lukkari-paiva hr {
    background: #D9D9D9;
    height: 1px; }
  .lukkari-paiva ul {
    list-style: none;
    padding: 0;
    padding-top: 20px; }

.tunti-esittely, .hoito-esittely {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  width: 100%; }
  .tunti-esittely .tunti-teksti, .tunti-esittely .hoito-teksti, .hoito-esittely .tunti-teksti, .hoito-esittely .hoito-teksti {
    flex: 0 0 40%; }
  .tunti-esittely .tunti-kuva-wrap, .tunti-esittely .hoito-kuva-wrap, .hoito-esittely .tunti-kuva-wrap, .hoito-esittely .hoito-kuva-wrap {
    flex: 0 0 55%;
    display: flex;
    justify-content: flex-end; }
  .tunti-esittely .tunti-kuva, .tunti-esittely .hoito-kuva, .hoito-esittely .tunti-kuva, .hoito-esittely .hoito-kuva {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 40px; }
  .tunti-esittely.is-reversed, .hoito-esittely.is-reversed {
    flex-direction: row-reverse; }
    .tunti-esittely.is-reversed .tunti-kuva-wrap, .tunti-esittely.is-reversed .hoito-kuva-wrap, .hoito-esittely.is-reversed .tunti-kuva-wrap, .hoito-esittely.is-reversed .hoito-kuva-wrap {
      justify-content: flex-start; }
  @media (max-width: 767px) {
    .tunti-esittely, .hoito-esittely {
      flex-direction: column !important;
      gap: 20px; }
      .tunti-esittely .tunti-teksti, .tunti-esittely .tunti-kuva-wrap, .tunti-esittely .hoito-teksti, .tunti-esittely .hoito-kuva-wrap, .hoito-esittely .tunti-teksti, .hoito-esittely .tunti-kuva-wrap, .hoito-esittely .hoito-teksti, .hoito-esittely .hoito-kuva-wrap {
        flex: 0 0 100%; }
      .tunti-esittely .tunti-kuva-wrap, .tunti-esittely .hoito-kuva-wrap, .hoito-esittely .tunti-kuva-wrap, .hoito-esittely .hoito-kuva-wrap {
        justify-content: center;
        order: 2; } }

.testimonial {
  padding: 15px 10% 15px 5%;
  background-color: #D2FFF1;
  border-radius: 12px;
  min-height: 250px; }
  .testimonial svg {
    color: #07434F; }

.hero-sub {
  height: 45vh;
  min-height: 450px;
  background-size: cover;
  background-position: center center; }
  .hero-sub .overlay {
    background: rgba(0, 0, 0, 0.25); }

#yhteys {
  background-color: #D2FFF1;
  padding: 40px 0px;
  color: #07434F; }
  #yhteys p {
    max-width: 500px; }
  #yhteys .deets {
    margin: 15px 0px; }
  #yhteys svg {
    margin-bottom: -5px; }

.contact-form {
  padding: 20px 40px;
  background-color: #fff;
  min-height: 400px; }
  .contact-form h4 {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    margin-bottom: 0;
    margin-top: 10px;
    padding: 0; }

.forminator-edit-module {
  display: none; }

label, input {
  display: block;
  width: 100%;
  min-width: 400px;
  clear: both;
  font-weight: normal !important;
  font-size: 16px !important; }

input {
  margin-bottom: 10px !important; }

.forminator-button-submit {
  width: 100% !important;
  border-radius: 40px !important;
  margin-top: 20px !important; }

.forminator-col {
  padding-left: 0px !important; }

input, textarea {
  padding: 15px !important; }

.footernav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* You must adjust this height based on your font-size/line-height */
  max-height: 200px; }
.footernav li {
  padding-bottom: 20px; }

@media handheld, only screen and (min-width: 851px) {
  nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 0px; }

  body {
    margin-top: 94px; } }
@media handheld, only screen and (max-width: 1050px) {
  .main-navigation {
    zoom: 1; }
    .main-navigation li {
      padding: 0px 3px; }
    .main-navigation .additional {
      display: none; }

  .hero .logo, .hero-sub .logo, .hero-sub .logo {
    width: 130px; } }
@media handheld, only screen and (max-width: 850px) {
  body {
    font-size: 14px; }

  h2 {
    font-size: 32px;
    margin-bottom: calc(40px / 2); }

  h3 {
    font-size: 24px;
    margin-bottom: calc(40px / 2); }

  .button {
    width: 100%;
    font-size: 16px !important; }

  .palikka p, .tapahtumakortti p {
    font-size: 16px; }
  .palikka h4, .tapahtumakortti h4 {
    font-size: 20px; }
  .palikka .tapahtuma-info .tapahtuma-details .unit, .tapahtumakortti .tapahtuma-info .tapahtuma-details .unit {
    display: block; }

  .testimonial {
    min-height: none; }
    .testimonial p {
      font-size: 18px; }

  .contact-form {
    padding: 10px 20px; }

  label, input {
    min-width: 250px; }

  .tpadding {
    padding-top: calc(40px / 2); }

  .padding {
    padding-bottom: calc(40px / 2); }

  .tbpadding {
    padding-bottom: calc(40px / 2);
    padding-top: calc(40px / 2); }

  .tmargin {
    margin-top: calc(40px / 2); }

  .margin {
    margin-bottom: calc(40px / 2); }

  .tbmargin {
    margin-top: calc(40px / 2);
    margin-bottom: calc(40px / 2); }

  .flex-align {
    display: block; }

  .mobileonly {
    display: inherit !important; }

  .hero, .hero-sub {
    height: 550px;
    text-align: center;
    padding: 40px 20px;
    min-height: 0; }
    .hero .overlay, .hero-sub .overlay {
      background: rgba(0, 0, 0, 0.2); }
    .hero .logo, .hero-sub .logo {
      width: 110px; }
    .hero span h1, .hero-sub span h1 {
      font-size: 52px; }

  .hero-sub {
    height: 350px;
    min-height: 0; }
    .hero-sub .overlay {
      background: rgba(0, 0, 0, 0.2); }
    .hero-sub .logo {
      width: 110px; }
    .hero-sub .heroteksti {
      top: 55%; }

  .main-navigation {
    zoom: 1;
    width: 100%;
    justify-content: space-between;
    padding-left: 20px; }

  .main-navigation ul {
    display: none; }

  .menu-toggle, .main-navigation.toggled ul, .menu-toggle:hover {
    justify-self: flex-end;
    position: absolute;
    right: 10px;
    background: none;
    font-size: 18px;
    padding: 5px 6px;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    text-shadow: none;
    color: #000; }

  .toggled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    height: 100%;
    padding-left: 20px;
    padding-top: 10px;
    z-index: 999;
    -webkit-transition: all 50ms ease-in-out;
    -moz-transition: all 50ms ease-in-out;
    -o-transition: all 50ms ease-in-out;
    transition: all 50ms ease-in-out;
    align-items: flex-start; }
    .toggled .menu-toggle {
      right: 20px;
      top: 30px; }
    .toggled ul {
      margin-top: 25%;
      display: flex;
      align-items: row-reverse; }
    .toggled ul li {
      font-size: 22px;
      width: 100%;
      text-align: center;
      float: left;
      padding: 10px 15px; }
    .toggled .outline a {
      background: #000;
      border: 2px solid #000; }
    .toggled .menubutton a, .toggled .menubutton a:hover, .toggled .outline a, .toggled .outline a:hover {
      width: 100%; }
    .toggled .menu-toggle, .toggled .main-navigation.toggled ul, .toggled .menu-toggle:hover {
      color: #000; }

  footer p {
    font-size: 14px; }

  footer svg {
    width: 40px;
    height: 40px; }

  .footernav ul {
    margin-left: 0;
    padding-left: 0;
    max-height: none; }

  .sizer {
    width: 100%;
    padding: 0px 40px 20px 0px; }

  .lounasboksi {
    border: 2px solid #000;
    padding: 15px; } }

/*# sourceMappingURL=style.css.map */
