html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 80px;
}

table.dataTable tbody td {
    vertical-align: middle;
}



.bg-cloudred {
    background-color: #e81b16;
}

.bg-panamed-dark {
    background-color: #01A8BA;
}

.bg-panamed-light {
    background-color: lightcyan;
}

.vertical-line {
    border-left: 1px solid #ccc;
    height: 20px;
    display: inline-block;
    margin: 0 10px;
}

.image-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%; /* oder eine bestimmte Breite in Pixeln */
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.dropzone {
    border: solid 1px black;
}

.upload {
    position: relative;
    display: block;
    border: 1px solid black;
    background-color: #ecedee;
    padding: 3em;
    margin: 1em auto;
    border-radius: 4px;
}

    .upload label {
        border-bottom: 1px solid #ccc;
        padding: 1em;
        text-align: center;
        font-weight: bold;
        font-size: 1.3em;
    }

    .upload:hover {
        background-color: #86b7fe;
    }

    .upload input {
        position: absolute;
        opacity: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        padding: 0;
    }

#names li {
    margin: 1em;
}

/*Anpassungen für die Tabellen input Matritzenform*/
.table-matrix td:not(:first-child) {
    text-align: center;
    min-width: 100px;
    
}

.table-matrix td:first-child {
    text-align: left;
    min-width: 150px;
    
}

.table-matrix{
    /*table-layout: auto;*/     
}

.clickable-cell {
    cursor: pointer;
}

/*Anpassungen für die Charts*/
.chart-container{
    max-height: 400px;
}

.word-wrap {
    white-space: normal !important;
    word-wrap: break-word;
    /*max-width: 200px;*/ /* Passe die Breite nach Bedarf an */
}


/*Chat Message*/
.msg {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    color: white;
    position: relative;
}

.msg-primary {
    /*background-color: var(--bs-primary);*/
    background-color: darkslategrey;
    margin-left: 1rem;
}

.msg-secondary {
    /*background-color: var(--bs-secondary);*/
    background-color: lightslategrey;
    margin-right: 1rem;
}

.msg small:first-of-type {
    display: block;
}

.msg p {
    margin-bottom: 0;
}

.msg small:last-of-type {    
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 0.5rem;    
}


@media (min-width: 992px) { /* Gilt für größere Bildschirme */
    #rightCard {
        max-height: 750px; /* Damit das rechte Div nicht größer als das linke wird */
    }
}

@media (max-width: 991px) { /* Wenn col-12 greift */
    #rightCard {
        max-height: 500px; /* Begrenzung für kleinere Bildschirme */
    }
}


.btn-muted {
    color: #6c757d; /* Bootstrap's text-secondary */
    text-decoration: none;
}

.btn-muted:hover {
    color: #495057; /* Etwas dunkler beim Hover */
    text-decoration: underline;
}
