﻿input[type="radio"], label.form-check-label {
    cursor: pointer;
}

.bt {
    border-top: 1px solid rgba(0,0,0,.125);
}

.bg-light-gray {
    background-color: #e9ecef;
}

.table-header-dark-border {
    border-top: 1px solid #868e96;
    border-bottom: 1px solid #868e96;
}

.table thead th {
    border: 0px;
}

.custom-file .custom-file-label:lang(de)::before {
    content: "Wählen Sie die gewünschte(n) Datei(en)...";
    color: #868e96;
    opacity: 1;
}

.custom-file .custom-file-label:lang(de)::after {
    content: "Datei(en) hochladen";
    color: #fff;
    background-color: #868e96;
    border-color: #868e96;
}

.toast-container {
    z-index: 999999999 !important;
}

.toast {
    position: relative;
    --bs-toast-bg: rgba(255, 255, 255, 1) !important;
}
.toast-header {
    position: relative;
}

.infront-of-progress {
    z-index: calc(var(--bs-toast-zindex) + 2) !important;
}

.toast > .timer,
.toast > .toast-header > .timer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: calc(var(--bs-toast-zindex) + 1) !important;
}
.toast > .timer > .progress,
.toast > .toast-header > .timer > .progress {
    border-radius: 0;
    height: 100%;
    width: 0%;
    background-color: #000000;
    opacity: 0.2;
}

.fab {
    position: fixed;
    bottom: 12px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    font-size: 1.5em;
}
.fab .btn-dark {
    transition-duration: 1s !important;
}

#sync-fab-dropdown {
    width: 500px !important;
}

.fab-bounce {
    animation-name: fab-bounce;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
}

@keyframes fab-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.drc-edit-row {
    --drc-edit-row-full: rgba(241, 239, 227, 1) !important;
    --drc-edit-row-empty: rgba(241, 239, 227, 0) !important;
    
    /*
    Background fade
        0px     empty
        20px    full
        100%-20px full
        100%    empty
     */
    background-image: linear-gradient(90deg, var(--drc-edit-row-empty) 0px, var(--drc-edit-row-full) 20px, var(--drc-edit-row-full) calc(100% - 20px), var(--drc-edit-row-empty) 100%);
}

/*.btn-file {
    position: relative;
    overflow: hidden;

}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}*/

.message-item {
    margin-bottom: 15px;
    margin-left: 40px;
    position: relative;
}

    .message-item .message-inner {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 3px;
        padding: 10px;
        position: relative;
    }

        .message-item .message-inner:before {
            border-right: 10px solid #ddd;
            border-style: solid;
            border-width: 10px;
            color: rgba(0, 0, 0, 0);
            content: "";
            display: block;
            height: 0;
            position: absolute;
            left: -20px;
            top: 6px;
            width: 0;
        }

        .message-item .message-inner:after {
            border-right: 10px solid #fff;
            border-style: solid;
            border-width: 10px;
            color: rgba(0, 0, 0, 0);
            content: "";
            display: block;
            height: 0;
            position: absolute;
            left: -18px;
            top: 6px;
            width: 0;
        }

    .message-item:before {
        background: #fff;
        border-radius: 2px;
        bottom: -30px;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        content: "";
        height: 100%;
        left: -30px;
        position: absolute;
        width: 3px;
    }

    .message-item:after {
        background: #fff;
        border: 2px solid #ccc;
        border-radius: 50%;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        content: "";
        height: 15px;
        left: -36px;
        position: absolute;
        top: 10px;
        width: 15px;
    }

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.message-item .message-head {
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

.no-margin {
    margin: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.nav-link {
    cursor: pointer;
}

.cursor-default {
    cursor: default !important;
}

.pointer {
    cursor: pointer;
}

.stop-sign {
    cursor: not-allowed;
}

.sh-collapse {
    display: none;
}

.sh-collapse.sh-not-collapsed {
    display: block !important;
    transition: height 0.35s ease;
    -moz-transition: height 0.35s ease;
    -webkit-transition: height 0.35s ease;
}

/* region z-index */
nav.navbar {
    z-index: 9000;
}
.modal-backdrop {
    z-index: 9001;
}
.modal {
    z-index: 9002;
}
/* endregion */
