/* Nagyobb kijelzőkön az óra kikerül a jobb szélre */
@media (min-width: 768px) {
    #top-bar {
        flex-direction: row;
        justify-content: center;
    }
    #clock {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}

html, body {
    font-weight: normal;
}

.info_data_text,
.warning_data_text,
.error_data_text {
    font-size: 1.5rem;
}

#board {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 10px;
    line-height: 1.1;
    background: var(--fxGrey);
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

#top-bar {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    position: relative;
    width: 100%;
}
#clock {
    margin-left: 40px;
    margin-right: 40px;
    font-family:monospace;
    font-size: 2rem;
    font-weight: normal;
    color: var(--fxBlack);
}

#atveheto {
    text-align: center;
    color: var(--fxGreen);
    font-weight: bold;
    font-size: 3rem;
    margin-top: 0px;
}
#keszul {
    text-align: center;
    color: var(--fxRed);
    font-weight: bold;
    font-size: 3rem;
    margin-top: 0px;
}
#separator {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    border-top: 4px solid var(--fxBlack);
}

.item-row {
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 98%;
    gap: 20px;
}
.item-info {
    display: flex;
    align-items: center;
    gap: 3vw;
    min-width: 0;
}
.icon {
    flex-shrink: 0;
}
.icon img {
    margin-left: 10px;
    width: 4rem;
    color: var(--fxBlack);
    filter: brightness(0);
}
.item-info .text {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--fxBlack);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}
.green-number {
    margin-right: 40px;
    color: var(--fxGreen);
    font-size: 4rem;
    font-weight: bold;
    /*flex-shrink: 0;*/
    
}
.red-number {
    margin-right: 40px;
    color: var(--fxRed);
    font-size: 4rem;
    font-weight: bold;
}
