@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --rz-text-font-family: 'Titillium Web', sans-serif;
    --blugedea: rgba(41,121,178, 0.95);
    --primary: #005382;
    --secondary: #496178;
    --tertiary: #6d3a7f;
    --error: #ba1a1a;
    --primary-container: #2979b2;
    --secondary-container: rgb(208, 230, 255);
    --on-secondary-container: #334b61;
    --tertiary-container: #955fa6;
    --inverse-primary: #95ccff;
    --cash-background: #B8E6C1;
    --cash-background-transparent: rgba(184, 230, 193, 0.75);
    --pos-background: #A8D8FF;
    --pos-background-transparent: rgba(168, 216, 255, 0.75);
    --virtualpos-background: #FFD1B3;
    --virtualpos-background-transparent: rgba(255, 209, 179, 0.75);
    --undefined-paymentmode-background: #e6eaef;
    --undefined-paymentmode-background-transparent: rgba(230, 234, 239, 0.75);
    --rz-primary: rgba(41,121,178, 0.95);
    --rz-grid-simple-filter-icon-active-background-color: #e8e8fa;
}

html, body {
    font-family: 'Titillium Web','Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Rimosso per MudBlazor/
/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0.5;
  transform: translate(-50%, -50%);
}

.form-check-label{
    cursor: pointer;
    user-select: none;
}*/

#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;
    }

/*Forse da cancellare perchè era del vecchio drag and drop*/
/*pre { 
    background-color: #f0f0f0;
    overflow: auto;
    padding: 1rem;
    height: 10rem;
}*/

.files input {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 120px 0px 65px 35%;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}

    .files input:focus {
        outline: 2px dashed #92b0b3;
        outline-offset: -10px;
        -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
        transition: outline-offset .15s ease-in-out, background-color .15s linear;
        border: 1px solid #92b0b3;
    }

.files {
    position: relative
}

    .files:after {
        pointer-events: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 50px;
        right: 0;
        height: 56px;
        content: "";
        background-image: url(https://image.flaticon.com/icons/png/128/109/109612.png);
        display: block;
        margin: 0 auto;
        background-size: 100%;
        background-repeat: no-repeat;
    }

.color input {
    background-color: #f1f1f1;
}

.files:before {
    position: absolute;
    bottom: 10px;
    left: 0;
    pointer-events: none;
    width: 100%;
    right: 0;
    height: 37px;
    content: " o trascina qui. ";
    display: block;
    margin: 0 auto;
    color: #2ea591;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
}


.rowfiles input {
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 3px;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}

.modal {
    z-index: 3000;
}


/* ::-webkit-scrollbar {
     width: auto; 
     height: auto; 
     z-index: 1; 
}*/

body:not(.rz-default-scrollbars) ::-webkit-scrollbar-thumb {
    background: #cfcfcf !important;
    border: 0px !important;
    background-clip: unset !important;
    border-radius: 8px !important;
}

body::-webkit-scrollbar-thumb {
    background: #cfcfcf !important;
    border: 0px !important;
    background-clip: unset !important;
    border-radius: 8px !important;
}

    .mud-table-head .mud-table-row .filter-header-cell .gap-3 {
        gap: 0.3rem !important;
    }

.gedea-background-color {
    background-color: var(--blugedea) !important;
}

.gedea-secondary-container {
    background-color: var(--on-secondary-container) !important;
}

.gedea-tertiary-container {
    background-color: var(--inverse-primary) !important;
}

.gedea-container-background {
    background-color: #f8f9fc !important;
}

.rz-custom-header {
    min-width: 100%;
}

.rz-grid-table-striped tbody > tr:not(.rz-expanded-row-content):nth-child(even) > td {
    background-color: var(--rz-base-100) !important;
}

.rz-grid-table-striped tbody > tr:not(.rz-expanded-row-content):nth-child(odd) > td {
    background-color: white !important;
}
.rz-datatable {
    border: 0.183rem solid #f0f0f0;
}

.datagrid-header thead tr th {
    background-color: #5DADE2 !important;
}

.rz-grid-table thead tr th {
    background-color: #5DADE2 !important;
}

/*.rz-grid-table-fixed .rz-frozen-cell-left, .rz-grid-table-fixed .rz-frozen-cell-right, .rz-grid-table-fixed .rz-frozen-cell-left-inner, .rz-grid-table-fixed .rz-frozen-cell-right-inner{
        background-color: #5DADE2;
}*/

.secondary-table thead tr th {
    background-color: #B0C4DE !important;
}

.secondary-table .rz-grid-table thead th .rz-column-title {
    color: #333333;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}

.rz-grid-table thead th .rz-column-title {
    color: #fdfaf5;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}

.rz-sortable-column .rzi-sort-asc {
    color: #fdfaf5;
}
.rz-sortable-column .rzi-sort-desc {
    color: #fdfaf5;
}
.secondary-table .rz-sortable-column .rzi-sort-asc {
    color: #333333;
}

.secondary-table .rz-sortable-column .rzi-sort-desc {
    color: #333333;
}


.rz-group-header {
    background-color: #f8f9fa;
}
.datagrid-footer tfoot tr td {
    background-color: #2979b2 !important;
}

.rz-grid-table tfoot tr td {
    background-color: #2979b2 !important;
}

.rz-grid-table thead th .rz-column-title {
    font-weight: bold;
}

.rz-steps .rz-state-highlight .rz-steps-number {
    background: var(--blugedea);
}

.rz-steps .rz-state-highlight .rz-steps-title {
    color: var(--blugedea);
}

.rz-steps .rz-menuitem-link:hover {
    text-decoration: none;
    color: var(--blugedea) !important;
}

.rz-steps-next:not(.rz-state-disabled):hover, .rz-steps-prev:not(.rz-state-disabled):hover {
    cursor: pointer;
    color: var(--blugedea) !important;
}

.rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-top-width: 0;
    border-bottom: 2px solid var(--blugedea);
}

.rz-tabview-nav .rz-tabview-selected {
    background-color: var(--rz-tabs-tab-selected-background-color);
    color: var(--blugedea);
    position: relative;
}

.rz-tabview-title {
    font-weight: bold;
}

.mud-nav-link.active:not(.mud-nav-link-disabled) {
    font-weight: 650 !important;
}
