﻿body {
}

#contenidoPSM, .highcharts-title {
    color: #6E6E70;
}

/*.hr-gradient {
    height: 5px;
    background: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;*/ /*linear-gradient( to right, #00a8a8 0%, #00d1d1 60%, #e4f6f6 100% );*/
/*}*/


.barra-inferior {
    height: 10px;
    background-color: rgba(var(--bs-primary-rgb)); /* azul fuerte */
}

/* TARJETA VERDE (principal) */
.card-total {
    background-color: #1aa39a; /* turquesa */
    color: white;
 /*   padding: 20px 25px;*/
}

.card-header {
    background-color: #d9d9d9;
    color: #5a5a5a;
    border-radius: inherit !important;
}

.titulo {
 /*   font-weight: 700;
    font-size: 1.6rem;*/
}

.subtexto {
  /*  font-size: 1rem;*/
    opacity: 0.9;
}

.numero {
    /*font-size: 2.2rem;
    font-weight: 700;*/
    white-space: nowrap;
}


/* TARJETAS GRISES */
.card-info {
    border: 3px solid #d0d0d0;
    /*padding: 18px 25px;*/
}

.titulo-sec {
    font-weight: 600;
   /* font-size: 1.2rem;*/
    color: #5a5a5a;
}

.subtexto-sec {
    /*color: #666;*/
    color: #5a5a5a;
}

.numero-sec {
    /*font-size: 2rem;
    font-weight: 700;*/
    color: #1aa39a;
    white-space: nowrap;
}


.nav-link:hover {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--bs-nav-pills-link-active-bg);
}
    .nav-link:hover img {
        filter: brightness(0) invert(1);
    }

    .nav-link.active:hover img {
        filter: none;
    }

inegi-dato-grafica {
    display: block;
    width: 100%;
    /*min-height: 300px;*/
}

.layout-psm{
    width: 100%;
    display: flex;
}

.content {
    flex:1;
    min-width: 0;
    padding-left:10px;
}
.guia-barra-inferior {
    height: 10px;
    /*background-color: rgba(var(--bs-primary-rgb));*/

    --amarillo: 50%;
    background: linear-gradient( to right, #FEC11E 0 var(--amarillo), #00AFAB var(--amarillo) 100% );
    margin-top: 0;
    margin-bottom: 1rem;
}

.guia-titulo-sec {
    color: #00AFAB;
}

.guia-titulo-sub {
    color: #0565B0;
}

.formula-math {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 12px 0;
    font-style: italic !important
}

.math-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.math-center {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.math-left {
    max-width: 250px;
    text-align: center;
}

.math-frac {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
    margin: 0;
}

.math-frac-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.math-equals,
.math-mult {
    margin-top: 1.6em;
}

.math-num,
.math-den {
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.math-line {
    width: 100%;
    border-top: 2px solid #000;
}

.no-break {
    white-space: nowrap;
}

/* Fila principal tipo ecuación */
/*.math-row {
    display: grid;
    grid-template-columns: auto auto auto auto;
    align-items: center;
  
}*/

/* Lado izquierdo (texto) */
/*.math-left {
    max-width: 250px;
    text-align: center;
}*/

/* Igual */
/*.math-equals {
    font-weight: bold;
    padding: 0 10px;
}*/


/* Fracción (núcleo matemático) */
/*.math-frac {
    display: inline-flex;
    flex-direction: column;
    align-items: center;*/
    /*min-width: 220px;*/
    /*max-width: 250px;
    margin: 0 10px;*/ /* quita separación lateral */
/*}*/

/* Numerador */
/*.math-num {
    border-bottom: 2px solid #000;
    padding: 2px 10px; 
    text-align: center;
}*/

/* Denominador */
/*.math-den {
    padding: 2px 10px;
    text-align: center;
}*/
/*.math-den {
    min-height: 3em;
}*/


/* Multiplicador */
/*.math-mult {
    white-space: nowrap;
    margin-left: 10px;
}*/



/* Responsive fino (sin romper ecuación) */
@media (max-width: 576px) {
    .math-row {
        text-align: center;
    }

    .math-left {
        text-align: center;
        max-width: 100%;
    }

    .math-mult {
        margin-top: 4px;
    }

   /* .dropdown-menu {
        right: auto !important;
        left: auto !important;
    }*/
}

/* Responsive fino (sin romper ecuación) */
@media (max-width: 360px) {
    .formula-math {
        font-size: 0.74375rem !important;
    }
}

/*.math-frac {
    min-width: clamp(180px, 30vw, 320px);
}
*/

.formula-compact .math-row {
    gap: 2px; /* menos separación */
}

.formula-compact .math-equals,
.formula-compact .math-mult {
    margin: 0; /* elimina espacios extra */
}
/*

.dropdown-menu {
    right: -67px !important;
    left: auto !important;
}
*/

.dropdown-item {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.dropdown-item >span {
    width:55px;
}

/*versalitas Mayúsculas, pero con un tamaño similar al de las minúsculas. En bootstrap es la clase small*/
sc {
    text-transform: uppercase;
    font-size: 0.8em;
}

inegi-dato-mapa {
    display: block;
    min-height: 350px;
}

/*sc_v1 {
    text-transform: uppercase;
    font-size: 0.8em;*/
    /*font-size: 0.875em;*/
    /*letter-spacing: 0.05em;*/
    /*font-variant: small-caps;*/
/*}*/
