/*!
Theme Name: finelcomp2021
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: finelcomp2021
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.

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

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #202020;
	font-family: 'Fira Sans compressed', sans-serif;
	font-size: 18px;
	font-weight:400;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Fira Sans compressed', sans-serif;
	color:#1D1361;
	clear: both;
	line-height:1.25em;
}

h1 {
	font-size:80px;
	font-weight:900;
	margin-top:1.0em;
	margin-bottom:0.8em;
}

h2 {
	font-size:48px;
	font-weight:700;
	margin-top:1.0em;
	margin-bottom:0.8em;
}
h3 {
	font-size:32px;
	font-weight:700;
	margin-top:1.0em;
	margin-bottom:0.8em;
}
h4 {
	font-size:28px;
	font-weight:700;
	margin-top:1.0em;
	margin-bottom:0.8em;
}
h5 {
	font-size:24px;
	font-weight:700;
	margin-top:1.0em;
	margin-bottom:0.8em;
}
h6 {
	font-size:20px;
	font-weight:700;
	margin-top:1.0em;
	margin-bottom:0.8em;
}
p {
	font-family: 'Fira Sans compressed', sans-serif;
	/*font-size:18px;*/
	/*font-weight:400;*/
	margin-top:1.0em;
	margin-bottom: 1.1em;
}

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

@media screen and (max-width: 750px) {
	
	h3 {
		font-size:25px;
		font-weight:700;
		margin-top:1.0em;
		margin-bottom:0.8em;
	}
	
}
/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

ul,
ol {
	margin: 0 0 1.5em 0;
	padding-left:1.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
	counter-reset: my-awesome-counter;
    list-style: none;
    margin-left: 130px;
}

ol li {
	margin-bottom:1.2em;
	counter-increment: my-awesome-counter;
	position: relative;
	margin-left:0px;
}

ol li::before {
    position: absolute;
    left: -130px;
    top: -25px;
    content: counter(my-awesome-counter);
    font-size: 32px;
    color: #000;
    font-weight: 700;
    background: #F4F4F6;
    border: 2px solid #1D1361;
    display: inline-block;
    padding: 0.6em 1.1em;
    border-radius: 50%;
}

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

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

.custom-front-box {
	background-color:#F5F8F8;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	padding:1.0em;
	margin:0.3em 0.1em;
	min-height:340px;
	position:relative;
}
.custom-front-box h2 {
	position:absolute;
	bottom:175px;
	left:15%;
	width:70%;
	margin-left:auto;
	margin-right:auto;
	font-size:34px;
	font-weight:800;
	line-height:1.1em;
}
.custom-front-box p:first-of-type {
	position:absolute;
	width:90%;
	left:5%;
	top:140px;
	font-size:18px;
	font-weight:400;
	color:#1D1361;
	line-height:1.4em;
}
.custom-front-box p:last-of-type {
	position:absolute;
	bottom:15px;
	left:12.5%;
	width:75%;
}
.custom-front-box a {
	color:#1D1361 !important;
}

.custom-front-box-blue {
	background-color:#009FDF;
}
.custom-front-box-blue h2, .custom-front-box-blue p, .custom-front-box-blue a {
	color:#fff !important;
}

.custom-front-distributor h2 {
	color:#fff;
}

.custom-front-blog-header h2 {
	font-size:28px;
	border-bottom: 2px solid #1D1361;
	padding-bottom:5px;
}

/* evastekysely */
.cli-bar-container {
	max-width: 1370px;
	margin-right:auto;
	margin-left:auto;
}
.cli-tab-footer .wt-cli-privacy-accept-btn {
	background-color: rgb(29, 19, 97);
    color: #ffffff;
    border-radius: 0;
	font-weight:700;
}
/* evastekysely */
/* etusivun tuotelistaus */
#custom-home-product-list div.elementor-container {
	display: flex;
    flex-flow: row wrap;
    width: 100%;
}
#custom-home-product-list div.elementor-container div.elementor-column {
	width:32% !important;
	margin:3.5% 0.5% !important;
	padding:2.5% 2.0% 3% 2.0%;
	background-color:#fff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.25);
	position:relative;
}

#custom-home-product-list div.elementor-container div.elementor-column h3 {
	font-size:40px;
	margin-top:0;
}
#custom-home-product-list div.elementor-container div.elementor-column p {
	margin-bottom:0.2em;
}
#custom-home-product-list div.elementor-container div.elementor-column a {
	color:#1D1361;
}
#custom-home-product-list div.elementor-container div.elementor-column div.custom-product-icon {
	position:absolute;
	bottom:-110px;
	left:0;
	margin-bottom:0;
	width:100%;
}

@media screen and (max-width: 1024px) {
	#custom-home-product-list div.elementor-container div.elementor-column {
		width:49% !important;
		margin:3.5% 0.5% 8.5% !important;
	}
	#custom-home-product-list div.elementor-container div.elementor-column div.custom-product-icon {
		bottom:-95px;
	}
}

@media screen and (max-width: 768px) {
	#custom-home-product-list div.elementor-container div.elementor-column {
		width:100% !important;
		margin:3.5% 0.5% 15.5% !important;
	}
	#custom-home-product-list div.elementor-container div.elementor-column div.custom-product-icon {
		bottom:-90px;
	}
}

#custom-home-elflex div.elementor-container div.elementor-column {
	width:98% !important;
	margin:0.2% 0.5% !important;
	padding:1.5% 3.0% 1.5% 3.0%;
	background-color:#fff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}
#custom-home-elflex div.elementor-container div.elementor-column h3 {
	font-size:38px;
	margin-top:0.5em;
	margin-bottom:0.2em;
}
#custom-home-elflex div.elementor-container div.elementor-column a {
	color:#1D1361;
}
/* etusivun tuotelistaus */

/* tuotteet-sivun tuotelistaus */
.custom-tuotteet-box {
	position:relative;
}
.custom-tuotteet-box .custom-tuotteet-box-icons {
	position: absolute;
	bottom: 7%;
	right:5%;
	width:50% !important;
}

@media screen and (max-width: 1024px) {
	.custom-tuotteet-box .custom-tuotteet-box-icons {
		bottom: 3%;
	}
}

@media screen and (max-width: 768px) {
	.custom-tuotteet-box {
		position:relative;
		margin-bottom: 50px !important;
	}
	.custom-tuotteet-box .custom-tuotteet-box-icons {
		bottom: -110px;
		left:0;
		text-align:center;
		width:100% !important;
	}
	.custom-tuotteet-box .custom-tuotteet-box-icons img.alignright {
		float:none;
	}
}
/* tuotteet-sivun tuotelistaus */

/* Links
--------------------------------------------- */
a {
	color: #1D1361;
}

a:visited {
	color: #800080;
}

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: 3px;
	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
--------------------------------------------------------------*/

header.site-header {
	position:fixed;
	top:0;
	min-width:100%;
	background-color:#fff;
	height:85px;
	z-index:10000;
	transition: top 0.3s;
}

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

	header.site-header.header-hide {
		top:-85px;
	}
	
}

header.site-header .site-header-content {
	position:relative;
	max-width:1370px;
	margin-left:auto;
	margin-right:auto;
	margin-top:15px;
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content: space-between;
}

header.site-header .site-header-content .site-branding {
	overflow:hidden;
	max-height:70px;
}

main.site-main {
	margin-top:86px;
	min-height:550px;
}

body.elementor-editor-active main.site-main {
	margin-top:200px;
}

footer {
	background-color:#1D1361;
}

footer .site-footer-content {
	max-width:1370px;
	margin-left:auto;
	margin-right:auto;
	padding:75px 15px 65px;
	display:flex;
	flex-wrap:wrap;
	flex-direction:row;
	justify-content: space-between;
	align-items: flex-start;
}

footer .site-footer-content .footer-col-small {
	width:32%;
	color:#fff;
}

footer .site-footer-content #footer-col-1.footer-col-small {
	width:29%;
}

footer .site-footer-content #footer-col-1.footer-col-small p:first-child {
	margin-top:-25px;
}

footer .site-footer-content .footer-col-wide {
	width:68%;
}

footer .site-footer-content .footer-col-full {
	width:100%;
}

footer .site-footer-content h2.widget-title {
	font-size: 20px;
    font-weight: 700;
	color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
	margin-top:5px;
    margin-bottom: 25px;
}
footer .site-footer-content a {
	color: #fff;
	text-decoration:none;
}

@media screen and (max-width: 1368px) {
	header.site-header .site-header-content .site-branding {
		overflow:hidden;
		max-height:55px;
		max-width:26%;
	}
}

@media screen and (max-width: 1024px) {
	header.site-header .site-header-content .site-branding {
		overflow:hidden;
		max-height:55px;
		max-width:30%;
	}
	footer .site-footer-content {
		
	}
	footer .site-footer-content .footer-col-small {
		width:67%;
	}
	footer .site-footer-content #footer-col-3 {
		margin-left:33%;
	}
}

@media screen and (max-width: 767px) {
	header.site-header .site-header-content .site-branding {
		max-width:55%;
	}
}	

@media screen and (max-width: 675px) {
	header.site-header {
		height:61px;
	}
	header.site-header .site-header-content {
		margin-top:0px;
	}
	header.site-header .site-header-content .site-branding {
		width:59%;
		min-width:240px;
		margin-top:5px;
		max-height: 60px;
		max-width:70%;
	}
	main.site-main {
		margin-top: 61px;
	}
	footer .site-footer-content {
		max-width:1370px;
		margin-left:auto;
		margin-right:auto;
		padding:55px 20px 55px;
		display:flex;
		flex-direction:column;
		justify-content: space-between;
		align-items: flex-start;
	}
	footer .site-footer-content .footer-col-small {
		width:100% !important;
		margin-left:0 !important;
	}
	footer .site-footer-content .footer-col-wide {
		width:100%;
	}
}

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

.hero-slider .swiper-slide-contents {
	padding:1.0em 2.5em 1.5em;
}

.hero-slider .elementor-repeater-item-cf25ae7 .swiper-slide-contents {
	background-color: rgba(255,255,255,0.6);
}

.custom-front-video {
	max-width:1770px;
	margin-left:auto;
	margin-right:auto;
}

.elementor-post__text {
	position:relative;
}

.elementor-post__text h3.elementor-post__title {
	margin-top: 30px;
}
.elementor-post__text .elementor-post__meta-data {
	position:absolute;
	top:0;
	left:0;
}

/* rekry - ilmoitukset */
.custom-tyopaikat .owl-stage, .custom-tyopaikat .owl-item {
	width: 100% !important;
}
.custom-tyopaikat .owl-stage {
	padding: 5px;
}
.custom-tyopaikat .wb_ps_single_item, .custom-tyopaikat .ue_post_carousel_item {
	box-shadow: 0 3px 6px rgb(0 0 0 / 25%) !important;
}
.custom-tyopaikat .wb_ps_thumbnail {
	overflow:hidden;
	max-height:450px;
}
.custom-tyopaikat .wb_ps_thumbnail img {
	width:100%;
}
.custom-tyopaikat .wb_ps_content {
	padding:5% 10%;
}
.custom-tyopaikat .wb_ps_title h2 {
	font-size:48px;
	line-height:1.1em;
	margin-top:20px;
	margin-bottom:40px;
}
.custom-tyopaikat .wb_ps_text p {
	font-size:18px;
	text-align: left;
}

.custom-tyopaikat .uc_image_carousel_placeholder div {
	background-position: top center !important;
}

.custom-tyopaikat .wb_ps_content .wb_ps_readmore_link, .custom-tyopaikat .uc_more_btn {
    text-transform: none;
    display: inline-block;
	font-size:20px;
	font-weight:600;
	min-width:250px;
    padding: 12px 55px 10px;
    transition: all 200ms;
	margin-top:25px !important;
}
@media screen and (max-width: 767px) {
	.custom-tyopaikat .wbel_post_slider_wrapper {
		padding-left: 0px;
		padding-right: 0px;
	}
	.custom-tyopaikat .slick-track {
		width:100% !important;
	}
	.custom-tyopaikat .wb_ps_item {
		width:100% !important;
	}
	.custom-tyopaikat .wb_ps_title h2 {
		font-size:32px;
		line-height: 1.1em;
		margin-top:20px;
		margin-bottom:40px;
	}
}
/* rekry - ilmoitukset */
/* rekry - uratarinat */
/*
.custom-uratarinat .owl-stage {
	width: 100% !important;
	padding: 5px;
}
.custom-uratarinat .owl-item {
	width: 47% !important;
}
*/
.custom-uratarinat .wb_ps_single_item {
	box-shadow: 0 3px 6px rgb(0 0 0 / 25%) !important;
}
.custom-uratarinat .wb_ps_thumbnail {
	overflow:hidden;
	max-height:300px;
}
.custom-uratarinat .wb_ps_thumbnail img {
	width:100%;
}
.custom-uratarinat .wb_ps_content {
	padding:4% 10% 5%;
}
.custom-uratarinat .wb_ps_title h2 {
	font-size:32px;
	line-height:1.1em;
	margin-top:20px;
	margin-bottom:30px;
}
.custom-uratarinat .wb_ps_content .wb_ps_readmore_link, .custom-uratarinat .uc_more_btn {
    text-transform: none;
    display: inline-block;
	font-size:18px;
	font-weight:600;
	min-width:220px;
    padding: 12px 55px 10px;
    transition: all 200ms;
	margin-top:15px;
}

@media screen and (max-width: 767px) {
	
	.custom-uratarinat .wbel_post_slider_wrapper {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.custom-uratarinat .slick-track {
		width:98% !important;
	}
	.custom-uratarinat .wb_ps_item {
		width:98% !important;
	}
	
}


/* rekry - uratarinat */
/* rekry - lomake */

#rekry-form input, #rekry-form textarea {
	padding:8px;
	max-width:100%;
	width:100%;
	background-color: #F8F8F8;
}
#rekry-form textarea {
	height:150px;
}
#rekry-form input[type="checkbox"], #rekry-form input[type="radio"] {
	width:auto;
	margin-right:5px;
}
#rekry-form span.wpcf7-checkbox .wpcf7-list-item {
	display:block;
	margin-top:3px;
	margin-bottom:3px;
}

#rekry-form div.perustiedot, #rekry-form div.tyokokemus, #rekry-form div.liitetiedostot, #rekry-form div.tyon-kuvaus {
	display:flex;
	flex-direction: row;
	flex-wrap:wrap;
	justify-content: space-between;
}
#rekry-form div.tyon-kuvaus {
	justify-content: flex-start;
}
#rekry-form h2, #rekry-form h3 {
	width:100%;
}
#rekry-form div.perustiedot p, #rekry-form div.tyokokemus p, #rekry-form div.liitetiedostot p, #rekry-form div.tyon-kuvaus p {
	width:31%;
	margin-top: 0.5em;
    margin-bottom: 0.6em;
}

.table-language tr td {
	padding:5px 5px;
	background-color: #F8F8F8;
	border:1px solid #fff;
}

.table-language tr td:first-child {
	color:#fff;
	background-color:#1D1361;
	padding-left: 15px;
	width:110px;
}

#rekry-form input[type="submit"] {
	display:block;
	font-size:20px;
	font-weight:700;
	color:#fff;
	background-color:#1D1361;
	width:31%;
	padding:18px 5px;
	margin-top:30px;
}

@media screen and (max-width: 767px) {
	
	#rekry-form h2, #rekry-form h3 {
		text-align:center;
	}
	
	#rekry-form div.perustiedot p, #rekry-form div.tyokokemus p, #rekry-form div.liitetiedostot p, #rekry-form div.tyon-kuvaus p {
		width:100%;
	}
	#rekry-form input[type="submit"] {
		width:60%;
		margin-right:auto;
		margin-left:auto;
	}
	.table-language tr td {
		padding:5px 3px;
		background-color: #F8F8F8;
		border:1px solid #fff;
	}
	.table-language tr td:first-child {
		padding-left: 10px;
		width:80px;
	}
	
}

/* rekry - lomake */

/* yhteydenottolomake */
#yhteydenotto input, textarea {
	padding:8px;
	width:100%;
}
#yhteydenotto textarea {
	height:100px;
}
#yhteydenotto .wpcf7-list-item {
	display:block;
	margin-left:0;
	margin-bottom:8px;
}
#yhteydenotto .wpcf7-list-item label {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap:12px;
}

#yhteydenotto input[type="checkbox"] {
	width:auto;
	padding:8px 12px 8px 0 !important;
	margin-top:6px;
}
#yhteydenotto p {
	margin-top:0.5em;
	margin-bottom:0.5em;
}

#yhteydenotto input[type="submit"] {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: #1D1361;
    width: auto;
    padding: 18px 5px;
    margin-top: 30px;
}

.custom-yhteydenotto-form p {
	margin-top:0.5em;
	margin-bottom:0.5em;
}

@media screen and (max-width: 767px) {

	#yhteydenotto input[type="submit"] {
		width: 60%;
		margin-right: auto;
		margin-left: auto;
	}
	
}

/* yhteydenottolomake */

/* tuotesivut - taulukot */
.tablepress {
	width:100%;
}
.tablepress thead th {
	background-color: #1D1361 !important;
	color:#fff;
	font-weight:700;
	border:1px solid #fff !important;
}
.tablepress tbody td {
	background-color: #f6f6f6 !important;
	border:1px solid #fff !important;
}

#tablepress-1 td.column-1, #tablepress-7 td.column-1, #tablepress-13 td.column-1, #tablepress-19 td.column-1, #tablepress-25 td.column-1, #tablepress-31 td.column-1, #tablepress-37 td.column-1, #tablepress-43 td.column-1, #tablepress-49 td.column-1, #tablepress-55 td.column-1 {
	background-color: #1D1361 !important;
	color:#fff;
	font-weight:700;
	border:1px solid #fff !important;
}

@media screen and (max-width: 767px) {
	
	.tablepress th, .tablepress td {
		font-size:16px
	}
	.tablepress-responsive-phone thead{
		width:45% !important;
	}
	.tablepress-responsive-phone tbody {
		width:55% !important;
	}
	.tablepress-responsive-phone tbody tr {
		width:100% !important;
	}
	
	
	
	#tablepress-2 th, #tablepress-2 td, #tablepress-8 th, #tablepress-8 td, #tablepress-32 th, #tablepress-32 td, #tablepress-38 th, #tablepress-38 td {
		height: 70px !important;
	}
	#tablepress-6 th.column-3, #tablepress-6 td.column-3, #tablepress-12 th.column-3, #tablepress-12 td.column-3, #tablepress-36 th.column-3, #tablepress-36 td.column-3, #tablepress-42 th.column-3, #tablepress-42 td.column-3 {
		height: 100px !important;
	}
	
	#tablepress-7.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-7.tablepress-responsive-phone tbody tr {
		width: 24.00% !important;
	}
	
	#tablepress-13.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-13.tablepress-responsive-phone tbody tr {
		width: 24.00% !important;
	}
	
	#tablepress-19.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-19.tablepress-responsive-phone tbody tr {
		width: 24.00% !important;
	}
	
	#tablepress-25.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-25.tablepress-responsive-phone tbody tr {
		width: 32.33% !important;
	}
	
	#tablepress-31.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-37.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-37.tablepress-responsive-phone tbody tr {
		width: 24.00% !important;
	}
	#tablepress-43.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-43.tablepress-responsive-phone tbody tr {
		width: 24.00% !important;
	}
	#tablepress-49.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-49.tablepress-responsive-phone tbody tr {
		width: 24.00% !important;
	}
	#tablepress-55.tablepress-responsive-phone tbody {
		width: 100% !important;
	}
	#tablepress-55.tablepress-responsive-phone tbody tr {
		width: 32.33% !important;
	}
	
}
/* tuotesivut - taulukot */

/* wt-consent */
	.wt-consent-manage {
		text-align:center;
		background-color: rgb(29, 19, 97);
		/*line-height:32px;*/
	}
	.wt-consent-manage .wt-cli-manage-consent-link {
		display:inline-block;
		background-color:#f3f3f3;
		font-size:16px;
		font-weight:700;
		padding:6px 18px;
		margin:6px 0 2px;
		cursor: pointer;
	}
/* wt-consent */

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

/* kielivalinta */
.header-lang-selection {
	position:absolute;
	top:-15px;
	right:15px;
	z-index:9999;
}
.header-lang-selection ul li {
	display:inline-block;
}
.header-lang-selection ul li a {
	text-transform:uppercase;
	font-weight:700;
	font-size:14px;
	color: #1D1361;
	text-decoration:none;
}

@media screen and (max-width: 767px) {
	
	.header-lang-selection {
	  position: relative;
	  top: 5px;
	  right: 0px;
	  z-index: 9999;
	}
	.header-lang-selection ul li a img {
		width:30px !important;
		height:auto !important;
	}
	
}
/* kielivalinta */

/* navigoinnin ankkuri */
div.elementor-menu-anchor {
    margin-top: -140px;
}
/* navigoinnin ankkuri */

#site-navigation.main-navigation {
	width:71%;
}

#site-navigation.main-navigation .mega-menu-wrap ul li a.mega-menu-link {
	text-transform:uppercase !important;
	font-family: 'Fira Sans compressed', sans-serif !important;
	font-size:20px !important;
	font-weight:700 !important;
	color:#1D1361 !important;
}

#site-navigation.main-navigation .mega-menu-wrap ul li ul li a.mega-menu-link {
	text-transform:none !important;
	font-family: 'Fira Sans compressed', sans-serif !important;
	font-size:18px !important;
	font-weight:500 !important;
	color:#1D1361 !important;
	padding:2px 15px !important;
}

#site-navigation.main-navigation .mega-menu-wrap ul li ul.mega-sub-menu {
	padding:10px 0 15px !important;
}

.mega-menu-item-573, .mega-menu-item-2816 {
	margin-left: 12% !important;
}

#site-navigation.main-navigation .mega-menu-wrap ul li ul li.mega-current_page_item a.mega-menu-link {
	/*color:#000 !important;*/
	background: #fff !important;
}

@media screen and (max-width: 1024px) {
	#site-navigation.main-navigation .mega-menu-wrap ul li a.mega-menu-link {
		text-transform:uppercase !important;
		font-family: 'Fira Sans compressed', sans-serif !important;
		font-size:18px !important;
		font-weight:700 !important;
		color:#1D1361 !important;
	}
	.mega-menu-item-573 {
		margin-left: 0 !important;
	}
}
/* mobiili-menu */
@media screen and (max-width: 767px) {
	
	#site-navigation.main-navigation {
		width:auto;
	}
	
	#site-navigation.main-navigation ul.mega-menu {
		padding:40px 25px 20px 25px !important;
	}

	#site-navigation.main-navigation #mega-menu-wrap-menu-1 ul#mega-menu-menu-1 ul.mega-sub-menu {
		background-color: #fff !important;
		list-style-type: circle !important;
		list-style-position: inside !important;
	}
	#site-navigation.main-navigation #mega-menu-wrap-menu-1 ul#mega-menu-menu-1 ul.mega-sub-menu li.mega-menu-item {
		list-style: circle !important;
		
	}
	#site-navigation.main-navigation ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
		background-color: #fff !important;
		font-size:16px !important;
		line-height:1.3em !important;
		margin-top:5px !important;
		margin-bottom:5px !important;
		padding-top:5px !important;
		padding-bottom:5px !important;
	}
	
	#site-navigation.main-navigation .mega-menu-wrap ul li ul li.mega-current_page_item a.mega-menu-link {
		border: 1px solid #ddd !important;
		/*color:#000 !important;*/
		background: #f5f5f5 !important;
	}
	
	.mega-menu-item-573, .mega-menu-item-2816 {
		margin-left: 0 !important;
	}
	
}
/* mobiili-menu */
/*
.main-navigation {
	display: block;
	width: 100%;
}

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

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

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

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

.main-navigation li {
	position: relative;
}

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

/* footer nav */
footer .footer-col-small .widget_nav_menu ul.menu {
	display:flex;
	flex-direction:row;
	list-style:none;
	color:#fff;
	font-size:20px;
	font-weight:700;
	margin-left:0;
	padding-left:0;
}

footer .footer-col-small .widget_nav_menu ul.menu li {
	width:auto;
	margin-left:3%;
	
}
footer .footer-col-small .widget_nav_menu ul.menu li a {
	display:block;
	color:#fff;
	text-transform: uppercase;
	text-decoration:none;
	border-bottom:2px solid #fff;
	padding-bottom:10px;
	margin-bottom:25px;
	
}

footer .footer-col-small .widget_nav_menu ul.menu li ul.sub-menu {
	border-bottom:none;
	text-transform: none;
	margin-left:0;
	padding-left:0;
	font-size:18px;
	font-weight:400;
}

footer .footer-col-small .widget_nav_menu ul.menu li ul.sub-menu li {
	display:list-item;
	list-style:none;
	width:100%;
	text-transform: none;
	margin-left:0;
	padding-left:0;
}
footer .footer-col-small .widget_nav_menu ul.menu li ul.sub-menu li a {
	border-bottom:none;
	text-transform: none;
	padding-bottom:5px;
	margin-bottom:5px;
}

@media screen and (max-width: 675px) {
	footer .footer-col-small .widget_nav_menu ul.menu {
		display:flex;
		flex-direction:column;
		list-style:none;
		color:#fff;
		font-size:20px;
		font-weight:700;
		margin-left:0;
		padding-left:0;
	}
	footer .footer-col-small .widget_nav_menu ul.menu li {
		width:100%;
		margin-left:0%;
		margin-top:20px;
	}
	footer .footer-col-small .widget_nav_menu ul.menu li ul.sub-menu li {
		margin-top:0;
	}
	footer .footer-col-small .widget_nav_menu ul.menu li ul.sub-menu li a br {
		display:none;
	}
}

/* footer nav */

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

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

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

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

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

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

.entry-content {
	margin-top:0;
}

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

.post {
	max-width: 1370px;
	margin-left:auto;
	margin-right:auto;
	margin-top:10.0em;
}

.post .entry-header {
	max-width: 1054px;
	margin-top:1.0em;
	margin-left:auto;
	margin-bottom:2.0em;
	margin-right:auto;
	padding-left:15px;
	padding-right:15px;
}

.post .entry-header h1.entry-title {
	font-size: 70px;
	margin-bottom: 0.3em;
}

.post .post-thumbnail img {
	width:100% !important;
	height:auto !important;
}

.post .entry-content {
	max-width: 1054px;
	margin-top:3.0em;
	margin-left:auto;
	margin-bottom:3.0em;
	margin-right:auto;
	padding-left:15px;
	padding-right:15px;
}
.post .entry-content p {
	line-height:1.6em;
}

.post-navigation {
	max-width: 1054px;
	margin-top:3.0em !important;
	margin-left:auto !important;
	margin-bottom:3.0em !important;
	margin-right:auto !important;
	padding-left:15px;
	padding-right:15px;
	border-top: 1px solid #eee;
	padding-top:2.0em;
	padding-bottom:2.0em;
}

@media screen and (max-width: 1024px) {
	.post .entry-header h1.entry-title {
		font-size: 60px;
	}
}
@media screen and (max-width: 700px) {
	.post {
		margin-top:8.0em;
	}
	.post .entry-header h1.entry-title {
		font-size: 30px;
	}
	.post .entry-content {
		margin-top:2.0em;
		margin-bottom:2.0em;
	}
}

/* etusivun hero-elementti */
#custom-home-hero {
	position:relative;
}

#custom-home-hero #showroom-embed .elementor-widget-container {
	height:755px;
}

#custom-home-hero .showroom-header {
	position:absolute;
	top:120px;
}
#custom-home-hero .showroom-btn {
	position:absolute;
	top:220px;
}

#custom-home-hero #showroom-header, #custom-home-hero #showroom-btn { 
	transition: all 2s; 
}

#custom-home-hero #showroom-header.hide, #custom-home-hero #showroom-btn.hide {
  visibility: hidden;
  opacity: 0;
  height: 0;
}

#custom-home-hero .hero-text { 
	transition: all 2s; 
}

#custom-home-hero .hero-text {
	position:absolute;
	bottom:-120px;
}

#custom-home-hero .hero-text.move-down {
	bottom:-400px;
}	
	
.hero-text-element p {
	font-size:22px;
	margin-top:0;
	margin-bottom:30px;
}

#top-header {
	transition: all 2s;
}	
#top-header.add-margin {
	margin-top:430px;
}	

@media screen and (max-width: 1366px) {
	
	#custom-home-hero #showroom-embed .elementor-widget-container {
		height:560px;
	}
	#custom-home-hero .showroom-header {
		position:absolute;
		top:60px;
	}
	#custom-home-hero .showroom-btn {
		position:absolute;
		top:130px;
	}
	
	#custom-home-hero .showroom-btn img {
		height:110px;
		width:auto;
	}
	
	#custom-home-hero .hero-text {
		position:absolute;
		bottom:-30px;
	}
	
	#custom-home-hero .hero-text.move-down {
		bottom:-340px;
	}
	
	.hero-text-element p {
		font-size:20px;
		margin-top:0;
		margin-bottom:20px;
	}
	
	#top-header.add-margin {
		margin-top:340px;
	}
}

@media screen and (max-width: 700px) {
	
	#custom-home-hero #showroom-embed .elementor-widget-container {
		height:305px;
	}
	
	#custom-home-hero .showroom-header {
		top:40px;
	}
	#custom-home-hero .showroom-btn {
		top:140px;
	}
	
	#custom-home-hero .showroom-btn img {
		height:120px;
		width:auto;
	}
	
	#custom-home-hero .hero-text {
		bottom:-440px;
	}
	
	.hero-text-element p {
		font-size:18px;
	}
	
	#custom-home-hero .hero-text.move-down {
		bottom:-440px;
	}
	
	#top-header {
		margin-top:430px;
	}
	#top-header.add-margin {
		margin-top:430px;
	}
}

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}
.widget_polylang, .widget_polylang ul {
	margin-bottom:0;
}


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