﻿/* prefix 

jdwebapp--applogoimg

*/

:root {
    --app-main-corporatedesign-color : #fff;
    --app-sub-corporatedesign-color : #444444;
    --app-compto-dark-main-corporatedesign-color : #000;
    --app-compto-light-main-corporatedesign-color : #fff;
    --app-compto-sub-corporatedesign-color : fff;
    --app-hover-color : #eaebe5;
    --app-hovertextcolor : #000;
    --app-focus-color : #1dcbf2;
    --app-focusshadow-color : #1dcbf23F;
    
    
    --app-base-main-corporatedesign-color : #fff;
    --app-base-sub-corporatedesign-color : #444444;
    --app-base-compto-dark-main-corporatedesign-color : #000;
    --app-base-compto-light-main-corporatedesign-color : #fff;
    --app-base-compto-sub-corporatedesign-color : fff;
    --app-base-hover-color : #eaebe5;
    --app-base-hovertextcolor : #000;
    --app-base-focus-color : #1dcbf2;
    --app-base-focusshadow-color : #1dcbf23F;
    --font-familiy : verdana;
}

/*
.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}
    */

.jdklapp--errorbox {
    position:absolute;
    background-color: red;
    border-radius: 10px;
    border: 1px solid red;
    box-shadow: 5px 5px 5px black;
    border-radius: 10px;
    left: 20%;
    width: 60%;
    top: 45%;
    padding: 5rem 10rem;
    color: #000;
    font-weight: 900;
    font-size: x-large;
    text-align: center;
}
/*
body {
    text-align: var(--bs-body-text-align);
    line-height: var(--bs-body-line-height);
    font-weight: var(--bs-body-font-weight);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    -webkit-tap-highlight-color: rgba(0, 0, 0,0);
    -webkit-text-size-adjust: 100%;
    padding: 150px 0 0;
    overflow-x: hidden;
    min-height: 100%;
    margin: 0;
    background-color: #f8f8f8;
    -webkit-font-smoothing: antialiased;
}

*, :after, ::before {
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
    outline: none;
}
    */

.header {
    background-color: #fff;
    margin-top: -150px;
}

.jdwebapp--logobox, .icon {
    fill: var(--app-icons-color,#000);;
}

/*
img, svg {
    vertical-align: middle;
}

img {
    height: auto;
    max-width: 100%;
}
    */

.icon--container {
    display: flex !important;
    direction: row;
    align-items : center;
    font-size: 3rem; /*3.5rem;*/
    font-weight: 700;
    padding-right: 0;
}

.jdwebapp--applogoimg {
    max-height: 70px;
    text-decoration: none;
    height: fit-content;
}

.jdwebapp--applogoimg.-mobile {
    max-width: 100px;
}

.company--brandbox {
    height: 150px;
}

.company--logo {
    max-width: 130px;
}

.header--box-klapplogo {
    text-decoration: none;
    width: 100%;
    outline: none;
}
.jdwebapp--app-header_partDIE {
    color: var(--app-main-corporatedesign-color, --app-base-main-corporatedesign-color);
    text-decoration: none;
}

.jdwebapp--app-header_rest {
    color: #000;
    text-decoration: none;
    /*font-size: 2.5rem;*/
    /*margin-top: .3rem;*/
    margin-left: 5px;
    text-transform: uppercase;
}

.-splashbox {
    background-color: white;
    border: 1px solid black;
    box-shadow: 5px 5px 5px black;
    border-radius: 10px;
    max-width: 33.333333%;
    margin: 0 auto;

}

.-splashmobile {
   max-width: 66.666666%;
}

.-splash-newbg {
    background-color: var(--app-main-corporatedesign-color, --app-base-main-corporatedesign-color);
}

.form-control:focus {
    border-color: var(--app-focus-color, --app-base-focus-color);
    box-shadow: 0 0 0 .25rem var(--app-focusshadow-color, --app-base-focusshadow-color);
    /*transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
*/
    }

.form-check-radio .form-check-label:hover {
    background-color: var(--app-icons--hover-color,#eaebe5);
    border-color: var(--app-icons--hover-color,#eaebe5);
    color: var(--app-icons--hovertext-color,#000); 
    /*transition: all .3s;*/
}

.global--contenteye {
    height: calc(100% - 150px);
    position: absolute;
    right: 0;
    text-align: right;
    top: 150px;
    width: 100%;
    z-index: -1;
}

.global--eye {
    /*filter: grayscale(1);*/
    height: calc(100vh - 150px);
    -o-object-fit: cover;
    object-fit: cover;
    opacity: .78;
}

.page-complete .global--eye,
.page-users .global--eye {
    opacity: 1;
}

.login--overlay {
    background-color: var(--app-main-corporatedesign-color, --app-base-main-corporatedesign-color);
    height: calc(100vh - 150px);
    mix-blend-mode: multiply;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.login--box {
    background-color: #fff;
    padding: 35px;
    position: relative;
    width: 365px;
    z-index: 99;
}

.login--hl {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 3.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.login--hl, .login--subline {
    color : var(--app-main-corporatedesign-color, --app-base-main-corporatedesign-color);
}

.login--selectbox {
    position:relative
}

.login--select { 
    align-items:center;
    background-color:#f8f8f8;
    border:1px solid #5c5c5c;
    color:#5c5c5c;
    cursor:pointer;
    display:flex;
    font-size:1.4rem;
    font-weight:600;
    height:62px;
    line-height:2rem;
    padding:0 35px 0 20px;
    position:relative
}
.login--select span { 
    color: var(--app-main-corporatedesign-color, --app-base-main-corporatedesign-color);
    font-size:1.4rem;
    font-weight:700;
    line-height:2rem
}
.login--select img { 
    border-radius:50%;
    height:42px;
    margin-right:15px;
    width:42px
}
.login--select .icon { 
    margin-right:15px
}
.login--select__icon {
    border-color:#5c5c5c transparent transparent;
    border-style:solid;
    border-width:8px 6.5px 0;
    height:0;
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    width:0
}
.login--select__icon.is-active {
    /* border-color:var(--app-main-corporatedesign-color, --app-base-main-corporatedesign-color) transparent transparent transparent */
    border-color: #5c5c5c transparent transparent transparent;
    
}
.login--select__icon.is-active.is-dropped {
    transform: rotate(180deg);
}

.title--notselected {
    color: #eaebe5;
}

.title--selected {
    color: #212529;
}

.form-select:focus {
   border-color: var(--app-focus-color, --app-base-focus-color);
   box-shadow: 0 0 0 .25rem rgba(var( --app-focusshadow-color, --app-base-focusshadow-color));
   outline: 0;
}

.form-check-checkbox .form-check-qrcode {
    -webkit-touch-callout: none;
    align-items: center;
    background-color: #fff;
    border: 1px solid #bfbfbf;
    color: var(--primary-color, #bdd247);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: 600;
    justify-content: center;
    line-height: 1.6rem;
    padding: 9px 20px;
    position: relative;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    width: 100%;
}

.noloadingcircle {
    margin-top: 4rem;
}

.hasloadingcircle {
    margin-top: -2rem;
}

@media (min-width: 768px) {
    .form-check-checkbox .form-check-qrcode {
        font-size: 1.8rem;
        line-height: 2rem;
    }
}

@media (min-width: 768px) {
    .form-check-checkbox .form-check-qrcode.-icon {
        min-height: 170px;
        /*max-height: 200px;*/
    }
}
/*
.form-check-buttonlikecheckbox .form-check-input:checked + .form-check-label::after {
    content: "✓";
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: #198754;
    color: #fff;
    border-radius: 50%;
    padding: 6px;
    font-size: 12px;
    transform: scale(1);
    animation: pop 0.3s ease-in-out;
}
*/
@keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.form-check-buttonlikecheckbox .form-check-input:checked + .form-check-label::after {
    /*content: "✔";*/
	content: "✓";
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background-color: var(--app-button--selectcorner-color);  /*rgba(40, 167, 69, 0.8);*/
    color: var(--app-button--selectcornersign-color);  /*white;*/
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

/* From Uiverse.io by ozgeozkaraa01 */
.pw--group {
  display: flex;
  line-height: 30px;
  align-items: center;
  position: relative;
  /*
  max-width: 200px;
  */
}

.pw--input {
  width: 100%;
  height: 45px;
  line-height: 30px;
  padding: 0 1rem;
  padding-left: 3rem;
  border: 2px solid transparent;
  border-radius: 10px;
  outline: none;
  background-color: #f8fafc;
  color: #0d0c22;
  transition: .5s ease;
}

.pw--input::placeholder {
  color: #94a3b8;
}

.pw--input:focus { /*, input:hover { */
  outline: none;
  border-color: rgba(129, 140, 248);
  background-color: #fff;
  box-shadow: 0 0 0 5px rgb(129 140 248 / 30%);
}

.pw--icon {
  position: absolute;
  left: 1rem;
  fill: none;
  width: 1rem;
  height: 1rem;
}

/* Bild nie breiter als die Spalte, Höhe auf Viewport begrenzen */
#segment--image img {
  max-width: 100%;
  height: auto;         /* hält das Seitenverhältnis */
  max-height: 60vh;     /* z.B. 60% der Bildschirmhöhe */
  /* optional, um sehr lange "Wörter" nicht zu sprengen */
  object-fit: contain;  /* schadet nicht, auch wenn nur max-height gesetzt ist */
}


/* mobile upload camera */

/* Bild-Card darf optional weiterhin begrenzen */
#pictureArea .card-body--max {
  /* so lassen oder eigene Werte */
}

#cameraArea .card-body--max,
#camera-area .card-body--max {
  max-height: none !important;
  overflow: visible !important;
}

/* Die Box selbst steuern wir per JS-Höhe */
.camera-box { width:100%; }

/* Optional: etwas mehr Kontrolle über die Grenze */
@media (max-width: 576px) {
  #segment--image img { max-height: 50vh; }
}

/* Fallback-Höhe, wird von JS überschrieben */
  .camera-box { height: 60svh; max-height: 80dvh; }
  /* Video füllt die Box */
  #camera { width: 100%; height: 100%; object-fit: cover; display:block; }

/* sorgt für hübsche Karte & max Breite */
.side-modal-card { max-width: 420px; margin: 6vh auto 0 auto; }


/*  cl image */
/* Namespace: nur innerhalb #segment--images gültig */
#segment--images{
  /* bequem anpassbar: */
  --klimg-card-min: 360px;
  --klimg-card-vw:  42vw;
  --klimg-card-max: 520px;
}

/* schmale Karten + saubere, gleiche Höhen */
#segment--images .klimg-card{
  width: 100%;
  max-width: clamp(var(--klimg-card-min), var(--klimg-card-vw), var(--klimg-card-max));
  display: flex;
  flex-direction: column;
}
#segment--images .klimg-card .card-body{ flex: 1 1 auto; }

/* Bildfüllung nur in unserem Bereich */
#segment--images .klimg-img-cover{
  object-fit: cover;
  object-position: center;
}

/* Nur innerhalb des Bild-Segmente-Bereichs aktiv */
#segment--images{
  --klimg-eye-size: 18px;   /* hier Augen-Größe anpassen */
  --klimg-eye-gap:  .3rem;  /* Abstand zwischen den Augen */
}

/* Container für die zwei Augen */
#segment--images .klimg-eye-pair{
  display: inline-flex;
  align-items: center;
  gap: var(--klimg-eye-gap);
  line-height: 1;
  vertical-align: middle;
}

/* Jedes Auge – hart auf fixe Größe + inline anzeigen */
#segment--images .klimg-eye{
  width: var(--klimg-eye-size);
  height: var(--klimg-eye-size);
  display: inline-block;
  flex: 0 0 auto;
}

/* Falls global jemand svg auf 100% setzt, neutralisieren wir das hier sicher */
#segment--images .klimg-eye{ max-width: none; }

/* Namespace: nur unter #segment--camera */
#segment--camera.klcam-host{
  position: relative;
  min-height: 50vh;      /* sichtbare Mindesthöhe – nach Bedarf anpassen */
  background: #000;      /* schwarzer Hintergrund, damit Ränder nicht „blitzen“ */
  overflow: hidden;
}

/* Video flächenfüllend im Host */
#segment--camera.klcam-host > video.klcam-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;     /* beschneidet, hält Seitenverhältnis */
  display: block;
}

/*  side-modal */
/* Wrapper füllt die Form-Fläche, NICHT den Bildschirm */
#klmodal-wrap.klmodal-wrap{
  position: relative;
  width: 100%;
  height: 100%;            /* wichtig: sonst sieht man das BG evtl. nicht */
  min-height: 320px;       /* fallback, falls Form sehr klein ist */
  display: grid;
  place-items: center;     /* panel zentrieren */
  padding: 1.5rem;         /* Randabstand */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;  /* falls kein Bild gesetzt ist */
}

/* Weißes, transparentes Panel in der Mitte */
#klmodal-wrap .klmodal-panel{
  width: min(92vw, 560px);
  border-radius: 1rem;
  background: rgba(255,255,255,0.50); /* 30% Opazität */
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);  /* dezenter „Glas“-Effekt */
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  max-height: 80dvh;
  overflow: auto;
}

#klmodal-wrap.klmodal-wrap { width:100%; height:100%; min-height:320px; }

/* nur das Input stylen, wenn es disabled ist */
.form-check-buttonlikecheckbox > .form-check-input.disabled {
  opacity: .5;
  pointer-events: none;   /* klickt das Input nicht mehr an */
}

/* aber: Label würde sonst weiter toggeln → daher zusätzlich: */
.form-check-input.disabled + .form-check-label {
  cursor: default;
  pointer-events: none;
  opacity: .5;
  transition: none;
}

.accordion-body {
    padding-bottom: 10px;

}
