* {
    box-sizing: border-box;
    /* outline: 1px dashed #f00; */
}

html, body {
    margin: 0;
    height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--backgroundFillColor);
}

canvas {
    width: 100%;
    height: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

pre,
div.error {
    background-color: #e5e5e5;
    padding: 1rem;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    margin: 1rem 0;
    max-height: 250px;
}

    pre.fixed,
    div.error.fixed {
        height: 200px;
    }

code {
    background-color: #e5e5e5;
    display: inline-block;
    padding: 0px 6px;
    border-radius: 3px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

.mt-10 {
    margin-top: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.pa-10 {
    padding: 10px;
}

.pt-30 {
    padding-top: 30px;
}

.full-width {
    width: 100%;
}

.w-80 {
    width: 80%;
}

.w-20 {
    width: 20%;
}

.required-field {
    color: red;
    display: inline;
    margin-left: 4px;
}

.absences-container {
    padding: 10px;
    max-width: 800px;
}

.absences-container .stack {
    width: 400px;
}

.absences-container .card {
    width: 100%;
    align-items: center;
}

.absences-container .accordion {
    padding: 15px;
    width: 300px;
    margin-top: 15px;
}

.absences-container .button-container {
    margin-left: 15px;
    margin-bottom: 10px;
}

.absences-container .add-button {
    width: 100%;
    padding-right: 30px;
}

.custom-validation {
    color: #bc2f32;
    font-size: 12px;
    margin: 10px 0;
    column-gap: 4px !important;
}

.dialog-width {
    --dialog-width: 350px !important;
}

.calendar-height .fluent-calendar {
    height: auto !important;
}

@media only screen and (max-width: 768px) {
    .absences-container {
        width: 300px;
    }

    .absences-container .stack {
        width: 100%;
    }

    .absences-container .accordion {
        margin-top: 0;
    }
}
