/*!
Theme Name: Kuuki 2025
Theme URI: http://underscores.me/
Author: Kuuki Marketing Lab Oy
Author URI: https://kuuki.fi
Description: Description
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: kuuki
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.

Kuuki 2025 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
--------------------------------------------------------------*/
@import url('palette.css');
@import url('theme_colors.css');

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

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

/**
 * 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"] {
	-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"] {
	-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: 'Montserrat';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2'),
         url('fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.woff2') format('woff2'),
         url('fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
         url('fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic.woff2') format('woff2'),
         url('fonts/Montserrat-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBoldItalic.woff2') format('woff2'),
         url('fonts/Montserrat-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-BoldItalic.woff2') format('woff2'),
         url('fonts/Montserrat-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}


:root {
	--themefont: 'Montserrat', Arial, Helvetica, sans-serif;
	--padding-top-large: 120px;
	--padding-top-medium: 80px;
	--padding-top-small: 40px;
	--padding-top-none: 0px;

	--padding-bottom-large: 120px;
	--padding-bottom-medium: 80px;
	--padding-bottom-small: 40px;
	--padding-bottom-none: 0px;

	--margin-top-large: 120px;
	--margin-top-medium: 80px;
	--margin-top-small: 40px;
	--margin-top-none: 0px;

	--margin-bottom-large: 120px;
	--margin-bottom-medium: 80px;
	--margin-bottom-small: 40px;
	--margin-bottom-none: 0px;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--blue);
	font-size: 1rem;
	line-height: 1.6;
	background: #fff;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
	font-family: var(--themefont);
	font-weight: 400;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Tinos', serif;
	clear: both;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.1;
	color: var(--blue);
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
	color: var(--white);
}

h1 {
    font-size: clamp(48px, calc(48px + (96 - 38) * ((100vw - 576px) / (1400 - 576))), 96px);
    font-weight: 700;
	line-height: 1;
    letter-spacing: -2px;
}

h2, h1.entry-title span {
    font-size: clamp(28px, calc(28px + (52 - 28) * ((100vw - 576px) / (1400 - 576))), 52px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1.5px;
}

h3, .article h2, h2.section-title {
    font-size: clamp(26px, calc(26px + (38 - 26) * ((100vw - 576px) / (1400 - 576))), 38px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}

h4, .site-footer h2, .small-titles h2, .small-titles h3, h2.section-title, .accordion h2, .reference h2 {
    font-size: clamp(20px, calc(20px + (26 - 20) * ((100vw - 576px) / (1400 - 576))), 26px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.5px;
}


h5, .blogi h3 {
    font-size: clamp(17px, calc(17px + (20 - 17) * ((100vw - 576px) / (1400 - 576))), 20px);
    font-weight: 600;
}

h2.uppercase,
p.uppercase {
	font-family: var(--themefont);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: var(--turquoise);
}

h1.entry-title span {
	color: var(--turquoise);
	margin-bottom: 20px;
	display: block;
}

.article-content h2,
.article-content h3 {
	margin-bottom: 25px;
    margin-top: 40px;
}

.accordion h3 {
	font-family: var(--themefont);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: 0;
}

@media (max-width: 767px) { 
	h1 {letter-spacing: -1px;}
	h2, h3, .article h2, h2.section-title, h1.entry-title span {letter-spacing: -0.5px;}
}

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;
	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
--------------------------------------------- */
body {
	background: #fff;
}

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%;
	border-radius: 4px;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: var(--turquoise);
	text-decoration-line: underline;
	text-underline-offset: 2px;
}

a:hover,
a:focus,
a:active {
	color: var(--blue);
}

a:focus {
	outline: thin dotted;
}

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

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

.block-breadcrumbs {
	padding-top: 40px;
	padding-bottom: 80px;
}

.block-breadcrumbs a {
	text-decoration: none;
	font-weight: 600;
}

.block-breadcrumbs p {
	margin-bottom: 0; 
}

/* Forms
--------------------------------------------- */
.wp-block-button a.wp-block-button__link.wp-element-button,
a.button, 
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid var(--turquoise);
	border-radius: 4px;
	background: var(--turquoise);
	color: var(--white);
	line-height: 1;
	padding: 16px 32px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	transition: all 400ms cubic-bezier(.19,1,.22,1);
	line-height: 1;
	display: inline-flex;
    align-items: center;
	justify-content: center;
}

a.button:after,
a.button.button-ghost:after,
.wp-block-button.is-style-outline a.wp-block-button__link:after,
.wp-block-button a.wp-block-button__link.wp-element-button:after,
input.wpcf7-submit:after {
    content: '';
    background-image: url(images/arrow-right.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-flex;
    width: 24px;
	height: 24px;
    margin-left: 7px;
    margin-right: 0;
    position: relative;
}

a.button:after,
.wp-block-button a.wp-block-button__link.wp-element-button:after {
	background-image: url(images/arrow-right-white.svg);
}


.wp-block-button.is-style-outline a.wp-block-button__link,
a.button.button-ghost {
	border: 1px solid var(--turquoise);
	color: var(--blue);
	background: transparent;
	padding: 16px 32px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	transition: all 400ms cubic-bezier(.19,1,.22,1);
	display: flex;
    align-items: center;
}

.wp-block-button.is-style-outline a.wp-block-button__link:after,
a.button.button-ghost:after {
	background-image: url(images/arrow-right.svg);
}

.wp-block-button a.wp-block-button__link.wp-element-button:hover,
.wp-block-button.is-style-outline a.wp-block-button__link:hover,
a.button.button-ghost:hover,
a.button:hover,
button:hover,
.text-white a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--blue);
	border: 1px solid var(--blue);
	color: var(--white);
}

.wp-block-button.is-style-outline a.wp-block-button__link:hover:after,
a.button.button-ghost:hover:after {
	background-image: url(images/arrow-right-white.svg);
}

.text-white a.button {
	border-color: var(--white);
}

.main-navigation ul ul a:before,
.mega-sub-menu a.mega-menu-link:before {
	content: ''!important;
    background-image: url(images/arrow-right.svg)!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    background-size: 100%!important;
    display: inline-flex!important;
    width: 16px!important;
	height: 14px!important;
    margin-left: 0px!important;
    margin-right: 10px!important;
    position: relative!important;
	top: 6px!important;
}

.main-navigation ul ul a:before {
	top: 2px!important
}

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 {
	background: var(--blue);
	border: 1px solid var(--blue);
}

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(--blue);
	border: 1px solid var(--turquoise);
	border-radius: 4px;
	padding: 13px 32px;
	font-size: 14px;
	font-weight: 700;
	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%;
}

input#mc-embedded-subscribe {
    position: absolute;
    top: 0;
    right: 0;
	border-radius: 0 4px 4px 0;
}

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

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

/* Navigation
--------------------------------------------- */

.site-header {
	height: 150px;
	display: flex;
    align-items: center;
	font-weight: 600;
	box-shadow: 0px 16px 40px 0px rgba(0, 0, 0, 0.08);
    z-index: 99;
    position: relative;
	display: flex;
    justify-content: space-between;
	position: relative;
}

.main-navigation {
	display: block;
	width: 100%;
}

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

.site-header .search-button {
	padding: 0;
	background: transparent;
	border: 0;
}

.site-header .search-form-container {
    overflow: hidden;
    position: absolute;
    top: 50px;
    right: 95px;
    background: #fff;
}

.site-header input.search-submit {
	border-radius: 0px 4px 4px 0px;
	margin-left: -10px;
}

body.mega-menu-menu-1-mobile-open {
    overflow: hidden;
}

.menu-info {
	padding: 0 25px;
	font-weight: 400;
	font-size: 12px;
	padding-top: 20px;
}

.menu-info a {
	text-decoration: none;
	font-weight: 700;
}

.menu-info-item {
	margin-bottom: 20px;
}

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

.widget select {
	max-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;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

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

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

.site-main {
	background-color: var(--grey);
	padding-bottom: 30px;
	overflow: hidden;
}

.single .site-main {
	overflow: visible;
}

.white-bg {
	background-color: var(--white);
}

.turquoise-bg {
	background-color: var(--turquoise);
}

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

.lightgrey-bg,
.grey-bg {
	background-color: var(--grey);
}

.lightblue-bg {
	background-color: var(--light-blue);
}


#mega-menu-wrap-extra-menu #mega-menu-extra-menu > li.mega-menu-megamenu > ul.mega-sub-menu,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
	box-shadow: inset 0px 30px 50px -30px rgba(0, 0, 0, 0.25);
	top: 90px;
}

.has-max-width {
	margin-left: auto;
	margin-right: auto;
	max-width: 1920px;
}

.site-main,
.footer-top {
	padding-left: 20px;
    padding-right: 20px;
}

.block {
    position: relative;
    background-size: cover;
}

.block.is-card {
	border-radius: 4px;
    max-width: 1920px;
    margin: auto;
}

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

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

.padding-top-small {
    padding-top: var(--padding-top-small)
}

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

.padding-bottom-small {
    padding-bottom: var(--padding-bottom-small)
}

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

/* Custom margins */

.margin-top-large {
    margin-top: var(--margin-top-large)
}

.margin-top-medium {
    margin-top: var(--margin-top-medium)
}

.margin-top-small {
    margin-top: var(--margin-top-small)
}

.no-margin-top {
    margin-top: var(--margin-top-none)
}

.margin-bottom-large {
    margin-bottom: var(--margin-bottom-large)
}

.margin-bottom-medium {
    margin-bottom: var(--margin-bottom-medium)
}

.margin-bottom-small {
    margin-bottom: var(--margin-bottom-small)
}

.no-margin-bottom {
    margin-bottom: var(--margin-bottom-none)
}

.child-pages ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.child-pages ul li {
	display: block;
	margin-bottom: 10px;
	background-color: var(--white);
	border-radius: 8px;
	padding: 24px 32px;
	transition: all 0.2s ease-in-out;
	transform: none;
	box-shadow: none;
}

.child-page:hover {
	transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
	box-shadow: 0px 10px 9px -8px #00000012;
}

.child-pages .title {
	font-size: 20px;
	font-weight: 700;
	display: block;
}

.child-pages .title span.excerpt {
	font-size: 16px;
	font-weight: normal;
	display: block;
}

.icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    margin-right: 20px;
    background-repeat: no-repeat;
}

.site-footer {
	padding-top: 120px;
	margin-top: 30px;
	position: relative;
}

.site-footer:after {
	content: '';
    background: url(/wp-content/themes/kuuki/images/footer-logo.svg);
	background-repeat: no-repeat;
	position: absolute;
	right: 0;
	top: -35px;
	width: 93px;
    height: 510px;
}

.site-footer .site-bottom .site-bottom-image {
	width:100%;
}

.site-footer p,
.site-footer ul {
	font-size: 14px;
}

.site-footer ul {
    list-style: none;
    padding-left: 20px; 
}

.site-footer ul li {
    position: relative;
    padding-left: 20px; 
	margin-bottom: 10px;
}

.site-footer a {
	font-weight: 600;
	text-decoration: none;
	color: var(--blue);
}

.site-footer a:hover {
	color: var(--turquoise);
}

.site-footer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url(images/arrow-right.svg) no-repeat center center;
    background-size: 16px;
    width: 16px; 
    height: 16px; 
}

.site-footer .footer-bottom ul li {
	display: flex;
	margin: 0 30px 0 0;
	padding: 0;
}

.site-footer .footer-bottom ul {
	display: flex;
	margin: 0;
	padding: 0;
}

.site-footer .footer-bottom ul li::before {
	display: none;
}

.accordion-item {
	border: none;
	margin-bottom: 3px;
}

.accordion-body {
	padding: 30px 0 0 0;
}

.accordion-button {
	background-color: var(--grey);
	border: 1px solid var(--grey);
	border-radius: 4px;
}

.accordion-button:hover,
.accordion-button:focus {
	background: var(--grey);
	color: var(--turquoise);
	border: 1px solid var(--grey);
}

.accordion-button:not(.collapsed) {
    color: var(--turquoise);
    background-color: var(--grey);
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-button.mega-menu-item.button a,
#mega-menu-wrap-extra-menu #mega-menu-extra-menu > li.mega-button.mega-menu-item.button a {
	border: 1px solid var(--turquoise);
    border-radius: 4px;
    background: var(--turquoise);
    color: var(--white);
    line-height: 1;
    padding: 20px 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 400ms cubic-bezier(.19,1,.22,1);
    line-height: 1;
    display: inline-flex;
    align-items: center;
	margin-left: 10px;
	margin-right:10px;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-button.mega-menu-item.button a:hover,
#mega-menu-wrap-extra-menu #mega-menu-extra-menu > li.mega-button.mega-menu-item.button a:hover {
	border: 1px solid var(--blue);
    background: var(--blue);
}


#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-button.mega-menu-item.button a {
	margin: 15px;
	display: flex;
}

li.mega-current-menu-item.mega-button.button {
	border-bottom: none!important;
}

.lead-text {
	font-size: 12px;
	font-weight: 700;
	line-height: 12.72px;
	letter-spacing: 0.2em;
	margin-bottom:70px;
	display:inline-block;
	color:var(--turquoise);
}

.lift-image {
	aspect-ratio: 1200/630;
    background-size: cover;
    position: relative;
}

.campaign-image {
	aspect-ratio: 1920/1080;
	background-size: cover;
    position: relative;
}

.reference-image {
	aspect-ratio: 640 / 350;
    overflow: hidden;
    background-size: 120%;
    position: relative;
    background-position: center;
    margin-bottom: 15px;
}

.page-lift-image {
	aspect-ratio: 340/240;
    background-size: cover;
    position: relative;
}

.square-image {
	aspect-ratio: 1/1;
    background-size: cover;
    position: relative;
}

.campaign-image img,
.lift-image img,
.square-image img,
.reference-image img,
.page-lift-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.person {
	max-width: 200px;
}

.search-filter-input-radio {
	display: inline-flex;
	padding: 0;
}

.search-filter-input-radio__container {
	border: 1px solid var(--turquoise);
    color: var(--blue);
    background: transparent;
    padding: 14px 18px!important;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
    transition: all 400ms cubic-bezier(.19,1,.22,1);
    align-items: center;
	margin: 0 10px 10px 0!important;
}

.search-filter-input-radio__container:hover {
	background: var(--turquoise);
	color: var(--white);
}

span.search-filter-input-radio__control {
	display: none;
	opacity: 0;
	visibility: hidden;
}

.search-filter-label {
	width: inherit;
	margin-right: 20px;
}

span.search-filter-input-radio__label {
    padding: 0;
}

.search-filter-field {
	flex-direction: row;
	align-items: center;
	margin-bottom: 30px;
}

.block-shadow {
	box-shadow: 0px 16px 40px 0px #00000014;
}

.it-textbox {
	padding: 95px 80px;
}

.search-filter-query__spinner {
	justify-content: center;
}

.modal-header {
	padding:0;
}

.modal-header img {
	object-fit:cover;
	width:100%;
	height:auto;
	border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.modal-content {
    border-radius: 24px;
}

.modal-body {
	padding:40px 80px;
}

.modal-header {
	display:block;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.modal-indicator-container {
    height: 6px;
    width: 100%;
    background-color: #000;
    overflow: hidden; /* Ensures content doesn't overflow the container */
}

.modal-indicator {
    height: 6px;
    width: 0%; /* Start with 0% width */
    background-color: #e46dcb;
    animation: expandBar 5s linear; /* Apply the animation */
}

/* Keyframes for the animation */
@keyframes expandBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}


.modal-close {
	position:absolute;
	right:30px;
	border:0;
	opacity:1;
	padding: 8px 16px !important;
	background:unset;
	width:unset;
	height:unset;
	background-color:var(--blue);
	color:#fff;
	border-radius:4px;
	font-weight:300;
	box-shadow: 0px 8px 16px 0px #00000029;
	font-size: 12px;
	font-weight: 700;
	line-height: 12.72px;
	letter-spacing: 0.2em;
	text-transform:uppercase;
	top: -7px;
}

.modal-close:hover {
	right:27px;
	opacity:1;
	color:#fff;
	padding: 8px 16px !important;
	border:0 !important;
}


.has-main-scribble {
	background-image: url(/wp-content/themes/kuuki/images/main-scribble.svg);
    background-size: unset;
    background-repeat: no-repeat;
    background-position: center -30%;
}

.has-scribble {
	background-image: url(/wp-content/themes/kuuki/images/contact-scribble.svg);
    background-size: unset;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	border: none;
	width: 100%;
}

:root :where(.wp-block-image figcaption) {
	text-align: left;
	color: var(--turquoise);
}

.wp-block-quote {
	font-family: 'Tinos', sans-serif;
	border-left: none;
	padding: 0;
	color: var(--blue);
	font-size: 20px;
	line-height: 1.4;
}

.wp-block-quote cite, .wp-block-quote footer, cite {
	font-family: var(--themefont);
	font-size: 14px;
}

.medium-text p {
	font-weight: 500;
}

.tag {
	border-radius: 4px;
	border: 1px solid var(--turquoise);
	padding: 8px 16px;
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
}

.tag.tag-vieraskyna {
	border: 1px solid var(--pink);
}

.tag.tag-referenssit {
	border: 1px solid var(--orange);
}

.posted-on {
    display: inline-block;
    margin-left: 10px;
}

.border-light {
	border-color: #D4D4C8!important;
}

div#simple-cf7-popup-toggle {
    display: none;
}

.arrow-button {
    display: inline-block;
    padding: 28px 36px;
    background-image: url(images/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: 1px solid var(--turquoise);
	border-radius: 4px;
	z-index: 1;
    position: relative;
}

.text-white .arrow-button {
	border: 1px solid var(--white);
	background-image: url(images/arrow-right-white.svg);
}

.page-lift:hover .arrow-button {
	background-color: var(--blue);
	transition: all 0.3s ease-in-out;
	border: 1px solid var(--blue);
}

.page-lift:hover .arrow-button {
    background-image: url(images/arrow-right-white.svg);
}

button.toggle-btn,
button.toggle-btn:hover,
button.toggle-btn:focus {
	border: none;
	background: transparent;
	padding: 8px 18px;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 75px;
    height: 60px;
}

button.toggle-btn img,
button.toggle-btn:focus img,
button.toggle-btn:hover img {
	filter: invert(100%) sepia(49%) saturate(0%) hue-rotate(43deg) brightness(105%) contrast(100%);
	width: 55px;
    height: 40px;
    position: absolute;
    right: 10px;
    bottom: 10px;
	border: 1px solid var(--blue);
    padding: 5px 15px;
	object-fit: contain;
}

.flip-these {
	position: relative;
	aspect-ratio: 1 / 1;
}

.card-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 0.6s;
}

.back .info-content {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--grey);
	border-radius: 4px;
	overflow-y: scroll;
}

.back .info-content::-webkit-scrollbar {
    width: 4px; /* Thin scrollbar */
}

.back .info-content::-webkit-scrollbar-thumb {
    background: var(--grey); /* Subtle color */
    border-radius: 2px; /* Rounded edges */
}

.back .info-content::-webkit-scrollbar-track {
    background: transparent; /* Hide track */
}

/* For Firefox */
.back .info-content {
    scrollbar-width: thin; /* Makes the scrollbar thinner */
    scrollbar-color: var(--grey) transparent; /* Thumb color & transparent track */
}

.back .info-content {
    overflow-y: auto; /* Ensures scrolling works */
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}

.front, .back {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	transition: transform 0.6s;
}

.front {
	transform: rotateY(0deg); 
}

.back {
	transform: rotateY(180deg);
}

.back button.toggle-btn img {
	filter: none;
}

@media (min-width: 1025px) {
  .flip-these:hover .card-inner {
    transform: rotateY(180deg); /* Flip the card */
  }
}

.flip-these.flipped .card-inner {
  transform: rotateY(180deg); /* Flip the card */
}

.blobs-bg .grid-container::before {
	content: '';
    background: url(/wp-content/themes/kuuki/images/blob-left.svg);
	position: absolute;
    left: -20px;
    width: 610px;
    height: 400px;
    z-index: 1;
    bottom: 20px;
    background-repeat: no-repeat;
    background-size: cover;
}

.blobs-bg .grid-container::after {
	content: '';
	background: url(/wp-content/themes/kuuki/images/blob-right.svg);
	position: absolute;
	width: 600px;
    height: 480px;
    right: -30px;
    bottom: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.mobile-only {
	display: none!important;
}

.page-lift:hover h2,
.page-lift:hover h3 {
	transition: color 0.2s ease-in-out;
	color: var(--turquoise);
}

ul.post-inner-links {
	padding: 0;
	margin: 0;
	list-style: none;
}

ul.post-inner-links li {
	margin-bottom: 8px;
}

ul.post-inner-links a {
	text-decoration: none;
	font-weight: 500;
}

.social-share .share-buttons {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.social-share .share-buttons a {
    display: flex;
    padding: 0 10px;
    text-align: center;
    transition: background .3sease-in-out;
    box-shadow: none !important;
    margin-right: 10px;
}

.social-share .share-buttons svg {
    fill: var(--blue);
    width: 20px;
    height: 20px;
}

.mega-search.mega-search-closed input[type=text] {
	border: 1px solid var(--turquoise)!important;
}

.mega-search-wrap {
	padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: 0px !important;
    margin-bottom: 15px !important;
}

.mega-search .search-icon {
	right: 20px!important;
}

.accordion-item:first-of-type {
	margin-top: 20px;
}

.vieraskyna-icon {
	top: 20px;
	left: 40px;
	background-image: url(/wp-content/themes/kuuki/images/vieraskyna.svg);
	width: 100px;
	height: 100px;
	background-size: contain;
	transform: rotate(-30deg);
}

li.lang-item a  {
	text-transform: uppercase!important;
	position: relative!important;
}


a.popup-form {
    background-color: var(--pink);
    padding: 8px 15px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition: all .2s ease-in-out;
    color: var(--white);
    z-index: 9;
    background-image: url(https://s2.svgbox.net/hero-solid.svg?ic=mail&color=fff);
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    border-radius: 30px
}

#lomake-popup>div {
    height: 0;
    width: 0;
    visibility: hidden;
    font-weight: 600;
    border-radius: 10px
}

#lomake-popup p {
    margin: 0;
    font-size: 13px
}

#lomake-popup.active>div {
    height: auto;
    max-height: 80vh;
    width: auto;
    max-width: 330px;
    visibility: visible;
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: var(--white);
    padding: 30px;
    box-shadow: 0 0 25px #00000017;
    z-index: 99;
    color: var(--blue);
    cursor: auto;
    overflow-y: auto;
    cursor: auto
}

#lomake-popup.active>div:after {
    position: absolute;
    content: ''
}

span.close-form {
    display: none
}

#lomake-popup span.close-form {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    padding: 10px;
    color: var(--blue);
    display: block;
    line-height: 1;
    background: url(https://s2.svgbox.net/materialui.svg?ic=close&color=062430) no-repeat;
    background-size: cover
}

a.popup-form.active {
    background-image: url(https://s2.svgbox.net/materialui.svg?ic=close&color=FFF)
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item .textwidget a,
#mega-menu-extra-menu > li.mega-menu-item .textwidget a {
	color: var(--blue);
	text-decoration: none;
	font-weight: 900;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item .textwidget a:hover,
#mega-menu-extra-menu > li.mega-menu-item .textwidget a:hover {
	color: var(--turquoise);
}

.tab-content {
	padding-top: 30px;
}

.nav-link {
	color: var(--turquoise);
}

@media (min-width: 992px) { 
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		max-width: 140px;
		line-height: 1.2;
		text-align: center;
		top: 10px;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.lang-item a,
	#mega-menu-wrap-extra-menu span.mega-indicator,
	#mega-menu-wrap-menu-1 span.mega-indicator {
    	display: none !important;
	}
	
}

@media (min-width: 1600px) { 
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		max-width: inherit;
		height: 38px;
	}
}

@media (max-width: 1320px) {
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-button.mega-menu-item.button a,
	#mega-menu-wrap-extra-menu #mega-menu-extra-menu > li.mega-button.mega-menu-item.button a {
        margin-top: 15px;
	}
	
	#mega-menu-wrap-extra-menu .mega-menu-toggle + #mega-menu-extra-menu {
		top: 50px;
	}
	
}

@media (max-width: 992px) { 
	.site-header .search-form-container {
        top: 80px;
        left: 0;
        right: 0;
		padding: 30px 30px;
	}
	
	.site-header form.search-form {
		display: flex;
        justify-content: center;
	}
	
	.site-header .search-form-container label {
		width:100%;
	}
	
	.is-card {
		margin-left: 15px;
		margin-right: 15px;
	}
	
	.it-textbox {
		padding: 50px 35px;
	}
	
	.site-header {
		height: 80px;
		padding-left: 20px;
        padding-right: 20px;
	}
	
	.site-header .brand {
		width: 100%;
	}
	
	span.mega-indicator {
		display: block!important;
	}
	
	#mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1 {
		height: 100vh;
		background-image: url(/wp-content/themes/kuuki/images/menu-scribble.svg);
        background-position: 0px 140%;
        background-repeat: no-repeat;
        background-size: contain;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
		box-shadow: none;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
		line-height: 50px;
        height: 50px;
        padding: 0 30px;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu.mega-menu-item ul.mega-sub-menu {
		padding: 0px 10px;
	}
	
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item,
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
		font-size: 13px;
	}
	

	li.mega-lang-item-fi,
	li.mega-lang-item-en {
		position: relative!important;
	}

	li.mega-lang-item-en::after {
		content: "In English"!important;
		text-transform: none!important;
		display: inline-block!important;
		position: absolute;
		top: 13px;
		left: 30px;
		z-index: -1;
	}

	li.mega-lang-item-fi::after {
		content: "Suomeksi"!important;
		text-transform: none!important;
		display: inline-block!important;
		position: absolute;
		top: 13px;
		left: 30px;
		z-index: -1;
	}

	.mega-lang-item-fi a,
	.mega-lang-item-en a {
		text-indent: -9999px!important;
	}

	li.lang-item a {
		/*border: 1px solid var(--turquoise) !important;*/
		margin: 0 15px 20px !important;
		border-radius: 4px!important;
		padding: 0 14px!important;
	}

	.mega-search.mega-search-closed input[type=text] {
		padding: 5px 14px!important;
	}
	
	.mobile-only {
		display: block!important;
	}
	

}

@media (max-width: 767px) { 
	.site-main, .footer-top {padding-left: 10px; padding-right: 10px;}
	.site-footer .footer-bottom ul {display: block;}
	.search-filter-field {flex-direction: column;}
	.padding-top-large, .padding-top-medium {padding-top: var(--padding-top-small);}
	.padding-bottom-large, .padding-bottom-medium {padding-bottom: var(--padding-bottom-small);}
	.person {max-width: 140px; height: 140px;}
	.site-header .search-form-container {padding: 30px 15px;}
	.search-filter-label {margin-bottom: 20px;}
}

