/*
** General CSS formatting for tables, wiggling spinner, etc.
**
** cSpell: ignore stretchdelay
*/
table {
    border-collapse: collapse;
    margin-left: 10px;
    margin-right:auto;
    table-layout: auto;
}
td {
    border: 1px solid #666;
    word-break: break-all;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 8px;
}
td.fit {
    min-width: fit-content;
    width: 0;
    white-space: nowrap;
}
th {
    padding: 8px
}
th.fit {
    min-width: fit-content;
    width: 0;
    white-space: nowrap;
}
thead {
    background-color: #333;
    color: white;
}
tbody tr:nth-child(odd) {
    background-color: #fff;
}
tbody tr:nth-child(even) {
    background-color: #eee;
}
.cross {
    color: #ff0000;
}
.check {
    color: #00ff00;
}
.spinner {
    width: 30px;
    height: 20px;
    text-align: center;
    font-size: 10px;
}
.spinner > div {
    background-color: limegreen;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}
.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}
.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}
@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
}
@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}
