﻿
a { text-decoration:none }

a > i.bi::before {
    margin-right:10px;vertical-align:top
}

h2 > span { font-size:0.7em }

.div-container {
    overflow:auto;
}

.mobile-show { display:none }

.form-checkbox > div {
    padding: 1rem 0px;
}
.form-checkbox > div  {
    padding: 0px .75rem;
}

.form-checkbox > label {
    opacity: .65; margin-left:8px;margin-top:8px;
    /*transform: scale(.85) translateY(-.5rem) translateX(.15rem);*/
}

.questionnaire .form-floating > .form-control:focus ~ label, .questionnaire .form-floating > .form-control:not(:placeholder-shown) ~ label,
.questionnaire .form-floating > .form-select ~ label, .questionnaire .form-checkbox > label {
    opacity: 100%
}

.form-label { margin-right:120px }
.form-check > label { margin-right:120px }

.card .form-label {
    margin-bottom: 2px
}

.card hr { margin:20px 0px }

.rights-access { margin-top:10px; }
.rights-access:first-child { margin-top: 0px; }

.document-link {
    margin-top: 1rem;
}


.row .btn-last {
    margin-bottom: 50px
}
.row h5.subline {
    padding-top: 30px;clear:both
}
.row h5.subtext {
    padding-top: 30px;
    font-size: 1em
}

.not-required { color:#aaa }


.form-check-inline > input {
    position: absolute;
    margin-left: -20px;
    margin-top: 5px;
}

.form-floating > input[type=number] { width:190px }

.nav-link span { float:right;display:block;font-size:0.8em;padding-top:2px }

.nav-link span.green { color:#26b050 }
.nav-link span.red { color:#000000 }
.nav-link.active span { color: #fff !important }

.nav-item .btn { margin-bottom:30px }
.justify-content-between .nav-item .btn { margin-bottom:10px }

.nav-link:hover {
    background-color: #f7f7f7;
}

.btn-hidden { display:none }

.admin-menu h1 { display:inline-block;margin-right:30px  }
.admin-menu a { display: inline-block; margin-right: 20px }


.start-info {
    padding-top: 14px;
    padding-left: 30px
}

.start-info > div {
    padding-top: 14px;
}

.form-version {
    position:absolute;
    margin-top: 4px;
    font-size: 14px;
    color: #0d6efd;
    right:20px;cursor:pointer
}

.smallText { font-size:0.8em;border-top:solid 1px black;padding-top:10px }


/* Overlay-Hintergrund */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* halbtransparent schwarz */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

/* Das Modal-Fenster */
.modal-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1060;
    animation: fadeInScale 0.3s ease-in-out;
}

/* Animation (optional) */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Buttons mit Abstand */
.modal-item button {
    margin-right: 0.5rem;
}

.item-table { width:100% }
.item-table td {  width: 50%;vertical-align:top }

.toggle-password {
    position: absolute;
    top: 0px;
    right: 0px;
    height: calc(3.5rem + 2px);
    border-radius: 0px 5px 5px 0px;
    border-width: 0px;
    outline: none;
}
.toggle-password:focus { box-shadow:none }

.col-md-6.mb-2 input[type=file] {
    margin-bottom:20px
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.popup-content {
    background: white;
    padding: 20px;
    margin: 100px auto;
    width: 400px;
    border-radius: 8px;
}


.issue-card {
    cursor: pointer;
    transition: all 0.15s ease;
}

.issue-card:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.issue-card .fw-semibold {
    font-size: 1.05rem;
}

@media screen and (max-width: 800px) {
    .start-info {
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .mobile-hide {
        display: none
    }
    .mobile-show {
        display: block
    }
}

@media screen and (min-width: 1200px) {
    .col-md-3 {
        width: 33%;
    }
    .col-md-9 {
        width: 67%;
    }
}


@media screen and (max-width: 1199px) {
    .questionnaire-row > div {
        width: 100%;
    }

}
