.modal.active:before {
  content: "";
  background: #fff;
  transition: background-color 0.4s;
  opacity: 0.8;
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}
.modal.active.darkmode:before,
.modal.active.contrast:before {
  background-color: #000;
  transition: background .4s;
}
.modal.active .modal-content {
  background: #fff;
}
.modal.active .modal-header {
  padding: 25px 20px 10px 20px;
  max-height: 15vh;
  min-height: 70px;
}
.modal.active .modal-header .modal-title {
  font-size: 33px;
  line-height: 35px;
  letter-spacing: .1px;
  font-weight: 300;
}
.modal.active .modal-header button.close {
  position: absolute;
  top: 22px;
  right: 20px;
  height: 40px;
  width: 40px;
}
.modal.active .modal-header button.close span {
  font-family: icomoon;
  font-size: 35px;
  line-height: 41px;
  font-weight: bold;
}
.modal.active .modal-header button.close:hover,
.modal.active .modal-header button.close:focus {
  opacity: 1 !important;
  color: #fff !important;
  background: #000 !important;
}
.modal.active .modal-header button.close:hover span,
.modal.active .modal-header button.close:focus span {
  color: #fff !important;
}
.modal.active.darkmode .modal-header .modal-title,
.modal.active.contrast .modal-header .modal-title {
  color: #000;
}
.modal.active.darkmode .modal-header button.close,
.modal.active.contrast .modal-header button.close {
  color: #000;
}
.modal.active.darkmode .modal-header button.close span,
.modal.active.contrast .modal-header button.close span {
  color: #000;
}
.modal.active .modal-body {
  padding: 25px 20px;
  height: calc(100vh - 190px);
  overflow-y: auto;
}
.modal.active .modal-body h3 a.barriereInfo {
  height: 25px;
  width: 25px;
  display: inline-block;
  font-family: icomoon;
  position: relative;
}
.modal.active .modal-body h3 a.barriereInfo:before {
  position: absolute;
  top: 1px;
  left: 0px;
  content: "\e90a";
  line-height: 23px;
  font-size: 20px;
  height: 24px;
  width: 24px;
  display: block;
  border-radius: 30px;
  border: 1px solid #000;
  padding-left: 1px;
  background-color: #fff;
  outline-offset: 0;
  transition: background-color 0.4s, color 0.4s, outline-offset 0.4s;
}
.modal.active .modal-body h3 a.barriereInfo:focus:before,
.modal.active .modal-body h3 a.barriereInfo:hover:before {
  color: #fff;
  background-color: #000;
  outline-offset: 5px;
  transition: background-color 0.4s, color 0.4s, outline-offset 0.4s;
}
.modal.active .modal-body .buttonBar {
  margin-bottom: 15px;
}
.modal.active .modal-body .infoText p {
  padding-bottom: 10px;
  padding-top: 0px;
}
.modal.active .modal-body .alert {
  position: relative;
  border: 1px dotted #000;
  width: calc(100% - 120px);
  display: inline-block;
  min-height: 43px;
}
.modal.active .modal-body .alert.fullWidth {
  width: 100%;
}
.modal.active .modal-body .alert p {
  color: #000;
  font-size: 18px;
  padding-bottom: 0;
  line-height: 35px;
  margin-left: 10px;
}
.modal.active .modal-body .alert p a {
  border-bottom: 1px dotted #000;
}
.modal.active .modal-body button.statusToggle {
  display: block;
  float: right;
  width: 100px;
  min-height: 43px;
  line-height: 34px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.modal.active .modal-body button.statusToggle.on {
  background-color: white;
  border: 1px solid black;
  color: black;
}
.modal.active .modal-body button.statusToggle:hover.on,
.modal.active .modal-body button.statusToggle:focus.on {
  color: #fff;
  background-color: #000;
  transition: color .4s;
}
.modal.active .modal-body button.statusToggle:hover.off,
.modal.active .modal-body button.statusToggle:focus.off {
  color: #000;
  transition: color .4s;
}
.modal.active .modal-body button {
  width: 100%;
  border: 1px solid #000;
  background-color: #000;
  color: #fff;
  transition: background-color 0.4s, color 0.4s;
}
.modal.active .modal-body button:disabled {
  background-color: #fff;
  color: #000;
  transition: background-color 0.4s, color 0.4s;
}
.modal.active .modal-body button:hover,
.modal.active .modal-body button:focus {
  background: #fff;
}
.modal.active.darkmode .modal-body .alert,
.modal.active.contrast .modal-body .alert {
  border: 1px dotted #000;
}
.modal.active.darkmode .modal-body .alert p,
.modal.active.contrast .modal-body .alert p {
  color: #000;
}
.modal.active.darkmode .modal-body button,
.modal.active.contrast .modal-body button {
  border: 1px solid #000;
  background-color: #000;
  color: #fff;
  transition: background-color 0.4s, color 0.4s;
}
.modal.active.darkmode .modal-body button:disabled,
.modal.active.contrast .modal-body button:disabled {
  background-color: #fff;
  color: #000;
  transition: background-color 0.4s, color 0.4s;
}
.modal.active.darkmode .modal-body button:focus,
.modal.active.contrast .modal-body button:focus,
.modal.active.darkmode .modal-body button:hover,
.modal.active.contrast .modal-body button:hover {
  opacity: 1;
  background: #fff !important;
  transition: background-color 0.4s, color 0.4s;
  color: #000 !important;
}
.modal.active .modal-footer {
  max-height: 20vh;
  padding: 20px;
  min-height: 100px;
}
.modal.active .modal-footer button {
  min-height: 45px;
  line-height: 45px;
  margin-left: 20px;
  padding: 5px 20px;
  font-size: 14px;
}
.modal.active .modal-footer .close {
  border: 1px solid #000;
  background: #000;
  color: #fff;
}
.modal.active .modal-footer .close:focus,
.modal.active .modal-footer .close:hover {
  opacity: 1;
  background: #fff !important;
  transition: background-color 0.4s, color 0.4s;
  color: #000 !important;
}
.modal.active.contrast .modal-footer button.btn.btn-primary {
  background: #000;
  border: 1px solid #000;
  color: #fff;
}
.darkmode #barrierCenter.modal.active .modal-body h3 {
  color: #000;
}
.darkmode .custom-info-modal .modal-content {
  background-color: #2a2a2e;
}
.darkmode .custom-info-modal .modal-header {
  border-bottom-color: transparent;
}
.darkmode .custom-info-modal .modal-footer {
  border-top-color: transparent;
}
#nonZdmBrowserWarning.show,
#energySaveModal.show {
  align-items: center;
  display: flex !important;
}
#nonZdmBrowserWarning.modal.active::before,
#energySaveModal.modal.active::before {
  background-color: #000;
  opacity: .6;
  position: fixed;
}
#energySaveModal .modal-dialog::before {
  background: #fff url('../../../Php/EnergySaveModal/Background.jpg?1669134538') no-repeat top center;
  background-size: contain;
  content: '';
  display: block;
  height: 0;
  padding: 0 0 32.37%;
}
#energySaveModal .modal-content {
  border: none;
  position: relative;
}
#energySaveModal .modal-content::before {
  background: #000 url("../../../css/images/bauhaus_logo_einzeilig_weiss.svg") no-repeat center;
  content: '';
  display: block;
  margin: 0 0 0 auto;
}
#energySaveModal .modal-body p {
  padding-bottom: 15px;
}
#energySaveModal .modal-body p.closer {
  padding-bottom: 0;
}
#energySaveModal .modal-body ul {
  margin-bottom: 15px;
  margin-left: 15px;
}
#energySaveModal .modal-footer .close {
  border: 1px solid #000;
  background: transparent;
  color: inherit;
}
#energySaveModal .modal-footer .close:hover {
  background-color: #000 !important;
  color: #fff !important;
}
.darkmode #energySaveModal .modal-dialog::before {
  background-color: #2a2a2e;
}
