/* Cookie-Manager-Layout (uebernommen aus Broecker Metallbau, Farben an Pflegeteam Caselato angepasst) */
.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
}

.custom-control-input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #a28e5e;
  background-color: #a28e5e;
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  border-color: #EAEAEA;
}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  color: #fff;
  background-color: rgba(162, 142, 94, 0.8);
  border-color: rgba(162, 142, 94, 0.8);
}
.custom-control-input:disabled ~ .custom-control-label {
  color: #fff;
}
.custom-control-input:disabled ~ .custom-control-label::before {
  background-color: rgba(162, 142, 94, 0.8);
}

.custom-control-label {
  position: relative;
  margin-bottom: 0;
  vertical-align: top;
}
.custom-control-label::before {
  position: absolute;
  top: 0.25rem;
  left: -1.5rem;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: #adb5bd solid 1px;
}
.custom-control-label::after {
  position: absolute;
  top: 0.25rem;
  left: -1.5rem;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background: no-repeat 50%/50% 50%;
}

.custom-switch {
  padding-left: 0;
}
.custom-switch .custom-control-label::before {
  left: -2.25rem;
  width: 1.75rem;
  pointer-events: all;
  border-radius: 0.5rem;
}
.custom-switch .custom-control-label::after {
  top: calc(0.25rem + 2px);
  left: calc(-2.25rem + 2px);
  width: calc(1.5rem - 4px);
  height: calc(1.5rem - 4px);
  background-color: #fff;
  border-radius: 1.25rem;
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
  transform: translateX(1.25rem);
}
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(162, 142, 94, 0.5);
}

.modal-dialog-scrollable {
  display: flex;
  max-height: calc(100% - 3.5rem);
}
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 3.5rem);
  overflow: hidden;
}
.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  flex-shrink: 0;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 3.5rem);
  content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

@media (min-width: 576px) {
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
  }
}
[data-omcookie-panel-show] {
  cursor: pointer;
}

.om-cookie-panel-backdrop {
  transition: background-color 0.5s ease;
  background-color: rgba(0, 0, 0, 0);
}

.om-cookie-panel.active + .om-cookie-panel-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 9999981;
  background-color: rgba(0, 0, 0, 0.5);
}

.om-cookie-panel {
  position: fixed;
  bottom: -100%;
  left: 0;
  z-index: 9999982;
  width: 100%;
  height: 100%;
  outline: 0;
  transition: bottom 0.5s ease;
  font-family: inherit;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}
.om-cookie-panel p, .om-cookie-panel span, .om-cookie-panel button {
  font-family: inherit;
}
.om-cookie-panel.active {
  bottom: 0;
}
.om-cookie-panel .om-cookie-panel-dialog {
  position: relative;
  width: auto;
  margin: 10px;
  pointer-events: none;
}
@media (min-width: 768px) {
  .om-cookie-panel .om-cookie-panel-dialog {
    max-width: 800px;
    margin: 20px auto;
  }
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #000;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  outline: 0;
  text-align: center;
  padding: 20px;
  max-height: calc(100vh - 1rem);
  overflow-y: auto;
}
@media (min-width: 768px) {
  .om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content {
    padding: 50px;
  }
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content h3 {
  font-size: 31px;
  font-weight: 700;
  margin: 0;
  padding: 0 0 30px 0;
  text-transform: none;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .cookie-panel__description {
  clear: both;
  font-weight: 300;
  font-size: 16px;
  line-height: 23px;
  margin-bottom: 30px;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .cookie-panel__description a {
  text-decoration: underline !important;
  color: #000;
  font-weight: 400;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn {
  width: auto;
  min-width: inherit;
  height: auto;
  line-height: 1.5;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn:after {
  content: none;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-close {
  background-color: transparent;
  position: absolute;
  right: 15px;
  top: 15px;
  transform: rotate(45deg);
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-close::before, .om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-close::after {
  content: none;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-close span {
  display: flex;
  justify-content: center;
  align-items: center;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-close span::before, .om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-close span::after {
  content: "";
  width: 3px;
  height: 30px;
  position: absolute;
  background-color: #000;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-close span::after {
  transform: rotate(90deg);
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-banner {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 45px;
  margin: 0 auto 20px auto;
  text-transform: uppercase;
  display: block;
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-banner::before {
  content: none;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-banner:hover {
  background-color: #fff;
  color: #000;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-link {
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-align: center;
  color: #BEBEBE !important;
  text-transform: uppercase;
  background: none;
  margin: 0 auto;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-link::before {
  content: none;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .cookie-group {
  text-align: left;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-success {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 45px;
  margin: 0 auto 20px auto;
  text-transform: uppercase;
  display: block;
  background: none;
  background-color: #8a7850;
  border-color: #8a7850;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .btn-success:hover {
  background-color: #629921;
  border-color: #5b8e1f;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .cookie-panel__selection .btn {
  text-decoration: none;
  text-transform: none;
  color: #000000 !important;
  font-weight: 300;
  position: relative;
  margin: 0;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .cookie-panel__selection .btn.collapsed:after {
  content: "\f107";
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .cookie-panel__selection .btn:after {
  content: "\f106";
  font-family: "FontAwesome" !important;
  font-size: 16px;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  position: relative;
  right: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .cookie-panel__selection .row {
  border-top: 1px solid #EAEAEA;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .cookie-panel__selection .row:last-child {
  border-bottom: 1px solid #EAEAEA;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .cookiegroup-description {
  font-weight: 300;
  font-size: 13px;
  text-align: left;
  padding: 0 20px 20px 15px;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .cookiegroup-description p:last-child {
  margin-bottom: 0;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  align-items: center;
  justify-content: flex-end;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .buttons .btn {
  margin: 0 auto;
}
@media (min-width: 768px) {
  .om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .buttons .btn {
    margin: 0 0 0 10px;
  }
}
@media (min-width: 768px) {
  .om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content #cookieCollapse2 .buttons .btn.btn-success {
    margin: 0 0 0 50px;
  }
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch {
  padding-left: 0;
  padding-bottom: 8px;
  left: -5px;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch .custom-control-label {
  right: 15px;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch .custom-control-label::before {
  left: -2.25rem;
  pointer-events: all;
  background-color: #EAEAEA;
  border-color: #EAEAEA;
  height: 1.5rem;
  width: 2.75rem;
  border-radius: 3rem;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch .custom-control-label::after {
  top: calc(0.25rem + 2px);
  left: calc(-2.25rem + 2px);
  background-color: #fff;
  box-shadow: 2px 0px 5px 0px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  width: calc(1.5rem - 4px);
  height: calc(1.5rem - 4px);
  border-radius: 1.25rem;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #a28e5e;
  background-color: #a28e5e;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
  transform: translateX(1.25rem);
  box-shadow: -2px 0px 5px 0px rgba(0, 0, 0, 0.25);
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch .custom-control-input:focus ~ .custom-control-label::before {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 0 0 4px rgba(0, 0, 0, 0.5) !important;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
  border-color: rgba(162, 142, 94, 0.8);
  background-color: rgba(162, 142, 94, 0.5);
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .cookie-panel__attribution {
  position: absolute;
  bottom: 5px;
  right: 25px;
  font-size: 9px;
  font-style: italic;
  text-align: center;
}
.om-cookie-panel .om-cookie-panel-dialog .om-cookie-panel-content .cookie-panel__attribution a {
  color: inherit;
  text-decoration: none;
}


/* Bootstrap-4-Utilities, die das Template nutzt (Seite laeuft mit Bootstrap 3) */
.om-cookie-panel .d-none { display: none !important; }
.om-cookie-panel .row.align-items-center { display: flex; flex-wrap: wrap; align-items: center; }
.om-cookie-panel .row.justify-content-end { display: flex; flex-wrap: wrap; justify-content: flex-end; }
@media (min-width: 768px) { .om-cookie-panel .text-sm-right { text-align: right; } }
.om-cookie-panel .collapse.in { display: block; }

/* Formulare (EXT:form im formhandler-Layout): Datenschutz-Label linksbuendig, Sternchen-Hinweis rechts */
.t3webkit_form .control-label { text-align: left; }
.t3webkit_form label.col-md-12.control-label { text-align: right; }
