/* Parent styles apply only to the VTO event detail selector. */
#content.vto-detail-content .vto-inline-tickets {
  clear: both;
  box-sizing: border-box;
  width: 100%;
  margin: 12px 0 20px;
  padding: 12px;
  border: 1px solid #e0e5ec;
  border-top: 3px solid var(--main, #db0028);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 27, 45, .06);
  scroll-margin-top: 110px;
}
#content.vto-detail-content .vto-inline-tickets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
#content.vto-detail-content .vto-inline-tickets-header h2 { margin: 0; padding: 0; font-size: 16px; line-height: 1.3; color: #172536; text-transform: none; text-decoration: none; border: 0; }
#content.vto-detail-content .vto-inline-tickets-header button {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #344256;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
#content.vto-detail-content .vto-inline-tickets-header button:hover { background: #f0f2f5; }
#content.vto-detail-content .page_left .dates > .vto-date-expanded {
  border-color: #d5a8b0 !important;
}
/* Nesting the selector makes the legacy empty tail span cease to be :last-child.
   Keep it out of the grid so a third action cannot create an implicit column. */
#content.vto-detail-content .page_left .dates > .vto-date-expanded > span:empty {
  display: none !important;
}
#content.vto-detail-content .page_left .dates > div > .vto-inline-tickets {
  grid-column: 1 / -1;
  grid-row: 3;
  order: 99;
  flex: 0 0 100%;
  min-width: 0;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid #e6ebf2;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
}
#content.vto-detail-content .page_left .dates > div .vto-inline-tickets > p {
  margin: 6px 0 !important;
  padding: 0 !important;
}
#content.vto-detail-content .page_left .dates > div .vto-inline-tickets > p::before { content: none; }
#content.vto-detail-content .vto-inline-tickets > .vto-ticket-message,
#content.vto-detail-content .page_left .dates > div .vto-inline-tickets > .vto-ticket-message {
  position: relative;
  margin: 6px 0 !important;
  padding: 10px 12px 10px 36px !important;
  border: 1px solid #e7ba75;
  border-left: 4px solid #b97512;
  border-radius: 6px;
  background: #fff3db;
  color: #69420b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
#content.vto-detail-content .vto-inline-tickets > .vto-ticket-message::before,
#content.vto-detail-content .page_left .dates > div .vto-inline-tickets > .vto-ticket-message::before {
  content: '!';
  position: absolute;
  top: 11px;
  left: 10px;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  transform: none;
  text-align: center;
  font: 700 12px/16px Arial, sans-serif;
}
#content.vto-detail-content .vto-inline-tickets-frame { display: block; width: 100%; height: 400px; border: 0; }
#content.vto-detail-content .vto-inline-tickets [hidden],
.vto-inline-reservation [hidden] { display: none !important; }
#content.vto-detail-content .vto-inline-tickets :focus-visible,
.vto-inline-reservation :focus-visible { outline: 3px solid #245da8; outline-offset: 3px; }

/* These rules activate only inside the embedded reservation document. */
html.vto-inline-reservation,
.vto-inline-reservation body {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}
.vto-inline-reservation .contentwrapper,
.vto-inline-reservation #content {
  float: none !important;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.vto-inline-reservation body,
.vto-inline-reservation td,
.vto-inline-reservation p { font-size: 16px; line-height: 1.5; color: #344256; }
.vto-inline-reservation h1 { display: none; }
.vto-inline-reservation #content > h1 {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: #172536;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}
.vto-inline-reservation h3.reservieren { display: none; }
.vto-inline-reservation .vto-ticket-date { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.vto-inline-reservation #RESERVIEREN > table { border-collapse: separate; border-spacing: 0 2px; }
.vto-inline-reservation #RESERVIEREN td { padding: 3px 6px; font-size: 14px; line-height: 1.3; }
.vto-inline-reservation #RESERVIEREN td > div { max-width: 100%; height: auto !important; white-space: normal; }
.vto-inline-reservation .vto-ticket-category { background: #f5f7fa; }
.vto-inline-reservation .vto-ticket-category td:first-child { border-radius: 8px 0 0 8px; font-weight: 600; }
.vto-inline-reservation .vto-ticket-category td:last-child { border-radius: 0 8px 8px 0; }
.vto-inline-reservation .vto-ticket-selected { background: #fff0f3; }
.vto-inline-reservation .vto-ticket-unavailable { opacity: .65; }
.vto-inline-reservation .vto-ticket-counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd3dd;
  border-radius: 8px;
  background: #fff;
  white-space: nowrap;
}
.vto-inline-reservation .vto-ticket-counter button {
  box-sizing: border-box;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #172536;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}
.vto-inline-reservation .vto-ticket-counter button:hover:not(:disabled) { background: #edf1f6; }
.vto-inline-reservation .vto-ticket-counter button:disabled { color: #a3adbb; cursor: default; }
.vto-inline-reservation .vto-ticket-counter span { min-width: 24px; text-align: center; font-size: 15px; font-weight: 600; }
.vto-inline-reservation .vto-ticket-summary { margin-top: 12px; padding: 12px; border: 1px solid #e0e5ec; border-radius: 12px; background: #f5f7fa; }
.vto-inline-reservation #RESERVIEREN .vto-ticket-unavailable-notice {
  position: relative;
  box-sizing: border-box;
  margin: 6px 0;
  padding: 10px 12px 10px 36px;
  border: 1px solid #e7ba75;
  border-left: 4px solid #b97512;
  border-radius: 6px;
  background: #fff3db;
  color: #69420b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.vto-inline-reservation .vto-ticket-unavailable-notice::before {
  content: '!';
  position: absolute;
  top: 11px;
  left: 10px;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-align: center;
  font: 700 12px/16px Arial, sans-serif;
}
.vto-inline-reservation #RESERVIEREN .vto-ticket-payment-notice {
  display: flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  width: 100% !important;
  margin: 2px 0;
  padding: 3px 5px !important;
  border: 1px solid #f39cb4;
  border-radius: 5px;
  background: #ffb3c7 !important;
  color: #0a0b09;
  text-align: left !important;
  font-size: 12px;
  line-height: 1.25 !important;
}
.vto-inline-reservation .vto-ticket-payment-notice img {
  box-sizing: border-box;
  border: 1px solid #0a0b09;
  border-radius: 4px;
  flex: 0 0 45px;
  width: 45px;
  height: 25px;
  margin: 0;
  object-fit: contain;
}
.vto-inline-reservation .vto-ticket-payment-notice > span { min-width: 0; }
.vto-inline-reservation .vto-ticket-summary input[type="submit"] {
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  margin: 0 !important;
  width: 100%;
  min-height: 48px;
  height: auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: #171b24;
  box-shadow: none;
  text-shadow: none;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.vto-inline-reservation .vto-ticket-summary input[type="submit"]:hover:not(:disabled),
.vto-inline-reservation .vto-ticket-summary input[type="submit"]:focus-visible:not(:disabled) {
  background: #303b4e;
  box-shadow: 0 5px 12px rgba(23, 27, 36, .22);
  transform: translateY(-2px);
}
.vto-inline-reservation .vto-ticket-summary input[type="submit"]:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(23, 27, 36, .16);
}
.vto-inline-reservation .vto-ticket-summary input[type="submit"]:disabled { background: #626975; cursor: wait; }
@media (prefers-reduced-motion: reduce) {
  .vto-inline-reservation .vto-ticket-summary input[type="submit"] {
    transition: none;
    transform: none !important;
  }
}
@media (pointer: coarse) {
  #content.vto-detail-content .vto-inline-tickets-header button { width: 44px; height: 44px; }
  .vto-inline-reservation .vto-ticket-counter button { min-height: 44px; }
}
@media (max-width: 600px) {
  #content.vto-detail-content .vto-inline-tickets { padding: 10px; scroll-margin-top: 90px; }
  .vto-inline-reservation #RESERVIEREN > table,
  .vto-inline-reservation #RESERVIEREN > table > tbody { display: block; width: 100%; }
  .vto-inline-reservation #RESERVIEREN tr { display: block; margin-bottom: 3px; }
  .vto-inline-reservation #RESERVIEREN tr > td { display: block; box-sizing: border-box; padding: 1px; }
  .vto-inline-reservation #RESERVIEREN tr > td:empty { display: none; }
  .vto-inline-reservation #RESERVIEREN .vto-ticket-table-heading { display: none; }
  .vto-inline-reservation #RESERVIEREN .vto-ticket-category { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0 6px; padding: 4px 6px; border-radius: 6px; }
  .vto-inline-reservation #RESERVIEREN .vto-ticket-category td { font-size: 13px; overflow-wrap: anywhere; }
  .vto-inline-reservation .vto-ticket-category td:nth-child(1),
  .vto-inline-reservation .vto-ticket-category td:nth-child(2) { grid-column: 1; }
  .vto-inline-reservation #RESERVIEREN .vto-ticket-category td:nth-child(2) { font-size: 12px; }
  .vto-inline-reservation .vto-ticket-category td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .vto-inline-reservation #RESERVIEREN .vto-ticket-category td:nth-child(3) div { margin: 0 !important; font-weight: 600; white-space: nowrap; }
  .vto-inline-reservation .vto-ticket-category td:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
  .vto-inline-reservation .vto-ticket-counter button { width: 30px; min-height: 44px; font-size: 20px; }
  .vto-inline-reservation .vto-ticket-counter span { min-width: 20px; font-size: 14px; }
}
