html{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #212529;
    /*background-color: #E9ECEF;*/
    background-color: #F2F4F7;
    font-size: 0.95rem;
}

.logocia {
    max-width: 400px;
}

a, .btn-link {
    color: #006bb7;
}

.btn {
    padding-top: 1px;
    padding-bottom: 0px;
    font-size: 0.95rem;
    font-weight: 400;
    height: 39px !important;
}
.btn-lg {
    font-size: 1.2rem;
    font-weight: 400;
    height: 44px !important;
}

.btn-sm {
    font-size: 0.9rem;
    font-weight: 400;
    height: 36px !important;
}

.btn-primary {
    color: #fff;
    /*background: linear-gradient(to bottom, #4685EB, #2E63BF)!important;*/
    background: linear-gradient(to bottom, #4685EB, #2E63BF) !important;
    border-color: #2E63BF !important;
}
.btn-primary:hover {
    color: #fff;
    background: linear-gradient(to bottom, #3065BF, #1E427F) !important;
    border-color: #1E427E !important;
}

.btn-success {
    color: #FFF;
    background: linear-gradient(to bottom, #43AE00, #276B00) !important;
    border-color: #276B00 !important;
}

.btn-success:hover {
    color: #FFF;
    background: linear-gradient(to bottom, #1D7E34, #145623) !important;
    border-color: #145623 !important;
}

.btn-warning {
    color: #000;
    /*background: linear-gradient(to bottom, #FFDD75, #F3B700) !important;*/
    background: linear-gradient(to bottom, #FFE188, #FFB475) !important;
    border-color: #FFB475 !important;
}
    .btn-warning:hover {
        color: #000;
        background: linear-gradient(to bottom, #F3B700, #F06D00) !important;
        border-color: #F06D00 !important;
    }

.btn-danger {
    color: #fff;
    background: linear-gradient(to bottom, #EE0010, #A10007) !important;
    border-color: #A10007 !important;
}
    .btn-danger:hover {
        color: #fff;
        background: linear-gradient(to bottom, #C82333, #7A151F) !important;
        border-color: #7A151F !important;
    }


.btn-secondary {
    color: #000;
    /*background: linear-gradient(to bottom, #C0C4C7, #6C757D) !important;*/
    background: linear-gradient(to bottom, #CED1D3, #9DA3A8) !important;
    border-color: #9DA3A8 !important;
}
.btn-secondary:hover {
    color: #000;
    background: linear-gradient(to bottom, #C0C4C7, #6C757D) !important;
    border-color: #6C757D !important;
}

.btn-dark {
    color: #fff;
    background: linear-gradient(to bottom, #484848, #353A30) !important;
    border-color: #353A30 !important;
}
.btn-hover {
    color: #fff;
    background: linear-gradient(to bottom, #484848, #353A30) !important;
    border-color: #353A30 !important;
}



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

h1:focus {
    outline: none;
}

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

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS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azor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


@media (max-width: 399.98px) {

}

@media (min-width: 400px) {
}

/*****************************
    MIS CLASES 
*****************************/
    .sam_workarea {
        margin: auto;
        /*width: 1000px !important;*/
        width: 100%;
        padding: 0px;
    }

    .mobilsize {
        max-width: 610px;
    }

    /*****************************
    TEMPLATE
 *****************************/
    .row {
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    .col {
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
        vertical-align: middle !important;
    }

    .col-auto {
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
        vertical-align: middle !important;
    }

    .col-vmid {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .brand-image {
        margin-left: 0px !important;
        margin-right: 8px !important;
        margin-top: 0px !important;
        max-height: 40px !important;
    }

    .brand-text {
        font-size: 26pt !important;
        color: #000000 !important;
        /*line-height: 1.5;*/
        padding: 0px 0px !important;
        font-weight: 300 !important;
    }

    .brand-text2 {
        font-size: 26pt !important;
        color: #037CB5 !important;
        padding: 0px 0px !important;
    }

    .form-control {
        height: 36px !important;
        font-size: 0.90rem !important;
        padding: 0px 3px 0px 3px;
        color: #000000 !important;
        border: 0.95px solid #c0c0c0;
    }

    .input-group-text {
        height: 36px !important;
        border: 1px solid #c0c0c0;
        font-size: 1rem !important;
    }

    .label-cardtitle {
        padding: 0px;
        margin: 0px;
        font-size: 1.3rem;
        font-weight: 550;
        color: #101010;
        height: 22px;
        line-height: 22px;
        /* ELIPSIS */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /* BLOQUE */
        display: block;
        /*max-width: 280px !important;*/
        width: 100%;
    }

    .label-cardlabel {
        padding: 0px !important;
        margin: 0px !important;
        font-size: 0.95rem !important;
        font-weight: 400 !important;
        color: #101010 !important;
        height: 14px !important;
        line-height: 14px !important;
        /* BLOQUE */
        display: block;
    }

    .form-label {
        margin-left: 1px;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 0.90rem !important;
        font-weight: 550 !important;
        color: #101010 !important;
    }

    .form-login-label {
        font-size: 0.90rem !important;
        font-weight: 600 !important;
        margin-left: 1px;
        margin-bottom: 0px;
        color: #707070 !important;
    }

.modal-header {
    align-items: center;
    padding: 6px!important;
    background-color: azure;
}
.modal-body {
    padding: 4px;
    /*para asegurar que el grid tendra el tamaņo del body
        quitarlo si molesta*/
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* This depends on the modal having a defined height */
    overflow: hidden !important;
}
.modal-footer {
    padding: 6px !important;
}


.modal-grid-wrapper {
    padding: 0px !important;
    flex: 1 1 auto !important;
    overflow: auto !important; /* Ensure scrolling inside the grid if needed */
}

    /*************************************************/
    /***  SWEET ALERT   ****/
    /*************************************************/
    .swal2-popup {
        margin: 0 0 0 0 !important;
        padding: 2px 2px 2px 3px !important;
        /*margin: 0 0.5em 0 0;*/
    }

    .swal2-icon {
        /*margin: 0 0 0 0 !important;*/
        /*margin: 0 0.5em 0 0;*/
    }


    /**********************************
**    TELERIK 
***********************************/
    .k-grid-header {
        color: #07076F !important;
        background-color: #DFE6F5 !important;
        background-image: linear-gradient(#DFE6F5, #C6D7F2) !important;
        height: 1.8rem !important;
    }

    .k-link {
        padding: 0px 4px 0px 2px !important;
        background-image: linear-gradient(#DFE6F5, #C6D7F2) !important;
        height: 1.7rem !important;
    }

    .k-grid-row-label {
        padding: 0px 4px 0px 2px !important;
        margin: 0px;
        font-size: 0.9rem;
        font-weight: 400;
        color: #101010;
        height: 20px;
        line-height: 20px;
        /* ELIPSIS */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /* BLOQUE */
        display: block;
    }

    .k-grid-row-label-sec {
        padding: 0px 8px 0px 2px !important;
        margin: 0px;
        font-size: 0.75rem;
        font-weight: 400;
        color: #101010;
        height: 15px;
        line-height: 15px;
        /* ELIPSIS */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /* BLOQUE */
        display: block;
    }


.k-button-md.k-icon-button .k-button-icon {
    min-width: 34px !important;
    height: 38px !important;
    /*padding: 2px !important;*/
}
.k-button-md.k-icon-button {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.k-button-md.k-icon-button .k-button-icon.k-svg-icon > svg, .k-button-md.k-icon-button .k-button-icon.k-icon-md > svg {
    width: 22px !important;
    height: 22px !important;
}

.k-command-cell {
/*        padding-block: 0px !important;
        padding-inline: 0px !important;*/
}

/*ALTO DE LAS FILAS*/
.k-table-md {
    line-height: 41px !important;
}

.k-table-td {
    padding-left: 2px !important;
    padding-right: 1px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    /*    padding: 0px 0px 0px 0px !important;*/
    /*    line-height: 38px !important;*/
}
    .k-table-td.k-command.cell {
        padding-left: 4px !important;
        padding-right: 1px !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        /*    padding: 0px 0px 0px 0px !important;*/
        /*    line-height: 38px !important;*/
    }

.k-grid td.k-selected, .k-grid .k-table-row.k-selected > td, .k-grid .k-table-td.k-selected, .k-grid .k-table-row.k-selected > .k-table-td {
    /*background-color: #FFDD75 !important;*/
    background-color: #F4C436 !important;
    color: #000000 !important;
}

.k-input {
    height: 36px !important;
    padding: 2px 3px 2px 3px !important;
}

    .k-input-inner {
        /* COMBOBOX: PARA MODIFICAR EL TEXTO DEL EDIT */
        height: 36px !important;
        padding: 2px 3px 2px 3px !important;
        vertical-align: middle !important;
        font-size: 0.90rem !important;
        color: #000000 !important;
    }

    .k-input-solid {
        border-color: #c0c0c0 !important;
    }

    .k-input-solid:focus-within {
        border-color: #86B7FE !important;
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb !important;
    }

    .k-button-red {
        color: red !important;
        font-size: 12px !important;
    }

    .k-button-blue {
        color: blue !important;
    }

    .k-button-green {
        color: green !important;
    }


    .k-switch {
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .k-switch-on .k-switch-track {
        border-color: #a0a0a0 !important;
        color: #ffffff;
        background: linear-gradient(172deg,rgba(116, 228, 116, 1) 0%, rgba(141, 253, 141, 1) 100%) !important;
    }

    .k-switch-off .k-switch-track {
        border-color: #a0a0a0 !important;
        color: #3d3d3d;
        background: linear-gradient(90deg,rgba(192, 192, 192, 1) 0%, rgba(208, 208, 208, 1) 100%) !important;
    }

    .k-switch-on:focus .k-switch-track, .k-switch-on.k-focus .k-switch-track {
        outline: 0 !important;
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb !important;
    }

    .k-switch-off:focus .k-switch-track, .k-switch-off.k-focus .k-switch-track {
        outline: 0 !important;
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb !important;
    }

    .k-switch-thumb {
        background: linear-gradient(172deg,rgba(149, 166, 183, 1) 0%, rgba(202, 219, 237, 1) 100%) !important;
    }

    .k-switch:focus {
        border-color: #86b7fe !important;
    }

