html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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 #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.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;
}

@font-face {
    font-family: 'UKNumberPlate';
    src: url('fonts/UKNumberPlate.woff2') format('woff2'), /* Use the best format available */ url('fonts/UKNumberPlate.woff') format('woff'), /* Fallback to .woff */ url('fonts/UKNumberPlate.ttf') format('truetype'); /* Additional fallback */
    font-weight: normal;
    font-style: normal;
}

@media (min-width: 375px) and (max-width: 479px) {
    .date-component {
        font-size: smaller !important;
    }
}

.date-component {
    white-space: nowrap;
}

.date-component-year {
    font-weight: bolder;
}

.date-component-day-and-month {
    font-weight: lighter;
}

.vrm input {
    text-align: center;
    font-size: calc(30px + 2vw) !important
}

.AllClear {
    padding: 2px 6px 2px 6px;
    color: var(--mud-palette-success-text);
    background-color: var(--mud-palette-success-darken);
    font-weight: 400;
    border: 2px solid #46a529;
    border-radius: 4px;
    font-size: 18px;
}

.hero-unit {
    margin-top: 0px;
    padding: 0px 0 10px 0;
    margin-bottom: 10px;
}

.GlanceLeft {
    border-radius: 10px 0 0 10px;
    text-align: left;
    flex: 0 0 60%; /* Flex-grow, flex-shrink, and flex-basis to 60% */

}

.GlanceRight {
    border-radius: 0 10px 10px 0;
    text-align: left;
    flex: 0 0 40%; /* Flex-grow, flex-shrink, and flex-basis to 60% */
}

.GlanceCommon {
    flex: 100%;
    padding: 0 20px;
    align-items: center;
    background-color: var(--mud-palette-primary-darken);
    color: var(--mud-palette-primary-text);
    height: 70px;
    font-size: 16px !important;
}

.GlanceAllClear {
    background-color: var(--mud-palette-success-darken);
    text: var(--mud-palette-success-text);
    font-weight: 400;
}

.GlanceAlert {
    background-color: var(--mud-palette-error-darken);
    text: var(--mud-palette-error-text);
}

.GlanceOutOfPackage {
    border: 4px solid var(--mud-palette-error-darken);
    background-color: var(--mud-palette-error-lighten);
    text: var(--mud-palette-error-text);
    text-align: center;
    font-family: var(--mud-typography-subtitle1-family);
    font-size: var(--mud-typography-subtitle1-size);
    font-weight: var(--mud-typography-subtitle1-weight);
}

#glance {
    display: flex;
}

#glance > * {
    display: flex;
}

.sReg {
    /*we want it just wide enough for the text*/
    display: inline-block;
    border-radius: 5px;

    color: #3e3e3e;
    background-color: #dede17;
    margin: 0px;
    padding: 8px 12px;
    text-align: center;
    font-size: 60px;
    /*font-size: calc(30px + 4vw);*/
    font-weight: 500;
    font-family: 'UKNumberPlate', serif !important;
    line-height: 50px;
}

.SectionHeader {
    /*background-color: #e3e3e3;*/
    text-align: center;
    background-color: var(--mud-palette-primary-lighten);
    color: var(--mud-palette-primary-text);

    border-radius: 5px 5px 0px 0px;

    border-bottom: 5px solid var(--mud-palette-primary-darken);
    font-weight: 700;
}

.SectionHeaderAlert {
    text-align: center;
    composes: SectionHeader;
    background-color: #b75a5a !important;
    border-bottom: 5px solid #d99e9e !important;
    color: white;
    border-radius: 5px 5px 0px 0px;
}

@media (min-width: 375px) and (max-width: 479px) {
    .SectionMainContent {
        padding: 10px 10px !important;
        margin-bottom: 20px !important;
    }
}

@media (min-width: 375px) and (max-width: 479px) {
    .mud-expand-panel .mud-expand-panel-header {
        padding: 4px 6px !important;
    }
}


.SectionMainContent {
    padding: 20px 20px;
    background-color: #fafafa;
    border: 1px solid #e3e3e3;
    border-radius: 0px 0px 10px 10px;
    margin-bottom: 40px;
}

#report .DataItem {
    color: #000;
    margin-bottom: 10px;
    margin-top: -2px;
    font-weight: 600;
    font-size: 16px;
}

#report label {
    margin-bottom: 0px;
    color: #4a4a4a;
    font-weight: 400;
    font-size: 16px;
}

#report h2 {
    font-weight: 700;
    margin-top: 0px;
    /*color: #4a4a4a;*/
    line-height: 42px;
    padding: 8px;
    margin-bottom: 0px;
    font-size: 24px;
}


/* CO2 */
.Co2Container {
    width: 100%;
    height: 450px;
}

.Co2Bar {
}

.Co2BarOn {
    background-color: #e3e3e3;
    width: 100%;
    height: 28px;
    float: left;
    margin-bottom: 5px;
}

.co2all {
    height: 28px;
    text-align: right;
    border-radius: 0 17px 17px 0px;
    padding-top: 3px;
    padding-right: 3px;
    float: left;
    clear: left;
    margin-bottom: 5px;
}

.ActualCo2 {
    float: right;
    height: 28px;
    text-align: left;
    border-radius: 17px 0 0 17px;
    padding-top: 3px;
    padding-left: 3px;
    margin-bottom: 5px;
    color: #fff;
    line-height: 22px;
}

.Co2A {
    background-color: #6c1f7d;
    width: 10%;
}

.Co2B {
    background-color: #0065b3;
    width: 15%;
}

.Co2C {
    background-color: #51c7ab;
    width: 20%;
}

.Co2D {
    background-color: #73bf45;
    width: 25%;
}

.Co2E {
    background-color: #f9ed1b;
    width: 30%;
}

.Co2F {
    background-color: #f7941d;
    width: 35%;
}

.Co2G {
    background-color: #f7631d;
    width: 40%;
}

.Co2H {
    background-color: #f7451d;
    width: 45%;
}

.Co2I {
    background-color: #f22907;
    width: 50%;
}

.Co2J {
    background-color: #d5523c;
    width: 55%;
}

.Co2K {
    background-color: #9f493a;
    width: 60%;
}

.Co2L {
    background-color: #552e27;
    width: 65%;
}

.Co2M {
    background-color: #000;
    width: 70%;
}


.ActualA {
    background-color: #6c1f7d;
    width: 60%;
}

.ActualB {
    background-color: #0065b3;
    width: 55%;
}

.ActualC {
    background-color: #51c7ab;
    width: 50%;
}

.ActualD {
    background-color: #73bf45;
    width: 45%;
}

.ActualE {
    background-color: #f9ed1b;
    width: 40%;
}

.ActualF {
    background-color: #f7941d;
    width: 35%;
}

.ActualG {
    background-color: #f7631d;
    width: 30%;
}

.ActualH {
    background-color: #f7451d;
    width: 30%;
}

.ActualI {
    background-color: #f22907;
    width: 30%;
}

.ActualJ {
    background-color: #d5523c;
    width: 30%;
}

.ActualK {
    background-color: #9f493a;
    width: 30%;
}

.ActualL {
    background-color: #552e27;
    width: 30%;
}

.ActualM {
    background-color: #000;
    width: 25%;
}

.Co2MajorMark {
    padding: 0px;
    background-color: #fff;
    width: 80px;
    height: 80px;
    text-align: center;
}

.Co2MajorMarkLetter {
    font-size: 70px;
    font-weight: 800;
    color: #fff;
    line-height: 76px
}

.LetterR {
    font-weight: 600;
    line-height: 22px;
    background-color: #fff;
    border-radius: 16px;
    font-size: 16px;
    width: 22px;
    text-align: center;
    float: left;
    color: #000;
    margin-right: 5px;
}

.Letter {
    font-weight: 600;
    line-height: 22px;
    background-color: #fff;
    border-radius: 16px;
    font-size: 16px;
    width: 22px;
    text-align: center;
    float: right;
}


/* Running Costs*/

.Co2Number {
    font-size: 20px;
    font-weight: 600;
}


.mot-accordian-header {
    padding: 25px 12px !important;
    background: white !important;
    /*color: var(--vdi-accordian-mot-header-text);*/
    cursor: pointer;
    font-size: 16px;
    transition: all .3s;
    position: relative;
    /* box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.15); */
    overflow: hidden;
    height: 62px;
}

.equipment-accordian-header {
    padding: 25px 12px !important;
    color: var(--mud-palette-text-secondary) !important;
    background: var(--mud-palette-background-grey) !important;
    cursor: pointer;
    font-size: 16px;
    transition: all .3s;
    position: relative;
    /* box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.15); */
    overflow: hidden;
    height: 62px;
}

@media (min-width: 375px) and (max-width: 510px) {
    .mot-accordian-header {
        padding: 16px 6px !important;
        font-size: 13px !important;
    }
}

@media (min-width: 375px) and (max-width: 510px) {
    .mot-header-accordian-state-passed, .mot-header-accordian-state-failed {
        width: 66px !important;
        font-size: 14px !important;
        padding: 3px;
        left: 13px;
    }
}

.mot-header-accordian-state-passed {
    display: inline-block;
    align-content: center;
    /*min-width: 160px;*/
    background-color: var(--mud-palette-success-darken);
    color: var(--mud-palette-success-text);
    border-radius: 8px;
    width: 75%;
    height: 32px;
    font-size: 18px;
    text-align: center;
    padding: 3px;
    margin: auto;
}

.mot-header-accordian-state-failed {
    display: inline-block;
    align-content: center;
    background-color: var(--mud-palette-error-darken);
    color: var(--mud-palette-error-text);
    border-radius: 8px;
    width: 75%;
    height: 32px;
    font-size: 18px;
    text-align: center;
    padding: 3px;
    margin: auto;
}

.MOTCommon {
    max-width: 70%;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 16px;
    display: flex;
    justify-content: center;
}

.MOTFailed {
    background-color: var(--mud-palette-error-darken);
    color: var(--mud-palette-error-text);
}

.MOTPassAdvisories {
    background-color: var(--mud-palette-warning-darken);
    color: var(--mud-palette-warning-text);
}

.MOTPass {
    background-color: var(--mud-palette-success-darken);
    color: var(--mud-palette-success-text);
}

.MOTCurrentStatus {
    font-weight: 300;
    font-size: 16px;
    padding: 1px 10px;
    color: #fff;
}

.miniplate {
    float: left;
    padding: 4px;
    background-color: #ebb72b;
    color: #000;
    width: 140px;
    font-family: 'UKNumberPlate', serif;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    margin-right: 12px;
}

.miniplate-bigger {
    float: left;
    padding: 4px;
    background-color: #ebb72b;
    color: #000;
    width: 200px;
    font-family: 'UKNumberPlate', serif;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    margin-right: 12px;
}

/*SVG*/
.circ {
    opacity: 0;
    stroke-dasharray: 130;
    stroke-dashoffset: 130;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.tick {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    -webkit-transition: stroke-dashoffset 1s 0.5s ease-out;
    -moz-transition: stroke-dashoffset 1s 0.5s ease-out;
    -ms-transition: stroke-dashoffset 1s 0.5s ease-out;
    -o-transition: stroke-dashoffset 1s 0.5s ease-out;
    transition: stroke-dashoffset 1s 0.5s ease-out;
}

.drawn + svg .path {
    opacity: 1;
    stroke-dashoffset: 0;
}

.sgv22 {
    width: 50%;
    max-width: 50px;
    margin: 0 auto;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

@media screen {
    .no-screen, .no-screen * {
        display: none !important;
    }
}

.HistoryIssues {
    background-color: #be5757;
    padding: 2px 4px;
    color: #fff;
    font-size: 12px;
    width: 22px;
    text-align: center;
    min-width: 22px;
    float: left;
    margin-right: 5px;
}

.IssueLegendText {
    margin-left: 5px;
    color: #000;
}

.slogan {
    font-size: xxx-large !important;
    /*font-size: calc(5vw + 5vh + 3vmin) !important;*/
    /*font-size: clamp(30px, calc(30px + 4vw), 50px) !important;*/
    font-weight: 900 !important;
    /*color: var(--mud-palette-text-primary);*/
    /*font-family: "Roboto";*/
    /*letter-spacing: 0;*/
    /*transition: all 1s;*/
    /*user-select: none;*/
}

.sub-slogan {
    font-size:  xx-large !important;
    /*font-size:  calc(4vw + 4vh + 2vmin) !important;*/
    /*font-size: clamp(20px, calc(10px + 4vw), 20px) !important;*/
    font-weight: 600 !important;
    /*color: var(--mud-palette-text-primary);*/
    /*font-family: "Roboto";*/
    /*letter-spacing: 0;*/
    /*transition: all 1s;*/
    /*user-select: none;*/
}

.mud-layout {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.footer {
    z-index: calc(var(--mud-zindex-drawer) - 1);
    color: var(--mud-palette-drawer-text);
    background-color: var(--mud-palette-drawer-background);
    transition: margin 225ms cubic-bezier(0,0,.2,1) 0ms,width 225ms cubic-bezier(0,0,.2,1) 0ms;
}

.hero-navbar-underline .mud-nav-link .mud-nav-link-text {
    white-space: nowrap;
    border-bottom: 2px solid #dbab45;
}

.hero-section-top {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--mud-palette-background-grey-lighten);
    padding: 10px 2px 0 0;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--mud-palette-background-grey-lighten);
    padding: 30px 0;
}

@media (min-width: 768px) {
    .hero-section {
        height: 500px;
        padding: 30px 0;
    }

    .hero-section-top {
        padding: 10px 10px 0 0;
    }
}


.extra-small-icon.mud-icon-button { /* Target the MudIconButton specifically */
    color: -var(mud-palette-primary);
    margin-top: -6px;
    margin-left: -6px;
    padding: 4px; /* Adjust padding to make the button itself smaller */
}

.extra-small-icon .mud-icon-root { /* Target the icon within the button */
    font-size: 16px; /* Adjust the icon size directly. MudBlazor uses font-size for SVG icons too */
    width: 16px;     /* Explicitly set width */
    height: 16px;    /* Explicitly set height */
}
