/* blechsonne */

/* #endregion */

/* TODO primary buttons */
:root {
  --bg: white;
  --brandColor: #ee252b;
  --buttonBorderRadius: 0px;
  --buttonBorderColor: black;
  --buttonBackground: hsla(60, 11.5%, 30.6%, 0);
  --buttonBackgroundHover: hsla(60, 11.5%, 30.6%, 0.1);
  --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: black;
  --borderRadius: 0px;
  --fontColor: black;
}


.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;
}

.bg-light {
  background: none !important;
}

#TicketForm {
  margin-top: -0.5rem !important;
  margin-bottom: -0.5rem !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: var(--borderRadius);
  padding: 1.5rem 1.5rem;
}

#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;
  }
}

#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; */
  background: var(--buttonBackgroundHover) !important;
}

#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: var(--buttonBorderRadius) !important;
  border-bottom-left-radius: var(--buttonBorderRadius) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  height: 38px !important;
}

.ticketinput .btn:last-of-type {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: var(--buttonBorderRadius) !important;
  border-bottom-right-radius: var(--buttonBorderRadius) !important;
  height: 38px !important;
}

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

main {
  padding-top: 0rem !important;
}
main > .container {
  margin-top: 0rem !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;
}

main > .container > div > .d-flex {
  /* display: grid !important;
  grid-template-columns: 70ch auto !important; */
}

main > .container > div > .d-flex > div {
  /* width: 100% !important; */
}

.container {
  max-width: 1000px !important;
  /* background: lime !important; */
}

@media (min-width: 768px) {
  .col-md-8 {
    flex: 0 0 auto;
    width: 55% !important;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 45% !important;
  }
}

.shop-nav {
  /* width: 70ch !important; */
  /* max-width: 94vw !important; */
  /* margin: 0 auto !important; */
  padding: 0 calc(var(--bs-gutter-x) * .5) 0 0 !important;
}

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

.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;
  }
}
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(--buttonBackground) !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;
  background: var(--buttonBackgroundHover) !important;
}

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

button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-primary:hover {
  background: var(--buttonBackgroundHover) !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;
}

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

.events-list img {
  object-position: center !important;
}