@media screen and (max-width: 1366px) {
    html {
        font-size: .875rem !important;
    }
}


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.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;
}

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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.no-wrap {
    white-space: nowrap; /* Evita el ajuste de texto */
    overflow: hidden; /* Oculta cualquier contenido que no quepa */
    text-overflow: ellipsis; /* Muestra '...' cuando el texto se corta */
}

    .no-wrap.medication {
        max-width: 150px;
    }

.bg-0{
    background: transparent !important;
}

.mud-table-dense * .mud-icon-button {
    padding: 4px !important;
    margin: 0px 2px !important;
}

.mud-table-dense * .mud-icon-button:hover {
    background: rgba(0, 44, 105,0.8);
}

.mud-table-dense * .mud-icon-button p {
    height: 24px !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell[scope="col"] {
    font-size: .8rem;
}

.mud-table-dense * .mud-table-row .mud-table-cell {
    padding: 3px 6px 3px 4px !important;
    padding-inline-start: 4px !important;
    padding-inline-end: 6px !important;
    font-size: .875rem !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell .mud-icon-root {
    width: .875em !important;
    height: .875em !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell .mud-button-label {
    font-size: .875rem !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell .mud-button-text {
    padding: 1px 2px !important;
}

.mud-table-pagination .mud-toolbar .mud-table-pagination-actions .mud-icon-button:not(:disabled) {
    color: white !important;
}

/* 
    ANIMACIÓN ICONO 
*/
@media (prefers-reduced-motion:reduce) {
    .fa-beat, .fa-beat-fade, .fa-bounce, .fa-fade {
        animation-delay: -1ms;
        animation-duration: 1ms;
        animation-iteration-count: 1;
        transition-delay: 0s;
        transition-duration: 0s
    }
}

@keyframes fa-beat {
    0%,90% {
        transform: scale(1)
    }

    45% {
        transform: scale(var(--fa-beat-scale,1.25))
    }
}

.fa-beat {
    animation-name: fa-beat;
    animation-delay: var(--fa-animation-delay,0s);
    animation-direction: var(--fa-animation-direction,normal);
    animation-duration: var(--fa-animation-duration,1s);
    animation-iteration-count: var(--fa-animation-iteration-count,infinite);
    animation-timing-function: var(--fa-animation-timing,ease-in-out)
}

.fa-beat-fade, .fa-fade {
    animation-delay: var(--fa-animation-delay,0s);
    animation-direction: var(--fa-animation-direction,normal);
    animation-duration: var(--fa-animation-duration,1s)
}

.fa-beat-fade {
    animation-name: fa-beat-fade;
    animation-iteration-count: var(--fa-animation-iteration-count,infinite);
    animation-timing-function: var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))
}

@keyframes fa-beat-fade {
    0%,to {
        opacity: var(--fa-beat-fade-opacity,.4);
        transform: scale(1)
    }

    50% {
        opacity: 1;
        transform: scale(var(--fa-beat-fade-scale,1.125))
    }
}

.a {
    display: inline-block;
    width: 200px;
}

.icon-button-overlap .mud-badge.mud-badge-bottom.right.mud-badge-overlap {
    inset: calc(100% - 16px) auto auto calc(100% - 16px);
    border: white;
    border-radius: 26px;
    border-style: solid;
    width: 30px;
    height: 30px;
}

.icon-button-overlap-top .mud-badge.mud-badge-top.right.mud-badge-overlap {
    inset: auto auto calc(100% - 16px) calc(100% - 16px);
}

.icon-button-overlap-size .mud-badge.mud-badge-icon .mud-icon-badge {
    font-size: 22px;
}

.custom-chat-bubble {
    overflow: hidden;
    white-space: wrap;
    overflow-wrap: break-word;
    max-width: 100% !important;
}

:root {
    --dt-primary-color: #073662;
    --dt-color-dialog-title: #dbebd4;
    --mud-palette-background: #f0f4f6 !important;
    --bs-success-rgb: 0,200,80 !important;
    --bs-info-rgb: 33,150,243 !important;
    --dt-bg-tab-color: #95bcf2;
    --dt-color-dialog-title-2: #dddddd !important;
    --dt-color-purple: #674da7 !important;
    --dt-color-purple-rgb: 103, 77, 167 !important;
    --dt-color-lightblue-rgb: 231, 240, 253 !important;
    --mud-palette-drawer-icon: rgba(116, 128, 133) !important;
    --mud-palette-text-primary: rgba(116, 128, 133) !important;
}

.paper-header {
    background-color: var(--dt-primary-color);
}

.paper-title {
    color: white
}

.title-border {
    border: 1px solid;
    border-color: var(--dt-primary-color);
}

.button-fixed {
    position: fixed;
    text-align: end;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.button-fixed-2 {
    position: fixed;
    text-align: end;
    bottom: 65px;
    right: 20px;
    z-index: 1001;
}

.dt-dialog-title.mud-dialog .mud-dialog-title {
    padding: 5px !important;
    background-color: var(--dt-color-dialog-title);
}

.dt-dialog-title-2.mud-dialog .mud-dialog-title {
    padding: 0px !important;
}

.dt-datetimepicker-days {
    background-color: #FFB2B2 !important;
}


.dt-remove-underline-field .mud-input-underline:after {
    border-bottom: none !important;
}

.dt-remove-underline-field .mud-input-underline:before {
    border-bottom: none !important;
}

.dt-remove-underline-field .mud-input-underline {
    border-bottom: none !important;
}

.dt-remove-underline-field .mud-input > input.mud-input-root {
    padding: 0 !important
}

.dt-selectextended div.mud-input-slot.mud-input-root-outlined {
    padding: 9.5px 10px;
}

.dt-autocomplete .mud-input > input.mud-input-root-outlined {
    padding: 11.5px;
}

.dt-autocomplete .mud-input-label-outlined {
    transform: translate(14px, 13px) scale(1);
}

.dt-table-header {
    background-color: #cccccc;
}

.mud-icon-button:has(input[type=radio]) {
    padding: 0px !important;
    margin: 4px 12px !important;
}

.dt-column-gap {
    column-gap: 98px !important;
}

.dt-remove-row-line .mud-table-cell {
    border-bottom: none !important;
}

.dt-tab-active-color {
    background-color: var(--dt-bg-tab-color);
    color: black !important;
}

.mud-tooltip-root.mud-tooltip-inline:has(button:not(.mud-icon-button)) {
    display: inline-block;
    width: 100%;
}

.dt-tabbar-hidden .mud-tabs-tabbar {
    display: none;
}

.dt-tabbar-show .mud-tabs-tabbar {
    display: block !important;
}

.mud-list-subheader-extended {
    padding-bottom: 0px !important;
}

.dt-dialog-size-1.mud-dialog-width-lg {
    max-width: 1520px !important;
}

/* TABLA ESTILO BH */
.dt-table-bh .mud-table-cell {
    border-right: 1px solid black;
    border-bottom: none;
    text-align: center;
}

    .dt-table-bh .mud-table-cell:last-child {
        border-right: none;
    }

.dt-table-bh .mud-table-head {
    background: #cccccc;
}

.dt-table-bh .mud-table-root {
    border-width: 1px !important;
}

.dt-table-bh .mud-table-body .mud-table-row:nth-of-type(even) {
    background-color: #ffffff;
}

.dt-table-bh .mud-table-body .mud-table-row:nth-of-type(odd) {
    background-color: #ededed !important;
}

.dt-table-bh .mud-table-head .mud-table-cell {
    font-size: .875rem !important;
    font-weight: 400 !important;
}

.dt-table-bh.mud-table-dense * .mud-icon-button {
    padding: 4px !important;
}
/* TABLA ESTILO BH */

/* Tabla CRUD seleccionable */
.selected {
    background-color: #1E88E5 !important;
    user-select: none;
}

    .selected > td {
        color: white !important;
        user-select: none;
    }

        .selected > td .mud-input {
            color: white !important;
            user-select: none;
        }
/* Tabla CRUD seleccionable */

.bg-purple {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--dt-color-purple-rgb), var(--bs-bg-opacity)) !important;
}

.dt-list-icon-purple .mud-list-item-icon {
    color: var(--dt-color-purple) !important;
}

.dt-selected-color-info .mud-primary-hover {
    background-color: #2b77e4 !important;
    color: white !important;
}

.dt-selected-color-info .mud-typography-body1 {
    font-weight: bold !important;
}

.mud-timeline-vertical .mud-timeline-item .mud-timeline-item-divider {
    min-width: 0px;
}

.mud-timeline-vertical.mud-timeline-position-start::before {
    border-left: 2px dashed var(--mud-palette-primary);
    background: none;
}

.bg-lightblue {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--dt-color-lightblue-rgb), var(--bs-bg-opacity)) !important;
}

.justify-self-end {
    justify-self: end;
}

.dt-bg-border-op {
    border: 2px solid rgba(0, 0, 0, 0.1);
}
/* TABLE GATEWAY */
.mud-table {
    background-color: transparent !important;
}

.mud-table-root {
    box-shadow: none !important;
    border-spacing: 0 6px !important;
    border-collapse: separate !important;
}

.mud-table-body .mud-table-row {
    background-color: white;
}

.mud-table-cell:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.mud-table-cell:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}
.mud-table-cell .mud-checkbox > .mud-icon-button {
    background-color: transparent !important;
}

.mud-table-striped .mud-table-row:nth-of-type(odd) {
    background-color: #FFFFFF !important;
}

.mud-table-dense * .mud-icon-button {
    background: var(--mud-palette-success);
}
.mud-table-toolbar {
    padding: 0px !important;
}

.mud-table-toolbar .mud-input-control {
    background: white;
    border-radius: 10px
}

.mud-table-toolbar .mud-input > input.mud-input-root-outlined.mud-input-root-adorned-end, div.mud-input-slot.mud-input-root-outlined.mud-input-root-adorned-end {
    border-radius: 10px
}

.mud-table-toolbar .mud-input > input.mud-input-root-outlined {
    padding: 10.5px 14px;
    border: none !important;
    box-shadow: none !important;
    background: white !important;
}

.mud-toolbar .mud-input.mud-input-outlined .mud-input-outlined-border {
    border: none;
}

.mud-table-toolbar .mud-input-control.mud-has-error .mud-input-adornment,
.mud-table-toolbar .mud-input-control:hover .mud-input-adornment,
.mud-table-toolbar .mud-input-control.mud-input-focused .mud-input-adornment {
    border: none !important;
}

.mud-table-toolbar .mud-input-control.mud-has-error,
.mud-table-toolbar .mud-input-control:hover,
.mud-table-toolbar .mud-input-control.mud-input-focused {
    border: none !important;
    box-shadow: none !important;
}

.mud-table-pagination-toolbar {
    border-top: none !important;
}

.mud-table-head {
    background-color: transparent !important;
}

.mud-table-head .mud-table-cell {
    border-bottom: none;
    font-size: .855rem !important;
    font-weight: 400 !important;
}

.mud-table-dense * .mud-table-head .mud-table-row .mud-table-cell {
    padding: 0px 7px 0px 16px !important;
}

/* TABLE GATEWAY */

.mud-navmenu.mud-navmenu-primary .mud-nav-link.active:not(.mud-nav-link-disabled) {
    background-color: transparent !important;
}

.mud-nav-link .mud-nav-link-text {
    font-weight: bold;
}

.dt-tabbar .mud-tabs-tabbar {
    background-color: transparent !important;
    border-bottom: 1px solid;
    border-color: rgba(0, 0, 0, 0.1);
}

.dt-html-container {
    width: auto;
    height:auto;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.dt-html-container img{
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 5px 0;
}

/*.dt-html-container p{
    font-size: 12px;
    margin: 5px 0;
    line-height: 1.3;
}*/

.mud-navmenu .mud-nav-item .mud-nav-link-text {
    white-space: nowrap;
}

.mud-list-subheader-extended {
    background-color: white !important;
}
.mud-list-item-extended {
    padding-top: 5px;
    padding-bottom: 5px;
}
.mud-list-item-multiselect-extended.mud-list-item-multiselect-checkbox-extended {
    padding-inline-end: 0px !important;
}
.mud-list-item-gutters-extended {
    padding-left: 7px;
}

.dt-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1350;
}

.dt-loading-center {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 1351;
    pointer-events: none;
}

.dt-loading-paper {
    pointer-events: auto;
    min-width: 260px;
    padding: 16px;
}

/* AJUSTES Formularios BH */
@media (min-width: 640px) {
    .sm\:justify-end {
        justify-content: flex-end;
    }
}
@media (min-width: 640px) {
    .sm\:flex-none {
        flex: none;
    }
}
@media (min-width: 640px) {
    .sm\:flex {
        display: flex;
    }
}
@media (min-width: 640px) {
    .sm\:px-0 {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 640px) {
    .sm\:items-center {
        align-items: center;
    }
}
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}
@media (min-width: 1024px) {
    .lg\:pb-0 {
        padding-bottom: 0;
    }
}
@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
@media (min-width: 640px) {
    .sm\:order-1 {
        order: 1;
    }
}
@media (min-width: 1024px) {
    .lg\:max-w-lg {
        max-width: 32rem;
    }
}
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 640px) {
    .sm\:leading-6 {
        line-height: 1.5rem;
    }
}
@media (min-width: 640px) {
    .sm\:text-sm {
        font-size: .875rem;
        line-height: 1.25rem;
    }
}
@media (min-width: 640px) {
    .sm\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}
@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }
}
@media (min-width: 640px) {
    .sm\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}
@media (min-width: 640px) {
    .sm\:leading-8 {
        line-height: 2rem;
    }
}
@media (min-width: 640px) {
    .sm\:pb-32 {
        padding-bottom: 8rem;
    }
}
@media (min-width: 640px) {
    .sm\:text-6xl {
        font-size: 3.75rem !important;
        line-height: 1 !important;
    }
}

.gmnoprint a[href^="https://maps.google.com/maps"] {
    display: none !important; /* link "Términos" */
}

.gm-style-cc div:last-child {
    display: none !important; /* "Combinación de teclas" */
}

.gm-style a[href^="https://www.google.com/intl/"] {
    display: none !important; /* "Informar un error en el mapa" */
}