html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


.btn-primary {
    color: #ffffff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    margin: 10px 0px 10px 0px;
}

.btn-table {
    color: #000000;
    background-color: #ffffff;
    border-color: #ffffff;
}


    
input[type="date"]{
    display: inline;
}

.form-control {
    width: 15%;
    width: 200px;
    margin: 5px 5px 5px 0px;
}

@media (min-width: 768px) {
    .page-contain {
        display: flex;
    }
}

.data-card {
    display: flex;
    flex-direction: column;
    width: 15.75em;
    height: 15.75em;
    overflow: hidden;
    border-radius: .5em;
    text-decoration: none;
    background: blue;
    margin: 1em;
    padding: 2.75em 2.5em;
    box-shadow: 0 1.5em 2.5em -.5em rgba(#000000, .1);
    transition: transform .45s ease, background .45s ease;
}

h3 {
    color: #2E3C40;
    font-size: 3.5em;
    font-weight: 600;
    line-height: 1;
    padding-bottom: .5em;
    margin: 0 0 0.142857143em;
    border-bottom: 2px solid #753BBD;
    transition: color .45s ease, border .45s ease;
}

h4 {
    color: #627084;
    text-transform: uppercase;
    font-size: 1.125em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    margin: 0 0 1em;
    transition: color .45s ease;
}

h1 b {
    font-weight: 600;
    font-size: 60px;
    color: #203d5e;
}

p {
    opacity: 0;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.8;
    margin: 0 0 1.25em;
    transform: translateY(-1em);
    transition: opacity .45s ease, transform .5s ease;
}

.link-text {
    display: block;
    color: #753BBD;
    font-size: 1.125em;
    font-weight: 600;
    line-height: 1.2;
    margin: auto 0 0;
    transition: color .45s ease;
}

h3 {
    color: #FFFFFF;
    border-bottom-color: #bdc5eb;
}

h4 {
    color: #FFFFFF;
}

p {
    opacity: 1;
    transform: none;
}

.link-text {
    color: #FFFFFF;
}

.highlight {
    background: #16BAE7;
}

.sorting {
    background-image: url("../images/sort.svg");
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 50%;
}

.sorting-asc {
    background-image: url("../images/up_arrow.png");
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 50%;
}

.sorting-desc {
    background-image: url("../images/down_arrow.png");
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 50%;
}

table.fixedSize {
    min-width: 2400px;
}

td.color-red {
    background-color: #D76A74;
}

td.color-orange {
    background-color: #D9834E;
}

td.color-yellow {
    background-color: #FBCF7C;
}


td.color-green {
    background-color: #A5DBBD;
}

img.active {
    margin-bottom: 3px;
}

span.inactive {
    margin-left: 12px;
}


.switch {
    position: absolute;
    display: inline-block;
    margin: 8px 5px 5px 15px;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.custom-table {
    max-width: 1500px; /* Legen Sie die maximale Breite auf 1500px fest oder passen Sie sie nach Bedarf an */
    width: 50%; /* Lassen Sie die Tabelle die verfügbare Breite ausfüllen */
    /* Fügen Sie abgerundete Ecken zur Tabelle hinzu */
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

/* Begrenzen Sie die Breite der Tabellenspalten */
.custom-table th,
.custom-table td {
    font-size: 14px;
    min-width: 200px;
    max-width: 250px; /* Passen Sie die maximale Spaltenbreite nach Bedarf an */
    max-height: 100px;
    white-space: nowrap; /* Verhindern Sie den Zeilenumbruch in den Spalteninhalten */
    overflow: hidden;
}

.page-container-liveagents {
    background-color: #f5f5f5; /* Leicht gräulicher Hintergrund für die gesamte Seite */
    padding: 0px; /* Innenabstand für die Seite */
    /* Fügen Sie abgerundete Ecken zur Seite hinzu */
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    height: 100%;
}

.table-container {
    display: inline-block; /* Container passt sich der Größe des Inhalts an */
    background-color: #FAFAFF; /* Hintergrundfarbe für den Container */
    padding: 20px; /* Innenabstand für den Container */
    border-radius: 10px; /* Abgerundete Ecken für den Container */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin-right: 20px; /* Rechter Abstand zwischen den Containern */
    margin-bottom: 20px; /* Unten Abstand zwischen den Containern */
    max-width: 45%;
}

.table-container h2 {
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    overflow: hidden; /* Versteckt Text, der über den Container hinausgeht */
    text-overflow: ellipsis; /* Fügt "..." hinzu, wenn der Text gekürzt wird */
    margin-right: 10px; /* Optional: sorgt für etwas Abstand am rechten Rand */
}


.table-container .table {
    width: 100%; /* Setzt die Tabelle auf die volle Breite ihres Containers */
    table-layout: fixed; /* Sorgt dafür, dass die Tabelle eine feste Layout hat */
    word-wrap: break-word; /* Erlaubt das Umbruch von Wörtern innerhalb einer Zelle, falls notwendig */
}

.green-activity {
    background-color: #ABE1C3 !important; /* Hintergrundfarbe für die Aktivität "Im Gespräch" */
}

.blue-activity {
    background-color: #BDCDF4 !important; /* Hintergrundfarbe für die Aktivität "Nachbereitung" */
}

.red-activity {
    background-color: #E19494 !important; /* Hintergrundfarbe für die Aktivität "Nachbereitung" */
}

.yellow-activity {
    background-color: #FCE7AD !important; /* Hintergrundfarbe für die Aktivität "Nachbereitung" */
}

.blue-activity {
    background-color: #BDCDF4 !important; /* Hintergrundfarbe für die Aktivität "Nachbereitung" */
}

.chart-container {
    display: flex;
    justify-content: space-between;
}

.large-chart {
    flex: 2; /* Nimmt mehr Platz ein */
    margin-right: 20px; /* Etwas Abstand zwischen den Charts */
}

.small-charts {
    display: flex;
    flex-direction: column;
    flex: 1; /* Nimmt weniger Platz ein */
    justify-content: space-between;
}

.small-chart {
    height: 49%; /* Jeder kleine Chart nimmt etwa die Hälfte der vertikalen Raum ein */
}

.card {
    font-family: Arial, sans-serif;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;/* oder die Breite, die du brauchst */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0px;
    margin-inline: 5px;
    display: inline-block; /* oder flex, falls es im Flexbox-Kontext verwendet wird */
}

.card-content {
    padding: 8px;
    text-align: center;
}

.card-content table {
    width: 100%;
    border-collapse: collapse;
}


.card-content td, .card-content th {
    padding: 4px;
    text-align: center;
    border: 1px solid #ddd;
}

.flex-container {
    display: flex;
    justify-content: space-between;
}

.form-container, .card-container {
    flex: 1; /* Beide Container nehmen den verfügbaren Raum ein */
    margin: 0px; /* Ein wenig Abstand zwischen den Containern */
}

.large-number-hit {
    font-size: 48px;
    font-weight: bold;
    margin-inline: 20px;
    margin-block: -10px;
    color: seagreen;
}

.large-number {
    font-size: 48px;
    font-weight: bold;
    margin-inline: 20px;
    margin-block: -10px;
    color: red;
}

.progress-bar {
    position: relative;
    height: 5px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-bar-fill {
    height: 100%;
    background-color: red;
    border-radius: 10px;
    transition: width 0.3s;
}

.progress-bar-fill-hit {
    height: 100%;
    background-color: seagreen;
    border-radius: 10px;
    transition: width 0.3s;
}

.progress-bar-label {
    font-size: 12px;
    margin-bottom: 2px;
    text-align: left;
}

.card-center-label {
    font-size: 12px;
    margin-bottom: 2px;
    text-align: center;
}