/*!
Theme Name: Finlandiatalo
Theme URI: http://underscores.me/
Author: Kuuki Marketing Lab Oy
Author URI: https://kuuki.fi
Description: Finlandiatalon WordPress teema
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: finlandiatalo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

Finlandiatalo is based on Underscores https://underscores.me/, (C) 2012-2020 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 https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! 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;
	-webkit-text-size-adjust: 100%;
}

/**
 * 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;
	height: 0;
	overflow: visible;
}

/**
 * 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;
	font-size: 1em;
}

/* 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;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * 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;
	font-size: 1em;
}

/**
 * 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;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

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

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

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	appearance: button;
	-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;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * 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;
	padding: 0;
}

/**
 * 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"] {
	appearance: textfield;
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * 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;
	font: inherit;
}

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

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

@font-face {
    font-family: 'Karl';
    src: url('fonts/Karl-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Karl';
    src: url('fonts/Karl-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
	--white: #ffffff;

	--light-blue: #DFF2FD;
	--medium-blue: #86C2EB;
	--dark-blue: #00285B;

	--light-turquoise: #d6ecef;
	--medium-turquoise: #addadf;
	--dark-turquoise: #00a6a7;

	--light-black: #f7f7f7;
	--medium-black: #d5d5d5;
	--dark-black: #1b1b1a;

	--light-green: #d6eee4;
	--medium-green: #89cdb3;
	--dark-green: #006b26;

	--light-brown: #ebd7c9;
	--medium-brown: #d7ad8d;
	--dark-brown: #82300b;

	--light-yellow: #fff7e5;
	--medium-yellow: #ffecb4;
	--dark-yellow: #ffc227;

	--light-purple: #e3d8db;
	--medium-purple: #ad8792;
	--dark-purple: #5c1f31;

	--light-red: #ffe1e3;
	--medium-red: #ffa1a7;
	--dark-red: #f60031;

	--light-white: #fff;
	--medium-white: #fff;
	--dark-white: #fff;

	--heroheightds: 570px;
	--heroheightmb: 320px;
	--neworder: 'new-order', sans-serif;
	--opensans: 'Open Sans', sans-serif;
	--padding-top-large: 60px;
	--padding-top-medium: 30px;
	--padding-top-none: 0px;
	--padding-bottom-large: 60px;
	--padding-bottom-medium: 30px;
	--padding-bottom-none: 0px;

	--bs-accordion-bg: transparent;
	--bs-body-bg: transparent;
}

body,
button,
input,
select,
optgroup,
textarea {
	font-size: 1rem;
	line-height: 1.7;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
	font-family: var(--opensans);
	font-weight: 400;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	text-size-adjust: none;
	background: var(--white);
	color: var(--dark-black);
}

.site {
	overflow-x: hidden;
}

h1 {
	font-size: 35px;
}

h2 {
	font-size: 28px;
}

h3,
.search-filter-results h2,
.site-footer h2 {
	font-size: 22px;
}

.search-filter-results h2 {
	margin-bottom: 0;
}

h1::before {
	content: '';
	width: 42px;
	height: 9px;
	position: absolute;
	margin-left: 2px;
	margin-top: -20px;
}

.block-tilat h1::before {
	content: '';
	width: 42px;
	height: 9px;
	position: absolute;
	margin-left: 3px;
	margin-top: -20px;
}

.block-tilat h1 {
	text-transform: uppercase;
}

h1.entry-title {
	margin-top: 0;
}

h1.entry-title::before {
	display: none;
}

.block-articel-hero h1.entry-title::after {
	content: '';
	background: url(/wp-content/themes/finlandiatalo/svg/spacer.svg);
	background-repeat: no-repeat;
	position: absolute;
	right: -70px;
	height: calc(100% - 15px);
	width: 55px;
	top: 10px;
}

h2.section-title {
	margin-top: 25px;
}

h2.section-title::before {
	content: '';
	width: 26px;
	height: 6px;
	position: absolute;
	margin-left: 2px;
	margin-top: -20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--neworder);
	clear: both;
	margin-bottom: 15px;
	line-height: 1.25;
	font-style: normal;
	font-weight: 500;
	position: relative;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item h4.mega-block-title {
	font-family: var(--neworder);
	clear: both;
	font-style: normal;
	font-weight: 500;
	position: relative;
	margin-bottom: 5px;
}

.beamer-menu-container {
	width:100%;
	height:40px;
	background-color:var(--dark-blue);
}

#mega-menu-item-11523 .search-form input[type="search"],
#mega-menu-item-11527 .search-form input[type="search"]{
	width:calc(100% - 80px);
	float:left;
}

.justify-content-center h2.section-title::before {
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
}

p {
	font-family: var(--opensans);
	font-size: 16px;
	line-height: 28px;
	margin-bottom: 1.5em;
}

.new-order,
.new-order p {
	font-family: var(--neworder);
}

.button {
	border: 1px solid var(--dark-blue);
	background: var(--dark-blue);
    color: var(--white)!important;
    line-height: 1;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none!important;
    transition: all 400ms cubic-bezier(.19,1,.22,1);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	text-align: center;
}

.button:hover,
.dark-bg .button:hover {
	text-decoration: none !important;
	border: 1px solid var(--medium-blue);
	background: var(--medium-blue);
	color: var(--dark-blue)!important;
}

.dark-bg .button,
.ftalodarkblue .button {
	border: 1px solid var(--white);
	background: var(--white);
	color: var(--dark-blue)!important;
}


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

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

label {
	display: block;
}

/* Links
--------------------------------------------- */
a {
	color: var(--dark-black);
	text-decoration: none;
	position: relative;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.entry-content h1 a,
.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.entry-content h5 a,
.entry-content h6 a {
	text-decoration: none;
}

.entry-content a {
	position: relative;
	text-decoration: underline;
	text-decoration-color: var(--medium-black);
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

.entry-content h1:first-child {
	margin-top: 0;
}

a:hover,
a:focus,
a:active {
	color: var(--dark-black);
	text-decoration: underline !important;
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
}

a:focus {
	outline: thin dotted;
}

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

.dark-bg a {
	color: var(--white) !important;
}

a.global-link {
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 2px solid var(--dark-black);
	background: var(--dark-black);
	line-height: 1;
	padding: 10px;
	color: var(--white);
	font-weight: 600;
	transition: all 0.2s ease-in-out;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border: 2px solid var(--dark-black);
	background: var(--white);
	line-height: 1;
	padding: 10px;
	color: var(--dark-black);
}

/* button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {} */

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: var(--dark-black);
	border: 2px solid var(--medium-black);
	border-radius: 0px;
	padding: 4px;
	width: 100%
}

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.site-main {
	padding-top: 0px;
	overflow: hidden;
}

.site-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	max-width: 1340px;
	position: relative;
	z-index: 15;
	padding-left: 15px;
	padding-right: 15px;
	transition: all 0.3s ease-in-out;
}

.site-header .site-branding {
	margin: 10px 0;
}

/* Navigation
--------------------------------------------- */
/* Navigation
--------------------------------------------- */
/*.nav-container {
	position: relative;
	width: 100%;
	background-color: var(--white);
	z-index: 3;
	transition: all .3s ease-in-out;
	padding-top: 20px;
	padding-bottom: 20px;
}

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

.main-navigation ul li {
	position: relative;
}

.main-navigation a {
	color: var(--dark-black);
	text-decoration: none;
}

.main-navigation ul li.button a {
	color: var(--white);
}

.main-navigation li.is-external>a:after {
	content: '';
	background-image: url(svg/external-link.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	display: inline-flex;
	width: 15px;
	height: 15px;
	margin-left: 7px;
	margin-right: 0;
	position: relative;
}

.main-navigation ul ul {
	display: none;
	margin-top: 0px;
	margin-left: 10px;
}

.main-navigation ul ul ul {
	display: none;
	margin-left: 25px;
}

.main-navigation ul.sub-menu li a:hover {
	color: var(--dark-black);
}

.main-navigation ul.sub-menu.has-sub-menu ul.sub-menu {
	position: absolute;
	top: 10px;
	left: 170px;
}

button.dropdown-toggle,
button.menu-button {
	background-color: transparent;
	border: 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	content: "";
	z-index: 99;
	position: relative;
	top: 5px;
	border-radius: 0;
	padding: 0 10px;
}

button.dropdown-toggle {
	position: absolute;
	right: 0px;
	padding: 0px;
	margin: 0;
}

.menu-button:before,
.menu-button.toggled-on:before {
	margin-right: 5px;
}

.no-js .menu-button {
	display: none;
} */


/*! Mobile menu */

/*@media (max-width: 991px) {

	.site-header-menu .main-navigation {
		opacity: 0;
		visibility: hidden;
		position: fixed;
		pointer-events: none;
		transition: all 0.3s ease-in-out;
		-webkit-transform: translateY(-100vh);
		-ms-transform: translateY(-100vh);
		transform: translateY(-100vh);
		left: 0;
		right: 0;
		background-color: var(--dark-blue);
		height: 100vh;
		margin: 0;
		top: 120px;
		overflow: auto;
		padding-bottom: 75px;
		-webkit-overflow-scrolling: touch;
		z-index: 9;
	}

	.site-header-menu.toggled-on .main-navigation {
		pointer-events: none;
		transition: all 0.3s ease-in-out;
		visibility: visible;
		opacity: 1;
		pointer-events: all;
		-webkit-transform: translateY(0px);
		-ms-transform: translateY(0px);
		transform: translateY(0px);
	}

	.main-navigation .menu-items {
		padding: 20px 20px 20px 20px;
	}

	.main-navigation ul ul {
		margin-top: 10px;
		margin-bottom: 30px;
	}

	.main-navigation ul {
		font-size: 20px;
		font-family: var(--headingfont);
	}

	.main-navigation ul li {
		margin-bottom: 10px;
	}

	.main-navigation ul.sub-menu li a,
	.main-navigation ul li a,
	a:not([href]):not([class]),
	a:not([href]):not([class]):hover {
		color: var(--white);
	}

	.main-navigation ul.sub-menu li {
		border-bottom: none;
		padding: 0;
		font-size: 15px;
		margin: 8px 0 8px;
	}

	.main-navigation li.current_page_item>a,
	.main-navigation ul.sub-menu li.current_page_item>a {
		color: var(--white);
	}

	ul.sub-menu.toggled-on {
		display: block;
	}

}*/

/*! Hamburgers */

/*.hamburger {
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
}

.hamburger.toggled-on .hamburger-inner,
.hamburger.toggled-on .hamburger-inner::before,
.hamburger.toggled-on .hamburger-inner::after {
	background-color: var(--dark-black);
}

.hamburger-box {
	width: 2.5rem;
	display: inline-block;
	position: relative;
}

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -0.1rem;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 2.5rem;
	height: 0.17rem;
	background-color: var(--dark-black);
	border-radius: 0;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
	content: "";
	display: block;
}

.hamburger-inner::before {
	top: -0.5rem;
}

.hamburger-inner::after {
	bottom: -1rem;
}

.hamburger--collapse .hamburger-inner,
.hamburger .hamburger-inner {
	top: auto;
	bottom: 0;
	transition-duration: 0.13s;
	transition-delay: 0.13s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse .hamburger-inner::after,
.hamburger .hamburger-inner::after {
	top: -1rem;
	transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse .hamburger-inner::before,
.hamburger .hamburger-inner::before {
	transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse.toggled-on .hamburger-inner,
.toggled-on.hamburger .hamburger-inner {
	transform: translate3d(0, -0.7rem, 0) rotate(-45deg);
	transition-delay: 0.22s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse.toggled-on .hamburger-inner::after,
.toggled-on.hamburger .hamburger-inner::after {
	top: 0;
	opacity: 0;
	transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}

.hamburger--collapse.toggled-on .hamburger-inner::before,
.toggled-on.hamburger .hamburger-inner::before {
	top: 0;
	transform: rotate(-90deg);
	transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}*/

/* Desktop media query */
/*@media only screen and (min-width: 992px) {
	button.menu-button {
		display: none;
	}

	.menu-container {
		padding-top: 0;
		padding-bottom: 0;
		padding-left: 0;
	}

	.site-header-menu {
		display: flex;
		position: relative;
		align-items: center;
	}

	.site-header-menu .main-navigation {
		opacity: 1;
	}

	.main-navigation {
		padding: 0;
	}

	.main-navigation {
		align-items: center;
		background-color: transparent;
		display: flex;
		margin: 0;
		padding: 0;
		position: relative;
	}

	.main-navigation ul li>a {
		font-size: 16px;
		text-transform: uppercase;
		font-family: var(--neworder);
		font-weight: 500;
	}

	.main-navigation ul li>a:hover {
		color: var(--dark-black);
	}

	.main-navigation ul.sub-menu li a {
		color: var(--dark-black);
		display: flex;
		font-size: 13px;
		text-transform: none;
	}

	.main-navigation li.current-menu-parent>a,
	.main-navigation li.current_page_item>a,
	.main-navigation ul.sub-menu li.current_page_item>a,
	.main-navigation ul.sub-menu li a:hover,
	.main-navigation ul.sub-menu li.current-menu-item a {
		color: var(--dark-black);
	}

	.main-navigation ul li {
		position: relative;
		margin-top: 0;
		margin-bottom: 0;
		padding-left: 0;
		padding-right: 0;
		margin-left: 8px;
		margin-right: 8px;
		border-bottom: none;
		display: inline-block;
	}

	.main-navigation li.mobile-only {
		display: none;
	}

	.main-navigation ul.sub-menu {
		position: absolute;
		display: none;
		top: 140%;
		border-radius: 5px;
		left: 0%;
		margin-left: 0;
		padding: 10px;
		background-color: #fff;
		box-shadow: 0 0 25px #00000025;
		padding-top: .5rem;
		padding-bottom: 0.5rem;
		z-index: 999;
		column-count: 1;
		width: 190px;
	}

	.main-navigation .two-col ul.sub-menu {
		width: 600px;
		column-count: 2;
		gap: 10px;
	}

	.main-navigation ul li.two-col:hover {
		display: inline-block;
		flex-direction: unset;
	}

	.main-navigation ul.sub-menu::before {
		border-color: transparent transparent #fff;
		border-style: solid;
		border-width: 0 5px 5px;
		top: -5px;
		content: '';
		display: block;
		height: 0;
		left: 15px;
		position: absolute;
		transform: scale(1);
		transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
		width: 0;
	}

	.main-navigation ul.sub-menu.has-sub-menu ul.sub-menu::before {
		border-color: transparent transparent #fff;
		border-style: solid;
		border-width: 0 5px 5px;
		top: 5px;
		content: '';
		display: block;
		height: 0;
		left: -8px;
		position: absolute;
		transform: scale(1);
		transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1);
		width: 0;
		transform: rotate(270deg);
	}

	.no-js .main-navigation ul ul li,
	.main-navigation ul ul li {
		padding: 7px 0px 7px;
		display: block;
		margin: 0 10px 0 10px;
	}

	.main-navigation ul .has-sub-menu>li {
		padding-right: 40px;
		display: flex;
	}

	.no-js .main-navigation ul ul ul,
	.main-navigation ul ul ul {
		top: 0px;
		left: 100%;
		margin-left: 0;
		margin-top: 0px;
		padding: 0;
	}

	ul.sub-menu .dropdown-toggle {
		position: absolute;
		right: 10px;
		top: 4px;
	}

	.main-navigation ul .dropdown-toggle:after,
	.main-navigation ul ul .dropdown-toggle:after,
	.main-navigation ul .dropdown-toggle.toggled-on:after,
	.main-navigation ul ul .dropdown-toggle.toggled-on:after {
		font-weight: normal;
	}

	button.dropdown-toggle {
		position: inherit;
		right: auto;
	}

	button.dropdown-toggle.toggled-on {
		top: 6px;
	}

	.main-navigation ul.sub-menu.toggled-on,
	.main-navigation ul li:hover>ul {
		display: inline-flex;
		flex-direction: column;
	}

	.main-navigation ul li.two-col:hover>ul,
	.main-navigation ul li.two-col.sub-menu.toggled-on {
		display: inline-block;
		flex-direction: unset;
	}

	.extra-nav {
		display: none !important;
	}

}

.main-navigation ul .dropdown-toggle:after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16.59L6.41 11L5 12.41L12 19.41L19 12.41L17.59 11L12 16.59Z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	width: 18px;
	height: 18px;
	border: none;
}

.main-navigation ul ul .dropdown-toggle:after {
	content: url(svg/chevron-right.svg);
}

.main-navigation ul .dropdown-toggle.toggled-on:after {
	display: inline-block;
	background-size: contain;
	transform: rotate(180deg);
}

.main-navigation ul ul .dropdown-toggle.toggled-on:after {
	content: url(svg/chevron-left.svg);
}

.menu-item>a::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 2px;
	top: 90%;
	left: 0;
	background: var(--turqoise);
	transition: transform 0.5s;
	transform: scaleX(0);
	transform-origin: right;
}

.menu-item>a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

ul.sub-menu .menu-item>a::after {
	display: none;
}

.menu-item.menu-item-has-children::after {
	content: '';
	display: block;
	height: 1rem;
	position: absolute;
	top: 100%;
	width: 100%;
}*/

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* 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;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}


/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}


.screen-readers {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-break: normal !important;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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

/** Edited */

.ftalodarkblue {
	background-color: var(--dark-blue);
}

.ftaloblack {
	background-color: var(--dark-black);
}

.ftalolightblue {
	background-color: var(--lightblue);
}

.ftalogray {
	background-color: var(--light-black);
}

.block {
	position: relative;
	background-position: center;
	padding-top: 60px;
	padding-bottom: 60px;
}

.padding-top-large {
	padding-top: var(--padding-top-large);
}

.padding-top-medium {
	padding-top: var(--padding-top-medium);
}

.no-padding-top {
	padding-top: var(--padding-top-none);
}

.padding-bottom-large {
	padding-bottom: var(--padding-bottom-large);
}

.padding-bottom-medium {
	padding-bottom: var(--padding-bottom-medium);
}

.no-padding-bottom {
	padding-bottom: var(--padding-bottom-none);
}

.block-article-hero:after {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	width: 100%;
	background-color: var(--light-black);
	height: calc(100% - 150px);
	top: 0;
	z-index: -1;
}

.lift-image .post-thumbnail,
.lift-image {
	aspect-ratio: 1200/700;
	background-size: cover;
	position: relative;
	overflow: hidden;
}

.article-image {
	aspect-ratio: 1200/600;
	background-size: cover;
	position: relative;
	overflow: hidden;
}

img.contact-img {
	border-radius: 0;
}

.img-ctnr {
	position: relative;
	width: 180px;
	height: 180px;
	margin: auto;
	clip-path: polygon(10.00% 0.00%, 100% 0.00%, 100% 90.00%, 90.00% 100%, 0.00% 100%, 0.00% 10.00%);
	background-size: cover;
    position: relative;
	aspect-ratio: 1/1;
}

.img-ctnr img {
	height: 100%;
    object-fit: cover;
    width: 100%;
}

img.square-img,
.square-image {
	aspect-ratio: 1/1;
	position: relative;
	max-width: 150px;
	width: 150px;
	object-fit: cover;
}

.lift-image .post-thumbnail img,
.article-image img,
.lift-image img,
.square-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
	transition: transform 0.7s ease-in-out;
	transform-origin: center center;
}

.page-lift:hover .lift-image img {
	transform: scale(1.2);
}

.post-date,
.post-tags,
#breadcrumbs {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 13px;
}

.post-date {
	font-weight: bold;
}

.single-tapahtumat .post-date {
	font-size: 18px;
	line-height: 1.2;
}

/* Blue */

.text-center.justify-content-center h1::before {
	left: 0;
    right: 0;
	margin-left: auto;
	margin-right: auto;
}

.blue-theme h1::before,
.blue-theme h2.section-title::before {
	background: var(--medium-blue);
}

.blue-theme a {
	color: var(--dark-blue);
}

.blue-theme .button::before {
	border: 1px solid var(--dark-blue);
}

.blue-theme.light-bg,
.blue-theme .light-bg {
	background: var(--light-blue);
}

.blue-theme.medium-bg,
.blue-theme .medium-bg {
	background: var(--medium-blue);
}

.blue-theme.dark-bg,
.blue-theme .dark-bg {
	background: var(--dark-blue);
}

/* Black */
.black-theme h1::before,
.black-theme h2.section-title::before {
	background: var(--medium-black);
}

.black-theme a {
	color: var(--dark-black);
}

.black-theme.light-bg,
.black-theme .light-bg {
	background: var(--light-black);
}

.black-theme.medium-bg,
.black-theme .medium-bg {
	background: var(--medium-black);
}

.black-theme.dark-bg,
.black-theme .dark-bg {
	background: var(--dark-black);
}

/* Turquoise */
.turquoise-theme h1::before,
.turquoise-theme h2.section-title::before {
	background: var(--medium-turquoise);
}

.turquoise-theme a {
	color: var(--dark-turquoise);
}

.turquoise-theme.light-bg,
.turquoise-theme .light-bg {
	background: var(--light-turquoise);
}

.turquoise-theme.medium-bg,
.turquoise-theme .medium-bg {
	background: var(--medium-turquoise);
}

.turquoise-theme.dark-bg,
.turquoise-theme .dark-bg {
	background: var(--dark-turquoise);
}

/* Green */
.green-theme h1::before,
.green-theme h2.section-title::before {
	background: var(--medium-green);
}

.green-theme a {
	color: var(--dark-green);
}

.green-theme.light-bg,
.green-theme .light-bg {
	background: var(--light-green);
}

.green-theme.medium-bg,
.green-theme .medium-bg {
	background: var(--medium-green);
}

.green-theme.dark-bg,
.green-theme .dark-bg {
	background: var(--dark-green);
}

/* Brown */
.brown-theme h1::before,
.brown-theme h2.section-title::before {
	background: var(--medium-brown);
}

.brown-theme a {
	color: var(--dark-brown);
}

.brown-theme.light-bg,
.brown-theme .light-bg {
	background: var(--light-brown);
}

.brown-theme.medium-bg,
.brown-theme .medium-bg {
	background: var(--medium-brown);
}

.brown-theme.dark-bg,
.brown-theme .dark-bg {
	background: var(--dark-brown);
}

/* Yellow */
.yellow-theme h1::before,
.yellow-theme h2.section-title::before {
	background: var(--medium-yellow);
}

.yellow-theme a {
	color: var(--dark-black);
}

.yellow-theme.light-bg,
.yellow-theme .light-bg {
	background: var(--light-yellow);
}

.yellow-theme.medium-bg h1::before {
	background: var(--dark-black);
}

.yellow-theme.medium-bg,
.yellow-theme .medium-bg {
	background: var(--medium-yellow);
}

.yellow-theme.dark-bg,
.yellow-theme .dark-bg {
	background: var(--dark-yellow);
}

/* Purple */
.purple-theme h1::before,
.purple-theme h2.section-title::before {
	background: var(--medium-purple);
}

.purple-theme a {
	color: var(--dark-purple);
}

.purple-theme.light-bg,
.purple-theme .light-bg {
	background: var(--light-purple);
}

.purple-theme.medium-bg,
.purple-theme .medium-bg {
	background: var(--medium-purple);
}

.purple-theme.dark-bg,
.purple-theme .dark-bg {
	background: var(--dark-purple);
}

/* Red */
.red-theme h1::before,
.red-theme h2.section-title::before {
	background: var(--medium-red);
}

.red-theme a {
	color: var(--dark-red);
}

.red-theme.light-bg,
.red-theme .light-bg {
	background: var(--light-red);
}

.red-theme.medium-bg,
.red-theme .medium-bg {
	background: var(--medium-red);
}

.red-theme.dark-bg,
.red-theme .dark-bg {
	background: var(--dark-red);
}

/* White */
.white-theme h1::before,
.white-theme h2.section-title::before {
	background: var(--medium-white);
}

.white-theme.dark-bg,
.white-theme.medium-bg,
.white-theme.light-bg {
	background: var(--white);
}

.searchandfilter ul {
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.searchandfilter ul li li {
	padding: 0;
	margin: 0 5px;
}

.searchandfilter select.sf-input-select,
.searchandfilter input[type=checkbox]+label,
.searchandfilter input[type=radio]+label {
	display: inline-block;
	color: var(--dark-black);
	padding: 0px 12px;
	background-color: var(--white);
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-family: var(--neworder);
	min-width: inherit;
	border: 2px solid var(--medium-black);
}

.searchandfilter select.sf-input-select {
	border: 1px solid var(--medium-black);
    padding: 5px;
}

.searchandfilter input[type=checkbox]+label:hover,
.searchandfilter input[type=checkbox]:checked+label,
.searchandfilter input[type=radio]+label:hover,
.searchandfilter input[type=radio]:checked+label {
	background-color: var(--medium-black);
	border: 2px solid var(--medium-black);
	color: var(--dark-black);
}

.searchandfilter input[type=checkbox],
.searchandfilter input[type=radio] {
	display: none;
}

.wpcf7 .row {
	margin-bottom: 15px;
}

.wpcf7-list-item {
	margin: 0 20px 0px 0px;
}

.tila-row:hover {
	background: var(--light-black);
}

/* Room search filter */

#room-search-section {
	z-index: 10;
}

#search-filter-form-728,
#search-filter-form-13886,
#search-filter-form-8865 {
	background-color: var(--white);
	box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.06);
	padding: 1rem 3rem;
	top: -25px;
	position: relative;
}

.chosen-container-multi .chosen-choices {
	border: 1px solid var(--medium-black);
	display: inline-block;
	top: 4px;
}

.chosen-container-multi .chosen-choices li.search-choice {
    position: relative;
    padding: 3px 20px 3px 5px!important;
    border: 1px solid var(--medium-black);
    max-width: 100%;
    border-radius: 3px;
    background-color: var(--light-black);
    background-image: none;
    background-image: none;
    background-size: 100% 19px;
    background-repeat: repeat-x;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0,0,0,.05);
    box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0,0,0,.05);
    color: #333;
    line-height: 13px;
    cursor: default;
}

h2.sijainti-title {
    position: absolute;
    top: -11px;
    background: #fff;
    padding: 0 8px;
    left: 15px;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
}

#search-filter-form-728 h4,
#search-filter-form-728 ul li,
#search-filter-form-13886 h4,
#search-filter-form-13886 ul li,
#search-filter-form-8865 h4,
#search-filter-form-8865 ul li {
	font-size: 14px !important;
	font-family: var(--neworder);
	font-weight: normal;
	padding: 0;
	margin-right: 10px;
}

#search-filter-form-728 ul,
#search-filter-form-13886 ul,
#search-filter-form-8865 ul {
	gap: 2rem;
	justify-content: space-between;
	box-shadow: none;
	background: white;
	flex-wrap: wrap;
}

#search-filter-form-728 ul li,
#search-filter-form-13886 ul li,
#search-filter-form-8865 ul li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0;
	padding: 0;
}

#search-filter-form-728 .sf-field-post-meta-tilan_koko,
#search-filter-form-13886 .sf-field-post-meta-tilan_koko,
#search-filter-form-8865 .sf-field-post-meta-tilan_koko {
	gap: 0.5rem;
}

#search-filter-form-728 .sf-meta-range.sf-meta-range-slider #search-filter-form-8865 .sf-meta-range.sf-meta-range-slider {
	display: flex;
	align-self: center;
}

#search-filter-form-728 .sf-input-range-number,
#search-filter-form-13886 .sf-input-range-number,
#search-filter-form-8865 .sf-input-range-number {
	background-color: transparent;
	border: 0;
}

#search-filter-form-728 .sf-input-range-number:hover,
#search-filter-form-728 .sf-input-range-number:active,
#search-filter-form-13886 .sf-input-range-number:hover,
#search-filter-form-13886 .sf-input-range-number:active,
#search-filter-form-8865 .sf-input-range-number:hover,
#search-filter-form-8865 .sf-input-range-number:active {
	background-color: transparent;
}

#search-filter-form-728 .meta-slider,
#search-filter-form-13886 .meta-slider,
#search-filter-form-8865 .meta-slider {
	margin: 0;
	height: 5px;
	align-self: center;
}

#search-filter-form-728 .sf-meta-range-slider span,
#search-filter-form-13886 .sf-meta-range-slider span,
#search-filter-form-8865 .sf-meta-range-slider span {
	order: 2;
}

#search-filter-form-728 .sf-meta-range-slider span:first-of-type,
#search-filter-form-13886 .sf-meta-range-slider span:first-of-type,
#search-filter-form-8865 .sf-meta-range-slider span:first-of-type {
	padding-left: 15px;
}

#search-filter-form-728 .noUi-target,
#search-filter-form-13886 .noUi-target,
#search-filter-form-8865 .noUi-target {
	background-color: var(--medium-black);
	border-radius: 0;
	border: 0;
	box-shadow: none;
	width: 110px;
	top: 0
}

#search-filter-form-728 .noUi-connect,
#search-filter-form-13886 .noUi-connect,
#search-filter-form-8865 .noUi-connect {
	background-color: transparent;
}

#search-filter-form-728 .noUi-handle,
#search-filter-form-13886 .noUi-handle,
#search-filter-form-8865 .noUi-handle {
	background-color: #fff;
	box-shadow: 0px 0px 3px #00000047;
	border: 0;
	border-radius: 3rem;
	width: 16px;
	height: 16px;
}

#search-filter-form-728 .noUi-handle:after,
#search-filter-form-728 .noUi-handle:before,
#search-filter-form-13886 .noUi-handle:after,
#search-filter-form-13886 .noUi-handle:before,
#search-filter-form-8865 .noUi-handle:after,
#search-filter-form-8865 .noUi-handle:before {
	display: none;
}

#search-filter-form-728 .chosen-container-multi .chosen-results,
#search-filter-form-13886 .chosen-container-multi .chosen-results,
#search-filter-form-8865 .chosen-container-multi .chosen-results {
	display: block;
}

#search-filter-form-728 .chosen-container .chosen-results li,
#search-filter-form-13886 .chosen-container .chosen-results li,
#search-filter-form-8865 .chosen-container .chosen-results li {
	padding: 5px 6px!important;
}

/* Room page */

.room-icon {
	width: 33px;
	height: auto;
	padding-bottom: 0.35rem;
	aspect-ratio: 3/4;
}

.room-thumb-gallery {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.room-thumb-gallery li {
	display: inline-block;
	padding-right: 1rem;
	padding-bottom: 1rem;
}

.block-tilat .splide__slide img {
	aspect-ratio: 16/9;
	object-fit: cover;
	height:127px;
}

@media screen and (min-width: 768px) {
	.block-tilat .splide__slide img {
		height:127px;
	}
}

.text-button {
	position: relative;
	display: inline-block;
	background-color: transparent;
	text-decoration: none !important;
	overflow: visible;
	transition: background-color 0.3s ease, color 0.3s ease;
	font-family: var(--neworder);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.text-button a {
	text-decoration: none !important;
}

.text-button:hover {
	text-decoration: underline;
}

ul.share-buttons {
	display: flex;
	justify-content: flex-start;
	list-style: none;
	padding: 0;
}

ul.share-buttons li {
	margin-right: 20px;
}

.align-items-center .row {
	align-items: center;
}

.block.error-404 form.search-form {
	display: flex;
}

.ppw-headline.ppw-pcp-pf-headline,
.ppw-description.ppw-pcp-pf-desc {
	display: none;
}


/* SPLIDE */
/*.splide-page-lift .splide__arrows {
	position: absolute;
  	top: -35px;
  	right: 10px;
}

.splide button {
	background: var(--dark-blue);
	opacity: 1;
}

.splide button:hover {
	padding: 0px;
	border: none;
}

.splide__arrow svg {
	fill: #fff;
}*/
/* image-carousel only */
.splide-carousel[data-carousel-type="image-carousel"] .splide__arrows {
  display: none !important;
}

.custom-arrows {
	top:24px;
    position: relative;
}

.my-prev,
.my-next {
  position:relative;
  display:flex;
  justify-content:center;
  align-items: center;
  padding: 10px 10px;
  width:40px;
  height:40px;
  background: var(--dark-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 5;
  border-radius:50%;
}

.my-prev:hover,
.my-next:hover {
  opacity:0.9;
  background: var(--dark-blue);
  border: none;
}

.my-prev {
	transform:rotate(180deg);
}

.my-prev svg,
.my-next svg {
  fill: #fff;
  height: 12px;
}

.site-footer {
	background: rgb(27, 27, 26);
}

.site-footer p,
.site-footer ul,
.site-footer h2,
.site-footer h3, 
.site-footer h4,
.site-footer a {
	color: var(--dark-white);
}

.block-search input.search-submit {
	position: absolute;
	top: 0;
	right: 0;
}

.block-search input[type="search"] {
	padding: 5px;
}

div#cmplz-document {
    margin: auto;
    padding-top: 64px;
    padding-bottom: 64px;
}

.block-pardot_form .tarjouspyynto {
	height: 2000px;
}

.wp-video {
	margin: auto;
}

.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
  max-width: 100%;
}

.site-header input.search-submit {
    position: absolute;
    right: 0;
    top: 0;
}

.glightbox-container .ginner-container {
	max-width: 500px!important;
}

.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}

.mejs-container {
	padding-top: 56.25%;
}

.wp-video, video.wp-video-shortcode {
	max-width: 100% !important;
}

video.wp-video-shortcode {
	position: relative;
}

.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.mejs-controls {
	display: none;
}

.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}

.block-event {
	background-color: #f8f8f8;
}

.block-event .button {
	position: relative;
	display: inline-block;
	padding: 12px 20px;
	background-color: var(--light-blue);
	text-decoration: none !important;
	overflow: visible;
	transition: background-color 0.3s ease, color 0.3s ease; 
	letter-spacing: 0.5px;
	text-transform: inherit;
	border-radius: 4px;
	color: var(--dark-blue)!important;
	line-height: 1.5;
	width: 100%;
	text-align: center; 
}

.block-event .button:before {
	display: none;
}

.block-event .event-image {
	position: relative;
	aspect-ratio: 1200 / 650;
	/*clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);*/
}

.block-event .event-image img {
	height: 100%;
    object-fit: cover;
    width: 100%;
}

.padding-top-extra {
	padding-top: 120px;
}

.single-tapahtumat .block-accordion .accordion-body a {
	color: var(--dark-blue);
	font-weight: bold;
}

.ti-widget-container {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.postid-17366 .social-share,
.postid-17391 .social-share {
	display: none!important;
}

.gallery-grid {
	grid-column-gap: 20px !important;
  	grid-row-gap: 20px !important;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    align-items: stretch;
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    display: grid!important;
}

.gallery-grid figure img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 450px;
}

.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:not(#individual-image) {
	width:inherit!important;
}

.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:nth-child(1) { grid-area: span 1 / span 2 / span 1 / span 2; }
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:nth-child(2) { grid-area: span 1 / span 2 / span 1 / span 2; }
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:nth-child(3) { grid-area: span 1 / span 4 / span 1 / span 4; }
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:nth-child(4) { grid-area: span 1 / span 3 / span 1 / span 3; }
.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image:nth-child(5) { grid-area: span 1 / span 1 / span 1 / span 1; }

.has-cta-bullets ul li a {
	color: var(--dark-blue);
}

button.accordion-button,
button.accordion-button:hover {
	border: none!important;
	background: transparent;
	padding: 16px 5px; 
}

.accordion-body {
	padding: 5px;
}

.accordion-item h2 {
	margin-bottom: 0px;
}

.accordion-button:not(.collapsed) {
	box-shadow: none;
}

.splide__arrow {
	background: var(--dark-blue);
}

.splide__arrow:hover svg,
.splide__arrow svg {
	fill: #fff;
	height: .8em;
    width: .8em;
}

.splide button {
	opacity: 1;
	padding: 0;
    border: none;
}

.splide button:hover {
	opacity: 1;
	background: var(--dark-blue);
	padding: 0;
    border: none;
}

iframe.uutiskirje {
	height: 900px;
}

@media screen and (min-width: 769px) {
	.block-pardot_form .tarjouspyynto {height: 2150px;}
}

@media screen and (min-width: 1440px) {
	.block-pardot_form .tarjouspyynto {height: 1550px;}
}

@media (max-width: 1024px) {
	iframe.uutiskirje {height: 1300px;}
}

@media (max-width: 767px) {
	.site-footer .padding-top-large, .site-footer .padding-bottom-large {padding: 0;}
	.site-footer {padding-top: 40px;}
	#search-filter-form-728, #search-filter-form-8865 {padding: 20px 15px;}
	.room-text {font-size: 11px; line-height: 1.2;}
	.room-icon {width:25px;}
	.search-filter-results h2 {margin-bottom: 10px;}
	
	#search-filter-form-728 ul, #search-filter-form-8865 ul {display: block;}
	#search-filter-form-728 ul li, #search-filter-form-8865 ul li {justify-content: space-between; margin-bottom: 30px;}
	
	.tila-content {flex-wrap: wrap;}
	.tila-content > div {flex: 0 0 calc(50% - 10px); margin-bottom: 30px;}
	.gallery-grid figure img {max-height:190px;}	

	iframe.uutiskirje {height: 1400px;}
	
  }


@media (min-width: 768px) {
	h1 {font-size: 46px;}

	h1::before {
		content: '';
		width: 62px;
		height: 14px;
		position: absolute;
		margin-left: 5px;
		margin-top: -40px;
	}
}
