@font-face {
    font-family: 'nunito';
    src: url('/fonts/nunito-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nunito';
    src: url('/fonts/nunito-bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal
}

body {
    font-family: nunito, sans-serif;
}

.current {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.tableSBS {
    border-collapse: collapse;
    margin: auto;
}

.tableSBS th, .tableSBS td {
    padding: 4px;
    font-size: 14px;
    border: 1px solid #E6E5E0;
    text-align: left;
}

.tableSBS th.number, .tableSBS td.number {
    text-align: right;
}

.tableSBS td.result { width: 50px; }
.tableSBS td.total { width: 60px; }
.tableSBS td.order::after { content: "."; }

.tableSBS td.tdBWC, .tableSBS td.tdGroup {
    background-color: #f1efe3;
    padding-left: 5px;
    text-align: left;
    font-weight: bold;
}
.tableSBS td.tdGroup {
    background-color: #e8e6d5;
    border-top: 2px solid #000;
}
.tableSBS td.bold, #discipline:checked~table .bp {
    font-weight: bold;
}
.tableSBS td.left-border {
    border-left: 2px solid #c78585;
}
.tableSBS td.current:not(.result) {
    background: #fdca6e;
}
.tableSBS td.current.result {
    outline: 3px solid brown;
}
.tableSBS td.state1 { background-color: #d9f5bc; }
.tableSBS td.state2 { background-color: #fad9da; }
.tableSBS td.state3, .tableSBS td.state5, .tableSBS td.state6 {
    background-color: #fad9da;
    font-size: 0;
    text-align: center;
}
.tableSBS td.state3::after, .tableSBS td.state5::after, .tableSBS td.state6::after {
    content: "×";
    visibility: visible;
    font-size: 13px;
}
.tableSBS td.best { background: #ffffe0; }
.tableSBS td.subtotal { background: #f6ffff; }
.tableSBS td.tdLifterName, .tableSBS td.info, .tableSBS th.info {
    text-align: left;
    padding-left: 5px;
    white-space: nowrap;
}
.tableSBS td.tdTeam {
    text-align: left;
    white-space: nowrap;
}
.tableSBS img.flag {
    padding: 0 2px 0 1px;
}

#fullview:not(:checked)~table.tableSBS .tdTeam {
    display: none;
}

#bpSwitch:checked~table .bpSwitch { display: none; }
#sqSwitch:checked~table .sqSwitch { display: none; }
#dlSwitch:checked~table .dlSwitch { display: none; }
input.hidden_switch { display: none; }
#discipline:checked~table .theelift { display: none; }
#discipline:checked~#bpSwitch:checked~table td.absolute,
#discipline:checked~#bpSwitch:checked~table th.absolute {
    display: table-cell;
}

div.titleContainer * {
    font-weight: bold;
    text-align: center;
    margin: 0.2em 0 0 0;
    font-size: 17px;
    color: #000;
    font-family: nunito, sans-serif;
}
div.titleContainer h3, div.titleContainer h4 { color: #525354; }
div.titleContainer h4 { font-size: 14px; margin: 0.2em 0 1em; }

#serverErrorStatus {
    position: fixed;
    top: 5px;
    right: 5px;
    color: #FF0000;
    display: none;
}