body.osd-stream,
body.osd-stream.raceMode{
    background-color: transparent;
    font-size:14px;
    --textColor: white;
    --copyrightTextColor:#c0c0c0;
    --copyrightBackColor:#101010;
    --scoreboardSectorTimePersonalBestColor:#4ac537;
    --scoreboardSectorTimeTotalBestColor:#fe95fd;

    --scoreboardHdrBackColor: rgba(0,0,0,0);
    --copyrightBackColor: rgba(0,0,0,0);
    --scoreboardBkColor: rgba(0,0,0,0);
    --scoreboardOddRowColor: rgba(128,128,128,0.25);
    --backColor: rgba(0,0,0,0.25);

    --dataRowHeight: 32px;
    --headerRowHeight: 56px;
    --posWidth: 32px;
    --numWidth: 32px;
    --lapTimeWidth: 76px;
    --lapTimePadding: 4px;
    --lapsPadding: 4px;
    --lapsCountWidth: 60px;
    --diffTimeWidth: 70px;
    --kartTypeWidth: 0px;
    --sectorTimeWidth:70px;
    --timeFontSize:16px;

    --lapsDisplay:none;
    --bestSectorNDisplay:none;
    --lastLapsTimesDisplay:none;
    --maxLastSectorNDisplay:none;
    --theorLapDisplay:none;
    --diffDisplay:none;
    --gapDisplay:none;
    --sectorsSetDisaply:inline-flex;
}

body.osd-stream.teamRace #resultsTable .resultsCell #nameContainer    {
    display:none;
}

body.osd-stream.teamRace{
    --lapsDisplay:flex;
    --teamDisplay:flex;
    --nameDisplay:flex;
    --lastLapsTimesDisplay:none;
    --sessionTimeDisplay:none;
    --avgSessionLapDisplay:none;
    /*--pitsCountDisplay:none;*/
    --pitTimeDisplay:none;
    --bestLapTimeDisplay:none;
    --pitsCountDisplay:flex;
    --pitsCountWidth: 4vh;
}
body.osd-stream #resultsTable.sortByPos{
    --bestLapTimeDisplay:none;
    --lastLapTimeDisplay:flex;
    --diffDisplay: flex;
}

body.osd-stream #resultsTable.sortByPos .resultsCell#last_lap_time_1{
    background-color: var(--brandColor);
    color:white;
}

body.osd-stream .resultsCell .innerNameSectorsCell{
    align-items: flex-start;
    padding-top:0.1em;
    flex-direction: column;
    text-transform: uppercase;
}


body.osd-stream #chronoBlock{
    position: absolute;
    height: unset;
    min-height: unset;
    top:0;
    left:0;
    width: 400px;
}
body.osd-stream.teamRace #chronoBlock{
    width:480px;
}

body.osd-stream #runResultsBlock
{
    position: relative;
    display: block;
}
body.osd-stream #headerRow{
    font-size:0.8em;
}

body.osd-stream div.runInfoContainer{
    position: absolute;
    background-color: unset;
    left:400px;
    top:0px;
    width:580px;
    height: 56px;
    line-height: 56px;
}
body.osd-stream.teamRace div.runInfoContainer{
    left:480px;
    width:500px;
}
body.osd-stream div .runInfoContainer div#runInfoBlock div#run_name{
    padding-left:10px;
}
body.osd-stream div .runInfoContainer div#runInfoBlock div#run_param{
    margin-top:5px;
    margin-bottom:5px;
    line-height: 40px;
    margin-right: 5px;
}
body.osd-stream  div#race_name{
    display: none;
}

body.osd-stream #copyright{
    width: unset;
    position: unset;
    background-color: var(--copyrightBackColor);
}
body.osd-stream #resultsTable.sortByPos .resultsCell#last_lap_time_1{
    background-color: var(--brandColor);
    color:white;
}
body.osd-stream #resultsTable.sortByPos .resultsCell#last_lap_time_1.totalBest{
    color: white;
}
body.osd-stream .sectorsSet{
    font-size: 11px;
    display: flex;
    width: 100%;
    flex-direction: row;
    margin-bottom: 2px;
    position:absolute;
    bottom: 0;
}
body.osd-stream div.navBar{
    display: none;
}
body.osd-stream #advertBlock{
    display: nonse;
    position: fixed;
}
body.osd-stream .advertHeader{
    display: none;
}
body.osd-stream #trackContainer{
    display: none;
}
body.osd-stream #runResultsBlock{
    overflow: unset;
}
body.osd-stream .dataRow.totalBest::after{
    content: "";
    position: absolute;
    height: 100%;
    width: 32px;
    left:100%;
    top:1px;
    background: url("/Images/icons/bestlap.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
body.osd-stream div#raceInfoBlock{
    height: unset;
}
body.osd-stream div#bottomChronoBlock{
    position: unset;
}
body.osd-stream div#commentsContainer .commentDataRow{
    width:50%;
}
body.osd-stream .dataRow{
    line-height:unset;
}
body.osd-stream .markerClass{
    position:absolute;
    bottom: 0;
    width: 0%;
    height: 2px;
    background:linear-gradient(to left,transparent,var(--markerEndColor) 4px, var(--brandColor) 8px);
}

body.osd-stream .lapTime,body.osd-stream.diffTime{
    font-size:var(--timeFontSize);
}

body.osd-stream .headerCell{
    font-size: inherit;
}

body.osd-stream.teamRace div#pilotChangesContainer{
    position: fixed;
    right: 0;
    bottom:0;
    background-color: black;
    top:870px;
    min-width: unset;
    z-index: 1000;
}
body.osd-stream #resultsTable.teamRace .compositeNameSectors{
    line-height: unset;
}
body.osd-stream #resultsTable.teamRace .innerNameSectorsCell{
    width:unset;
    position: unset;
}

body.osd-stream{
    --currentLapTimeDisplay:none;
}

body.pilotchangesonly,
body.commentsonly{
    visibility: hidden;
}
body.pilotchangesonly #advertBlock,
body.commentsonly #advertBlock{
    display: none;
}
body.pilotchangesonly div#pilotChangesContainer,
body.commentsonly div#commentsContainer{
    position: fixed;
    max-width: unset;
    min-width: unset;
    top:0;
    left:0;
    right:0;
    bottom:0;
    visibility: visible;
    display: block;
}