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

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

/* Fonts */

@font-face {
    font-family: 'Aventa-Medium';
	src: url('fonts/Aventa-Medium.woff');
	font-display: swap;
}

@font-face {
    font-family: 'Aventa-SemiBold';
	src: url('fonts/Aventa-SemiBold.woff');
	font-display: swap;
}

h2 {
	font-size: 40px;
}

h3 {
	font-size: 24px;
}

span {
	font-family: 'Aventa-Medium', sans-serif;
}

.bg-light-grey {
	background-color: #FAFAFA;
}

.bg-beige {
	background-color: #F0EDE8;
}

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

.align-center {
	justify-content: center;
}

.margin-top-medium {
	margin-top: 60px !important;
}

.margin-small {
	margin: 20px 0;
}

.margin-medium {
	margin-top: 60px;
	margin-bottom: 60px;
}

.padding-small {
	padding: 20px 0;
}

.padding-medium {
	padding-top: 60px;
	padding-bottom: 60px;
}

.padding-big {
	padding-top: 120px;
	padding-bottom: 120px;
}

.text-bold {
	font-weight: bold !important;
}

.site-header {
	position: relative;
	padding-top: 20px;
}

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

.search-bar {
	height: 60px;
	width: 100%;
	align-items: center;
    display: flex;
    justify-content: flex-end;
}

.main-navigation li {
	margin-right: 20px;
	position: static !important;
}

.main-navigation li a {
	padding-bottom: 20px;
	transition: all .2s ease-out;
}

.main-navigation li a:hover {
	transform: translateX(2px);
}

.main-navigation ul ul {
	top: 80% !important;
	box-shadow: none !important;
}

.main-navigation {
	margin: 0 20px;
    margin-top: 20px;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
	margin-left: -20px;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link {
	margin-right: 20px;
}

.sub-menu {
	background-color: #FAFAFA;
    position: absolute !important;
    width: 100vw;
	height: auto;
	padding: 20px 35px !important;
}

.sub-menu li a { 
	padding-bottom: 0;
}

/*.main-navigation ul li:hover>ul, .main-navigation ul li.focus>ul {
	left: 0 !important;
    display: flex;
}*/

.mega-menu-columns-1-of-12 {
	width: 10% !important;
}

.mega-menu-columns-2-of-12 {
	width: 16% !important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 a.mega-menu-link {
	font-family: 'Aventa-Medium', sans-serif !important;
	font-size: 14px !important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 a.mega-menu-link:hover {
	color: #44578F !important;
}

.hero-front {
	position: relative;
	height: 420px;
	/*background-size: 60% 100%;*/
	background-position: left;
	background-repeat: no-repeat;
	padding: 0;
}

.hero-kuviot {
    height: 420px;
    width: 100%;
    position: absolute;
	top: 0px;
	background-position: center left;
}

.mobile-hero-img {
	display: none;
}

.search-form {
	height: 60px;
	align-items: center;
	display: flex;
}

.search-form .search-field {
	border: none !important;
	padding: 10px;
	margin-top: 5px;
}

.search-field::placeholder {
	color: #000;
}

.search-submit {
	background: transparent;
	border: none;
	display: inline-block;
	height: 32px;
	width: 46px;
	padding: 5px;
	transition: all .2s ease-in-out;
	border: 1px solid transparent;
	margin-top: -2px;
}
.search-submit:hover, .search-submit:focus {
	background-color: #F1F1F1;
	border: 1px solid gray;
}
.lang-item {
	text-align: end;
    margin-right: 30px;
	font-size: 12px;
	padding: 10px 0px;
	font-family: 'Aventa-Medium', sans-serif;
	display: flex;
	align-items: center;
	list-style-type: none;
}

#breadcrumbs {
	margin-top: 20px;
	margin-left: 160px;
}

.custom-logo {
	height: 60px;
}

.hero-front .row {
	height: 420px;
	align-content: center;
	display: -webkit-box;
	-webkit-box-pack: center; /* justify-content */
	-webkit-box-align: center; /* align-items */
}

.hero-front h1 {
	color: #fff;
	font-family: 'Aventa-Medium', sans-serif;
	font-size: 56px;
}

.hero-front h3 {
	color: #fff;
	font-family: 'Aventa-Medium', sans-serif;
	font-size: 18px;
}

.hero-text-container {
	padding: 0 50px 0 160px;
	z-index: 99;
}

.hero-text-container-front {
	padding: 0 20% 0 150px;
	z-index: 99;
}

.hero-ylasivu {
	height: 420px;
	overflow: hidden;
}

.hero-ylasivu .row {
	height: 420px;
	align-content: center;
	align-items: center;
}

.hero-ylasivu h1 {
	font-family: 'Aventa-Medium', sans-serif;
	font-size: 42px;
}

.hero-ylasivu p {
	font-family: 'Aventa-Medium', sans-serif;
	font-size: 18px;
}

.hero-img-container {
	height: 440px;
    width: 590px;
    margin: 50px 0;
    position: relative;
    z-index: 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-img-element-1 {
	position: absolute;
	top: 400px;
    left: -30px;
    width: 95px;
    height: 146px;
    z-index: 11;
    background-repeat: no-repeat;
}

.hero-img-element-2 {
	position: absolute;
    height: 450px;
    width: 300px;
    right: 0;
    top: 0;
    z-index: 1;
    background-position: bottom;
}

.hero-img-element-3 {
	position: absolute;
    width: 200px;
    height: 400px;
	top: 0;
    left: -5px;
    z-index: 11;
    background-size: contain;
    background-repeat: no-repeat;
    zoom: 1.5;
}

.hero-img-element-4 {
	position: absolute;
    height: 160px;
    width: 300px;
    z-index: 11;
    background-position: bottom right;
    top: 0;
    left: -30px;
}

.hero-img-element-5 {
	position: absolute;
    width: 420px;
    height: 200px;
    bottom: 0;
    left: -100px;
    z-index: 11;
    zoom: 1.5;
    background-size: cover;
}

.hero-img-element-6 {
	position: absolute;
    width: 460px;
    height: 650px;
    top: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-img-element-7 {
	position: absolute;
    height: 300px;
    width: 550px;
    z-index: 11;
    background-size: cover;
    background-position: bottom;
    top: 0;
    left: -100px;
}

.hero-img-element-8 {
	position: absolute;
    height: 300px;
    width: 300px;
    background-repeat: no-repeat;
    bottom: -10px;
    left: -100px;
}

.hero-img-element-9 {
	position: absolute;
    height: 650px;
    width: 300px;
    right: 0;
    top: 0;
    z-index: 11;
    background-size: cover;
}

.hero-image {
	height: 100%;
	background-size: cover;
	background-position: center;
}

.hero-btn:first-of-type {
	background-color: #F6887D;
	border: none;
}

.hero-btn:first-of-type:hover {
	background-color: rgba(246, 136, 125, 0.75);
	text-decoration: none;
	color: #000;
}

.hero-btn {
	border: 1px solid #000;
	background-color: transparent;
	padding: 15px 20px 15px 18px;
	border-radius: 5px;
	color: #000;
	margin-right: 10px;
	transition: all .3s ease;
}

.hero-btn:hover { 
	text-decoration: none;
}

.red-btn {
	display: block;
    width: max-content;
	background-color: #F6887D;
	border: none;
	padding: 15px 20px 15px 18px;
	border-radius: 5px;
	color: #000;
	transition: all .3s ease;
	margin: 5px 0;
	max-width: 100%;
}

.red-btn:hover {
	background-color: rgba(246, 136, 125, 0.75);
	text-decoration: none;
	color: #000;
}

.red-btn img {
	margin-left: 20px;
}

.tribe-events-single-event-description a {
	display: block;
	position: relative;
    width: max-content;
	background-color: #F6887D;
	border: none;
	padding: 15px 40px 15px 18px;
	border-radius: 5px;
	color: #000;
	transition: all .3s ease;
	margin: 5px 0;
}

.tribe-events-single-event-description a:hover {
	background-color: rgba(246, 136, 125, 0.75);
	text-decoration: none;
	color: #000;
}

.tribe-events-single-event-description a::after {
	content: url('./img/link-icon.svg');
	position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-40%);
}

.ect-list-post h2.ect-list-title a {
	color: #00445e !important;
}

.style-3-readmore a:hover {
	background-color: #f5f5f5 !important;
	box-shadow: none !important;
}

.ev-smalltime span {
	color: #00445e !important;
}

.leipateksti a {
	text-decoration: underline;
}

.leipateksti a:hover {
	opacity: .8;
	text-decoration: underline;
}


.leipateksti-btn {
	display: block;
	position: relative;
    width: auto;
	background-color: #F6887D;
	border: none;
	padding: 15px 30px 15px 18px;
	border-radius: 5px;
	color: #000;
	transition: all .3s ease;
	margin: 5px 0;
	text-decoration: none !important;
}

.leipateksti-btn::after {
	content: url('./img/link-icon.svg');
	position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-40%);
}


.leipatekst-btn:hover {
	background-color: rgba(246, 136, 125, 0.75);
	text-decoration: none;
	color: #000;
}

.linkkipilvi .red-btn {
	margin: 5px;
}

.red-filter {
	display: inline-block;
    width: max-content;
	border: 1px solid #F6887D;
	background: transparent;
	padding: 15px 20px 15px 18px;
	margin: 5px;
	border-radius: 5px;
	color: #000;
	transition: all .3s ease;
}

.active {
	background-color: #F6887D !important;
}

.red-filter:hover {
	background-color: rgba(246, 136, 125, 0.75);
	text-decoration: none;
	color: #000;
}

.apuvalikko {
	min-height: 290px;
	height: auto;
}

.apuvalikko .row {
	min-height: 290px;
	height: auto;
	align-content: center;
}

.apuvalikko-btn {
	display: flex;
    justify-content: center;
	align-items: center;
	height: 110px;
    max-width: 240px;
    min-width: 175px;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
	color: #44578F;
	box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.16);
	margin: 20px 5px;
	padding: 0 10px;
	background-color: #fff;
	border-radius: 5px;
	transition: all .2s ease;
	hyphens: auto;
	-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
-o-hyphens: auto;
	font-family: 'Aventa-Medium', sans-serif;
}

.apuvalikko-btn:hover {
	text-decoration: none;
	background-color: #F8F8F8;
}

.tekstiavaus-icon {
	margin-bottom: 20px;
}

.divider {
	height: 210px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.article-container {
	background-color: #fff;
	min-height: 170px;
	max-height: 170px;
	border-radius: 5px;
	box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.16);
	margin: 15px auto;
	padding: 30px 35px 40px;
}

.article-container p {
	font-size: 14px;
}

.article-container h3 {
	font-size: 24px;
}

.article-container a {
	display: block;
	width: max-content;
	font-family: 'Aventa-Medium', sans-serif;
	font-size: 14px;
	color: #000;
	margin-top: 10px;

	text-decoration: none;
	position: relative;
	transition: all 0.2s ease-in-out;
}


.article-container a:before,
.article-container a:after  {
	content: "";
    position: absolute;
    bottom: -5px;
    width: 0px;
    height: 1px;
    margin: 5px 0 0;
	left: 0;
	transition: all 0.2s ease-in-out;
    opacity: 0;
    background-color: #F6887D;
}

.article-container a:hover {
	color: #000;
}

.article-container a:hover:before,
.article-container a:hover:after {
	width: 100%;
    opacity: 1;
}

.article-container .read-more {
	float:left;
}

.article-container .date {
	float: right;
	font-size: 14px;
	margin-top: 10px;
}

.line {
	display: block;
	border-top: 1px solid #D6D6D6;
	width: 100%;
}

.article-slider {
	display: flex;
	min-height: 320px;
	align-content: center;
	padding: 20px 50px;
}

.article {
	position: relative;
	height: 240px;
}

.article a {
	color: #000;
	font-family: 'Aventa-Medium', sans-serif;
	font-size: 24px;
}

.article a:hover {
	text-decoration: none;
}

.article p {
	position: absolute;
	bottom: 0;
}

.article-slider ~ .text-align-center .red-btn {
	margin-top: 50px;
}

.slick-next:before {
	content: url('img/arrow-next.svg');
}

.slick-prev:before {
	content: url('img/arrow-prev.svg');
}

input[type="search"] {
	font-size: 12px;
	font-family: 'Aventa-Medium', sans-serif;
}

.article-card {
	position: relative;
	background-color: #fff;
	height: 450px;
	border-radius: 5px;
	box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.16);
	margin: 15px;
	padding: 0;
	overflow: hidden;
}

.article-card-img {
	height: 195px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.article-card-content {
	padding: 30px 35px;
}

.article-card-content a {
	hyphens: auto;
	-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
-o-hyphens: auto;
}

.article-card-content .line {
	position: absolute;
    width: 250px;
    bottom: 60px;
}

.article-card-bottom {
	position: absolute;
	bottom: 0;
}

.article-card-content p {
	position: absolute;
	bottom: 0;
	font-size: 14px;
	width: 250px;
}

.article-card-content .kategoriat {
	text-align: right;
}

.filters {
	margin-bottom: 30px;
}

.downloads .article-container {
	min-height: 270px;
	position: relative;
}
.downloads .article-container span {
	display: block;
	margin-left: 5px; 
	margin-right: 10px;
}
.downloads .article-container span.load {
	margin-left: 0px;
	margin-right: 0px;
	flex-basis: 15%;
}
.downloads .article-container span.load-file {
	flex-basis: 75%;
	white-space: nowrap;
	overflow: scroll;
	-ms-overflow-style: none; 
	scrollbar-width: none; 
}
.downloads .article-container span.load-file::-webkit-scrollbar {
	display: none;
}
.downloads .article-container .file-title {
	font-size: 16px;
	font-family: 'Aventa-Medium', sans-serif;
	hyphens: auto;
	-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
-o-hyphens: auto;
}
.downloads .article-container .files {
	max-width: 100%;
	position: absolute;
	bottom: 20px;
	left: 35px;
	right: 35px;
}
.downloads .article-container a {
	font-family: 'Aventa-SemiBold', sans-serif;
	font-size: 12px;
	display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
	max-width: 100%;
	width: 100%;
	
}

.round-image {
	height: 150px;
    width: 150px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100px;
	display: inline-block;
	margin: 20px;
	overflow: hidden;
}

.henkilo-container {
	padding: 0 50px;
    border-left: 1px solid #EEF6FE;
}

.henkilo-container p {
	margin-bottom: 0;
}

.logo-kuvake {
	margin-bottom: 20px;
}

.lomake {
	padding: 0 60px 0 15px;
}

.alm-ajax {
	margin: 0 auto !important; 
}

.nosto-img {
    height: 40px;
    margin: 20px;
}

.nosto-teksti {
	font-size: 45px;
	color: #F6887D;
}

.nosto-container {
	transition: all .2s ease;
}

.nosto-container:hover {
	cursor: pointer;
	transform: translateY(-3px);
}

.lainausteksti {
	font-size: 22px;
	font-family: 'Aventa-SemiBold', sans-serif;
}

.quote-mark {
	font-family: 'Aventa-Medium', sans-serif;
	font-size: 53px;
    position: absolute;
    top: -40px;
    left: -10px;
}

#filtered_posts {
	width: 100%;
}
#filtered_posts .filters {
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -moz-box;
	-webkit-flex-wrap: wrap-reverse;
	-moz-flex-wrap: wrap-reverse;
	-ms-flex-wrap: wrap-reverse;
	flex-wrap: wrap-reverse;
	-webkit-flex-direction: row-reverse;
	-moz-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}
.henkilot-container {
	border-right: 1px solid #EEF6FE;
    margin: 30px 0;
    padding: 20px 30px;
}

.henkilot-container:nth-child(3n) {
	border-right: none;
}

.henkilot-container p {
	margin-bottom: .5em !important;
	padding: 0 30px;
}

.ingressi {
	padding: 60px 0 0;
}

.share-text {
	width: max-content;
	margin-top: -5px;
}

.shared-counts-wrap {
	margin: 0 0 0 10px !important;
	width: max-content !important;
	display: inline-block !important;
	margin-bottom: -10px !important;
}

.shared-counts-wrap.style-block .shared-counts-button, .shared-counts-wrap.style-rounded .shared-counts-button, .shared-counts-wrap.style-buttons .shared-counts-button {
	width: 32px !important;
}

.tapahtuma-block .tribe-events .tribe-events-c-ical__link {
	display: none !important;
}

.ect-event-content p {
	display: none !important;
}

#ect-events-list-content .ect-clslist-event-info {
	box-shadow: none !important;
}

#ect-events-list-content .style-3 .ect-list-date {
	background-color: #44578F !important;
	box-shadow: none !important;
}
.ect-list-date .ect-date-area .ev-day,
.ect-list-date .ect-date-area .ev-mo,
.ect-list-date .ect-date-area .ev-yr {
	color: #fff !important;
}
 
.mega-menu-wrap {
	z-index: 999 !important;
}

.mega-toggle-label {
	display: none;
}

/** Search **/
.search-results .search-post {
	background-color: #fff;
    min-height: 250px;
    max-height: 250px;
    border-radius: 5px;
    box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.16);
    flex-basis: calc(33% - 20px);
    margin: 15px 10px;
	padding: 30px 35px 40px;
	display: flex;
	flex-direction: column;
    justify-content: space-between;
}
.search-results .line {
	margin-top: 10px;
}
.search-results .read-more {
	display: block;
    width: max-content;
    font-family: 'Aventa-Medium', sans-serif;
    font-size: 14px;
    color: #000;
    margin-top: 10px;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease-in-out;
}

@media screen and (max-width:780px){
	.search-results .search-post {
		flex-basis: calc(100% - 20px);
	}
	body #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu:not(.mega-menu-tabbed) li.mega-menu-item-has-children:not(.mega-collapse-children)>a.mega-menu-link>span.mega-indicator, body #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item-has-children.mega-hide-arrow>a.mega-menu-link>span.mega-indicator {
		display: inline;
	}
	.custom-logo {
		height: 40px;
	}
	#sitesearch {
		display: flex;
		flex-direction: row-reverse;
	}
	.lang-item {
		margin-right: 10px;
	}
	.search-bar {
		justify-content: space-between;
	}
}
/** Lomakkeet **/

.gform_button {
	width: 100% !important;
    background-color: #F6887D !important;
    border: none !important;
    border-radius: 5px !important;
	height: 47px;
	transition: all .3s ease;
}

.gform_button:hover,
.gform_button:active,
.gform_button:focus {
	background-color: rgba(246, 136, 125, 0.75) !important;
	text-decoration: none;
	color: #000;
}

.gform_wrapper input,
.gform_wrapper textarea {
	background-color: #FAFAFA;
	padding: 10px 15px !important;
}

.gfield_consent_label a {
	color: #44578F !important;
	text-decoration: underline;
}

.gform_fields .gfield input::-webkit-input-placeholder {
  color: #000;
}
.gform_fields .gfield input::-moz-placeholder { 
  color: #000;
}
.gform_fields .gfield input:-ms-input-placeholder {
  color: #000;
}
.gform_fields .gfield input:-moz-placeholder {
  color: #000;
}

.gform_fields .gfield textarea::-webkit-input-placeholder {
	color: #000;
}
.gform_fields .gfield textarea::-moz-placeholder { 
	color: #000;
}
.gform_fields .gfield textarea:-ms-input-placeholder {
	color: #000;
}
.gform_fields .gfield textarea:-moz-placeholder {
	color: #000;
}

.power-bi-embed {
    position: relative;
    padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    height: 0;
    overflow: hidden;
}

.power-bi-embed iframe {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
}


/** Footer **/

.site-footer {
	position: absolute;
	background-color: #44578F;
	width: 100%;
	min-height: 800px;
	background-size: 15%;
    background-repeat: no-repeat;
    background-position: right bottom;
}

.site-footer p {
	color: #FFF;
	margin-bottom: 0;
}

.some-link {
	margin-left: 5px;
}

.footer-links {
	padding-bottom: 50px;
}

.footer-links a {
	color: #fff !important;
	text-decoration: underline;
	display: block;
	max-width: 250px;
    width: 100%;
    margin: 8px 0;
}

.line-white {
	border-bottom: 1px solid #fff;
}

.alm-filters-container .alm-filter li div.alm-filter--link.field-checkbox:before {
	display: none;
}
.alm-filters-container .alm-filter li div.alm-filter--link.field-checkbox:after {
	display: none;
}

.alm-filters-container {
	margin: 20px auto;
    text-align: center;
}

.alm-filters-container .alm-filter li {
	display: inline-block !important;
}

.alm-filters-container .alm-filter li div.alm-filter--link {
	display: inline-block !important;
    width: max-content;
    border: 1px solid #F6887D;
    padding: 15px 20px 15px 18px !important;
    margin: 5px;
    border-radius: 5px;
    color: #000 !important;
    transition: all .3s ease;
}

.alm-filters-container .alm-filter li div.alm-filter--link:hover {
	background-color: rgba(246, 136, 125, 0.75);
	text-decoration: none;
	color: #000;
}

.alm-load-more-btn {
	display: block;
    width: max-content;
    background-color: #F6887D !important;
    border: none;
    padding: 15px 20px 15px 18px !important;
    border-radius: 5px !important;
    color: #000 !important;
    transition: all .3s ease;
	margin: 50px auto !important;
	font-family: 'Aventa-Medium', sans-serif !important;
	
}

.alm-load-more-btn:hover {
	background-color: rgba(246, 136, 125, 0.75) !important;
}

.is-form-id-1959,
.is-form-id-3620 {
	width: 60%;
	margin: 0 auto;
	margin-bottom: 20px;
}

.is-form-id-1959 input.is-search-input,
.is-form-id-3620 input.is-search-input {
	background: transparent !important;
	border: none !important;
    border-bottom: 1px solid #ccc !important;
}

.is-search-icon {
	background: transparent !important;
	border: none !important;
    border-bottom: 1px solid #ccc !important;
}

body #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-block-1:after {
	color: #4D4D4D;
}

tr {
	border: 1px solid #4d4d4d;
}

/* Comments */
p.comment-form-author, p.comment-form-comment, p.comment-form-email {
    display: flex;
    flex-direction: column;
}

p.comment-form-author input, p.comment-form-comment textarea, p.comment-form-email input {
    padding: 10px;
}

.comments input[type="submit"] {
	background: #F6887D;
	padding: 15px 20px 15px 18px;
	margin: 5px;
	border-radius: 5px;
	color: #000;
	transition: all .3s ease;
}

@media (min-width: 1200px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1140px;
	}
}


/** Mobile styles **/

@media only screen and (max-width: 1400px) {
	.hero-ylasivu h1 {
		font-size: 42px;
	}
	h2 {
		font-size: 38px;
	}
}

@media only screen and (max-width: 1200px) {
	.article-card-content .line {
		width: 200px;
	}
	.article-card-content p {
		width: 200px;
	}
	.hero-ylasivu h1 {
		font-size: 40px;
	}
	.hero-front h1 {
		font-size: 46px;
	}
	.hero-text-container-front {
		padding: 0 50px 0 150px;
	}
}

@media only screen and (max-width: 780px) {
	.downloads .article-container {
		min-height: 220px;
    	max-height: 100%;
	}
	.main-navigation {
		margin: 0;
	}
	h2 {
		font-size: 32px;
		hyphens: auto;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		-ms-hyphens: auto;
		-o-hyphens: auto;
	}
	.hero-front {
		height: 300px;
		padding: 15px;
		background-size: 150%;
	}
	.hero-text-container-front {
		padding: 15px 70px 15px 15px;
	}
	.hero-front .row {
		height: 300px;
	}
	.hero-front h1 {
		font-size: 32px;
	}
	.hero-front h3 {
		font-size: 16px;
	}
	.hero-kuviot {
		display: none;
	}
	.hero-ylasivu h1 {
		font-size: 38px;
	}
	.hero-ylasivu p {
		font-size: 16px;
	}
	.hero-ylasivu {
		min-height: 650px;
	}
	.hero-text-container {
		order: 2;
		padding: 15px;
	}
	.hero-image-elemets {
		order: 1;
	}
	.hero-img-element-1 {
		position: absolute;
		top: 250px;
		left: -10px;
		width: 95px;
		height: 100%;
	}
	.hero-img-element-2 {
		position: absolute;
		height: 250px;
		width: 100px;
	}
	.hero-img-element-3 {
		width: 180px;
		height: 250px;
	}
	.hero-img-element-5 {
		width: 100%;
		height: 130px;
		bottom: 0;
		left: -30px;
	}
	.hero-img-element-6 {
		width: 460px;
		height: 400px;
		top: 0;
		right: 0;
	}
	.hero-img-element-7 {
		height: 250px;
    	width: 500px;
	}
	.hero-img-element-8 {
		height: 300px;
		width: 300px;
		bottom: 0;
	}
	.hero-img-element-9 {
		height: 400px;
		width: 140px;
	}
	.hero-img-container {
		height: 300px;
		width: 100%;
	}
	.hero-btn {
		display: block;
		width: max-content;
	}
	.hero-image {
		height: 300px;
	}
	.apuvalikko {
		height: auto;
    	padding: 80px 0;
	}
	.apuvalikko-btn {
		margin: 10px 5px;
		width: 50%;
	}
	.slick-prev {
		left: 100px;
		top: 105%;
	}
	.slick-next {
		right: 110px;
		top: 105%;
	}
	.article-card {
		margin: 8px;
	}
	.article-container ~ .red-btn {
		margin-bottom: 50px;
	}
	.article-slider ~ .text-align-center .red-btn {
		margin: 70px 0;
	}
	.quote-mark {
		top: -50px;
    	left: 10px;
	}
	.gfield_consent_label {
		display: inline;
	}
	.gfield_required {
		display: inline !important;
	}
	.henkilo-container {
		text-align: center;
	}
	.mobile-hero-img {
		display: block;
		height: 250px;
		background-size: cover;
		width: 100%;
		background-repeat: no-repeat;
		background-position: top;
	}
	.article-slider {
		padding: 0;
	}
	#filtered_posts .red-btn {
		margin: 0 auto;
		margin-top: 20px;
	}
	#breadcrumbs {
		margin-left: 15px;
		margin-top: 50px;
	}
	.henkilot-container {
		border: none;
	}
	.site-footer {
		background-size: 50%;
	}
	.footer-logo {
		margin-bottom: 20px;
	}
	.footer-links {
		padding-left: 15px;
		padding-bottom: 30px;
	}
	.footer-copyright {
		padding-left: 15px;
		margin-bottom: 20px;
	}
	.logo {
		width: 60%;
		margin: 20px auto;
	}
	.apuvalikko .row {
		height: auto;
	}
	.mega-menu-columns-1-of-12 {
		width: auto !important;
	}
	
	.mega-menu-columns-2-of-12 {
		width: auto !important;
	}
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
		margin-left: auto;
	}
  }


/* 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;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/**
 * 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: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Aventa-Medium', sans-serif;
}

p {
	margin-bottom: 1.5em;
	color: #4D4D4D;
	font-family: 'Aventa-Medium', sans-serif;
	hyphens: none;
}

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;
	font-family: 'Aventa-Medium', sans-serif;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
	font-family: 'Aventa-Medium', sans-serif;
}

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: #000;
}

a:visited {
	color: #000;
}

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

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
	text-decoration: none;
}

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

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

/* Navigation
--------------------------------------------- */
.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;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu:not(.mega-menu-tabbed) li.mega-menu-item-has-children:not(.mega-collapse-children)>a.mega-menu-link>span.mega-indicator, #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item-has-children.mega-hide-arrow>a.mega-menu-link>span.mega-indicator
.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: block;
}

@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 1.5em;
}

.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;
}
.comment-author.vcard img {
    display: none;
}
/* 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: black;
	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;
}
#breadcrumbs a {
    text-decoration: underline;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link:focus {
	outline: 3px solid #109cde;
    outline-offset: -3px;
}
/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}
.ctf-tweet-text a {
    text-decoration: underline;
}
#ctf .ctf-tweet-actions a.ctf-reply, #ctf .ctf-tweet-actions a.ctf-retweet, #ctf .ctf-tweet-actions a.ctf-like {
    color: #44578f;
}

#ctf #ctf-more:focus {
    border: 2px solid #44578f;
}
body #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-item>a.mega-menu-link:hover,
body #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link, 
body #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:hover {
	text-decoration: underline;
}
.search-bar ul {
    margin: 0;
    padding: 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;
}

/* Responsive fixes */
@media only screen and (max-width: 1400px) {
    .hero-ylasivu h1 {
        font-size: 38px;
    }   
}
@media only screen and (max-width: 1200px) {
    .hero-ylasivu h1 {
        font-size: 32px;
    }   
}
@media only screen and (max-width: 1024px) {
    .hero-ylasivu h1 {
        font-size: 28px;
    }
    .hero-text-container {
        padding-left: 30px;
    }
    #breadcrumbs {
        margin-left: 30px;
    }
}
@media only screen and (max-width: 1024px) {
    .hero-ylasivu h1 {
        font-size: 24px;
    }   
}
