/* 1. LAYOUT
 * ========================================================================== */
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  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
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px;
}

/**
 * 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
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 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 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit;
}

/**
 * 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 style in Android 4.3-.
 */
dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000;
}

/**
 * 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
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 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;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button; /* 2 */
}

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

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

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

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
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 and cancel buttons in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-cancel-button,
[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 IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none;
}

/*------------------------------------*\
    HELPERS-INDEX
\*------------------------------------*/
/*------------------------------------*\
    VARIABLES
\*------------------------------------*/
:root {
  /* 1. BRAND */
  --color-primary: rgb(116, 176, 215);
  --color-secondary: rgb(238, 116, 62);
  --color-sins: rgb(255, 255, 255);
  --color-default: #ff767d;
  --color-gemeinschaft: #e2ba82;
  --color-mobilitaet: #72bbd4;
  --color-glauben: #acbdcf;
  --color-raum-menschen: #fab300;
  --color-schule-bildung: #f8c2c0;
  --color-gewerbe: #9fa37f;
  --color-gesundheit-alter: #8ac8a0;
  --color-landwirtschaft: #c5d113;
  --color-industrie: #f7e210;
  --color-focus: var(--color-default);
  --color-white: rgb(255, 255, 255);
  --color-grey-light: rgb(236, 236, 236);
  --color-grey: rgb(204, 204, 205);
  --color-black: rgb(22, 22, 22);
  --color-font: rgb(22, 22, 22);
  --color-link: var(--color-sins);
  /* 2. FONTS & TYPO */
  --font-family-primary: "Stanley", serif;
  --font-family-secondary: "Chamelton", serif;
  --font-size-base: 1rem;
  --font-size-intro: 1.25rem;
  --font-size-small: 0.75rem;
  --font-size-x-small: 0.675rem;
  --font-size-header: 1.55rem;
  --basic-line-height: 1.275;
  --tight-line-height: 1.275;
  /* 3. Z-LEVEL */
  --z-level-1: 1001;
  --z-level-2: 2001;
  --z-level-3: 3001;
  --z-level-4: 4001;
  --z-level-5: 5001;
  --z-level-6: 6001;
  --z-level-7: 7001;
  /* 4. MARGINS & PADDINGS */
  --box-padding-default: 0.9125rem;
  --box-padding-filter: var(--box-padding-default);
  --button-margin: 0.325rem;
  --item-bottom-margin: 0.75rem;
  --window-indent: 25%;
  --scrollbar-space: 0.5rem;
  /* 5. BORDER-RADIUS & WIDTH */
  --border-radius-default: 0.75rem;
  --border-radius-button: 1.5rem;
  --border-width-big: 4px;
}

@media only screen and (min-width: 1600px) {
  :root {
    --font-size-small: 0.75rem;
    --font-size-x-small: 0.65rem;
  }
}
/*------------------------------------*\
    HELPERS-INDEX
\*------------------------------------*/
/*------------------------------------*\
    MIXINS
\*------------------------------------*/
/* HIDE SCROLLBAR */
/*------------------------------------*\
    MEDIA-QUERY MIXINX
\*------------------------------------*/
/*------------------------------------*\
    1. DEFAULT BOX-SIZING
\*------------------------------------*/
*, *:before, *:after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/*------------------------------------*\
    2. BASE
\*------------------------------------*/
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* hide scrollbar */
  height: 100%;
}
html::-webkit-scrollbar {
  display: none;
}

body {
  display: flex;
  height: 100%;
}

#main-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0 0.75rem;
  width: 100%;
}
#main-wrapper main {
  flex: 1 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
@media only screen and (min-width: 1180px) {
  #main-wrapper main {
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* hide scrollbar */
    flex-direction: row;
    flex: 1 1 100%;
    height: 100%;
    overflow: auto;
  }
  #main-wrapper main::-webkit-scrollbar {
    display: none;
  }
}

/*------------------------------------*\
    1. FONTS
\*------------------------------------*/
@font-face {
  font-family: "Stanley";
  src: url("../fonts/Stanley-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Stanley";
  src: url("../fonts/Stanley-Bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal; /* or omit this line, as normal is the default */
}
@font-face {
  font-family: "Chamelton";
  src: url("../fonts/Chamelton10-Bd.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}
/*------------------------------------*\
    1. BASIC TYPO
\*------------------------------------*/
html {
  color: var(--color-font);
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 4vw;
}
@media only screen and (min-width: 768px) {
  html {
    font-size: 2.25vw;
  }
}
@media only screen and (min-width: 1024px) {
  html {
    font-size: 1.65vw;
  }
}
@media only screen and (min-width: 1180px) {
  html {
    font-size: 1.425vw;
  }
}

body {
  color: var(--color-font);
  font-size: var(--font-size-base);
  line-height: var(--basic-line-height);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*------------------------------------*\
    2. PARAGRAPH
\*------------------------------------*/
p {
  margin: 0;
  padding: 0 0 0.75rem;
}

strong, b {
  font-weight: 600;
}

sup {
  font-size: 0.5rem;
  padding-left: 0.125rem;
  top: -0.35rem;
}

em {
  background-color: var(--color-grey-light);
  font-style: normal;
}

/*------------------------------------*\
    3. TITLE
\*------------------------------------*/
h1, .title-h1, h2, .title-h2, h3, .title-h3, h4, .title-h4, h5, .title-h5 {
  font-family: var(--font-family-secondary);
  font-size: 1.25rem;
  line-height: 1.05;
  margin: 0 0 0.5rem;
  padding: 0;
}

a h1, a h2, a h3, a h4, a h5 {
  text-decoration: none;
}
a h1:hover, a h1:focus, a h2:hover, a h2:focus, a h3:hover, a h3:focus, a h4:hover, a h4:focus, a h5:hover, a h5:focus {
  color: var(--color-font);
}

h1, .title-h1 {
  font-size: 1.25rem;
  font-weight: 300;
  margin: 0 0 0;
  text-transform: uppercase;
}

h2, .title-h2 {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 1rem 0 0.325rem;
}

h3, .title-h3 {
  font-size: 1.125rem;
  font-weight: 300;
  margin: 1rem 0 0.325rem;
}

h4, .title-h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 1rem 0 0.325rem;
}

/*------------------------------------*\
    4. LINKS
\*------------------------------------*/
a {
  color: var(--color-black);
  text-decoration: underline;
  outline: none;
}

/*------------------------------------*\
    5. BUTTONS
\*------------------------------------*/
button,
.button {
  background-color: var(--color-grey-light);
  border-radius: var(--border-radius-button);
  border: none;
  box-shadow: none;
  color: var(--color-black);
  display: inline-block;
  line-height: 1;
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 0.365rem 0.5rem;
  outline: none;
  text-decoration: none;
  /* COLOR-STYLES */
  /* COLOR-SIZE */
}
button:hover, button:focus,
.button:hover,
.button:focus {
  cursor: pointer;
  outline: none;
}
button.active,
.button.active {
  background-color: var(--color-default);
}
button.button-red,
.button.button-red {
  background-color: var(--color-default);
}
button.button-red:hover, button.button-red:focus,
.button.button-red:hover,
.button.button-red:focus {
  color: var(--color-white);
}
button.button-next,
.button.button-next {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-family-primary);
}
button.button-next:hover, button.button-next.focus,
.button.button-next:hover,
.button.button-next.focus {
  background-color: var(--color-white);
  color: var(--color-black);
}
button.button-next.inactive,
.button.button-next.inactive {
  background-color: var(--color-grey);
  pointer-events: none;
}
button.button-big,
.button.button-big {
  border-radius: var(--border-radius-default);
  font-family: var(--font-family-secondary);
  padding: 0.65rem 0.875rem 0.65rem;
}

/*------------------------------------*\
    6. LISTS
\*------------------------------------*/
ol, ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#content-wrapper ul {
  list-style-type: square;
  margin-left: 1rem;
}
#content-wrapper ol {
  list-style-type: decimal;
  margin-left: 1rem;
  padding-left: 1.25rem;
}
#content-wrapper ol li {
  margin-bottom: 0.5rem;
}
#content-wrapper ol li:last-child {
  margin-bottom: 0;
}

/*------------------------------------*\
    7. HELPERS
\*------------------------------------*/
.no-margin-bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}

.no-margin-top {
  margin-top: 0;
  padding-top: 0;
}

.no-underline {
  text-decoration: none !important;
}

/*------------------------------------*\
    1. ICONS
    1.1 REMOVE ICON / CLOSE ICON
    1.2 ARRO LONG
\*------------------------------------*/
/* 1.1 REMOVE ICON / CLOSE ICON (X) */
.remove-icon,
.close-icon {
  background-image: url("../img/icons/x-icon.svg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  display: inline-block;
  height: 1.425rem;
  width: 1.425rem;
}
.remove-icon:hover, .remove-icon:focus,
.close-icon:hover,
.close-icon:focus {
  cursor: pointer;
}

/* 1.1 ARROW LONG */
.arrow-long {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  display: inline-block;
  height: 1.325rem;
  width: 1.35rem;
}
.arrow-long.arrow-right {
  background-image: url("../img/icons/arrow-long-right.svg");
}
.arrow-long.arrow-left {
  background-image: url("../img/icons/arrow-long-left.svg");
}

/*------------------------------------*\
    1. IMAGES & FIGURE
\*------------------------------------*/
img {
  width: 100%;
  max-width: 100% !important;
  height: auto;
}

figure {
  max-width: 100%;
  margin: 0;
  padding: 0.75rem 0 1rem;
}
figure figcaption {
  display: inline-block;
  padding: 0.55rem 0;
  text-transform: uppercase;
  text-align: right;
  font-weight: 500;
  width: 100%;
}

/*------------------------------------*\
    1. IFRAME
\*------------------------------------*/
iframe {
  max-width: 100%;
}

/*------------------------------------*\
    1. FORMS
\*------------------------------------*/
form {
  position: relative;
  --form-check-size: 0.875rem;
}
form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

input {
  line-height: normal;
  max-width: 100%;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=tel],
input[type=number],
input[type=file],
input[type=date],
textarea {
  background-color: var(--color-grey-light);
  border: 1px solid transparent !important;
  border-bottom: 3px solid var(--color-black) !important;
  box-shadow: none !important;
  color: var(--color-font);
  display: block;
  font-size: var(--font-size-base);
  font-family: var(--font-family-primary);
  font-weight: 600;
  margin-bottom: 0.625rem;
  padding: 0.425rem 0.5rem;
  text-align: left;
  transition: all 0.55s ease;
  width: 100%;
  -webkit-appearance: none;
}
input[type=text]:active, input[type=text]:focus,
input[type=email]:active,
input[type=email]:focus,
input[type=url]:active,
input[type=url]:focus,
input[type=password]:active,
input[type=password]:focus,
input[type=search]:active,
input[type=search]:focus,
input[type=tel]:active,
input[type=tel]:focus,
input[type=number]:active,
input[type=number]:focus,
input[type=file]:active,
input[type=file]:focus,
input[type=date]:active,
input[type=date]:focus,
textarea:active,
textarea:focus {
  border: 1px solid var(--color-mobilitaet) !important;
  border-bottom: 3px solid var(--color-mobilitaet) !important;
  outline: none !important;
}

label {
  display: block;
  margin-bottom: 0.25rem;
}
label sup {
  top: 0;
}

select {
  background-color: var(--color-grey-light);
  background-image: url("../img/icons/select-arrow.svg");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 0.65rem;
  border: 0;
  border-radius: 1rem;
  box-shadow: none;
  color: var(--color-black);
  display: block;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 0.625rem;
  padding: 0.25rem 1.5rem 0.25rem 0.5rem;
  transition: all 0.55s ease;
  appearance: none;
}

.radio-group {
  margin-bottom: 0.25rem;
}
.radio-group .radio-label {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.radio-group .radio-label input {
  display: none;
}
.radio-group .radio-label span::before {
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: var(--form-check-size);
  width: var(--form-check-size);
  margin-right: 0.25rem;
}
.radio-group .radio-label input:checked + ::before {
  background-color: var(--color-black);
}

textarea {
  font-family: var(--color-font);
  font-family: var(--font-family-primary);
  height: 6.75rem;
}

input[type=file] {
  background-color: transparent;
  border-bottom: 0 !important;
  font-size: var(--font-size-base);
  margin: 0 0 0.5rem;
  padding: 0;
}
input[type=file]::file-selector-button {
  background-color: var(--color-grey-light);
  border: 1px solid transparent !important;
  border-radius: 1rem;
  cursor: pointer;
  font-family: var(--font-family-primary);
  font-weight: 600 !important;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  -webkit-appearance: none;
}

.file-upload-error {
  font-size: var(--font-size-small);
  margin-bottom: 0.5rem;
}

input[type=checkbox] {
  border: 1px solid var(--color-black);
  border-bottom: 3px solid var(--color-black);
  height: 0.875rem;
  width: 0.875rem;
}

.checkbox-button-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.625rem;
}
.checkbox-button-group .checkbox-button {
  margin-bottom: 0.25rem;
}
.checkbox-button-group .checkbox-button:last-child {
  margin-bottom: 0;
}
.checkbox-button-group .checkbox-button input {
  display: none;
}
.checkbox-button-group .checkbox-button input:checked + span {
  background-color: var(--color-black);
  color: var(--color-white);
}

.checkbox-label {
  cursor: pointer;
  margin-bottom: 0.625rem;
}
.checkbox-label input {
  display: none;
}
.checkbox-label span {
  display: inline-block;
  padding-left: 1.25rem;
  position: relative;
}
.checkbox-label span::before {
  background-color: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 0;
  content: "";
  display: inline-block;
  height: var(--form-check-size);
  width: var(--form-check-size);
  margin-right: 0.25rem;
  position: absolute;
  left: 0;
  top: 0.25rem;
}
.checkbox-label input:checked + span::before {
  background-color: var(--color-black);
  color: var(--color-white);
}

input[type=submit] {
  background-color: var(--color-black);
  border-radius: 0.5rem;
  border: 2px solid var(--color-black);
  box-shadow: 0;
  color: rgb(255, 255, 255);
  font-weight: 600 !important;
  font-size: var(--font-size-base);
  font-family: var(--font-family-primary);
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  padding: 0.5rem 1rem;
  transition: all 0.55s ease;
  width: auto;
  -webkit-appearance: none;
}
input[type=submit]:hover, input[type=submit].focus {
  background-color: var(--color-white);
  color: var(--color-black);
}
input[type=submit].inactive {
  background-color: var(--color-grey-light);
  border-color: var(--color-grey-light);
  color: var(--color-black);
  pointer-events: none;
}

/* SUBMIT WRAPPER - button right and "pflichtfelder" left */
.submit-wrapper {
  display: flex;
}

/* PLACEHOLDER */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: var(--font-size-small);
  line-height: 0.85;
}

::-moz-placeholder { /* Firefox 19+ */
  font-size: var(--font-size-small);
  line-height: 0.85;
}

:-ms-input-placeholder { /* IE 10+ */
  font-size: var(--font-size-small);
  line-height: 0.85;
}

:-moz-placeholder { /* Firefox 18- */
  font-size: var(--font-size-small);
  line-height: 0.85;
}

/*------------------------------------*\
    1. LINE
\*------------------------------------*/
hr {
  background: var(--color-default);
  border: none;
  margin: 4rem auto 4.75rem;
  height: 1px;
  width: 75%;
}

/*------------------------------------*\
    1. SCROLLBAR
\*------------------------------------*/
@supports (scrollbar-color: auto) {
  * {
    scrollbar-color: black #ffffff;
    scrollbar-width: thin;
  }
}
@supports selector(::-webkit-scrollbar) {
  *::-webkit-scrollbar-track {
    background: black; /* Track color */
  }
  *::-webkit-scrollbar-thumb {
    background: black; /* Scrollbar color */
    border-radius: 0px; /* Optional: rounded corners */
  }
}
/*------------------------------------*\
    1. FOCUS-STYLES
    1.1 BODY
    1.2 BUTTONS
    1.3 DOT
    1.4 MARKER-WINDOW
    1.5 IMAGE-WINDOW
    2. MAP-VIEW STYLES (SATELLITE OR MAP)
    2.1 DOTS
\*------------------------------------*/
/* 1.1 BODY */
body {
  /* SINGLE SELECTION OF FOCUS */
}
body.focus-gemeinschaft {
  --color-focus: var(--color-gemeinschaft);
}
body.focus-mobilitaet {
  --color-focus: var(--color-mobilitaet);
}
body.focus-glauben {
  --color-focus: var(--color-glauben);
}
body.focus-raum-und-menschen {
  --color-focus: var(--color-raum-menschen);
}
body.focus-schule-bildung {
  --color-focus: var(--color-schule-bildung);
}
body.focus-gewerbe {
  --color-focus: var(--color-gewerbe);
}
body.focus-gesundheit {
  --color-focus: var(--color-gesundheit-alter);
}
body.focus-landwirtschaft {
  --color-focus: var(--color-landwirtschaft);
}
body.focus-industrie {
  --color-focus: var(--color-industrie);
}

/* 1.2 BUTTONS */
button.focus-gemeinschaft, .button.focus-gemeinschaft {
  background-color: var(--color-gemeinschaft);
}
button.focus-mobilitaet, .button.focus-mobilitaet {
  background-color: var(--color-mobilitaet);
}
button.focus-glauben, .button.focus-glauben {
  background-color: var(--color-glauben);
}
button.focus-raum-und-menschen, .button.focus-raum-und-menschen {
  background-color: var(--color-raum-menschen);
}
button.focus-schule-bildung, .button.focus-schule-bildung {
  background-color: var(--color-schule-bildung);
}
button.focus-gewerbe, .button.focus-gewerbe {
  background-color: var(--color-gewerbe);
}
button.focus-gesundheit, .button.focus-gesundheit {
  background-color: var(--color-gesundheit-alter);
}
button.focus-landwirtschaft, .button.focus-landwirtschaft {
  background-color: var(--color-landwirtschaft);
}
button.focus-industrie, .button.focus-industrie {
  background-color: var(--color-industrie);
}

/* 1.3 DOTS */
.focus-multiple #map .dot {
  /* FOCUS */
  /* MAIN-FOCUS */
}
.focus-multiple #map .dot[data-focus~=focus-gemeinschaft] {
  border-color: var(--color-gemeinschaft);
}
.focus-multiple #map .dot[data-focus~=focus-gemeinschaft].active {
  background-color: var(--color-gemeinschaft);
}
.focus-multiple #map .dot[data-focus~=focus-mobilitaet] {
  border-color: var(--color-mobilitaet);
}
.focus-multiple #map .dot[data-focus~=focus-mobilitaet].active {
  background-color: var(--color-mobilitaet);
}
.focus-multiple #map .dot[data-focus~=focus-glauben] {
  border-color: var(--color-glauben);
}
.focus-multiple #map .dot[data-focus~=focus-glauben].active {
  background-color: var(--color-glauben);
}
.focus-multiple #map .dot[data-focus~=focus-raum-und-menschen] {
  border-color: var(--color-raum-menschen);
}
.focus-multiple #map .dot[data-focus~=focus-raum-und-menschen].active {
  background-color: var(--color-raum-menschen);
}
.focus-multiple #map .dot[data-focus~=focus-schule-bildung] {
  border-color: var(--color-schule-bildung);
}
.focus-multiple #map .dot[data-focus~=focus-schule-bildung].active {
  background-color: var(--color-schule-bildung);
}
.focus-multiple #map .dot[data-focus~=focus-gewerbe] {
  border-color: var(--color-gewerbe);
}
.focus-multiple #map .dot[data-focus~=focus-gewerbe].active {
  background-color: var(--color-gewerbe);
}
.focus-multiple #map .dot[data-focus~=focus-gesundheit] {
  border-color: var(--color-gesundheit-alter);
}
.focus-multiple #map .dot[data-focus~=focus-gesundheit].active {
  background-color: var(--color-gesundheit-alter);
}
.focus-multiple #map .dot[data-focus~=focus-landwirtschaft] {
  border-color: var(--color-landwirtschaft);
}
.focus-multiple #map .dot[data-focus~=focus-landwirtschaft].active {
  background-color: var(--color-landwirtschaft);
}
.focus-multiple #map .dot[data-focus~=focus-industrie] {
  border-color: var(--color-industrie);
}
.focus-multiple #map .dot[data-focus~=focus-industrie].active {
  background-color: var(--color-industrie);
}
.focus-multiple #map .dot[data-main-focus=focus-gemeinschaft] {
  border-color: var(--color-gemeinschaft);
}
.focus-multiple #map .dot[data-main-focus=focus-gemeinschaft].active {
  background-color: var(--color-gemeinschaft);
}
.focus-multiple #map .dot[data-main-focus=focus-mobilitaet] {
  border-color: var(--color-mobilitaet);
}
.focus-multiple #map .dot[data-main-focus=focus-mobilitaet].active {
  background-color: var(--color-mobilitaet);
}
.focus-multiple #map .dot[data-main-focus=focus-glauben] {
  border-color: var(--color-glauben);
}
.focus-multiple #map .dot[data-main-focus=focus-glauben].active {
  background-color: var(--color-glauben);
}
.focus-multiple #map .dot[data-main-focus=focus-raum-und-menschen] {
  border-color: var(--color-raum-menschen);
}
.focus-multiple #map .dot[data-main-focus=focus-raum-und-menschen].active {
  background-color: var(--color-raum-menschen);
}
.focus-multiple #map .dot[data-main-focus=focus-schule-bildung] {
  border-color: var(--color-schule-bildung);
}
.focus-multiple #map .dot[data-main-focus=focus-schule-bildung].active {
  background-color: var(--color-schule-bildung);
}
.focus-multiple #map .dot[data-main-focus=focus-gewerbe] {
  border-color: var(--color-gewerbe);
}
.focus-multiple #map .dot[data-main-focus=focus-gewerbe].active {
  background-color: var(--color-gewerbe);
}
.focus-multiple #map .dot[data-main-focus=focus-gesundheit] {
  border-color: var(--color-gesundheit-alter);
}
.focus-multiple #map .dot[data-main-focus=focus-gesundheit].active {
  background-color: var(--color-gesundheit-alter);
}
.focus-multiple #map .dot[data-main-focus=focus-landwirtschaft] {
  border-color: var(--color-landwirtschaft);
}
.focus-multiple #map .dot[data-main-focus=focus-landwirtschaft].active {
  background-color: var(--color-landwirtschaft);
}
.focus-multiple #map .dot[data-main-focus=focus-industrie] {
  border-color: var(--color-industrie);
}
.focus-multiple #map .dot[data-main-focus=focus-industrie].active {
  background-color: var(--color-industrie);
}

/* 1.4. MARKER-WINDOW (MAP-VIEW) */
#marker-window[data-focus~=focus-gemeinschaft] .focus-indicator,
#marker-window[data-focus~=focus-gemeinschaft] #marker-meta {
  background-color: var(--color-gemeinschaft);
}
#marker-window[data-focus~=focus-mobilitaet] .focus-indicator,
#marker-window[data-focus~=focus-mobilitaet] #marker-meta {
  background-color: var(--color-mobilitaet);
}
#marker-window[data-focus~=focus-glauben] .focus-indicator,
#marker-window[data-focus~=focus-glauben] #marker-meta {
  background-color: var(--color-glauben);
}
#marker-window[data-focus~=focus-raum-und-menschen] .focus-indicator,
#marker-window[data-focus~=focus-raum-und-menschen] #marker-meta {
  background-color: var(--color-raum-menschen);
}
#marker-window[data-focus~=focus-schule-bildung] .focus-indicator,
#marker-window[data-focus~=focus-schule-bildung] #marker-meta {
  background-color: var(--color-schule-bildung);
}
#marker-window[data-focus~=focus-gewerbe] .focus-indicator,
#marker-window[data-focus~=focus-gewerbe] #marker-meta {
  background-color: var(--color-gewerbe);
}
#marker-window[data-focus~=focus-gesundheit] .focus-indicator,
#marker-window[data-focus~=focus-gesundheit] #marker-meta {
  background-color: var(--color-gesundheit-alter);
}
#marker-window[data-focus~=focus-landwirtschaft] .focus-indicator,
#marker-window[data-focus~=focus-landwirtschaft] #marker-meta {
  background-color: var(--color-landwirtschaft);
}
#marker-window[data-focus~=focus-industrie] .focus-indicator,
#marker-window[data-focus~=focus-industrie] #marker-meta {
  background-color: var(--color-industrie);
}

/* 1.5 IMAGE-WINDOW (IMAGE-VIEW) */
#image-window[data-focus~=focus-gemeinschaft] .focus-indicator,
#image-window[data-focus~=focus-gemeinschaft] #image-meta {
  background-color: var(--color-gemeinschaft);
}
#image-window[data-focus~=focus-mobilitaet] .focus-indicator,
#image-window[data-focus~=focus-mobilitaet] #image-meta {
  background-color: var(--color-mobilitaet);
}
#image-window[data-focus~=focus-glauben] .focus-indicator,
#image-window[data-focus~=focus-glauben] #image-meta {
  background-color: var(--color-glauben);
}
#image-window[data-focus~=focus-raum-und-menschen] .focus-indicator,
#image-window[data-focus~=focus-raum-und-menschen] #image-meta {
  background-color: var(--color-raum-menschen);
}
#image-window[data-focus~=focus-schule-bildung] .focus-indicator,
#image-window[data-focus~=focus-schule-bildung] #image-meta {
  background-color: var(--color-schule-bildung);
}
#image-window[data-focus~=focus-gewerbe] .focus-indicator,
#image-window[data-focus~=focus-gewerbe] #image-meta {
  background-color: var(--color-gewerbe);
}
#image-window[data-focus~=focus-gesundheit] .focus-indicator,
#image-window[data-focus~=focus-gesundheit] #image-meta {
  background-color: var(--color-gesundheit-alter);
}
#image-window[data-focus~=focus-landwirtschaft] .focus-indicator,
#image-window[data-focus~=focus-landwirtschaft] #image-meta {
  background-color: var(--color-landwirtschaft);
}
#image-window[data-focus~=focus-industrie] .focus-indicator,
#image-window[data-focus~=focus-industrie] #image-meta {
  background-color: var(--color-industrie);
}

/* 5. IMAGE-GRID */
#images #image-grid .image {
  /* FOCUS */
  /* MAIN-FOCUS */
}
#images #image-grid .image[data-focus~=focus-gemeinschaft] {
  border-color: var(--color-gemeinschaft);
}
#images #image-grid .image[data-focus~=focus-mobilitaet] {
  border-color: var(--color-mobilitaet);
}
#images #image-grid .image[data-focus~=focus-glauben] {
  border-color: var(--color-glauben);
}
#images #image-grid .image[data-focus~=focus-raum-und-menschen] {
  border-color: var(--color-raum-menschen);
}
#images #image-grid .image[data-focus~=focus-schule-bildung] {
  border-color: var(--color-schule-bildung);
}
#images #image-grid .image[data-focus~=focus-gewerbe] {
  border-color: var(--color-gewerbe);
}
#images #image-grid .image[data-focus~=focus-gesundheit] {
  border-color: var(--color-gesundheit-alter);
}
#images #image-grid .image[data-focus~=focus-landwirtschaft] {
  border-color: var(--color-landwirtschaft);
}
#images #image-grid .image[data-focus~=focus-industrie] {
  border-color: var(--color-industrie);
}
#images #image-grid .image[data-main-focus=focus-gemeinschaft] {
  border-color: var(--color-gemeinschaft);
}
#images #image-grid .image[data-main-focus=focus-mobilitaet] {
  border-color: var(--color-mobilitaet);
}
#images #image-grid .image[data-main-focus=focus-glauben] {
  border-color: var(--color-glauben);
}
#images #image-grid .image[data-main-focus=focus-raum-und-menschen] {
  border-color: var(--color-raum-menschen);
}
#images #image-grid .image[data-main-focus=focus-schule-bildung] {
  border-color: var(--color-schule-bildung);
}
#images #image-grid .image[data-main-focus=focus-gewerbe] {
  border-color: var(--color-gewerbe);
}
#images #image-grid .image[data-main-focus=focus-gesundheit] {
  border-color: var(--color-gesundheit-alter);
}
#images #image-grid .image[data-main-focus=focus-landwirtschaft] {
  border-color: var(--color-landwirtschaft);
}
#images #image-grid .image[data-main-focus=focus-industrie] {
  border-color: var(--color-industrie);
}

/* 2. MAP-VIEW STYLES (SATELLITE OR MAP) */
#map .dot[data-collection=true] {
  background-color: black !important;
  border-color: black !important;
}
#map.satellite-view .dot[data-collection=true] {
  background-color: white !important;
  border-color: white !important;
}

/* 2. VIEWS
 * ========================================================================== */
/*------------------------------------*\
    1. FRONT-PAGE
    1.1 VIEWS
    1.2 INTRO-BOX
    1.3 LOADING-EFFECT
\*------------------------------------*/
.home main {
  overflow: hidden !important;
}

/* 1.0 VIEWS */
.view-image #intro-box,
.view-map #intro-box {
  display: none;
}
.view-image #filter,
.view-map #filter {
  display: block;
}

.view-image #map,
.view-image #search-box,
.view-image #satellite-switch {
  display: none;
}
.view-image #images {
  display: block;
}
.view-image #loading-icon {
  display: none;
}

.marker-opened #marker-window {
  display: flex;
  flex-direction: column;
}
.marker-opened #intro-box {
  display: none;
}
.marker-opened #filter {
  display: none;
}
.marker-opened #map {
  flex: 0 0 0;
}
@media only screen and (max-width: 1023px) {
  .marker-opened #map {
    border: none;
  }
}
@media only screen and (min-width: 1024px) {
  .marker-opened #map {
    flex: 1 1 100%;
  }
}

.image-opened #image-window {
  display: flex;
  flex-direction: column;
}
.image-opened main #images {
  display: none;
}
.image-opened #filter {
  display: none;
}
@media only screen and (min-width: 1024px) {
  .image-opened #filter {
    display: block;
  }
}

/* 1.2 INTRO-BOX */
#intro-box {
  font-size: var(--font-size-base);
  position: absolute;
  top: var(--box-padding-default);
  right: 5%;
  width: 90%;
}
@media only screen and (min-width: 768px) {
  #intro-box {
    right: var(--box-padding-default);
    width: 50%;
  }
}
@media only screen and (min-width: 1180px) {
  #intro-box {
    width: 33.5%;
  }
}
#intro-box .text-wrapper {
  background-color: var(--color-white);
  padding: var(--box-padding-default);
}
#intro-box .text-wrapper > *:first-child {
  margin-top: 0;
  padding-top: 0;
}
#intro-box .text-wrapper > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
#intro-box .button-wrapper {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
}
#intro-box .button-wrapper button:first-child {
  margin-right: var(--box-padding-default);
}

/* 1.3 LOADING-EFFECT */
.loading-icon {
  background-color: var(--color-grey);
  height: 100px;
  width: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: pulsate 1s infinite alternate;
}
.loading-icon.loading-icon-page {
  position: fixed;
}
.loading-icon.loading-icon-image {
  position: absolute;
}

@keyframes pulsate {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}
/*------------------------------------*\
    1. VIDEOS
    1.1 VIDEO-INTRO
    1.2 VIDEO-GRID
    1.3 BIOS
\*------------------------------------*/
.page-template-videos {
  /* 1.1 VIDEO-INTRO */
  /* 1.2 VIDEO-GRID */
  /* 1.3 BIOS */
}
.page-template-videos #content-wrapper {
  width: 100%;
  max-width: none !important;
}
@media only screen and (min-width: 1024px) {
  .page-template-videos #content-wrapper {
    display: flex;
    flex-direction: row;
  }
}
@media only screen and (min-width: 1024px) {
  .page-template-videos #content-wrapper .video-wrapper {
    height: 100%;
    overflow: auto;
    width: 65%;
  }
}
@media only screen and (min-width: 1024px) {
  .page-template-videos #content-wrapper .bio-wrapper {
    height: 100%;
    overflow: auto;
    padding: 0 0 0 var(--box-padding-default);
    width: 35%;
  }
}
.page-template-videos #video-intro {
  margin-bottom: 1.5rem;
}
.page-template-videos #video-intro > *:first-child {
  margin-top: 0;
  padding-top: 0;
}
.page-template-videos #video-intro > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.page-template-videos #video-grid {
  display: grid;
  align-content: start;
  gap: var(--box-padding-default);
  height: 100%;
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .page-template-videos #video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.page-template-videos #video-grid .video-grid-item {
  display: flex;
  flex-direction: column;
}
.page-template-videos #video-grid .video-grid-item:hover, .page-template-videos #video-grid .video-grid-item:focus {
  cursor: pointer;
}
.page-template-videos #video-grid .video-grid-item .video-wrapper {
  display: none;
}
.page-template-videos #video-grid .video-grid-item .video-preview {
  line-height: 0;
}
.page-template-videos #video {
  background-color: var(--color-grey);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 9999;
}
.page-template-videos #video:hover {
  cursor: pointer;
}
.page-template-videos #video .video-inner {
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  position: relative;
  width: 90%;
}
@media only screen and (min-width: 1024px) {
  .page-template-videos #video .video-inner {
    display: flex;
    flex-direction: row;
  }
}
.page-template-videos #video .video-inner:hover {
  cursor: default;
}
.page-template-videos #video .video-inner video {
  width: 100%;
}
.page-template-videos #video .video-inner #video-close {
  position: absolute;
  right: 0;
  top: -2rem;
}
.page-template-videos .bio-wrapper .title-h1 {
  margin-top: 1rem;
}
@media only screen and (min-width: 1024px) {
  .page-template-videos .bio-wrapper .title-h1 {
    margin-top: 0;
  }
}
.page-template-videos .bio-wrapper .bio-grid {
  margin-top: 0.25rem;
}
.page-template-videos .bio-wrapper .bio-grid .bio {
  margin-bottom: 0.25rem;
}
@media only screen and (min-width: 1024px) {
  .page-template-videos .bio-wrapper .bio-grid .bio {
    font-size: var(--font-size-small);
  }
}
.page-template-videos .bio-wrapper .bio-grid .bio:last-child {
  margin-bottom: 0;
}
.page-template-videos .bio-wrapper .bio-grid .bio .bio-title {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: end;
}
.page-template-videos .bio-wrapper .bio-grid .bio .bio-title::after {
  background-image: url("../img/icons/select-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  height: 0.425rem;
  width: 0.425rem;
  display: inline-block;
  margin-left: 0.125rem;
  margin-bottom: 0.125rem;
}
.page-template-videos .bio-wrapper .bio-grid .bio .bio-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.page-template-videos .bio-wrapper .bio-grid .bio .bio-content .bio-text {
  padding-top: 0.5rem;
  padding-bottom: 0.65rem;
}
.page-template-videos .bio-wrapper .bio-grid .bio .bio-content .bio-text > *:first-child {
  margin-top: 0;
  padding-top: 0;
}
.page-template-videos .bio-wrapper .bio-grid .bio .bio-content .bio-text > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.page-template-videos .bio-wrapper .bio-grid .bio .bio-content .bio-image {
  line-height: 0;
  margin-bottom: 0.75rem;
}

/*------------------------------------*\
    1. UPLOAD
    1.1 MAP
    1.2 MEDIA FORM
    1.3 IMAGE
\*------------------------------------*/
.page-template-upload {
  /* 1.1 MAP */
  /* 1.2 MEDIA FORM */
  /* 1.3 IMAGE */
}
.page-template-upload #content-wrapper {
  background-color: var(--color-default);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: none !important;
  width: 100%;
}
@media only screen and (min-width: 1024px) {
  .page-template-upload #content-wrapper {
    flex-direction: row-reverse;
  }
}
.page-template-upload #map {
  display: none;
  height: 100%;
  position: absolute !important;
  left: 0;
  top: 0;
  right: 0%;
  bottom: 0;
  z-index: 1001;
}
@media only screen and (min-width: 1024px) {
  .page-template-upload #map {
    position: absolute;
    right: 40%;
    width: 65%;
  }
}
.page-template-upload #map.active {
  display: block;
}
.page-template-upload #map #close-map-mobile {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  z-index: 2002;
}
@media only screen and (min-width: 1024px) {
  .page-template-upload #map #close-map-mobile {
    display: none;
  }
}
.page-template-upload #media-form {
  width: 100%;
}
@media only screen and (min-width: 1024px) {
  .page-template-upload #media-form {
    width: 35%;
  }
}
.page-template-upload #image {
  background-color: var(--color-grey);
  display: block;
}
@media only screen and (min-width: 1024px) {
  .page-template-upload #image {
    width: 65%;
  }
}
.page-template-upload #image #image-preview {
  display: none;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}
@media only screen and (min-width: 1024px) {
  .page-template-upload #image #image-preview {
    display: block;
  }
}
.page-template-upload #image #image-preview.uploaded {
  display: block;
  object-fit: contain;
}

/*------------------------------------*\
    1. PAGE
\*------------------------------------*/
.page-template-default:not(.home) main,
.page-template-upload main,
.page-template-videos main {
  border-top: var(--border-width-big) solid var(--color-black);
  border-bottom: var(--border-width-big) solid var(--color-black);
  border-left: 1px solid var(--color-black);
  border-right: 1px solid var(--color-black);
}
.page-template-default:not(.home) main #content-wrapper,
.page-template-upload main #content-wrapper,
.page-template-videos main #content-wrapper {
  overflow: auto;
  padding: var(--box-padding-default);
}
.page-template-default:not(.home) main #content-wrapper.col-1,
.page-template-upload main #content-wrapper.col-1,
.page-template-videos main #content-wrapper.col-1 {
  max-width: 1040px;
}
@media only screen and (min-width: 1024px) {
  .page-template-default:not(.home) main #content-wrapper.col-2,
  .page-template-upload main #content-wrapper.col-2,
  .page-template-videos main #content-wrapper.col-2 {
    display: grid;
    gap: var(--box-padding-default);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }
}
@media only screen and (min-width: 1024px) {
  .page-template-default:not(.home) main #content-wrapper.col-2 .column,
  .page-template-upload main #content-wrapper.col-2 .column,
  .page-template-videos main #content-wrapper.col-2 .column {
    height: 100%;
    overflow: auto;
  }
  .page-template-default:not(.home) main #content-wrapper.col-2 .column > *:first-child,
  .page-template-upload main #content-wrapper.col-2 .column > *:first-child,
  .page-template-videos main #content-wrapper.col-2 .column > *:first-child {
    margin-top: 0;
    padding-top: 0;
  }
  .page-template-default:not(.home) main #content-wrapper.col-2 .column > *:last-child,
  .page-template-upload main #content-wrapper.col-2 .column > *:last-child,
  .page-template-videos main #content-wrapper.col-2 .column > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

/* 3. MODULES
 * ========================================================================== */
/*------------------------------------*\
    1. HEADER
\*------------------------------------*/
#main-header {
  font-family: var(--font-family-secondary);
  flex: 0 0 auto;
  font-size: var(--font-size-header);
}
#main-header .header-inner {
  display: flex;
  flex-direction: row;
  padding: 0.625rem 0 0.5rem;
}

#logo a {
  display: inline-block;
  text-decoration: none;
}
#logo a span {
  display: flex;
  flex-direction: column;
}

#main-navigation {
  display: none;
  margin-left: auto;
}
@media only screen and (min-width: 1180px) {
  #main-navigation {
    display: block;
  }
}
#main-navigation ul {
  display: flex;
  flex-direction: row;
}
#main-navigation ul li {
  margin-right: 2rem;
}
#main-navigation ul li:last-child {
  margin-right: 0;
}
#main-navigation ul li a {
  text-decoration: none;
}

/*------------------------------------*\
    1. FOOTER
\*------------------------------------*/
#main-footer {
  font-family: var(--font-family-secondary);
  font-size: 0.75rem;
  padding: 0.275rem 0;
}
@media only screen and (min-width: 1024px) {
  #main-footer {
    font-size: 0.5rem;
  }
}
#main-footer .footer-inner {
  display: flex;
  flex-direction: row;
}
#main-footer .footer-inner .footer-link {
  text-decoration: none;
  margin-right: 0.5rem;
}
#main-footer .footer-inner .footer-link:last-child {
  margin-right: 0;
}

/*------------------------------------*\
    1. MOBILE-NAVIGATION
    1.1 MOBILE-BUTTON
    1.2 MOBILE-NAVIGATION
\*------------------------------------*/
/* 1.1 MOBILE-BUTTON */
#mobile-button-wrapper {
  margin-left: auto;
  margin-top: 0.4125rem;
}
@media only screen and (min-width: 1180px) {
  #mobile-button-wrapper {
    display: none;
  }
}
#mobile-button-wrapper #mobile-button {
  height: 1.5rem;
  width: 2.35rem;
  position: relative;
}
#mobile-button-wrapper #mobile-button:hover, #mobile-button-wrapper #mobile-button:focus {
  cursor: pointer;
}
#mobile-button-wrapper #mobile-button span {
  background-color: var(--color-black);
  height: 0.225rem;
  width: 100%;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: left;
}
#mobile-button-wrapper #mobile-button span:nth-child(1) {
  top: 0;
}
#mobile-button-wrapper #mobile-button span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
#mobile-button-wrapper #mobile-button span:nth-child(3) {
  bottom: 0;
}
#mobile-button-wrapper #mobile-button.active span:nth-child(1) {
  transform: rotate(30deg);
  width: 112.5%;
}
#mobile-button-wrapper #mobile-button.active span:nth-child(2) {
  opacity: 0;
}
#mobile-button-wrapper #mobile-button.active span:nth-child(3) {
  transform: rotate(-30deg);
  width: 112.5%;
}

/* 1.2 MOBILE-NAVIGATION */
#mobile-navigation {
  background-color: var(--color-white);
  border-bottom: var(--border-width-big) solid var(--color-black);
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3001;
}
@media only screen and (min-width: 1180px) {
  #mobile-navigation {
    display: none;
  }
}
#mobile-navigation.opened {
  display: block;
}
#mobile-navigation ul li {
  border-top: 1px solid var(--color-black);
}
#mobile-navigation ul li a {
  color: var(--color-black);
  display: block;
  padding: 0.175rem 0;
  text-align: center;
  text-decoration: none;
}

/*------------------------------------*\
    1. MAP
    1.1 MAP VIEWS (IMAGE OR MARKER)
    1.2 MAP
    1.2.1 TOOLTIP (ADDRESS DOT)
    1.2.2 MAP SATELLITE- SWITCH
    1.3 SEARCH-BOX  
    1.4 WINDOW-BASE (MARKER & IMAGE)
    1.5 COMMENTS
\*------------------------------------*/
/* 1.1 MAP VIEWS */
.main-wrapper-map {
  display: none;
  opacity: 0;
  position: relative;
}

.map-loaded {
  opacity: 1;
}
.map-loaded .main-wrapper-map {
  opacity: 1;
}
.map-loaded #loading-icon {
  display: none;
}

/* 1.2 MAP */
#map {
  border-top: var(--border-width-big) solid var(--color-black);
  border-bottom: var(--border-width-big) solid var(--color-black);
  border-left: 1px solid var(--color-black);
  border-right: 1px solid var(--color-black);
  flex: 1 1 100%;
  /*  style for upload map */
}
#map *:not(.dot) {
  border: 0 !important;
}
#map.full-width {
  width: 100%;
}
#map .dot {
  background-color: transparent;
  border: 3px solid var(--color-focus);
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  height: 1.125rem;
  width: 1.125rem;
  pointer-events: all;
  position: relative;
}
@media only screen and (min-width: 768px) {
  #map .dot {
    height: 0.875rem;
    width: 0.875rem;
  }
}
#map .dot.active {
  background-color: var(--color-focus);
}
#map .dot .place-name {
  display: block;
  font-size: 0.35rem;
  font-weight: 500;
  pointer-events: none;
  position: absolute;
  top: 125%;
  left: 50%;
  text-align: center;
  text-shadow: -2px -2px 2px white, 2px -2px 2px white, -2px 2px 2px white, 2px 2px 2px white; /* Smooth white glow effect */
  transform: translateX(-50%);
  width: 5rem;
}
#map .dot .place-name.visible {
  display: block;
}
#map .dot:not([data-collection=true]) .place-name {
  display: none;
}
#map .dot:not([data-collection=true]).visible .place-name {
  display: block;
}
#map[data-map-type=upload] {
  border: none !important;
}
#map[data-map-type=upload].hidden {
  opacity: 0;
}
#map[data-map-type=upload] .dot.new,
#map[data-map-type=upload] .dot.selected {
  border-color: var(--color-mobilitaet);
  background-color: var(--color-mobilitaet);
}

.tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  display: none;
  z-index: 1000;
}

/* 1.2.2 MAP SATELLITE- SWITCH */
#satellite-switch {
  background-color: var(--color-black);
  border-radius: 1rem;
  color: var(--color-white);
  font-family: var(--font-family-primary);
  font-size: 1.25rem;
  padding: 0.125rem 0.5rem;
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
}
@media only screen and (min-width: 1180px) {
  #satellite-switch {
    padding: 0.125rem 0.5rem;
    left: 0.5rem;
    bottom: 0.5rem;
  }
}
@media only screen and (min-width: 1600px) {
  #satellite-switch {
    font-size: 1rem;
  }
}
#satellite-switch:hover, #satellite-switch:focus {
  cursor: pointer;
}

/* 1.3 SEARCH-BOX */
#search-box {
  display: none;
  position: absolute;
  top: var(--box-padding-default);
  left: var(--box-padding-default);
  z-index: 5;
}
@media only screen and (min-width: 1180px) {
  #search-box {
    display: flex;
    flex-direction: row;
  }
}
#search-box #search-input {
  background: var(--color-white);
  border: 2px solid var(--color-default) !important;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: var(--border-radius-default);
  border-bottom-left-radius: var(--border-radius-default);
  margin-bottom: 0;
}
#search-box #search-btn {
  border-radius: var(--border-radius-default);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* 1.4 WINDOW-BASE (MARKER & IMAGE) */
.content-window {
  background-color: var(--color-white);
  display: none;
  flex: 0 0 50%;
}
@media only screen and (min-width: 768px) {
  .content-window {
    padding: 0 0 0 var(--box-padding-default);
  }
}
.content-window .content-window-inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.content-window .content-window-inner .window-top-bar-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: var(--box-padding-default) 0;
}
.content-window .content-window-inner .window-top-bar-navigation .close {
  display: flex;
  margin-left: auto;
}
.content-window .content-window-inner .window-top-bar-navigation .close:hover, .content-window .content-window-inner .window-top-bar-navigation .close:focus {
  cursor: pointer;
}
.content-window .content-window-inner .window-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}
.content-window .content-window-inner .window-nav .marker-nav:hover, .content-window .content-window-inner .window-nav .marker-nav:focus,
.content-window .content-window-inner .window-nav .image-nav:hover,
.content-window .content-window-inner .window-nav .image-nav:focus {
  cursor: pointer;
}
.content-window .content-window-inner .window-nav .marker-nav[data-prev-id=""], .content-window .content-window-inner .window-nav .marker-nav[data-next-id=""],
.content-window .content-window-inner .window-nav .image-nav[data-prev-id=""],
.content-window .content-window-inner .window-nav .image-nav[data-next-id=""] {
  opacity: 0.25;
  pointer-events: none;
}
.content-window .content-window-inner .window-nav .focus-indicator {
  background-color: var(--color-focus);
  border-radius: 50%;
  display: inline-block;
  height: 1.575rem;
  width: 1.575rem;
  margin: 0 0.35rem;
}
.content-window .content-window-inner .window-meta {
  background-color: var(--color-focus);
  border-top: 4px solid var(--color-black);
  border-bottom: 4px solid var(--color-black);
  display: flex;
  flex-direction: row;
  padding: 0.125rem 0.5rem;
  position: relative;
}
.content-window .content-window-inner .window-meta .year {
  position: absolute;
  left: 0.5rem;
}
.content-window .content-window-inner .window-meta .year.year-not-set {
  margin-top: -0.125rem;
}
.content-window .content-window-inner .window-meta .edit-link {
  margin-left: auto;
}
.content-window .content-window-inner .image-desc {
  font-weight: 600;
  hyphens: auto;
  padding: 0.95rem 0 0.75rem;
}
.content-window .content-window-inner .copyright {
  font-size: var(--font-size-x-small);
  font-weight: 300;
  margin-top: 0.175rem;
}
.content-window .content-window-inner .copyright span {
  font-weight: 600;
}

/* 1.5 COMMENTS */
#comments {
  margin-top: 2.5rem;
}
#comments .module-title {
  margin-top: 0;
}
#comments .comments-wrapper .comment-item {
  border-radius: var(--border-radius-default);
  font-size: var(--font-size-small);
  margin-bottom: 0.5rem;
}
#comments .comments-wrapper .comment-item .comment-person {
  font-size: var(--font-size-x-small);
  font-weight: 300;
}
#comments #comment-form-wrapper .comment-form-title {
  margin-top: 1rem;
}
#comments #comment-form-wrapper #comment-form.sent {
  display: none;
}

/*------------------------------------*\
    1. MAP-VIEW
    1.1 MARKER-WINDOW  
\*------------------------------------*/
/* 1.1 MARKER-WINDOW */
#marker-window {
  --window-indent: 25%;
  height: 100%;
}
#marker-window .content-window-inner {
  border-top: var(--border-width-big) solid var(--color-black);
  border-bottom: var(--border-width-big) solid var(--color-black);
}
#marker-window .content-window-inner .marker-top-bar {
  flex-grow: 0;
  flex-shrink: 0;
}
#marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-right: 1rem;
}
@media only screen and (min-width: 768px) {
  #marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation {
    flex-wrap: nowrap;
  }
}
#marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .window-nav {
  order: 3;
  flex: 0 0 var(--window-indent);
  padding-left: 1rem;
}
@media only screen and (min-width: 768px) {
  #marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .window-nav {
    order: 1;
  }
}
#marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .comment-function-wrapper {
  display: none;
}
@media only screen and (min-width: 768px) {
  #marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .comment-function-wrapper {
    display: block;
    flex: 0 0 auto;
    margin-left: var(--button-margin);
    order: 2;
  }
}
@media only screen and (min-width: 1180px) {
  #marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .comment-function-wrapper {
    margin-left: 0;
  }
}
#marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .upload-function-wrappper {
  display: none;
}
@media only screen and (min-width: 1180px) {
  #marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .upload-function-wrappper {
    display: block;
    flex: 0 0 auto;
    margin-bottom: 0;
    margin-left: var(--button-margin);
    order: 3;
  }
}
#marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .close {
  order: 4;
  margin-left: auto;
}
@media only screen and (min-width: 768px) {
  #marker-window .content-window-inner .marker-top-bar .marker-top-bar-navigation .close {
    flex: 0 0 auto;
    order: 4;
  }
}
#marker-window .content-window-inner .marker-top-bar .window-meta {
  padding-left: var(--window-indent);
}
#marker-window .content-window-inner .marker-images-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* hide scrollbar */
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  overflow: auto;
}
#marker-window .content-window-inner .marker-images-wrapper::-webkit-scrollbar {
  display: none;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images {
  flex: 1 1 100%;
  overflow: auto;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .image {
  display: none;
  padding-bottom: 0.5rem;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .image.active {
  display: flex;
  flex-direction: column;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .image img {
  height: auto;
  width: 100%;
}
@media only screen and (min-width: 1180px) {
  #marker-window .content-window-inner .marker-images-wrapper #marker-images .image img {
    padding-left: var(--window-indent);
  }
}
@media only screen and (min-width: 1180px) {
  #marker-window .content-window-inner .marker-images-wrapper #marker-images .image .copyright {
    padding-left: var(--window-indent);
  }
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .image-desc {
  hyphens: auto;
  position: relative;
}
@media only screen and (min-width: 1180px) {
  #marker-window .content-window-inner .marker-images-wrapper #marker-images .image-desc {
    padding-left: var(--window-indent);
  }
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .image-desc > *:first-child {
  margin-top: 0;
  padding-top: 0;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .image-desc > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .image-desc .edit-link {
  display: block;
}
@media only screen and (min-width: 1180px) {
  #marker-window .content-window-inner .marker-images-wrapper #marker-images .image-desc .edit-link {
    padding-top: 0.95rem;
    position: absolute;
    left: 0;
    top: 0;
  }
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .focus-wrapper {
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images .focus-wrapper .focus {
  background-color: rgb(240, 240, 240);
  border-radius: 0.5rem;
  display: inline-block;
  font-size: 0.825rem;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  margin: 0 1rem 1rem 0;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images-navigation {
  border-top: 1px solid var(--color-black);
  display: none;
  flex: 0 0 auto;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images-navigation.active {
  display: flex;
  flex-direction: row;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images-navigation > div {
  background-size: 1.125rem;
  background-repeat: no-repeat;
  background-position: center center;
  height: 1.5rem;
  width: 50%;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images-navigation > div:hover, #marker-window .content-window-inner .marker-images-wrapper #marker-images-navigation > div:focus {
  cursor: pointer;
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images-navigation > div#marker-image-prev {
  background-image: url("../img/icons/arrow-long-left.svg");
  border-right: 1px solid var(--color-black);
}
#marker-window .content-window-inner .marker-images-wrapper #marker-images-navigation > div#marker-image-next {
  background-image: url("../img/icons/arrow-long-right.svg");
}

/*------------------------------------*\
    1. IMAGES-VIEW
    1.1 IMAGES OVERVIEW
    1.1.1 IMAGES LOADED
    1.1.2 IMAGE GRID
    1.2 IMAGE -WINDOW
\*------------------------------------*/
/* 1.1 IMAGES-OVERVIEW */
#images {
  border-top: var(--border-width-big) solid var(--color-black);
  border-bottom: var(--border-width-big) solid var(--color-black);
  display: none;
  flex: 1 1 100%;
  overflow: auto;
  position: relative;
  /* 1.1.1 IMAGE GRID */
}
@media only screen and (min-width: 768px) {
  #images {
    border-right: 1px solid var(--color-black);
  }
}
#images.loaded #image-grid .image {
  opacity: 1 !important;
}
#images.loaded #image-loading-icon {
  display: none;
}
#images #image-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: var(--box-padding-default); /* 1rem gap between rows and columns */
  height: 100%;
}
#images #image-grid::before, #images #image-grid::after {
  content: "";
  height: 1px;
  width: 100%;
}
#images #image-grid .image {
  background-color: var(--color-grey-light);
  border-bottom: 0.25rem solid var(--color-default);
  display: flex;
  justify-content: center;
  opacity: 0;
}
#images #image-grid .image:hover, #images #image-grid .image:focus {
  background-color: var(--color-grey);
  cursor: pointer;
}
#images #image-grid .image img {
  width: auto;
}
@media only screen and (min-width: 768px) {
  #images #image-grid .image img {
    height: 7.25rem;
  }
}

/* 1.2 IMAGE-WINDOW */
#image-window {
  --image-indent: 8.85rem;
  border-top: var(--border-width-big) solid var(--color-black);
  border-bottom: var(--border-width-big) solid var(--color-black);
  flex: 1 1 100%;
  height: 100%;
  order: -1;
}
@media only screen and (min-width: 768px) {
  #image-window {
    border-right: 1px solid var(--color-black);
    padding-right: var(--box-padding-default);
  }
}
#image-window .content-window-inner {
  display: flex;
  flex-direction: column;
}
#image-window .content-window-inner .image-top-bar-navigation {
  display: flex;
  justify-content: flex-end;
  padding-right: 1rem;
}
@media only screen and (min-width: 768px) {
  #image-window .content-window-inner .image-top-bar-navigation {
    padding-right: 0;
  }
}
#image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  padding-left: 1rem;
}
@media only screen and (min-width: 1180px) {
  #image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions {
    flex: 0 0 72.5%;
  }
}
@media only screen and (min-width: 1180px) {
  #image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions .window-nav {
    display: none;
  }
}
#image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions .comment-function-wrapper {
  display: none;
}
@media only screen and (min-width: 768px) {
  #image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions .comment-function-wrapper {
    display: block;
    margin-left: var(--button-margin);
  }
}
@media only screen and (min-width: 1180px) {
  #image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions .comment-function-wrapper {
    margin-left: 0;
  }
}
#image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions .upload-function-wrappper {
  display: none;
  margin-left: var(--button-margin);
}
@media only screen and (min-width: 1180px) {
  #image-window .content-window-inner .image-top-bar-navigation .image-top-bar-functions .upload-function-wrappper {
    display: flex;
    justify-content: center;
  }
}
#image-window .content-window-inner .image-main-wrapper {
  display: flex;
  flex-direction: row;
  flex: 1 1 100%;
  overflow: hidden;
}
#image-window .content-window-inner .image-main-wrapper .window-nav-wrapper {
  display: none;
  flex: 0 0 27.5%;
}
@media only screen and (min-width: 1180px) {
  #image-window .content-window-inner .image-main-wrapper .window-nav-wrapper {
    display: block;
  }
}
#image-window .content-window-inner .image-main-wrapper .window-nav-wrapper #next-image-prev {
  display: none;
}
#image-window .content-window-inner .image-main-wrapper .window-nav-wrapper #next-image-prev.active {
  display: flex;
}
#image-window .content-window-inner .image-main-wrapper .window-nav-wrapper .window-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 0.75rem;
}
#image-window .content-window-inner .image-main-wrapper .content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  overflow: hidden;
}
@media only screen and (min-width: 768px) {
  #image-window .content-window-inner .image-main-wrapper .content-wrapper {
    padding-left: var(--box-padding-default);
  }
}
#image-window .content-window-inner .image-main-wrapper .content-wrapper #image-meta #image-title {
  padding-left: var(--image-indent);
}
#image-window .content-window-inner .image-main-wrapper .content-wrapper .image-wrapper {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--scrollbar-space);
  overflow: auto;
}

/*------------------------------------*\
    1. FILTER
    1.1 FILTER-OPEN MOBILE (BUTTON)
    1.2 FILTER-TYPE SELECTION (PLACE, MARKER, YEAR & CLOSE)
    1.3 FILTER-YEAR
    1.4 FILTER-FOCUS
    1.1 REMOVE ICON
\*------------------------------------*/
/* 1. FILTER */
#filter {
  background-color: var(--color-white);
  border-bottom: var(--border-width-big) solid var(--color-black);
  display: none;
  height: 2.5rem;
  overflow: hidden;
  transition: 500ms all linear;
  width: 100%;
  /* 1.1 FILTER-OPEN MOBILE (BUTTON) */
  /* 1.2 FILTER-TYPE SELECTION (PLACE, MARKER, YEAR & CLOSE) */
  /* 1.3 FILTER-YEAR */
  /* 1.4 FILTER-FOCUS */
}
@media only screen and (min-width: 1180px) {
  #filter {
    border-top: var(--border-width-big) solid var(--color-black);
  }
}
@media only screen and (max-width: 1179px) {
  #filter.opened {
    flex: 0 0 15rem;
    height: 15rem;
    overflow: scroll;
  }
}
@media only screen and (min-width: 1180px) {
  #filter {
    flex: 0 0 30.5%;
    height: auto;
    position: relative;
    top: 0;
  }
}
@media only screen and (min-width: 1180px) {
  #filter .filter-inner-wrapper {
    padding: var(--box-padding-filter);
  }
}
#filter.filter-loading button {
  pointer-events: none;
}
#filter #filter-open-mobile {
  font-size: 1.25rem;
  height: 2.5rem;
  padding-top: 0.275rem;
}
#filter #filter-open-mobile:hover, #filter #filter-open-mobile:focus {
  cursor: pointer;
}
@media only screen and (min-width: 1180px) {
  #filter #filter-open-mobile {
    display: none;
  }
}
#filter #filter-open-mobile span {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#filter #filter-open-mobile span::before {
  background-image: url("../img/icons/arrow-long-up.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 1rem;
  width: 1rem;
  margin-right: 0.25rem;
}
#filter.opened #filter-open-mobile span::before {
  background-image: url("../img/icons/arrow-long-down.svg");
}
#filter #filter-type {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#filter #filter-type button {
  margin-right: var(--button-margin);
}
#filter #filter-type #reset-filter {
  margin-left: 0.125rem;
}
#filter #filter-type #reset-filter {
  display: none;
}
#filter.active #filter-type #reset-filter {
  display: block;
}
#filter #filter-year {
  border-top: 4px solid var(--color-black);
  border-bottom: 4px solid var(--color-black);
  display: none;
  margin-top: 1.25rem;
  padding: 0.25rem 0.5rem;
}
#filter #filter-year.active {
  display: block;
}
#filter #filter-year > div {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}
#filter #filter-year > div label {
  margin-bottom: 0.375rem;
  width: 100%;
}
#filter #filter-year > div select {
  margin-bottom: 0;
  width: auto;
}
#filter #filter-year .select-year {
  margin-bottom: 0.25rem;
}
#filter #filter-focus {
  margin-top: 1.25rem;
}
#filter #filter-focus .filter-focus-title {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
}
#filter #filter-focus #filter-focus-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
@media only screen and (min-width: 1180px) {
  #filter #filter-focus #filter-focus-selection {
    flex-direction: column;
  }
}
#filter #filter-focus #filter-focus-selection .focus-item-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 0.375rem;
  margin-left: 0.375rem;
}
@media only screen and (min-width: 1180px) {
  #filter #filter-focus #filter-focus-selection .focus-item-wrapper {
    margin-bottom: 0.25rem;
    margin-left: 0.25rem;
  }
}
#filter #filter-focus #filter-focus-selection .focus-item-wrapper button.active + .remove-focus {
  display: block;
}
#filter #filter-focus #filter-focus-selection .focus-item-wrapper .remove-focus {
  display: none;
  margin-left: 0.5rem;
}
#filter #filter-focus.active button:not(.active) {
  background-color: var(--color-grey-light);
}

/*------------------------------------*\
    MEDIA-FORM
    1.1 BASE
    1.1.1 FORM-HANDLING
    1.1.2 FORM-NAVIGATION
    1.1.3 SPECIAL-FIELDS
    1.2 MAP-STYLE
\*------------------------------------*/
/* 1.1 BASE */
#media-form {
  padding: var(--box-padding-default) 0;
  /* 1.1.1 FORM-HANDLING */
  /* 1.1.2 FORM-NAVIGATION */
  /* 1.1.3 SPECIAL-FIELDS */
}
@media only screen and (min-width: 1024px) {
  #media-form {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 0 0 var(--box-padding-default);
  }
}
#media-form.loading {
  pointer-events: none;
  opacity: 0.75;
}
#media-form fieldset {
  display: none;
}
#media-form fieldset > *:first-child {
  margin-top: 0;
}
#media-form fieldset > *:last-child {
  margin-top: 0;
}
#media-form fieldset.active {
  display: block;
}
#media-form.intro-active #marker-form-navigation {
  display: none;
}
#media-form.intro-active .intro-title {
  margin-top: 0;
}
#media-form #marker-form-navigation {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
}
#media-form #marker-form-navigation .progress-bar {
  border-left: var(--border-width-big) solid var(--color-black);
  border-right: var(--border-width-big) solid var(--color-black);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex: 1 1 auto;
  position: relative;
}
#media-form #marker-form-navigation .progress-bar::before {
  background-color: var(--color-black);
  content: "";
  display: inline-block;
  height: var(--border-width-big);
  width: 100%;
  position: absolute;
  left: 0;
  z-index: 1;
}
#media-form #marker-form-navigation .progress-bar .progress-point {
  background-color: var(--color-default);
  border: calc(var(--border-width-big) / 1.25) solid var(--color-black);
  border-radius: 50%;
  display: inline-block;
  height: 1.25rem;
  width: 1.25rem;
  pointer-events: none;
  z-index: 5;
}
#media-form #marker-form-navigation .progress-bar .progress-point.active {
  background-color: var(--color-black);
  cursor: pointer;
  pointer-events: auto;
}
#media-form #marker-form {
  flex: 1 1 auto;
  overflow: auto;
}
#media-form .search-input-wrapper {
  display: flex;
  flex-direction: row;
  margin-bottom: 0.625rem;
}
#media-form .search-input-wrapper #search-input {
  border: 2px solid black;
  margin-bottom: 0;
}
#media-form .search-input-wrapper #search-input[data-validation=true] {
  border-color: green; /* Green border for valid input */
}
#media-form .search-input-wrapper #search-input[data-validation=false] {
  border-color: red; /* Green border for valid input */
}
#media-form .search-input-wrapper #open-map-mobile {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0.5rem;
}
@media only screen and (min-width: 1024px) {
  #media-form .search-input-wrapper #open-map-mobile {
    display: none;
  }
}
#media-form #form-address-area {
  display: none;
}
#media-form #form-address-area.active {
  display: block;
}
#media-form #form-address-area .intro {
  padding-bottom: 0.5rem;
}
#media-form #form-address-area .intro p {
  padding-bottom: 0.25rem;
}
#media-form #form-address-area .intro ul {
  font-size: var(--font-size-small);
}
#media-form #form-address-area .lat-lng-wrapper {
  display: none;
}
#media-form #form-year-area {
  display: none;
}
#media-form #form-year-area.active {
  display: block;
}
#media-form #form-year-area .select-year {
  display: none;
}
#media-form #form-year-area.select-year-active .select-year {
  display: block;
}
#media-form #form-year-area .select-decade {
  display: none;
}
#media-form #form-year-area.select-decade-active .select-decade {
  display: block;
}
#media-form .focus-intro {
  padding-bottom: 0.125rem;
}
#media-form .consent-label {
  font-size: var(--font-size-x-small);
}
#media-form .consent-label strong {
  font-size: var(--font-size-base);
}
#media-form.sent #marker-form,
#media-form.sent #marker-form-navigation {
  display: none;
}

/* 1.1 MAP-STYLE */
.main-wrapper-map #media-form {
  display: none;
}
.main-wrapper-map #media-form.active {
  display: block;
}

/*------------------------------------*\
    1. LIGHBOX
\*------------------------------------*/
#lightbox {
  background-color: var(--color-grey);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 9999;
}
#lightbox:hover, #lightboxfocus {
  cursor: pointer;
}
#lightbox .lightbox-inner {
  display: flex;
  justify-content: center;
  position: relative;
  width: 75%;
  height: 75%;
}
#lightbox .lightbox-inner img {
  height: 100%;
  width: auto;
}
#lightbox .lightbox-inner #lightbox-close {
  position: absolute;
  right: 0;
  top: -2rem;
}

.attachment-photo:focus, .attachment-photo:hover {
  cursor: pointer;
}
