:root {
  --content-width: 100vw;

  --blau: #4aa4da;
  --beige: #e7d5a9;

  --main-color: var(--blau);
  --highlight-color: var(--beige);
}

/* Make sure that the padding and border are included in the total width and
 * height of the elements, see https://www.w3schools.com/css/css_rwd_viewport.asp */

* {
  box-sizing: border-box;
}

* {
  color: white;
  font: 18px BuenosAires, sans-serif;
  margin: 0;
  padding: 0;
  word-break: break-word;
}


/* || GRID LAYOUT, see https://www.w3schools.com/css/css_rwd_grid.asp */

[class*="col-"] {
  float: left;
  padding: 0 10px;
  width: 100%;
  /* Mobile first! */
}

.row::after {
  clear: both;
  /* Clearfix */
  content: "";
  display: table;
}


/* || GENERAL STYLE */

a,
button,
input[type=submit] {
  background: inherit;
  border: none;
  color: var(--highlight-color);
  cursor: pointer;
  text-decoration: none;
}

a.action,
input[type=submit] {
  font: 28px BuenosAiresBold, sans-serif;
}

a:hover,
button:hover,
input[type=submit]:hover {
  font-style: italic;
}

a.button-link:hover {
  font-style: normal;
  color: var(--main-color);
}

body {
  --background-color: var(--main-color);
  background-color: var(--background-color);
}

h1 {
  color: var(--highlight-color);
  font: 45px BuenosAiresBold, sans-serif;
  line-height: 1;
  margin-top: 120px;
  margin-bottom: 10px;
}

h1:first-of-type {
  margin-top: 0px;
}

h2 {
  color: var(--highlight-color);
  font: 40px BuenosAires, sans-serif;
  margin-top: 25px;
  margin-bottom: 10px;
}

td>h2 {
  margin-top: 0px;
}

h3 {
  font: 35px BuenosAiresThin, sans-serif;
  margin-top: 20px;
  margin-bottom: 15px;
}

hr {
  border: 0;
  border-top: 3px solid white;
  display: block;
  height: 3px;
  margin: 5px 0;
}

em,
i {
  font-style: italic;
}

img {
  width: 100%;
}

input[type=submit] {
  background-color: inherit;
  border: none;
  cursor: pointer;
  font: 28px BuenosAiresBold, sans-serif;
}

input[type=submit]:hover {
  font-style: italic;
}

input:not([type=submit]),
select,
textarea {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font: 28px BuenosAiresThin, sans-serif;
  height: 49px;
  margin-bottom: 10px;
  padding-left: 5px;
  width: 100%;
}

input:not([type=submit]):hover,
select:hover,
textarea:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

label {
  display: inline-block;
  padding-bottom: 10px;
}

p {
  line-height: 1.5;
  padding-bottom: 20px;
}

select option {
  background-color: #505050;
}

span {
  color: inherit;
}

strong {
  font-family: BuenosAiresBold;
}

td {
  padding-top: 20px;
  vertical-align: top;
}

textarea {
  height: 167px;
  resize: none;
}

ul,
ol {
  padding-bottom: 20px;
}

ul ul {
  padding-bottom: 0;
}

ul li,
ol li {
  line-height: 1.5;
  margin-left: 20px;
}

ul.errors {
  background-color: white;
  color: black;
  margin: 10px;
  width: calc(100% - 20px);
}

ul.errors * {
  color: inherit;
}

/* Change text color of placeholder text */

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}


/* || STYLE CLASSES */

.action {
  font: 28px BuenosAiresBold, sans-serif;
}

.adorayfestival-page button {
  padding: 10px;
}

.adorayfestival-page h2 {
  font-size: 40px;
  padding: 10px;
}

.adorayfestival-page p {
  padding: 10px;
}

.button-link {
  background-color: var(--highlight-color);
  color: black;
  display: block;
  font: 28px BuenosAiresBold, sans-serif;
  padding: 5px 10px;
  text-align: center;
}

.caption {
  padding-top: 10px;
}

.clear {
  clear: both;
}

.emph {
  font: 36px BuenosAiresThin, sans-serif;
}

.gold {
  color: var(--highlight-color);
}

.image {
  border: 2px solid white;
  clear: both;
  image-rendering: auto;
  position: relative;
}

.image-main {
  display: block;
  height: 100%;
  transform: translateZ(0);
  width: 100%;

  -webkit-transform: translateZ(0);
}

.image-main:hover,
.image-main:active {
  opacity: 0;
  transition: 0.5s;
}

.image-overlay {
  display: block;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: translateZ(0);
  transition: opacity 1s;
  width: 100%;

  -webkit-transform: translateZ(0);
}

.image-overlay:hover,
.image-overlay:active {
  opacity: 1;
  transition: 1s;
}

.lineup {
  margin-bottom: -100px;
}

.panel-container {
  background-color: white;
  display: none;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
}

.cart {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 20px 20px;
}

.panel {
  background-color: white;
}

.panel * {
  color: black;
}

.panel h1 {
  color: var(--highlight-color);
}

.panel-hide-button {
  position: absolute;
  top: 10px;
  right: 10px;
}

.panel-hide-button img {
  width: 15px;
}

.photo {
  border: 3px solid white;
  width: 100%;
}

.scrollview {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
}

.scrollview .gallery {
  font-size: 0;
  overflow-x: auto;
  padding: 15px;
  width: calc(9 * var(--content-width) - 200px);
}

.scrollview .gallery img {
  border: 3px solid white;
  display: inline-block;
  width: calc(var(--content-width) - 30px);
}

.scrollview .gallery img:not(:first-child) {
  margin-left: 5px;
}

.section {
  margin: 80px 0;
}

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

ul.sponsors {
  list-style: none;
}

.sponsors li,
.sponsors a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0;
}

.sponsors img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  width: auto;
}

.sp-large li,
.sp-large a {
  height: 10em;
  width: 20em;
}

.sp-medium li,
.sp-medium a {
  height: 8em;
  width: 16em;
}

.sp-small li,
.sp-small a {
  height: 6em;
  width: 12em;
}

.surtitle {
  font-size: 20px;
}

.symbols {
  font-family: WebSymbols;
}

/* Ackground-color: rgba(255, 255, 255, 0.2);
 *     padding: 5px 20px 20px;
 *     }NMELDUNG JEROM */
/*
#af-anmeldung > * {
  float: left;
  padding: 10px;
  width: 100%;
}
*/
#af-anmeldung span {
  color: var(--main-color);
}

#af-anmeldung h4 {
  font-size: 22px;
  margin-top: 20px;
  margin-bottom: 10px;
}

#af-anmeldung h6 {
  font-size: 22px;
}

.loader>div {
  padding: 0;
}

.ticket {
  --ticket-bgcolor: rgba(255, 255, 255, 0.2);
  background-color: var(--ticket-bgcolor);
  border: 2px solid var(--ticket-bgcolor);
  cursor: pointer;
  float: left;
  font-size: 24px;
  padding: 10px;
  width: calc(50% - 10px);
}

.ticket:hover {
  --ticket-bgcolor: rgba(255, 255, 255, 0.25);
}

.ticket.active {
  border-color: var(--highlight-color);
}

.ticket h3 {
  margin-top: 0;
}

div:nth-of-type(1)>.ticket,
div:nth-of-type(2)>.ticket {
  margin-bottom: 10px;
  margin-top: 20px;
}

div:nth-of-type(1)>.ticket,
div:nth-of-type(3)>.ticket {
  margin-right: 10px;
}

.progressNumber {
  display: none;
}

.columns>br {
  display: none;
}

form .column {
  float: left;
  width: 100%;
  /* Mobile first */
}

*[class^=label-] {
  padding-right: 20px;
  text-align: right;
}

label.label-short {
  width: 170px;
}

input.input-long,
select.input-long {
  width: calc(100% - 170px);
}

label.label-long {
  width: 40%;
}

input.input-short,
select.input-short {
  width: 60%;
}

.box button {
  margin-right: 20px;
}

#acceptTerms {
  margin-top: 40px;
  margin-right: 15px;
  height: inherit;
  width: auto;
  float: left;
}

label.form-check-label {
  margin-top: 35px;
  float: left;
}

form .column input[type=submit] {
  margin-top: 20px;
}

.cart {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 20px 20px;
}

/* ENDE ANMELDUNG */

.youtube-embed {
  --ratio: calc(16.0 / 9.0);
  height: calc(var(--content-width) / var(--ratio));
}


/* || ELEMENT STYLES */

/* Elements that can be referenced by Hash (#) */
#check-in,
#feedback,
#livestream,
#public {
  scroll-margin-top: 100px;
}

#color-buttons {
  bottom: 0;
  padding: 40px;
  position: absolute;
  width: 100%;
}

#color-buttons>button {
  display: block;
  margin: 20px auto;
  width: 40px;
}

#content {
  margin: auto;
  width: var(--content-width);
}

#footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#footer>a,
#footer>button {
  flex-shrink: 0;
  padding: 10px;
}

#home {
  width: 80px;
}

#home-anchor {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 100px;
}

#lineup {
  margin-top: 30px;
}

#menu-burger,
#menu-closer {
  position: absolute;
  top: 0;
  right: 0;
}

#menu-burger img,
#menu-closer img {
  margin: 15px;
  width: 25px;
}

#menu-overlay {
  background-color: white;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

#menu-overlay a {
  color: var(--background-color);
  font: 22px/50px BuenosAiresThin, sans-serif;
}

#menu-overlay a.highlighted {
  font-family: BuenosAiresBold, sans-serif;
}

#menu-overlay a:hover {
  font-style: italic;
}

#menu-overlay ul {
  list-style: none;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 0;
  right: 0;
  transform: translate(0, -50%);
}

#menu-bar {
  background-color: var(--background-color);
  height: 100px;
  overflow-x: auto;
  overflow-y: hidden;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 3;
}

#menu {
  display: block;
  float: right;
}

#menu li {
  display: inline-block;
}

#menu a {
  font: 22px/100px BuenosAiresThin, sans-serif;
  padding-right: 40px;
}

#menu a,
#footer a,
#footer button {
  color: white;
}

#menu a.highlighted {
  font-family: BuenosAiresBold, sans-serif;
}

#presenceTime {
  display: none;
}

#sidebar-left {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 180px;
  z-index: 3;
}

#sidebar-right {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 180px;
}

#translation-left {
  position: absolute;
  top: 200px;
  left: 65px;
}

#translation-right {
  position: absolute;
  top: 12px;
  right: 60px;
}


/* || RESPONSIVE DESIGN */

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

  :root {
    --content-width: calc(320px + 0.9375 * (100vw - 320px));
  }

}

/* S: small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 599px) {
  .from-s {
    display: none;
  }
}

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

  p {
    hyphens: none;
    -ms-hyphens: none;
    -webkit-hyphens: none;
  }

  .upto-xs {
    display: none;
  }

  #footer {
    margin-bottom: 10px;
  }

}

/* M: medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 767px) {
  .from-m {
    display: none;
  }
}

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

  :root {
    --content-width: 740px;
  }

  h1 {
    font-size: 68px;
    margin-bottom: 25px;
  }

  p.emph {
    font-size: 48px;
  }

  p.surtitle {
    font-size: 24px;
  }

  .col-1 {
    width: 16.66%;
  }

  .col-2 {
    width: 33.33%;
  }

  .col-3 {
    width: 50%;
  }

  .col-4 {
    width: 66.66%;
  }

  .col-5 {
    width: 83.33%;
  }

  .col-6 {
    width: 100%;
  }

  .youtube-embed.col-1 {
    height: calc(var(--content-width) / var(--ratio) / 6.0);
  }

  .youtube-embed.col-2 {
    height: calc(var(--content-width) / var(--ratio) / 3.0);
  }

  .youtube-embed.col-3 {
    height: calc(var(--content-width) / var(--ratio) / 2.0);
  }

  .youtube-embed.col-4 {
    height: calc(var(--content-width) / var(--ratio) / 6.0 * 4.0);
  }

  .youtube-embed.col-5 {
    height: calc(var(--content-width) / var(--ratio) / 6.0 * 5.0);
  }

  .youtube-embed.col-6 {
    height: calc(var(--content-width) / var(--ratio));
  }

  .panel-container {
    background-color: rgba(0, 0, 0, 0.4);
  }

  .panel {
    padding: 30px;
    padding-top: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--content-width) + 60px);
  }

  .panel-hide-button {
    top: 40px;
    right: 40px;
  }

  .panel-hide-button img {
    width: 25px;
  }

  .scrollview {
    height: calc(0.67 * var(--content-width) + 15px);
  }

  .scrollview .gallery {
    height: calc(0.67 * var(--content-width) + 15px);
  }

  .upto-s {
    display: none;
  }

  #home {
    width: 100px;
  }

}


/* L: large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 991px) {
  .from-l {
    display: none;
  }
}

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

  .upto-m {
    display: none;
  }

}

/* XL: extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1199px) {
  .from-xl {
    display: none;
  }
}

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

  :root {
    --gallery-img-width: 21vw;
    --gallery-origin-x: calc((var(--content-width) - var(--gallery-img-width)) / 2);
    --gallery-origin-y: calc((var(--content-width) - var(--gallery-img-width)) / 3);
  }

  .gallery {
    position: relative;
    height: calc(0.67 * var(--content-width));
    transition: margin-bottom 0.5s;
  }

  .gallery:hover {
    margin-bottom: 10vw;
  }

  .gallery [class^=img] {
    border: 3px solid white;
    display: block;
    position: absolute;
    top: var(--gallery-origin-y);
    left: var(--gallery-origin-x);
    transition: transform 0.5s;
    width: var(--gallery-img-width);
    z-index: 1;
  }

  .gallery .img-1 {
    top: 0;
    left: 0;
    transition: width 0.5s, height 0.5s, transform 0.5s;
    width: var(--content-width);
    z-index: 2;
  }

  .gallery:hover .img-1 {
    width: 21vw;
    transform: translate(var(--gallery-origin-x), var(--gallery-origin-y));
  }

  .gallery:hover .img-2 {
    transform: translate(-104%, -106%);
  }

  .gallery:hover .img-3 {
    transform: translate(0, -106%);
  }

  .gallery:hover .img-4 {
    transform: translate(+104%, -106%);
  }

  .gallery:hover .img-5 {
    transform: translate(-104%, 0);
  }

  .gallery:hover .img-6 {
    transform: translate(+104%, 0);
  }

  .gallery:hover .img-7 {
    transform: translate(-104%, +106%);
  }

  .gallery:hover .img-8 {
    transform: translate(0, +106%);
  }

  .gallery:hover .img-9 {
    transform: translate(+104%, +106%);
  }

  .section:first-child {
    margin-top: 120px;
  }

  .upto-l {
    display: none;
  }

  #footer {
    margin-bottom: 40px;
  }
}