/* Datei aus THEORG 15.00.4 */

:root {
  --accent: #637daa;
  --accent-2: #f4a75a;

  --shadow: 1px 1px 5px #00000027;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Oswald-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
body,
html {
  font-family: "Montserrat", sans-serif;
  color: #21437e;
  font-size: 19px;
  text-align: left;
  font-style: normal;
  font-variant: normal;
  line-height: normal;
  font-weight: 400;
  height: 16px;
}

ol {
  display: flex;
  gap: 1rem;
}

div.testmode {
  display: block;
  background-color: #3949ab;
  color: #ffffff;
  font-size: 1.17em;
  padding: 1em;
  margin: -8 -8 8 -8;
}

a:link,
a:visited {
  text-decoration: underline;
  color: var(--accent);
}

a:active,
a:hover,
a:focus {
  color: var(--accent);
  text-decoration: underline;
  background-color: transparent;
}

h1.sectiontitle {
  border-bottom: 1px solid #4b4b4b;
  font-size: 4rem;
  padding: 0;
  margin: 0 0 20px 0;
}

div.sectiontitle {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 7px;
  color: var(--accent);
}

div.login {
  margin-bottom: 7px;
}

rd {
  padding: 3px 4px;
  margin: 0 0 5px 0;
}

input {
  border: 1px solid #a3a3a3;
  padding: 1px 4px;
}

input.ed {
  width: 250px;
}

input.date {
  width: 80px;
}

input.subbtn {
  padding: 1px 15px 1px 15px;
  background: -webkit-gradient(
    linear,
    0% 0%,
    0% 112%,
    from(#f8f3f3),
    to(#d6d6d6)
  );
  background-color: #e7e7e7;
  border-radius: 3px;
  font-size: 13px;
  font-family: Arial;
  font-weight: bold;
  margin: 2px 0 0 0;
  border: 1px solid #8d8d8d;
  vertical-align: top;
  cursor: pointer;
}

select {
  margin: 0;
}

label.lbltxtext {
  display: block;
  float: left;
  width: 240px;
  line-height: 20px;
}

label.lbltxt {
  display: block;
  float: left;
  width: 120px;
  line-height: 20px;
}

label.lbltxtreg {
  display: block;
  float: left;
  width: 150px;
  line-height: 20px;
}

label.lbltxtl {
  display: block;
  float: left;
  width: 160px;
  line-height: 20px;
}

label.lbltxttleft {
  display: block;
  float: left;
  width: 85px;
  line-height: 20px;
}

label.lbltxttright {
  display: block;
  float: left;
  width: 180px;
  line-height: 20px;
}

li.overview {
  list-style-type: none;
  background-repeat: no-repeat;
  background-position: 0 6px;
  margin: 0;
  padding: 3px 0 0 0;
  line-height: 200%;
}

li.bookedevents {
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
}

ul,
menu,
dir {
  display: block;
  list-style-type: none;
  margin-before: 1em;
  margin-after: 1em;
  margin-start: 0px;
  margin-end: 0px;
  padding-start: 40px;
}

img.cntimg {
  float: left;
  margin: 0 10px 0 0;
  border: 1px solid #898989;
}

img.indicator {
  float: left;
  margin: 1px 5px 0 0;
}

table {
  font-size: 13px;
}

table.events {
  width: 100%;
  padding: 0;
  margin: 0;
}

table.header {
  border-bottom: 1px solid #898989;
  width: 100%;
  padding: 0;
  margin: 0;
}

tr.catalog {
  background-color: #d2d2d2;
}

tr.events {
  font:
    81.25% Verdana,
    Arial,
    Helvetica,
    sans-serif;
}

tr.eventsaltered {
  font:
    81.25% Verdana,
    Arial,
    Helvetica,
    sans-serif;
  background-color: #f7f7f7;
}

td.events {
  padding: 4px 10px 4px 10px;
  margin: 0;
}

td.eventstime {
  text-align: center;
  padding: 4px 10px 4px 10px;
  margin: 0;
}

td.catalog {
  width: 400px;
}

td.catalogspacer {
  padding: 0 20px 20px 0;
  width: 400px;
}

td.price {
  /* Container f�r den online dargestellten Preis
  font-weight: bold;
  */
}

td.header {
  font:
    81.25% Verdana,
    Arial,
    Helvetica,
    sans-serif;
  padding: 0;
  margin: 0;
}

th {
  font:
    100% Verdana,
    Arial,
    Helvetica,
    sans-serif;
  background-color: #d2d2d2;
  border: 0;
  padding: 7px 10px 7px 10px;
  margin: 0;
  color: #575757;
}

textarea {
  font:
    100% Verdana,
    Arial,
    Helvetica,
    sans-serif;
  border: 1px solid #a3a3a3;
  margin: 0px;
  width: 320px;
}

div.inputbox {
  margin: 0 0 5px 0;
  padding: 0 0 0 0;
}

div.cleanup {
  clear: both;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  line-height: 0px;
}

div.nav {
  margin-bottom: 12px;
}

ul.errorbox {
  list-style-type: circle;
  margin-left: 1.5em;
  padding-left: 0px;
}

div.errorbox {
  color: #a31919;
  background-color: #ffffdd;
  border-radius: 3px;
  border: 1px solid #a31919;
  width: 370px;
  padding: 10px;
}

.container-xxl {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navbar-nav {
  padding: 0;
}

.leistungsgruppen a {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: rgb(225, 225, 225);
  text-decoration: none !important;
  transition: all 0.3s ease;
  max-width: 300px;
  border-radius: 10px;
}

.leistungsgruppen a:hover {
  box-shadow: var(--shadow);
}

.leistungsgruppen a img {
  max-width: 100%;
  border-radius: 10px 10px 0 0;
}

.leistungsgruppen a strong {
  text-decoration: none !important;
  padding: 0.5rem;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

/* Formular-Wrapper */
form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
}

/* Hidden Inputs nicht beeinflussen */
form > input[type="hidden"] {
  display: none;
}

/* Standard für alle Rows */
form > .row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
}

/* 1. Row = Titel */
form > .row:nth-of-type(1) {
  flex: 0 0 100%;
}

/* 2.-4. Row = Datum, Tageszeit, Mitarbeiter nebeneinander */
form > .row:nth-of-type(2),
form > .row:nth-of-type(3),
form > .row:nth-of-type(4) {
  flex: 0 1 220px;
}

/* 5. Row = Button wieder unter den Inputs */
form > .row:nth-of-type(5) {
  flex: 0 0 100%;
}

/* Labels */
form label {
  display: block;
  margin: 0;
  font-weight: 600;
}

/* Bootstrap-Spalten im fremden HTML neutralisieren */
form .col,
form .col-lg-4,
form .col-md-4,
form .col-sm-5 {
  width: 100%;
  max-width: 100%;
  flex: unset;
  padding: 0;
}

/* Inputs und Selects */
form input,
form select {
  width: 100%;
  min-width: 200px;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid #bfc7d4;
  background: #fff;
}

/* Titel */
form strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--accent);
}

/* Button */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.4rem;
  background-color: var(--accent);
  transition: all 0.3s ease;
  border-radius: 10px;
  color: #fff;
  border: none;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-2);
}

/* Mobile: wieder untereinander */
@media (max-width: 900px) {
  form > .row:nth-of-type(2),
  form > .row:nth-of-type(3),
  form > .row:nth-of-type(4) {
    flex: 0 0 100%;
  }

  form input,
  form select {
    min-width: 0;
  }
}
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card-header {
  display: none;
}

.card-footer .row {
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
}

.card-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  margin: 1rem 0;
}

/* Tabellenzeilen */
.card-table tr {
  border-bottom: 1px solid #eef1f5;
  transition: background 0.15s ease;
}

/* Hover Effekt */
.card-table tr:hover {
  background: #f6f8fb;
}

/* Zellen */
.card-table th,
.card-table td {
  padding: 14px 18px;
  font-size: 14px;
  vertical-align: middle;
}

/* Datumsspalte */
.card-table th {
  font-weight: 600;
  color: #2f3640;
  white-space: nowrap;
}

/* Zeit */
.card-table td:nth-child(2) {
  color: #6b7280;
  font-weight: 500;
}

/* Aktionsspalte */
.card-table .auto-column {
  text-align: right;
}

/* moderne Buttons */
.card-table .btn {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #d8dee9;
  background: #ffffff;
  color: #444;
  transition: all 0.15s ease;
}

/* Button Hover */
.card-table .btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99, 125, 170, 0.08);
}

/* Fokus Accessibility */
.card-table .btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 125, 170, 0.25);
}

.card-table tr {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card-table tr + tr {
  margin-top: 6px;
}
