/* blechsonne */

/* #region fonts */

/* a[href="/blechsonne/events/bdc660a7-0e19-41d2-9b4c-98d1ef40e07d"] {
  display: none !important;
} */

/* open-sans-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: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("https://static.dev.copilot.events/suedpol_artists/fonts/open-sans-v35-latin/open-sans-v35-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - 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: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("https://static.dev.copilot.events/suedpol_artists/fonts/open-sans-v35-latin/open-sans-v35-latin-600.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - 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: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("https://static.dev.copilot.events/suedpol_artists/fonts/open-sans-v35-latin/open-sans-v35-latin-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-family: 'Krungthep';
  src: url('https://static.dev.copilot.events/blechsonne/fonts/Krungthep.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* #endregion */

:root {
  --bg: #d8d8d8;
  --brandColor: hsl(4, 36%, 65%);
  --buttonBorderRadius: 12px;
  --buttonBorderColor: hsl(4, 36%, 65%);
  --buttonBackground: linear-gradient(245deg,
  hsl(4, 50%, 65%) 65%,
  hsl(4, 50%, 65%) 100%);
  /* --buttonBorderColor: #575745;
  --buttonBackground: linear-gradient(245deg,
  #575745 65%,
  #575745 100%); */
  --tableBorderColor: hsla(60, 11.5%, 30.6%, 0.2);
  --bs-border-color: hsla(60, 11.5%, 30.6%, 0.2) !important;

  --darkfont: rgb(0, 0, 0);
  --buttonTextColor: white;
  --borderRadius: 12px;
  --fontColor: black;
  --fontFamilySpecial: "Krungthep";
}

#logo img {
  width: 100%;
  transform: scale(0.85);
}

html,
body,
pre {
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font-size: 15px;
  line-height: 1.42857143;
}

nav.navbar, body,
.bg-light {
  background: var(--bg) !important;

  /* TODO new */
  /* background-image: url("https://static.dev.copilot.events/blechsonne/img/alufolie_pattern_lq.jpeg") !important; */
  /* background-image: url("https://i.ibb.co/M1Bf8Bd/alufolie-pattern-lq.jpg") !important; */
  background-repeat: repeat !important;
  background-size: 700px auto !important;
  background-blend-mode: lighten;
}

html,
body,
div,
p,
pre {
  font-family: "Open Sans", sans-serif;
  color: var(--fontColor);
}

.modal-content {
  color: var(--fontColor);
  background-color: var(--bg);
  border: 1px solid var(--fontColor);
  border-radius: var(--bs-modal-border-radius);
}

/* End Config */

.events-list img {
  object-fit: contain !important;
}

hr {
  height: 1px;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #000000;
}

/* .navbar {
  display: none;
} */

/* ----------------------------- */
/* ---------- LAYOUT ----------- */
/* ----------------------------- */

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr 150px;
}

footer {
  border-top: none !important;
  /* background-color: var(--bg); */
  padding-top: 1.4rem;
  display: grid;
  grid-template-areas:
    "socialicons socialicons"
    "legal service";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;text-transform: lowercase;
  grid-column-gap: 1rem;
  grid-row-gap: 0rem;
  padding-bottom: 1rem;
  margin: 0 !important;
  text-transform: lowercase;
}

.shop-logo {
  /* display: none !important; */
  height: 80px;
  margin-top: 10px !important;
  margin-left: 10px !important;
}
.shop-logo-2 {
  /* display: none !important; */
  height: 120px;
  margin-top: 10px !important;
}
/* .shop-nav {
  margin-right: calc(var(--bs-gutter-x) * .5);
  margin-left: calc(var(--bs-gutter-x) * .5);
  width: 70ch !important;
  max-width: 94vw !important;
  margin-top: 0 !important;
  margin-left: 10px !important;
} */

@media (min-width: 400px) {
  .shop-logo {
    height: 100px;
  }
}

@media (min-width: 600px) {
  .shop-logo {
    height: 120px;
  }
  .shop-logo-2 {
    height: 120px;
  }
  footer {
    grid-template-areas:
      "legal socialicons service"
      "legal socialicons service";
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto 1fr;
  }
}

.legal {
  grid-area: legal;
}

.service {
  grid-area: service;
}

.socialicons {
  grid-area: socialicons;
}

footer h3 {
  /* TODO extract? */
  /* font-family: "Open Sans", sans-serif; */
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 0.2rem 0;
  padding: 0;
}

footer,
footer a {
  /* TODO extract? */
  /* font-family: "Open Sans", sans-serif; */
  font-weight: normal;
  font-size: 12px !important;
  color: var(--fontColor) !important;
  /* text-decoration: none; */
}

footer a:hover {
  color: #ffffff;
}

.socialicons {
  gap: 1em;
}

.socialicons div {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.socialicons svg {
  color: white;
}

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

#BasketIconButton {
  font-size: 24px;
}

#logo {
  /* font-family: milkerregular; */
  font-size: 4em;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: -3px;
}

#logo a:hover,
#logo a:focus {
  text-decoration: none;
  color: #333 !important;
}

nav {
  display: flex;
  align-items: center;
  justify-content: start;
  position: relative;;
  /* text-transform: lowercase; */
}

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

/* ----------------------------- */
/* ---------- CONTENT ---------- */
/* ----------------------------- */

a, .navbar-brand {
  color: var(--font-color) !important;
  font-weight: normal;
  text-decoration: underline solid rgba(0, 0, 0, 0.3) 1px;
  font-size: 1rem;
}

a:hover, .navbar-brand:hover {
  text-decoration: underline solid rgba(0, 0, 0, 1) 1px;
}

h1 {
  font-size: 1.2rem;
  color: black;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 0.5rem !important;
}

input:not([type='checkbox']),
select,
textarea {
  border: 1px solid var(--fontColor) !important;
  background: var(--bg) !important;
  font-weight: normal;
  color: var(--fontColor) !important;
  padding: 0 10px;
  border-radius: var(--borderRadius) !important;
}

.form-select {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='var(--bg)' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px !important;
}

input:not([type='checkbox']) {
  height: 37.7px;
}

/* .btn {
  background: var(--buttonBackground) !important;
  text-decoration: none !important;
  color: var(--buttonTextColor) !important;
  border-radius: var(--borderRadius) !important;
  text-transform: uppercase;
  font-weight: bold;
} */

.btn-outline-primary,
.btn-outline-danger,
button,
.btn {
  background: var(--bg) !important;
  text-decoration: none !important;
  color: var(--fontColor) !important;
  border-radius: var(--buttonBorderRadius) !important;
  border-color: var(--fontColor) !important;
  text-transform: uppercase;
  font-weight: bold;
}

button[type="submit"],
input[type="submit"],
.btn-primary {
  background: var(--buttonBackground) !important;
  text-decoration: none !important;
  color: var(--buttonTextColor) !important;
  border-radius: var(--buttonBorderRadius) !important;
  border-color: var(--buttonBorderColor) !important;
  text-transform: uppercase;
  font-weight: bold;
}

/* .btn-outline-primary {
  background: none !important;
  color: #333 !important;
} */

.btn-outline-primary:hover,
.btn-outline-danger:hover,
button:hover,
.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-primary:hover {
  filter: brightness(1.1);
  text-decoration: none !important;
}

.btn-outline-primary:hover,
.btn-outline-danger:hover,
button:hover,
.btn:hover {
  background: var(--bg) !important;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-primary:hover {
  background: var(--buttonBackground) !important;
}

/* TODO doesn't work */
/* .modal-header .btn-close {
  background: black !important;
  color: green !important;
  border: yellow !important;
} */

th,
tr,
td {
  background: var(--bg) !important;
  color: var(--font-color) !important;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: var(--tableBorderColor);
}

.modal-header {
  border-bottom: none !important;
  display: none !important;
}

.modal-content {
  border-radius: var(--borderRadius);
}

.text-muted {
  color: var(--font-color);
  opacity: 0.7;
}

.alert-success, .alert-info {
  background: none !important;
  color: var(--fontColor) !important;
  border-color: var(--fontColor) !important;
  /* TODO change in repo */
  margin-bottom: 2rem !important;
  border-radius: var(--borderRadius) !important;
}

.alert-info {
  margin-left: -1rem !important;
  margin-right: -1rem !important;
}

.btn-lg {
  font-size: 1rem !important;
}

/* TODO regions? */
/* ------------------------- TICKET SHOP --------------------------- */

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

main h1 {
  text-align: left;
}

/* @media screen and (max-width:767px) {
  table tr > * {
    display: block;
    background: yellow;
  }

  table tr {
    display: table-cell;
  }
} */

input::placeholder {
  color: gray;
}

#TicketForm {
  margin-top: 0rem !important;
  margin-left: -1rem !important;
  margin-right: -1rem !important;
  /* width: 70ch !important;
  max-width: 94vw !important; */
  /* padding-right: 1rem; */
  border: 1px solid #575745;
  border-radius: 21px;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 0 20px 5px hsla(3.8, 59.6%, 63.1%, 0.4);
}

#TicketForm .input-group-addon {
  border: 1px solid red !important;
  display: none;
}

#TicketForm .btn {
  /* margin-top: 0.4rem !important; */
}

@media (min-width: 992px) {
  #TicketForm {
    /* margin-left: -1rem !important; */
    margin-left: -1rem !important;
    margin-right: -1rem !important;
  }
  #TicketForm .col-lg-6 {
    flex: 0 0 auto;
    width: 63.33% !important;
  }

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

/* main>div {
  max-width: 900px !important;
} */

.font-monospace {
  font-family: "Open Sans", sans-serif !important;
  font-weight: normal;
}

h2 {
  /* font-family: var(--fontFamilySpecial); */
  color: var(--font-color);
}

.form-check {
  display: flex;
  gap: 0.5rem;
}

main {
  padding-bottom: 4rem;
  padding-top: 4rem;
}

/* ------------------------------- */

button[title="Aus Warenkorb entfernen"] {
  border: none !important;
}

#addToCartButton {
  margin-top: 8px;
  /* box-shadow: 0 0 20px 5px hsla(3.8, 59.6%, 63.1%, 0.4); */
  transition: box-shadow 0.3s ease-in-out, filter 0.1s ease-in-out;
  background: none !important;
  color: black !important;
  border: 1px solid black !important;
}

#addToCartButton:hover {
  /* box-shadow: 0 0 20px 6px hsla(3.8, 59.6%, 63.1%, 0.6); */
  box-shadow: 0 0 30px 2px #856bfe;
}

#addToCartButton[disabled=""] {
  opacity: 0.4 !important;
}

.event-category-container {
  grid-template-columns: minmax(150px, 1fr) max-content 120px !important;
}
@media (max-width: 767px) {
  .event-category-container {
    grid-template-columns: minmax(150px, 1fr) 120px !important;
  }
  .event-category-column {
    grid-column-start: 1;
    grid-column-end: 3;
    margin-top: 1em;
    max-width: 270px;
  }
}

/* exclude service note! */
.event-category-footer > div:first-of-type {
  display: none !important;
}

.ticketinput .btn:first-of-type {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.ticketinput .btn:last-of-type {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.ticketinput input {
  border-radius: 0 !important;
}

h1 {
  /* display: none !important; */
}

main {
  padding-top: 0rem !important;
}
main > .container {
  margin-top: 0rem !important;
}
.col-md-8 {
  /* margin-left: 0rem !important;
  max-width: 70ch !important;
  margin: 0 auto !important; */
  
  
  width: 100% !important;
/* 
  width: 70ch !important;
  max-width: 94vw !important; */
}
.col-md-4 {
  display: none !important;
}
@media (min-width: 576px) {
  /* .col-md-8 {
    margin-left: 10rem !important;
  } */
}

/* .navbar-nav, .navbar-toggler {
  display: none;
} */

.shop-nav {
  width: 70ch !important;
  max-width: 94vw !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.fixed-top {
  position: relative !important;
  margin-top: -1rem !important;
  margin-bottom: 3rem !important;
}

main {
  width: 70ch !important;
  max-width: 94vw !important;
  margin: 0 auto !important;
}

main > .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 70ch !important;
  max-width: 94vw !important;
  margin: 0 auto !important;
}

.alert-success,
.alert-info {
  background: none !important;
  color: var(--fontColor) !important;
  border-color: var(--fontColor) !important;
  /* TODO change in repo */
  margin-bottom: 0rem !important;
  border-radius: var(--borderRadius) !important;
}

.events-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
  margin: 0 0.25rem !important;
}
.events-list > div {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.events-list * {
  border-radius: 21px !important;
}
@media (min-width: 600px) {
  .events-list {
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) !important;
    margin: 0 !important;
  }
}

/* remove date + location from cart modal items since it confusingly displays first day of festival */
#cartModal > .modal-dialog > .modal-content > .modal-body > div:first-of-type > .d-flex > .d-flex > div:nth-of-type(2) {
  display: none !important;
}

