/* Custom styles for FC St.Pauli-Museum - 1910e.V. - Theme
   by: generationdigitale.net
*/

/***** Custom properties *****/
:root {
  --brand-color1: #41281b;
  --brand-color2: #e2001a;
  --theme-light: #ffffff;
  --theme-dark: #111111;
  --theme-lightgray: #rgba(0,0,0,.1);

  /* Fonts */
  --ff-black: "Maschek-Black", Arial, Helvetica, sans-serif;
  --ff-bold: "Maschek-Bold", Arial, Helvetica, sans-serif;
  --ff-book: "Maschek-Book", Arial, Helvetica, sans-serif;
  --ff-medium: "Maschek-Medium", Arial, Helvetica, sans-serif;
  --ff-regular: "Maschek-Regular", Arial, Helvetica, sans-serif;
  --ff-light: "Maschek-Light", Arial, Helvetica, sans-serif;

  /* Text Shadow */
  --ts-small: 1px 1px #111111;

  /* Spaces */
  --p0: 0;
}

.hero {
    background-color: var(--brand-color1);
}
html {
      min-height: 100vh;
      background-color: #fff;
    }
@media (prefers-color-scheme: dark) {
    :root {
        --white: #000;
        --black: #fff;
        --theme: #fff;
        --theme-rgb: 0, 0, 0;
        --theme-darker: #999999;
        --theme-contrast: #fff;
        --theme-alt: #41281b;
        --theme-alt-darker: #ffffff;
        --heading-dark: #fff;
        --text-dark: #fff;
        --background-dark: #fff;
        --background-dark-lighter: #fefefe;
        --border-dark: rgba(0, 0, 0, 0.08);
        --heading-light: #111;
        --text-light: #111;
        --background-light: #e2001a;
        --border-light: rgba(0, 0, 0, 0.5);
        --success: #2ecc71;
        --error: #e74c3c;
    }
    .heading, .h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .pod-text h3.h5 a,
    .light-color h1, .light-color h2, .light-color h3, .light-color h4, .light-color h5,
    .light-color h6 .act-heading, .light-color .pre-head, .light-color .section-head {
        color: #fff;
    }
    .button.button--dark, input[type="submit"].button--dark, input[type="button"].button--dark {
        color: #111 !important;
    }
    .mbd .heading, .mbd .h1, .mbd .h1, .mbd h2, .mbd .h2, 
    .mbd h3, .mbd .h3, .mbd h4, .mbd .h4, .mbd h5, 
    .mbd .h5, .mbd h6, .mbd .h6, 
    .mbd .pod-text h3.h5 a, .mbd .light-color h1, 
    .mbd .light-color h2, .mbd .light-color h3, 
    .mbd .light-color h4, .mbd .light-color h5, 
    .mbd .light-color h6 .mbd .act-heading, 
    .mbd .light-color .pre-head,
    .mbd .light-color .section-head,
    .mbd .hero__inner.light-color h1 {
        color: #111 !important;
    }
    html {
      min-height: 100vh;
      background-color: #111;
    }
    body {
        color: #fff !important;
    }
    a, p a, p {
        color: #fff !important;
    }
    .white-bg {
        background-color: #222;
    }
    .ar-start section.block.text.white-bg.in-view {
    background: transparent;
    }
    .my-header .myIcon {
        outline: 2px solid #fff;
        border-radius: 50%;
    }
    .lang-switch a {
        color: var(--theme-darker);
    }
    .pod .pod__text p,
    .pod .pod__text p:last-of-type {
        color: #fff !important;
    }
    /* move to after other alng-active*/	
}

/***** Typography *****/

/* Maschek Grotesk */
@font-face {
  font-family: 'Maschek-Black';
  font-style: normal;
  font-weight: 900;
    src: url('fonts/MaschekGrotest_1910_b01-Black.woff2') format('woff2');
    src: url('fonts/MaschekGrotest_1910_b01-Black.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Maschek-Bold';
  font-style: normal;
  font-weight: 700;
    src: url('fonts/MaschekGrotest_1910_b01-Bold.woff2') format('woff2');
    src: url('fonts/MaschekGrotest_1910_b01-Bold.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Maschek-Book';
  font-style: normal;
  font-weight: 400;
    src: url('fonts/MaschekGrotest_1910_b01-Book.woff2') format('woff2');
    src: url('fonts/MaschekGrotest_1910_b01-Book.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Maschek-Regular';
  font-style: normal;
  font-weight: 400;
    src: url('fonts/MaschekGrotest_1910_b01-Regular.woff2') format('woff2');
    src: url('fonts/MaschekGrotest_1910_b01-Regular.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Maschek-Medium';
  font-style: normal;
  font-weight: 500;
    src: url('fonts/MaschekGrotest_1910_b01-Medium.woff2') format('woff2');
    src: url('fonts/MaschekGrotest_1910_b01-Medium.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Maschek-Light';
  font-style: normal;
  font-weight: 300;
    src: url('fonts/MaschekGrotest_1910_b01-Light.woff2') format('woff2');
    src: url('fonts/MaschekGrotest_1910_b01-Light.woff') format('woff');
  font-display: swap;
}

body {
  font-family: var(--ff-book), Helvetica, Arial, sans-serif;
  font-size: 16px !important;
  margin: 0;
  padding: 0;
}
@media (prefers-color-scheme: dark) {
    body {
        color: #fff !important;
        background-color: #111;
    }
}

h1, .h1 {
  font-family: var(--ff-black), Helvetica, Arial, sans-serif;
  line-height: 1.2;
  text-transform: uppercase;
}
h2, .h2 {
  font-family: var(--ff-bold), Helvetica, Arial, sans-serif;
  line-height: 1.2;
  text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--ff-medium), Helvetica, Arial, sans-serif;
  line-height: 1.2;
  text-transform: uppercase;
}
h4, .h4 {
  font-family: var(--ff-medium), Helvetica, Arial, sans-serif;
  line-height: 1.2;
  text-transform: uppercase;
}
h5, .h5 {
  font-family: var(--ff-bold), Helvetica, Arial, sans-serif;
  line-height: 1.2;
  text-transform: uppercase;
}
h6, .h6, .pre-head {
  font-family: var(--ff-bold), Helvetica, Arial, sans-serif;
  line-height: 1.2;
  text-transform: uppercase;
}

/***** Utilitie Classes *****/

.vertical-center main {
    /* Vertical center complete content in viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.socMed { /* Social Media Icons in one row */
  display: flex;
  justify-content: space-between;
  width: 120px;
}

a[href*="https://www.facebook"] img,
a[href*="https://www.instagram"] img,
a[href*="https://twitter"] img{/* Social Media get some margin right */
    margin-right: 1rem;
    display: inline-block;
    width: 50px; /* and get bigger */
    height: 50px; 
}

@media screen and (max-width: 768px) {
    .reverse [class^="col-"] { /* Mobile: show image always first in stack */
        order: -1;
    }
}

/***** Header + Footer Styles *****/
.top, .footer.footer--dark.light-color {
    background-color: var(--theme-dark);
    color: var(--theme-light);
    /* overflow-x: hidden; */
}

@media (prefers-color-scheme: dark) {
    .top {
        background: #111 !important;
    }
}

.logo {
  margin-left: -15px;
}

.logo img {
  min-height: 50px;
  width: 170px;
}

@media (prefers-color-scheme: dark) {
  .logo {
    background: url(/img/logo_1910ev_1z_weiss_transp.svg) no-repeat top left;
    background-size: contain;
  }
  .logo img {
    visibility: hidden;
  }
}

/* Navigation */
.top--light .main-nav__li:hover {
  background: rgba(0, 0, 0, 0);
}
.main-nav__li > .main-nav__a {
    border-top: 4px solid transparent;
}
.main-nav__li.selected > .main-nav__a,
.main-nav__li a:hover {
    color: var(--brand-color2) !important;
    text-decoration: none;
    border-top: 4px solid currentColor;
}

/*.Hiding language switch with flags in main navigation */
li.main-nav__li.main-nav__li--lang,
li.main-nav__li.main-nav__li--lang.show--m  {
    display: none !important;
}

/*.User settings in main navigation - "My" */
.main-nav__ul--first > .main-nav__li > .main-nav__a[href^="/de/my/"],
.main-nav__ul--first > .main-nav__li > .main-nav__a[href^="/de/my/"]:hover {
    color: transparent !important;
}
.main-nav__ul--first > .main-nav__li > .main-nav__a[href^="/de/my/"]::after {
    content:"";
    color: var(--brand-color2);
    width: 35px;
    height: 35px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: url(/img/icon-my.svg) no-repeat center;
    background-size: contain;
}

@media only screen and (max-width: 992px) {
  .main-nav--main {
      z-index: 999;
  }
  .main-nav__ul--first > .main-nav__li > .main-nav__a[href^="/de/my/"],
  .main-nav__ul--first > .main-nav__li > .main-nav__a[href^="/de/my/"]:hover {
      margin-left: 1rem;
      color: #111 !important; /* Showing title text on mobile next icon */
      padding-left: 40px !important;
   }
}

.button.button--light:hover, 
input[type="submit"].button--light:hover, 
input[type="button"].button--light:hover, 
.button.button--gray:hover, 
input[type="submit"].button--gray:hover, 
input[type="button"].button--gray:hover {
    background-color: var(--brand-color2);
    color: #fff !important;
}

.button:hover, 
input[type="submit"]:hover, 
input[type="button"]:hover {
    background: var(--brand-color2);
    border-color: var(--brand-color2);
    color: #fff !important;
}

/* Footer */
.footer, .footer .footer-grid {
  padding: var(--p0);
}

.footer-item--links .navigation.navigation--level-0 ul {
  display: flex;
  justify-content: center;
}

.footer-item--links li {
  margin: 0 .5em;
}
.ar-start footer.footer {
    display:none;
}

/* Abyss instead of Footer */

.abyss.block.grid.theme-bg {
    padding-top: 1em;
    margin-top: 1em;
    border-top: 1px solid rgba(0,0,0,.2);
    background: #d8d4d1;
}

@media (prefers-color-scheme: dark) {
    .abyss.block.grid.theme-bg {
        background: #111;
    }
}

.abyss .row {
    justify-content: space-between;
}

.abyss .navigation ul {
  display: flex;
}

.abyss .navigation li {
  margin-right: 10px;
}

.abyss .grid-item.grid-item--links {
  margin-bottom: 15px;
}

.abyss .socMed {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    width: 100%;
}

/* Förderungs-Logos im Abbinder */
.logos-foerderung .grid-item--text {
    display: flex;
    justify-content: center;
}

.logos-foerderung .grid-item--text p  {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #fff;
    padding: 0 1rem;
    font-size: .8rem;
}

.logos-foerderung .grid-item--text p span {
    display: block;
    word-break: keep-all;
    font-size: .7rem;
    align-self: flex-start;
    padding-top: 2rem;
    width: 25%;
}

.logos-foerderung .grid-item--text p img {
    height: 104px !important;
    max-height: 104px !important;
    margin-right: 0px !important;
}

.logos-foerderung .grid-item--text p img:last-child {
    height: 70px !important;
    margin-right: 0px !important;
}

@media screen and (max-width: 768px) {
  .abyss .navigation ul {
    display: flex;
    justify-content: center;
  }
  .abyss .socMed {
    justify-content: center;
  }
  .abyss .socMed a img {
    max-width: 40px;
  }
  .logos-foerderung .grid-item--text p  {
    flex-wrap: wrap;
  }
  .logos-foerderung .grid-item--text p img {
    height: 80px !important;
  }
}
@media screen and (max-width: 600px) {
  .logos-foerderung .grid-item--text p  {
    flex-wrap: wrap;
  }
  .logos-foerderung .grid-item--text p span  {
    flex: 1 0 100%;
    text-align: center;
    display: block;
  }
  .logos-foerderung .grid-item--text p img {
    height: 80px !important;
  }
}
.logos-foerderung .grid-item--text p span {
    color: #111 !important;
}

/* To Top on Footer */
.scroll .to-top {
	bottom: 9px;
}

/* Reduce Margin Top in .pod .pod-text */
  @media screen and (min-width: 769px) {
    .pod .pod__text {
      margin-top: 0;
  }
}

/***** Buttons and links *****/

a, p a {
  color: var(--theme-dark);
  text-decoration: none;
}

a:hover, p a:hover{
  text-decoration: underline;
}

/* Red Button */
.button.button--gray {
	color: var(--theme-light) !important;
	font-weight: 700;
	text-transform: uppercase;
}

/***** Top Notification Bar *****/

@media (prefers-color-scheme: dark) {

    .notification > *,
    .notification .pod .pod__text h3.h5 {
        color: #fff;
    }
    #content {
        background: #111;
    }
}

.notification {
  padding: .5em;
}

.notification .grid-item {
  margin-bottom: 0;
}

.notification article {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: .25em;
}

.notification .pod__text {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.notification .pod .pod__text {
  margin-top: 0;
  padding: 0 !important;
}

.notification .pod .pod__text h3.h5,
.notification .pod .pod__text p,
.notification .pod .pod__text .button-wrap,
.notification .pod .pod__image {
  margin: 0 1rem 0 0;
  padding: 0;
  text-align: center;
}

.notification .pod .pod__image i {
  font-size: 1.5rem;
  vertical-align: top;
}

@media screen and (max-width: 630px) {
  .notification .pod .pod__text h3.h5,
  .notification .pod .pod__text p,
  .notification .pod .pod__text .button-wrap {
    margin: 0;
  }
  .notification .pod__text {
    flex-direction: column;
  }
}

@media screen and (max-width: 430px) {
  .notification .pod__image {
    display: none;
  }
}

.notification .pod .pod__text .button-wrap a.button {
  color: var(--brand-color2) !important;
  border-color: var(--theme-light);
  background-color: var(--theme-light);
  padding: .25em .5em;
  font-size: .7em;
}

.notification .pod .pod__text .button-wrap a.button:hover {
  color: var(--theme-light) !important;
  border-color: var(--brand-color2);
  background: var(--brand-color2) !important;
}

.Tickets-Button {
  background: transparent;
  position: absolute;
  top: 20vh;
  right: 3vw;
  z-index: 400;
}

.Tickets-Button .button-wrap a {
  background: var(--brand-color2);
  font-family: "Maschek-Black", Arial, Helvetica, sans-serif;
  font-size: 3em;
  border: none;
  display: block;
  width: auto;
  text-transform: uppercase;
  padding: .25em .4em;
}

.Tickets-Button .button-wrap a:hover {
  background-color: var(--theme-light);
  color: var(--brand-color2) !important;
}

/***** Open hours *****/

.openHour {
  background: url(/img/openHour-badge.svg) no-repeat center;
  background-size: cover;
  color: #fff;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  bottom: 10%;
  right: 10%;
  z-index: 400;
}

.openHour a {
  color: #FFF;
  font-family: "Maschek-Bold", Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  text-decoration: none;
  text-transform: uppercase;
}

.openHour a span {
  display: block;
}

.openHour a span:nth-child(1),
.openHour a span:nth-child(2) {
  line-height: 1.1;
  font-size: 1.4rem;
}

.openHour a span:nth-child(2) {
  line-height: 1.1;
  font-size: 1.6rem;
  padding-top: .5em;
  color: var(--background-light); /* is red */
}

@media screen and (max-width: 1024px) {
  .openHour a span:nth-child(1),
  .openHour a span:nth-child(2) {
    line-height: 1.1;
    font-size: 1.4rem;
  }
}

/***** Blog (Feed) *****/

.block.feed.gray-bg {
  background-color:  var(--theme-light);
}
@media (prefers-color-scheme: dark) {
    .block.feed.gray-bg, .block.feed.theme-bg {
	    background-color: #000;
    }
    .box {
        background-color: #222;
    }
}

/***** Pod Image Text Reverse Order *****/
.reverse article {
    display: flex;
    flex-direction: column;
}

.reverse article .pod__image {
    order: 2;
    margin-top: 1rem;
}

/*@media (prefers-color-scheme: dark) {
    .heading, .h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .pod-text h3.h5 a {
        color: #fff;
    } 
    a, p a {
    color: #fff;
    }
}*/

/***** My Page *****/

.without-navi .top,
.my.without-navi .btn-ar {
  display: none;
}

.nav-my.main-nav__a {
  outline: 2px solid;
  width: 40px;
  height: auto;
  color: transparent !important;
  background: url(/img/icon-my.svg) no-repeat center;
}

@media screen and (max-width: 992px) {
  .nav-my.main-nav__a {
    margin-left: 14px;
  }
}

.nav-my.main-nav__a:hover {
  color: transparent !important;
  border-top: none;
}

.my .block {
  padding: 30px 0 0;
}

.my.without-navi .top + #content {
  margin-top: 0;
}

/* bookmarks list + grid view */
.my .my-header,
.my .view-switch,
.my .bookmarks {
  max-width: var(--grid-width);
  margin-right: auto;
  margin-left: auto;
  padding: 16px;
}

.my .bookmarks {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.my .my-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-switch {
  min-width: 40px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.view-switch a:nth-child(1) {
  display: block;
  min-height: 40px;
  min-width: 40px;
  background: url(/img/thumbnail-Ansicht_inaktiv.svg) no-repeat center;
  background-size: contain;
}

.view-switch a.view-active:nth-child(1) {
  display: block;
  min-height: 40px;
  min-width: 40px;
  background: url(/img/thumbnail-Ansicht_aktiv.svg) no-repeat center;
  background-size: contain;
}

.view-switch a:nth-child(2) {
  display: block;
  min-height: 40px;
  min-width: 40px;
  background: url(/img/Listen-Ansicht_inaktiv.svg) no-repeat center;
  background-size: contain;
}

.view-switch a.view-active:nth-child(2) {
  display: block;
  min-height: 40px;
  min-width: 40px;
  background: url(/img/Listen-Ansicht_aktiv.svg) no-repeat center;
  background-size: contain;
}

@media (prefers-color-scheme: dark) {
    .view-switch a:nth-child(1) {
      background: url(/img/thumbnail-Ansicht-darkmode_inaktiv.svg) no-repeat center;
      background-size: contain;
    }
    
    .view-switch a.view-active:nth-child(1) {
      background: url(/img/thumbnail-Ansicht-darkmode_aktiv.svg) no-repeat center;
      background-size: contain;
    }
    
    .view-switch a:nth-child(2) {
      background: url(/img/Listen-Ansicht-darkmode_inaktiv.svg) no-repeat center;
      background-size: contain;
    }
    
    .view-switch a.view-active:nth-child(2) {
      background: url(/img/Listen-Ansicht-darkmode_aktiv.svg) no-repeat center;
      background-size: contain;
    }
}

.my-header .btn-close {
  background: url(/img/Zurueck-Button.svg) no-repeat center;
  background-size: contain;
  min-width: 40px;
  min-height: 40px;
}

.my-header .btn-close span {
  visibility: hidden;
}

.my-header .btn-close svg {
  display: none;
}

.lang-switch a {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-family: var(--ff-bold), Helvetica, Arial, sans-serif;
 }

.lang-switch a:hover {
  text-decoration: none;
}

.lang-switch .lang-active {
  background: #000 !important;
  color: #fff !important;
}

@media (prefers-color-scheme: dark) {
/*.my-header*/ .lang-switch .lang-active {
		background-color: #fff !important;
		color: #111 !important;
		text-shadow:none;
	}
}

.my-header .myIcon {
  background: url(/img/MY-Button_black.svg) no-repeat center;
  background-size: 60px;
  min-width: 60px;
  height: 60px;
}

.my .bookmarks ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.my .bookmarks.gridView ul {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(2, 120px);
  place-items: center;
  margin-bottom: 2em;
}

@media screen and (min-width: 400px) {
  .my .bookmarks.gridView ul {
    grid-template-columns: repeat(2, 160px);
  }
  .my .bookmarks.gridView li {
    height: 160px;
    width: 160px;
  }
}

@media screen and (min-width: 550px) {
  .my .bookmarks.gridView ul {
    grid-template-columns: repeat(3, 160px);
  }
  .my .bookmarks.gridView li {
    height: 160px;
    width: 160px;
  }
}

@media screen and (min-width: 550px) {
  .my .bookmarks.gridView ul {
    grid-template-columns: repeat(3, 160px);
  }
  .my .bookmarks.gridView li {
    height: 160px;
    width: 160px;
  }
}

@media screen and (min-width: 768px) {
  .my .bookmarks.gridView ul {
    grid-template-columns: repeat(3, 220px);
  }
  .my .bookmarks.gridView li {
    height: 220px;
    width: 220px;
  }
}

@media screen and (min-width: 990px) {
  .my .bookmarks.gridView ul {
    grid-template-columns: repeat(4, 220px);
  }
  .my .bookmarks.gridView li {
    height: 220px;
    width: 220px;
  }
}

.my .bookmarks .bm-thumb {
  display: block;
  min-width: 120px;
  min-height: 120px;
}

.my .bookmarks .bm-thumb img {
  display: block;
}

.my .bookmarks .dummy .bm-thumb {
  background: url(/img/Platzhalter.svg) no-repeat center;
  background-size: 90%;
  height: 100%;
}

.my .bookmarks.listView .dummy .bm-thumb {
  background: none;
}

@media (prefers-color-scheme: dark) {
    .my .bookmarks .dummy .bm-thumb {
        background: url(/img/Platzhalter-darkmode.svg) no-repeat center;
    }
}

.my .bookmarks.gridView img {
  width: 100%;
  max-height: 220px;
  max-width: 220px;
  display: block;
}

.my .bookmarks.gridView .bm-title,
.my .bookmarks.gridView .bm-del {
    display: none;
}

/***** ListView *****/
@media screen and (min-width: 667px) {
  .my .bookmarks.listView ul {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5em;
      margin-left: 1em;
      margin-right: 1em;
  }
}

.my .bookmarks.listView li {
  display: grid;
  grid-template-columns: 1fr 60px;
  place-items: center;
  gap: .5em;
  margin-bottom: 1.5em;
  outline: 6px solid rgba(1,2,2,.1);
}

.my .bookmarks.listView li.dummy {
  outline-style: dashed;
}

.my .bookmarks.listView li a {
  place-items: center;
}

.my .bookmarks.listView li a:nth-child(1) {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-column-gap: .5em;
  width: 100%;
  height: 100%;
}

.my .bookmarks.listView a.bm-del {
  width: 40px;
  height: 40px;
  background: url(/img/X-Button.svg) no-repeat center;
  background-size: contain;
  color: transparent;
}

.my .bookmarks.listView .bm-thumb {
  max-width: 120px;
}

.bm-title {
  font-family: 'Maschek-Bold', Arial, Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
    .my .bookmarks.listView li a{
        color: #fff !important;
    }
    .my .bookmarks.listView li.dummy {
        outline-style: dashed;
        outline-color: #99999970;
    }
}

/* Player in my page */
.my .player .btn-close {
  width: 40px;
  height: 40px;
  background: url(/img/Zurueck-Button.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 100;
}

/***** Box shadow for pods in home *****/

.home .grid-item--pod {
  box-shadow: 0 22px 43px -20px rgb(0 0 0 / 15%);
}
@media (prefers-color-scheme: dark) {
    .home .grid-item--pod {
        box-shadow: 0 22px 43px -20px rgb(0 0 0 /100%);
    }
    .home .notification .grid-item--pod {
        box-shadow: none !important;
    }
}

.home .notification .grid-item--pod {
    box-shadow: none !important;
}

.home .grid-item--pod.pod .pod__text {
  padding: var(--grid-gutter);
}

/***** Rainbow *****/
.intro::after,
.abyss::after {
  content: "";
  width: 100%;
  height: 20px;
  display: block;
  background-image: linear-gradient(to right,
  #E3001A 0%, #E3001A 16.67%,
  #E8590D 16.67%, #E8590D 33.34%,
  #FFDE00 33.34%, #FFDE00 50.01%,
  #00963B 50.01%, #00963B 66.68%,
  #29338A 66.68%, #29338A 83.35%,
  #82368A 83.35%, #82368A 100%);
  background-size: 100% 20px;
  background-repeat:no-repeat;
  margin: -1px 0 0; /* minus top margin to hide white flash */
}

/***** AR Teaser Button *****/

.nav-ar-start {
  color: transparent !important;
  width: 9vw;
  height: 9vw;
  min-width: 50px;
  max-width: 120px;
  min-height: 50px;
  max-height: 120px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: url(/img/button-ar.svg) no-repeat center;
  background-size: contain;
  border-radius: 100%;
  position: fixed;
  top: 25%;
  left: 20px;
  z-index: 99;
  box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
  cursor: pointer;
  color: transparent;
}

.my .nav-ar-start {
  display: none;
}

.nav-ar-start:focus-within,
.nav-ar-start:hover {
  color: transparent;
  text-decoration: none;
}

@media screen and (min-width: 910px) {
  .home .nav-ar-start {
    top: 15%;
    left: 50px;
    transform: translate(-0px, -10%);
  }
}

body:not(.home) .nav-ar-start {
    top: 90px;
    left: 50px;
    transform: translate(0, 0);
}

/* Header ausblenden in AR-Start-Seite */
.ar-start .top {
  display: none;
}

/* AR-Button ausblenden in AR-Start-Seite */
.ar-start .nav-ar-start {
  display: none;
}

/* Top Navigation AR-Start-Seite */
.ar-startScreen {
  position: fixed;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px;
}

.ar-start .btn-close, .ar-start .ar-icon {
  min-width: 40px;
  min-height: 40px;
}

.ar-start .btn-close {
  background: url(/img/Zurueck-Button.svg) no-repeat center;
  background-size: contain;
}

.ar-start .btn-close span {
  visibility: hidden;
}

.ar-start .ar-icon {
  background: url(/img/AR-Button_black.svg) no-repeat center;
  background-size: 60px;
  min-width: 60px;
  height: 60px;
}

@media screen and (max-height: 700px) {
  .ar-start .ar-startButton img {
    max-width: 60%;
  }
}

/* AR-Start-Seite Widgets Breite */
.ar-start .block-text.block-text--single {
  max-width: 70ch;
  margin: auto;
}
/* Aenderung AR-Start Seite fuer Mobile - 30-12-21/US */
@media (max-width: 500px) {
    .ar-start .block-text .ar-startButton img {
        max-width: 50vw;
    }
    .ar-start section:first-of-type {
        margin-top: 5rem;
    }
}
@media (max-width: 390px){
    .ar-start h3 {
        font-size: 16px;
        line-height: 1.3;
    }
    .ar-start p {
        font-size: 14px;
    }
    .ar-start .block.text {
        padding-bottom: 1rem;
    }
    .ar-start .block-text .ar-startButton img {
        max-width: 40vw;
    }
}
/* End of Aenderung */

/***** Claim *****/
@media (prefers-color-scheme: dark) {
    .claim.block.grid.white-bg.row--flat.in-view {
        background: #111;
        color: #fff;
    }

    .claim.block + .block.grid.white-bg {
        padding-top: 4rem !important;
    }
}
.claim.grid.row--flat {
  padding: 40px 0;
  margin-top: 40px;
}

.claim p {
  font-size: 1.7em;
  line-height: 1.2;
}

.claim p::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(/img/icon-quote-left.svg) no-repeat center;
  background-size: contain;
  display: none;
  margin-right: 1em;
}

/***** Umbraco Forms Styles *****/

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
textarea, select,
.cb-wrap .checkmark {
    background-color: rgba(0,0,0,.1);
    border-radius: 0;
}

.button, input[type="submit"], input[type="button"] {
    background-color: var(--brand-color2);
    color: var(--theme-light) !important;
}

@media (prefers-color-scheme: dark) {
  .button {
    border: none !important;
  }
  .button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background: var(--brand-color2);
  }
}

/* Umbraco-Forms break consent line */
.formWithConsent pre {
	white-space: break-spaces;
	line-height: 1.4;
}

/* Umbraco-Forms consent inner position */
.datenschutz.gdcheckbox .umbraco-forms-field-wrapper {
  display: flex;
}

.datenschutz.gdcheckbox .umbraco-forms-field-wrapper input[type="checkbox"] {
  margin-top: .25em;
  margin-right: .5em;
}

.umbraco-forms-form input.contourError,
.umbraco-forms-form textarea.contourError,
.umbraco-forms-form input.input-validation-error,
.umbraco-forms-form textarea.input-validation-error {
    background: #FF0000 !important;
    border-color: #FFF !important;
    color: #FFF;
}

.formWithConsent .umbraco-forms-page {
    width: 100%;
}
.formWithConsent  .umbraco-forms-page input[type="submit"] {
    width: calc(100% - 1em);
}

.formWithConsent .umbraco-forms-page input[type="text"],
.formWithConsent .umbraco-forms-page textarea {
    max-width: 100% !important;
    width: 100%
}
.umbraco-forms-form textarea {
    max-width: 100% !important;
}
.formWithConsent .umbraco-forms-page label>p {
    margin-bottom: 0;
    padding-top: .25em;
}

/***** Feedback Videobox *****/
.Videobox-Liste {
  padding: 30px;
}

.Videobox-Liste article {
  display: flex;
}

.Videobox-Liste .list-item.pod.pod--compact {
  padding-left: 0;
  padding-bottom: 1em;
}

.Videobox-Liste .list-item.pod.pod--compact .pod__image,
.Videobox-Liste .list-item.pod.pod--compact .pod__text {
  display: inline-block;
}

.Videobox-Liste .list-item.pod.pod--compact .pod__image {
  position: relative;
  width: 150px;
  flex-shrink: 0;
  margin-right: 30px;
}

.Videobox-Liste ul {
    margin-top: .5rem;
}

@media screen and (max-width: 1024px) {
  .Videobox-Liste .list-item.pod.pod--compact {
    padding-bottom: .5em;
    margin-bottom: 0;
  }

  .Videobox-Liste .list-item.pod.pod--compact .pod__image {
    position: relative;
    width: 90px;
    margin-right: 15px;
  }
}

@media screen and (max-width: 360px) {
  .Videobox-Liste .list-item.pod.pod--compact .pod__image {
    position: relative;
    width: 70px;
    margin-right: 15px;
  }
}

.Videobox-Liste .text-big {
  font-size: 1rem;
  font-weight: normal;
  padding-bottom: 1em;
}

/* Formular Video Upload + Close Button */
.videobox {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.videobox input.button.button--block {
  max-width: 200px;
}

.videobox input[type="file"] {
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: rgba(0,0,0,.1);
  padding: .25em;
}

.Videobox-Liste .grid-item--text p span.text-small {
    font-size: .85rem;
}

.videobox .umbraco-forms-form .field-validation-error {
  padding-top: .5em !important;
}

label.umbraco-forms-label {
  margin-top: 1.25em;
}

@media only screen and (max-width: 768px) {
  .field-validation-error {
    margin-top: 0;
  }
}

.video.gdfileupload > label {
  display: inline-block;
}

.videobox .gdcheckbox label {
  margin-top: 2em;
}

.videobox .gdcheckbox label > p {
  display: inline-block;
}

.videobox .gdcheckbox input[type="checkbox"] {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
}

.videobox > .button-wrap.close a {
  outline: 1px solid #bbb;
  background: white;
  color: #111 !important;
  padding: 0;
  height: 25px;
  width: 25px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: rgba(0,0,0,.1);
  position: absolute;
}

.videobox .button-wrap.close {
  position: absolute;
  top: 30px;
  right: 30px;
  height: auto;
  width: auto;
}

.videobox legend {
  background: transparent;
  text-align: left;
  padding-left: 0;
}

@media screen and (max-width: 400px) {
  .Videobox-Liste {
    padding: 0;
  }
  .Videobox-Liste .grid-item.grid-item--form {
    width: 100%;
    overflow-x: hidden;
  }

  .Videobox-Liste input[type="text"],
  .Videobox-Liste input[type="textarea"],
  .Videobox-Liste input[type="file"] {
    max-width: 286px !important;
    width: 286px !important;
  }
}
@media screen and (max-width: 700px) {
  .Videobox-Liste .gdcheckbox .umbraco-forms-field-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .Videobox-Liste .gdcheckbox .umbraco-forms-field-wrapper input[type="checkbox"] {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .Videobox-Liste .gdcheckbox .umbraco-forms-field-wrapper label {
    grid-column: 2/3;
    grid-row: 1/2;
    margin-top: 0;
  }
  .Videobox-Liste .gdcheckbox .umbraco-forms-field-wrapper .field-validation-error {
    grid-column: 1/-1;
    grid-row: 2/3;
  }
}

.devideobox .button-wrap.close {
  position: relative;
  margin-bottom: 2rem;
  width: 100%;
}

.devideobox .button-wrap.close a.button.close-x {
  display: block;
  position: absolute;
  right: 7px;
}
/* Aenderungen 23-12-21 Soenke / US */
.videobox-online-form label[for="7d8de48f-cb4b-4a52-9e82-c6f3303ebdbe"] div {
    font-weight: normal;
    line-height: 1.5;
    display: inline-block !important;
    margin-left: .5rem;
}

.umbraco-forms-field.erlaubnistext.richtext.alternating {
    margin-top: 2rem;
}

.umbraco-forms-field.erlaubnistext.richtext.alternating span {
  color: red;
  font-weight: bold;
}

.gdcheckbox.mandatory span.umbraco-forms-indicator {
    display: none;
}

.erlaubniszurspeicherung > label {
    margin: 0;
}
/* End of Aenderungen */


.formFeedback--thankYou.-step-3 img {
    max-width: 300px;
    margin-right: 1rem;
}

.formFeedback--thankYou.-step-3 article .pod__text {
    display: grid;
    -ms-grid-rows: auto auto auto;
    grid-template-rows: repeat(3,auto);
    width: 100%;
}

.formFeedback--thankYou.-step-3 article .pod__text .oeffentliche-foerderung {
    background-color: white !important;
    padding: .5rem;
    -ms-grid-row: 4;
    grid-row: 4;
    margin-top: 2rem;
}



/***** Progressbar *****/

.progressDiv {
  position:fixed;
  top:0; left:0;
  width:100vw; 
  height:100vh;
  background: rgba(255,255,255, .7);
}
.progressbar {
  display: flex;
  height: 1.5rem;
  overflow: hidden;
  font-size: .75rem;
  background-color: #e9ecef;
  border-radius: .25rem;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

.progress {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-color: #000000;
  transition: width .6s ease;
}

/* My Video/Audio/Image Player */

.player,
.player video,
.player audio,
.player div {
  display: none;
}

.player {
  background: rgb(0,0,0);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.player video,
.player audio {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100vw;
  height: 100%;
}

.player iframe {
  width: 100vw;
  height: 100%;
  background: rgb(255,255,255);
}

.player div {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 100vw;
  height: 100%;
}

/* Root pages confirm, error usw. */

.root-pages {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.root-pages .btn-close {
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  color: transparent;
  background-image: url(/img/Zurueck-Button.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 20px;
  left: 14px;
}

.root-pages.error main,
.root-pages.confirm main{
  padding: 80px 14px 20px;
  margin: 0 auto;
  max-width: 700px;
}

.root-pages img {
    max-width: 100%;
}

.root-pages.confirm .btn-close {
  display: none;
}

/* Landingpage */
.landingpage {
    background: #212121;
    color: var(--theme-light);
}
.landingpage main {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #111;
    box-shadow: 0 0 40px #111;
}
.landingpage .transEN {
  font-size: calc(1.5rem / 100 * 70);
  display: block;
  color: grey;
}
.landingpage .h5.transEN {
  font-size: calc(1rem / 100 * 90);
  margin-top: .3rem;
}
.landingpage em {
  font-style: normal;
  color: var(--brand-color2);
}
.landingpage p {
  margin-top: 0;
  margin-bottom: 0;
}
.landingpage .header {
    background: var(--theme-light);
    max-height: 60px;
}
.landingpage .btn-close {
    display: none;
}
.landingpage .header img {
    display: block;
    height: 50px;
    width: auto;
}
.landingpage .main {
    padding: 3rem 0 0;
    text-align: center;
}
.landingpage .main img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.landingpage .download-app {
    background: var(--brand-color1);
    padding: 3rem 1rem 4rem;
    margin-bottom: 4rem;
}
.landingpage .batches {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem
}
.landingpage .batches img {
    height: 60px;
    margin: 0;
}
.landingpage .googleplay {
    margin-right: 1rem;
}
.landingpage .footer {
    display: flex;
    align-items: center;
    padding: .25rem 1rem;
    margin-top: 4rem;
    min-height: 60px;
}
.landingpage .socialmedia {
    width: 50%;
    text-align: left;
    display: inline-flex;
    align-items: center;
}
.landingpage .socialmedia a {
    display: inline-block;
    width: 30px;
    margin-right: 2rem;
}
.landingpage .socialmedia img {
    max-width: 40px;
}
.landingpage .legals {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 50%;
}
.landingpage .legals a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 1rem;
    font-size: 14px;
}
.landingpage .legals .transEN {
    font-size: 12px;
}

.landingpage .supported-by {
    background: #fff;
    margin-top: 2rem;
}

.landingpage .supported-by p {
    color: #111 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    padding: 0 1rem;
}
.landingpage .supported-by p .noBreak {
    display: block;
    word-break: keep-all;
    font-size: .7rem;
    align-self: flex-start;
    padding-top: 1rem;
    text-align: left;
}
.landingpage .supported-by p .noBreak,
.landingpage .supported-by p img {
    flex-basis: 23%;
    margin: unset;
}
.landingpage .supported-by p img {
    max-height: 104px;
}

/* Miscellanea */
img, .no-touch {
    -webkit-touch-callout: none !important;
}
.ar-startButton {
  display: none;
}
@supports (-webkit-touch-callout: none) {
  .ar-startButton {
    display: block !important;
  }
}