/*!
Theme Name: ferto-hansag-kiosk
Theme URI: http://underscores.me/
Author: Effix-Marketing Kft.
Author URI: http://effix.hu
Description: Template for ferto-hansag-kiosk.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ferto-hansag-kiosk
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.

ferto-hansag-kiosk 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.
 */
@font-face {
    font-family: Roboto;
    src: url('fonts/Roboto-Regular.ttf');
    font-display: block;
}

:root {
    --site-green: #2D8D56;
    --site-grey: #b0b0b0;
    --site-red: #2D8D56;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

* {
    touch-action: pan-y;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
    opacity: 1;
    transition: all 0.1s ease-out;
}
body.fade-out {
    opacity: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
    pointer-events: 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;
    font-size: 18px;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: Roboto;
    font-size: 1rem;
    line-height: 1.5;
}

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

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

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

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

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

.main-navigation ul ul a {
    width: 200px;
}

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

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

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

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

    .menu-toggle {
        display: none;
    }

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

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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

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

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

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

.post,
.page {

}

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

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

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

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

.bypostauthor {
    display: block;
}

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

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

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

html { /* WINDOWS 10 KIOSK MODON MÜKÖDIK LOL.*/
    touch-action: none;
}

.map-layer-controls button,
.map-layer-controls-button {
    text-decoration: none;
    color: black !important;
    background-color: white;
    padding: 0.5rem 1rem;
    border: 2px solid var(--site-grey);
    border-radius: 3rem;
    margin: 4px;
    display: inline-block;
}
.map-layer-controls-button.selected {
    background-color: var(--site-green) !important;
    color: white !important;;
}
.map-layer-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    touch-action: pan-y;
    position: relative;
    height: 100%;
}

.map-layer-controls > .features-container {
    margin-left: 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 200ms ease-in;
}

.map-layer-controls a {
    position: relative;
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 0.5rem 1rem 0.5rem 50px;
    border: 4px solid var(--site-grey);
    border-radius: 3rem;
    margin: 6px;
    transition: all 200ms ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}

.map-layer-controls a::before {
    content: "";
    background: url("images/fhnp_kioszk_elemek_icon-08-b.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: var(--site-grey);
    border-radius: 50%;
    transition: all 200ms ease-in-out;
    position: absolute;
    left: -2px;
    top: 0;
    height: 100%;
    width: 40px;
}

.map-layer-controls a.selected {
    border-color: var(--site-green);
    color: black;
}

.map-layer-controls a.selected::before {
    background-color: var(--site-green);
}

/* override for single page maps. */

.map-layer-controls.page-map-layer-controls  a {
    margin: 2px 10px;
    border-width: 2px;
}
.map-layer-controls.page-map-layer-controls {
    font-size: 14px;
}
.map-layer-controls.page-map-layer-controls button, .map-layer-controls.page-map-layer-controls .map-layer-controls-button {
    font-size: 12px;
}

#features {
    margin-top: 20px;
}

#features button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: 0;
    margin: 3px;
}

/* fp-bottom-section */
.fp-bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessibility-container {
    /* margin-right: 200px; */
}

/* language container */
.current-lang {
    border-color: var(--site-green) !important;
}

.language-container,
.accessibility-container {
    display: flex;
    padding: 10px;
    align-items: center;
}

.language-container div {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.language-container a,
.accessibility-container a {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    margin: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.aside-accessibility-button,
.aside-language-container a,
.home-button {
    display: block;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    margin: 10px;
}

/* fp menu */
#primary-menu {
    list-style-type: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px;

}

#primary-menu .menu-item a {
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 100px;
    background-color: white;
    border: 4px solid var(--site-green);
    padding: 0rem 2rem 0rem 7rem;
    height: 110px;
    display: flex;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    transition: transform 0.3s ease;
}

@keyframes enlarge {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Apply animation on hover */
#primary-menu .menu-item a:focus {
    animation: enlarge 0.5s forwards;
}

#primary-menu .menu-item a::after {
    content: "";
    position: absolute;
    height: 100%;
    left: -2px;
    top: 0;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: var(--site-green);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#primary-menu .menu-item:nth-child(1) a::after {
    background-image: url("images/fhnp_kioszk_elemek_icon-01-b.png");
}

#primary-menu .menu-item:nth-child(2) a::after {
    background-image: url("images/fhnp_kioszk_elemek_icon-02-b.png");
}

#primary-menu .menu-item:nth-child(3) a::after {
    background-image: url("images/fhnp_kioszk_elemek_icon-03-b.png");
}

#primary-menu .menu-item:nth-child(4) a::after {
    background-image: url("images/fhnp_kioszk_elemek_icon-07-b.png");
}

#primary-menu .menu-item:nth-child(5) a::after {
    background-image: url("images/fhnp_kioszk_elemek_icon-04-b.png");
}

#primary-menu .menu-item:nth-child(6) a::after {
    background-image: url("images/fhnp_kioszk_elemek_icon-05-b.png");
}

#primary-menu .menu-item:nth-child(7) a::after {
    background-image: url("images/fhnp_kioszk_elemek_icon-06-b.png");
}

.site-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 4px solid var(--site-green);
    cursor: pointer;
}

.site-button-active {

}

.site-button.selected {
    background-color: var(--site-green);
    color: white;
}

.site
a {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a, button {
    -webkit-tap-highlight-color: transparent; /* For iOS Safari */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* For other browsers */
}

.home-button {
    background-color: var(--site-green);
}

.aside-container .home-button {
    margin-bottom: 30px;
}

.aside-language-container {
    margin-bottom: 30px;
}

/* front page */
a.site-button {
    display: inline-block;
    font-size: 1.4rem;
    background-color: var(--site-green);
    color: white;
    text-decoration: none;
    border-radius: 2rem;
    padding: 0.5rem 2rem;
}

.blog-card .site-button {
    margin-top: 2rem;
}


.front-page-wrapper,
.page-wrapper {

    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(221, 229, 252, 0.5) 50%, rgba(220, 228, 251, 0) 100%), url("images/fp-bg-image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    padding: 80px;
    padding-bottom: 0;
    height: 100vh
}

.page-wrapper {
    padding-right: 40px;
}

.fp-info-overlay, .info-overlay {
    width: 100%;
    height: 100%;
    display: flex;
}
/* single pages */
.single-page {
    height: 100%;
    width: 100%;
    padding: 60px 100px;
    touch-action: pan-y;
    overflow-y: auto;
}
/* programs */
.program-card {
    display: flex;
    margin-bottom: 40px;
}
.program-card-image {

    flex: 2;
    width: 0;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}
.program-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    width: 0;
    padding-left: 40px;
}
.program-card-container {

}
/* map pages */
.single-page-with-map {
    display: flex;
    height: 100%;
}

.single-page-with-map > div {
    padding: 10px;
    flex: 1;
}

.single-page-with-map-content {
    touch-action: pan-y;
    position: relative;
    height: 100%;
    overflow-y: auto;
    font-size: 1.2rem;
}

/* subpages */
.main-container {
    position: relative;
    background-color: white;
    border-top-left-radius: 30px;
    padding: 20px;
    flex: 1;
    margin-right: 150px;

    background-image: url("images/fhnp_kioszk_elemek_bg_a.png");
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.main-container::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -40px;
    right: 40px;
    background-image: url("images/fhnp_kioszk_elemek_ludak_zold.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.game-page .main-container::after {
    content: revert;
}

.aside-container {
    z-index: 2;
    position: relative;
    width: 120px;

    display: flex;
    flex-direction: column;
}

.top-section {
    display: flex;
}

.main-content {
    margin-top: 20px;
}

.page-title {
    color: var(--site-green);
    margin: 0;
    margin-left: 60px;
    margin-top: 2.4rem;
    font-size: 2.6rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.fp-left-container {
    box-shadow: 6px 0 6px -2px rgba(0, 0, 0, 0.25);
   z-index: 2;
    position: relative;
    background-color: white;
    flex: 2;
    border-top-left-radius: 30px;
    padding: 20px;

    background-image: url("images/fhnp_kioszk_elemek_bg_a.png");
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fp-left-container::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -40px;
    right: 40px;
    background-image: url("images/fhnp_kioszk_elemek_ludak_zold.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.fp-right-container {
    overflow: hidden;
    flex: 1;
    width: 0;
    position: relative;
    align-self: start;
    border-bottom-right-radius: 30px;
    background-color: #999999;
    z-index: 1;
}

.fp-right-container::after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -40px;
    right: 20px;
    background-image: url("images/fhnp_kioszk_elemek_ludak.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-thumbnail {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}
/* single page */
.single-blog-thumbnail {
    border-radius: 16px;
    height: auto;
    object-fit: cover;
    object-position: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

a.blog-card {
    width: 100%;
    text-decoration: none;
}

.blog-card-title {
    background-color: var(--site-green);
    padding: 1.2rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: white;
}

.blog-card-content {
    padding: 1rem 1.2rem 3rem;
    color: white;
}

img {
    display: block;
}

/* MAP */
.icon-cluster {
    width: 80px;
    height: 80px;
    line-height: 20px;
    background-size: contain;
    text-align: center;
}

.map-info-content {
    flex: 1;
    padding: 0 20px;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
    /* box-shadow: inset -11px 0px 20px #9f9f9f; */
    border-radius: 20px;
}

.map-custom-tooltip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.map-custom-tooltip a {
    line-height: 1;
    text-decoration: none;
    display: inline-block;
    border: 1px solid black;
    padding: 0.5rem 1rem;
    color: black !important;
}
.leaflet-popup-content-wrapper {
    background-image: url("images/map-info-overlay-bg.jpg") !important;
    background-size: cover !important;
    background-position: bottom center !important;
}
.feature-info-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease-in;
    z-index: 99999;
}

#feature-info-wrapper {
    overflow: auto;
}

.feature-info-container {
    background-image: url("images/map-info-overlay-bg.jpg");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    position: absolute;
    width: 60%;
    height: 60%;
    left: 20%;
    top: 20%;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.feature-info-overlay.open {
    opacity: 1;
    pointer-events: revert;
}
.feature-info-overlay.open iframe {
    display: block;
}
.webpage-overlay iframe {
    width: 100%;
    display: none;
}
.webpage-overlay {
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
}

/* Acessibility */
.accessibility-settings .selected {

}

/* fontsize */
html.acc-fontsize {
    font-size: 20px;
}

/* contrast */
html.acc-contrast {

}

html.acc-contrast .main-container,
html.acc-contrast .fp-left-container,
html.acc-contrast a {
    background-color: black !important;
}

html.acc-contrast .top-section img {
    background-color: white !important;
}

html.acc-contrast * {

    color: yellow !important;
    border-color: yellow !important;
}
html.acc-contrast .map-layer-controls-button,
html.acc-contrast .map-layer-controls button {
   background-color: black;
}

html.acc-contrast .leaflet-popup-content-wrapper,
html.acc-contrast .feature-info-container {
    background-image: none !important;
    background-color: black; !important;
    border: 4px solid yellow;
}

html.acc-contrast .fp-right-container {
    background-color: black;
}
html.acc-contrast * {
    --site-green : #0a3b1f;
}

/* speech */
html.acc-speech p,
html.acc-speech h1,
html.acc-speech h2,
html.acc-speech h3,
html.acc-speech h4,
html.acc-speech h5,
html.acc-speech .speech {
    position: relative;
    display: inline-block;
    margin-right: 60px;
}

html.acc-speech p::after,
html.acc-speech h1::after,
html.acc-speech h2::after,
html.acc-speech h3::after,
html.acc-speech h4::after,
html.acc-speech h5::after,
html.acc-speech .speech::after {
    content: "";
    position: absolute;
    background-image: url("images/fhnp_kioszk_elemek_audio_button-a.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: -10px;
    right: -2.4rem;
    width: 30px;
    height: 30px;
    z-index: 1;
}

p, h1, h2, h3, h4, h5, h6 {
    position: relative;

}

html {
    overflow: hidden;
}

/* swiper */

.swiper-pagination-bullet-active {
    background-color: #2D8D56 !important;
}

.swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
}

.swiper-slide {
    height: revert !important;
}
/* single page map links */
.single-page-with-map-content a,
.single-page .program-card a {
    display: inline-block;
    border-radius: 6px;
    padding: 0 6px;
    padding-right: 30px;
    text-decoration: none;
    position: relative;
    background-color: #2D8D56;
    color: #fff;
}
.single-page-with-map-content a::after,
.single-page .program-card a::after{
    content: "";
    width: 20px;
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 4px;
    background-image: url("images/map-pin.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* overlay */
.overlay-view-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.overlay-view-container h1 {
    margin-top: 0;
}

.overlay-view-content-container {
    display: flex;
    width: 100%;
}
.overlay-view-content-container img {
    width: 100%;
}
.overlay-view-content-container p {
    margin-top: 6px;
    font-style: italic;
    text-align: center;
}
.overlay-view-content-container > * {
    flex: 1;
}
.overlay-services-container {
    padding: 0 20px;
}
.overlay-services-container h2 {
    margin-top: 0;
    display: inline-block;
}
/* loading overlay */

.loading-overlay {
    z-index: 9999999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: all 0.5s ease-out 1.2s;
}
.loading-overlay-hidden {
    opacity: 0;
    pointer-events: none;
}
.loading-logo {
    height: 150px;
    width: auto;
    animation: pulse 2s ease-in-out infinite, fadeIn 0.5s ease-in-out forwards;
}
@keyframes pulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* open webpage button */
.open-webpage {
    display: flex;
    color: black !important;
    text-decoration: none;
    align-items: center;
    text-transform: uppercase;
    line-height: 1.1;
}
.open-webpage img {
    margin-right: 6px;
    width: 40px;
    height: 40px;
}
figcaption {
    margin-top: 6px !important;
    font-style: italic;
    line-height: 1.1;
}
/* qr */
.layer-qr-container {
    width: 250px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 4px solid var(--site-green);
    border-radius: 20px;
    position: absolute;
    background-color: white;
    right: calc(100% + 10px);
    top: 0;
}
.layer-qr-label {
    text-align: center;
    margin: 0;
    line-height: 1.1;
    margin-bottom: 10px;
}
.layer-qr-image {
    width: 200px;
    height: 200px;
}