.page[name='race'][mode] > .menu,
.page[name='race']:not([mode='statistics']) > .header,
.page[name='race'][mode] > .content > .imageWrapper,
.page[name='race']:not([mode='statistics']) > .content > .section[key='laps'],
.page[name='race'][mode] > .footer {
    display: none;
}
.page[name='race'] > .header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 64px;
}
.page[name='race'] > .header > .side {
    width: 64px;
}
.page[name='race'] > .header > .side > .button {
    padding: 20px;
}
.page[name='race'] > .header > .side > .button > img {
    display: block;
    width: 24px;
}
.page[name='race'] > .header > .center {
    display: table;
    width: calc(100% - 128px);
    height: 100%;
    text-align: center;
}
.page[name='race'] > .header > .center > div {
    display: table-cell;
    font-size: 16px;
    font-weight: 600;
    vertical-align: middle;
}
.page[name='race'] > .content {
    position: absolute;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.page[name='race']:not([mode]) > .content {
    padding-bottom: 16px;  
}
.page[name='race']:not([mode='statistics']) > .content {
    top: 0;
}
.page[name='race'][mode='statistics'] > .content {
    top: 64px;
}
.page[name='race'][mode='statistics'] > .content > .imageWrapperOverlay {
    display: none;
}
.page[name='race'] > .content > .imageWrapperOverlay {
    position: absolute;
    top: 0;
    z-index: 1;
    height: 165px;
}
.page[name='race'] > .content > .imageWrapper {
    width: 100%;
    height: 165px;
    border-radius: 8px;
    top: 0;
    right: 0;
    left: 0;
}
.page[name='race'] > .content > .imageWrapper > img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.page[name='race'] > .content > .imageWrapper > .sideBackground {
    position: absolute;
    bottom: 0;
    height: 165px;
}
.page[name='race'] > .content > .imageWrapper > .bottomBackground {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40px;
}
.page[name='race']:not([mode='statistics']) > .content > .section:not(:last-child) {
    margin-bottom: 40px;
}
.page[name='race'][mode='statistics'] > .content > .section:not(:last-child) {
    margin-bottom: 24px;
}
.page[name='race'] > .content > .section.fullScreen {
    position: fixed;
    top: 0;
    left: 100vw;
    height: 100vw;
    z-index: 10000;
    width: 100vh;
    transform-origin: 0 0;
    padding-top: 24px;
    padding-bottom: 24px;
    animation: spin 0.15s ease 1 forwards, fadeIn 0.3s ease forwards;
}
.page[name='race'][mode='statistics'] > .content > .section[key='scoreboard'] {
    margin-top: 24px;
}
.page[name='race'] > .content > .section[key='scoreboard'] {
    min-height: 120px;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .header {
    margin-top: -10px;
    overflow: hidden;
}
.page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .header {
    margin-right: 20px;
    margin-left: 20px;
}
.page[name='race'] > .content > .section[key='laps'] > .header {
    margin: -10px 20px 8px 20px;
    overflow: hidden;
}
.page[name='race'] > .content > .section.fullScreen > .header > .title {
    font-size: 20px;
}
.page[name='race'] > .content > .section > .header > img {
    width: 18px;
    margin-top: 3.5px;
}
.page[name='race'] > .content > .section > .header > .title {
    font-weight: 600;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .header > .title {
    margin-top: 3px;
}
.page[name='race'] > .content > .section > .header > .timer {
    padding: 6.5px 12px;
    border-radius: 16px;
    font-weight: 500;
}
.page[name='race']:not(.active) > .content > .section > .header > .timer {
    display: none;
}
.page[name='race'] > .content > .section > .header > .timer > img {
    width: 14px;
    height: 14px;
    margin-top: 4.5px;
}
.page[name='race'] > .content > .section:not(.fullScreen) > .header > .timer > .value {
    width: 40px;
    font-size: 12px;
    line-height: 23px;
}
.page[name='race'].active > .content > .section > .header > .finish {
    display: none;
}
.page[name='race'] > .content > .section > .header > .finish {
    padding: 5px 10px;
    border-radius: 8px;
}
.page[name='race'] > .content > .section > .header > .finish > img {
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 14px;
}
.page[name='race'] > .content > .section > .header > .finish > div {
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}
.page[name='race'] > .content > .section.fullScreen > .tableWrapper {
    font-size: 17px;
}
.page[name='race'] > .content > .section:not(.fullScreen) > .tableWrapper {
    font-size: 13px;
}
.page[name='race'] > .content > .section > .tableWrapper {
    border-radius: 16px;
    font-weight: 600;
}
.page[name='race'] > .content > .section:not(.fullScreen) > .tableWrapper {
    margin-right: 16px;
    margin-left: 16px;
}
.page[name='race'] > .content > .section.fullScreen > .tableWrapper {
    position: absolute;
    top: 50px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table {
    border-spacing: 0px 10px;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table {
    table-layout: fixed;
    border-spacing: 0px;
    border-radius: 16px;
    padding-top: 12px;
}
.page[name='race'] > .content > .section > .tableWrapper > .fTable > .content > table {
    width: 100%;
}
.page[name='race'] > .content > .section > .tableWrapper > .fTable > .content > table > thead > .filterFields,
.page[name='race'] > .content > .section > .tableWrapper > .fTable > .content > table > thead > .buttons {
    display: none;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > thead > tr > th[key='lap'] {
    width: 25%;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > thead > tr > th {
    padding-bottom: 8px;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > thead > tr > th[key='difference'] {
    width: 25%;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > thead > tr > th[key='duration'] {
    width: 25%;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > thead > tr > th[key='image'] {
    width: 25%;
}
.page[name='race'] > .content > .section:not(.fullScreen)[key='scoreboard'] > .tableWrapper > .fTable > .content > table > thead > tr > th[key='clientKey'],
.page[name='race'] > .content > .section:not(.fullScreen)[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] {
    max-width: 150px;
}
.page[name='race'] > .content > .section.fullScreen[key='scoreboard'] > .tableWrapper > .fTable > .content > table > thead > tr > th {
    font-size: 17px;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > thead > tr > th[key='last'] {
    text-align: center;
}
.page[name='race'] > .content > .section > .tableWrapper > .fTable > .content > table > thead > tr > th {
    pointer-events: none;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > thead > tr > th,
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > tbody > tr > td:not([colspan]) {
    font-size: 12px;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > tbody > tr.best {
    font-weight: bold
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td:first-child {
    text-align: center;
    width: 20px;
}
.page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .tableWrapper > .fTable > .content > table > tbody > tr > td {
    padding-top: 12px;
    padding-bottom: 12px;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > tbody > tr > td {
    padding: 16px;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='last'],
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='best'],
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='lap'] {
    font-family: 'robotoMono1';
    font-weight: 400;
}
.page[name='race'] > .content > .section[key=scoreboard] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='last'] {
    text-align: center;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='difference'] {
    text-align: center;
}
.page[name='race'] > .content > .section.fullScreen[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .name {
    font-size: 17px;
}
.page[name='race'] > .content > .section.fullScreen[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .carName {
    font-size: 15px;
}
.page[name='race'] > .content > .section.fullScreen[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td {
    font-size: 16px;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td:not([colspan]):not(:first-child):not(:last-child):not([key='last']) {
    padding-right: 8px;
    padding-left: 8px;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .badge,
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text {
    display: inline-block;
    vertical-align: middle;
}
.page[name='race'] > .content > .section > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .badge {
    width: 34px;
    height: 38px;
    position: relative;
}
.page[name='race'] > .content > .section > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .badge > img {
    width: 100%;
    height: 100%;
    opacity: 0;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text {
    width: calc(100% - 52px);
}
.page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .name {
    font-weight: 600;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .name {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
}
.page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .carName {
    font-size: 12px;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .carName {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > .operations > .button {
    border-radius: 8px;
    padding: 4px 8px;
    vertical-align: middle;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .header > .title > img {
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}
.page[name='race'].active > .content > .section[key='scoreboard'] > .header > .timer > span {
    font-size: 12px;
    line-height: 23px;
}
.page[name='race']:not(.active) > .content > .section[key='scoreboard'] > .header > .timer > span {
    display: none;
}
.page[name='race'][mode='statistics'] > .content > .section[key='scoreboard'] > .controls {
    display: none;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .controls {
    padding: 4px;
    border-radius: 16px;
    margin-top: 6px;
}
.page[name='race'] > .content > .section.fullScreen[key='scoreboard'] > .controls {
    position: absolute;
    bottom: 6px;
}
.page[name='race'] > .content > .section[key='scoreboard'] > .controls > img {
    width: 26px;
    display: block;
}
.page[name='race'] > .content > .section[key='laps'] > .tabs {
    margin-bottom: 12px;
    overflow-x: auto;
    white-space: nowrap;
}
.page[name='race'] > .content > .section[key='laps'] > .tabs > .button {
    border-radius: 12px;
    display: inline-block;
    padding: 8px 10px;
    vertical-align: middle;
    margin-right: 4px;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 13px;
}
.page[name='race'] > .content > .section[key='laps'] > .tableWrapper > .fTable > .content > table > tbody > tr > .operations > .button {
    padding: 8px 24px;
    border-radius: 10px;
}
.page[name='race'][mode='statistics'] > .content > .button {
    display: none;
}
.page[name='race'] > .content > .button {
    overflow: hidden;
    padding: 16px;
    border-radius: 16px;
    margin-right: 16px;
    margin-top: 58px;
    margin-left: 16px;
}
.page[name='race'] > .content > .button > .firstSide > img,
.page[name='race'] > .content > .button > .firstSide > div {
    display: inline-block;
    vertical-align: middle;
}
.page[name='race'] > .content > .button > .firstSide > div {
    font-weight: 600;
}
.page[name='race'] > .content > .button > .firstSide > img {
    width: 20px;
    height: 20px;
}
.page[name='race'] > .content > .button > .lastSide {
    margin-top: 3px;
}
.page[name='race'] > .content > .button > .lastSide > img {
   width: 18px;
   height: 18px;
   display: block;
}

@media (max-width: 799px) {
    .page[name='race']:not([mode]) > .content {
        bottom: 69px;
    }
    .page[name='race'][mode] > .content {
        bottom: 0;
    }
    .page[name='race'] > .content > .section:not(.fullScreen) > .header > .title {
        font-size: 16px;
    }
    .page[name='race'] > .content > .section:not(.fullScreen)[key='scoreboard'] > .tableWrapper > .fTable > .content > table > thead > tr > th,
    .page[name='race'] > .content > .section:not(.fullScreen)[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td:not([colspan]) {
        font-size: 11px;
    }
    .page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .name {
        font-size: 14px;
    }
    .page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .carName {
        font-size: 12px;
    }
}
@media (min-width: 800px) {
    .page[name='race'] > .content {
        bottom: 0;
    }
    .page[name='race'] > .content > .imageWrapper {
        display: none;
    }
    .page[name='race'] > .content > .section[key='scoreboard'] > .header > .title {
        margin-bottom: 4px;
    }
    .page[name='race']:not([mode='statistics']) > .content > .section[key='scoreboard']:not(.fullScreen) {
        margin-top: 20px;
    }
    .page[name='race'] > .content > .section:not(.fullScreen) > .header > .title {
        font-size: 18px;
    }
    .page[name='race'] > .content > .section:not(.fullScreen)[key='scoreboard'] > .tableWrapper > .fTable > .content > table > thead > tr > th {
        font-size: 16px;
    }
    .page[name='race'] > .content > .section:not(.fullScreen)[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td:not([key='position']):not([colspan]) {
        font-size: 26px;
    }
    .page[name='race'] > .content > .section:not(.fullScreen)[key='scoreboard'] > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='position'] {
        font-size: 18px;
    }
    .page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .name {
        font-size: 18px;
    }
    .page[name='race'] > .content > .section[key='scoreboard']:not(.fullScreen) > .tableWrapper > .fTable > .content > table > tbody > tr > td[key='clientKey'] > .text > .carName {
        font-size: 16px;
    }
}

@keyframes spin { 
    100% { 
        transform:rotate(90deg);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}