﻿:root {
    --sticky-column-width: 150px;
}

/*.page-header-compact .page-header-content {
    padding: 0;
}
.page-header-compact .page-header-content .page-header-title {
    font-size: 1rem;
}
.page-header-compact .page-header-content .page-header-title .page-header-icon .feather {
    height: 1rem;
    width: 1rem;
}*/

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.valid.modified:not([type=checkbox]) {
    border-radius: 5px;
    border: 1px solid #00ac69;
}

.invalid {
    border-radius: 5px;
    border: 1px solid #e81500;
}

.validation-message {
    color: #e81500;
    font-size: small;
}

/*.form-control.invalid {
    border-color: #dc3545;
}*/

.required-field {
    font-size: x-small;
    color: gray;
}

.etiqueta {
    display: block;
}

.etiqueta-resaltada {
    color: #1f2d41;
    font-weight: 500;
    border-left: 2px solid #0061f2;
    padding-left: 10px;
}

/* Charts */

.responsive-small-pie-chart-container {
    vertical-align: middle;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}


.responsive-bar-chart-container {
    vertical-align: middle;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.smtable {
    font-size: 0.9rem;
}

/* After modification */

.display-label {
    margin-bottom: 5px;
}

.display-content {
    color: #1f2d41;
    font-weight: 500;
    border-left: 2px solid #0061f2;
    padding-left: 10px;
}

.table-row-header {
    color: #0061f2;
}

/* 2.0 */

.fai-prefix {
    width: 1.68rem;
}

/* 2.1 */

.table-header-rotated {
    border-collapse: collapse;
}
.csstransforms .table-header-rotated td {
    width: 30px;
}
.no-csstransforms .table-header-rotated th {
    padding: 5px 10px;
}
.table-header-rotated td {
    text-align: center;
    padding: 10px 5px;
    border: 1px solid #ccc;
}
.csstransforms .table-header-rotated th.rotate {
    height: 140px;
    white-space: nowrap;
}
.csstransforms .table-header-rotated th.rotate > div {
    transform: translate(25px, 51px) rotate(315deg);
    width: 30px;
}
.csstransforms .table-header-rotated th.rotate > div > span {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
}
.table-header-rotated th.row-header {
    padding: 0 10px;
    border-bottom: 1px solid #ccc;
}

/* 3.0 */

.sticky-table th:first-child
{
    position:sticky;
    left:0px;
    background-color:whitesmoke;
}

.sticky-table td:first-child
{
    position:sticky;
    left:0px;
    background-color:whitesmoke;
}


.sticky-table2 th:first-child
{
    position:sticky;
    left:0px;
    background-color:whitesmoke;
}

.sticky-table2 td:first-child
{
    position:sticky;
    left:0px;
    background-color:whitesmoke;
}

.sticky-table2 th:nth-child(2)
{
    position:sticky;
    left: var(--sticky-column-width);
    background-color:whitesmoke;
    z-index: 1;
}

.sticky-table2 td:nth-child(2)
{
    position:sticky;
    left: var(--sticky-column-width);
    background-color:whitesmoke;
    z-index: 1;
}

.sticky-table2-oftalmo th:first-child
{
    position:sticky;
    left:0px;
    background-color:whitesmoke;
}

.sticky-table2-oftalmo td:first-child
{
    position:sticky;
    left:0px;
    background-color:whitesmoke;
}

.sticky-table2-oftalmo th:nth-child(2)
{
    position:sticky;
    left:230px;
    background-color:whitesmoke;
}


/* TIMELINE */

.timeline .timeline-item {
    display: flex;
    align-items: flex-start;
}
.timeline .timeline-item .timeline-item-marker {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.timeline .timeline-item .timeline-item-marker .timeline-item-marker-text {
    font-size: 0.875rem;
    width: 6rem;
    color: #a7aeb8;
    text-align: center;
    margin-bottom: 0.5rem;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.timeline .timeline-item .timeline-item-marker .timeline-item-marker-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    background-color: #f2f6fc;
    border-radius: 100%;
}
.timeline .timeline-item .timeline-item-content {
    padding-top: 0;
    padding-bottom: 2rem;
    padding-left: 1rem;
    width: 100%;
}
.timeline .timeline-item:last-child .timeline-item-content {
    padding-bottom: 0 !important;
}

@media (min-width: 576px) {
    .timeline .timeline-item .timeline-item-marker {
        flex-direction: row;
        transform: translateX(1.625rem);
        margin-bottom: 0;
    }
    .timeline .timeline-item .timeline-item-marker .timeline-item-marker-text {
        margin-right: 0.5rem;
        margin-bottom: 0;
    }
    .timeline .timeline-item .timeline-item-content {
        padding-top: 0.75rem;
        padding-bottom: 3rem;
        padding-left: 3rem;
        border-left: solid 0.25rem #f2f6fc;
    }
    .timeline .timeline-item:last-child .timeline-item-content {
        border-left-color: transparent;
    }
}
.timeline.timeline-sm .timeline-item .timeline-item-marker {
    transform: translateX(0.875rem);
}
.timeline.timeline-sm .timeline-item .timeline-item-marker .timeline-item-marker-text {
    width: 3rem;
    font-size: 0.7rem;
}
.timeline.timeline-sm .timeline-item .timeline-item-marker .timeline-item-marker-indicator {
    height: 1.5rem;
    width: 1.5rem;
    font-size: 0.875rem;
}
.timeline.timeline-sm .timeline-item .timeline-item-marker .timeline-item-marker-indicator .feather {
    height: 0.75rem;
    width: 0.75rem;
}
.timeline.timeline-sm .timeline-item .timeline-item-content {
    font-size: 0.875rem;
    padding-top: 0.15rem;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
}

.timeline.timeline-xs .timeline-item .timeline-item-marker {
    transform: translateX(0.5625rem);
}
.timeline.timeline-xs .timeline-item .timeline-item-marker .timeline-item-marker-text {
    width: 3rem;
    font-size: 0.7rem;
}
.timeline.timeline-xs .timeline-item .timeline-item-marker .timeline-item-marker-indicator {
    height: 0.875rem;
    width: 0.875rem;
    font-size: 0.875rem;
    border: 0.125rem solid #fff;
    margin-top: -0.125rem;
}
.timeline.timeline-xs .timeline-item .timeline-item-content {
    font-size: 0.875rem;
    padding-top: 0;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
}

.imageOnLinkWithNoUnderline:link { text-decoration: none; }


.imageOnLinkWithNoUnderline:visited { text-decoration: none; }


.imageOnLinkWithNoUnderline:hover { text-decoration: none; }


.imageOnLinkWithNoUnderline:active { text-decoration: none; }

.titulo-tabla {
    text-transform: lowercase;
}

.titulo-tabla:first-letter {
    text-transform: uppercase;
}

.active:hover {
    text-decoration: none;
    cursor:default;
}

/*
.navbar-nav > li:last-child > a::after {
    content:none;
}*/

/*Versión 3.0*/
.titleize {
    text-transform: capitalize;
}


/* Versión 202609 */

/* Esta clase se activa cuando se selecciona una división del menú izquierdo */

.active-division-on-sidenav-menu{
    font-weight: bold;
    color: #0d6efd !important;
}