/* assistant-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: "Assistant";
  font-style: normal;
  font-weight: 400;
  /* src: url("../suedpol/fonts/assistant-v19-latin-regular.woff2") format("woff2"); */
  src: url("https://copilotshop.spserv.de/suedpol/fonts/assistant-v19-latin-regular.woff2")
    format("woff2");
}

:root {
  --text-color: rgb(18, 18, 18);
  --lightgray: #ddd;
  --font-body-scale: 1;
  --color-foreground: 18, 18, 18;
}

html,
body,
pre {
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font-family: "Assistant", sans-serif;
  color: var(--text-color) !important;
  font-size: 15px;
  line-height: 1.42857143;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: #fefefe !important;
  color: var(--text-color) !important;
}

#tickets-expired {
}

hr {
  height: 1px;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: var(--text-color);
}

.navbar {
  display: none;
}

.announcement-bar {
  font-size: 11px;
  letter-spacing: 0.1rem;
}

.headercontainer {
  border-width: 1px 0 1px 0;
  border-style: solid;
  border-color: var(--lightgray);
}

footer {
  font-size: 11px;
  letter-spacing: 0.1rem;
}

#cart {
  display: flex;
  justify-content: flex-end;
  padding: 0;
}

#logo img {
  width: 200px;
  max-width: 90%;
  filter: invert(42%) sepia(95%) saturate(457%) hue-rotate(81deg)
    brightness(105%) contrast(86%);
}

nav {
  display: flex;
  align-items: center;
  justify-content: start;
  position: relative;
}

section {
  margin: 20px;
  min-height: 400px;
}

nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

nav > ul > li a {
  font-size: 14px;
  display: flex;
  align-items: center;
  line-height: calc(1 + 0.3 / var(--font-body-scale));
  text-decoration: none;
  color: rgba(var(--color-foreground), 0.6);
  letter-spacing: 0.05rem;
}

nav > ul {
  height: auto;
  justify-content: flex-end;
}

nav > ul > li {
  margin-left: 20px;
}

nav > ul > li a:hover,
nav > ul > li a.active {
  color: rgba(var(--color-foreground), 0.9);
}

a {
  font-weight: normal;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  text-transform: none !important;
  font-size: 2.5em !important;
  margin-bottom: 1rem;
  text-align: left !important;
}

/* input,
select,
textarea {
  border: 1px solid #d3d3d3;
  background: #f6f6f6;
  font-weight: normal;
  color: #555555;
  padding: 0 10px;
} */

/* button[type="submit"],
input[type="submit"],
.btn-primary,
.btn-outline-primary,
.btn-outline-danger,
button {
  font-size: 0.7rem !important;
  background-color: rgb(156, 169, 165) !important;
  padding: 5px 9px !important;
  color: white !important;
  border: none !important;
  border-radius: 4px;
} */

#addToCartButton {
  margin-top: 0.4rem !important;
}

/* .btn-primary {
  background-color: #0d6efd !important;
  color: black !important;
  border: 1px solid black !important;
  padding: 12px 24px !important;
  padding: 10px 20px !important;
  font-size: 1rem !important;
  font-size: 1.1rem !important;
  border-radius: 0 !important;
  width: 100%;
} */

/* .btn-primary:hover {
  background-color: black !important;
  color: white !important;
} */

/* #region ticket */
/* ------------------------- TICKET SHOP --------------------------- */

.navbar-nav li:first-of-type {
  display: none;
}

main h1 {
  text-align: left;
}

input::placeholder {
  color: rgb(156, 169, 165) !important;
}

/* .btn-outline-primary:hover,
.btn:hover {
  background-color: #3a3a3a !important;
  text-decoration: none !important;
} */

.p-3.mt-3.mb-2.bg-light.text-dark {
  margin: 40px 0 0 !important;
  padding: 0 !important;
  background-color: white !important;
  border: 0 !important;
}

.event-category-container {
  border: 0 !important;
  padding: 0 !important;
}

@media (min-width: 992px) {
  #TicketForm .col-lg-6 {
    flex: 0 0 auto;
    width: 63.33% !important;
  }

  #TicketForm .col-lg-4 {
    flex: 0 0 auto;
    width: 20% !important;
  }
}

/* #endregion */

.event-category-container {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 2rem;
}
/* 
.input-group.ticketinput {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  width: 120px;
  height: 40px;
  margin: 0;
}

.input-group.ticketinput .btn-secondary {
  background: white !important;
  border: none !important;
  color: #333 !important;
  font-size: 1.2rem !important;
  padding: 0 10px !important;
  height: 100%;
}

.input-group.ticketinput .form-control {
  border: none;
  background: white;
  width: 40px;
  padding: 0;
  text-align: center;
  font-size: 1rem;
} */

.event-category-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.event-category-footer > div:first-child {
  margin-bottom: 1rem;
}

/* Anzahl Label Styling */
.event-category-container > div:nth-child(1) {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Preis Styling */
.price-column {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Gesamtpreis Styling */
.event-category-footer div div {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.event-category-column {
  font-weight: 500;
}

.ticketinput {
  width: 120px;
  margin-left: auto;
}

.btn-secondary {
  background-color: #f8f9fa !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}

@media (min-width: 768px) {
  .row.d-flex.p-3 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 2rem;
    align-items: flex-start;
  }

  .col-md-4 {
    width: 60% !important;
    flex: 0 0 60% !important;
    max-width: 60% !important;
  }

  .col-md-8 {
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }

  .order-md-last {
    order: 1 !important;
  }

  .order-md-first {
    order: 2 !important;
  }

  .row .col-md-6:nth-of-type(2) {
    margin-left: 10px !important;
    margin-right: -10px !important;
    width: 49%;
  }
}

.events-list > div {
  margin-bottom: 10px;
}

/* #region Bilder */
/* Gilt für alle Bilder*/
.image-container {
  overflow: hidden;
}

.image-container img {
  width: 100%;
  object-fit: cover;
  border: none !important;
  opacity: 1 !important;
}
/* #region Event Liste */

.events-list .image-container {
  height: 300px !important;
  max-height: 300px;
  margin-bottom: 0.5rem;
}

.events-list .image-container img {
  width: 100%;
  height: 300px !important;
}

/* #endregion */

/* #region Event Detail Liste */
.row:not(.events-list) {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.row:not(.events-list) .image-container {
  overflow: hidden;
  height: 500px !important;
  margin: 0 !important;
}

.row:not(.events-list) .image-container img {
  width: 100%;
  height: 100% !important;
}

/* #endregion */
/* #endregion */

main {
  padding-bottom: 4rem;
}

.policies {
  margin: 0 !important;
}

.turbo-progress-bar {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  height: 3px;
  background: #0076ff;
  z-index: 2147483647;
  transition: width 300ms ease-out, opacity 150ms 150ms ease-in;
  transform: translate3d(0, 0, 0);
}

#CustomerForm .row .col-md-6 {
  padding: 0 !important;
}
