﻿td {
    padding: 5px;
}

table {
    /* border-radius: 5px;
    border: solid 2px black;*/
}

h2 {
    margin-bottom: 1.5rem !important;
}

h1 {
    margin-bottom: 2rem !important;
}

tr {
    background-color: lightyellow !important;
}

.badge {
    font-weight: 400 !important;
}

.badge.big-font {
    font-size: 1rem;
    font-style: italic;
}

.my-font-bold {
    font-weight: 500;
}

select, 
[type=search] {
    background-color: lightyellow !important;
    opacity: 1.0;
}

.paginate_button.disabled {
    color: black !important;
    background: rgb(76 255 0);
}

.btn-primary {
    font-weight: 500;
}

.form-group {
    margin-bottom: 0px;
}

    .form-group.myPanel {
        margin-bottom: 1rem;
    }

table {
    /*   border-radius: 4px;
    overflow: hidden;
    border: 5px solid black !important;*/
    margin-bottom: 0px !important;
}

.card {
    margin-bottom: 1rem !important;
    background-color: lightyellow !important;
    border: 2px solid;
    width: 100%;
}



.card-header {
    padding: 0.5rem !important;
    /*border-bottom: 0px !important;*/
}

.card-image-top{        
}

.aspect-ratio-16-9{
    position: relative;
    display: block;
}

.aspect-ratio-16-9::before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
    background: silver;
}

/*Ratio 5:1*/
.aspect-ratio-5-1 {
    position: relative;
    display: block;
    
}

    .aspect-ratio-5-1::before {
        content: '';
        display: block;
        width: 100%;
        padding-bottom: 20%;
        /*background: pink;*/
      
    }

.row-sensors{
    /*padding: 0px;*/
    /*margin: 0px;*/
}


/*das img wird mit dieser Klasse dekoriert*/
.aspect-ratio-content {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit:contain;
}

.card-title {
    margin: 0.5rem !important;
}

.card-subtitle {
    color: #292b2c !important;
}

.card-body {
    border-top: 1px solid black;
    
}

.special-text-section {
    padding: 0rem 0.5rem 0rem 0.5rem !important;
    min-height: 6rem !important;
}

.command-section {
    padding: 0 0 0 0 !important;
    /*padding: 0rem 0.5rem 0rem 0.5rem !important;*/
    min-height: 0rem !important;
    margin-left: 0px !important;    
}

.cmdPanel {
    font-size: 0.75rem;
    font-weight: 500;
}

.cmdLink{
    padding: 0 0.5rem 0 0.5rem !important;
}    

.card-footer {
    /*padding: 0.5rem 0.5rem 0.5rem 0.5rem !important;*/
}

.my-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-center {
    display: grid;
    grid-auto-flow: column;
    gap: 4px;
    align-items: center;
    justify-items: center;
}

.small-text {
    font-size: 0.7rem;
    line-height: 1.0rem;
}

.normal-text {
    font-size: 0.8rem;
    line-height: 1.0rem;
    font-weight: 500;
    padding: 0 0 0 0 !important;
}

.sensor-value {
    padding: 0 0 0 0;
}

.tooltip ul {
    margin: 0px; 
    padding: 1rem;
}
.tooltip li{
    margin: 0px;
    padding: 0px;
}

.tooltip {
    position: absolute;
    z-index: 1020;
    display: block;
    visibility: visible;
    padding: 5px;
    font-size: 13px;
    opacity: 1 !important;
    filter: alpha(opacity=0)
}

    .tooltip.in {
        /*opacity: .8;*/
        /*filter: alpha(opacity=80)*/
    }


.tooltip-inner {
    width: 350px;
    padding: 3px 8px;
    color: #FFF;
    text-align: center;
    /*background: #5CB85C;*/
    /*background: var(--info);*/
    /*opacity: 0.8;*/
    background-color: #d42d2d;
    font-size: 1rem;
    line-height: 1.4rem;
    font-weight: 500;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 10px;
    /*border: 3px solid black;*/
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
   
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.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);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.StatusError {
    /*background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);*/
    background: linear-gradient(-45deg, red, yellow);
    background-size: 400% 400%;
    animation: gradient 2.5s ease infinite;
}

.StatusNormal {
    background: linear-gradient(-45deg, #23a6d5, #23d5ab);
    /*background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);*/
    /*background: linear-gradient(-45deg, red, yellow);*/
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;    
}

.ScreenshotStatusError {    
    border: 3px solid red;   
    /*opacity: 0.5;*/
    /*background-color: rgb(0 0 0 / 1);*/
    /*padding: 3px 3px 3px 3px;*/
}

.WholeStatusError {
    border: 3px solid red !important;
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active 
{    
    color: rgba(255,255,255,0.9) !important;   
    font-weight: 500;
}


.modal-backdrop {
    opacity: 0.3 !important;
    backdrop-filter: none;

}

/*.modal-backdrop {*/
    /* bug fix - no overlay */
    /*display: none !important;
}*/

/*
.modal-backdrop {
    z-index: 1040 !important;
}

.modal-content {
    margin: 2px auto;
    z-index: 1100 !important;
}*/

/*@media (min-width: 576px) {
    .card-columns {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 4;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        column-count: 5;
    }
}*/
