/* Project-specific overrides (loaded after app.css) */

:root {
  /* Faint castle photo used as the site background (parts of the castle,
     as on the original site). Referenced by --backgroundImage. */
  --sf-img-1: url("/static/d96fd8770c9e8204.jpg");
  /* Membership-group card image used on the Home page. */
  --sf-img-11: url("/static/1081ae8a0338ac97.jpg");
}

/* Bootstrap 3 col-xs-* aliases used by extracted ticket-row markup. */
.col-xs-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-xs-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Ticket / voucher quantity counter: keep "-", value and "+" inside the pill. */
.ticket-box {
  flex-shrink: 0;
}

.ticket-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ticket-counter button {
  flex: 0 0 2rem;
  width: 2rem !important;
  min-width: 2rem;
  height: 100%;
  padding: 0 !important;
  margin: 0;
  border: none;
  line-height: 1 !important;
  font-size: 1.3rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.ticket-counter--value {
  flex: 0 0 2rem;
  width: 2rem !important;
  min-width: 2rem;
  margin: 0 !important;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accept-terms checkbox: align with other form fields inside Bootstrap form-check */
.form-checkbox.form-check {
  position: relative;
  padding-left: 25px;
  margin-bottom: 0;
  min-height: 1.5rem;
}

.form-checkbox .form-check-input {
  position: absolute;
  top: 0.25rem;
  left: 0;
  margin: 0;
  -webkit-appearance: checkbox;
  appearance: auto;
  width: 13px;
  height: 13px;
}

.form-checkbox .form-check-label {
  margin-bottom: 0;
  cursor: pointer;
}

/* Payment "Enter your Details" card: let it grow with its content instead of
   being clipped at a fixed 400px height (which hid the Continue button). */
.card {
  height: auto;
  max-height: none;
}
.card-body {
  max-height: none;
  overflow-y: visible;
}

/* Footer text: override dark link-hover-animation colour on green background */
.site-footer,
.site-footer .column-header,
.site-footer .footer-links li,
.site-footer .footer-links span,
.site-footer .footer-links a,
.site-footer .link-hover-animation {
  color: #fff !important;
}

.site-footer .footer-links a:hover,
.site-footer .link-hover-animation:hover {
  color: #fff !important;
}
