
html {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
}

body {
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 0.90rem;
    font-weight: 400;
    color: #212529;
    /*background-color: #E9ECEF;*/
    background-color: #F2F4F7;
    height: 100%;
    margin: 0;
    line-height: 1.5;
}

main {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

input {
    font-size: 0.83rem !important;
}

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

.btn {
    padding-top: 0px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0px;
    font-size: 0.90rem;
    font-weight: 400;
    height: 34px !important;
    align-items: center !important;
    display: flex !important;
}
.btn-lg {
    font-size: 1.1rem;
    font-weight: 400;
    height: 38px !important;
}
.btn-sm {
    font-size: 0.8rem;
    font-weight: 400;
    height: 30px !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-dark: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;
}
.btn img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 6px;
}
.btn-icon-red {
    color: #EE0010;
}
.btn-icon-green {
    color: #276B00;
}


.img-logocia {
    max-width: 600px;
}

.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-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm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Dg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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




.sam-dialog-small {
    min-width: 300px;
}
.sam-dialog-medium {
    min-width: 340px;
}
.sam-dialog-large {
    min-width: 340px;
}
.sam-dialog-xlarge {
    min-width: 340px;
}

@media (max-width: 400px) {
    .btn-responsive .btn-label {
        display: none;
    }
    .btn-responsive i {
        margin-right: 0 !important;
    }
    .img-logocia {
        max-width: 300px;
    }
}

@media (min-width: 640px) {
    .sam-dialog-small {
        min-width: 400px;
    }
    .sam-dialog-medium {
        min-width: 580px;
    }
    .sam-dialog-large {
        min-width: 610px;
    }
    .sam-dialog-xlarge {
        min-width: 630px;
    }
}

@media (min-width: 820px) {
    .sam-dialog-small {
        min-width: 500px;
    }
    .sam-dialog-medium {
        min-width: 720px;
    }
    .sam-dialog-large {
        min-width: 780px;
    }
    .sam-dialog-xlarge {
        min-width: 810px;
    }

    .nav-scrollable {
        height: calc(100vh - 3.5rem) !important;
    }
}

@media (min-width: 1024px) {
    .sam-dialog-small {
        min-width: 560px;
    }
    .sam-dialog-small {
        min-width: 720px;
    }
    .sam-dialog-medium {
        min-width: 800px;
    }
    .sam-dialog-large {
        min-width: 900px;
    }
    .sam-dialog-xlarge {
        min-width: 980px;
    }
}


    /*****************************
    TEMPLATE
 *****************************/
.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !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: 24pt !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: 30px !important;
    font-size: 0.83rem !important;
    padding: 0px 3px 0px 3px;
    color: #000000 !important;
    border: 0.95px solid #c0c0c0;
}

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

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

.input-bg-orangelight {
    background-color: #fff3cd;
}

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

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

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

.label-errormsg {
    font-size: 0.95rem !important;
    font-weight: 450 !important;
    color: red !important;
}

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

.k-tabstrip-content {
    background-color: #E3E4E5!important;
}

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

.nav-link {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    padding: 0px 2px 0px 2px !important;
    border-radius: .5rem !important;
    color: #1f2d3d !important;
    height: 36px!important;
}

.nav-parent {
    font-weight: 700!important;
}
.nav-child {
    font-weight: 400 !important;
    font-size: 14px!important;
    margin-left: 0.5rem!important;
}

/*.nav-item .nav-link:not(.nav-parent) {
    font-weight: 400 !important;
}*/