@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --blue-integry: #01253d;
    --yellow: #f5a220;
    --blue: #1ca0d1;
    --green: #33a752;
    --red: #ea252e;
    --grey: #666666;

    /*--mud-palette-primary: #01253d !important;*/
    /*--mud-palette-info: #1ca0d1 !important;*/
    /*--mud-palette-success-darken: #33a752 !important;*/
    /*--mud-palette-error: #ea252e !important;*/
}

.fa-chip{
    font-size: 0.9rem !important;
}

.is-dark input{
    color-scheme: dark;
}

.mud-main-content {
    /*overflow: auto !important;*/
}

.filter_popover_class {
    z-index: 1999 !important;
}

.img-fluid {
    width: 11vw;
    margin: auto;
}

.filter-container {
    display: flex;
}

.fit-content {
    width: fit-content !important;
}

h1:focus {
    outline: none;
}

.mud-drop-zone.mud-cal-month-dropzone{
    overflow-y: auto !important;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: var(--blue-integry);
    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;
    position: relative;
    overflow: auto;
    height: 88vh;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: 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;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIge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SA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.loading-progress img {
    max-width: 100%;
    height: auto;
}

.mud-drop-item:not(.mud-drop-item-preview-start) {
    display: flex !important;
}

.mud-popover-cascading-value {
    z-index: 2000 !important;
}

.custom-top-dropZone {
    display: flex;
    justify-content: space-between;
}

.custom-filter-color-deselected .mud-icon-root.mud-svg-icon {
    fill: #434a4f !important;
}

.custom-filter-color-selected .mud-icon-root.mud-svg-icon {
    fill: #f3f3f3 !important;
}

.custom-filter-color-deselected {
    color: #5e5e5e !important;
}

.custom-filter-color-selected {
    color: #f3f3f3 !important;
}

.custom-info-color-selected {
    color: #ffffff89 !important;
}

.custom-mudAvatar-navbar {
    font-size: medium !important;
    border: 2px solid #434a4f;
    background-color: #434a4f !important;
}

.mud-popover .mud-icon-button {
    padding-left: 0 !important
}

.table-ore {
    font-family: monospace;
}

.MudDataGrid-custom .mud-table-cell {
    font-size: small;
}

.MudDataGrid-custom .mud-table-container {
    height: fit-content !important;
    max-height: 240px !important;
}

.popover-filter-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1vh;
}

.custom-table-task .mud-table-container {
    height: calc(100vh - 110px);
}

.custom-calendar-height {
    min-height: calc(100vh - 1rem - 110px) !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
}

.custom-calendar-height .mud-cal-toolbar {
    padding: 10px !important;
}

.dataInserimento {
    font-size: 11px;
}

.dataInserimento span {
    font-weight: 600 !important;
}

.dataInserimento .mud-icon-root {
    font-size: 11px !important;
    margin-right: 2px;
}

.dataInserimento .mud-typography {
    display: flex;
    align-items: baseline;
}

.priorityTable {
    font-size: 11px;
}

.priorityTable .mud-icon-root {
    font-size: 11px !important;
    margin-right: 2px;
}

.priorityTable .mud-typography {
    display: flex;
    align-items: baseline;
}

.table-commessa {
    font-weight: 700 !important;
    color: var(--mud-palette-drawer-text) !important;
}

.MudDialogContent .mud-dialog-content {
    padding: 0px !important;
}

.MudDialogContent .mud-calendar {
    padding: 0px !important;
}

.MudDialogContent .mud-calendar .mud-cal-toolbar {
    padding: 0px !important;
}

.mud-cal-month-cell .ma-2 {
    display: flex;
    align-items: center;
}

.mud-button-filled.mud-button-filled-primary:hover, .mud-fab-primary:hover, .mud-fab-primary:focus-visible {
    background-color: #116584 !important;
}

.custom-mudfab {
    position: fixed !important;
    bottom: 0px;
    margin-bottom: 16px;
    right: 16px;
}

.mud_drop_container {
    height: calc(100vh - 110px) !important;
}

.insert_commessa_popover {
    max-width: fit-content !important;
}

.insert_commessa {
    margin: 0 !important;
}

.insert_commessa .mud-select-input {
    margin: 0 !important;
    font-size: var(--mud-typography-h5-size);
    font-family: var(--mud-typography-h5-family);
    font-weight: bold;
    line-height: var(--mud-typography-h5-lineheight);
    letter-spacing: var(--mud-typography-h5-letterspacing);
    text-transform: var(--mud-typography-h5-text-transform);
}

.insert_commessa .mud-input.mud-input-underline:before {
    border-bottom: none !important;
}

.insert_commessa .mud-input.mud-input-underline:after {
    border-bottom: none !important;
}

.insert_commessa .mud-input-adornment {
    padding-left: 7px;
}

.insert_commessa div.mud-input-slot.mud-input-root {
    padding: 0;
    width: auto;
}

.insert_commessa .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol {
    display: none;
}

.insert_commessa .mud-icon-size-small {
    font-size: 1rem;
}

.insert_personarif {
    margin: 0 !important;
}

.insert_personarif .mud-select-input {
    margin: 0 !important;
    font-size: .875em;
}

.insert_utente .mud-select-input {
    margin: 0 0 0 0 !important;
}

.insert_personarif .mud-input-slot {
    padding: 0 !important;
}

.insert_personarif .mud-icon-size-small {
    font-size: 1rem;
}

.insert_mailpersonarif {
    margin: 0 !important;
}

.insert_mailpersonarif .mud-input-text {
    margin: 0 !important;
    font-size: .875em;
}

.insert_mailpersonarif .mud-input-adornment {
    margin: 0 !important;
}

.insert_mailpersonarif .mud-input-slot {
    padding: 0 !important;
}

.insert_mailpersonarif .mud-icon-size-small {
    font-size: 1rem;
}

.insert_processo {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.insert_processo .mud-icon-size-small {
    font-size: 1rem;
    margin-left: 5px;
    color: var(--mud-palette-text-secondary);
}

.WeekTemplate_background .mud-typography {
    font-weight: 500;
    color: var(--mud-palette-text-primary);
}

.WeekTemplate .mud-typography {
    font-size: small;
}

.WeekTemplate {
    cursor: pointer;
    border-radius: 5px;
    height: -webkit-fill-available;
    margin: 0 8px 2px 0;
}

.mud-cal-current-time {
    border: 1px solid var(--mud-palette-error) !important;
    opacity: 1;
}

@media (max-width: 520px) {
    .modal_form .mud-grid {
        flex-direction: column !important;
    }

    .modal_form .mud-grid-item {
        max-width: 100%;
    }

    .modal_form .mud-grid-item-xs-4 {
        padding: 0 12px 12px 12px !important;
    }

    .modal_form .mud-grid-item-xs-8 {
        padding: 12px 12px 0px 12px !important;
    }
}

.quickAction .mud-typography {
    color: var(--mud-palette-text-primary) !important;
    padding: 0 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: .00938em !important;
    z-index: 0 !important;
    pointer-events: none !important;
    transform: scale(.75);
    transform-origin: top left;
}

.quickAction .mud-divider {
    height: auto !important;
    border-color: var(--mud-palette-text-primary) !important;
}

.plan-menu {
    color: var(--mud-palette-text-primary) !important;
    background-color: var(--mud-palette-drawer-background) !important;
    box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.26) !important;
    border-radius: 5px !important;
}

.plan-menu .plan-menu-item {
    background-color: var(--mud-palette-drawer-background) !important;
    padding: 6px 12px 6px 12px !important;
    border-radius: 5px;
    display: flex;
}

.plan-menu .plan-menu-item .textIcon_item {
    margin-right: 7vw;
    font-size: 14px;
}

.plan-menu .plan-menu-item .text_item {
    margin-right: 3vw;
    font-size: 14px;
    padding-left: 34px;
}

.plan-menu .plan-menu-item .subText_item {
    font-size: 12px;
    color: var(--mud-palette-drawer-text);
}

.plan-menu .plan-menu-item .mud-icon-size-small {
    font-size: 1rem;
    margin-right: 0.5vw;
}

.plan-menu .plan-menu-item:hover {
    background-color: var(--mud-palette-dark-hover) !important;
}

.plan-menu .mud-divider {
    border-color: var(--mud-palette-text-primary) !important;
}

.custom_popover {
    border-radius: 5px !important;
    background-color: var(--mud-palette-drawer-background) !important;
    box-shadow: 4px 4px 20px 0px rgba(0, 0, 0, 0.26), 0px 0px 0px 1px rgb(255 255 255 / 25%) !important;
    color: var(--mud-palette-text-primary) !important;
}

.custom_popover .mud-divider {
    border-color: var(--mud-palette-text-primary) !important;
}

.custom_popover .mud-list-padding {
    padding: 3px 0px 3px 0px !important;
}

.custom_popover .mud-list-item {
    padding: 5px 12px 5px 12px;
}

.custom_popover .mud-list-item-icon {
    min-width: fit-content !important;
    padding-right: 12px !important;
}

.footer {
    background-color: var(--mud-palette-appbar-background);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding: 8px;
    align-items: center;
}

.footer > .span {
    font-size: small;
    height: fit-content;
}

.mud-drop-item .mud-badge-root {
    max-width: 100%;
}

.mud-list-item-icon {
    min-width: fit-content !important;
    padding-right: 15px !important;
}

.select-item-container {
    display: flex;
    flex-direction: column;
}

.select-item-user {
    font-size: 0.8rem;
    font-weight: bold;
}

.text-highlighter{
    background-color: #d2992266 !important;
    padding: 0 !important;
    color: var(--mud-palette-text-primary) !important;
}