/*!
Theme Name: injeq
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: injeq
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.

injeq 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%;
	--dark-blue:  #204B8C;
	--light-blue: #E2EAF2;
	--text-blue: #1DAFD0;
	--yellow: #FCF070;
	--mobile-padding: 2rem;
}


@font-face {
    font-family: 'hk_groteskbold';
    src: url('/wp-content/themes/injeq/fonts/hkgrotesk-bold-webfont.woff2') format('woff2'),
         url('/wp-content/themes/injeq/fonts/hkgrotesk-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'hk_groteskmedium';
    src: url('/wp-content/themes/injeq/fonts/hkgrotesk-medium-webfont.woff2') format('woff2'),
         url('/wp-content/themes/injeq/fonts/hkgrotesk-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* 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;
	background-color: var(--text-blue);
}

/**
 * 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
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: hk_groteskmedium, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-top: 0;
}

p {
	margin-top: 0;
	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 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color:var(--dark-blue);
}

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

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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 {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 0;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

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

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



.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: auto;
}




.main-navigation a {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	padding: 1rem;
	font-family: serenity, sans-serif;
	letter-spacing: 0.25px;
	font-weight: 500;
	padding-bottom: 0;
	margin-bottom: 1rem;


}

.menu-toggle {

	position: absolute;
	top: 0;
	right: var(--mobile-padding);
	background-color: transparent;
	background-image: url('images/bars.svg');
	background-position: center;
	background-size: contain;
	border-style: none;
	background-repeat: no-repeat;
	width: 36px;
	height: 36px;
}

.menu-toggle.active {
	background-image: url('images/close.svg');
}

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

@media screen and (min-width: 1024px) {
	.main-navigation li {
		display: inline-block;
		float: none;
		
	}
	.menu-toggle {
		display: none;
	
	}

	.main-navigation ul {
		display: block;
	}

	.main-navigation ul ul {
	
		float: left;
		position: absolute;
		display: none;
	}

	.main-navigation ul.sub-menu li {
		flex: 0;
	}
  /*
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul  {
		left: 0;
		display: block;
		width: 100%;

	}
	*/

}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

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

body.post,
body.page {
	margin: 0 ;
}

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

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

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

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

.bypostauthor {
	display: block;
}

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

.widget select {
	max-width: 100%;
}

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

/* wysiwyg mods */

h1, h2, h3 {
	font-family: serenity, sans-serif;
	font-weight: 600;
	font-style: normal;
	color: var(--dark-blue);
}

h1 {
	margin-top: 0;
	margin-bottom: 0.3em;
}

ul.plain {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.entry-content .grid-container {
	max-width: 760px;
}

.grid-container.wide {
	max-width: 1200px;
}

header.site-header {
	background-color: var(--dark-blue);

	padding-top: 30px;
	transition: 0.5s;
	width: 100%;
	position: absolute;
	z-index: 10;
	
}

.banner-head header.site-header {
	background-color: transparent;

}

#main_menu {
	position: relative;
}

.main-navigation .logo-menu-item a {
	display: none;
	padding: 1rem;
} 

.main-navigation li.pll-parent-menu-item .sub-menu {
	/* TODO kielivalikolle omat tyylit */
	display: none;
}

.footer-navigation ul {
	list-style: none;
}

.footer-navigation ul {
	padding-left: 0;
	margin-left: 0;
}

.footer-navigation .sub-menu li {
    margin:  0;
}

.footer-navigation li a {
	padding: 5px 0 5px 0;
}

.footer-navigation a::after {
	content: url(images/arrow-right-light-blue.svg);
	display: inline-block;
	width: 1rem;
    height: 1rem;
    position: relative;
    top: 4px;
    left: 11px;
}

.footer-navigation ul.menu > li  {
	margin-bottom: 0;
	width: 100%;
	

} 

.footer-navigation .menu > li > a {
	text-transform: uppercase;
}


#primary-menu > li.current-menu-item > a, #primary-menu > li.menu-item-has-children.current-menu-parent > a {
	color: #FCF070;
	
	font-weight: bold;
}

#primary-menu li.current-menu-item > a {
	color: var(--yellow);
	font-weight: bold;
	
}

.banner-head .post-thumbnail img {
	width: 100%;
}

body {
	max-width: 2400px;
	margin: 0 auto;
}

.site-footer {
	background-color: var(--dark-blue);
	color: var(--text-blue);
	padding: 90px 0 90px 0;
}

.site-footer a {
	color: var(--text-blue);
	text-decoration: none;
	padding: 2px 0;
}

.site-footer a:focus, .site-footer a:hover {
	
	text-decoration: underline;
}

.site-footer address {
	font-style: normal;
}

.footer-logo {
	margin-bottom: 40px;
	max-width: 178px;
}

.some li {
	padding-bottom: 17px;
}

.some li img {
	vertical-align: text-top;
}

a.some-icon-link {
	border-radius: 50%;
	background-color: var(--text-blue);
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 7px;
}

.some-icon-link img {
	width: 24px;
	height: auto;
}

.entry-header h1 {
	font-size: 30px;
	line-height: 1;
	z-index: 3;
	position: relative;
}

.banner-head .entry-header {
	background-size: cover;
	background-position: center;
	min-height: 234px;
	padding-top: 110px;
	position: relative;
	padding-bottom: 10px;
}

.banner-head .entry-header h1 {
	color: #fff;
}

.banner-head .entry-content {
	padding: 57px 0 ;
	
	
}

.logo_area {
	width: 178px;
	height: auto;
	position: relative;
	left: 0;

	
	text-align: center;
}

.logo_area img {
	margin-bottom: 29px;
}
 
.home #logo-large {
	display: none;
}

.frontpage-news {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}

.frontpage-news .grid-container {
	position: relative;
	z-index: 5;
}

.frontpage-news .cell.article-short {
	box-shadow: none;
	flex-direction: column;
}

.frontpage-news .article-short h3 {
	color: #fff;
}

.frontpage-news .news-thumbnail {
	min-height: 250px;
}

.banner-head .entry-header #sub-title {
  display: none;
}

.dark-bg {
	background-color: var(--dark-blue);
	color: #fff;
	padding-top: 80px;
	padding-bottom: 80px;
	margin-bottom: 60px;
}

.dark-bg:last-child {
	margin-bottom: 0;
}

.dark-bg + .light-bg {
	margin-top: -60px;
}

.dark-bg h2 {
	color: #fff;
}

.light-bg {
	background-color: var(--light-blue);
	padding-top: 80px;
	padding-bottom: 80px;
}

.white-bg {
	padding-top: 80px;
	padding-bottom: 80px;
}

.blue-layer {
	position: relative;
	z-index: 0;
	background-position: center;
}

.blue-layer * {
	z-index: 2;
}

body.banner-head .entry-header::before, .feature-block::before, .publications.dark-bg::before, .frontpage-news.dark-bg::before, .blue-layer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: #234B88;
	mix-blend-mode: multiply;
	opacity: 0.83;
	z-index: 0;
}

body.home.banner-head .entry-header::before {
	background-color: transparent;
	opacity: 1;
}

 .banner-head .site-header.menu-open {
	background-color: var(--dark-blue);
}

.single .entry-header h1 {
	font-size: 36px;
	line-height: 44px;
	color: var(--dark-blue);
}

.article-short h3 {
	font-size: 20px;
	font-weight: normal;
	line-height: 1.1;
}

.article-short .entry-meta {
	width: 100%;
}

.entry-meta {
	margin-top: 17px;
	margin-bottom: 8px;

}

.single .entry-meta {
	margin-bottom: 22px;
}

.entry-meta {
	text-transform: uppercase;	
	font-family: Roboto, sans-serif;
	font-size: 14px;

}

.single .post-thumbnail {
	margin-bottom: 66px;
}

.single .entry-content {
	padding-bottom: 3rem;
	margin-bottom: 3rem;
	border-bottom: 2px solid var(--text-blue);
}

.blog-articles .article-short {
	background-color: var(--light-blue);
}

.blog-articles .entry-meta, .blog-articles .excerpt {
	margin: 1rem;
}

.home main .grid-container {
	margin-bottom: 60px;
}

.archive main {
	padding-bottom: 8rem;
}

.press-releases {
	background-color: var(--dark-blue);
	padding: 80px 0;
	
}

.activity h2 {
	text-align: center;
	margin-bottom: 40px;
}

.activity .button {
	margin-top: 20px;
}

.news .news-thumbnail {
	margin-top: -20px;
	margin-left: -18px;
	margin-right: -18px;
}

@media screen and (min-width: 1024px) {
	.news .news-thumbnail {
		min-height: 274px;
	 }
}

.press-releases h2 {
	color: #fff;
	font-size: 44px;
	font-weight: 500;
	text-align: center;
	margin-top: 0;
}

.press-releases .article-short {
	background-color: #fff;
	padding: 1.1rem;
}

a.button, input.button {
	color: #fff;
	background-color: var(--dark-blue);
	text-transform: uppercase;
	border-radius: 16px;
	text-decoration: none;
	padding: 7px 20px 7px;
}

a.button.blank, input.button {
	background-color: transparent;
	border: 1px solid var(--text-blue);
}
a.button.blank:hover,a.button.blank:active,a.button.blank:focus,
input.button:hover,input.button:active,input.button:focus {
    /*color: #FEFEFE;*/
	background-color:inherit;
}
a.button::after {
	content: " >";
}

.button.yellow {
	background-color: #FCF070;
	color: var(--dark-blue);
}

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

a.read-more, a.read-more:visited {
	font-family: hk_groteskbold;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--dark-blue);
}

.dark-bg a.read-more {
	color: var(--yellow);
} 

.press-releases a.read-more, .press-releases a.read-more:visited {
	color: var(--dark-blue);
}

.press-releases .cell {
	color: #000;
}

.event-data {
	padding: 1rem;
	background-color: #fff;
	box-shadow: 0px 3px 6px #00000029;
}

.events .cell {
	display: flex;
	flex-direction: column;

}

.events .event-data {
	flex: 1;
}

select {
	border: 1px solid var(--text-blue);
	color: var(--dark-blue);
	border-radius: 0;
	padding: 10px;
	font-weight: bold;
	max-width: 260px;
}

select:focus {
	border: 1px solid var(--text-blue);
}

.inpage-bot {
	background-color: var(--dark-blue);
	color: #fff;
	padding-top: 21px;
	padding-bottom: 14px;
	text-align: center;
	position: relative;
	z-index: 8;
}

.inpage-bot h2, .inpage-bot h3 {
	color: #fff;
}

.feature-block+.inpage-bot, .inpage-bot+.feature-block {
	margin-top: -100px;
}

.hearts ul {
	
	list-style: none;
	font-size: 28px;
	line-height: 32px;
	margin-left: 0;
	color: var(--dark-blue);
	
  }

.hearts ul li {
	background-image: url("images/heart.svg");
	background-repeat: no-repeat;
	background-position-x: left;
	background-position-y: center;
	background-size: 40px 40px;
	padding-left: 60px;
	margin-bottom: 25px;
	min-height: 40px;

}

.home .site-main ul li, .large-list ul li  {
	margin-bottom: 25px;
	min-height: 40px;
	font-size: 28px;
	line-height: 32px;
	margin-left: 0;
	color: var(--dark-blue);

}

.home .site-main ul li::marker {
	color: var(--text-blue);
}

.feature-block {
	padding-top: 180px;
	padding-bottom: 180px;
	text-align: center;
	background-size: cover;
	background-position: center;
	position: relative;


}

.feature-block .grid-container {
	position: relative;
	z-index: 5;
}

.feature-block h2, .feature-block h3 {
	color: #fff;
}

.feature-block p {
	font-size: 1.5rem;
}

.contact-persons strong {
	text-transform: uppercase;
	color: var(--dark-blue);
}

.contact-persons h2 {
	margin-bottom: 0;
}

.read-more-text.trunc > * {
	display: none;
}



.read-more-text.trunc > *:nth-child(-n+2) {
	display: block;
}

.read-more-text .read-more-toggle {
	display: block;
	border: none;
	background-color: transparent;
	color: var(--dark-blue);
	text-transform: uppercase;
	cursor: pointer;
	padding-left: 0;
	font-family: hk_groteskbold;
}

.main-navigation a {
	padding-left: 0;
}

.main-navigation li {
	text-transform: none;
}

.main-navigation .nav-menu > li:nth-child(4), .main-navigation .nav-menu > li:nth-child(3), .main-navigation .nav-menu > li:nth-child(2), .main-navigation .nav-menu >  li:nth-child(1) {

	text-transform: uppercase;
}

.main-navigation.toggled .nav-menu .sub-menu li {
	text-transform: none;
	padding-left: 2rem;
}

.main-navigation.toggled .nav-menu .sub-menu li a {
	padding: 0;
	padding-bottom: 10px;
}

main.site-main {
	padding-top: 200px;
}

.banner-head main.site-main {
	margin-top: auto;
	padding-top: 0;
}

.main-navigation .sub-menu {
	line-height: 1;
}

.main-navigation .sub-menu {
	display: none;
	padding-left: 1rem;
}

.main-navigation li .sub-menu.toggled  {
	display: block;
}

.main-navigation .menu > li {
	position: relative;
}

.main-navigation .menu li li {
	position: static;
}

.nav-collapse .dropdown-toggle {
    color: #fff;
    border: 0;
    
    height: auto;
    width: auto;
    padding: 0;
    position: absolute;
    margin: 0;
    background-color: transparent;
    top: 0;
    right: 10px;
	font-family: monospace;
	font-size: 20px;
	cursor: pointer;
	padding-top: 1rem;

}

.main-navigation .dropdown-toggle.toggled {
	color: var(--yellow);
	/*
	transform: rotate(90deg);
	*/
}

.nav-collapse .dropdown-toggle::after {
	content: url('images/arrow-white.svg');
	position: relative;

}

.nav-collapse .current-menu-ancestor .dropdown-toggle::after, .nav-collapse .current-menu-item .dropdown-toggle::after {
	content: url('images/arrow-yellow.svg');
}

.videos .button, .button.turq {
	background-color: var(--text-blue);
}

.videos p {
	font-weight: 500;
}

.publications.dark-bg {
	background-image: url(images/pubs-bg.jpg);
	background-size: cover;
	position: relative;
	color: #fff;

}

.publications.dark-bg .grid-container {
	position: relative;
	z-index:9;
}

.publications.dark-bg .cell.article-short, .publications.light-bg .cell.article-short {
	background-color: #fff;
	color: #000;
	padding: 1.1rem;

}

.publications.dark-bg a.read-more {
	color: var(--dark-blue);
}

.publications.dark-bg {
	margin-bottom: 0;
}



#sub-title strong {
	font-weight: 600;
}

.excerpt p {
	overflow-wrap: anywhere;
}

@media screen and (min-width: 1024px) {

	header.site-header {
		position: fixed;
		top: 0;
		min-height: 167px;
		padding-bottom: 3rem;
		padding-top: 35px;
		z-index: 10;
	
	}

	h2 {
		font-size: 36px;
		line-height: 44px;
	}
	.press-releases h2 {
		font-size: 44px;
	}	

	.home header.site-header {
		min-height: auto;
		
	}

	.banner-head header.site-header {
		background-color: transparent;
		

		
	}

	main.site-main {
		margin-top: 267px;
		padding-top: 0;
	}

	main.lang_fi.site-main {
		margin-top: 129px;
	}

	.banner-head main.site-main {
		margin-top: auto;
		padding-top: 0;
	}

	.banner-head .entry-header {
		height: 760px;
		padding-top: 300px;
	
	}



	.home.banner-head .entry-header, .page-template-front-page.banner-head .entry-header {
		padding-top: 144px;
		height: 600px;
	}



	.entry-header h1 {
		font-size: 72px;
		line-height: 86px;
		position: relative;
	
	}
	.banner-head .entry-header p {
		z-index: 3;
		position: relative;
	}


	.banner-head .entry-header #sub-title {
		color: #fff;
		text-shadow: 3px 3px 6px #000000F8;
		font-size: 32px;
		display: block;
		max-width: 500px;
		line-height: 38px;
		font-family: serenity, sans-serif;
		position: relative;
		z-index: 3;
	}

	.banner-head header.site-header.solid {
		background-color: var(--dark-blue);
		background-image: none;
	}

	.main-navigation .menu > li > a {
		padding-left: 8px;
		padding-right: 8px;
	}

	.main-navigation .menu > li.menu-item-has-children > a {
		padding-right: 13px;
	}

	.main-navigation .menu > li:first-child > a {
		padding-left: 0rem;
	}

	.main-navigation .logo-menu-item  {
		
		background-image: url(images/injeq-logo.svg);
		background-size: contain;
		background-repeat: no-repeat;
	} 
	.nav-collapse .dropdown-toggle::after {
	
		top: 7px;
		left: -15px;
	}
	.logo_area {
		width: 178px;
		height: auto;
		position: absolute;
		left: 50%;
		z-index: 2;
		margin-left: -88px;
		text-align: center;
	}


	
	.home .solid .logo_area {
		width: 178px;
	}

	.home #logo-large {
		display: inline-block;
	}
	

	.home #logo-small {
		display: none;
	}

	.home .solid #logo-small {
		display: inline-block;
	}

	.home .solid #logo-large {
		display: none;
	}

	.main-navigation .nav-menu {
		text-align: right;
	}

	.main-navigation .menu > li {
		position: static;
		padding-right: 1rem;
		text-transform: uppercase;
	}
	
	.main-navigation .menu > li:last-child {
		
		padding-right: 0rem;
	}

	.main-navigation .menu li li {
		position: static;
	}
	.main-navigation .nav-menu > li:nth-child(3), .main-navigation .nav-menu > li:nth-child(2), .main-navigation .nav-menu >  li:nth-child(1) {
		float: left;
		text-transform: uppercase;
	}

	.main-navigation .menu-main-menu-fi-container .nav-menu > li.lang-item-en {
		float: right;
	}

    .nav-collapse .dropdown-toggle {
		display: inline-block;
		position: relative;
	}

	.main-navigation .current-menu-item .sub-menu, .main-navigation .current-menu-ancestor .sub-menu {
		text-align: center;
		display: block;
		padding-left: 0;
	
		
		border-top: 1px solid var(--light-blue);
		left: 0;
		display: block;
		width: 100%;
		margin-top: 21px;
	}

	.solid .main-navigation .current-menu-item .sub-menu,  .solid .main-navigation .current-menu-ancestor .sub-menu  {
		/*	
		background-color: var(--dark-blue);
		*/
	}

	.main-navigation .sub-menu > li {
		
		margin: 0;
		margin-left: -5px;
		text-transform: none !important;
	}

	.main-navigation .sub-menu li a {
		padding: 1rem;
		padding-bottom: 0;
		margin-bottom: 1rem;
	}

	#primary-menu > li.current-menu-item > a, #primary-menu > li.menu-item-has-children.current-menu-parent > a {
		
		border-bottom: 1px solid var(--text-blue);
	
	}

	#primary-menu > li.menu-item-has-children > a {
		padding-right: 20px;
		position: relative;
		z-index: 2;
	}

	#primary-menu > li.current-menu-item:first-child > a {
		margin-left: -8px;
		padding-left: 8px;
	}

	.main-navigation .dropdown-toggle {
		padding-top: 0;
		
	}
	
	
	.open-positions .grid-x:nth-child(even) .cell.position-image {
		order: 2;
	}
	.open-positions .grid-x:nth-child(even) .cell.position-text {
		order: 1;
	}


	
}

.open-positions {
	margin-bottom: 60px;
}

.select-wrap {
	position: relative;
	display: inline-block;
	width: 250px;
}

.select-wrap::after  {
	content: '>';
	font: 25px "Consolas", monospace;
	color: var(--text-blue);
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	right: 11px;
	
	top: 13%;
	padding: 0 0 2px;

	position: absolute;
	pointer-events: none;
}

.select-wrap select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: none;
  }

.countries .grid-x {
	display: none;
}

.countries div.grid-x:first-child {
	display:flex;
}

.page-template-page-contact  .entry-content {
	font-weight: 500;
}

.rep-contact th {
	width: 35px;
	position: relative;
	background-size: 27px;
	background-position: 0 6px;
	background-repeat: no-repeat;
}
.rep-address th {
	background-image: url(images/map.svg);
	background-size: 33px;
}

.rep-tel th {
	background-image: url(images/telephone.svg);

}

.rep-email th {

	background-image: url(images/envelope.svg);


}

.slide-more-info {
	padding-top: 2rem;
}

.slides {
	margin-bottom: 100px;
}

.product-contact h2 {
	text-transform: uppercase;
	margin-bottom: 0;
}

.product-contact a {
	color: #fff;
}

.product-contact {
	margin-bottom: -20px;
}

.products {
	margin-bottom: 6rem;
}

.products .product-image {
	padding-bottom: 2rem;
	padding-top: 1rem;
}

@media screen and (min-width: 40em) {
	.products .grid-x:nth-child(odd) .product-image {
		order: 2;
		padding-left: 40px;
	}
	
	.products .grid-x:nth-child(odd) .product-description {
		order: 1;
	}

}

@media screen and (min-width: 64em) {
	
	.products .grid-x:nth-child(even) .product-image {
	
		padding-right: 40px;
	}
}




.reveal#contact-person {
	padding: 0;
	border-style: none;

} 

.reveal .contact-header {
	background-color: var(--text-blue);
	text-transform: uppercase;
	padding-left: 20px;
	padding-right: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 65px;
	

}

.reveal button.close {
    background-color: transparent;
    color: #fff;
    border-style: none;
    background-image: url(images/x-close.svg);
    background-position: center;
    background-size: contain;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;

}

.contact-header h2 {
	color: #fff;
	margin: 0;
	padding: 0;
}

.reveal .contact-info .cell {
	padding: 1rem;
	background-color: var(--light-blue);
}

.reveal .contact-info strong {
	font-size: 36px;
	font-weight: bold;
	text-transform: uppercase;
}

.reveal h2 {
	animation: none;
}

h1,h2, .inpage-bot {
	opacity: 1;
/*transform: translateY(100px);*/
}
.scrolledonview {
opacity: 1;

animation: doanim 0.7s;
/*animation-timing-function: ease-out;*/
animation-timing-function: cubic-bezier(0.25,0.1,0.25,1);
animation-fill-mode: forwards;
visibility: hidden;
}
@keyframes doanim {
from {transform: translateY(100px);opacity: 0;visibility: visible;}
to {transform: translateY(0);opacity: 1;visibility: visible;}
/*from {transform:scale(0)}
to {transform:scale(1)}*/
}

/*
 Materials
*/
h2#manuals {
    font-size: 72px;
}
.product-lot-number {
	background-image: url('images/diagnosing.jpg');
	background-size: cover;
}
button#get_lot {
    margin-left: 1rem;
    padding: .74rem 2.3rem;
    margin-top: 0;
}
button#get_lot:hover,button#get_lot:active,button#get_lot:focus {
    background-color: var(--text-blue);
	 
}
button#get_lot:hover,button#get_lot:active {
    border: 1px solid var(--text-blue);
}

input#lot {
    border-color: var(--text-blue);
    font-weight: bold;
    color: var(--dark-blue);
    padding-left: 1em;
}
.accordion-title::before {
    margin-top: -1.5rem;
    font-size: 3em;
    color: var(--dark-blue);
}
.cell.article-short {
	-webkit-box-shadow: 3px 2px 8px -3px rgba(0,0,0,0.66);
	box-shadow: 3px 2px 8px -3px rgba(0,0,0,0.66);
	padding: 1.1rem;
	position: relative;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	flex-direction: column;
}

#images a[download] {
	/* border: 1px solid; */
	background: #eeeded;
	border-radius: 4px;
	padding: 2px 3px;
	margin: 2px;
	color: #000;
}
.material-preview {
	text-align: center;
	margin-bottom: 1rem;
	width: 100%;
	align-self: flex-start;
}
.material-preview {
	text-align: center;
	margin-bottom: 1rem;
	width: 100%;
}
.material-description {
	width: 100%;
}
.materials {
	margin-bottom: 2rem;
}
.material-preview iframe {
	height: 100%;
}

.materials .cell.article-short {
	display: block;
}


.aspe {
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-bottom: 56.5%;
	position: relative;
}
.lform h3 {font-size:36px;}
.lform {
    border: none;
    padding: 1em;
 
    margin: 0 auto 0 auto;
}

.lform label {
	font-weight: bold;
	color: var(--dark-blue);
	font-size: 20px;
}

.lform input {
	border-color: var(--text-blue);
	color: var(--dark-blue);
	padding-left: 1em;
	
}

.lform input.button {
    color: var(--dark-blue);
    font-size: 1rem;
}
.lform input.button:hover,.lform input.button:active,.lform input.button:focus {
    background-color:inherit;
}
.lform input.button:hover,.lform input.button:focus {
    border: 1px solid var(--text-blue);
}
.lform .login-remember {
	clear: both;
}

#loginform label {
	display:block;
} 
#lot{
	display: inline-block;
	width: 19rem;
	max-width: 100%;
}
	#lot:invalid{color:red;}
	.man-list a {
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
}
.man-list ul {
	list-style: none;
	margin: 0;
}
.man h3, .man-list h3,.man-list p {
	color: #fff;
}
.man h3 {
	margin: 0 0 -22px 0;
	font-size: 36px;
}
.man-list li {
	margin: 1.2em 0;
}

.sm {
	z-index: 0;
}

.sm-simple a, .sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active {
	padding: 13px 20px;
	/* make room for the toggle button (sub indicator) */
	padding-right: 58px;
   
	
	font-size: 16px;
	font-weight: normal;
	line-height: 17px;
	text-decoration: none;
  }
  .sm-simple li.current-menu-item > a {
	  font-weight: 600 !important;
  }
  /* currentväri poistettu
  .sm-simple a.current {
	background: #555555;
	color: #fff;
  }
  */
  .sm-simple a.disabled {
	color: #cccccc;
  }
  /*Siniset linkit*/
  .sm a,.sm a:visited {
	  color: #000;
  }
  .menu-item a.highlighted {
	  color: var(--text-blue) !important;
  }
  
  .sm > li > a {
	  text-transform: uppercase;
  }
  
  
  
  .sm-simple a .sub-arrow {
	position: absolute;
	top: 50%;
	margin-top: -17px;
	left: auto;
	right: 4px;
	width: 34px;
	height: 34px;
	overflow: hidden;
	font: bold 14px/34px monospace !important;
	text-align: center;
	text-shadow: none;
	/*background: rgba(0, 0, 0, 0.08);*/
	background: none;
  }
  .sm-simple a .sub-arrow::before {
	content: '+';
  }
  .sm-simple a.highlighted .sub-arrow::before {
	content: '-';
  }
  
  
  .sm-simple ul a, .sm-simple ul a:hover, .sm-simple ul a:focus, .sm-simple ul a:active {
	font-size: 16px;
	border-left: 8px solid transparent;
  }
  .sm-simple ul ul a,
  .sm-simple ul ul a:hover,
  .sm-simple ul ul a:focus,
  .sm-simple ul ul a:active {
	border-left: 16px solid transparent;
  }
  .sm-simple ul ul ul a,
  .sm-simple ul ul ul a:hover,
  .sm-simple ul ul ul a:focus,
  .sm-simple ul ul ul a:active {
	border-left: 24px solid transparent;
  }
  .sm-simple ul ul ul ul a,
  .sm-simple ul ul ul ul a:hover,
  .sm-simple ul ul ul ul a:focus,
  .sm-simple ul ul ul ul a:active {
	border-left: 32px solid transparent;
  }
  .sm-simple ul ul ul ul ul a,
  .sm-simple ul ul ul ul ul a:hover,
  .sm-simple ul ul ul ul ul a:focus,
  .sm-simple ul ul ul ul ul a:active {
	border-left: 40px solid transparent;
  }


.sm-simple {
	
	background: #fff;
	box-shadow: 0px 3px 6px #00000029;
	}

.sm-simple a .sub-arrow {
	color: var(--text-blue);
}

.sm-simple > li {
	border: 1px solid var(--text-blue);
	border-bottom: none;
} 

.sm-simple > li:last-child {

	border-bottom: 1px solid var(--text-blue);
} 

.sm-simple li.current-menu-item > a {
	color: var(--text-blue);
}

.sm-simple ul.sub-menu {
	border-top: 1px solid var(--text-blue);
}

.sm-simple a {
	font-weight: 500;
	font-family: serenity, sans-serif;
}

.investors-top-content {
	padding-bottom: 70px;
}

.investors-top-content .entry-header h1 {
	font-size: 36px;
	line-height: 1.5;
}

.board-member {
	border: 1px solid #1EAFCF;
	box-shadow: 0px 3px 6px #00000029;
	margin-bottom: 70px;

}


.board-member .read-more-text.trunc > *:nth-child(2), .history .read-more-text.trunc > *:nth-child(2)  {
	display: none;
}

.board-member .cell {
	padding-top: 2rem;
	padding-bottom: 2rem;
}



.board-member h2 {
	text-align: left;
	font-size: 20px;
	margin: 0;
	font-weight: normal;
	text-transform: uppercase;
	font-family: hk_groteskbold, sans-serif;
	line-height: 1;

}

.board-member .member-image {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

@media screen and (min-width: 1024px) {
	.lform .login-username, .lform .login-password {
		width: 50%;
		float: left;
		padding-right: 2em;
		
	}

	input[type=checkbox] {
		transform: scale(1.5);
	}

	.board-member img {
		margin: 0 40px 0 72px;
	}

	.board-member .cell {
		padding-top: 65px;
		padding-bottom: 65px;
	}
	
}

@media screen and (max-width: 1023px) {
	/* mobiilivärit */

	.main-navigation  {
		background-color: #385C93;
		margin-right: calc(-1 * var(--mobile-padding));
		margin-left: calc(-1 * var(--mobile-padding));
		width: auto;
		padding: 0 38px;
		border-top: 1px solid var(--text-blue);
		border-bottom: 1px solid var(--text-blue);
	}

	.main-navigation ul.nav-menu > li {
		border-bottom: 1px solid var(--text-blue);
	}

	.main-navigation ul.nav-menu > li:last-child {
		border-bottom: none;
	}

	.main-navigation ul ul a {
		padding: 0 0 0.5rem;
		margin-bottom: 4px;
	}

	.main-navigation ul ul  {
		padding-bottom: 0.5rem;
	}

	.nav-collapse ul {
		min-height: auto;
	}

	.grid-container {
		padding-right: var(--mobile-padding);
		padding-left: var(--mobile-padding);
	}



}

/*
	Tables
*/

tbody tr:nth-child(even) {
    border-bottom: 0;
    background-color: #fff;
}

.faq-accordion {
	margin-bottom: 80px;
}

.accordion-title {
    position: relative;
    display: block;
    padding: 1.25rem 1rem;
    border: 1px solid #e6e6e6;
    border-bottom: 0;
    font-size: 20px;

    line-height: 1;
    color: var(--dark-blue);
	transition: all 0.33s ease;
    background-color: rgba(226,234,242,0.33);
    border-color: #E2EAF2;
  
}

 .accordion-title::before {
    margin-top: -1.5rem;
    font-size: 2rem;
    color: var(--dark-blue);
}
[type=color], [type=date], [type=datetime-local], [type=datetime], [type=email], [type=month], [type=number], [type=password], [type=search], [type=tel], [type=text], [type=time], [type=url], [type=week], textarea {
    height: 2.45rem;
}



body .featherlight  .featherlight-content {
	max-width: 1024px;
	max-height: 576px !important;
	width: 96vw;
	height: 54vw; /* NOTE: vw instead of vh */
}
body .featherlight  IFRAME.featherlight-inner {
	width:100%;
	height:100%;
	max-width: 1024px;
	max-height: 576px;
}

main b, main strong {
	font-family: hk_groteskbold, sans-serif;
}

.accordion.read-more-accordion {
	background-color: transparent;
}

.read-more-accordion .accordion-content {
	border-style: none;
	background-color: transparent;
	padding: 1rem 0;
	border-bottom-style: none;
}

.read-more-accordion .accordion-title.button {
	display: inline-block;
	border-radius: 16px;
	font-size: inherit;
}

.read-more-accordion .accordion-title::before {
	content: "";
}

.read-more-accordion .is-active>.accordion-title::before {
	content: "";
}

.page-template-page-product-fi .arve {
	margin-left: auto;
	margin-right: auto;
}


.releases-top {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
.releases-block *{white-space:normal;}
.releases-block {
	white-space: normal;
}
.releases-list .accordion-title {
	display: flex;
	flex-wrap: wrap;
	row-gap: 6px;
}
.releases-top {
	border-bottom: 2px solid var(--text-blue);
}
.releases-list div {
	
	
}

.newsfeed .accordion-title::before {
	position: absolute;
	top: 50%;

	width: 25px;
	text-align: center;
	align-self: auto;
	height: 25px;
	margin: 0;
	padding: 0;
	line-height: 1.3rem;
	border-radius: 50%;
	color: white;
	background-color: var(--text-blue);
	font-size: 1.26rem;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.newsfeed .column1 {
	width: 185px;
	min-width: 165px;
}

.newsfeed .column2 {
	padding-right: 40px;
	flex: 1;
}

.newsfeed {
	text-align: left;
}



.newsfeed .column3 {
	width: 10%;
}
.newsfeed .releaseifr {
	width: 100%;
	padding: 0;
	border: 0;
	height:30rem;
}
.newsfeed .accordion-title {
	font-size: inherit;
	line-height: 1;
	border-bottom: 1px solid var(--text-blue);
	color: var(--dark-blue);
	background-color: transparent;
	border-left-style: none;
	border-right-style: none;
}

.newsfeed .accordion-content {
	padding:0;
	position:relative;
	/*border: 1px solid var(--text-blue);*/
}
.newsfeed .acc-close {
	display: block;
	position: absolute;
	right: 10px;
	bottom: 10px;
	border-radius: 47px;
	color: #fff;
	padding: 7px 20px;
	border:none;
}
.news-search {

	width: 100%;
}
.news-search input {
	width: 100%;
}

.newsfeed :last-child:not(.is-active)>.accordion-title {
    border-bottom: 1px solid var(--text-blue);
  
}

.newsfeed input, form  input[type=text], form  input[type=email], form  input[type=password] {
	border-color: var(--text-blue);
    color: var(--dark-blue);
    padding-left: 1em;
	height: 50px;
	margin-bottom: 0;
}

.newsfeed select {
	height: 50px;
}

.news-functions form {
	display: flex;
	flex-direction: row;
	gap: 1.4rem;
	align-items: flex-end;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.news-years {
	display: flex;
	flex-direction: row;
	flex: 1;
	justify-content: space-between;
	
}

.newsfeed button {
	color: #fff;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	
}

.all-feeds-link {
	margin-top: 1rem;
	display: none;
}
.feed-paging {
	text-align: center;
	margin-top: 2rem;
}
.feed-paging span a {
	color: var(--text-blue);
	margin: 0 0.3rem;
	padding: .3rem 0;
	border-radius: 50%;
	line-height: .7rem;
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
}
.feed-paging span a.current {
	background-color: var(--text-blue);
	color:white;
}

.feed-paging .dontshow {
	display: none;
}
.feed-paging span:nth-last-child(2) {
	display: inline;
}
.feed-paging span.dontshow:nth-last-child(2)::before {
	content: "...";
}

.lang_fi.site-main h1 {
	font-size: 2.2rem;
	line-height: 1.3;
	
}

.light-bg > .grid-container:last-child, .white-bg > .grid-container:last-child, .dark-bg > .grid-container:last-child {
	margin-bottom: 0;
}

.newsfeed .select-wrap::after {
	top: unset;
	bottom: 9px;
}

.subscription-form h2 {
	text-align: left;
}

.subscription-form label {
	font-weight: bold;
	color: var(--dark-blue);
	font-size: 20px;
}


.subscription-form input:valid {
	border: 2px solid green;
}
button.button {
	color: #fff;
	background-color: var(--dark-blue);
	text-transform: uppercase;
	border-radius: 16px;
	text-decoration: none;
	padding: 7px 20px 7px;
}
.subscriber-name label,.subscriber-email label{
	position:relative;
}

.subscriber-name label::before, .subscriber-email label::before{
	border-color: var(--text-blue);
	color: var(--text-blue);
	padding-left: 1em;
	height: 50px;
	content: attr(data-term);
	position: absolute;
	left: 10px;
	top: 0;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 9px;
	font-weight: 600;
}
.news-search label {
	position:relative ;
}
.news-search label::before {
	content: attr(data-term);
	position: absolute;
	left: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 9px;
	font-weight: 600;
	color: var(--text-blue);
}

.history {
	position:relative;
	display: block;
	margin-bottom: 3rem;

}

.history .event {
	margin-bottom: 3rem;
	position: relative;
}

.history .event-content {
	padding: 1rem;



}



.history .event-year {

  width: 90px;
  height: 90px;

  color: #fff;
  background-color: var(--text-blue);
  font-size: 25px;
  font-weight: bold;

  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.event-year p {
	margin-bottom: 5px;
	line-height: 1;
}

.history-end {
	clear: both;
	display: block;
	margin-bottom: 2rem;
}

.history .event h2 {
	font-size: 26px;
	margin-bottom: 1rem;
	line-height: 1.5;
	
}

.history hr {
	width: 60%;
	margin-left: 0;
	border-top: 2px solid var(--text-blue);
	border-bottom-style: none;
	margin-bottom: 1rem;
	background-color: transparent;
	margin-top: 0;
}

.home .subscription-form {
	margin-top: 57px;
}

@media screen and (min-width: 1024px) {

	.newsfeed .accordion-title::before {
		position: absolute;
	
		left: 161px;
		text-align: center;
		align-self: auto;

		margin: 0;
		padding: 0;
		line-height: 1.3rem;
		border-radius: 50%;
		color: white;
		background-color: var(--text-blue);
		font-size: 1.26rem;
	}

	.newsfeed .accordion-title {
		flex-wrap: nowrap;
	}
	
	.newsfeed .column2 {
		padding-left: 40px;
		padding-right: 0;
	}
	.news-search {

		width: 40%;
	}

	.history::after {
		content: '';
		position: absolute;
		width: 10px;
		background-color: var(--text-blue);
		top: 0;
		bottom: 0;
		left: 50%;
		margin-left: -5px;
	}
	
	.history .event {
		width: 50%;
	
		display: flex;
		flex-direction: column;
	

	}

	.history .event-image {
		margin-bottom: 1rem;
	}

	.history .event-content {

		width: 80%;
	
	}


	
	.history .event:nth-child(odd) {
		float: left;
		clear: both;
		
	}
	
	.history .event:nth-child(even) {
		float: right;
		align-items: flex-end;
		margin-top: 170px;
	}
	
	.history .event-year {
		position: absolute;

	  top: 0;
	  border-radius: 50%;
	  z-index: 1;
	}
	
	.history .event:nth-child(odd) .event-year {
		right: -44px;
	}
	
	.history .event:nth-child(even) .event-year {
		left: -44px;
	}
	
	
}


.person-index {
	border: 1px solid var(--text-blue);
    border-radius: 50%;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    height: 32px;
    line-height: 11px;
	position: absolute;
	left: -16px;
	top: -16px;
	background-color: #fff;
}

.adv-board-member {
	border: 1px solid var(--text-blue);
	flex:1;
	padding: 0.8rem;
	position:relative;
	font-size: 0.9rem;
	margin: 14px 0 14px 14px;
	
}

.adv-board-member p {
	line-height: 1.2;
	margin-bottom: 0.5rem;
}

.adv-board-member p:last-child {
	margin-bottom: 0;
}

.flex {
	display: flex;
}