/*---- totop Button ------------------------------------------*/
#toTopBtn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;

  background: #e30514;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#toTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#toTopBtn svg {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/*---- Textfarbe bei Markierungen ------------------------------------------*/
::selection {
    background-color: #yourColor; /* z.B. #003366 */
    color: #c1392c;
}

/* Für Firefox zusätzlich nötig (ältere Versionen) */
::-moz-selection {
    background-color: #yourColor;
    color: #c1392c;
}

/*---- Tabellen responsive ------------------------------------------*/
table {
  /* display: block; diese Zeile macht Ränder rechts und unten*/
  overflow: scroll;
}

tbody tr:hover {
    background: #e20914;
    color: #fff;
}



/*--------------------------------------------------------------
  Textfarbe bei Markierung
--------------------------------------------------------------*/
/* ganz am Ende deiner Styles */
html ::selection {
  background: #b0000c !important;
  color: #fff !important;
}

/* Fallback für alte Firefox-Versionen */
html ::-moz-selection {
  background: #b0000c !important;
  color: #fff !important;
}



/*--------------------------------------------------------------
  Formatierung Login Felder
--------------------------------------------------------------*/
.frame-type-felogin_login input[type="text"],
.frame-type-felogin_login input[type="password"] {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 0.6rem 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.frame-type-felogin_login input[type="text"]:focus,
.frame-type-felogin_login input[type="password"]:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.frame-type-felogin_login label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.frame-type-felogin_login button[type="submit"] {
    padding: 0.6rem 1.4rem;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.frame-type-felogin_login button[type="submit"]:hover {
    background: #3a7bc8;
}

/*--------------------------------------------------------------
  wenn containeritems: danach umbruch, dass weitere Inhalte nicht reinraken
--------------------------------------------------------------*/
.c-columns {
    display: flow-root;
    padding-bottom: 30px;
}

/*--------------------------------------------------------------
  Ausgleich für fixed Topbar (76px) auf Seiten ohne Hero-Slider
  (ohneslider.html) - verhindert, dass der Header oben in den
  Inhalt hineinragt, besonders bei kleinen Viewports
--------------------------------------------------------------*/
.header-offset {
    margin-top: 76px;
}