@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@font-face {
    font-family: 'siesabt-bold';
    src: url('../fuentesiesa/siesabt-bold.woff2') format('woff2');
}
@font-face {
    font-family: 'siesabt-light';
    src: url('../fuentesiesa/siesabt-light.woff2') format('woff2');
}
@font-face {
    font-family: 'siesabt-regular';
    src: url('../fuentesiesa/siesabt-regular.woff2') format('woff2');
}
html, body {
    font-family: 'siesabt-regular',sans-serif !important;
    background: #f5f5f5 !important;
    margin: 0;
    font-size: 1rem !important;
    text-align: left !important;
}
table tbody {
    font-family: 'siesabt-light', sans-serif !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: black!important;
}

button {
    text-transform: math-auto !important;
}

.button-radius {
    border-radius: 13px !important
}

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

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xp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jYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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 {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 10; /* Aseg�rate de que est�n por encima de otros elementos */
    background-color: white; /* Aseg�rate de que el fondo sea blanco para que se vea bien */
}

/*Modal*/
.blazored-modal-custom {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #fff;
    padding: 1.2rem;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
    margin: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: auto;
}

.blazored-modal-custom-full-display {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px 10px 0 0; /* Redondear solo la parte superior */
    border: 1px solid #fff;
    padding: 1.2rem;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    margin: 0; /* Elimina los m�rgenes */
    width: 100%; /* Ocupa el 100% del ancho */
    height: 90%; /* Ocupa el 70% de la altura de la pantalla */
    position: absolute;
    bottom: 0; /* Posiciona el modal en la parte inferior */
    left: 0; /* Asegura que el modal est� alineado a la izquierda */
    overflow-y: auto;
    animation: slideUp 0.5s ease-out; /* Aplica la animaci�n */
}
/*Modal deliveries*/
.blazored-modal-custom-deliveries {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #fff;
    padding: 1.2rem;
    box-shadow: 0 2px 2px rgba(0,0,0,.25);
    margin: 1rem;
    max-width: 900px;
    max-height: 80vh;
    margin-left: auto;
    margin-right: auto;
    overflow-y: auto;
    position: relative;
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

    .blazored-modal-custom + div:first-of-type {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0 0 1rem 0;
    }

    .size-small-custom {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

.size-medium-custom {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.size-medium-large-custom {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.size-large-custom {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.size-large-md-custom {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.size-extra-large-custom {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.size-custom-full-display {
    margin-left: auto;
    margin-right: auto;
    min-height: 30em;
}

.size-extra-extra-large-custom {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
    min-height: 40rem;
    border-radius: 15px;
    font-size: inherit.4rem;
}

.bm-close {
    padding: 0.5rem;
    margin: -1rem -1rem -1rem auto;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
}

.bm-header{
    padding: 0 0 1rem 0!important;
}

.bm-title {
    margin-bottom: 0;
    font-size: 1.4rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mud-breadcrumbs-custom {
    padding: 2px 1px!important;
}

.mud-breadcrumbs-custom:hover {
    padding: 2px 1px !important;
    color:blue!important;
}

.rz-splitbutton-menu {
    min-width:unset!important;
}

.rz-multiselect-panel {
    width:fit-content !important;
}

.swal2-popup {
    border: 1px solid #0003;
    border-radius: 1.5em!important;
}

.grecaptcha-badge {
    visibility: hidden;
}

.rz-card.rz-variant-filled {
    box-shadow: var(--rz-card-shadow);
    margin-top: -45px !important;
    margin-bottom: 1rem !important;
    padding: 10px;
    min-height: 50px !important;
}

.rz-sidebar-toggle {
    -webkit-appearance: none;
    border: none;
    padding: var(--rz-sidebar-toggle-padding);
    margin: var(--rz-sidebar-toggle-margin);
    border-right: var(--rz-sidebar-toggle-border);
    background-color: var(--rz-sidebar-toggle-background-color);
    color: white !important;
}

    .rz-sidebar-toggle:hover {
        color: black !important;
        background: none !important;
        border-radius: 0px !important;
    }

button:focus, .form-control:focus {
    box-shadow: 0 0 0 0.25rem var(--color_focus_general) !important;
}

.rz-panel-menu .rz-navigation-item-wrapper:hover {
    background-color: #0e79fd !important;
    color: white !important;
}
/*.mud-snackbar {
    position: fixed;
    top: 0;
}*/

.btn-tables {
    margin: 0px !important;
    padding: 4px !important;
    min-width: 1rem !important
}

.rz-header-cell {
    font-weight: bold !important;
}
.rz-m-12 {
    margin: 1rem !important;
}

.btn-form-upsert {
    margin-top: 20px
}

/*.rz-group-header {
    background-color: var(--rz-grid-header-background-color);
    padding: var(--rz-grid-group-header-padding);
    border-bottom: var(--rz-grid-bottom-cell-border);
    display: flex;
    justify-content: center !important;
    align-items: center;
}*/

.position-middle[b-mwsrhhqq2g] {
    display: grid;
    justify-content:unset !important;
    align-items: center;
}

.validation-message {
    color: #337ab7 !important;
    font-size:0.8em !important;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blink {
    animation: blink 1s infinite;
}

.rz-switch.rz-switch-checked .rz-switch-circle:before {
    background: #2196f3!important;
    transform: translateX(1rem);
}
.rz-button.rz-variant-text.rz-primary.rz-shade-default {
    color: #2196f3 !important;
}
.rz-chkbox-box:after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    opacity: 0;
    transition: background-color var(--rz-transition), width var(--rz-transition), height var(--rz-transition);
}
.rz-chkbox-box.rz-state-active {
    background-color: #2196f3 !important;
    border: var(--rz-checkbox-checked-border);
}

.fixed-width-column {
    width: 100px !important;
    min-width: 80px !important;
    max-width: 100px !important;
}

.rz-frozen-cell-left.rz-frozen-cell-left-end {
    box-shadow: none!important;
}