/* roboto-slab-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-slab-v34-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-slab-v34-latin_latin-ext-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-slab-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-slab-v34-latin_latin-ext-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-slab-v34-latin_latin-ext-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-condensed-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-condensed-v27-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-condensed-v27-latin_latin-ext-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-condensed-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/roboto-condensed-v27-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-condensed-v27-latin_latin-ext-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-condensed-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-condensed-v27-latin_latin-ext-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-condensed-v27-latin_latin-ext-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-condensed-700italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/roboto-condensed-v27-latin_latin-ext-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-condensed-v27-latin_latin-ext-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* material-icons-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/material-icons-v142-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/material-icons-v142-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

html {
  font-size: 15px;
}

body, * {
  font-family: 'Roboto Slab';
  font-size: 16px;
}

/* startseite */
.site-index::before {
  background: url(../img/Paech_Auftakt_U3G.webp) no-repeat;
  background-position: center;
  background-size: cover;
  content: '';
  display: block;
  height: 100dvh;
  left: 0;
  opacity: 0.3;
  position: fixed;
  top: 0;
  width: 100dvw;
  z-index: 0;
}
.site-index > div {
  position: relative;
  z-index: 1;
}
/* ende startseite */

a {
  border-bottom: #e30713 dotted 1px;
  color: #e30713;
  font-weight: 700;
  text-decoration: none;
}

p {
  margin-bottom: 1em;
}

#header {
  margin: 0 auto;
  max-width: 1464px;
  padding: 1rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

#awo-logo svg {
  height: auto;
  width: 180px;
}

#main {
  margin: auto;
  max-width: 1464px;
  min-height: 500px;
  padding: 1rem;
  width: 100%;
}

@media (min-width: 576px) {
  #header, 
  #main {
    padding: 2rem;
  }
}


#main .container {
  padding: 0;
  margin-left: auto;
  margin-right: 0;
  max-width: 1300px;
  width: 100%;
}

/* .logo {
  margin-top: 100px;
  font-size: 3em;
}

.logo > img {
  width: 80px;
} */

.termine {
  margin-left: auto;
  max-width: 1300px;
}

.termin {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
  position: relative;
  padding-left: 1.5em;
}

.datum-wrapper {
  display: flex;
  width: 100%;
}

@media (min-width: 576px) {
  .termin {
    flex-wrap: nowrap;
    gap: 1em;
    margin-bottom: 0;
    padding-left: 2em;
  }
  .datum-wrapper {
    width: fit-content;
  }
}

.termin::before {
  content: "\e5cc";
  font-family: 'Material Icons';
  font-size: 125%;
  left: 0;
  position: absolute;
  top: -0.1em;
}

.termin .wochentag {
  width: 2em;
}

.termin .datum {
  width: 4em;
  text-align: right;
}

.termin .titel {
  hyphens: auto;
}

.termin .titel a {
  font-weight: 700;
  color: rgb(33, 37, 41);
  text-decoration: none;
  border-bottom: 1px dotted rgb(33, 37, 41);
}

h1.kategorie, h2.kategorie {
  font-size: 2em;
  font-family: 'Roboto Condensed';
  font-weight: 700;
  font-style: italic;
  color: #e30713;
  margin-bottom: 0.5em;
}

h2.kategorie {
  background-color: #e30713;
  padding: 0.2em 1em;
  width: fit-content;
  color: white;
  font-size: 1.5em;
  margin-top:1.5em;
}

.only-future {
  margin-top: -0.7em;
  margin-bottom: 1em;
}

.anmeldung > form > table {
  margin-top: 2em;
}

button {
  margin-top: 1em;
}

input.begleiter {
  width: 4em;
}

.lists {
  min-height: 3em;
  display: flex;
  /* justify-content: center;
  align-items: center; */
  margin: 0 0 2em 0;
  padding-bottom: 1em;
  border-bottom: 1px solid #ece9e3;
}

.lists a {
  font-family: 'Roboto Condensed';
  font-weight: 700;
  color: #e30713;
  text-decoration: none;
  border-right: 2px solid #ece9e3;
  border-bottom: none;
  font-size: 1.25em;
  padding: 0.4em 0.75em;
}

.lists a span {
  border-bottom: 1px dotted #e30713;
  font-size: 100%;
}

.lists a:first-child {
  padding-left: 0;
}

.lists .last {
  border: 0;
}

footer {
  position: relative;
  z-index: 1;
}

#footer {
  background-color: #f5f5f5;
  font-size: 0.9em;
  height: 60px;
}

#footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
  outline: none;
}

td .form-group {
  text-align: center;
}

.form-group .help-block {
  color: red;
}

td {
  padding: 0.5em 0.5em;
}

th {
  padding: 0em 0.5em;
}

label {
  margin-right: 1em;
}

/* ################# shoppingcart ################## */

.event-card-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.event-card {
  border: #ece9e3 1px solid;
  box-shadow: 0 0 10px rgba(236, 233, 227, 0.5);
  padding: 10px;
  position: relative;
  width: 100%;
  @media (min-width: 576px) {
    width: calc(50% - ((1 / 2) * 10px));
  }
  @media (min-width: 992px) {
    width: calc(33.3333% - ((2 / 3) * 10px));
  }
  @media (min-width: 1200px) {
    width: calc(25% - ((3 / 4) * 10px));
  }
  @media (min-width: 1400px) {
    width: calc(20% - ((4 / 5) * 10px));
  }
}

/* startseite */
.site-index .event-card-wrapper {
  justify-content: center;
}
.site-index .event-card-wrapper .event-card {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  @media (min-width: 576px) {
    width: 100%;
  }
  @media (min-width: 992px) {
    width: calc(50% - ((1 / 2) * 10px));
  }
  @media (min-width: 1200px) {
    width: calc(33.3333% - ((2 / 3) * 10px));
  }
  @media (min-width: 1400px) {
    width: calc(25% - ((3 / 4) * 10px));
  }
}
/* ende startseite */

.delete-event {
  background-image: url(../img/icon_delete.svg);
  background-position: 10px 5px;
  background-repeat: no-repeat;
  background-size: 25px;
  cursor: pointer;
  height: 40px;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
}
.delete-event div {
  display: none;
}
h2.event-date {
  background-color: #e30713;
  color: #FFF;
  font-size: 100%;
  font-weight: 700;
  margin: -10px 0 1px -10px;
  padding: 10px;
  width: fit-content;
}
h3.event-title {
  font-size: 100%;
  margin: 10px 0;
}
h3.event-title a {
  font-size: 125%;
  hyphens: auto;
}
.event-additional-infos-wrapper {
  border-top: 1px solid #ece9e3;
  margin-top: 10px;
  padding-top: 10px;
}
.event-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  min-height: 30px;
  width: 100%;
}
.event-select {
  background-color: #ece9e3;
  margin: 0 -10px;
  padding: 5px 10px;
  width: calc(100% + 20px);
}
section.form-wrapper {
  margin-bottom: 20px;
}

/* ################# veranstaltung ################## */

.veranstaltungs-titel {
  font-size: 1.5em;
  font-weight: 700;
  hyphens: auto;
  margin-bottom: 0.5em;
  padding-left: 1.2em;
  position: relative;
}
.veranstaltungs-titel::before {
  content: "\e5cc";
  font-family: 'Material Icons';
  font-size: 1.5em;
  left: -0.25em;
  position: absolute;
  top: -0.15em;
}
@media (min-width: 992px) {
  .veranstaltungs-titel {
    font-size: 2em;
  }
}


.details {
  margin-bottom: 1em;
}
.details div {
  border-bottom: 1px solid #ece9e3;
  padding: 0.5em;
}

.details div:first-child {
  border-top: 1px solid #ece9e3;
}

@media (min-width: 768px) {
  .details {
    display: flex;
    margin-bottom: 1em;
  }
  .details div {
    border-bottom: none;
    border-right: 1px solid #ece9e3;
    padding: 0.5em;
  }
  
  .details div:first-child {
    border-top: none;
    padding-left: 0;
  }
  
  .details div:last-child {
    border-right: none;
    padding-right: 0;
  }    
}

.btn {
  background-color: #e30713;
  border: none;
  border-radius: 0;
  font-size: 1em;
  font-weight: 700;
  padding: 0.75em 0.75em 0.75em 2em;
  position: relative;
  text-align: left;
}

.btn:hover {
  background-color: rgb(189, 23, 31);
}

.btn::before {
  content: "\eac9";
  color: #FFF;
  font-family: 'Material Icons';
  font-size: 1.5em;
  left: 0.2em;
  position: absolute;
  top: 0.25em;
}

div.multipleEvents {
  margin-bottom: 1em;
}

.form-group .help-block {
  padding-bottom: 0.6em;
}

.error-summary {
  margin-top: 1em;
}

.error-summary ul {
  margin: 0;
}