/*!
Theme Name: Groteski
Theme URI: http://underscores.me/
Author: Mainostoimisto Groteski
Author URI: https://www.groteski.fi
Description: Groteskin WordPress -teema
Version: 1.0.3
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: groteski-basic
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.

Groteski 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: 3em;
	font-weight: 400;
	margin: 0.67em 0;
	font-family: 'Playfair Display', sans-serif;
}

h2 {
	font-family: 'Playfair Display', sans-serif;
	font-size: 2.5em;
	font-weight: 400;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

ul,
ol {
	margin: 0 0 1.5em 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: #4169e1;
}

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

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

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}
@media screen and (max-width:576px) {
	.main-navigation {
		padding: 15px 0px;
	}
}
.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 li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

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

/* 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;
}
.gal {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	align-content: space-around;
}
/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
Slick slider
--------------------------------------------------------------*/

@font-face
{
    font-family: 'slick';
    font-weight: normal;
	font-style: normal;
	src: url('./fonts/slick.woff');
}

.slick-prev {
	left: -70px!important;
}
.slick-prev:before, .slick-next:before {
	color:#000!important;
	font-size:4rem!important;
}
.slick-carousel {
	margin: 0 -50px;
}
.slick-wrapper {
	margin: 0 50px;
}
.slick-wrapper img {
	
}
.slick-wrapper.boxy img {
	border-radius: 0;
}
.slick-wrapper.multiple-images {
	margin: 0 10px;
}
.slick-wrapper.multiple-images span {
	color: #fff;
	display: block;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	bottom: 0%;
	text-shadow: 2px 2px #000;
	font-weight: 500;
	font-size: 1.5rem;
	text-transform: uppercase;
	padding: 0 15px;
}
@media screen and (max-width:992px) {
	.slick-wrapper.multiple-images span {
	margin-left:15px;
	font-size: 1.2rem;
	}
}

/*--------------------------------------------------------------
Layout customization
--------------------------------------------------------------*/

/* Generic */

html, body {
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

a {
	
}

body {
	width: 100%;
}

@media screen and (max-width:576px) {
	body {
	font-size:18px;
	}
	h1 {
	font-size: 1.5em;
	}
	h2 {
	font-size: 1.2em;
	}
}
@media screen and (max-width:322px) {
	h1 {
		font-size:1.2em;
	}
	h2 {
		font-size:1.2em;
	}
}

.center {
	text-align:center;
}

.reverse {
	flex-direction: row-reverse;
}

.flip {
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-ms-transform: scaleX(-1);
	transform: scaleX(-1);
}

.hidden {
	display:none;
}

/* Bootstrap grid max width */
@media (min-width: 1370px) {
    .container{
        max-width: 1340px!important;
    }
}
@media (min-width:991px) and (max-width:1369px) {
	.article-container.container {
		max-width: 100%;
	}
}
.justified {
	justify-content: flex-end;
}

.justify-start {
	margin-right:auto;
}

/* fixes sticky navigation going on top of wp admin bar */
#wpadminbar {
	z-index: 100000;
}

/* Text block */


/* Text and image block */

.text-and-image-block-image img {
	margin-top: 1.5em;
}

/* Article lift block */

.entry-date {
	color: #6EC1E4;
}

.article-first {
	margin-bottom: 25px;
	-webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.10);
	box-shadow: 0px 2px 8px rgba(0,0,0,0.10);
	border-radius: 5px;
	overflow: hidden;
	margin-left: 0px!important;
	margin-right: 0px!important;
} 

.article-feeds {
	
}

.article-feed {
	overflow: hidden;
	margin-bottom: 25px;
	-webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.10);
	box-shadow: 0px 2px 8px rgba(0,0,0,0.10);
	border-radius: 5px;
}

@media screen and (min-width:992px) {
	.article-feed {
		
	}
}
.article-sidebar {
	display: flex;
	flex-direction: column;
}
.article-sidebar .article-feed {
	max-width: 100%!important; /* importanter */
}
.article-feed-block {
	overflow: hidden;
	padding: 15px;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}
@media screen and (min-width:992px) and (max-width: 1199px) {
	.article-feed-block {
		min-height: 275px;
	}
}
@media screen and (max-width:991px) {
	.article-feed-block {
		min-height: auto;
	}
}
@media screen and (min-width:576px) and (max-width:1199px) {
	::not(.article-sidebar) .article-feed-block {
		padding: 30px 50px 10px 50px;
	}
}
@media screen and (max-width:575px) {
	::not(.article-sidebar) .article-feed-block {
		padding: 15px 15px 5px 15px;
	}
}
@media screen and (max-width:991px) {
	.home .article-feeds div:nth-child(3),
	.home .article-feeds div:nth-child(4),
	.home .article-feeds div:nth-child(5),
	.home .article-feeds div:nth-child(6) {
		display: none;
	}
}

.article-feed-meta {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.article-feed-meta span {
	display: block;
	text-align: center;
	height: 50px;
}

.article-feed-meta .article-feed-posted-on {
	width: 30%;
	padding: 15px 4px;
	color: #6EC1E4;
	font-weight: 400;
}

.article-feed-meta .article-feed-category {
	width: 70%;
	background-color: #6EC1E4;
	color: #fff;
	padding-top: 14px;
	text-transform: uppercase;
	font-weight: 500;
	border-bottom-left-radius: 30px;
}
.article-sidebar .article-feed-meta .article-feed-posted-on {
	width: auto;
}
.article-sidebar .article-feed-meta .article-feed-category {
	width: 75%;
	padding-top: 15px;
	border-bottom-left-radius: 23px;
}
.article-sidebar .article-feed-meta span {
	margin-bottom: 0px;
}
.article-feed-category a,
.article-feed-category a:visited {
	text-decoration: none;
	color: #fff;
	transition: color 0.25s;
	font-size: 0.9rem;
}

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

@media screen and (min-width:992px) and (max-width:1199px) {
	.article-feed-category a {
		font-size: 14px;
	}
	.article-sidebar .article-feed-category a {
		font-size: 13px;
	}
	.article-feed-posted-on .entry-date {
		font-size: 14px;
	}
	.article-sidebar .article-feed-posted-on .entry-date {
		font-size: 12px;
	}
}
@media screen and (min-width:1200px) and (max-width:1369px) {
	.article-feed-category a {
		font-size: 14px;
	}
	.article-feed-posted-on .entry-date {
		font-size: 14px;
	}
}
@media screen and (min-width:360px) and (max-width:576px) {
	.article-feed-category a {
		font-size: 16px;
	}
	.article-feed-posted-on .entry-date {
		font-size: 16px;
	}	
}
@media screen and (max-width:359px) {
	.article-feed-category a {
		font-size: 14px;
	}
	.article-feed-posted-on .entry-date {
		font-size: 14px;
	}
}

.article-lift-block {
	padding: 30px 50px 0px 50px;
}

@media screen and (max-width: 576px) {
	.article-lift-block {
		padding: 15px 15px 0px 15px;
	}
}

.article-lift-block {
	text-decoration: none;
	color: #000;
	transition: color 0.25s;
	display: block;
	cursor: pointer;
}
.article-feed-block {
	text-decoration: none;
	color: #000;
	transition: color 0.25s;
	cursor: pointer;
}
.article-lift-block:visited, .article-feed-block:visited {
	color: #000;
}
.article-lift-block:hover, .article-feed-block:hover {
	color: #FFAD3F;
}
.article-lift-block-title {
	font-family: 'Roboto',sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	font-size: 22px;
	margin: 10px 0px 20px 0px;
	border-top: 1px solid #C9C0C0;
	padding-top: 20px;
}

.article-lift-title {
	font-family: 'Playfair Display',sans-serif;
	font-weight: 400;
	font-size: 26px;
	margin: 5px 0px;
}

.popular-articles-lift-block .article-lift-block-title.mobile {
	display: none;
}
@media screen and (max-width:991px) {
	.popular-articles-lift-block .article-lift-block-title { 
		display: none;
	}
	.popular-articles-lift-block .article-lift-block-title.mobile {
		display: block;
	}
}
@media screen and (min-width:992px) and (max-width:1199px) {
	.article-sidebar .article-lift-title {
		font-size: 24px;
	}
}
.article-feed-title {
	font-family: 'Playfair Display',sans-serif;
	font-weight: 400;
	font-size: 22px;
	margin: 5px 0px;
}

.article-lift-image {
	padding-left: 0px!important;
	padding-right: 0px!important;
}

.article-lift-image-inner {
	z-index: 99999;
	position: relative;
}

.article-lift-image img {
	object-fit: cover;
	border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
	height: 100%;
	width: 100%;
	object-position: center center;
	z-index: 99999;
	position: relative;
	max-height: 570px;
}

.article-feed-image {
	padding: 0!important;
	width: 100%;
	height: 170px;
}
@media screen and (min-width:576px) and (max-width:1199px) {
	.article-feed-image {
		height: 370px;
	}
	.article-sidebar .article-feed-image {
		height: 170px;
	}
}
@media screen and (max-width:575px) {
	.article-feed-image {
		height: 270px;
	}
	.article-sidebar .article-feed-image {
		height: 170px;
	}

}
.article-feed-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.article-lift-content, .article-feed-content {
	font-family: 'Roboto',sans-serif;
	font-weight: 300;
	font-size: 16px;
}
p.article-feed-content {
	margin: 10px 0px;
}
@media screen and (min-width: 576px) {
	.article-first {
		display: flex;
	}
	.article-first-mobile {
		display: none!important;
	}
}
@media screen and (max-width: 575px) {
	.article-first {
		display: none!important;
	}
	.article-first-mobile {
		display: block;
		font-family: 'Roboto',sans-serif;
		font-weight: 300;
		font-size: 16px;
	}
}

@media screen and (min-width:1200px) {
	.article-feed-content {
		min-height: 150px;
	}
	.article-sidebar .article-feed-content {
		min-height: auto;
	}
}
.article-lift-read-more {
	display: block;
	width: 100%;
	padding: 30px 0px;
	position: relative;
}

@media screen and (min-width:1370px) {
	.article-lift-read-more {
		margin-top: 75px;
	}
}

.article-feed-read-more {
	display: block;
	width: 100%;
	padding: 25px 0px 12px 0px;
	position: relative;
}

.article-lift-read-more::before {
	content: '';
	border-top: 1px solid #C9C0C0;
	width: 2000px;
	position: absolute;
	left: -300px;
	top: 0px;
}

.article-feed-read-more::before {
	content: '';
	border-top: 1px solid #C9C0C0;
	width: 2000px;
	position: absolute;
	left: -300px;
	top: 0px;
}

.article-lift-read-more a,
.article-feed-read-more a {
	color: #FFAD3F;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 600;
	transition: color 0.25s;
}

.article-lift-read-more a:hover,
.article-feed-read-more a:hover {
	color: #000;
}

/* Popular articles block */

.popular-articles-lift-block {
	margin-top: 15px;
}

.popular-article {

	margin-bottom: 25px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
.popular-article-inner {
	display: flex;
	flex-direction: row;
	-webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.10);
	box-shadow: 0px 2px 8px rgba(0,0,0,0.10);
}

.popular-article-count {
	width: 100px;
	background-color: #6EC1E4;
	font-family: 'Playfair Display',sans-serif;
	color: #fff;
	text-align: center;
	font-size: 24px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	flex: 5%;
}
.popular-article-count span {
	margin-top: 15px;
	display: block;
}
.popular-article-lift-content {
	font-size: 16px;
}
.article-sidebar .popular-article-count {
	width: 100px;
	background-color: #6EC1E4;
	font-family: 'Playfair Display',sans-serif;
	color: #fff;
	text-align: center;
	font-size: 24px;
	border-top-left-radius: 5px;
	border-bottom-right-radius: 25px;
	border-bottom-left-radius: 0px;
	display: inline-block;
	height: 60px;
	padding: 10px;
}

.popular-article-content {
	padding: 10px 15px 0px 25px;
	font-weight: 300;
	flex: 95%;
}
.article-sidebar .popular-article-content {
	padding: 0px 15px 0px 15px;
}
.popular-article-content a,
.popular-article-content a:visited {
	color: #000;
	text-decoration: none;
	transition: color 0.25s;
}
.popular-article-content a:hover {
	color: #6EC1E4;
}

@media screen and (max-width:991px) {
	.popular-box {
		order: 1;
	}
	.popular-box img {
		margin: 0 auto;
		display: block;
	}
	.popular-content {
		order: 2;
	}
}
@media screen and (max-width:575px) {
	.popular-article-count { 
		flex: 10%;
	}
	.popular-article-content {
		padding: 10px 15px 0px 15px;
		flex: 90%
	}
}
/* Banner block */

.banner-block {
	margin: 25px 0px;
}

/* single post & sidebar stuff */

.single-post .entry-meta {
	margin-top: 25px; 
}

.single-post .entry-title {
	margin: 15px 0px;
}

.single-post

.article-container {
	margin-top: 50px;
}

.single-post strong, .single-post b {
	font-weight: 600;
}

.wp-post-image img {
	width: 100%;
	object-fit: cover;
	object-position: center center;
}

.sidebar-cat {
	-webkit-box-shadow: 0px 2px 6px rgba(0,0,0,0.10);
	box-shadow: 0px 2px 6px rgba(0,0,0,0.10);
	margin: 7px 0px;
	padding: 10px 0px;
}

.sidebar-cat-header {
	text-transform: uppercase;
	font-family: Roboto;
	font-size: 22px;
	font-weight: 300;
	padding-top: 25px;
	border-top: 1px solid #C9C0C0;
	margin-bottom: 15px;
	margin-top: 15px;
}

.sidebar-cat-header:nth-child(1) {
	margin-top: 0px
}

.sidebar-cat, .sidebar-cat-header {
	display: block;
	width: 100%;
	text-align: center;
}

.sidebar-cat a, .sidebar-cat a:visited {
	color: #6EC1E4;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.25s;
}

.sidebar-cat a:hover { 
	color: #000;
}

.article-yhteistyo {
	text-transform: uppercase;
	font-weight: 500;
	margin: 25px 0px;
	display: block;
	letter-spacing: 1px;
}

.article-social-media {
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 25px;
}

.article-social-media-button {
	margin-bottom: 15px;
}

.article-social-media span {
	text-transform: uppercase;
	font-weight: 500;
	margin: 25px 0px;
	display: block;
	letter-spacing: 1px;
	text-align: center;
}

@media screen and (max-width:991px) {
	.article-social-media {
		flex-direction: row;
		margin-top: 15px;
	}
	.article-social-media-button {
		margin-bottom: 0px;
		margin-right: 15px;
	}
	.article-social-media span {
		margin: 15px 15px 0px 0px;
	}
}

.nav-links {
	border-top: 1px solid #C9C0C0;
	padding-top: 25px;
}

.nav-links a {
	text-decoration: none;
}

.nav-links a .nav-subtitle {
	color: #FFAD3F;
	font-weight: 500;
	transition: all 0.25s;
}

.nav-links a .nav-title {
	color: #000;
	font-weight: 300;
}
.nav-links a:hover > .nav-subtitle {
	color: #000;
}
.nav-title,
.nav-subtitle {
	display: block;
}

/* ads */

.front-banner, 
.article-sidebar-banner {
	margin: 25px 0px;
}
@media screen and (max-width:991px) {
	.article-sidebar-banner {
		order: 1;
		text-align: center;
	}
	.sidebar-cat-header {
		order: 3;
	}
	.sidebar-cat {
		order: 3;
	}
	.article-feed {
		order: 3;
	}
	.popular-article {
		order: 3;
	}
}
@media screen and (min-width:768px) {
	a.desktop {
		display: block;
	}
	a.mobile {
		display: none;
	}
}
@media screen and (max-width:767px) {
	a.desktop {
		display: none;
	}
	a.mobile {
		display: block;
	}
}

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

.site-branding {
	padding-top: 4px;
}
.column {
	flex-direction: column;
}
.center-flex {
	display: flex;
	justify-content: center;
	align-items: center;
}

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

.flex-end {
	display: flex;
    justify-content: flex-end;
}

@media screen and (min-width:992px) and (max-width:1199px) {
	.center-flex-lg-only {
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

.space-between {
	display: flex;
	justify-content: space-between;
}

.site-header {
	background:#6EC1E4;
	position: static;  
	width: 100%;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 0 2rem;
	line-height: 40px;
	font-size: 1.1rem;
	font-weight:300;
	transition: all 0.25s;
	color:#fff;
}

.main-navigation .current-menu-item a {
	font-weight: 400;
}

.main-navigation .current-menu-parent a {
	font-weight: 400;
}

.main-navigation a:visited {
	color:#fff;
}

.main-navigation a:hover {
	color:#000;	
}

/* Sub menu */

.main-navigation ul ul {
	float:none;
	top: 100%;
	display: block;
	background:#6ec1e4;
	box-shadow: none;
	width: 350px;
	padding: 25px 0 15px 0;
	
}
.main-navigation ul ul li a {
	font-size: 1rem;
}
.sub-menu {
	display:none;
	
}

@media screen and (max-width: 991px) {
	.main-navigation a {
		padding: 0 0.2rem;
	}
}
@media screen and (min-width:1200px) and (max-width: 1369px) {
	.main-navigation a {
		font-size:1.1rem;
		padding: 0 1rem;
	}
}
@media screen and (min-width: 991px) and (max-width:1199px) {
	.main-navigation a {
		font-size:1rem;
		padding: 0 0.5rem;
	}
}


/* Mobile menu */

.menu-toggle {
	display:block;
}

.mobile-navigation {
	display:none;
	color: #fff;
	background: rgba(0, 0, 0, 0.9);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index:100000;
	
}

.mobile-navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 30px;
    font-weight: 600;
	text-decoration: none;
	font-family: 'Lato', sans-serif;
	font-size: 1.5rem;
}

.mobile-navigation li {
	margin: 25px 0px;
}

.mobile-navigation ul li a, .mobile-navigation ul li a:visited {
	color: #fff;
	text-decoration: none;
}
.mobile-navigation ul li a:hover {
	color: #6EC1E4;
}

.mobile-navigation  .menu-item-has-children > a:first-of-type::after {
	font-family:'slick';
	content:'  →';
	background:rgba(0, 0, 0, 0.9);
	color:#fff;
	position: relative;
	top: 3px;
	font-size: 22px;
}

.mobile-navigation .menu-item-has-children.switch > a:first-child:after {
	font-family:'slick';
	content:'  ←';
	background:rgba(0, 0, 0, 0.9);
	color:#fff;
	font-size: 22px;
}

.mobile-navigation .sub-menu {
	font-size:24px;
}

.mobile-navigation ul li {
	display:none;
}

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

	.menu-toggle {
		display: none;
	}

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

.menu-toggle {
	height: 30px;
	background:url('./img/hampurilainen.png');
	background-repeat: no-repeat;
	background-size: contain;
	border: none;
}

.menu-close {
	height: 30px;
	background:url('./img/sulje.png');
	background-repeat: no-repeat;
	background-size: contain;
	border: none;
	flex-direction:row-reverse;
	margin-top:25px;
	margin-right:25px;
	position:fixed;
	top: 0;
	right: 0;
}

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
.pre-footer {
	margin-top: 25px; 
	background-color: #6EC1E4;
	color: #fff;
	border-bottom: 5px solid #fff;
}
.pre-footer-h2 p {
	margin: 0;
}
.bordered-divider {
	border-bottom: 1px solid #fff;
	margin-bottom: 10px;
}

.site-footer {
	background-color: #6EC1E4;
	color: #fff;
}

.site-info {
	padding-bottom: 15px;
}

.footer-cat {
	display: block;
	margin: 10px 0px;
	font-size: 18px;
}
.footer-cat a {
	text-decoration: none;
	color: #fff;
	transition: color 0.25s;
	font-weight: 500;
}
.footer-cat a:visited {
	color: #fff;
}
.footer-cat a:hover {
	color: #000;
}

.big-fb img {
	max-width: 102px;
}

.small-fb img {
	width: 32px;
	height: 32px;
}

.footer-menu #primary-menu-footer {
	display: flex;
	justify-content: space-evenly;
	border-top: 1px solid #fff;
	padding-top: 15px;
}
@media screen and (max-width:991px) {
	.footer-menu #primary-menu-footer {
		display: none;
	}
	#site-navigation-footer {
		display: flex;
		justify-content: center;
	}
}

/*--------------------------------------------------------------
Hero area
--------------------------------------------------------------*/

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Hero image */

.hero-image-block {
	display: flex;
	justify-content: center;
	align-items: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	height: 1200px;
}
		
.hero-title {
	color: #fff;
	font-size: 7rem;
	margin-bottom: 20px;
	text-align: center;
	text-shadow: 0px 2px 20px #413C3C;
	display: block;
}

.hero-caption {
	color: #fff;
	font-size: 24px;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 0px 1px 14px #413C3C;
	display: block;
}

@media screen and (min-width:1200px) and (max-width:1369px) {
	.hero-image-block {
		height:700px;
	}
	.hero-title {
		font-size: 5rem;
	}
	.hero-caption {
		font-size: 22px;
	}
}

@media screen and (min-width:992px) and (max-width:1199px) {
	.hero-image-block {
		height:600px;
	}
	.hero-title {
		font-size: 4rem;
	}
	.hero-caption {
		font-size: 20px;
	}
}

@media screen and (min-width:768px) and (max-width:991px) {
	.hero-image-block {
		height:500px;
	}
	.hero-title {
		font-size: 3rem;
	}
	.hero-caption {
		font-size: 18px;
	}
}

@media screen and (min-width:576px) and (max-width:767px) {
	.hero-image-block {
		height:500px;
	}
	.hero-title {
		font-size: 2.5rem;
	}
	.hero-caption {
		font-size: 18px;
	}
}

@media screen and (max-width:575px) {
	.hero-image-block {
		height:500px;
	}
	.hero-title {
		font-size: 2.2rem;
	}
	.hero-caption {
		font-size: 18px;
	}
}

.ingress-after-hero-block {
	margin: 25px 0px 10px 0px;
}

/* Search */
.search-toggle {
	position: relative;
	content: url('./img/haku.png');
	width: 24px;
	height: 24px;
	top: 8px;
	left: -15px;
	cursor: pointer;
	
}
@media screen and (max-width:991px) {
	.search-toggle {
		align-self: center;	
		top: auto;
	}
}

.search-form {
	display: none;
	position: absolute;
	z-index: 0;
	right: 100000px;
	opacity: 0;
	background: #fff;
	padding: 6px;
	top: 66px;
	transition: all 0.25s;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

.show-search {
	display: flex;
	right: 135px;
	z-index: 99999;
	opacity: 1;
	transition: all 0.25s;
}

input.search-field {
	margin-right: 3px;
	padding: 4px;
	width: 200px;
	font-family: 'Lato',sans-serif;
}

@media screen and (min-width:1200px) and (max-width:1369px) {
	.search-form {
		top: 57px;
	}
	.show-search {
		right: 105px;
	}
}
@media screen and (min-width:992px) and (max-width:1199px) {
	.search-form {
		top: 50px;
	}
	.show-search {
		right: 75px;
	}
}
@media screen and (min-width:768px) and (max-width:991px) {
	.search-form {
		top: 68px;
	}
	.show-search {
		right: 50px;
	}
}
@media screen and (min-width:576px) and (max-width:767px) {
	.search-form {
		top: 55px;
	}
	.show-search {
		right: 15px;
	}
}
@media screen and (max-width: 575px) {
	.search-form {
		top: 55px;
	}
	.show-search {
		right: 10px;
	}
}

input.search-submit {
	padding: 7px 14px;
	text-align: center;
	text-decoration: none;
	font-family: 'Lato', sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: #fff;
	background: #6EC1E4;
	border: 3px solid #6EC1E4;
	border-radius: 5px;
	transition: all 0.25s;
	cursor: pointer;
}

input.search-submit:hover {
	color: #000;
	background: #6EC1E4;
	border-color: #6EC1E4;
}

.search #primary a,
.search #primary a:visited {
	color: #6EC1E4;
	transition: color 0.25s;
}
.search #primary a:hover {
	color: #6EC1E4;
}

.search .entry-title {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.search .entry-summary {
	margin: 10px 0 0;
}

.mobile-navigation .search-form {
	position: static;
	background: transparent;
	justify-content: center;
	width: 100%;
	display: flex;
	opacity: 1;
}

.search-and-social-media {
	display: flex;
	flex-direction: row;
}

/* Ajax load more */

button.alm-load-more-btn {
	display: block;
	background: #FFF;
	box-shadow: 0px 2px 6px rgba(0,0,0,0.10);
	margin: 15px auto;
	font-family: 'Lato',sans-serif;
	color: #6EC1E4;
	padding: 12px 24px;
	font-weight: 400;
	transition: all 0.25s;
	text-transform: uppercase;
	cursor: pointer;
	border: none;
	font-size: 16px;
}

button.alm-load-more-btn:hover {
	color: #000;	
}
