body {
    background-color: black;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Condensed', sans-serif;
    border: solid 1px;
    border-color: gray;
    color: white;
}

th,
td {
    border-spacing: 0;
    padding: 5px 3px 3px 3px;
    text-align: center;
    line-height: 1;
    border: solid 1px;
}

th {
    border: none;
    background-color: darkblue;
    color: #fff;
    font-weight: 400;
}

td {
    border-bottom: solid 1px;
    border-color: gray;
    font-weight: normal;
}

.text-left {
    text-align: left;
}

.text-color {
    color: #fff;
}

.ml-30 {
    margin-left: 30px;
}

.green-flag {
    background-color: green;
    padding: 5px 8px;
    border-radius: 3px;
    margin: 3px 3px 3px 0;
    width: 100%;
}

.yellow-flag {
    color: black;
    background-color: yellow;
    padding: 5px 8px;
    border-radius: 3px;
    margin: 3px 3px 3px 0;
}

.red-flag {
    background-color: red;
    padding: 5px 8px;
    border-radius: 3px;
    margin: 3px 3px 3px 0;
}

.finish {
    background-color: gray;
    padding: 5px 8px;
    border-radius: 3px;
    margin: 3px 3px 3px 0;
}

.notFlag {
     background-color: rgba(0, 0, 0, 0.5); /* Цвет фона с прозрачностью */
    padding: 5px 8px;
    border-radius: 3px;
    margin: 3px 3px 3px 0;
}

.ttg {
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 3px;
    margin: 3px 3px 3px 0;
    border: solid 1px;
}

.name-hit {
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 3px;
    margin: 3px 3px 3px 0;
}

.p-slash {
    padding: 0 5px;
}

.notWrapText {
    white-space: nowrap;
    white-space: pre;
}

.minFontSize {
    color: black;
    font-size: 0.1px;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: black;
}

.fontSector {
    color: #F0E68C;
    font-size: 20px;
    font-weight: bold;
}

.fontSectorPit {
    color: #87CEEB;
    font-size: 20px;
    font-weight: bold;
}

.fontWarinig {
    color: #FFE4B5;
    font-weight: bold;
}

.fontRemark {
    color: #FF7F50;
    font-weight: bold;
}

.footer {
    position: sticky;
    padding: 0 0px;
    margin: 0px 0px 0px 0;
    bottom: 0;
}

.bgBlack {
    background-color: black;
}

.sprava {
    position: absolute;
    right: 10px;
}


#id_tbody tr {
    height: 30px; /*  Задайте желаемую высоту  */
    /* Добавьте vertical-align, чтобы содержимое центрировалось по вертикали */
    vertical-align: middle;
}
/* Скрываем столбец 2 и 12 */
#id_tbody tr td:nth-child(14),
#id_tbody tr th:nth-child(14),
#id_tbody tr td:nth-child(15),
#id_tbody tr th:nth-child(15) {
    display: none;
}


.nowrap-cell {
    white-space: nowrap;
}

.displayOff {
    display: none;
}

/****************************/
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Condensed', sans-serif;
    border: solid 1px;
    border-color: gray;
    color: white;
}

th,
td {
    border-spacing: 0;
    padding: 5px 3px 3px 3px;
    text-align: center;
    line-height: 1;
    border: solid 1px;
}

th {
    border: none;
    background-color: darkblue;
    color: #fff;
    font-weight: 400;
}

td {
    border-bottom: solid 1px;
    border-color: gray;
    font-weight: normal;
}

/* Добавляем стили для четных и нечетных строк */
#id_tbody tr:nth-child(even) {
  background-color: #333333; /* Темный серый для четных */
}

#id_tbody tr:nth-child(odd) {
  background-color: #514f4f; /* Более светлый серый для нечетных */
}

/************************************/
.arrow-up {
    color: #66ff00;
}

.arrow-down {
    color: red;
}

.arrow-up::after {
    content: '\25B2'; /* Unicode для стрелки вверх */
}

.arrow-down::after {
    content: '\25BC'; /* Unicode для стрелки вниз */
}


.blink {
    animation: blinker 1s linear infinite; /* Мигаем в течение 20 секунд*/
    font-weight: bold;
    font-size: 1.2em; 
}

.red_t {
    color: red;
}

@keyframes blinker {
    70% {
        opacity: 0;
    }
}


/*
.blink {
    animation: blinker 20s linear; // Мигаем в течение 20 секунд
    color: red; // Цвет после окончания анимации 
    font-weight: bold;
    font-size: 1.2em; // Adjust size as needed 
}

@keyframes blinker {
    70% {
        opacity: 0;
    }
}
*/

.websocket-status-container {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background-color: #333; /* Цвет фона */
    border-radius: 5px;
    margin-bottom: 10px;
    color: white;
}

.websocket-indicator-online {
    width: 10px;
    height: 10px;
    background-color: #66ff00;
    border-radius: 50%;
    margin-right: 5px;
}

.websocket-indicator-offline {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    margin-right: 5px;
}

.marquee-container {
    width: 99%; /* Adjust width as needed */
    overflow: hidden;
    margin-left: 10px; /* Add some space */
}

#marquee-text {
    width: 100%;
}

#marquee-content {
    white-space: nowrap;
    display: inline-block; /* Required for marquee to work */
}