html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.content h1, .content h2, .content h3, .content p {
    color: white;
}

a, .btn-link {
    color: #009933; /* Dark green color for links */
}

.btn-primary {
    color: #fff;
    background-color: #004d1a; /* Dark green background for primary buttons */
    border-color: #004d1a; /* Dark green border color */
}

.btn:hover {
    background-color: #027920;
    border-color: #027920;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #009933; /* Dark green focus shadow */
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.form-label{
    color:white;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #929292;
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
}

.results-container16-9 {
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.results-container16-9 .image-wrapper {
    width: 100%;
    /*height: calc((100vw * 9 / 16) - 50px); /* Keeps 16:9 ratio minus title height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000; /* Fallback background */
}

.results-container16-9 .image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
}

.results-container16-9 .results-container16-dataPanel {
    height: 250px;
    background: #4d4c4c;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.2em;
    text-align: center;
    flex-wrap: wrap;
}

main {
    background: #4d4c4c;
}

@media (min-width: 1241px) {
    .results-container16-9 .image-wrapper {
        height: calc(((100vw - 250px) * 9 / 16) - 300px); /* Keeps 16:9 ratio minus Side menu width minus .results-container16-dataPanel height -- If we make side menu closable we will need to make a change to this*/
    }

    .results-container16-9 .results-container16-dataPanel {
        height: 250px;
    }
}

.left-section {
    flex-grow: 1;
    width: 70%;
}

/* Results Title Section */

.race-title-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    height:50px;
    font-size:30px;
}

.race-title-section .racelbl {
    display: flex;
    flex-direction: column;
    width: 10%;
    font-style:italic;
    text-align:right;
}

.race-title-section .raceNo {
    display: flex;
    flex-direction: column;
    width: 10%;
    font-style: italic;
    font-weight: bold;
    text-align: Left;
    padding-left: 20px;
}

.race-title-section .raceTitle {
    display: flex;
    flex-direction: column;
    width: 55%;
    font-style: italic;
    text-align: Left;
    font-size: 25px;
}

.race-title-section .raceStatus {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    color:red;
    font-size: 25px;
}

.modal-body p{
    color: black;
}

@media (max-width: 1240.98px) {
    .race-title-section {
        padding-left: 5px;
        padding-right: 5px;
        height: 40px;
        font-size: 20px;
    }

    .race-title-section .raceTitle {
        font-size: 20px;
    }

    .race-title-section .raceStatus {
        font-size: 20px;
    }
}

@media (max-width: 640.98px) {
    .race-title-section {
        font-size: 13px;
    }

    .race-title-section .raceTitle {
        font-size: 13px;
    }

    .race-title-section .raceStatus {
        font-size: 13px;
    }
}

/* Rank and input boxes */

.rank-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    padding-left: 1%;
    padding-right: 1%;
}

.rank-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 13%;
}

.deadheat-box {
    width: 4%;
}

.rank-box input {
    width: 100%;
    height: 45px;
    text-align: center;
    background: transparent;
    color: white;
    border: 1px solid green;
    font-size: 30px;
    font-weight: bold;
}

.rank-box .ranklbl {
    width: 100%;
    height: 45px;
    text-align: center;
    background: transparent;
    color: white;
    border: 1px solid green;
    font-size: 30px;
    font-weight: bold;
}

.rank-box .DH {
    width: 100%;
    text-align: center;
    color: red;
    font-size: 30px;
    padding-top: 30px;
}

.checkbox-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.margin-section {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    padding-left: 7%;
    padding-right: 7%;
}

.margin-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 17.2%;
    font-size: 15px;
}

.right-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30%;
    gap: 10px;
}

select {
    background: #222244;
    color: white;
    border: none;
    padding: 5px;
    width: 80%;
}

.margin-box select {
    width: 100%;
    text-align: center;
}

.margin-box .marginlbl {
    background: #222244;
    color: white;
    border: none;
    padding: 5px;
    width: 80%;
}

.time-section {
    display: flex;
    width: 100%;
}

.time-box {
    padding: 15px;
    border-radius: 5px;
    width: 50%;
    text-align: center;
    height: 250px;
    font-size: 23px;
}

.time-box input {
    width: 100%;
    max-width: 250px;
}

.time-box .Timelbl {
    width: 100%;
    max-width: 250px;
}

.update-box {
    margin-right: 15px;
    margin-left: 15px;
}

.content .raceHeader {
    color: white;
    font-size: 25px;
    background-color: transparent;
    width: 80%;
    padding: 3px;
    -webkit-appearance: none;
}

button {
    background: #1f6902;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    margin-top: 5px;
    font-size: 14px;
}

.optionsBtn {
    position: absolute;
    right: 20px;
    margin-top: -2px;
}

.content .raceHeader option {
    background-color: rgb(5, 120, 55);
}

@media (max-width: 1240.98px) {
    .results-container16-9 .results-container16-dataPanel {
        flex-direction: column;
        height: auto;
    }

    .left-section {
        width: 100%;
    }

    .rank-box {
        margin-left:5px;
    }
    .right-section {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 1367px) {
    .largeFormat {
        display: none;
    }
}

.content {
    padding-top: 0px;
}

.toast {
    --bs-toast-max-width: 270px;
    --bs-toast-spacing: 0.25rem;
    --bs-toast-padding-y: 0.1rem;
    --bs-toast-font-size: 0.8rem;
    --bs-info-rgb: 160, 32, 240;
    --bs-toast-padding-x: 0.4rem;
}

.toast-header .btn-close {
    margin-top: 0px;
}

.modal-header {
    background-color: rgb(5, 120, 55);
    color: white;
}

.modal-content {
    background-color: #cecccc;
}

@media (max-width: 1240.98px) {
    .toast {
        visibility: hidden;
    }
}

.publish-results .results-container16-9 .photo-unpublished {
    border: 2px solid orange;
}

.results-subscriber .margin-box label {
    font-size: 25px;
}

.finalise-results .margin-box select {
    -webkit-appearance: none;
}

@media (max-width: 819.98px) {
    .results-subscriber .margin-box label {
        font-size: 15px;
    }
}

@media (min-width: 819.98px) {
    .finalise-results .rank-box input, .publish-results .rank-box input {
        padding-left: 15px;
    }
}

.results-subscriber label.sectTimelbl {
    font-size: 30px;
}

.results-subscriber label.sectTimeDatalbl {
    font-size: 45px;
}

.results-subscriber label.raceTimelbl {
    font-size: 30px;
}

.results-subscriber label.raceTimeDatalbl {
    font-size: 45px;
}

@media (max-width: 819.98px) {
    .results-subscriber label.sectTimelbl {
        font-size: 20px;
    }

    .results-subscriber label.sectTimeDatalbl {
        font-size: 30px;
    }

    .results-subscriber label.raceTimelbl {
        font-size: 20px;
    }

    .results-subscriber label.raceTimeDatalbl {
        font-size: 30px;
    }
}

/*Full Screen Layout functions*/
/*FullScreen*/

.full-screen-1 .results-container16-9 .image-wrapper {
    height: calc(((100vw - 0px) * 9 / 16) - 300px); /* Keeps 16:9 ratio minus Side menu width minus .results-container16-dataPanel height -- If we make side menu closable we will need to make a change to this*/
    border: none;
}

.full-screen-1 .update-box {
    display: none;
}

.full-screen-1 .sidebar {
    display: none;
}

.full-screen-1 .margin-box select {
    -webkit-appearance: none;
    background: none;
    text-align: center;
}

.results-subscriber.full-screen-1 .race-title-section, .finalise-results.full-screen-1 .race-title-section, .publish-results.full-screen-1 .race-title-section {
    position: fixed;
    bottom: 250px;
    width: 100%;
    background: white;
}

.results-subscriber.full-screen-1 .results-container16-dataPanel, .finalise-results.full-screen-1 .results-container16-dataPanel, .publish-results.full-screen-1 .results-container16-dataPanel {
    position: fixed;
    bottom: 0px;
    width: 100%;
}

.results-subscriber.full-screen-1 .rank-box input, .finalise-results.full-screen-1 .rank-box input, .publish-results.full-screen-1 .rank-box input {
    height: 112px;
    font-size: 100px;
    color: white;
}

.results-subscriber.full-screen-1 .rank-box label, .finalise-results.full-screen-1 .rank-box label, .publish-results.full-screen-1 .rank-box label {
    font-size: 25px;
}

.results-subscriber.full-screen-1 .margin-box select, .finalise-results.full-screen-1 .margin-box select, .publish-results.full-screen-1 .margin-box select {
    font-size: 30px;
    width: 100%;
}

.results-subscriber.full-screen-1 .margin-box label, .finalise-results.full-screen-1 .margin-box label, .publish-results.full-screen-1 .margin-box label {
    font-size: 35px;
    width: 100%;
}

.results-subscriber.full-screen-1 label.DH, .finalise-results.full-screen-1 label.DH, .publish-results.full-screen-1 label.DH {
    font-size: 70px;
}

.results-subscriber.full-screen-1 .time-box input, .finalise-results.full-screen-1 .time-box input, .publish-results.full-screen-1 .time-box input {
    -webkit-appearance: none;
    background: none;
    border: none;
    color: white;
    text-align: center;
    font-size: 70px;
}

/*Full Screen Photo only*/

.full-screen-2 .results-container16-9 .image-wrapper {
    height: calc(((100vw - 0px) * 9 / 16) - 50px); /* Keeps 16:9 ratio minus Side menu width minus .results-container16-dataPanel height -- If we make side menu closable we will need to make a change to this*/
    border: none;
}

.full-screen-2 .update-box {
    display: none;
}

.full-screen-2 .results-container16-dataPanel {
    display: none;
}

.full-screen-2 .sidebar {
    display: none;
}

.full-screen-2 .race-title-section {
    position: fixed;
    width: 100%;
    bottom: 0px;
    background: white;
}

/*scoreboard1*/

.scoreboard1, .Scoreboard1 .results-container16-9, .scoreboard1 .results-container16-9 .image-wrapper {
    background-color: #00fdff;
}

.scoreboard1 .results-container16-9 .image-wrapper {
    height: 100%;
    position: fixed;
}

.scoreboard1 .results-container16-9 .image-wrapper .logoImg {
    position: fixed;
    height: 150px;
    right: 100px;
    top: 45px;
}

.scoreboard1.full-screen-1 .results-container16-9 .image-wrapper .logoImg {
    position: fixed;
    height: 150px;
    right: 100px;
    top: 0px;
}

.scoreboard1 .results-container16-9 .results-container16-dataPanel {
    background-color: transparent;
    position: absolute;
    bottom: 27px;
    left: 350px;
    right: 50px;
    height: 150px;
    flex-wrap: nowrap;
    flex-direction: row;
}

.scoreboard1.full-screen-1 .results-container16-9 .results-container16-dataPanel {
    left: 150px;
    right: 150px;
}

.scoreboard1 .race-title-section {
    width: 130px;
    font-size: 85px;
    flex-direction: column;
    flex-wrap: nowrap;
    padding-left: 5px;
    padding-right: 5px;
    height: 100%;
    background-color: #686c6c;
    max-width: 150px;
    border-bottom-left-radius: 50px;
}

.scoreboard1 .race-title-section .Racelbl {
    width: auto;
    font-size: 20px;
    padding-top: 0px;
    font-style: italic;
}

.scoreboard1 .race-title-section .RaceNo {
    width: auto;
    padding-left: 0px;
    height: 100px;
    margin-bottom: 10px;
    margin-top: -60px;
    font-style: normal;
}

.scoreboard1 .right-section {
    width: 30%;
    max-width: 400px;
    height: 100%;
}

.scoreboard1 .time-section {
    width: 100%;
    height: 100%;
}

.scoreboard1 .time-box {
    height: 100%;
    border-radius: 0px;
    background-color: #686c6c;
    position: absolute;
    left: 120px;
    width: 170px;
}

.scoreboard1 .time-box .raceTimelbl {
    visibility: hidden;
}

.scoreboard1 .time-box .raceTimeDatalbl {
    font-size: 40px;
}

.scoreboard1 .left-section {
    background-color: #686c6c;
    height: 150px;
    position: absolute;
    right: 150px;
    width: 59%;
    border-bottom-left-radius: 50px;
}

.scoreboard1 .rank-section {
    flex-wrap: wrap;
}

.scoreboard1 .rank-section .rank-box label {
    font-size: 20px;
}

.scoreboard1 .rank-section .rank-box input {
    height: 70px;
    font-size: 80px;
}

.scoreboard1 .rank-section .rank-box .DH {
    font-size: 40px;
}

.scoreboard1 .margin-section {
    width: 100%;
    font-size: 25px;
}

.scoreboard1 .RaceStatus {
    background-color: #686c6c;
    padding-top: 65px;
    padding-right: 5px;
    border-top-right-radius: 50px;
    position: absolute;
    right: 0px;
    width: 160px;
    height: 150px;
}

.scoreboard1 .time-box.sectTime {
    left: 283px;
    font-size: 17px;
    background: white;
    color: black;
    width: 180px;
    padding: 7px;
    height: 40px;
    border: 1px solid #dbd9d9;
    transform: skew(20deg);
}

.scoreboard1 .sectTimelbl {
    transform: skew(339deg);
    position: absolute;
    left: 15px;
}

.scoreboard1 .sectTimeDatalbl {
    transform: skew(339deg);
    position: absolute;
    right: 15px;
}

.scoreboard1 .margin-box {
    font-size: 18px;
}

@media (max-width: 1240.98px) {
    .scoreboard1 .results-container16-9 .results-container16-dataPanel {
        bottom: 5px;
        left: 2px;
        right: 2px;
    }

    .scoreboard1 .results-container16-9 .image-wrapper .logoImg {
        display: none;
    }

    .scoreboard1 {
        display: none;
    }
}

/*Notifications*/

.logevent .bb-callout {
    padding: 12px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    --bb-callout-bg: rgb(54 55 54) !important;
    --bb-callout-color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
    /* --bb-callout-border: rgba(160, 32, 240); */
}

.logevent .bb-callout-info {
    border-left: 10px solid rgb(143 34 211) !important;
    --bb-callout-color: rgb(249 241 255) !important;
}

.logevent .bb-callout.Published {
    border-left: 10px solid rgb(205 29 64) !important;
    --bb-callout-color: rgb(235 223 227) !important;
    /* --bb-callout-bg: rgb(133 75 75) !important;*/
}

.logevent .bb-callout.Final {
    border-left: 10px solid rgb(16 255 0) !important;
    --bb-callout-color: rgb(223 235 223) !important;
    --bb-callout-bg: rgb(80 133 75) !important;
}

.logevent .bb-callout.Clock {
    border-left: 10px solid rgb(123 197 105) !important;
    --bb-callout-color: rgb(223 224 235) !important;
    /* --bb-callout-bg: rgb(4 62 10) !important;*/
}

.logevent .bb-callout.Summary, .logevent .bb-callout.Sectionals {
    border-left: 10px solid rgb(205 126 29) !important;
    --bb-callout-color: rgb(231 224 211) !important;
    /* --bb-callout-bg: rgb(138 112 81) !important;*/
}

.logevent .bb-callout .eventTime {
    font-size: 12px;
    font-style: italic;
    margin-top: -11px;
}

.toast .progress {
    height: 6px !important;
}

.toast {
    --bs-info-rgb: 160, 32, 240; /*results*/
    --bs-primary-rgb: 123, 197, 105; /*clock*/
    --bs-success-rgb: 205, 29, 64; /*published*/
    --bs-danger-rgb: 16, 255, 0; /*final*/
    --bs-secondary-rgb: 205, 126, 29; /*Summary and sectionals*/
    --bs-warning-rgb: 160, 32, 240; /*warning*/

    --bs-toast-color: #e1e0e0;
    --bs-toast-bg: rgb(81 83 81 / 85%);
    --bs-toast-header-color: rgb(250 250 250 / 85%);
    --bs-toast-header-bg: rgb(105 105 105 / 85%);
}

.toast .text-muted {
    color: #e1e0e0 !important;
}

.toast .text-info, .toast .text-success, .toast .text-primary, .toast .text-danger, .toast .text-secondary{
    display: none;
}

/*pointer events*/
.wrapper.full-screen-1, .wrapper.full-screen-2 {
    cursor: none;
}

    .wrapper.full-screen-1 .image-wrapper, .wrapper.full-screen-1 .image-wrapper img, .wrapper.full-screen-2 .image-wrapper, .wrapper.full-screen-2 .image-wrapper img {
        pointer-events: none;
    }

full-screen-1 .results-container16-9 .results-container16-dataPanel, full-screen-2 .results-container16-9 .results-container16-dataPanel {
    cursor: none;
}

/*Nav*/
.nav-link .bi-icon {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: rgb(5, 120, 55);
}

.nav-link {
    color: white;
}

a:hover {
    background-color: rgb(5, 120, 55);
}

/*Venue Styling*/
/*VenueCode: R/TEST*/

.scoreboard1 .R-TEST .race-title-section {
    background-color: green;
}

.scoreboard1 .R-TEST .time-box {
    background-color: green;
}

.scoreboard1 .R-TEST .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-TEST .left-section {
    background-color: green;
}

.scoreboard1 .R-TEST .rank-section .rank-box input {
    border: none;
}

.scoreboard1 .R-TEST .RaceStatus {
    background-color: green;
}

.scoreboard1 .R-TEST .RaceStatus.Interim {
    background-color: #f44444;
}

/*VenueCode: R/TST1*/

.scoreboard1 .R-TST1 .race-title-section {
    background-color: green;
}

.scoreboard1 .R-TST1 .time-box {
    background-color: green;
}

.scoreboard1 .R-TST1 .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-TST1 .left-section {
    background-color: green;
}

.scoreboard1 .R-TST1 .rank-section .rank-box input {
    border: none;
}

.scoreboard1 .R-TST1 .RaceStatus {
    background-color: green;
}

.scoreboard1 .R-TST1 .RaceStatus.Interim {
    background-color: #f44444;
}

/*VenueCode: R/SANL*/

.results-subscriber.full-screen-1 .R-SANL .race-title-section, .finalise-results.full-screen-1 .R-SANL .race-title-section, .publish-results.full-screen-1 .R-SANL .race-title-section {
    background: #0077CC;
    color: white;
}

.results-subscriber.full-screen-1 .R-SANL .rank-box input, .finalise-results.full-screen-1 .R-SANL .rank-box input, .publish-results.full-screen-1 .R-SANL .rank-box input {
    color: white;
    border: 3px solid #0077CC;
}

.results-subscriber.full-screen-1 .R-SANL .rank-box label, .finalise-results.full-screen-1 .R-SANL .rank-box label, .publish-results.full-screen-1 .R-SANL .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-SANL .results-container16-dataPanel, .finalise-results.full-screen-1 .R-SANL .results-container16-dataPanel, .publish-results.full-screen-1 .R-SANL .results-container16-dataPanel {
    background: #233d52;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-SANL .margin-box select, .finalise-results.full-screen-1 .R-SANL .margin-box select, .publish-results.full-screen-1 .R-SANL .margin-box select, .results-subscriber.full-screen-1 .R-SANL .margin-box label, .finalise-results.full-screen-1 .R-SANL .margin-box label, .publish-results.full-screen-1 .R-SANL .margin-box label {
    font-size: 35px;
}

.results-subscriber.full-screen-1 .R-SANL .race-title-section .raceStatus, .finalise-results.full-screen-1 .R-SANL .race-title-section .raceStatus, .publish-results.full-screen-1 .R-SANL .race-title-section .raceStatus {
    font-weight: bold;
    font-size: 30px;
}

.scoreboard1 .R-SANL .race-title-section {
    background-color: #0077CC;
}

.scoreboard1 .R-SANL .rank-section .rank-box input {
    border: 2px solid #0f4ba3;
}

.scoreboard1 .R-SANL .time-box {
    background-color: #0077CC;
}

.scoreboard1 .R-SANL .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-SANL .left-section {
    background-color: #0077CC;
}

.scoreboard1 .R-SANL .RaceStatus {
    background-color: #0077CC;
}

.scoreboard1 .R-SANL .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-SANL .Racelbl {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-SANL .RaceNo {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-SANL .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

/*VenueCode: R/SANH*/

.results-subscriber.full-screen-1 .R-SANH .race-title-section, .finalise-results.full-screen-1 .R-SANH .race-title-section, .publish-results.full-screen-1 .R-SANH .race-title-section {
    background: #0077CC;
    color: white;
}

.results-subscriber.full-screen-1 .R-SANH .rank-box input, .finalise-results.full-screen-1 .R-SANH .rank-box input, .publish-results.full-screen-1 .R-SANH .rank-box input {
    color: white;
    border: 3px solid #0077CC;
}

.results-subscriber.full-screen-1 .R-SANH .rank-box label, .finalise-results.full-screen-1 .R-SANH .rank-box label, .publish-results.full-screen-1 .R-SANH .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-SANH .results-container16-dataPanel, .finalise-results.full-screen-1 .R-SANH .results-container16-dataPanel, .publish-results.full-screen-1 .R-SANH .results-container16-dataPanel {
    background: #233d52;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-SANH .margin-box select, .finalise-results.full-screen-1 .R-SANH .margin-box select, .publish-results.full-screen-1 .R-SANH .margin-box select, .results-subscriber.full-screen-1 .R-SANH .margin-box label, .finalise-results.full-screen-1 .R-SANH .margin-box label, .publish-results.full-screen-1 .R-SANH .margin-box label {
    font-size: 35px;
}

.results-subscriber.full-screen-1 .R-SANH .race-title-section .raceStatus, .finalise-results.full-screen-1 .R-SANH .race-title-section .raceStatus, .publish-results.full-screen-1 .R-SANH .race-title-section .raceStatus {
    font-weight: bold;
    font-size: 30px;
}

.scoreboard1 .R-SANH .race-title-section {
    background-color: #0077CC;
}

.scoreboard1 .R-SANH .rank-section .rank-box input {
    border: 2px solid #0f4ba3;
}

.scoreboard1 .R-SANH .time-box {
    background-color: #0077CC;
}

.scoreboard1 .R-SANH .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-SANH .left-section {
    background-color: #0077CC;
}

.scoreboard1 .R-SANH .RaceStatus {
    background-color: #0077CC;
}

.scoreboard1 .R-SANH .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-SANH .Racelbl {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-SANH .RaceNo {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-SANH .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

/*VenueCode: R/SCST*/

.results-subscriber.full-screen-1 .R-SCST .race-title-section, .finalise-results.full-screen-1 .R-SCST .race-title-section, .publish-results.full-screen-1 .R-SCST .race-title-section {
    background: #114870;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-SCST .rank-box input, .finalise-results.full-screen-1 .R-SCST .rank-box input, .publish-results.full-screen-1 .R-SCST .rank-box input {
    color: white;
    border: 3px solid #127cc7;
}

.results-subscriber.full-screen-1 .R-SCST .rank-box label, .finalise-results.full-screen-1 .R-SCST .rank-box label, .publish-results.full-screen-1 .R-SCST .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-SCST .results-container16-dataPanel, .finalise-results.full-screen-1 .R-SCST .results-container16-dataPanel, .publish-results.full-screen-1 .R-SCST .results-container16-dataPanel {
    background: #163e5e;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-SCST .margin-box select, .finalise-results.full-screen-1 .R-SCST .margin-box select, .publish-results.full-screen-1 .R-SCST .margin-box select, .results-subscriber.full-screen-1 .R-SCST .margin-box label, .finalise-results.full-screen-1 .R-SCST .margin-box label, .publish-results.full-screen-1 .R-SCST .margin-box label {
    font-size: 35px;
}

.results-subscriber.full-screen-1 .R-SCST .race-title-section .raceStatus, .finalise-results.full-screen-1 .R-SCST .race-title-section .raceStatus, .publish-results.full-screen-1 .R-SCST .race-title-section .raceStatus {
    font-weight: bold;
    font-size: 30px;
}

.scoreboard1 .R-SCST .race-title-section {
    background-color: #0077CC;
}

.scoreboard1 .R-SCST .rank-section .rank-box input {
    border: 2px solid #0f4ba3;
}

.scoreboard1 .R-SCST .time-box {
    background-color: #0077CC;
}

.scoreboard1 .R-SCST .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-SCST .left-section {
    background-color: #0077CC;
}

.scoreboard1 .R-SCST .RaceStatus {
    background-color: #0077CC;
}

.scoreboard1 .R-SCST .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-SCST .Racelbl {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-SCST .RaceNo {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-SCST .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

/*VenueCode: R/IPSW*/

.results-subscriber.full-screen-1 .R-IPSW .race-title-section, .finalise-results.full-screen-1 .R-IPSW .race-title-section, .publish-results.full-screen-1 .R-IPSW .race-title-section {
    background: #114870;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-IPSW .rank-box input, .finalise-results.full-screen-1 .R-IPSW .rank-box input, .publish-results.full-screen-1 .R-IPSW .rank-box input {
    color: hsla(52, 99%, 49%, 1);
    border: 3px solid #127cc7;
}

.results-subscriber.full-screen-1 .R-IPSW .rank-box label, .finalise-results.full-screen-1 .R-IPSW .rank-box label, .publish-results.full-screen-1 .R-IPSW .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-IPSW .results-container16-dataPanel, .finalise-results.full-screen-1 .R-IPSW .results-container16-dataPanel, .publish-results.full-screen-1 .R-IPSW .results-container16-dataPanel {
    background: #163e5e;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-IPSW .margin-box select, .finalise-results.full-screen-1 .R-IPSW .margin-box select, .publish-results.full-screen-1 .R-IPSW .margin-box select, .results-subscriber.full-screen-1 .R-IPSW .margin-box label, .finalise-results.full-screen-1 .R-IPSW .margin-box label, .publish-results.full-screen-1 .R-IPSW .margin-box label {
    font-size: 35px;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-IPSW .race-title-section .raceStatus, .finalise-results.full-screen-1 .R-IPSW .race-title-section .raceStatus, .publish-results.full-screen-1 .R-IPSW .race-title-section .raceStatus {
    font-weight: bold;
    font-size: 30px;
}

.scoreboard1 .R-IPSW .race-title-section {
    background-color: #0077CC;
}

.scoreboard1 .R-IPSW .rank-section .rank-box input {
    border: 2px solid #0f4ba3;
}

.scoreboard1 .R-IPSW .time-box {
    background-color: #0077CC;
}

.scoreboard1 .R-IPSW .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-IPSW .left-section {
    background-color: #0077CC;
}

.scoreboard1 .R-IPSW .RaceStatus {
    background-color: #0077CC;
}

.scoreboard1 .R-IPSW .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-IPSW .Racelbl {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-IPSW .RaceNo {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-IPSW .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

/*VenueCode: R/BKLL*/

.results-subscriber.full-screen-1 .R-BKLL .race-title-section, .finalise-results.full-screen-1 .R-BKLL .race-title-section, .publish-results.full-screen-1 .R-BKLL .race-title-section {
    background: #114870;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-BKLL .rank-box input, .finalise-results.full-screen-1 .R-BKLL .rank-box input, .publish-results.full-screen-1 .R-BKLL .rank-box input {
    color: hsla(52, 99%, 49%, 1);
    border: 3px solid #127cc7;
}

.results-subscriber.full-screen-1 .R-BKLL .rank-box label, .finalise-results.full-screen-1 .R-BKLL .rank-box label, .publish-results.full-screen-1 .R-BKLL .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-BKLL .results-container16-dataPanel, .finalise-results.full-screen-1 .R-BKLL .results-container16-dataPanel, .publish-results.full-screen-1 .R-BKLL .results-container16-dataPanel {
    background: #163e5e;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-BKLL .margin-box select, .finalise-results.full-screen-1 .R-BKLL .margin-box select, .publish-results.full-screen-1 .R-BKLL .margin-box select, .results-subscriber.full-screen-1 .R-BKLL .margin-box label, .finalise-results.full-screen-1 .R-BKLL .margin-box label, .publish-results.full-screen-1 .R-BKLL .margin-box label {
    font-size: 35px;
    color: hsla(52, 99%, 49%, 1);
}

.results-subscriber.full-screen-1 .R-BKLL .race-title-section .raceStatus, .finalise-results.full-screen-1 .R-BKLL .race-title-section .raceStatus, .publish-results.full-screen-1 .R-BKLL .race-title-section .raceStatus {
    font-weight: bold;
    font-size: 30px;
}

.scoreboard1 .R-BKLL .race-title-section {
    background-color: #0077CC;
}

.scoreboard1 .R-BKLL .rank-section .rank-box input {
    border: 2px solid #0f4ba3;
}

.scoreboard1 .R-BKLL .time-box {
    background-color: #0077CC;
}

.scoreboard1 .R-BKLL .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-BKLL .left-section {
    background-color: #0077CC;
}

.scoreboard1 .R-BKLL .RaceStatus {
    background-color: #0077CC;
}

.scoreboard1 .R-BKLL .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-BKLL .Racelbl {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-BKLL .RaceNo {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-BKLL .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

/*VenueCode: R/TST2*/

.scoreboard1 .R-TST2 .race-title-section {
    background-color: #2d2d30;
}

.scoreboard1 .R-TST2 .rank-section .rank-box input {
    border: 2px solid hsl(109.76deg 36.84% 88.25%);
    color: #fdfdff
}

.scoreboard1 .R-TST2 .time-box {
    background-color: #2d2f30;
}

.scoreboard1 .R-TST2 .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-TST2 .left-section {
    background-color: #2d2f30;
}

.scoreboard1 .R-TST2 .RaceStatus {
    background-color: #2d2f30;
}

.scoreboard1 .R-TST2 .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-TST2 .Racelbl {
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-TST2 .RaceNo {
    color: hsl(109.76deg 1.46% 79.9%);
}

.scoreboard1 .R-TST2 .rank-box label {
    color: hsla(52, 99%, 49%, 1);
}

/*VenueCode: R/TST3*/

.scoreboard1 .R-TST3 .race-title-section {
    background-color: #f8f7f7;
}

.scoreboard1 .R-TST3 .rank-section .rank-box input {
    /* anchor-name: none; */
    border: none;
    background-color: #f8f7f7;
    color: hsl(52deg 1.69% 7.48%);
    font-weight: normal;
}

.scoreboard1 .R-TST3 .time-box {
    background-color: #ff2f56;
}

.scoreboard1 .R-TST3 .time-box.sectTime {
    background-color: white;
}

.scoreboard1 .R-TST3 .left-section {
    background-color: #ff2f56;
}

.scoreboard1 .R-TST3 .RaceStatus {
    background-color: #ff2f56;
}

.scoreboard1 .R-TST3 .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-TST3 .Racelbl {
    color: hsl(52deg 1.69% 7.48%);
}

.scoreboard1 .R-TST3 .RaceNo {
    color: hsl(0deg 1.99% 4.53%);
}

.scoreboard1 .R-TST3 .rank-box label {
    color: hsl(0deg 0% 100%);
}

/*VenueCode: R/TST4*/

.scoreboard1 .R-TST4 .race-title-section {
    background-color: #f8f7f7;
    border: 2px solid #395692;
}

.scoreboard1 .R-TST4 .rank-section .rank-box input {
    border: none;
    background-color: #f8f7f7;
    color: hsl(52deg 1.69% 7.48%);
    font-weight: normal;
}

.scoreboard1 .R-TST4 .time-box {
    background-color: #395692;
}

.scoreboard1 .R-TST4 .time-box.sectTime {
    background-color: #f8f7f7;
}

.scoreboard1 .R-TST4 .left-section {
    background-color: #395692;
}

.scoreboard1 .R-TST4 .RaceStatus {
    background-color: #395692;
}

.scoreboard1 .R-TST4 .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-TST4 .Racelbl {
    color: hsl(52deg 1.69% 7.48%);
}

.scoreboard1 .R-TST4 .RaceNo {
    color: hsl(0deg 1.99% 4.53%);
}

.scoreboard1 .R-TST4 .rank-box label {
    color: hsl(0deg 0% 100%);
}

/*VenueCode: R/TST5*/

.scoreboard1 .R-TST5 .race-title-section {
    background-color: #f8f7f7;
    border: 2px solid #4b4c4f;
}

.scoreboard1 .R-TST5 .rank-section .rank-box input {
    border: none;
    background-color: none;
    color: hsl(109.96deg 83.34% 51.45%);
    font-weight: normal;
}

.scoreboard1 .R-TST5 .time-box {
    background-color: #4b4c4f;
    color: hsla(52, 99%, 49%, 1);
}

.scoreboard1 .R-TST5 .time-box.sectTime .sectTimeDatalbl {
    color: #de0aec;
}

.scoreboard1 .R-TST5 .time-box.sectTime {
    background-color: #f8f7f7;
}

.scoreboard1 .R-TST5 .time-box.sectTime .sectTimelbl {
    color: hsl(52deg 1.69% 7.48%);
}

.scoreboard1 .R-TST5 .left-section {
    background-color: #4b4c4f
}

.scoreboard1 .R-TST5 .RaceStatus {
    background-color: #4b4c4f
}

.scoreboard1 .R-TST5 .RaceStatus.Interim {
    background-color: #f44444;
}

.scoreboard1 .R-TST5 .Racelbl {
    color: hsl(52deg 1.69% 7.48%);
}

.scoreboard1 .R-TST5 .RaceNo {
    color: hsl(0deg 1.99% 4.53%);
}

.scoreboard1 .R-TST5 .rank-box label {
    color: hsl(0deg 0% 100%);
}