/*!
Theme Name: Habeo
Theme URI: http://underscores.me/
Author: Hansdotter Oy
Author URI: https://hansdotter.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: habeo
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.

Habeo 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%;
}

html, body { min-width: 320px; margin: 0!important; }
@media (prefers-reduced-motion: no-preference) {
:root { scroll-behavior: auto; }
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	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"] {
	-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
--------------------------------------------------------------*/

/* Variables
--------------------------------------------- */
:root {
	--blue: #050078;
	--green: #05eba5;
	--blueDark: #040149;
	--greenDark: #04c48a;
}

.text-blue { color: var(--blue); }
.text-bluedark { color: var(--blueDark); }
.text-green { color: var(--green); }
.text-greendark { color: var(--greenDark); }
.bg-blue { background-color: var(--blue); }
.bg-bluedark { background-color: var(--blueDark); }
.bg-green { background-color: var(--green); }
.bg-greendark { background-color: var(--greenDark); }

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 17px;
	line-height: 28px;
	font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both; line-height: normal; font-weight: 800; color: var(--blue);
}
h1, h2.large-h2 { font-size: 72px; }
#hero h1 { font-size: 5.53vw; }
h1.entry-title { margin: 0 0 58px; }

h2 { font-size: 58px; line-height: 67px; margin-bottom: 32px; font-weight: 700; }
#filter h2 { font-size: 32px; line-height: normal; margin-bottom: 42px; }
.square-title { position: relative; z-index: 5; margin-top: 10px; }
.square-title.square-title-centered span { position: relative; }
.square-title:not(.square-title-centered)::before, .square-title.square-title-centered span::before { content: ''; display: block; position: absolute; z-index: -1; background-color: var(--green); width: 86px; height: 86px; left: -14px; top: -10px; }

h3 { font-size: 25px; font-weight: 700; margin-bottom: 28px; }
.body-text h2, .body-text h3, .body-text h4 { padding-top: 12px; }

p { margin-bottom: 28px; }
#hero p { font-size: 1.538vw; line-height: 2.462vw; margin: 4.6% 0 0; }

dfn,
cite,
em,
i {
	font-style: italic;
}

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;
	padding-left: 0;
}

ul {
	list-style: disc;
}

#primary ul { list-style: none; margin-bottom: 28px; }
#primary ul li { padding-left: 20px; position: relative; }
#primary ul li::before { content: ''; display: block; width: 4px; height: 4px; position: absolute; z-index: 1; top: 12px; left: 0; background-color: var(--blue); border-radius: 50%; }

ol {
	list-style: decimal;
}

#primary ol { padding-left: 18px; margin-bottom: 28px; }
#primary ol li { padding-left: 18px; margin-bottom: 9px; }

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%;
}

/* Links
--------------------------------------------- */
a, a:visited {
	color: inherit; text-decoration: none;
}

a:hover,
a:focus,
a:active,
a:focus {
	color: inherit; outline: 0; text-decoration: underline;
}

.body-text a { font-weight: 700; color: var(--blue); }

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
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,
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 {
	border: none; border-radius: 0; width: 100%; max-width: 100%; height: 42px;
}

input, textarea { padding: 8px; }

select {
	border: none;
}

textarea {
	width: 100%; min-height: 238px;
}

form.wpcf7-form p { margin-bottom: 10px; }
.wpcf7-form-control-wrap > input, .wpcf7-form-control-wrap > textarea { margin-top: 2px; }
.wpcf7 label { width: 100%; margin-bottom: 20px; }
.wpcf7-list-item label { margin-bottom: 12px; }
#form label { display: block; }
#form br { display: none; }
#form .acceptance { margin-top: 30px; }
#form input[type="submit"] { margin-top: 25px; }
#form a { font-weight: 700; }

input { background: #fff; border: none; }
input:active, input:focus, textarea:active, textarea:focus { outline: 0; }
input::placeholder, textarea::placeholder { color: #000; }

.wpcf7-acceptance .wpcf7-list-item { position: relative; display: block; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; margin-left: 0; line-height: 18px; }
.wpcf7-acceptance .wpcf7-list-item-label { cursor: pointer; }

.wpcf7 input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.wpcf7 input[type="checkbox"] ~ .wpcf7-list-item-label {
	padding-left: 32px;
	display: inline-block;
	font-size: 15px;
}

.accept {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #fff;
	cursor: pointer;
	border: none;
}
.yellow .accept { border-color: #000; }

/* On mouse-over, add a grey background color */
.wpcf7-acceptance .wpcf7-list-item .accept:hover {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.wpcf7-acceptance .wpcf7-list-item input:checked ~ span .accept {
  background-color: #fff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.accept:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.wpcf7-acceptance .wpcf7-list-item input:checked ~ span .accept:after {
  display: block;
}

/* Style the checkmark/indicator */
.wpcf7-acceptance .wpcf7-list-item .accept:after {
	left: 5px;
	top: 0;
	width: 8px;
	height: 14px;
	border: solid var(--blue);
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.yellow .wpcf7-acceptance .wpcf7-list-item .accept:after { border-color: #000; }
.wpcf7-acceptance a { font-weight: 700; }
.wpcf7-not-valid-tip { font-size: 14px; color: red!important; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output { border: none!important; color: red!important; margin: 10px 0 0; }

a.linkbutton, a.linkbutton:visited, .linkbutton-hover, button.linkbutton, .linkbutton.linkbutton-div { display: inline-block; vertical-align: middle; padding: 16px 20px; background: var(--green); color: var(--blue); font-size: 15px; line-height: 1; font-weight: 700; letter-spacing: 0.025em; text-decoration: none; text-align: center; position: relative; transition: clip-path 500ms linear; overflow: hidden; min-width: 181px; text-transform: uppercase; }
a.linkbutton.linkbutton-blue { background-color: var(--blue); color: var(--green); }
button.linkbutton, .linkbutton.linkbutton-div { width: auto; }
button.linkbutton:disabled { opacity: 0.4; }

.linkbutton-hover { position: absolute; z-index: 1; top: -4px; left: -4px; padding: 20px 24px; min-width: unset; width: calc(100% + 8px); height: calc(100% + 8px); /*color: #fff;*/ clip-path: inset(0 100% 0 0); background-color: var(--greenDark); text-transform: uppercase; }
.linkbutton-blue .linkbutton-hover { background-color: var(--greenDark); }
a.linkbutton:hover .linkbutton-hover, button.linkbutton:not(:disabled):hover .linkbutton-hover, .linkbutton.linkbutton-div input:hover + .linkbutton-hover { clip-path: inset(0 0% 0 0); }
a.linkbutton:hover, button.linkbutton:hover { text-decoration: none; }
a.linkbutton:active, a.linkbutton:focus, button.linkbutton:active, button.linkbutton:focus { outline: none; }

.hero-content a.linkbutton, .hero-content a.linkbutton:visited { margin-top: 7.1%; padding: 1.231vw 1.6vw; min-width: 14vw; font-size: 1.154vw; }
.hero-content a.linkbutton .linkbutton-hover { font-size: 1.154vw; top: -4px; left: -4px; padding: calc(1.231vw + 4px) calc(1.6vw + 4px); width: calc(100% + 8px); height: calc(100% + 8px); }

.linkbutton.linkbutton-div { padding: 0; background: var(--green); min-width: 0; }
.linkbutton.linkbutton-div input { position: relative; z-index: 5; background: transparent ; color: var(--blue); font-size: 15px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.025em; text-align: center; padding: 16px 20px; min-width: 154px; width: auto; height: auto; }
.linkbutton.linkbutton-div .linkbutton-hover { z-index: 1; }

a.cta-btn, a.cta-btn:visited { display: inline-block; vertical-align: middle; padding: 16px 41px; font-size: 15px; line-height: 1; letter-spacing: 0.025em; text-decoration: none!important; text-align: center; text-transform: uppercase; font-weight: 700; transition: background .4s; }
a.cta-btn.blue-btn { background: var(--blue); color: #fff; }
a.cta-btn.green-btn { background: var(--green); color: var(--blue)!important; }
a.cta-btn.blue-btn:hover, a.cta-btn.blue-btn:active, a.cta-btn.blue-btn:focus { background: var(--blueDark); transition: background .4s; outline: 0; }
a.cta-btn.green-btn:hover, a.cta-btn.green-btn:active, a.cta-btn.green-btn:focus { background: var(--greenDark); transition: background .4s; outline: 0; }

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
body { position: relative; }
#masthead { position: absolute; z-index: 100; top: 0; left: 0; width: 100%; padding-top: 20px; }
#masthead.sticky, .single #masthead.sticky { background-color: var(--blue); position: fixed; }
body.single.scrolling { padding-top: 76px; }
.masthead-inner { display: flex; padding: 0 clamp(15px, 1.154%, 1.154%) 0 5%; }
.site-branding { flex: 0 0 148px; max-width: 148px; }
.site-logo-mob { display: none; }

.single #masthead { background-color: var(--blue); position: relative; }

.main-navigation { display: flex; margin-left: auto; }

.main-navigation ul, .lang-switch ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	background-color: #f0f0f0;
	width: 276px;
	display: block; padding: 24px 22px 24px 22px;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a { width: 100%; display: block; }

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

a .sub-toggle { display: none; }
.main-navigation #primary-menu > li.menu-item-has-children > a .sub-toggle { display: inline-block; font-size: 10px; margin-left: 8px; position: relative; top: -1px; }
.main-navigation #primary-menu > li.menu-item-has-children > a:hover .sub-toggle i::before { content: "\f077"; }

.main-navigation a, .lang-switch a { display: block; text-decoration: none; font-size: 14px; line-height: normal; letter-spacing: 0.025em; font-weight: 700; color: #fff; text-transform: uppercase; }

.main-navigation #primary-menu > li > a { padding: 11px 12px; margin-bottom: 18px; position: relative; }
.main-navigation #primary-menu > li > a:hover, .main-navigation #primary-menu > li > a:active, .main-navigation #primary-menu > li > a:focus, .main-navigation #primary-menu > li.current-menu-item > a, .main-navigation #primary-menu > li.current-menu-ancestor > a { background-color: var(--green); color: var(--blue); }

.main-navigation ul ul li { margin-bottom: 18px; }
.main-navigation ul ul li:last-of-type { margin-bottom: 0; }
.main-navigation ul ul a { color: var(--blue); font-size: 16px; font-weight: 600; text-transform: none; border-left: 4px solid transparent; padding: 5px 0 5px 8px; letter-spacing: 0; }
.main-navigation .sub-menu .current-menu-item a { border-color: var(--green); }

.lang-switch a { padding: 11px 7px; }
.lang-switch li:first-of-type a { padding-left: 16px; }
.lang-switch li:last-of-type a { padding-right: 16px; }
.lang-switch a.current-lang, .lang-switch a:hover { color: var(--green); }

/*Mobile menu*/
#show-menu { display:none; }
@media (max-width:1240px) {
	.main-navigation #primary-menu > li > a { padding: 11px 8px; }
}
@media (max-width:1180px) {
	.main-navigation #primary-menu > li > a { padding: 11px 5px; }
	.main-navigation a, .lang-switch a { letter-spacing: 0; }
}
@media (max-width:1120px) {
	body.scrolling, body.single.scrolling { padding-top: 67px; }
	#masthead { --headerHeight: 67px; position: relative; background-color: #fff; padding-top: 0; }
	#masthead.sticky { background-color: #fff; position: fixed; }
	.single #masthead.sticky { background-color: var(--blue); }
	#masthead a, #masthead a:visited, #masthead a:hover, #masthead a:active, #masthead a:focus { color: var(--blue)!important; }
	.masthead-inner { height: var(--headerHeight); }
	.site-branding { height: 100%; display: flex; align-items: center; }
	.site-logo-desk, .single .site-logo-mob { display: none; }
	.site-logo-mob, .single .site-logo-desk { display: block; }
	
	#show-menu { display:block; z-index:299; cursor:pointer; position:absolute; top:26px; /*right:calc( ( (100% - var(--contentWidth)) / 2 ) + 15px );*/ right: 23px; width: 23px; height: 17px; }
	#show-menu .bar { position:relative; display:block; opacity:1; border-radius: 0; width:100%; height:3px; background:var(--blue); margin-bottom:4px; -webkit-transition: opacity 500ms, transform 500ms, position 500ms; -moz-transition: opacity 500ms, transform 500ms, position 500ms; -ms-transition: opacity 500ms, transform 500ms, position 500ms; -o-transition: opacity 500ms, transform 500ms, position 500ms; transition: opacity 500ms, transform 500ms, position 500ms;  }
	#show-menu .bar:last-child { margin-bottom: 0; }
		#show-menu.active .bar:nth-child(1) { -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); -o-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); top:8px; z-index:2; }
		#show-menu.active .bar:nth-child(3) { -moz-transform: rotate(135deg); -webkit-transform: rotate(135deg); -o-transform: rotate(135deg); -ms-transform: rotate(135deg); transform: rotate(135deg); top:-6px; z-index:2; }
		#show-menu.active .bar:nth-child(2) { opacity:0; background:transparent; z-index:1; }
	
	.single #show-menu .bar { background-color: #fff; }
	
	.main-navigation, #primary-menu, #primary-menu li, .lang-switch { background-color: #fff; }
	.main-navigation { display:none; z-index:199; width:100%; position:absolute; left:0; top:var(--headerHeight); bottom:auto; max-height: calc( (var(--wH) * 100) - var(--headerHeight) ); overflow-y: auto; padding: 22px clamp(15px, 1.154%, 1.154%) 40px 5%; }
	.main-navigation #primary-menu { display:block; width:100%; text-align:left; }
	body.mm-open { height: calc(var(--wH) * 100); max-height: calc(var(--wH) * 100); overflow: hidden; }
	
	.main-navigation #primary-menu > li { margin: 0 0 14px; }
	.main-navigation #primary-menu > li::before { content: none; }
	.main-navigation #primary-menu a { font-size: 18px; line-height: normal; }
/*	.main-navigation #primary-menu .sub-menu a { font-weight: 600; }*/
	.main-navigation #primary-menu > li > a { padding: 10px 65px 10px 0; position: static; margin-bottom: 0; }
	.main-navigation #primary-menu > li > a:hover, .main-navigation #primary-menu > li > a:active, .main-navigation #primary-menu > li > a:focus, .main-navigation #primary-menu > li.current-menu-item > a, .main-navigation #primary-menu > li.current-menu-ancestor > a { background-color: transparent; }
	
	#primary-menu .sub-menu { display: none; position: static; float: none; background: transparent; box-shadow: none; width: 100%; padding: 22px 22px 11px 22px; }
/*	#primary-menu .menu-item-has-children.open > .sub-menu { display: block; }*/
	.main-navigation ul ul a { padding: 6px 0 6px 8px; }
	.main-navigation #primary-menu > li.menu-item-has-children > a .sub-toggle { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; height: 100%; max-height: 41px; display: flex; align-items: center; justify-content: center; margin: 0; width: 60px; }
	.main-navigation #primary-menu > li.menu-item-has-children > a .sub-toggle, .main-navigation #primary-menu > li.menu-item-has-children > a .sub-toggle i { font-size: 11px; font-weight: 600; vertical-align: bottom; }
	.main-navigation #primary-menu > li.menu-item-has-children.open > a .sub-toggle i::before { content: "\f077"; }
	.main-navigation #primary-menu > li.menu-item-has-children:not(.open) > a:hover .sub-toggle i::before { content: "\f078"; }
	
	.lang-switch { margin-top: 66px; }
	.lang-switch li { margin-right: 10px; }
	.lang-switch a { border-bottom: 4px solid transparent; font-size: 18px; }
	.lang-switch li a, .lang-switch li:first-of-type a, .lang-switch li:last-of-type a { padding: 6px 5px; }
	.lang-switch a.current-lang, .lang-switch a:hover { border-bottom: 4px solid var(--green); }
}


/* Posts and pages
--------------------------------------------- */
/*General*/
.container, .row:not(.g-0), #masthead, #hero { --bs-gutter-x: 1.875rem; }
#show-menu, #hero { --contentWidth: 100%; }
@media (min-width:578px) {
	#show-menu { --contentWidth: calc(510px + ( (var(--bs-gutter-x) * .5) * 2 ) ); }
}
@media (min-width:768px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, #hero, #show-menu { --contentWidth: calc(690px + ( (var(--bs-gutter-x) * .5) * 2 ) ); }
}
@media (min-width:992px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, #hero, #show-menu { --contentWidth: calc(930px + ( (var(--bs-gutter-x) * .5) * 2 ) ); }
}
@media (min-width:1200px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, #hero, #show-menu { --contentWidth: calc(1110px + ( (var(--bs-gutter-x) * .5) * 2 ) ); }
}
@media (min-width:1260px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, #hero, #show-menu { --contentWidth: calc(1170px + ( (var(--bs-gutter-x) * .5) * 2 ) ); }
}
@media (min-width:1260px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, #show-menu { max-width: var(--contentWidth); }
}

/*Hero*/
#hero { margin-bottom: calc(4% + 30px); }
.hero-img-wrap { position: absolute; z-index: 1; width: 100%; height: 100%; top: 0; left: 0; }
.hero-img, #hero video { width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { background-color: #000; opacity: 0.3; position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; left: 0; }
.hero-content { position: relative; z-index: 3; aspect-ratio: 1300/550; padding-top: 12.3%; overflow: hidden; }
.hero-more-space .hero-content { padding-top: 8.6%; }
.home .hero-content { aspect-ratio: 1300/750; }
.hero-content-inner { width: 100%; max-width: calc( (90% / 2) - 15px ); margin: 0 auto 0 5%; }
.hero-more-space .hero-content-inner { max-width: calc( (90% / 3) * 1.85 - 15px ); }
#hero h1 > strong { color: var(--green); font-weight: inherit; }
.hero-icon-mob { display: none; }
.hero-icon { position: absolute; z-index: 2; right: 6.77%; bottom: -6.934%; width: 14.616%; height: 48.182%; background: url(assets/habeo_icon.svg) no-repeat center/contain; }
.home .hero-icon { right: 6.77%; bottom: -6.934%; width: 20%; height: 48.4%; }

/*Default page*/
.img-hl { padding: 66px 0 80px; }
.img-hl-img { aspect-ratio: 534/460; position: relative; max-width: 534px; margin-right: auto; }
.order-1 .img-hl-img { margin-left: auto; margin-right: 0; }
.img-hl-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.img-hl.bg-blue h1, .img-hl.bg-blue h2, .img-hl.bg-blue h3, .img-hl.bg-blue h4, .img-hl.bg-blue h5, .img-hl.bg-blue h6, .img-hl.bg-blue .img-hl-content { color: #fff; }
.img-hl-content { padding-top: 38px; padding-right: 48px; }
.img-hl-content.order-2 { padding-right: 34px; padding-left: calc( (var(--bs-gutter-x) * .5) + 14px ); }
.img-hl-content a.linkbutton { margin-top: 6px; }

.service-hl.img-hl { margin-top: 30px; padding-top: 70px; padding-bottom: 90px; }
.service-hl .img-hl-img { aspect-ratio: 570/534; max-width: none; }
.img-mask { position: absolute; z-index: 2; width: 100%; height: 100%; top: 0; left: 0; background: url(assets/habeo_icon_mask_new.svg) no-repeat center/112.3%; }
.service-hl .img-hl-content { padding-top: 0; }

.number-hls { padding-top: 20px; padding-bottom: 50px; margin-bottom: 50px; }
.number-hls-header h2 { margin: 0 0 -23px 67px; position: relative; z-index: 1; }
.number-hls-img { height: 381px; }
.number-hls-img img { object-fit: cover; width: 100%; height: 100%; }
.number-hls-icon { position: absolute; bottom: -80px; left: 5.7%; z-index: 1; width: 116px; height: 162px; background: url(assets/habeo_icon.svg) no-repeat center/contain; }
.numbers-row > div:nth-of-type(3n+1) { margin-left: 25%; }
.number-hl { margin-top: 50px; }
.number-unit, .number-count { font-size: 58px; color: var(--blue); font-weight: 800; line-height: normal; }
.number-text { line-height: normal; margin-top: 13px; }

.logo-hl { padding: 95px 0 95px; }
.logo-hl h2 { margin-bottom: 73px; }
.logo { display: flex; align-items: center; justify-content: center; margin-top: 30px; margin-bottom: 30px; }
.logo img { max-width: 198px; width: 100%; }
.logo-hl a.linkbutton { margin-top: 64px; }

.blogs { padding-top: 80px; padding-bottom: 80px; }
.blogs h2, .other-jobs h2 { margin-bottom: 94px; }
.latest-post { margin-bottom: 70px; }
.latest-post a, .latest-post a:visited, .latest-post a * { text-decoration: none; color: var(--blue); }
.post-thumb { aspect-ratio: 370/249; position: relative; margin-bottom: 28px; }
.post-thumb img { object-fit: cover; width: 100%; height: 100%; }
.post-content-meta { font-size: 14px; font-weight: 700; line-height: normal; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.05em; }
.latest-post h3 { margin-bottom: 30px; }
.post-readmore { font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0.025em; text-transform: uppercase; display: inline-block; position: relative; z-index: 2; padding: 11px 17px; }
.post-readmore::before { content: ''; height: 100%; width: 4px; background-color: var(--green); top: 0; left: 0; position: absolute; z-index: -1; transition: width 500ms linear; }
.latest-post a:hover .post-readmore::before, .comp-servs a:hover > .post-readmore::before, .job a:hover > .post-readmore::before, .ref-hls a:hover > .post-readmore::before { width: 100%; transition: width 500ms linear; }
.blogs.bg-blue *:not(.linkbutton) { color: #fff; }

.bg-hls-wrap { padding: 68px 0 57px; }
.bg-hls-wrap .bg-hls { margin-top: 0; }
.bg-hls-wrap .bg-hls h2 { margin-bottom: 65px; }

p.lead-p { font-size: 20px; line-height: 32px; margin-bottom: 40px; color: var(--blue); }
blockquote { font-size: 22px; line-height: 35px; font-weight: 500; color: var(--blue); padding-left: 76px; position: relative; margin-top: 52px; margin-bottom: 48px; }
blockquote::before { content: '\201D'; display: block; color: var(--green); font-size: 120px; line-height: 110px; font-weight: 700; position: absolute; z-index: 0; left: 0; top: 0; }
.body-text img, .body-text iframe { margin-top: 25px; margin-bottom: 15px; }
.body-text iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; }

.hl-box { margin-top: 5px; }
.hl-box .hl-box-inner { padding: 50px; position: relative; }
.hl-box .hl-box-inner > *:last-child { margin-bottom: 0!important; }
.hl-box .hl-box-inner.bg-blue * { color: #fff; }
#primary .hl-box .hl-box-inner.bg-blue li::before { background-color: #fff; }

.buttons { margin-top: 40px; }
.buttons a.linkbutton { margin: 6px 12px 6px 0; min-width: 162px; }

.contact-hls { margin-top: 45px; }
.contact-hls .contact { margin-bottom: 42px; }
.contact-hls .contact:not(.contact-noimg) { display: flex; align-items: flex-start; }
.contact-thumb { aspect-ratio: 258/222; position: relative; flex: 0 0 45.264%; }
.contact-thumb img { object-fit: cover; width: 100%; height: 100%; }
.contact:not(.contact-noimg) .contact-info { padding: 45px 15px 15px 42px; }
.contact-name { font-size: 20px; line-height: normal; margin-bottom: 28px; font-weight: 700; color: var(--blue); }
.contact-info p:last-of-type { margin-bottom: 0; }
.contact-info a, .contact-info a:visited { text-decoration: none; font-weight: 700; color: var(--blue); }
.contact-info a:hover, .contact-info a:active, .contact-info a:focus { text-decoration: underline; }

.form-container { padding: 90px 0; }
.form-lead { margin-bottom: 75px; }
.form-lead p, .tp-title p, .ref-hls-title p, .icon-hls-title p, .bbg-text * { font-size: 20px; line-height: 32px; }
.form-lead p:last-of-type, .tp-title p:last-of-type, .ref-hls-title p:last-of-type, .icon-hls-title p:last-of-type { margin-bottom: 0; }
.form-container * { color: #fff; }
.form-container * input, .form-container * textarea { color: #000; }
.form-container h2 { margin-bottom: 55px; }

.three-posts { padding-top: 68px; padding-bottom: 98px; }
.three-posts.bg-blue .tp-title *, .icon-hls.bg-blue .icon-hls-title *, .icon-hls.bg-blue .icon-hl * { color: #fff; }
.three-posts:not(.bg-blue) .tp-title *, .icon-hls:not(.bg-blue) .icon-hls-title *, .icon-hls:not(.bg-blue) .icon-hl * { color: var(--blue); }
.tp-title, .ref-hls-title, .icon-hls-title { margin-bottom: 78px; }
.tphl { margin-bottom: 30px; }
.tphl:nth-of-type(1), .tphl:nth-of-type(3) { margin-top: 85px; }
.tphl-inner { position: relative; aspect-ratio: 370/420; overflow: hidden; }
.tphl img { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tphl-canvas { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 100%; }
.tphl a:hover .tphl-canvas { background-color: #000; mix-blend-mode: color; }
.tphl-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.tphl-gradient { position: absolute; z-index: 1; bottom: 0; left: 0; width: 100%; opacity: 0.8; height: 191%; background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,212,255,0) 100%); }
.tphl-content-inner { position: relative; z-index: 2; padding: 0 28px 34px; }
.tphl h3 { font-size: 32px; line-height: normal; font-weight: 800; color: #fff; }
.tphl p { font-size: 20px; line-height: normal; color: var(--green); }
.three-posts .linkbutton { margin-top: 40px; }

.refs.ref-hls { padding-top: 80px; }

.company-hls { margin-top: 60px; }
.company-hls-title h2 { font-size: 32px; line-height: normal; margin: 0; }
.company-hls .companies-list { margin-top: 42px; }
.company-hls .company .post-readmore, .company-hls .comp-thumb img { margin-top: 0; }
.company.tight-comp { margin-bottom: 30px; }
.tight-comp .comp-thumb img { max-width: 195px; }
.tight-comp .comp-title { margin-top: 10px; }

.icon-hls, .blue-bg-hl { padding-top: 90px; padding-bottom: 50px; }
.icon-hls-title h2 { margin-bottom: 70px; }
.icon-hl { margin-bottom: 40px; }
.ihl-icon { aspect-ratio: 1/1; max-width: 130px; width: 100%; margin: 0 auto; margin-bottom: 34px; }
.ihl-icon img { object-fit: contain; width: 100%; height: 100%; }
.icon-hl p { font-size: 25px; line-height: normal; font-weight: 700; }

.blue-bg-hl { padding-bottom: 0; }
.blue-bg-hl > .container { padding-bottom: 145px; }
.blue-bg-hl .bbg-text { margin-bottom: 70px; }

/*Single post*/
.single article { margin-top: 85px; }
.single .entry-meta { font-size: 15px; line-height: normal; font-weight: 700; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.article-img { position: relative; aspect-ratio: 970/545; margin-bottom: 78px; }
.article-img > img  { object-fit: cover; width: 100%; height: 100%; }

/*Archive*/
#filter .blogs { margin-bottom: 80px; padding-bottom: 0; }
.filter-row { padding-top: 10px; margin-bottom: 17px; }
.filter-row h3 { font-size: 48px; line-height: normal; color: var(--blue); margin-bottom: 43px; }
#cat-filter button, .company-filter button, button.offcanvas-btn { background: transparent; padding: 14px 24px; transition: background .4s linear, color .4s linear; font-size: 15px; font-weight: 700; letter-spacing: 0.025em; line-height: normal; text-transform: uppercase; margin: 0 18px 18px 0; max-width: 100%; width: auto; border: 1px solid var(--green); color: var(--blue); height: auto; }
#cat-filter button.active, #cat-filter button:hover, #cat-filter button:active, #cat-filter button:focus,
.company-filter button.active, .company-filter button:hover, .company-filter button:active,
button.offcanvas-btn:hover, button.offcanvas-btn:active { background: var(--green); transition: background .4s linear, color .4s linear; }
button.offcanvas-btn { width: 100%; text-align: left; }
button.offcanvas-btn i { margin-right: 10px; }

.archive-pagination { margin-top: 20px; }
.page-numbers { font-size: 15px; font-weight: 700; border: 1px solid var(--green); }
.page-numbers { background: transparent; padding: 5px 5px; margin-right: 10px; margin-bottom: 10px; color: var(--blue); text-decoration: none!important; width: 42px; height: 42px; display: inline-block; line-height: 28px; text-align: center; transition: all .4s linear; vertical-align: middle; }
.page-numbers.prev, .page-numbers.next { line-height: 31px; }
.page-numbers.current { padding: 5px 5px; margin-right: 10px; color: var(--blue); background: var(--green); }
.page-numbers:not(.dots):hover, .page-numbers:not(.dots):active, .page-numbers:not(.dots):focus { background: var(--greenDark); }
.page-numbers.dots { border-color: transparent; }

/*Companies*/
.company-filter-row { margin-top: 40px; }
.company-filter h3, .service-item h2, .ref-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 38px; }
.company-filter .service-btns { margin-top: 50px; }
.offcanvas-btn.results { width: 100%; margin: 30px auto 0; padding: 16px 28px; background: var(--greenDark)!important; border: 1px solid var(--greenDark)!important; transition: none; }

.companies-list { margin-top: 70px; }
.no-companies div { border: 1px solid var(--blue); padding: 20px 20px; margin-bottom: 60px; color: var(--blue); font-weight: 600; }

.company { margin-bottom: 50px; }
.comp-thumb img, .job-thumb img { max-width: 212px; width: 100%; margin: 27px auto; display: block; }
.comp-areas, .job-company { margin-bottom: 5px; }
.company .area::after, .comp-tag::after { content: '\007C'; font-weight: 900; display: inline-block; margin: 0 5px; line-height: 1; vertical-align: text-top; }
.company .area:last-of-type::after, .comp-tag:last-of-type::after { content: none; }
.comp-servs span, .company .area, .comp-tag, .job-company { font-size: 14px; font-weight: 700; letter-spacing: 0.05em; line-height: 25px; }
.company .area, .comp-servs, .company .post-readmore, .company .post-readmore:visited, .job-company, .job .post-readmore, .ref-hls .post-readmore { color: var(--blue); text-transform: uppercase; }
.comp-tag { letter-spacing: 0; line-height: 1; }
.company .post-readmore { margin-top: 25px; }
.company .post-readmore::after, .job .post-readmore::after { content: ''; display: inline-block; width: 9px; height: 9px; margin-left: 10px; position: relative; top: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='9' height='9' viewBox='0 0 9 9'%3E%3Cimage id='nuoli_sininen' x='-1' y='-1' width='10' height='11' xlink:href='data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAALCAYAAABGbhwYAAAA8ElEQVQYlWJkQAKsDBW8DAwMzEhCID4HAwPDdwAAAAD//2JkZagwYGBgOI+sAQMwMLwDAAAA//9iYWBg+MHAwDALpAtJAUiMiYGBIZ6BgUGMgYGBAQAAAP//QrEaBlgZKkQZGBj2MTAw6DAwMNxmYGD4BQAAAP//AunCpyiLgYHhOQMDwx8AAAAA//9CUYiu6DdDx3QGBgZ+BgYGBgAAAAD//4IrxKEIAhgYGAAAAAD//wIrJKSIgYHhCwAAAP//YiJCERMDA8MfAAAAAP//gln9H4ciiIUMDF8AAAAA//+CuY8Nb3AzMDAAAAAA//8DAM3AJim/BRGVAAAAAElFTkSuQmCC'/%3E%3C/svg%3E") no-repeat center/contain; }

/*Jobs & single job*/
.job { margin-bottom: 45px; }
.job::after { content: ''; display: block; background-color: var(--blue); width: 100%; height: 1px; margin-top: 45px; }
.job-thumb img { max-width: 205px; margin: 0 auto; }
.job-content-wrap { margin-top: 15px; }
.job-content-wrap h3 { margin-bottom: 0; }
.page-template-template-jobs .archive-pagination { margin-bottom: 75px; }

.other-jobs { margin-top: 70px; margin-bottom: 70px; }

/*Solutions*/
.services-list { margin-bottom: 10px; }
.service-item { margin-bottom: 60px; }
.service-img { aspect-ratio: 569 / 320; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-item h2 { line-height: normal; margin-top: 35px; margin-bottom: 25px; }
.service-item .linkbutton { margin-top: 25px; }

/*Formidable*/
.formidable-form-container { margin-top: 70px; padding-top: 100px; padding-bottom: 100px; }
.formidable-form-container h2.square-title { margin-bottom: 70px; }
.formidable-form-container * { color: #fff; }
.formidable-form-container .frm_rootline_group { margin: 0 auto 60px; }
.formidable-form-container ul.frm_page_bar li { flex-direction: row; justify-content: flex-start; }
.formidable-form-container .frm_style_custom-style.with_frm_style .frm_rootline .frm_current_page input[type="button"], .formidable-form-container .frm_forms .frm_rootline .frm_rootline_single input { color: var(--blue)!important; border-radius: 0!important; font-size: 15px; font-weight: 700; line-height: 15px; margin: 0; }
.formidable-form-container .frm_forms .frm_rootline .frm_rootline_single input { color: #fff!important; border: 1px solid var(--green)!important; width: 42px!important; height: 42px!important; flex: 0 0 42px; background: transparent; }
.formidable-form-container .frm_rootline_title { text-align: left; margin-left: 14px; font-size: 15px; line-height: normal; font-weight: 700; color: #fff!important; }
.formidable-form-container .frm_style_custom-style.with_frm_style .form-field.frm_html_container { margin-bottom: 30px; }
.formidable-form-container .frm_html_container > p:first-of-type { margin-bottom: 8px; }
.formidable-form-container .with_frm_style .frm_checkbox input[type=checkbox], .formidable-form-container .with_frm_style .frm_checkbox input[type=checkbox]:active, .formidable-form-container .with_frm_style .frm_checkbox input[type=checkbox]:focus { border-radius: 50%; background: transparent!important; }
/*.formidable-form-container .with_frm_style .frm_checkbox input[type=checkbox]:before { box-shadow: inset 10px 10px var(--blue); }*/
.formidable-form-container .frm_forms.with_frm_style .frm_fields_container .frm_checkbox input[type=checkbox]:not([disabled]):checked { background-color: var(--blue)!important; }
.formidable-form-container .with_frm_style input[type=radio]:focus, .formidable-form-container .with_frm_style input[type=checkbox]:focus { box-shadow: none!important; }
.formidable-form-container .with_frm_style .frm_checkbox input[type=checkbox]:checked { background: #fff; }
.formidable-form-container .with_frm_style .frm_checkbox label, .formidable-form-container .with_frm_style .frm_checkbox input { cursor: pointer; }
.formidable-form-container .frm_form_field.frm_two_col .frm_opt_container { grid-template-columns: repeat(2, 180px); }
.formidable-form-container .frm_compact .frm_dropzone.dz-clickable.frm_single_upload { max-width: 200px; }
.formidable-form-container .with_frm_style .frm_dropzone .frmsvg { width: 20px; height: 20px; }
.formidable-form-container .frm_compact .frm_compact_text { display: inline-block; }
.formidable-form-container .frm_style_custom-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message { background: transparent; border: 1px solid #fff; padding: 10px 15px; }
.formidable-form-container .with_frm_style .frm_dropzone { background: transparent; }
.formidable-form-container .frm_compact .frm_dropzone .dz-preview .dz-details { margin-bottom: 6px; }
.formidable-form-container .frm_html_container.large-font p { font-size: 17px; line-height: normal; font-weight: 500; }
.formidable-form-container .frm_style_custom-style.with_frm_style .frm_submit button, .formidable-form-container .frm_style_custom-style.with_frm_style .frm_submit button:hover, .formidable-form-container .frm_style_custom-style.with_frm_style .frm_submit button:active, .formidable-form-container .frm_style_custom-style.with_frm_style .frm_submit button:focus { padding: 16px 20px; background: var(--green); color: var(--blue); font-size: 15px; line-height: 1; font-weight: 700; letter-spacing: 0.025em; text-align: center; text-transform: uppercase; border: 1px solid var(--green); outline: 0; box-shadow: none; transition: background .4s; width: 100%; max-width: 162px; }
.formidable-form-container .frm_style_custom-style.with_frm_style .frm_submit button:hover { background: var(--greenDark); border-color: var(--greenDark); transition: background .4s, border .4s; }
.formidable-form-container .with_frm_style .frm_submit.frm_flex button.frm_button_submit ~ .frm_prev_page { background: transparent; border: 1px solid var(--green); transition: border .4s; color: #fff; }
.formidable-form-container .with_frm_style .frm_submit.frm_flex button.frm_button_submit ~ .frm_prev_page:hover { background-color: var(--green); transition: background .4s; }
div.frm_submit.frm_flex { margin-top: 30px; justify-content: flex-end; }
.formidable-form-container .frm_style_custom-style.with_frm_style .frm_error, .formidable-form-container .frm_style_custom-style.with_frm_style .frm_limit_error { color: #fff; line-height: normal; }
@media (max-width:450px) {
	.formidable-form-container .frm_form_field.frm_two_col .frm_opt_container { grid-template-columns: repeat(1, 100%); }
}

/*References & single reference*/
.page-template-template-references .refs { padding-top: 85px; }
.refs.bg-blue *:not(.linkbutton) { color: #fff; }
.refs > .container { position: relative; padding-bottom: 80px; }
.refs > .container::after, .blue-bg-hl > .container::after { content: ''; aspect-ratio: 180/251; max-width: 180px; width: 100%; display: block; position: absolute; right: 0; bottom: 0; background: url(assets/habeo_icon.svg) no-repeat center/contain; }
.refs-col-2 { padding-top: 270px; padding-bottom: 90px; }

.ref { margin-bottom: 90px; }
.ref-thumb { aspect-ratio: 568/320; }
.ref-slider .slick-track { display: flex; }
.ref-slider .slick-slide { height: inherit; aspect-ratio: 568/320; }
.ref-slide > img, .ref-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.slick-prev, .slick-next { z-index: 10; }
.ref-slider .slick-prev, .ref-slider .slick-next { width: 51px; height: 100%; text-align: center; }
.ref-slider .slick-prev:before, .ref-slider .slick-next:before { opacity: 1; display: block; width: 36px; height: 36px; font-size: 22px; line-height: 36px; content: '\f061'; color: var(--green); font-family: "Font Awesome 5 Pro"; background: none; padding-left: 3px; }
.ref-slider .slick-prev:before { content: '\f060'; padding-left: 0; padding-right: 3px; }
.ref-slider .slick-prev { left: 0; padding-left: 15px; }
.ref-slider .slick-next { right: 0; padding-right: 15px; }
.ref-thumb-wrap { margin-bottom: 26px; }
.ref-content h2 { line-height: normal; margin-bottom: 20px; }
.ref-company { font-size: 15px; }
.post-readmore.readmore-color-change { display: inline-block; vertical-align: middle; color: #fff; position: relative; transition: clip-path 500ms linear; overflow: hidden; }
.refs .post-readmore.readmore-color-change > .readmore-hover { position: absolute; z-index: 1; top: -4px; left: -4px; padding: 15px 21px; width: calc(100% + 8px); height: calc(100% + 8px); clip-path: inset(0 calc(100% - 4px) 0 0); background-color: var(--green); text-transform: uppercase; color: var(--blue); transition: clip-path 500ms linear; }
.refs .ref-content a:hover > .post-readmore.readmore-color-change > .readmore-hover { clip-path: inset(0 0 0 0); transition: clip-path 500ms linear; }

.page-template-template-references .archive-pagination { position: relative; z-index: 1; }

/*Footer*/
#colophon { padding: 80px 0; }
#colophon * { color: #fff!important; }
#colophon a { text-decoration: none; }
#colophon a:hover, #colophon a:active, #colophon a:focus { text-decoration: underline; }
#colophon ul { list-style: none; padding: 0; margin: 0; }
#colophon .menu li { margin-bottom: 18px; }
#colophon .menu li:last-of-type { margin-bottom: 0; }
#colophon .menu a, #colophon .some-link { font-size: 20px; line-height: normal; font-weight: 600; }
#colophon .some-link { margin-bottom: 55px; display: inline-block; }
#colophon .some-link::before { content: ''; font-family: "Font Awesome 5 Brands"; font-size: 22px; font-weight: 400; text-align: center; line-height: 27px; color: var(--blue); display: inline-block; width: 27px; height: 27px; background-color: var(--green); border-radius: 3px; margin-right: 14px; }
#colophon .some-linkedin::before { content: "\f0e1"; }
.footer-info-text * { font-size: 14px; font-weight: 500; }
.footer-info-text > *:last-child { margin-bottom: 0; }

/*Media queries*/
@media (max-width:1199px) {
	.numbers-row > div:nth-of-type(3n+1) { margin-left: auto; }
	.numbers-row > div:nth-of-type(2n+1) { margin-left: 33.33333333%; }
	
	.contact:not(.contact-noimg) .contact-info { padding-top: 15px; padding-left: 15px; }	
}

@media (max-width:991px) {
	.img-hl-content { padding-top: 0; }
	
	.number-hls { padding-bottom: 20px; margin-bottom: 30px; }
	.number-hls-header h2 { margin: 0 auto 34px; text-align: center; }
	.number-hls-img { height: 207px; margin-bottom: 65px; }
	.number-hls-icon { width: 100px; height: 140px; left: 36px; bottom: -70px; }
	.numbers-row > div:nth-of-type(3n+1), .numbers-row > div:nth-of-type(2n+1) { margin-left: auto; }
	.number-hl { text-align: center; margin-top: 40px; }
	
	.contact-hls .contact:not(.contact-noimg) { align-items: center; }
	.contact-thumb { align-self: flex-start; }
	.contact:not(.contact-noimg) .contact-info { padding-top: 15px; padding-left: 42px; }
	
	.comp-thumb img, .job-thumb img { margin: 0 auto 15px 0; }
	.tight-comp .comp-thumb img { margin: 0 auto 15px; }
	.job-content-wrap { margin-top: 0; }
	
	.refs > .container::after, .blue-bg-hl > .container::after { max-width: 110px; }
	.refs-col-2 { padding-top: 140px; padding-bottom: 0; }
	.ref { margin-bottom: 57px; }
	
	.tphl:nth-of-type(1), .tphl:nth-of-type(3) { margin-top: 0; }
	
	.blue-bg-hl > .container { padding-bottom: 80px; }
	.blue-bg-hl .bbg-text { margin-bottom: 45px; }
}

@media (max-width:767px) {
	.container, .row:not(.g-0), #masthead, #hero { --bs-gutter-x: 3.5rem; }
	
	h2, h2.large-h2 { font-size: 46px; line-height: 53px; }
	.square-title:not(.square-title-centered)::before, .square-title.square-title-centered span::before { width: 69px; height: 69px; }
	
	.hero-img-wrap { aspect-ratio: 1300/550; position: relative; }
	.home .hero-img-wrap { aspect-ratio: 486/327; }
	.hero-img-wrap video { position: absolute; }
	.hero-canvas { display: none; }
	.hero-content, .home .hero-content, .hero-more-space .hero-content { aspect-ratio: unset; background-color: var(--blue); position: static; padding: 10.3% clamp(15px, 1.154%, 1.154%) 12.7% 5%; }
	.hero-content-inner { margin: 0 auto; max-width: calc(100% - var(--bs-gutter-x)); }
	.hero-icon-desk { display: none; }
	.hero-icon-mob { display: block; bottom: -9.62%; right: 6.77%; width: 20.165%; height: 67.12%; }
	.home .hero-icon-mob { bottom: -6.2%; right: 8.6%; height: 42.202%; }
	.hero-content-inner, .hero-more-space .hero-content-inner { max-width: 100%; }
	#hero h1, h1 { font-size: 52px; line-height: normal; }
	h1.entry-title { margin-bottom: 30px; }
	#hero p { font-size: 20px; line-height: 32px; }
	.hero-content a.linkbutton, .hero-content a.linkbutton:visited { margin-top: 34px; padding: 16px 20px; min-width: 181px; font-size: 15px; }
	.hero-content a.linkbutton .linkbutton-hover { padding: 20px 24px; font-size: 15px; }
	
	.img-hl-content, .img-hl-content.order-2 { padding-top: 38px; padding-right: calc( var(--bs-gutter-x) * .5 ); padding-left: calc( var(--bs-gutter-x) * .5 ); }
	
	.service-hl.img-hl { padding-top: 40px; padding-bottom: 60px; }
	.service-hl .img-hl-content { padding-top: 62px; }
	
	.blogs h2, .other-jobs h2 { margin-bottom: 70px; }
	.latest-post { margin-bottom: 56px; }
	.post-thumb { aspect-ratio: 428/241; }
	
	blockquote { font-size: 19px; line-height: 29px; padding-left: 48px; margin-top: 42px; margin-bottom: 38px; }
	blockquote::before { font-size: 90px; line-height: 79px; }
	
	#filter .blogs { padding-top: 30px; }
	
	.article-img { margin-bottom: 40px; }
	
	.offcanvas-header { padding: 10px 10px 0; }
	.company-filter-row { margin-top: 0; }
	.companies-list { margin-top: 10px; }
	.company-filter h3, .service-item h2 { margin-bottom: 25px; font-size: 24px; }
	.company-filter .service-btns { margin-top: 25px; }
	.company-filter button { margin: 0 10px 10px 0; font-size: 14px; line-height: 18px; padding: 12px 16px; }
	
	.company h3 { margin-bottom: 14px; }
	.comp-content p { margin-bottom: 16px; }
	.comp-tags { margin-bottom: 20px; }
	
	.job { margin-bottom: 35px; }
	.job::after { margin-top: 35px; }
	
	.other-jobs { margin-top: 45px; margin-bottom: 40px; }
	
	.formidable-form-container { margin-top: 40px; padding-top: 50px; padding-bottom: 30px; }
	.formidable-form-container h2.square-title { margin-bottom: 40px; }
	.formidable-form-container .frm_rootline_group { margin: 0 auto 40px; }
	.formidable-form-container .frm_style_custom-style.with_frm_style .form-field.frm_html_container { margin-bottom: 10px; }
	
	.page-template-template-references .refs { padding-top: 20px; }
	.refs > .container { padding-bottom: 0; }
	.refs > .container::after, .blue-bg-hl > .container::after { content: none; }
	
	.three-posts { padding-top: 40px; padding-bottom: 80px; }
	.tp-title, .ref-hls-title { margin-bottom: 60px; }
	.tphl-inner { aspect-ratio: 428/421; }
	.three-posts .linkbutton { margn-top: 25px; }
	
	.refs.ref-hls { padding-top: 60px; padding-bottom: 60px; }
	
	.company-hls { margin-top: 40px; }
	.tight-comp .comp-thumb img { margin: 0 auto 15px 0; max-width: 212px; }
	.tight-comp .comp-title { margin-top: 0; }
	
	.blue-bg-hl { padding-top: 50px; }
	.blue-bg-hl > .container { padding-bottom: 50px; }
	.blue-bg-hl .bbg-text { margin-bottom: 30px; }
	
	#colophon { padding: 65px 0; }
}

@media (max-width:575px) {
	.masthead-inner { padding: 0 calc(var(--bs-gutter-x) * .5); }
	.hero-content, .home .hero-content { padding: 10.3% calc(var(--bs-gutter-x) * .5) 12.7%; }
	
	.img-hl { padding: 50px 0; }
	
	.contact-hls { margin-top: 35px; }
	.contact-hls .contact { margin-bottom: 25px; }
	.contact:not(.contact-noimg) .contact-info { padding-left: 15px; word-break: break-word; }
	.contact-name { margin-bottom: 10px; }
	
	.form-container { padding: 50px 0; }
	.form-lead { margin-bottom: 45px; }
	.form-container h2 { margin-bottom: 40px; }
	
	#filter h2 { margin-bottom: 30px; }
	#cat-filter button, button.offcanvas-btn { font-size: 14px; padding: 12px 18px; margin: 0 18px 10px 0; }
	.page-numbers { margin-right: 3px; margin-bottom: 6px; width: 32px; height: 32px; font-size: 14px; line-height: 21px; }
	.page-numbers.current { margin-right: 3px; }
	.page-numbers.prev, .page-numbers.next { line-height: 23px; }
	.page-numbers.dots:first-of-type + a.page-numbers, .page-numbers.current + a.page-numbers { display: none; }
	
	.body-text img, .body-text iframe { margin-top: 0; margin-bottom: 0; }
	.hl-box .hl-box-inner { padding: 25px; }
	.buttons { margin-top: 30px; }
	
	.icon-hls, .blue-bg-hl { padding-top: 50px; padding-bottom: 20px; }
	.icon-hls-title { margin-bottom: 40px; }
	.icon-hls-title h2 { margin-bottom: 30px; }
	.ihl-icon { max-width: 90px; margin-bottom: 15px; }
	.icon-hl p { font-size: 20px; }
	
	.service-item { margin-bottom: 40px; }
	.service-item h2 { margin-top: 20px; margin-bottom: 15px; }
	
	.page-template-template-jobs .archive-pagination { margin-bottom: 35px; }
	
	.single-post h1.entry-title, .single-reference h1.entry-title { font-size: 39px; }
}

@media (max-width:475px) {
	.contact-hls .contact:not(.contact-noimg) { display: block; max-width: 380px; margin-right: auto; }
	.contact:not(.contact-noimg) .contact-info { padding: 25px 0 0; }
}

@media (max-width:450px) {
	h2, h2.large-h2 { font-size: 32px; line-height: 43px; }
	.square-title:not(.square-title-centered)::before, .square-title.square-title-centered span::before { width: 54px; height: 54px; top: -8px; }
	
	#hero h1, h1 { font-size: 42px; }
	#hero p, p.lead-p, .form-lead p { font-size: 18px; line-height: 28px; }
	.form-lead p, p.lead-p { margin-bottom: 28px; }
	.hero-content a.linkbutton, .hero-content a.linkbutton:visited { margin-top: 22px; }
	
	.service-hl .img-hl-content { padding-top: 50px; }
	
	.number-hls-header h2 { margin-bottom: 24px; }
	.number-unit, .number-count { font-size: 46px; }
	
	.blogs { padding-top: 60px; padding-bottom: 60px; }
	.blogs h2, .other-jobs h2 { margin-bottom: 60px; }
	
	blockquote { margin-top: 35px; margin-bottom: 35px; }
	
	.post-content h3 { font-size: 19px; }
	
	.single-post h1.entry-title, .single-reference h1.entry-title { font-size: 28px; }
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure 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
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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;
}
