/* open-sans-300 - 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: 300;
  src: url("../fonts/open-sans-v44-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-300italic - 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: italic;
  font-weight: 300;
  src: url("../fonts/open-sans-v44-latin-300italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* 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("../fonts/open-sans-v44-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - 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: italic;
  font-weight: 400;
  src: url("../fonts/open-sans-v44-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - 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: 500;
  src: url("../fonts/open-sans-v44-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500italic - 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: italic;
  font-weight: 500;
  src: url("../fonts/open-sans-v44-latin-500italic.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("../fonts/open-sans-v44-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600italic - 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: italic;
  font-weight: 600;
  src: url("../fonts/open-sans-v44-latin-600italic.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("../fonts/open-sans-v44-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700italic - 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: italic;
  font-weight: 700;
  src: url("../fonts/open-sans-v44-latin-700italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - 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: 800;
  src: url("../fonts/open-sans-v44-latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800italic - 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: italic;
  font-weight: 800;
  src: url("../fonts/open-sans-v44-latin-800italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* Allgemeine Formatierung für die Seite mit hellgrauem Hintergrund */
body.EventOnline {
  font-family: "Open Sans", Arial, sans-serif;
  background-color: #f4f5f7; /* Leichtes Grau für den Hintergrund */
  margin: 0;
  padding: 20px;
  font-size: 16px;
  line-height: 1.7em;
  font-weight: 400;
}
.InvitationInfo {
  font-weight: bold;
  font-size: 16px;
  color: #00305d;
}
.Container.StartPage {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.ContentWrapper {
  border: 0 !important;
}

.CenteredContainer {
  width: 95% !important;
  max-width: 1280px !important;
}

/* Hauptboxen und Container in Weiß */
.CenteredContainer,
.EventTable,
input[type="text"],
select,
textarea {
  background-color: #ffffff; /* Weißer Hintergrund für die Boxen */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sanfter Schatten für Tiefe */
  box-sizing: border-box;
}

/* Titel und Hauptüberschrift */
.MainTitleWrapper .MainTitle {
  font-size: 24px;
  color: #ab1638;
  font-weight: bold;
}

/* Stellt sicher, dass die Tabellenzellen (td) die volle Breite einnehmen */
.ContentWrapper .InvitationDatas table {
  width: 100%;
  border-collapse: collapse; /* Entfernt Lücken zwischen den Zellen */
}

.ContentWrapper .InvitationDatas td {
  width: 100%; /* Setzt die Breite jedes td-Elements auf 100% */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.ContentWrapper .InvitationDatas colgroup col:not(:first-child) {
  display: none;
}
.ContentWrapper .InvitationDatas {
  max-width: 800px;
  margin: 0 auto;
}

.ContentWrapper .InvitationDatas td > div[id^="REGISTERPAGE_TITLE_"] {
  font-size: 14px;
  margin-bottom: 5px; /* Abstand zum Eingabefeld */
  font-weight: bold;
}

.ContentWrapper .InvitationDatas colgroup col {
  width: 100% !important;
}
/* Styling der Eingabefelder */
input[type="input"].eventOnlineTextfield,
select.eventOnlineCombobox {
  width: 100%;
  padding: 0.7em;
  font-size: 16px;
  background-color: #ffffff;
  border-image-width: 1;
  border-color: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  box-sizing: border-box;
  background-image: none;
  text-shadow: none;
  font-size: 1em;
  height: 35px !important;
  line-height: normal;
  box-sizing: border-box;
  margin: 0;
}

input[type="input"]:focus,
select:focus {
  border-color: #ab1638;
  outline: none;
}

button#DETAILSPAGE_BACK_BUTTON{
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  background-color: #00305d;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}


button#DETAILSPAGE_FORWARD_BUTTON{
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  background-color: #ab1638;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Button-Styling */
a.eventOnlineLink#STARTPAGE_REGISTER_LINK {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  background-color: #ab1638;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

a.eventOnlineLink#STARTPAGE_REGISTER_LINK:hover {
  background-color: #8b132b;
}

/* Tabellen-Styling */
.EventTable td {
  padding: 0px;
  font-size: 16px;
  color: #00305d;
}

.FirstColumn {
  font-weight: bold;
  color: #ab1638;
}

.TitleSeparator,
.BottomWrapper {
  border: 0 !important;
}

.BottomWrapper {
  margin: 0 !important;
}

/* Abstand und Trennung */
.TitleSeparator span {
  display: block;
  height: 2px;
  background-color: #00305d;
  margin: 20px 0;
}

.EventOnlineButtonsWrapper {
  display:flex;
}

.EventOnlineButtonsWrapper .eventOnlineButton {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Roter Button für 'Weiter' */
#REGISTERPAGE_ADDCONTACT_BUTTON,
#CONTACTPAGE_ADDCONTACT_BUTTON,
#REGISTERTOEVENTPAGE_FORWARD_BUTTON,
#QUESTIONNAIREPAGE_NEXT_BUTTON,
#CONFIRMPAGE_FORWARD_BUTTON {
  background-color: #ab1638;
}

#REGISTERPAGE_ADDCONTACT_BUTTON:hover,
#CONTACTPAGE_ADDCONTACT_BUTTON:hover,
#REGISTERTOEVENTPAGE_FORWARD_BUTTON:hover,
#QUESTIONNAIREPAGE_NEXT_BUTTON:hover,
#CONFIRMPAGE_FORWARD_BUTTON:hover,
button#DETAILSPAGE_FORWARD_BUTTON:hover {
  background-color: #8b132b;
}

/* Blauer Button für 'Zurück' */
#REGISTERPAGE_BACK_BUTTON,
#CONTACTPAGE_BACK_BUTTON,
#REGISTERTOEVENTPAGE_BACK_BUTTON,
#QUESTIONNAIREPAGE_BACK_BUTTON,
#CONFIRMPAGE_BACK_BUTTON {
  background-color: #00305d;
}

#REGISTERPAGE_BACK_BUTTON:hover,
#CONTACTPAGE_BACK_BUTTON:hover,
#REGISTERTOEVENTPAGE_BACK_BUTTON:hover,
#QUESTIONNAIREPAGE_BACK_BUTTON:hover,
#CONFIRMPAGE_BACK_BUTTON:hover,
button#DETAILSPAGE_BACK_BUTTON:hover {
  background-color: #002347;
}

/* Deaktivierter Zustand für den 'Weiter'-Button */
#REGISTERPAGE_ADDCONTACT_BUTTON:disabled,
#CONTACTPAGE_ADDCONTACT_BUTTON:disabled,
#REGISTERTOEVENTPAGE_FORWARD_BUTTON:disabled,
#QUESTIONNAIREPAGE_NEXT_BUTTON:disabled,
#CONFIRMPAGE_FORWARD_BUTTON:disabled,
#QUESTIONNAIREPAGE_NEXT_BUTTON.dgklGesperrt,
#QUESTIONNAIREPAGE_NEXT_BUTTON.dgklGesperrt:hover {
  background-color: #d3d3d3;
  cursor: not-allowed;
  color: #ffffff;
}

.SubtitleAppointment {
  font-size: 18px !important;
}

.FormDatas {
  font-size: 16px !important;
}

.MandatoryLabel {
  max-width: 800px;
  margin: 0 auto;
}

/* Dialogbox-Styling */
.gwt-DialogBox {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1000;
  font-family: "Open Sans", Arial, sans-serif;
}

.gwt-DialogBox .dialogMiddleRight,
.gwt-DialogBox .dialogMiddleLeft,
.gwt-DialogBox .dialogBottomCenter,
.gwt-DialogBox .dialogBottomRight,
.gwt-DialogBox .dialogBottomLeft,
.gwt-DialogBox .dialogTopRight,
.gwt-DialogBox .dialogTopLeft,
.gwt-DialogBox .Caption {
  background: none !important;
}

.gwt-DialogBox .Caption {
  border: 0;
  width: 100%;
}

/* Dialogtitel */
.dialogTopCenter .Caption {
  font-size: 18px;
  font-weight: bold;
  color: #00305d;
  padding: 10px;
  background-color: #f4f5f7;
  text-align: center;
}

/* Dialoginhalt */
.dialogMiddleCenterInner.dialogContent {
  padding: 20px;
  font-size: 16px;
  color: #00305d;
  text-align: center;
}

/* Button-Container */
.dialogMiddleCenterInner.dialogContent div[style*="bottom: 10px"] {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.dialogMiddleCenterInner.dialogContent div[style*="bottom: 10px"] div{
  display: flex;
  flex-direction: row-reverse;
}

/* Ja- und Nein-Buttons */
.dialogMiddleCenterInner.dialogContent .eventOnlineButton {
  padding: 3px 16px;
  font-size: 16px;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background-color 0.3s ease;
}

/* Bestätigen (erster Button) in Rot */
.dialogMiddleCenterInner.dialogContent .eventOnlineButton:first-of-type {
  background-color: #ab1638;
}

.dialogMiddleCenterInner.dialogContent .eventOnlineButton:first-of-type:hover {
  background-color: #8b132b;
}

/* Zurück (letzter Button) und einzelner Button in Blau */
.dialogMiddleCenterInner.dialogContent .eventOnlineButton:last-of-type {
  background-color: #00305d;
}

.dialogMiddleCenterInner.dialogContent .eventOnlineButton:last-of-type:hover {
  background-color: #002347;
}

.CustomHeaderWrapper {
  margin-bottom: -100px;
  display: flex;
  justify-content: end;
  max-height: 100px;
}

.CustomHeaderWrapper img {
    max-height: 70px;
    max-width: 120px;
    margin-bottom: 10px;
}

/* Auswahlfelder wie Textfelder: gleiche Breite, kein Schatten */
td.eventOnlineComboboxTD {
  padding-right: 10px !important;
}

select.eventOnlineCombobox {
  box-shadow: none;
}

/* Bedingte Pflichtfelder (dgkl/dgkl-formular.js) */
label.dgklPflicht::after {
  content: " *";
}

input.dgklPflichtFehlt,
select.dgklPflichtFehlt,
.eventErrorInputField[data-dgkl-besucht] {
  border-color: #ab1638 !important;
  box-shadow: 0 0 0 1px #ab1638;
}

.dgklPflichtHinweis {
  color: #ab1638;
  font-size: 14px;
  margin: 10px 0;
  text-align: center;
}
