/* Warnungen hervorheben */
.warning {
  background: #cd1819; /* Hintergrundfarbe hellgrün/gelblich */
}

/* Styling für Buttons und Formularbuttons */
.ym-button,
.ym-form button,
.ym-form input[type="button"],
.ym-form input[type="reset"],
.ym-form input[type="submit"] {
  background-color: #035f9a; /* Schwarzer Hintergrund */
  box-shadow:
    0px 0px 1px 1px #035f9a inset,
    0px 1px 0px #035f9a; /* Schatten innen und leicht oben */
  color: #ffffff !important; /* Textfarbe hellgrün */
  border-color: #035f9a; /* Rahmen schwarz */
  border-radius: 9px !important; /* Abgerundete Ecken */
  box-shadow: none !important; /* Entfernt vorherigen Schatten */
}

/* Hover-Effekt für Buttons */
.ym-form button:hover,
.ym-form input[type="button"]:hover,
.ym-form input[type="reset"]:hover,
.ym-form input[type="submit"]:hover,
.ym-button:hover {
  background-color: #0b5688; /* Hintergrund hellgrün beim Hover */
  color: #ffffff !important; /* Text schwarz beim Hover */
  box-shadow:
    0px 0px 1px 1px #0b5688 inset,
    0px 1px 0px #0b5688; /* Innerer Schatten hellgrün */
  border-color: #0b5688; /* Rahmen hellgrün */
  box-shadow: none !important; /* Shadow deaktiviert */
  border-bottom: none !important; /* Unterer Rahmen deaktiviert */
}

/* Spezielle große Startbuttons */
.button_start,
.button_start_firma {
  width: 330px; /* Breite 330px */
  background: white; /* Hintergrund weiß */
  text-align: center; /* Text zentriert */
  border-radius: 22px; /* Sehr abgerundete Ecken */
  border: 3px solid #ffffff; /* Gelber Rahmen */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease; /* Animation beim Hover */
}

/* Hover-Effekt für Startbuttons */
.button_start:hover,
.button_start_firma:hover {
  transform: translateY(6px); /* Button bewegt sich nach unten */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Schattenwurf */
}

/* Aktive Schritte markieren */
.schritt_aktiv {
  background: #cd1819; /* Hintergrund hellgrün */
  color: #ffffff; /* Text schwarz */
}

/* Inaktive Schritte markieren */
.schritt_inaktiv {
  background: #035f9a; /* Hintergrund schwarz */
  color: #035f9a;
}

/* Zusätzliche Startbutton-Styles (redundant, aber sichert weiße Buttons) */
.button_start,
.button_start_firma {
  width: 330px;
  background: white;
  text-align: center;
  border-radius: 22px;
}

/* Farben für spezifische Textklassen */
.firma,
.einzel {
  color: #ffffff !important; /* Weißer Text */
}

/* Header zentrieren */
header {
  text-align: center;
}

/* Headerauswahl Links */
.headerauswahl a {
  border: none;
  padding-right: 10px;
  padding-bottom: 10px;
}

/* Fehlerfelder abrunden */
.error {
  border-radius: 16px;
}

/* Logo zentrieren */
img.logo1 {
  float: none !important;
}

/* Media Query für Bildschirme ≥ 600px */
@media only screen and (min-width: 600px) {
  .abstand_oben {
    margin-top: 0em; /* Kein zusätzlicher Abstand oben */
  }

  .headerauswahl a:nth-child(even) {
    margin-right: 0px; /* Gerade Links rechts keinen Abstand */
  }
  .headerauswahl a:nth-child(odd) {
    margin-left: 0px; /* Ungerade Links links keinen Abstand */
  }
}

/* Media Query für Bildschirme ≤ 600px */
@media only screen and (max-width: 600px) {
  .headerauswahl a {
    margin-bottom: 0px; /* Kein unterer Abstand bei kleinen Bildschirmen */
  }
}

/* Hover/Focus Effekte für Headerlinks */
.headerauswahl a:hover,
.headerauswahl a:active,
.headerauswahl a:focus {
  background-color: transparent; /* Kein Hintergrund beim Hover */
}

/* Headerbutton Container */
.headerauswahl .headerbutton {
  position: relative;
  box-sizing: border-box;
}

/* Titelpositionierung im Header */

.headerauswahl .titel {
  position: absolute !important;
  bottom: 90px; /* Abstand vom unteren Rand */
  right: 0px;
  text-transform: uppercase; /* Großbuchstaben */
  width: 100%;
  font-weight: bold;
  font-size: 26px;
  line-height: normal;
  box-sizing: border-box;
  padding: 5px;
  color: #ffffff; /* Hellgrün */
}

.headerauswahl .strecke {
  position: absolute;
  top: -200px;
  right: none;
  font-weight: lighter;
  font-size: 15px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}
/* Info-Box im Header */
.headerauswahl .info {
  color: #000000; /* Text weiß */
  float: right;
  position: absolute;
  z-index: 99;
  top: -50px;
  left: 0px;
  width: 100%;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.85); /* leicht transparent weiß */
  padding: 5px 0;
}

/* Box-Überschriften */
.panibox h6,
.ym-form legend {
  padding: 5px 12px;
  color: #fff;
  background: #035f9a; /* blau */
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Hauptüberschrift */
h1 {
  font-family:
    open sans,
    sans-serif;
  font-size: 200%;
  font-weight: 800;
  line-height: 1.1em;
  margin: 5px 0 10px 20px;
  color: #ffffff; /* Weißer Text */
  text-shadow: 0 1px 1px #000; /* kleiner Schatten */
}
@media screen and (max-width: 500px) {
    .headerauswahl .titel {
        bottom: 125px !important;
    }
}
/* Weitere Media Queries für kleine Bildschirme (≤500px) */
@media screen and (max-width: 500px) {
  .abstand_oben {
    flex-direction: column; /* Elemente untereinander */
  }
  .headerauswahl .strecke,
  .headerauswahl .titel,
  .headerauswahl .info {
    position: inherit; /* Reset Position */
  }
 .headerauswahl a {
    margin-bottom: -77px;
   padding-left: 28px !important;
  }
  .headerauswahl .strecke {
    top: -250px !important;
    right: 0px !important;
    left: 0% !important;
  }
 .headerauswahl .titel {
    position: inherit  !important; */
    bottom:   125px !important;
    right: 0px;
    text-transform: uppercase;
    width: 100%;
    font-weight: bold;
    font-size: 26px;
    line-height: normal;
    box-sizing: border-box;
    padding: 5px;
    color: #ffffff;
}
  h1 {
    margin: -52px 0 10px 20px;
  }
  .beschreibung {
    line-height: 25px;
    display: inline-block;
    margin-bottom: 37px;
    font-size: 13.5px;
    margin-top: 0.5em;
  }
  .button_start,
  .button_start_firma {
    width: 310px; /* etwas kleinere Buttons auf kleinen Bildschirmen */
    background: white;
    text-align: center;
    border-radius: 22px;
  }
}

/* Panibox Styling */
.panibox,
.panibox2 {
  background: #ffffff;
  padding: 0;
  position: relative;
  box-shadow: 0 0 10px 0 rgba(10, 10, 10, 0.2);
  border-radius: 16px;
}

/* Headerbilder responsive */
@media screen and (max-width: 500px) {
  header img {
    width: 20% !important; /* Logo kleiner */
  }

  .abstand_oben {
    margin-top: 1em;
  }
}

/* Grid-Rahmen abrunden */
.ym-gr {
  border-top-right-radius: 9px;
}
.ym-grid {
  border-radius: 9px;
  overflow: hidden;
}

/* Border-10 obere Linie */
.border_10 {
  border-top: 1px solid #163044 !important;
  border-bottom: none !important;
}
/* RRRegStart Buttons innerhalb des Registrierungsbereichs */
.RRRegStart div.RRRegStart_divButtons > div {
  background-color: #163044 !important; /* Türkisblauer Hintergrund */
  color: #fff !important; /* Weißer Text */
  font-weight: bold !important; /* Fettdruck */
  border-radius: 0px !important; /* Keine Rundung */
}

/* Hover-Effekt für RRRegStart Buttons */
.RRRegStart div.RRRegStart_divButtons > div:hover {
  background-color: #163044 !important; /* Orange beim Hover */
}

/* Hintergrund für ersten Div innerhalb Contests */
.RRRegStart div.RRRegStart_divContests > div > div:first-child > div {
  background-color: #163044 !important; /* Grauer Hintergrund */
}

/* Überschrift im RRRegStart ausblenden */
.RRRegStart h1 {
  display: none !important;
}

/* Formularpadding entfernen */
#RRReg_divForm {
  padding: 0px !important;
}

/* Navbar Styling */
#divRRReg div.NavBar {
  background-color: #163044 !important;
}

/* Eingabefelder und Selects */
#divRRReg input[type="text"],
#divRRReg select {
  border-radius: 0px !important; /* Keine abgerundeten Ecken */
  box-shadow: none !important; /* Schatten entfernen */
}

/* Labels linksbündig */
#divRRReg div.RRReg_divLabel {
  text-align: left !important;
  padding-left: 0.8em !important;
  color: rgb(102, 102, 102) !important; /* Grau */
}

/* Label Styling anpassen */
#divRRReg div.RRReg_divLabel > label {
  margin-right: 0px !important;
}

/* Sternchen für Pflichtfelder positionieren */
#divRRReg div.RRReg_divLabel > .RRReg_StarMandatory {
  position: initial !important;
}

/* Navbar Items anpassen */
#divRRReg div.NavBar div.Item,
#divRRReg div.NavBar div.ItemSel {
  padding-left: 30px !important;
  padding-top: 6px !important;
  width: 18% !important;
}

/* Registrierung-Switch verstecken */
#divRRReg div.RRReg_SwitchReg {
  display: none !important;
}

/* Pflicht-Sterne rechtsbündig */
#divRRReg div.RRReg_StarMandatory {
  width: 100% !important;
  text-align: right !important;
}

/* Trennlinien im Formular */
#divRRReg div.RRReg_divLabelSeperator {
  background: #163044 !important;
  padding: 5px 12px !important;
  color: #000 !important;
  margin: 10px 0 !important;
}

/* Buttons innerhalb des Formulars */
#divRRReg input[type="button"],
#divRRReg button {
  background-color: #163044 !important;
  border-color: #163044 !important;
}

/* Hover-Effekt für Buttons */
#divRRReg input[type="button"]:hover,
#divRRReg button:hover {
  background-color: #163044 !important;
  border-color: #163044 !important;
}

/* Proceed-Button Breite anpassen */
#divRRReg div.RRReg_divBtnProceed {
  width: auto !important;
  padding-right: 10px !important;
}

/* Profilbild skalieren */
#divRRReg img.RRReg_imgPicture {
  max-width: 100%;
}

/* Publish Element 1 ausblenden */
#RRPublishI1 {
  display: none !important;
}

/* Textgrößen in Columnar Layout anpassen */
.ym-columnar .text-danach-check {
  font-size: 100%;
}
.text-danach-spez {
  font-size: 100%;
}
.ym-columnar .text-danach {
  font-size: 90%;
}

/* Tabellenüberschriften im Detailbereich */
table.divDetailsParent div.divDetailsInner > div > div:first-child {
  background: #163044 !important; /* Schwarz → Gelb Verlauf */
  text-align: center !important;
  font-size: 13px !important;
}

/* RRPublish Tiles styling */
.RRPublish > div.Tiles > div > div {
  color: #ffffff !important; /* Weißer Text */
  background: #163044 !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  font-weight: bold !important;
}

/* Selector Menu Elemente im RRPublish */
.RRPublish > div.SelectorParent > div.SelectorMenu > div > div:nth-child(1),
.RRPublish
  > div.SelectorParent
  > div.SelectorMenu
  > div.selectorResult
  > div:nth-child(1) {
  background: #163044 !important;
  color: #ffffff !important;
}

/* Tiles oben abrunden */
.RRPublish > div.Tiles > div {
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}

/* Mobile Anpassung Tiles */
@media only screen and (max-width: 600px) {
  .RRPublish > div.Tiles > div {
    margin-bottom: 16px !important; /* Abstand unten */
    border: none !important; /* Rahmen entfernen */
  }
}

/* Mobile Anpassung ShowAll Button */
@media only screen and (max-width: 640px) {
  .RRPublish a.aShowAll {
    background: #163044 !important;
    color: #ffffff !important;
  }
}

/* ShowAll Button Styling */
.RRPublish a.aShowAll {
  font-size: 1em !important;
  font-style: italic;
  color: #ffffff !important;
  cursor: pointer;
  line-height: 200%;
  margin-right: 3px;
  background: #163044;
  border-radius: 4px;
}

/* Suchbutton deaktiviert Styling */
.RRPublish
  > div.ListControl
  > div.ListControlSearch
  > button.btnSearch:disabled {
  background: #163044 !important;
  border: 1px solid #ffffff !important;
  cursor: default; /* Nicht klickbar */
}

/* Suchclear Button */
.RRPublish > div.ListControl > div.ListControlSearch > button.btnClearSearch {
  background: #163044 !important;
  border: 1px solid #ffffff !important;
  padding: 5px;
  height: 27px;
  cursor: pointer;
  width: 10%;
  border-radius: 0 4px 4px 0;
  border-left: 0;
}

/* Mobile Anpassungen für h1 */
@media screen and (max-width: 500px) {
  h1 {
    font-size: 150%;
    color: #ffffff;
    padding: 9px;
    margin-top: -27px;
  }
}

/* Navbar Styling */
nav {
  background: #163044;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* DivDetails Social Elemente ausblenden */
table.divDetailsParent div.divDetailsSocial > div:nth-child(2) {
  display: none !important;
}
table.divDetailsParent div.divDetailsSocial {
  display: none !important;
}

/* DivDetails Certificates zentrieren */
table.divDetailsParent div.divDetailsCertificates > div:nth-child(2) {
  text-align: center;
}

/* DivDetails Links zentrieren */
table.divDetailsParent div.divDetailsLinks > div {
  padding: 4px;
  text-align: center;
}

/* Bilder innerhalb Links begrenzen */
table.divDetailsParent div.divDetailsLinks > div:nth-child(2) img {
  max-height: 160px;
  max-width: 250px;
  border-radius: 5px;
}

/* RRPublish Tabelle zellen Styling */
.RRPublish > div.Tiles > div > table > tbody > tr > td {
  padding: 3px 3px 3px 8px;
  font-size: 0.95em;
  cursor: pointer;
  text-align: left;
  font-weight: bold !important;
}
