/* ==========================================================================
   NFG_vACARS – Ausgleich für Bootstrap-4-Klassen (das alte Theme lud Bootstrap 4.3 + 5.1 gemischt)
   Gezählt 22.11.2026 in Theme + Modulen: ml/mr/pl/pr 339, form-group 313, text-left/right 115,
   badge-* 75, border-left/right 55, float-left/right 13, sr-only 10, form-row 6, btn-block 4 …
   Nur Aussehen/Abstand. data-toggle/data-dismiss (BS4-JS) gehen schon heute nicht (Bootstrap-JS 5.3).
   ========================================================================== */
.ml-0{margin-left:0!important}.mr-0{margin-right:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}
@media (min-width:576px){.ml-sm-0{margin-left:0!important}.mr-sm-0{margin-right:0!important}.pl-sm-0{padding-left:0!important}.pr-sm-0{padding-right:0!important}}
@media (min-width:768px){.ml-md-0{margin-left:0!important}.mr-md-0{margin-right:0!important}.pl-md-0{padding-left:0!important}.pr-md-0{padding-right:0!important}}
@media (min-width:992px){.ml-lg-0{margin-left:0!important}.mr-lg-0{margin-right:0!important}.pl-lg-0{padding-left:0!important}.pr-lg-0{padding-right:0!important}}
@media (min-width:1200px){.ml-xl-0{margin-left:0!important}.mr-xl-0{margin-right:0!important}.pl-xl-0{padding-left:0!important}.pr-xl-0{padding-right:0!important}}
.ml-1{margin-left:.25rem!important}.mr-1{margin-right:.25rem!important}.pl-1{padding-left:.25rem!important}.pr-1{padding-right:.25rem!important}
@media (min-width:576px){.ml-sm-1{margin-left:.25rem!important}.mr-sm-1{margin-right:.25rem!important}.pl-sm-1{padding-left:.25rem!important}.pr-sm-1{padding-right:.25rem!important}}
@media (min-width:768px){.ml-md-1{margin-left:.25rem!important}.mr-md-1{margin-right:.25rem!important}.pl-md-1{padding-left:.25rem!important}.pr-md-1{padding-right:.25rem!important}}
@media (min-width:992px){.ml-lg-1{margin-left:.25rem!important}.mr-lg-1{margin-right:.25rem!important}.pl-lg-1{padding-left:.25rem!important}.pr-lg-1{padding-right:.25rem!important}}
@media (min-width:1200px){.ml-xl-1{margin-left:.25rem!important}.mr-xl-1{margin-right:.25rem!important}.pl-xl-1{padding-left:.25rem!important}.pr-xl-1{padding-right:.25rem!important}}
.ml-2{margin-left:.5rem!important}.mr-2{margin-right:.5rem!important}.pl-2{padding-left:.5rem!important}.pr-2{padding-right:.5rem!important}
@media (min-width:576px){.ml-sm-2{margin-left:.5rem!important}.mr-sm-2{margin-right:.5rem!important}.pl-sm-2{padding-left:.5rem!important}.pr-sm-2{padding-right:.5rem!important}}
@media (min-width:768px){.ml-md-2{margin-left:.5rem!important}.mr-md-2{margin-right:.5rem!important}.pl-md-2{padding-left:.5rem!important}.pr-md-2{padding-right:.5rem!important}}
@media (min-width:992px){.ml-lg-2{margin-left:.5rem!important}.mr-lg-2{margin-right:.5rem!important}.pl-lg-2{padding-left:.5rem!important}.pr-lg-2{padding-right:.5rem!important}}
@media (min-width:1200px){.ml-xl-2{margin-left:.5rem!important}.mr-xl-2{margin-right:.5rem!important}.pl-xl-2{padding-left:.5rem!important}.pr-xl-2{padding-right:.5rem!important}}
.ml-3{margin-left:1rem!important}.mr-3{margin-right:1rem!important}.pl-3{padding-left:1rem!important}.pr-3{padding-right:1rem!important}
@media (min-width:576px){.ml-sm-3{margin-left:1rem!important}.mr-sm-3{margin-right:1rem!important}.pl-sm-3{padding-left:1rem!important}.pr-sm-3{padding-right:1rem!important}}
@media (min-width:768px){.ml-md-3{margin-left:1rem!important}.mr-md-3{margin-right:1rem!important}.pl-md-3{padding-left:1rem!important}.pr-md-3{padding-right:1rem!important}}
@media (min-width:992px){.ml-lg-3{margin-left:1rem!important}.mr-lg-3{margin-right:1rem!important}.pl-lg-3{padding-left:1rem!important}.pr-lg-3{padding-right:1rem!important}}
@media (min-width:1200px){.ml-xl-3{margin-left:1rem!important}.mr-xl-3{margin-right:1rem!important}.pl-xl-3{padding-left:1rem!important}.pr-xl-3{padding-right:1rem!important}}
.ml-4{margin-left:1.5rem!important}.mr-4{margin-right:1.5rem!important}.pl-4{padding-left:1.5rem!important}.pr-4{padding-right:1.5rem!important}
@media (min-width:576px){.ml-sm-4{margin-left:1.5rem!important}.mr-sm-4{margin-right:1.5rem!important}.pl-sm-4{padding-left:1.5rem!important}.pr-sm-4{padding-right:1.5rem!important}}
@media (min-width:768px){.ml-md-4{margin-left:1.5rem!important}.mr-md-4{margin-right:1.5rem!important}.pl-md-4{padding-left:1.5rem!important}.pr-md-4{padding-right:1.5rem!important}}
@media (min-width:992px){.ml-lg-4{margin-left:1.5rem!important}.mr-lg-4{margin-right:1.5rem!important}.pl-lg-4{padding-left:1.5rem!important}.pr-lg-4{padding-right:1.5rem!important}}
@media (min-width:1200px){.ml-xl-4{margin-left:1.5rem!important}.mr-xl-4{margin-right:1.5rem!important}.pl-xl-4{padding-left:1.5rem!important}.pr-xl-4{padding-right:1.5rem!important}}
.ml-5{margin-left:3rem!important}.mr-5{margin-right:3rem!important}.pl-5{padding-left:3rem!important}.pr-5{padding-right:3rem!important}
@media (min-width:576px){.ml-sm-5{margin-left:3rem!important}.mr-sm-5{margin-right:3rem!important}.pl-sm-5{padding-left:3rem!important}.pr-sm-5{padding-right:3rem!important}}
@media (min-width:768px){.ml-md-5{margin-left:3rem!important}.mr-md-5{margin-right:3rem!important}.pl-md-5{padding-left:3rem!important}.pr-md-5{padding-right:3rem!important}}
@media (min-width:992px){.ml-lg-5{margin-left:3rem!important}.mr-lg-5{margin-right:3rem!important}.pl-lg-5{padding-left:3rem!important}.pr-lg-5{padding-right:3rem!important}}
@media (min-width:1200px){.ml-xl-5{margin-left:3rem!important}.mr-xl-5{margin-right:3rem!important}.pl-xl-5{padding-left:3rem!important}.pr-xl-5{padding-right:3rem!important}}
.ml-auto{margin-left:auto!important}.mr-auto{margin-right:auto!important}
@media (min-width:768px){.ml-md-auto{margin-left:auto!important}.mr-md-auto{margin-right:auto!important}}
@media (min-width:992px){.ml-lg-auto{margin-left:auto!important}.mr-lg-auto{margin-right:auto!important}}
.float-left{float:left!important}.float-right{float:right!important}
@media (min-width:768px){.float-md-left{float:left!important}.float-md-right{float:right!important}}
.text-left{text-align:left!important}.text-right{text-align:right!important}
@media (min-width:576px){.text-sm-left{text-align:left!important}.text-sm-right{text-align:right!important}}
@media (min-width:768px){.text-md-left{text-align:left!important}.text-md-right{text-align:right!important}}
@media (min-width:992px){.text-lg-left{text-align:left!important}.text-lg-right{text-align:right!important}}
.border-left{border-left:1px solid var(--line)!important}.border-right{border-right:1px solid var(--line)!important}
.rounded-left{border-top-left-radius:8px!important;border-bottom-left-radius:8px!important}
.rounded-right{border-top-right-radius:8px!important;border-bottom-right-radius:8px!important}
.form-group{margin-bottom:1rem}
.form-row{display:flex;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}
.form-row>.col,.form-row>[class*=col-]{padding-right:5px;padding-left:5px}
.btn-block{display:block;width:100%}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.font-weight-light{font-weight:300!important}.font-weight-normal{font-weight:400!important}.font-weight-bold{font-weight:650!important}.font-weight-bolder{font-weight:700!important}
.font-italic{font-style:italic!important}
.no-gutters{--bs-gutter-x:0;--bs-gutter-y:0}
.media-body{flex:1}
.jumbotron{padding:22px 24px;margin-bottom:1rem;border:1px solid var(--glass-border);border-radius:var(--glass-radius);background:linear-gradient(180deg,var(--glass-tint-top),var(--glass-tint-bottom))}
.input-group-append,.input-group-prepend{display:flex}
.input-group-append>.btn,.input-group-prepend>.btn{position:relative;z-index:2}
.custom-select{display:block;width:100%;min-height:34px;padding:6px 32px 6px 10px;border:1px solid var(--glass-border);border-radius:8px;background-color:color-mix(in srgb,var(--text) 5%,transparent);color:var(--text);font-size:14px}
.custom-control{position:relative;display:block;min-height:1.5rem;padding-left:1.75rem}
.custom-switch .custom-control-input,.custom-checkbox .custom-control-input{position:absolute;left:0;top:3px}
.close{float:right;padding:0;border:0;background:transparent;color:var(--muted);font-size:20px;line-height:1;opacity:1;cursor:pointer}
.close:hover{color:var(--text)}
/* BS4-Badges als weiche Pillen (wie vacars-bootstrap.css Abschnitt 7) */
.badge-pill{border-radius:999px}
.badge-primary,.badge-info{background-color:var(--accent-soft);color:var(--accent)}
.badge-success{background-color:var(--ok-soft);color:var(--ok)}
.badge-warning{background-color:var(--warn-soft);color:var(--warn)}
.badge-danger{background-color:var(--bad-soft);color:var(--bad)}
.badge-secondary,.badge-light,.badge-dark{background-color:var(--panel-2);color:var(--text-2);border:1px solid var(--line)}
/* Karussell ÜBERBLENDET weich (Nutzer 22.11., zweimal: „weicher Ein- und Ausblendeffekt, weich und harmonisch“) –
   gilt für ALLE Karussells (News, DotM, Events …), egal ob mit .slide oder .carousel-fade.
   Gesteuert teils von Bootstrap 5.3 (Klassen carousel-item-start/end), teils von 4.3.1 aus phpVMS vendor.js (left/right).
   Das neue Bild blendet OBEN ein (1,1 s), das alte bleibt darunter sichtbar und verschwindet erst danach → kein dunkles Loch.
   Die JS-Dauer liest Bootstrap aus dem alten Bild (0 s + 1,1 s Verzögerung). */
.carousel .carousel-item {
  transform: none !important;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.carousel .carousel-item.active,
.carousel .carousel-item-next:is(.carousel-item-start, .carousel-item-left),
.carousel .carousel-item-prev:is(.carousel-item-end, .carousel-item-right) {
  opacity: 1;
  z-index: 1;
}
.carousel .carousel-item.active:is(.carousel-item-start, .carousel-item-end, .carousel-item-left, .carousel-item-right) {
  opacity: 0;
  z-index: 0;
  transition: opacity 0s linear 1.1s !important;
}
.carousel .carousel-control-prev, .carousel .carousel-control-next, .carousel .carousel-indicators { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .carousel .carousel-item { transition: none !important; } }
