/*!
Theme Name: Peura-Trans
Theme URI: http://underscores.me/
Author: Kouta
Author URI: https://koutamedia.fi
Description: Starter theme for Kouta web projects.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kouta_s
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 with others.

Kouta Starter is based on Underscores https://underscores.me/, (C) 2012-2017 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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Media
	## Captions
# Header
	## Menu
	## Hero
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | 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; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * 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; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/* 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; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	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; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
	padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
	font: inherit; /* 2 */
}

/* 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;
}

::-moz-selection {
	text-shadow: none;
	color: var(--selectioncolor);
	background: var(--selectionbackground);
	background-color: var(--selectionbackground);
}

::selection {
	text-shadow: none;
	color: var(--selectioncolor);
	background: var(--selectionbackground);
	background-color: var(--selectionbackground);
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

/*
main font
font-weight: 400;
font-weight: 700;
font-weight: 800;

secondary font
font-weight: 300;
font-weight: 700;
*/

body,
button,
input,
select,
optgroup,
textarea {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
	color: var(--text);
	font-family: var(--mainfont);
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 800;
	font-style: italic;
	color: var(--titlecolor);
	font-family: var(--mainfont);
}

h1 {
	font-size: 90px;
	margin: 0.1em 0;
	line-height: 1.2;
	text-indent: -4px;
	letter-spacing: -4px;
}

h2 {
	font-size: 80px;
	margin: 0.1em 0;
	line-height: 1.2;
	text-indent: -4px;
	letter-spacing: -4px;
}

h3 {
	font-size: 65px;
	margin: 0.1em 0;
	line-height: 1.2;
	text-indent: -3px;
	letter-spacing: -3px;
}

h4 {
	font-size: 45px;
	margin: 0.1em 0;
	line-height: 1.2;
	text-indent: -2px;
	letter-spacing: -2px;
}

h5 {
	font-size: 30px;
	line-height: 1.2;
	margin: 0.25em 0;
}

h6 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0.25em 0;
}

span.name-highlight {
	font-size: 45px;
	margin: 0.1em 0;
	line-height: 1.2;
	font-weight: 800;
	text-indent: -2px;
	font-style: italic;
	letter-spacing: -2px;
	font-family: var(--mainfont);
}

.site-footer h6,
.hero-area-content h6 {
	margin: 0;
	line-height: 1;
	font-size: 90px;
	text-indent: -4px;
	letter-spacing: -4px;
	color: rgb(255, 255, 255);
}

p {
	margin-bottom: 1.5em;
}

p.subtitle {
	line-height: 1;
	font-size: 50px;
	font-weight: 300;
	margin: 0.1em 0;
	font-family: var(--secondaryfont);
}

.red {
	color: var(--darkred);
}

b, strong {
	font-weight: 700;
}

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;
	font-size: 15px;
	font-size: 0.9375rem;
	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;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	padding: 0 var(--sitepadding);
	/* Fallback for when there is no custom background color defined. */
}

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: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	line-height: 1;
	font-size: 20px;
	font-weight: 800;
	border-radius: 0;
	font-style: italic;
	padding: 12px 20px;
	color: rgb(255, 255, 255);
	background: var(--darkred);
	font-family: var(--mainfont);
	border: 1px solid var(--darkred);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
background: var(--lightred);
border: 1px solid var(--lightred);
}

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 {
	outline-offset: 3px;
	background: var(--lightred);
	border: 1px solid var(--lightred);
	outline: 3px solid var(--lightred);
}

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 {
	width: 100%;
	padding: 5px;
	border-radius: 0;
	color: rgb(0, 0, 0);
	border: 1px solid rgba(0, 0, 0, 0.2);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
input[type="range"]:hover,
input[type="date"]:hover,
input[type="month"]:hover,
input[type="week"]:hover,
input[type="time"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="color"]:hover,
textarea:hover {
	outline: 0;
	border: 1px solid var(--lightred);
}

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 {
	outline: 0;
	border: 1px solid var(--lightred);
}

select {
	border: 1px solid rgba(0, 0, 0, 0.2);
}

select:focus {
	outline: 0;
	border: 1px solid var(--lightred);
}

textarea {
	width: 100%;
	max-width: 100%;
	min-width: 100%;
}

.wpcf7 form {
	width: 100%;
	max-width: 700px;
	margin: 25px auto;
}

.wpcf7 p {
	margin: 0 0 15px 0;
}

.required-field {
	font-weight: 800;
	color: var(--darkred);
}

.wpcf7-checkbox label {
	display: block;
	margin-top: 5px;
	cursor: pointer;
	font-size: 18px;
	line-height: 22px;
	position: relative;
	padding-left: 28px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.wpcf7-checkbox label input {
	width: 0;
	height: 0;
	opacity: 0;
	cursor: pointer;
	position: absolute;
}

.wpcf7-checkbox label span:before {
	top: 0;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 0;
	position: absolute;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.wpcf7-checkbox label:hover input ~ span:before,
.wpcf7-checkbox label input:focus ~ span:before {
	border: 1px solid var(--darkred);
}

.wpcf7-checkbox label input:checked ~ span:before {
	background-color: rgb(255, 255, 255);
}

.wpcf7-checkbox label span:after {
 	top: 0px;
	left: 0px;
	width: 22px;
	height: 22px;
	content: "✓";
	display: none;
	font-size: 16px;
	font-weight: 800;
	line-height: 22px;
	position: absolute;
	text-align: center;
	color: var(--darkred);
}

.wpcf7-checkbox label input:checked ~ span:after {
	display: block;
}

.wpcf7-radio label {
	display: block;
	margin-top: 5px;
	cursor: pointer;
	font-size: 16px;
	line-height: 22px;
	position: relative;
	padding-left: 28px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.wpcf7-radio label input {
	width: 0;
	height: 0;
	opacity: 0;
	cursor: pointer;
	position: absolute;
}

.wpcf7-radio label span:before {
	top: 0;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	position: absolute;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.wpcf7-radio label:hover input ~ span:before,
.wpcf7-radio label input:focus ~ span:before {
	border: 1px solid var(--darkred);
}

.wpcf7-radio label input:checked ~ span:before {
	background-color: rgb(255, 255, 255);
}

.wpcf7-radio label span:after {
 	top: 4px;
	left: 4px;
	width: 14px;
	height: 14px;
	display: none;
	border-radius: 50%;
	position: absolute;
	background-color: var(--darkred);
}

.wpcf7-radio label input:checked ~ span:after {
	display: block;
}

span.wpcf7-list-item:first-of-type {
	margin-left: 0;
}

.mc-field-group.input-group {
	margin: 15px 0;
}

.mc-field-group.input-group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-field-group.input-group ul li label {
	display: block;
	margin-top: 5px;
	cursor: pointer;
	font-size: 18px;
	line-height: 22px;
	position: relative;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.mc-field-group.input-group ul li label input {
	width: 0;
	height: 0;
	opacity: 0;
	cursor: pointer;
	position: absolute;
}

.mc-field-group.input-group ul li label span {
	display: block;
  margin-top: 5px;
  cursor: pointer;
  font-size: 18px;
  line-height: 22px;
  position: relative;
  padding-left: 28px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mc-field-group.input-group ul li label span:before {
	top: 0;
	left: 0;
	content: '';
	width: 22px;
	height: 22px;
	border-radius: 0;
	position: absolute;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.mc-field-group.input-group ul li label:hover input ~ span:before,
.mc-field-group.input-group ul li label input:focus ~ span:before {
	border: 1px solid var(--darkred);
}

.mc-field-group.input-group ul li label input:checked ~ span:before {
	background-color: rgb(255, 255, 255);
}

.mc-field-group.input-group ul li label span:after {
 	top: 0px;
	left: 0px;
	width: 22px;
	height: 22px;
	content: "✓";
	display: none;
	font-size: 16px;
	font-weight: 800;
	line-height: 22px;
	position: absolute;
	text-align: center;
	color: var(--darkred);
}

.mc-field-group.input-group ul li label input:checked ~ span:after {
	display: block;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: var(--link);
}

a:visited {
	color: var(--linkvisited);
}

a:hover, a:focus, a:active {
	color: var(--linkhover);
}

a:focus:not(:hover) {
	outline-offset: 3px;
	outline: 3px solid var(--linkfocus);
}

a:hover, a:active {
	outline: 0;
}

.link-no-underline a {
	text-decoration: none;
}

.link-no-underline a:hover {
	text-decoration: underline;
}

.button-link,
.button-link:visited {
	line-height: 1;
	font-size: 18px;
	padding: 15px 25px;
	text-decoration: none;
	color: var(--linkbuttontext);
	background-color: var(--link);
}

.button-link:hover,
.button-link:active {
	color: var(--linkbuttontexthover);
	background-color: var(--linkhover);
}

.button-link:focus:not(:hover) {
	outline-offset: 3px;
	outline: 3px solid var(--linkfocus);
}

/*--------------------------------------------------------------
# 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: fixed !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus,
#masthead[tabindex="-1"]:focus,
#back-to-top[tabindex="-1"]:focus,
.site-popup[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	width: 100%;
}

.entry-content > *:not(.alignfull):not(.alignwide) {
  width: 95%;
  margin-left: auto;
	margin-right: auto;
	max-width: var(--maxwrapper);
}

.site-wrapper {
	width: 95%;
	margin: 0 auto;
	max-width: var(--maxwrapper);
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* 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;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menu
--------------------------------------------------------------*/
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 0px;
	}
}

#back-to-top {
	height: 1px;
	width: 100%;
	margin-top: -1px;
	visibility: hidden;
	transform: translateY(1px);
}

.site-header {
	top: 0;
	width: 100%;
	z-index: 1000;
	position: relative;
	margin-top: var(--sitepadding);
	background-color: var(--darkred);
	background-image: url('images/peura-trans-roadmap.svg'), radial-gradient(circle, var(--lightred) 0%, var(--darkred) 75%, var(--darkred) 100%);
	background-size: 750px 750px, cover;
	background-repeat: repeat, no-repeat;
}

.site-header.dark {
	background-repeat: repeat;
	background-size: 750px 750px;
	background-color: rgb(42, 42, 42);
	background-image: url('images/peura-trans-roadmap-opacity.svg');
}

.site-navigation-bar {
	width: 100%;
	/*transform: translateY(var(--sitepaddingnegative));*/
}

.site-header .site-wrapper {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	position: relative;
}

.site-branding {
	position: absolute;
	left: 0;
	transform: translateY(var(--sitepaddingnegative));
}

.custom-logo-link {
	width: 200px;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.custom-logo-link:focus:not(:hover) {
	outline-offset: 3px;
	outline: 3px solid rgb(255, 255, 255);
}

.custom-logo {
	line-height: 1;
	width: 100%;
	margin: 0px;
	display: block;
}

.main-navigation {
  margin: 25px 0 75px 0;
}

#nav-button {
	display: none;
	border: 0;
	outline: 0;
	width: 50px;
	height: 50px;
	padding: 10px;
	cursor: pointer;
	border-radius: 0;
	background: none;
	position: relative;
	pointer-events: auto;
	background-color: var(--navbutton);
}

#nav-button:hover,
#nav-button:hover:before {
	background-color: var(--navbuttonhover);
}

#nav-button:focus,
#nav-button:focus:before  {
	background-color: var(--navbuttonfocus);
}

.line {
	width: 100%;
	height: 6px;
	margin: 3px 0px;
	transform: translateZ(0);
	transition: all 0.25s ease-in-out;
	background-color: var(--navlinecolor);
}

nav.open .line:first-of-type {
	transform: rotate(45deg) translateY(13px);
	transform-origin: 50% 50%;
	margin-left: 10px;
}

nav.open .line:nth-of-type(2) {
	visibility: hidden;
}

nav.open .line:nth-of-type(3) {
	transform: rotate(-45deg) translateY(-13px);
	transform-origin: 50% 50%;
	margin-left: 10px;
}

.site-header.dark #main-menu {
	--navlink: rgb(200, 200, 200);
}

#main-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

#main-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#main-menu li {
	position: relative;
	margin-right: 14px;
	padding-right: 14px;
	border-right: 2px solid rgb(255, 255, 255);
}

#main-menu li:last-of-type {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

#main-menu li.mobile-only {
	display: none;
}

#main-menu li a,
#main-menu li a:visited {
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	text-decoration: none;
	color: var(--navlink);
	text-transform: uppercase;
}

#main-menu li a:hover {
	text-decoration: underline;
}

#main-menu li a:focus:not(:hover)  {
	outline: 3px solid var(--navlinkfocus);
}

#main-menu li:after {
	left: 0;
	content: '';
	height: 1px;
	bottom: -20px;
	position: absolute;
	width: calc(100% + 16px);
	border-bottom: 1px solid rgb(255, 255, 255);
}

#main-menu li:last-of-type:after {
	width: 100%;
}

#main-menu li.current-menu-item a:after {
	left: 0;
	content: '';
	width: 100%;
	height: 20px;
	bottom: -39px;
	position: absolute;
	pointer-events: none;
	background-size: contain;
	transform: translateX(-8px);
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('images/peura-arrow.svg');
}

#main-menu li.current-menu-item:after {
	left: 0;
	content: '';
	height: 1px;
	bottom: -20px;
	position: absolute;
	width: calc(50% - 52px);
	border-bottom: 1px solid rgb(255, 255, 255);
}

#main-menu li.current-menu-item:before {
	right: -16px;
	content: '';
	height: 1px;
	bottom: -20px;
	position: absolute;
	width: calc(50% - 20px);
	border-bottom: 1px solid rgb(255, 255, 255);
}

#main-menu li:last-of-type.current-menu-item a:after {
	transform: translateX(0px);
}

#main-menu li:last-of-type.current-menu-item:after {
	width: calc(50% - 45px);
}

#main-menu li:last-of-type.current-menu-item:before {
	right: 0;
	width: calc(50% - 45px);
}

.lang-nav {
	right: 0;
	top: -10px;
	width: 80px;
	height: 64px;
	display: flex;
	list-style: none;
	position: absolute;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-image: url('images/peura-lang-bg.svg');
}

.lang-nav ul {
	padding: 0;
	display: flex;
	list-style: none;
	margin: 0 0 10px 0;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

.lang-nav li {
	line-height: 1;
}

.lang-nav li:not(:first-of-type) {
	margin-left: 8px;
	padding-left: 8px;
	border-left: 2px solid var(--darkred);
}

.lang-nav li a,
.lang-nav li a:visited {
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	text-decoration: none;
	color: var(--darkred);
	text-transform: capitalize;
}

.lang-nav li a:hover {
	color: var(--lightred);
	text-decoration: underline;
}

.lang-nav li a:focus:not(:hover)  {
	outline: 3px solid var(--darkred);
}

.site-header.dark .lang-nav li:not(:first-of-type) {
	border-left: 2px solid var(--darkgray);
}

.site-header.dark .lang-nav li a,
.site-header.dark .lang-nav li a:visited {
	color: var(--darkgray);
}

.site-header.dark .lang-nav li a:hover {
	color: var(--lightgray);
	text-decoration: underline;
}

.site-header.dark .lang-nav li a:focus:not(:hover)  {
	outline: 3px solid var(--lightgray);
}


.site-title {
	width: 100%;
	text-align: center;
	color: rgb(255, 255, 255);
	transform: translateY(var(--sitepaddingnegative));
}

.site-title h1 {
	color: rgb(255, 255, 255);
}

.logout-link {
	left: 10px;
	bottom: 10px;
	font-size: 0.9em;
	position: absolute;
	--link: rgb(255, 255, 255);
	--linkvisited: rgb(255, 255, 255);
	--linkhover: rgb(255, 255, 255);
	--linkfocus: rgb(255, 255, 255);
}

/*--------------------------------------------------------------
## Hero
--------------------------------------------------------------*/
.hero-area {
	width: 100%;
	min-height: 750px;
	position: relative;
	margin-top: var(--sitepadding);
	height: calc(100vh - 2 * var(--sitepadding));
	background-color: var(--darkred);
	background-image: radial-gradient(circle, var(--lightred) 0%, var(--darkred) 75%, var(--darkred) 100%);
}

.hero-area-foreground {
	left: 0;
	bottom: 0;
	z-index: 5;
	width: 100%;
	height: 100%;
	display: flex;
	position: absolute;
	flex-direction: row;
	pointer-events: none;
	align-items: flex-end;
	justify-content: center;
}

.hero-area-foreground img {
	height: 70%;
	max-height: 1000px;
}

.hero-area-foreground img.left {
	transform: translateX(-30%);
}

.hero-area-foreground img.right {
	transform: translateX(30%);
}

.hero-area-mask {
	top: 0;
	left: 0;
	z-index: -111;
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: var(--darkred);
	background-image: radial-gradient(circle, var(--lightred) 0%, var(--darkred) 75%, var(--darkred) 100%);
}

.hero-area-background {
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	position: absolute;
	pointer-events: none;
	-webkit-mask-image: url('images/peura-trans-mask.svg');
	mask-image: url('images/peura-trans-mask.svg');
	-webkit-mask-position: center center;
	mask-position: center center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 85% 85%;
	mask-size: 85% 85%;
}

.hero-area-background img {
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	object-position: 50% 50%;
}

.hero-area-background img.left {
	object-position: 0% 50%;
}

.hero-area-background img.left {
	object-position: 100% 50%;
}

/*
.hero-area-parallax {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;
  background: transparent;
}

.hero-area-parallax .parallax-mirror {
	-webkit-mask-image: url('images/peura-trans-mask.svg');
	mask-image: url('images/peura-trans-mask.svg');
	-webkit-mask-position: center center;
	mask-position: center center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 85% 85%;
	mask-size: 85% 85%;
}
*/

.hero-area-content {
	z-index: 5;
	width: 100%;
	height: 100%;
	position: relative;
	color: rgb(255, 255, 255);
}

.hero-area-content .site-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.hero-area-content img {
	max-height: 200px;
	margin-right: 50px;
	transform: translateY(var(--sitepaddingnegative));
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.wp-block-columns {
	margin: 50px 0;
}

.wp-block-column:not(:last-of-type) {
	border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.has-medium-font-size {
	font-size: 24px;
}

.back-to-top {
	z-index: 100;
	width: 50px;
	height: 50px;
	position: fixed;
	right: 25px;
	bottom: 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	border: 1px solid rgb(255, 255, 255);
	background-color: var(--darkred);
	background-image: radial-gradient(circle, var(--lightred) 0%, var(--darkred) 75%, var(--darkred) 100%);
}

.back-to-top:hover {
	background: var(--lightred);
}

.back-to-top svg {
	width: 25px;
	height: 25px;
	fill: rgb(255, 255, 255);
	transform: translateY(-2px);
}

/*--------------------------------------------------------------
## 404
--------------------------------------------------------------*/
.not-found {
	margin: 100px 0;
	text-align: center;
}

/*--------------------------------------------------------------
## Side buttons
--------------------------------------------------------------*/
.side-buttons {
	right: 0;
	top: 25vh;
	z-index: 100;
	display: flex;
	position: fixed;
	pointer-events: none;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	transform: translateX(125px);
	transition: all 0.25s ease-in-out;
}

.side-buttons.show {
	transform: translateX(0px);
}

.side-button-group {
	height: 80px;
	display: flex;
	position: relative;
	pointer-events: none;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	transform: translateX(250px);
	transition: all 0.25s ease-in-out;
	--groupcolordark: var(--darkred);
	--groupcolorlight: var(--lightred);
}

.side-button-group:nth-of-type(even) {
	--groupcolordark: var(--darkgray);
	--groupcolorlight: var(--lightgray);
}

.side-button-group.open {
	z-index: 110;
}

.side-button {
	border: 0;
	padding: 0;
	width: 100px;
	height: 80px;
	display: flex;
	cursor: pointer;
	align-items: center;
	pointer-events: auto;
	flex-direction: column;
	justify-content: center;
	background-color: var(--groupcolordark);
}

.side-button:before {
	top: 0;
	width: 0;
	height: 0;
	left: -25px;
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 40px 25px 40px 0;
	border-color: transparent var(--groupcolordark) transparent transparent;
}

.side-button p {
	margin: 0;
	line-height: 1;
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	font-style: normal;
	color: rgb(255, 255, 255);
	text-transform: uppercase;
	font-family: var(--secondaryfont);
}

html[lang="en-GB"] .side-button p {
	font-size: 20px;
}

.side-button:hover,
.side-button:focus {
	border: 0;
	outline: 0;
	background-color: var(--groupcolorlight);
}

.side-button:hover:before,
.side-button:focus:before {
	border-color: transparent var(--groupcolorlight) transparent transparent;
}

.side-button-content {
	width: 250px;
	padding: 15px;
	position: relative;
	text-align: center;
	pointer-events: auto;
	color: rgb( 255, 255, 255);
	--link: rgb(255, 255, 255);
	--titlecolor: rgb(255, 255, 255);
	--linkvisited: rgb(255, 255, 255);
	--linkhover: rgb(255, 255, 255);
	--linkfocus: rgb(255, 255, 255);
	background-image: radial-gradient(circle, var(--groupcolorlight) 0%, var(--groupcolordark) 75%, var(--groupcolordark) 100%);
}

.side-button-content a {
	text-decoration: none;
}

.side-button-content a:hover {
	text-decoration: underline;
}

.side-button-content h4 {
	margin: 0;
	line-height: 1;
}

.side-button-content p {
	font-size: 22px;
	margin: 0.5em 0;
	font-weight: 700;
	line-height: 1.2;
	font-family: var(--secondaryfont);
}

.side-button-content p:last-of-type {
	margin-bottom: 0;
}

.close-menu {
	top: 10px;
	margin: 0;
	right: 10px;
	width: 25px;
	height: 25px;
	font-size: 18px;
	font-weight: 800;
	line-height: 25px;
	position: absolute;
	border-radius: 50%;
	color: var(--groupcolorlight);
	background-color: rgb(255, 255, 255);
}

.close-menu:hover,
.close-menu:visited,
.close-menu:focus {
	color: var(--groupcolorlight);
	text-decoration: none !important;
}

/*--------------------------------------------------------------
## News
--------------------------------------------------------------*/
.news-page {
	display: flex;
	margin: 50px 0;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}

.news-content {
	width: 65%;
	padding-right: 25px;
}

.news-content .entry-content > *:not(.alignfull):not(.alignwide) {
  width: 100%;
  max-width: 100%;
}

.news-latest {
	width: 35%;
	padding-left: 25px;
	border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.news-latest-item {
	padding: 10px 5px;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.news-latest-item:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.news-latest-item h5 {
	margin: 0 0 5px 0;
}

.news-latest-item p {
	margin: 0;
	color: rgb(0, 0, 0);
}

.news-latest-item a {
	display: block;
	text-decoration: none;
}

.news-latest-item a:hover {
	text-decoration: underline;
}

.news-latest-item a:hover p {
	color: var(--lightred);
}

.all-news {
	font-size: 22px;
	font-weight: 800;
	text-indent: -1px;
	letter-spacing: -1px;
	text-decoration: none;
}

.archive-news-links {
	margin: 50px 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-contacts {
	width: 100%;
	margin-bottom: 50px;
}

.footer-contacts-text {
	width: 100%;
	text-align: center;
	margin-bottom: 50px;
	color: var(--darkred);
}

.footer-contacts-text p {
	line-height: 1;
	font-size: 36px;
	margin: 0.1em 0;
	font-weight: 300;
	font-family: var(--secondaryfont);
}

.footer-contacts-text a {
	text-decoration: none;
}

.footer-contacts-text a:hover {
	text-decoration: underline;
}

.footer-contact-blocks {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
}

.footer-contact-block {
	width: 25%;
	padding: 25px;
	text-align: center;
	color: var(--darkred);
	border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-contact-block:nth-of-type(4n+1) {
	border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-contact-block h5 {
	margin: 0;
}

.footer-contact-block p:first-of-type {
	margin-top: 0;
}

.footer-contact-block p:last-of-type {
	margin-bottom: 0;
}

.footer-some {
	width: 100%;
	display: flex;
	margin-bottom: 50px;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.footer-some svg {
	margin: 0;
	width: 60px;
	height: 60px;
	display: block;
	fill: var(--darkred);
}

.footer-some a:hover svg {
	fill: var(--lightred);
}

.footer-some a:not(:first-of-type) {
	margin-left: 20px;
}

.site-footer {
	width: 100%;
	text-align: center;
	padding: 0 0 50px 0;
	color: var(--footertext);
	background-color: var(--darkred);
	margin-bottom: var(--sitepadding);
	background-image: url('images/peura-trans-roadmap.svg'), radial-gradient(circle, var(--lightred) 0%, var(--darkred) 75%, var(--darkred) 100%);
	background-repeat: repeat, no-repeat;
	background-size: 750px 750px, cover;
	--link: rgb(255, 255, 255);
	--linkvisited: rgb(255, 255, 255);
	--linkhover: rgb(255, 255, 255);
	--linkfocus: rgb(255, 255, 255);
}

.site-footer .site-wrapper {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: flex-start;
}

.site-footer img {
	height: 150px;
}

.site-footer p {
	margin: 1.5em 0 0 0;
}

.site-footer a {
	color: var(--footertext);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Popup
--------------------------------------------------------------*/
.site-popup-overlay {
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	z-index: 10000;
	position: fixed;
	cursor: pointer;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.5);
}

.site-popup-overlay.hidden {
	display: none;
}

.site-popup {
	display: flex;
	position: relative;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
}

.site-popup p {
	margin: 0;
	z-index: 10001;
	line-height: 1;
	position: relative;
}

p.popup-upper {
	font-size: 1.5vw;
	text-transform: uppercase;
}

p.popup-lower {
	font-size: 3.5vw;
	font-weight: 800;
	font-style: italic;
	text-indent: -0.3vw;
	letter-spacing: -0.3vw;
}

.site-popup a {
	width: 20vw;
	display: flex;
	position: relative;
	align-items: center;
	margin-left: -2.85vw;
	text-decoration: none;
	flex-direction: column;
	justify-content: center;
}

.site-popup a svg {
	width: 100%;
	height: auto;
	z-index: 10000;
	display: block;
	position: absolute;
	fill: rgb(255, 255, 255);
}

.site-popup a:nth-of-type(even) svg {
	fill: var(--darkred);
}

.site-popup a:nth-of-type(even) p {
	color: rgb(255, 255, 255);
}

.site-popup a:hover svg,
.site-popup a:focus svg {
	fill: var(--lightred);
}

.site-popup a:hover p,
.site-popup a:focus p {
	color: rgb(255, 255, 255);
}

.site-popup a:focus {
	outline: 0;
}

.close-popup {
	top: -3vw;
	margin: 0;
	right: 1vw;
	padding: 0;
	flex: none;
	width: 40px;
	height: 40px;
	z-index: 10002;
	font-size: 22px;
	font-weight: 800;
	line-height: 40px;
	position: absolute;
	border-radius: 50%;
	font-style: normal;
	color: var(--darkred);
	text-decoration: none;
	background-color: rgb(255, 255, 255);
}

.close-popup:hover,
.close-popup:visited,
.close-popup:focus {
	color: rgb(255, 255, 255);
	background-color: var(--darkred);
}

/*--------------------------------------------------------------
# Transportation forms
--------------------------------------------------------------*/
.transport-admin-space {
	width: 100%;
	margin: 75px 0;
}

.transport-admin-form-area,
.transport-admin-row-area {
	width: 100%;
	margin: 0 auto;
	max-width: 850px;
}

.transport-admin-url,
.transport-admin-url:visited {
	font-weight: 700;
	padding: 5px 10px;
	text-decoration: none;
	color: rgb(255, 255, 255);
	background-color: var(--darkred);
}

.transport-admin-url:hover,
.transport-admin-url:focus {
	color: rgb(255, 255, 255);
	background-color: var(--lightred);
}

.transport-admin-space h4 {
	margin: 25px 0 10px 0;
}

.transport-admin-form {
	width: 100%;
}

.transport-admin-form .acf-form-submit {
	padding: 0 12px;
}

.transport-admin-form .acf-button-group label.selected,
.transport-admin-form .acf-button-group label.selected:hover {
  color: rgb(255, 255, 255);
	border-color: var(--darkred);
	background: var(--lightred);
}


.transport-admin-form .acf-button-group label:hover {
  color: var(--lightred);
  background: rgb(255, 255, 255);
  border-color: var(--darkred);
}

.transport-admin-row {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.transport-admin-row a {
	margin-top: 5px;
	text-decoration: none;
}

.transport-admin-row a:hover {
	text-decoration: underline;
}

.transport-admin-row a:first-of-type {
	margin-top: 0;
}

/*--------------------------------------------------------------
# Transportation page
--------------------------------------------------------------*/
.transports-page {
	width: 100%;
	display: flex;
	margin: 75px 0;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}

.transports-column {
	width: 70%;
	padding-right: 25px;
}

.past-title {
	color: var(--darkgray);
}

.transports-filters {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: row;
	margin-bottom: 50px;
	justify-content: flex-start;
}

.transports-filters svg {
	height: 50px;
	margin-right: 25px;
}

.transports-filters-links {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: flex-start;
}

.transports-filters-links a {
	line-height: 1;
	font-size: 20px;
	padding: 10px 20px;
	color: rgb(0, 0, 0);
	text-decoration: none;
	border-right: 1px solid rgb(0, 0, 0, 0.2);
}

.transports-filters-links a.selected {
	color: var(--darkred);
}

.transports-filters-links a:hover,
.transports-filters-links a:focus:not(:hover) {
	color: var(--lightred);
}

.transports-filters-links a:focus:not(:hover) {
	outline-offset: 0;
	outline: 3px solid var(--lightred);
}

.transports-filters-links a:last-of-type {
	border-right: 0;
}

.transports-blocks {
	width: 100%;
	margin-top: 25px;
}

.transports-blocks.past {
	opacity: 0.3;
}

.transports-block {
	width: 100%;
	display: flex;
	margin-top: 25px;
	flex-direction: row;
	align-items: stretch;
	justify-content: flex-start;
}

.transports-block:first-of-type {
	margin-top: 0;
}

.transports-date-block {
	width: 15%;
	padding-right: 25px;
}

.transports-date {
	padding: 15px 0;
	text-align: center;
	transform: skewX(-10deg);
	background-color: var(--darkred);
}

.transports-blocks.past .transports-date {
	background-color: var(--darkgray);
}

.transports-date p {
	margin: 0;
	line-height: 1;
	font-size: 16px;
  font-weight: 800;
  font-style: italic;
	transform: skewX(10deg);
	color: rgb(255, 255, 255);
  font-family: var(--mainfont);
}

.transports-content-block {
	width: 50%;
	padding-right: 25px;
}

.transports-content-block h5 {
	margin: 0;
	line-height: 1;
	color: var(--darkgray);
}

.transports-content-block h6 {
	width: 100%;
	display: flex;
	line-height: 1;
	margin-top: 5px;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}

.transports-content-block h6 span {
	margin: 0;
	width: 70%;
}

.transports-content-block h6 span:first-of-type {
	width: 30%;
}

.transports-blocks.past .transports-content-block h6 {
	color: var(--darkgray);
}

.transports-content-rows {
	width: 100%;
	margin: 20px 0;
}

.transports-content-row {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}

.transports-content-row p {
	margin: 0;
	width: 70%;
}

.transports-content-row p:first-of-type {
	width: 30%;
}

.transports-contact-block {
	width: 35%;
	display: flex;
	padding: 0 25px;
	text-align: center;
	align-items: center;
	flex-direction: column;
	justify-content: flex-start;
	border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.transports-contact-block h6 {
	margin: 0;
	line-height: 1;
	color: var(--darkgray);
}

.transports-blocks.past .transports-contact-block h5 {
	color: var(--darkgray);
}

.transports-contact-img {
  height: 0;
  width: 70%;
	margin: 20px 0;
  position: relative;
  padding-bottom: 70%;
	background-color: rgba(0, 0, 0, 0.2);
}

.transports-contact-img img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.transports-contact-block p {
	margin: 0;
	line-height: 1.5;
}

.transports-contact-block p a {
	text-decoration: none;
}

.transports-newsletter-block {
	padding: 50px 25px;
	display: flex;
	margin: 50px 0;
	align-items: center;
	flex-direction: row;
	color: rgb(255, 255, 255);
	justify-content: flex-start;
	background-color: var(--darkred);
}

.transports-newsletter-block-title,
.transports-newsletter-block-form {
	width: 33.33%;
	padding-right: 35px;
}

.transports-newsletter-block-title h4 {
	line-height: 1.1;
	color: rgb(255, 255, 255);
}

.transports-newsletter-block-form {
	--darkgray: rgb(40, 40, 40);
}

#mc_embed_signup {
	width: 100%;
}

.transports-newsletter-block-form input[type="email"],
.transports-newsletter-block-form input[type="text"] {
	color: rgb(255, 255, 255);
	background-color: var(--darkgray);
	border: 1px solid var(--darkgray);
}

.transports-newsletter-block-form input[type="email"]:focus,
.transports-newsletter-block-form input[type="text"]:focus,
.transports-newsletter-block-form input[type="email"]:hover,
.transports-newsletter-block-form input[type="text"]:hover {
	border: 1px solid rgb(255, 255, 255);
}

.transports-newsletter-block-form .mc-field-group.input-group ul li label {
	font-size: 16px;
}

.transports-newsletter-block-form .mc-field-group.input-group ul li label span:before {
	background-color: var(--darkgray);
	border: 1px solid var(--darkgray);
}

.transports-newsletter-block-form .mc-field-group.input-group ul li label:hover input ~ span:before,
.transports-newsletter-block-form .mc-field-group.input-group ul li label input:focus ~ span:before {
	border: 1px solid rgb(255, 255, 255);
}

.transports-newsletter-block-form .mc-field-group.input-group ul li label:hover input ~ span:before,
.transports-newsletter-block-form .mc-field-group.input-group ul li label input:focus ~ span:before {
	border: 1px solid rgb(255, 255, 255);
}

.transports-newsletter-block-form .mc-field-group.input-group ul li label input:checked ~ span:before {
	background-color: var(--darkgray);
}

.transports-newsletter-block-form .mc-field-group.input-group ul li label span:after {
	color: rgb(255, 255, 255);
}

.transports-newsletter-block-form .transports-newsletter-block-form input[type="submit"] {
	border: 0;
	padding: 0;
	background: none;
}

.transports-newsletter-block-form .transports-newsletter-block-form input[type="submit"]:hover {
	color: var(--lightgray);
}

.transports-newsletter-block-form .transports-newsletter-block-form input[type="submit"]:active,
.transports-newsletter-block-form .transports-newsletter-block-form input[type="submit"]:focus {
	outline: 3px solid rgb(255, 255, 255);
}

.transports-newsletter-block-text {
	width: 33.33%;
}

.transports-newsletter-block-text h6 {
	margin-top: 0;
	color: rgb(255, 255, 255);
}

.transports-newsletter-block-text p {
	font-size: 14px;
	margin-bottom: 0;
}

.newsletter-column {
	width: 30%;
	padding-left: 25px;
}

.newsletter-column-content {
	width: 100%;
	display: flex;
	text-align: center;
	align-items: center;
	flex-direction: column;
	justify-content: flex-start;
	padding: 50px 15px 15px 15px;
	background-color: rgb(246, 247, 248);
}

.newsletter-column-content h5 {
	line-height: 1.1;
	margin: 0 0 15px 0;
}

.newsletter-column-content span.gray  {
	color: var(--darkgray);
}

p.sub-heading {
	font-size: 20px;
	font-style: italic;
	margin: 0 0 15px 0;
}

p.bottom-text {
	margin: 0;
	font-size: 14px;
	text-align: left;
}

.newsletter-column-form {
	width: 100%;
	display: flex;
	text-align: left;
	max-width: 280px;
	margin: 0 0 15px 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.newsletter-column-form .wpcf7 form {
	margin: 0;
}

.newsletter-column-form .wpcf7-list-item {
	margin: 0;
}

.newsletter-column-form input[type="submit"] {
	width: 100%;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Responsive 1550px - 1451px
--------------------------------------------------------------*/
@media screen and (max-width: 1550px) and (min-width: 1451px) {
	html[lang="en-GB"] #main-menu li a,
	html[lang="en-GB"] #main-menu li a:visited {
		font-size: 16px;
	}

}

/*--------------------------------------------------------------
## Responsive 1450px - 1025px
--------------------------------------------------------------*/
@media screen and (max-width: 1450px) and (min-width: 1025px) {

	:root {
		--sitepadding: 35px;
		--sitepaddingnegative: -35px;
	}

	h1,
	.site-footer h6,
	.hero-area-content h6 {
		font-size: 75px;
		text-indent: -3px;
		letter-spacing: -3px;
	}

	h2 {
		font-size: 65px;
		text-indent: -3px;
		letter-spacing: -3px;
	}

	h3 {
		font-size: 50px;
		text-indent: -2px;
		letter-spacing: -2px;
	}

	h4 {
		font-size: 38px;
		text-indent: -2px;
		letter-spacing: -2px;
	}

	h5 {
		font-size: 28px;
	}

	h6 {
		font-size: 22px;
	}

	span.name-highlight {
		font-size: 36px;
		text-indent: -2px;
		letter-spacing: -2px;
	}

	p.subtitle {
		font-size: 40px;
	}

	.site-header {
		background-size: 650px 650px, cover;
	}

	.site-header.dark {
		background-size: 650px 650px;
	}

	.site-header .site-wrapper {
		flex-direction: row;
		justify-content: center;
	}

	.custom-logo-link {
		width: 150px;
	}

	.main-navigation {
	  margin: 20px 0 60px 0;
	}

	#nav-button {
		display: none;
	}

	#main-menu {
		flex-direction: row;
		align-items: center;
	}

	#main-menu li {
		margin-right: 10px;
		padding-right: 10px;
		border-right: 2px solid rgb(255, 255, 255);
	}

	#main-menu li.mobile-only {
		display: none;
	}

	#main-menu li a,
	#main-menu li a:visited {
		font-size: 16px;
	}

	html[lang="en-GB"] #main-menu li a,
	html[lang="en-GB"] #main-menu li a:visited {
		font-size: 14px;
	}

	#main-menu li:after {
		bottom: -15px;
		width: calc(100% + 16px);
	}

	#main-menu li:last-of-type:after {
		width: 100%;
	}

	#main-menu li.current-menu-item a:after {
		height: 20px;
		bottom: -34px;
		transform: translateX(-8px);
	}

	#main-menu li.current-menu-item:after {
		bottom: -15px;
		width: calc(50% - 52px);
	}

	#main-menu li.current-menu-item:before {
		right: -16px;
		bottom: -15px;
		width: calc(50% - 20px);
	}

	#main-menu li:last-of-type.current-menu-item a:after {
		transform: translateX(0px);
	}

	#main-menu li:last-of-type.current-menu-item:after {
		width: calc(50% - 45px);
	}

	#main-menu li:last-of-type.current-menu-item:before {
		width: calc(50% - 45px);
	}

	@media screen and (max-width: 1175px) and (min-width: 1025px) {

		.custom-logo-link {
			width: 125px;
		}

		#main-menu li {
			margin-right: 8px;
			padding-right: 8px;
		}

		#main-menu li a,
		#main-menu li a:visited {
			font-size: 14px;
		}

		html[lang="en-GB"] #main-menu li a,
		html[lang="en-GB"] #main-menu li a:visited {
			font-size: 12px;
		}

	}

	.lang-nav {
		top: -5px;
		width: 70px;
		height: 56px;
	}

	.lang-nav ul {
		margin: 0 0 10px 0;
	}

	.lang-nav li:not(:first-of-type) {
		margin-left: 5px;
		padding-left: 5px;
	}

	.lang-nav li a,
	.lang-nav li a:visited {
		font-size: 16px;
	}

	.hero-area {
		min-height: 650px;
		max-height: 850px;
		margin-top: var(--sitepadding);
		height: calc(100vh - 2 * var(--sitepadding));
	}

	.hero-area-foreground img {
		height: 70%;
		max-height: 500px;
	}

	.hero-area-foreground img.left {
		transform: translateX(-30%);
	}

	.hero-area-foreground img.right {
		transform: translateX(30%);
	}

	.hero-area-background {
		-webkit-mask-size: 85% 85%;
		mask-size: 85% 85%;
	}

	.hero-area-content .site-wrapper {
		flex-direction: row;
	}

	.hero-area-content img {
		max-height: 125px;
		margin-right: 35px;
		transform: translateY(var(--sitepaddingnegative));
	}

	.wp-block-spacer {
		height: 35px !important;
	}

	.wp-block-columns {
		margin: 35px 0;
	}

	.wp-block-column:not(:last-of-type) {
		border-right: 1px solid rgba(0, 0, 0, 0.2);
	}

	.has-medium-font-size {
		font-size: 22px;
	}

	.back-to-top {
		width: 40px;
		right: 15px;
		height: 40px;
		bottom: 15px;
		border-radius: 6px;
	}

	.back-to-top svg {
		width: 20px;
		height: 20px;
	}

	.not-found {
		margin: 75px 0;
	}

	.side-buttons {
		top: 40vh;
		transform: translateX(90px);
	}

	.side-button-group {
		height: 60px;
		transform: translateX(225px);
	}

	.side-button {
		width: 70px;
		height: 60px;
	}

	.side-button:before {
		left: -20px;
		border-width: 30px 20px 30px 0;
	}

	.side-button p {
		font-size: 18px;
	}

	html[lang="en-GB"] .side-button p {
		font-size: 14px;
	}

	.side-button-content {
		width: 225px;
		padding: 10px;
	}

	.side-button-content p {
		font-size: 20px;
	}

	.news-page,
	.archive-news-links {
		margin: 50px 0;
	}

	.news-content {
		width: 65%;
		padding-right: 25px;
	}

	.news-latest {
		width: 35%;
		padding-left: 25px;
		border-left: 1px solid rgba(0, 0, 0, 0.2);
	}

	.all-news {
		font-size: 20px;
		text-indent: -1px;
		letter-spacing: -1px;
	}

	.footer-contacts,
	.footer-contacts-text.
	.footer-some {
		margin-bottom: 50px;
	}

	.footer-contacts-text p {
		font-size: 36px;
	}

	.footer-contact-block {
		width: 33.333%;
		padding: 25px;
		border-right: 1px solid rgba(0, 0, 0, 0.2);
	}

	.footer-contact-block:nth-of-type(4n+1) {
		border-left: 0;
	}

	.footer-contact-block:nth-of-type(3n+1) {
		border-left: 1px solid rgba(0, 0, 0, 0.2);
	}

	.footer-some svg {
		width: 60px;
		height: 60px;
	}

	.site-footer {
		padding: 0 0 50px 0;
		background-size: 650px 650px, cover;
	}

	.site-footer img {
		height: 150px;
	}

	.site-popup {
		flex-direction: row;
		align-items: stretch;
		justify-content: center;
	}

	p.popup-upper {
		font-size: 2.2vw;
	}

	p.popup-lower {
		font-size: 5vw;
		text-indent: -0.5vw;
		letter-spacing: -0.5vw;
	}

	.site-popup a {
		width: 30vw;
		margin-left: -4.25vw;
	}

	.site-popup a svg {
		width: 100%;
	}

	.close-popup {
		top: -3vw;
		right: 0.5vw;
		width: 40px;
		height: 40px;
		font-size: 22px;
		line-height: 40px;
	}

	.transport-admin-space {
		margin: 50px 0;
	}

	.transport-admin-space h4 {
		margin: 25px 0 10px 0;
	}

	.transport-admin-form .acf-form-submit {
		padding: 0 12px;
	}

	.transports-page {
		margin: 50px 0;
		flex-direction: row;
	}

	.transports-column {
		width: 70%;
		padding-right: 10px;
	}

	.transports-filters {
		align-items: center;
		flex-direction: row;
		margin-bottom: 50px;
	}

	.transports-filters svg {
		height: 50px;
		margin-right: 25px;
	}

	.transports-filters-links a {
		font-size: 20px;
		padding: 10px 20px;
	}

	.transports-blocks {
		margin-top: 25px;
	}

	.transports-block {
		margin-top: 25px;
		flex-direction: row;
		align-items: stretch;
	}

	.transports-date-block {
		width: 15%;
		padding-right: 25px;
	}

	.transports-date p {
		font-size: 16px;
	}

	.transports-content-block {
		width: 50%;
		padding-right: 25px;
	}

	.transports-content-rows {
		margin: 20px 0;
	}

	.transports-content-row {
		flex-direction: row;
	}

	.transports-content-row p {
		width: 70%;
	}

	.transports-content-row p:first-of-type {
		width: 30%;
	}

	.transports-contact-block {
		width: 35%;
		padding: 0 25px;
		border-left: 1px solid rgba(0, 0, 0, 0.2);
	}

	.transports-contact-img {
	  width: 70%;
		margin: 20px 0;
	  padding-bottom: 70%;
	}

	.transports-newsletter-block {
		margin: 50px 0;
		padding: 50px 25px;
		align-items: center;
		flex-direction: row;
	}

	.transports-newsletter-block-title,
	.transports-newsletter-block-form {
		width: 33.33%;
		padding-right: 35px;
	}

	.transports-newsletter-block-text {
		width: 33.33%;
	}

	.transports-newsletter-block-text p {
		font-size: 14px;
	}

	.newsletter-column {
		width: 30%;
		padding-left: 10px;
	}

	.newsletter-column-content {
		padding: 50px 15px 15px 15px;
	}

	p.sub-heading {
		font-size: 20px;
	}

	p.bottom-text {
		font-size: 14px;
	}

	.newsletter-column-form {
		max-width: 280px;
	}

	@media screen and (max-width: 1251px) and (min-width: 1025px) {

		.transports-page {
			align-items: center;
			flex-direction: column;
		}

		.transports-column {
			width: 100%;
			max-width: 800px;
			padding-right: 0;
		}

		.newsletter-column {
			width: 100%;
			padding-left: 0;
			max-width: 800px;
			margin-top: 50px;
		}

	}

}

/*--------------------------------------------------------------
## Responsive 1024px - 641px
--------------------------------------------------------------*/
@media screen and (max-width: 1024px) and (min-width: 641px) {

	:root {
		--sitepadding: 25px;
		--sitepaddingnegative: -25px;
	}

	body {
		padding-top: 50px;
	}

	h1,
	.site-footer h6,
	.hero-area-content h6 {
		font-size: 55px;
		text-indent: -3px;
		letter-spacing: -3px;
	}

	h2 {
		font-size: 45px;
		text-indent: -2px;
		letter-spacing: -2px;
	}

	h3 {
		font-size: 38px;
		text-indent: -2px;
		letter-spacing: -2px;
	}

	h4 {
		font-size: 30px;
		text-indent: -1px;
		letter-spacing: -1px;
	}

	h5 {
		font-size: 24px;
	}

	h6 {
		font-size: 20px;
	}

	span.name-highlight {
		font-size: 30px;
		text-indent: -1px;
		letter-spacing: -1px;
	}

	p.subtitle {
		font-size: 34px;
	}

	.wpcf7-radio label {
		font-size: 14px;
	}

	.entry-content > *:not(.alignfull):not(.alignwide) {
	  width: 100%;
		max-width: 100%;
	}

	.site-header {
		padding: 25px 0;
		background-size: 550px 550px, cover;
	}

	.site-header.dark {
		background-size: 550px 550px;
	}

	.site-title {
		transform: translateY(0);
	}

	.site-title h1 {
		margin: 0;
	}

	.site-header .site-wrapper {
		flex-direction: row;
		justify-content: center;
	}

	.site-navigation-bar {
		top: 0;
		left: 0;
		height: 50px;
		z-index: 1000;
		position: fixed;
		transition: all 0.25s ease-in-out;
		background-color: var(--lightgray);
		-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
		box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
	}

	.site-branding {
		transform: translateY(0);
	}

	.custom-logo-link {
		width: auto;
		height: 70px;
	}

	.custom-logo {
		width: auto;
		height: 100%;
		-webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
		filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
	}

	.main-navigation {
		top: 0;
		right: 0;
		margin: 0;
		display: flex;
		position: fixed;
		flex-direction: row;
		pointer-events: none;
		align-items: flex-start;
		justify-content: flex-start;
		transform: translate(270px, 0);
		transition: all 0.25s ease-in-out;
	}

	#nav-button {
		display: block;
	}

	.navigations {
		height: 100vh;
		overflow-y: auto;
		pointer-events: auto;
		background-color: var(--darkgray);
		background-image: radial-gradient(circle, var(--lightgray) 0%, var(--darkgray) 75%, var(--darkgray) 100%);
	}

	.site-header.dark #main-menu {
		--navlink: rgb(255, 255, 255);
	}

	#main-menu {
		width: 270px;
		pointer-events: auto;
		flex-direction: column;
		align-items: flex-start;
	}

	#main-menu li {
		width: 100%;
		margin-right: 0;
		border-right: 0;
		padding-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	#main-menu li.mobile-only {
		display: block;
	}

	#main-menu li a,
	#main-menu li a:visited {
		display: block;
		font-size: 16px;
		padding: 15px 10px;
	}

	#main-menu li.current-menu-item a {
		background-color: var(--darkred);
	}

	#main-menu li a:hover,
	#main-menu li a:focus {
		text-decoration: none;
		background-color: var(--lightred);
	}

	#main-menu li:after,
	#main-menu li:before,
	#main-menu li a:after,
	#main-menu li a::before {
		display: none;
	}

	.lang-nav {
		top: auto;
		width: 100%;
		height: auto;
		margin: 50px 0 25px 0;
		background: none;
		position: relative;
	}

	.lang-nav ul {
		margin: 0;
		width: 100%;
		pointer-events: auto;
		flex-direction: column;
		align-items: flex-start;
	}

	.lang-nav li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	.lang-nav li:first-of-type {
		border-top: 1px solid rgba(255, 255, 255, 0.25);
	}

	.lang-nav li:not(:first-of-type) {
		margin-left: 0;
		border-left: 0;
		padding-left: 0;
	}

	.lang-nav li a,
	.lang-nav li a:visited {
		display: block;
		font-size: 16px;
		padding: 15px 10px;
		color: var(--navlink);
	}

	.lang-nav li a:hover,
	.lang-nav li a:focus {
		text-decoration: none;
		background-color: var(--lightred);
	}

	.lang-nav li a:focus:not(:hover)  {
		outline: 3px solid var(--navlinkfocus);
	}

	.site-header.dark .lang-nav li a,
	.site-header.dark .lang-nav li a:visited {
		color: var(--navlink);
	}

	.site-header.dark .lang-nav li a:hover,
	.site-header.dark .lang-nav li a:hover {
		color: var(--navlink);
	}

	.site-header.dark .lang-nav li a:focus:not(:hover)  {
		outline: 3px solid var(--navlinkfocus);
	}

	.hero-area {
		min-height: 450px;
		max-height: 650px;
		margin-top: var(--sitepadding);
		height: calc(100vh - 2 * var(--sitepadding));
	}

	.hero-area-foreground img {
		height: 70%;
		max-height: 400px;
	}

	.hero-area-foreground img.left {
		transform: translateX(-20%);
	}

	.hero-area-foreground img.right {
		transform: translateX(20%);
	}

	.hero-area-background {
		-webkit-mask-size: 95% 95%;
		mask-size: 95% 95%;
		-webkit-mask-position: 50% 30%;
		mask-position: 50% 30%;
	}

	.hero-area-content .site-wrapper {
		flex-direction: row;
	}

	.hero-area-content img {
		display: none;
	}

	.hero-area-content h6 {
		margin-top: 15px;
	}

	.wp-block-spacer {
		height: 25px !important;
	}

	.wp-block-columns {
		margin: 25px 0;
	}

	.wp-block-column:not(:last-of-type) {
		border-right: 1px solid rgba(0, 0, 0, 0.2);
	}

	.has-medium-font-size {
		font-size: 20px;
	}

	.not-found {
		margin: 50px 0;
	}

	.side-buttons {
		top: 35vh;
		transform: translateX(75px);
	}

	.side-button-group {
		height: 50px;
		transform: translateX(200px);
	}

	.side-button {
		width: 60px;
		height: 50px;
	}

	.side-button:before {
		left: -15px;
		border-width: 25px 15px 25px 0;
	}

	.side-button p {
		font-size: 16px;
	}

	.side-button-content {
		width: 200px;
		padding: 10px;
	}

	.side-button-content p {
		font-size: 18px;
	}

	.news-page,
	.archive-news-links {
		margin: 35px 0;
	}

	.news-page {
		flex-direction: column;
	}

	.news-content {
		width: 100%;
		padding-right: 0;
	}

	.news-latest {
		width: 100%;
		border-left: 0;
		padding-left: 0;
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid rgba(0, 0, 0, 0.2);
	}

	.all-news {
		font-size: 18px;
		text-indent: -1px;
		letter-spacing: -1px;
	}

	.footer-contacts,
	.footer-contacts-text.
	.footer-some {
		margin-bottom: 35px;
	}

	.footer-contacts-text p {
		font-size: 30px;
	}

	.footer-contact-blocks {
		justify-content: flex-start;
	}

	.footer-contact-block {
		width: 50%;
		padding: 25px;
		margin-top: 10px;
		border-right: 1px solid rgba(0, 0, 0, 0.2);
	}

	.footer-contact-block:nth-of-type(4n+1) {
		border-left: 0;
	}

	.footer-contact-block:nth-of-type(2n+1) {
		border-left: 1px solid rgba(0, 0, 0, 0.2);
	}

	.footer-contact-block:nth-of-type(-n+2) {
		margin-top: 0;
	}

	.footer-some svg {
		width: 50px;
		height: 50px;
	}

	.site-footer {
		padding: 0 0 35px 0;
		background-size: 550px 550px, cover;
	}

	.site-footer img {
		height: 125px;
	}

	.site-popup {
		flex-direction: row;
		align-items: stretch;
		justify-content: center;
	}

	p.popup-upper {
		font-size: 2.2vw;
	}

	p.popup-lower {
		font-size: 5vw;
		text-indent: -0.5vw;
		letter-spacing: -0.5vw;
	}

	.site-popup a {
		width: 33vw;
		margin-left: -4.75vw;
	}

	.site-popup a svg {
		width: 100%;
	}

	.close-popup {
		top: -4vw;
		right: 0.4vw;
		width: 30px;
		height: 30px;
		font-size: 20px;
		line-height: 30px;
	}

	.transport-admin-space {
		margin: 50px 0;
	}

	.transport-admin-space h4 {
		margin: 25px 0 10px 0;
	}

	.transport-admin-form .form-column-33 {
		width: 100% !important;
	}

	.transport-admin-form .acf-form-submit {
		padding: 0 12px;
	}

	.transports-page {
		margin: 50px 0;
		flex-direction: column;
	}

	.transports-column {
		width: 100%;
		max-width: 800px;
		padding-right: 0;
	}

	.transports-filters {
		align-items: center;
		flex-direction: row;
		margin-bottom: 25px;
	}

	.transports-filters svg {
		height: 40px;
		margin-right: 15px;
	}

	.transports-filters-links a {
		font-size: 18px;
		padding: 10px 20px;
	}

	.transports-blocks {
		margin: 25px 0;
	}

	.transports-block {
		margin-top: 25px;
		flex-wrap: wrap;
		flex-direction: row;
		align-items: stretch;
	}

	.transports-date-block {
		width: 100%;
		padding-right: 0;
		margin-bottom: 10px;
	}

	.transports-date {
		width: 125px;
	}

	.transports-date p {
		font-size: 16px;
	}

	.transports-content-block {
		width: 60%;
		padding-right: 10px;
	}

	.transports-content-rows {
		margin: 20px 0;
	}

	.transports-content-row {
		flex-direction: row;
	}

	.transports-content-row p {
		width: 70%;
	}

	.transports-content-row p:first-of-type {
		width: 30%;
	}

	.transports-contact-block {
		width: 40%;
		padding: 0 10px;
		border-left: 1px solid rgba(0, 0, 0, 0.2);
	}

	.transports-contact-img {
	  width: 70%;
		margin: 20px 0;
	  padding-bottom: 70%;
	}

	.transports-newsletter-block {
		display: none;
	}

	.newsletter-column {
		width: 100%;
		padding-left: 0;
		max-width: 800px;
		margin-top: 50px;
	}

	.newsletter-column-content {
		padding: 50px 15px 15px 15px;
	}

	p.sub-heading {
		font-size: 20px;
	}

	p.bottom-text {
		font-size: 14px;
	}

	.newsletter-column-form {
		max-width: 280px;
	}

}

/*--------------------------------------------------------------
## Responsive 640px - 300px
--------------------------------------------------------------*/
@media screen and (max-width: 640px) and (min-width: 300px) {

	:root {
		--sitepadding: 10px;
		--sitepaddingnegative: -10px;
	}

	body {
		padding-top: 50px;
	}

	h1,
	.site-footer h6,
	.hero-area-content h6 {
		font-size: 40px;
		text-indent: -3px;
		letter-spacing: -3px;
	}

	h2 {
		font-size: 32px;
		text-indent: -1px;
		letter-spacing: -1px;
	}

	h3 {
		font-size: 28px;
		text-indent: -1px;
		letter-spacing: -1px;
	}

	h4 {
		font-size: 24px;
		text-indent: 0px;
		letter-spacing: 0px;
	}

	h5 {
		font-size: 22px;
	}

	h6 {
		font-size: 18px;
	}

	span.name-highlight {
		font-size: 24px;
		text-indent: 0px;
		letter-spacing: 0px;
	}

	p.subtitle {
		font-size: 28px;
	}

	@media screen and (max-width: 350px) and (min-width: 300px) {

		h1,
		.site-footer h6,
		.hero-area-content h6 {
			font-size: 36px;
			text-indent: -2px;
			letter-spacing: -2px;
		}

		h2 {
			font-size: 28px;
			text-indent: -1px;
			letter-spacing: -1px;
		}

		h3 {
			font-size: 24px;
			text-indent: -1px;
			letter-spacing: -1px;
		}

		h4 {
			font-size: 20px;
			text-indent: 0px;
			letter-spacing: 0px;
		}

		h5 {
			font-size: 20px;
		}

		h6 {
			font-size: 18px;
		}

		span.name-highlight {
			font-size: 22px;
			text-indent: 0px;
			letter-spacing: 0px;
		}

		p.subtitle {
			font-size: 24px;
		}

	}

	.wpcf7-checkbox,
	.wpcf7-radio {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.wpcf7-checkbox .wpcf7-list-item,
	.wpcf7-radio .wpcf7-list-item {
		margin-left: 0;
		margin-top: 5px;
	}

	.wpcf7-checkbox .wpcf7-list-item:first-of-type,
	.wpcf7-radio .wpcf7-list-item:first-of-type {
		margin-top: 0;
	}


	.entry-content > *:not(.alignfull):not(.alignwide) {
	  width: 100%;
		max-width: 100%;
	}

	.site-header {
		padding: 25px 0;
		background-size: 450px 450px, cover;
	}

	.site-header.dark {
		background-size: 450px 450px;
	}

	.site-title {
		transform: translateY(0);
	}

	.site-title h1 {
		margin: 0;
	}

	.site-header .site-wrapper {
		flex-direction: row;
		justify-content: center;
	}

	.site-navigation-bar {
		top: 0;
		left: 0;
		height: 50px;
		z-index: 1000;
		position: fixed;
		transition: all 0.25s ease-in-out;
		background-color: var(--lightgray);
		-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
		box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
	}

	.site-branding {
		transform: translateY(0);
	}

	.custom-logo-link {
		width: auto;
		height: 70px;
		transition: all 0.25s ease-in-out;
	}

	.custom-logo {
		width: auto;
		height: 100%;
		-webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
		filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
	}

	.main-navigation {
		top: 0;
		right: 0;
		margin: 0;
		display: flex;
		position: fixed;
		flex-direction: row;
		pointer-events: none;
		align-items: flex-start;
		justify-content: flex-start;
		transform: translate(270px, 0);
		transition: all 0.25s ease-in-out;
	}

	#nav-button {
		display: block;
	}

	.navigations {
		height: 100vh;
		overflow-y: auto;
		pointer-events: auto;
		background-color: var(--darkgray);
		background-image: radial-gradient(circle, var(--lightgray) 0%, var(--darkgray) 75%, var(--darkgray) 100%);
	}

	.site-header.dark #main-menu {
		--navlink: rgb(255, 255, 255);
	}

	#main-menu {
		width: 270px;
		pointer-events: auto;
		flex-direction: column;
		align-items: flex-start;
	}

	#main-menu li {
		width: 100%;
		margin-right: 0;
		border-right: 0;
		padding-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	#main-menu li.mobile-only {
		display: block;
	}

	#main-menu li a,
	#main-menu li a:visited {
		display: block;
		font-size: 16px;
		padding: 15px 10px;
	}

	#main-menu li.current-menu-item a {
		background-color: var(--darkred);
	}

	#main-menu li a:hover,
	#main-menu li a:focus {
		text-decoration: none;
		background-color: var(--lightred);
	}

	#main-menu li:after,
	#main-menu li:before,
	#main-menu li a:after,
	#main-menu li a::before {
		display: none;
	}

	.lang-nav {
		top: auto;
		width: 100%;
		height: auto;
		margin: 50px 0 25px 0;
		background: none;
		position: relative;
	}

	.lang-nav ul {
		margin: 0;
		width: 100%;
		pointer-events: auto;
		flex-direction: column;
		align-items: flex-start;
	}

	.lang-nav li {
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	.lang-nav li:first-of-type {
		border-top: 1px solid rgba(255, 255, 255, 0.25);
	}

	.lang-nav li:not(:first-of-type) {
		margin-left: 0;
		border-left: 0;
		padding-left: 0;
	}

	.lang-nav li a,
	.lang-nav li a:visited {
		display: block;
		font-size: 16px;
		padding: 15px 10px;
		color: var(--navlink);
	}

	.lang-nav li a:hover,
	.lang-nav li a:focus {
		text-decoration: none;
		background-color: var(--lightred);
	}

	.lang-nav li a:focus:not(:hover)  {
		outline: 3px solid var(--navlinkfocus);
	}

	.site-header.dark .lang-nav li a,
	.site-header.dark .lang-nav li a:visited {
		color: var(--navlink);
	}

	.site-header.dark .lang-nav li a:hover,
	.site-header.dark .lang-nav li a:hover {
		color: var(--navlink);
	}

	.site-header.dark .lang-nav li a:focus:not(:hover)  {
		outline: 3px solid var(--navlinkfocus);
	}

	.hero-area {
		min-height: 300px;
		max-height: 420px;
		margin-top: var(--sitepadding);
		height: calc(100vh - 2 * var(--sitepadding));
	}

	.hero-area-foreground img {
		height: 60%;
		max-height: 300px;
	}

	.hero-area-foreground img.left {
		transform: translateX(-20%);
	}

	.hero-area-foreground img.right {
		transform: translateX(20%);
	}

	.hero-area-background {
		-webkit-mask-size: 95% 95%;
		mask-size: 95% 95%;
		-webkit-mask-position: 50% 30%;
		mask-position: 50% 30%;
	}

	.hero-area-content .site-wrapper {
		flex-direction: row;
	}

	.hero-area-content img {
		display: none;
	}

	.hero-area-content h6 {
		margin-top: 15px;
	}

	.wp-block-spacer {
		height: 25px !important;
	}

	.wp-block-columns {
		margin: 25px 0;
	}

	.wp-block-column:not(:last-of-type) {
		border-right: 0;
	}

	.has-medium-font-size {
		font-size: 18px;
	}

	.not-found {
		margin: 50px 0;
	}

	.side-buttons {
		top: 35vh;
		transform: translateX(75px);
	}

	.side-button-group {
		height: 50px;
		transform: translateX(200px);
	}

	.side-button {
		width: 60px;
		height: 50px;
	}

	.side-button:before {
		left: -15px;
		border-width: 25px 15px 25px 0;
	}

	.side-button p {
		font-size: 16px;
	}

	.side-button-content {
		width: 200px;
		padding: 10px;
	}

	.side-button-content p {
		font-size: 18px;
	}

	.news-page,
	.archive-news-links {
		margin: 35px 0;
	}

	.news-page {
		flex-direction: column;
	}

	.news-content {
		width: 100%;
		padding-right: 0;
	}

	.news-latest {
		width: 100%;
		border-left: 0;
		padding-left: 0;
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid rgba(0, 0, 0, 0.2);
	}

	.all-news {
		font-size: 18px;
		text-indent: -1px;
		letter-spacing: -1px;
	}

	.footer-contacts,
	.footer-contacts-text.
	.footer-some {
		margin-bottom: 25px;
	}

	.footer-contacts-text p {
		font-size: 24px;
	}

	.footer-contact-block {
		width: 90%;
		margin: 0 5%;
		padding: 20px;
		border-left: 0;
		border-right: 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	}

	.footer-contact-block:nth-of-type(4n+1) {
		border-left: 0;
	}

	.footer-contact-block:last-of-type {
		border-bottom: 0;
	}

	.footer-some svg {
		width: 50px;
		height: 50px;
	}

	.site-footer {
		padding: 0 0 25px 0;
		background-size: 450px 450px, cover;
	}

	.site-footer img {
		height: 100px;
	}

	.site-footer p {
		font-size: 13px;
	}

	.site-popup {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	p.popup-upper {
		font-size: 20px;
	}

	p.popup-lower {
		font-size: 30px;
		text-indent: -2px;
		letter-spacing: -2px;
	}

	.site-popup a {
		width: auto;
		height: 150px;
		margin-left: 0;
	}

	.site-popup a svg {
		width: auto;
		height: 100%;
	}

	.close-popup {
		order: 1;
    top: -15px;
		width: 30px;
    right: -50px;
		height: 30px;
		font-size: 20px;
		line-height: 30px;
	}

	.transport-admin-space {
		margin: 35px 0;
	}

	.transport-admin-space h4 {
		margin: 25px 0 10px 0;
	}

	.transport-admin-row a {
		font-size: 15px;
	}

	.transport-admin-form .form-column-33 {
		width: 100% !important;
	}

	.transport-admin-form .acf-form-submit {
		padding: 0 12px;
	}

	.transports-page {
		margin: 35px 0;
		flex-direction: column;
	}

	.transports-column {
		width: 100%;
		max-width: 800px;
		padding-right: 0;
	}

	.transports-filters {
	}

	.transports-filters svg {
		height: 40px;
		margin-right: 10px;
	}

	.transports-filters-links a {
		font-size: 16px;
		padding: 5px 10px;
	}

	@media screen and (max-width: 375px) and (min-width: 300px) {

		.transports-filters {
			align-items: center;
			margin-bottom: 25px;
			flex-direction: column;
		}

		.transports-filters svg {
			height: 40px;
			margin-right: 0;
			margin-bottom: 10px;
		}

		.transports-filters-links a {
			font-size: 16px;
			padding: 5px 10px;
		}

	}

	.transports-blocks {
		margin: 25px 0;
	}

	.transports-block {
		margin-top: 25px;
		flex-direction: column;
		align-items: flex-start;
	}

	.transports-date-block {
		width: 100%;
		padding-right: 0;
		margin-bottom: 10px;
	}

	.transports-date {
		width: 125px;
	}

	.transports-date p {
		font-size: 16px;
	}

	.transports-content-block {
		width: 100%;
		padding: 10px 0;
	}

	.transports-content-rows {
		margin: 20px 0;
	}

	.transports-content-row {
		flex-direction: row;
	}

	.transports-content-row p {
		width: 70%;
	}

	.transports-content-row p:first-of-type {
		width: 30%;
	}

	.transports-contact-block {
		width: 100%;
		border-left:0;
		padding: 10px 0;
		border-top: 1px solid rgba(0, 0, 0, 0.2);
	}

	.transports-contact-img {
	  width: 40%;
		margin: 20px 0;
	  padding-bottom: 40%;
	}

	@media screen and (max-width: 375px) and (min-width: 300px) {

		.transports-contact-img {
		  width: 70%;
			margin: 20px 0;
		  padding-bottom: 70%;
		}

	}

	.transports-newsletter-block {
		display: none;
	}

	.newsletter-column {
		width: 100%;
		padding-left: 0;
		max-width: 800px;
		margin-top: 50px;
	}

	.newsletter-column-content {
		padding: 50px 15px 15px 15px;
	}

	p.sub-heading {
		font-size: 20px;
	}

	p.bottom-text {
		font-size: 14px;
	}

	.newsletter-column-form {
		max-width: 280px;
	}

}
