﻿:root {
    --failed-functional-risk-colour: #F0BCBC;
    --rag-report-red: #EB4034;
    --rag-report-amber: #ED7D31;
    --rag-report-green: #70AD47;
    --audits-count-colour: #BDBDBD;
    --cleaning-department-colour: #FFE49D;
    --nursing-department-colour: #F3AE86;
    --estates-department-colour: #C6E0B4;
    --decontamination-score-colour: #FFE49D;
    --ppe-score-colour: #C6E0B4;
    --offline-bar-height: 24px;
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: local('Montserrat-Regular'), url('../lib/fonts/Montserrat-Regular.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
    -webkit-print-color-adjust: exact;
}

.mud-table-root .mud-table-head .mud-table-cell {
    color: var(--mud-palette-white) !important;
}

.mud-table-hidden > .mud-table-container, .mud-table-hidden > .mud-table-pagination {
    display: none;
}

.mud-component-invisible {
    visibility: hidden !important;
    opacity: 0 !important;
}

.mud-tab-vertical-scroll .mud-tabs-panels {
    height: 60vh;
    overflow-x: hidden;
}

.inline-edit-table .mud-table-row td:last-of-type {
    padding: 0;
    width: 0;
    height: 0;
}

.mud-list-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.end-bolden .mud-table-body .mud-table-row:last-of-type td, .end-footer-bolden .mud-table-foot .mud-table-row:last-child td, .last-column-bolden .mud-table-row td:last-of-type {
    background-color: var(--mud-palette-grey-lighter);
    font-weight: bold;
}

.text-overflow {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mud-table-root .mud-table-head {
    background-color: var(--mud-palette-primary) !important;
}

.mud-drawer-temporary {
    background-color: var(--mud-palette-background-grey) !important;
}

.mud-badge .mud-badge-wrapper .mud-badge-badge {
    background-color: var(--mud-palette-error) !important;
}

.gvs-main-content {
    padding-top: calc(var(--mud-appbar-height) + var(--offline-bar-height)) !important;
}

.offline-bar {
    text-align: center;
    background-color: var(--mud-palette-error) !important;
    top: var(--mud-appbar-height);
    position: fixed !important;
}

@media (max-width: 600px) {
    .offline-bar {
        top: calc(var(--mud-appbar-height) - var(--mud-appbar-height)/8) !important;
    }

    .gvs-main-content {
        padding-top: calc((var(--mud-appbar-height) + var(--offline-bar-height)) - (var(--mud-appbar-height) + var(--offline-bar-height))/11) !important;
    }
}

@media (max-width: 960px) {
    #app {
        padding-bottom: 45px;
    }
}

.flipped-icon {
    transform: rotate(180deg);
}

.align-self-end {
    align-self: end;
}

body > #app > div > header > div > button {
    color: var(--mud-palette-white) !important;
}

.mud-input-control > .mud-input-label-inputcontrol, .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol, .mud-input-helper-text, .mud-picker-calendar-header-day .mud-day-label {
    color: var(--mud-palette-text-primary) !important;
}

.user-settings .mud-popover {
    left: -200px !important;
    margin-top: 2px;
}

.image-container {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.mud-progress-circular-circle.mud-progress-static {
    stroke-dasharray: 127 !important;
}

.small-input-box > div > .mud-input-slot {
    padding: 9.5px 14px !important;
}

.hidden {
    display: none !important;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.mud-chip-outlined.mud-chip-color-success.mud-chip-selected {
    color: var(--mud-palette-success-text) !important;
    background-color: var(--mud-palette-success) !important;
}

.mud-chip-outlined.mud-chip-color-error.mud-chip-selected {
    color: var(--mud-palette-error-text) !important;
    background-color: var(--mud-palette-error) !important;
}

.mud-chip-outlined.mud-chip-color-dark.mud-chip-selected {
    color: var(--mud-palette-text-secondary) !important;
    background-color: var(--mud-palette-dark) !important;
}

.mud-expand-panel .mud-expand-panel-header, .mud-expand-panel .mud-expand-panel-content {
    padding: 5px !important;
}

.mud-expand-panel-text {
    font-weight: bold !important;
}

.mud-drawer-header {
    padding: 11px 24px 11px 24px;
}

.mud-expand-panel .mud-expand-panel-header {
    line-height: 1.5 !important;
}

.icon-divider {
    border-right: 1px solid white;
    height: 60%;
}

.circle {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.lower-badge > .mud-badge-wrapper {
    top: 5px !important;
}

.custom-nav-button {
    flex: 0 0 auto;
    overflow: visible;
    font-size: .9375rem;
    transition: background-color 150ms cubic-bezier(.4,0,.2,1) 0ms;
    border-bottom: 1px solid white;
    color: var(--mud-palette-white) !important;
    cursor: pointer !important;
}

.mud-nav-link-text {
    display: flex;
    align-items: center;
    padding-right: 20px;
    color: inherit !important;
    cursor: inherit !important;
    margin-left: inherit !important;
    margin-inline-start: inherit !important;
    padding-bottom: 4px;
    padding-top: 4px;
}

.mud-nav-link {
    align-items: center !important;
    color: inherit !important;
    cursor: inherit !important;
}

.mud-nav-link {
    align-items: center !important;
    color: inherit !important;
    cursor: inherit !important;
}

.mud-snackbar {
    justify-content: left !important;
    min-width: 400px !important;
}

html, body {
    overscroll-behavior: none;
}

.menu-icon {
    margin-right: 10px;
    font-size: 1.25rem !important;
    align-items: center !important;
    color: inherit !important;
}

.icon {
    display: flex !important;
    align-items: inherit !important;
    justify-content: inherit !important;
}

.offline, .offline:hover {
    color: var(--mud-palette-grey-dark) !important;
    cursor: not-allowed !important;
}

    .offline:active {
        pointer-events: none !important;
    }

.custom-nav-button:hover, .active {
    color: var(--mud-palette-primary) !important;
}

.custom-nav-button-offline:hover, .active {
    color: var(--mud-palette-primary) !important;
}

.align-center {
    display: flex;
    align-items: center;
}

.nav-button {
    text-align: center;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.nav-link {
    border: 1px solid #7c7c7c;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 150px;
    margin: 0px 5px 5px;
    justify-content: center;
    color: #7c7c7c;
    transition-duration: 0.3s;
    padding: 5px;
    font-weight: bold;
    align-items: center;
}

    .nav-link:hover {
        background-color: var(--mud-palette-primary);
        border: 1px solid var(--mud-palette-primary);
        color: var(--mud-palette-white);
    }

.nav-link-disabled {
    border: 1px solid #7c7c7c;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 150px;
    margin: 0px 5px 5px;
    justify-content: center;
    color: #7c7c7c;
    transition-duration: 0.3s;
    padding: 5px;
    font-weight: bold;
    align-items: center;
}

.nav-icon {
    font-size: 3.5rem !important;
}

.nav-group-icon {
    color: var(--mud-palette-white) !important;
    font-size: 1rem !important;
}

.lr-padding-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 960px) {
    .mud-sm-table .mud-table-cell .mud-progress-linear {
        width: 30%;
    }
}

.mud-grid {
    width: 100% !important;
    margin: 0 !important;
}

#title-text {
    color: #fff;
    align-self: center;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: 100%;
    user-select: none;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#time {
    color: #fff;
    align-self: center;
    font-size: 22px;
    padding-right: 10px;
    font-weight: bold;
    width: 85px;
    user-drag: none;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

.mw-300 {
    max-width: 300px !important;
}

.width-100 {
    width: 100% !important;
}

.height-100 {
    height: 100% !important;
}

.border-left-error {
    border-left: 5px solid var(--mud-palette-error) !important;
}

.border-left-success {
    border-left: 5px solid var(--mud-palette-success) !important;
}

.border-left-dark {
    border-left: 5px solid var(--mud-palette-dark) !important;
}

.border-left-white {
    border-left: 5px solid var(--mud-palette-surface) !important;
}

.border-right-info {
    border-right: 5px solid var(--mud-palette-info) !important;
}

*[id] {
    scroll-margin-bottom: 200px;
}

.silver {
    color: silver;
}

.silverbackground {
    background-color: silver;
}

.primarycolor {
    color: var(--mud-palette-primary) !important;
}

.errorcolor {
    color: var(--mud-palette-error) !important;
}


.primarybackground {
    background-color: var(--mud-palette-primary) !important;
}

.primarybackgrounddarken {
    background-color: var(--mud-palette-primary-darken) !important;
}

.bold {
    font-weight: bold !important;
}

.audit-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -50px;
}

.button-standard-size {
    width: 110px !important;
    font-size: 12px !important;
    height: 36px !important;
    text-align: center !important;
}

.button-full-width {
    width: 100% !important
}

.button-small-size {
    width: 85px !important;
    font-size: 12px !important;
    height: 36px !important;
    text-align: center !important;
    align-self: center !important;
}

.button-large-size {
    width: 160px !important;
    font-size: 12px !important;
    height: 36px !important;
    text-align: center !important;
}

.bullet {
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: inside !important;
    font-size: 12px !important;
    padding: 8px !important;
}

.blazored-toast-container {
    animation: fadeinout 5s linear forwards;
    z-index: 10000 !important;
}

.blazored-toast-close {
    display: none !important;
}

.blazored-toast-message {
    font-size: unset !important;
}

.blazored-toast-heading {
    font-size: 1rem !important;
    text-transform: unset !important;
    line-height: unset !important;
}

@keyframes fadeinout {
    0%,100% {
        opacity: 0
    }

    15%, 85% {
        opacity: 1
    }
}

.nav-bar {
    height: 40px;
    bottom: 0;
    top: unset !important;
    background-color: var(--mud-palette-white) !important;
}

.align-text-center {
    text-align: center !important;
}


.align-text-right {
    text-align: right;
}

.align-text-left {
    text-align: left;
}

.align-text-end {
    text-align: end !important;
}


.padding-unset {
    padding: unset !important;
}

.loading-box {
    flex-direction: column;
    display: flex;
    align-items: center;
}

.version-number {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: right;
    color: var(--mud-palette-white);
}

.signature-pad {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 100%;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 16px 16px 8px 16px;
}

    .signature-pad::before,
    .signature-pad::after {
        position: absolute;
        z-index: -1;
        content: "";
        width: 40%;
        height: 10px;
        bottom: 10px;
        background: transparent;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
    }

    .signature-pad::before {
        left: 20px;
        transform: skew(-3deg) rotate(-3deg);
    }

    .signature-pad::after {
        right: 20px;
        transform: skew(3deg) rotate(3deg);
    }

.signature-pad--body {
    position: relative;
    flex: 1;
    border: 1px solid #e6e6e6;
}

    .signature-pad--body canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
    }

#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: var(--mud-default-borderradius);
    padding: 16px;
    position: fixed;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s;
        animation: fadein 0.5s;
    }

    #snackbar:hover {
        cursor: pointer;
    }

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.daterange-picker {
    width: 250px;
}

.filterIcon-Right {
    width: fit-content !important;
    align-self: center;
}

.drawer-header {
    align-self: center;
    text-align: center;
}

.submit-button-container {
    align-self: center;
}

.mud-table-sort-label-icon {
    display: none !important;
}

.mud-table-sort-label:hover .mud-table-sort-label-icon {
    display: block !important;
}

.mud-direction-asc {
    display: block !important;
}

.mud-direction-desc {
    display: block !important;
}

.text-bold {
    font-weight: bold !important;
}

.responsible-item {
    text-align: -webkit-center;
    align-items: center;
}

.loading-text-style {
    text-align: center;
    font-size: 20px;
    font-weight: bold !important;
}

.loading-centered-relative {
    position: relative;
    top: 50%;
    left: 50%;
}

.border {
    border: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: darkgrey;
}

.date-picker-border {
    border: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: darkgrey;
    padding: 0px 15px 15px !important
}

    .date-picker-border:hover {
        border-color: #000000;
    }


.not-bold-header {
    font-weight: normal
}

.bottom-bar-action-buttons {
    bottom: 0px;
    top: unset !important;
    background-color: white;
    max-width: 100% !important;
    position: sticky;
    width: 100%;
    z-index: 100 !important;
}

@media (max-width: 960px) {
    .bottom-bar-action-buttons {
        bottom: 40px;
    }
}

.mud-alert-filled-success {
    background-color: #34a9ad !important;
    opacity: 1 !important;
}

.department-icon {
    text-align: center !important;
    align-self: center !important;
}

.mud-select-popover-over {
    width: 250px !important;
    max-width: 250px !important;
}

.bottom-right-floating {
    position: fixed;
    bottom: 45px;
    right: 20px;
}

.modal-header {
    display: flex;
    background-color: var(--mud-palette-primary);
}

.font-bold {
    font-weight: bold !important;
}