@import url("./header.css");
@import url("./footer.css");
@import url("./componentes.css");

body {
    font-family: 'Acherus Grotesque', 'Segoe UI', var(--bs-font-sans-serif);
    color: #444;
    background-color: white;
}

h1,h2,h3,h4,h5,h6 {
    color: #666;
}

.header2-bg {
    height: 340px;
    background: #691C32 url(../img/mazatlan-bg.jpg) center/cover no-repeat;
    color: white;
}

@media(min-width: 991px) {
    .header2-bg > div {
        position: relative;
        top: -25px;
    }
}

/* .descarga {
}

.nombre {
} */

@media(max-width: 991px) {
    .nombre {
        text-align: center;
        padding-left: 0px;
    }
}

.title {
    color: whitesmoke;
    font-weight: 500;
    font-family: 'Infinita Sans';
    margin-bottom: -10px;
}

.content-title {
    font-family: 'Acherus Grotesque';
}

.periodo {
    color: #bc955c;
    font-weight: 700;
    /*text-shadow: 0 0 10px black;*/
    /* padding-left: 62px; */
    font-family: 'Infinita Sans';
    font-weight: 500;
}

.avance-global {
    display: flex;
    text-align: center;
}

.avance-global-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.9em;
}
.avance-global-title > span {
    border-bottom: 5px double;
    padding-bottom: 0.25em;
}

.avance-global-label {
    font-size: 12px;
    font-weight: 700;
}

.avance-global-progress {
    width: 350px;
    height: 25px;
    border-radius: 12.5px;
    background: linear-gradient(to right, #ddd, white);
    margin: 0.5rem auto;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.avance-global-progress .bar {
    background-color: #bc955c;
    position: absolute;
    top: 0;
    height: 100%;
    width: 0;
    overflow: hidden;
    transition: all 1s;
}

.avance-global-progress .bar-text {
    width: 350px;
    line-height: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
}

.avance-global-progress .bar .bar-text {
    color: white;
}

/*
    EJES PRINCIPALES
*/

.ejes-container {
    position: relative;
    top: -80px;
    margin-bottom: -40px;
}

@media (max-width: 992px) {
    .ejes-container {
        top: 10px;
        margin-bottom: 30px;
    }
}

#ejes-carousel .eje-item {
    width: 100%;
    max-width: 60vh;
    margin: auto;
}

#ejes-carousel .control {
    opacity: 1;
    font-size: 22px;
}

#ejes-carousel .control .icon {
    position: relative;
    top: -45px;
    text-shadow: 0 0 10px black;
}

.ejes-carousel-indicator {
    position: static;
    margin-bottom: 0;
    align-items: center;
}

.ejes-carousel-indicator button {
    width: 12px !important;
    height: 12px !important;
    background: #0004 !important;
    border: none !important;
    border-radius: 50%;
    margin: 0 6px !important;
}

.ejes-carousel-indicator .active {
    background: #0005 !important;
}


.eje-item {
    text-align: center;
    min-height: 260px;
    /* box-shadow: 0 -2px 7px -4px black; */
    border: none;
    border-bottom: 6px solid var(--eje-color);
    page-break-inside: avoid;
    background-size: 100%;
    aspect-ratio: 10/13 !important;
}

.eje-item:hover {
    cursor: pointer;
}

/* .eje-item.active {

} */

.eje-legend-wrapper {
    top: 10%;
    height: 30%;
    width: 20%;
    color: white;
}

.eje-label {
    color: #fffa;
    font-size: 14pt;
}

.eje-number {
    color: white;
    font-size: 72px;
    font-weight: 300;
    line-height: 1em;
}

.eje-title-wrapper {
    bottom: 5%;
    left: 5px;
    right: 5px;
    height: 2.8em;
    font: 700 18px 'Acherus Grotesque', sans-serif;
}

.eje-title {
    color: #bc955c;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .eje-title-wrapper {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .eje-title-wrapper {
        font-size: 26px;
    }
}


.eje-text-color {
    color: var(--eje-color);
}

.content-home .row {
    --bs-gutter-x: 0;
}

.content-home .content-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
    CONTENIDO DE EJE INDIVIDUAL
*/

.section-eje {
    padding-bottom: 100px;
}

#eje-info, #metas {
    display: block;
}

.section-eje .eje-label {
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

.section-eje .eje-titulo {
    font-size: 24px;
    /* border-bottom: 1px solid var(--eje-color); */
    color: #333;
}

.eje-img {
    width: 100%;
    border-radius: 5px;
    max-height: 100vh;
    object-fit: contain;
}

/*
    OBJETIVOS
*/
.objetivos-label {
    position: relative;
}

.objetivos-label > span {
    background-color: white;
    color: #555;
    position: relative;
    font-size: 22px;
    font-weight: 700;
    padding: 0 10px;
    z-index: 1;
}
.objetivos-label::after {
    content: " ";
    position: absolute;
    bottom: 0.6em;
    height: 2px;
    left: 25%;
    right: 25%;
    border-bottom: 2px solid silver;
    z-index: 0;
}

@media (max-width: 765px) {
    .objetivos-label::after {
        left: 10%;
        right: 10%;
    }
}

.objetivo-title {
    background-color: var(--eje-color);
    color: white;
    margin-bottom: 10px;
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
}

.objetivo-title:hover {
    /* background-color: #74273d; */
    cursor: pointer;
}

.objetivo-title .objetivo-num {
    width: 45px;
}

.objetivo-title .objetivo-text {
    font-size: 85%;
    flex: 1;
    line-height: 1.3;
}

.objetivo-img {
    width: 100%;
    border-radius: 5px;
    max-height: 100vh;
    object-fit: contain;
}

.objetivo-titulo {
    font-size: 18px;
}

.collapse-arrow {
    width: 65px;
    opacity: .75;
}

/*
    LINEAS
*/

.linea-label {
    position: relative;
    font-size: 22px;
}

.linea-label::after {
    content: " ";
    position: absolute;
    left: 0;
    right: 20px;
    bottom: 0.6em;
    border-bottom: 2px solid silver;
    z-index: 0;
}

.linea-label span {
    position: relative;
    left: 55px;
    background-color: white;
    color: #666666;
    padding: 0 0.75rem;
    z-index: 1;
}

@media (max-width: 765px) {
    .linea-label span {
        left: 15px;
    }
}

.linea-item {
    border: none;
    margin-bottom: 4px;
}
.linea-title {
    background-color: var(--linea-color);
    color: white;
    border-radius: 5px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 5px;
}

.linea-title:hover {
    cursor: pointer;
}

.linea-title .linea-num {
    width: 55px;
}

.linea-title .linea-text {
    flex: 1;
    font-size: 85%;
}

.linea-titulo{
    font-size: 18px;
}

/*
    METAS
*/

.meta-item {
    page-break-inside: avoid;
    background-color: whitesmoke;
    margin: 5px 0;
    border-radius: 5px;
}

.meta-label {
    font-size: 80%;
    font-weight: 700;
    color: #a2a6b1;
}

.meta-descripcion {
    font-size: 90%;
}

.meta-dependencia {
    font-size: 90%;
    font-weight: 700;
}

.meta-unidad {
    font-size: 90%;
    font-weight: 600;
}

.meta-tipo-desc {
    background: var(--bs-primary);
    color: whitesmoke;
    font-size: 9px;
    font-weight: 600;
    padding: 0.5em 2em;
    border-radius: 2em;
}

.meta-section-avances {
    /* border-top: 1px dotted gray; */
    border-left: none;
    padding-top: 0.75em;
}

.meta-label-avance {
    font-weight: 700;
}

.meta-legend {
    font-size: 60%;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #aaa;
}

.meta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0.25rem 0;
}

.avance-mes {
    position: relative;
    top: 8px;
}

.ultimo_avance {
    font-size: 21px;
    color: var(--bs-primary);
}

.ultima_fecha {
    line-height: 1.2;
    color: #888;
    font-size: 60%;
    font-weight: 700;
}

.medidor-canvas {
    width: 64px;
    height: 46px;
    margin-bottom: 2px;
}

.avance-porcentaje {
    position: relative;
    top: 9px;
    left: 3px;
    font-size: 21px;
}

.avance-porcentaje.ap-100 {
    transform: scale(0.9) translateX(-4px);
}

.porcentaje-symbol {
    position: relative;
    top: -0.5em;
    font-size: 60%;
    font-weight: 700;
}

.avance-cantidad {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.06em;
    color: #777;
}

.avance-unidad {
    font-size: 8pt;
    font-weight: 700;
    color: gray;
    text-transform: uppercase;
}

.meta-direccion-item {
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: 2px;
}

.meta-info-icon {
    position: absolute;
    top: calc(50% - 12px);
    right: -30px;
    color: var(--bs-primary);
}

.meta-info-tooltip {
    display: none;
    position: absolute;
    right: calc(100% + 5px);
    width: 280px;
    max-width: 80vw;
    top: 100%;
    right: 0;
    background-color: var(--bs-primary);
    font: 9pt sans-serif;
    border: 1px solid var(--bs-primary);
    color: white;
    padding: 0.25em;
    border-radius: 3px;
    z-index: 1;
}

.meta-info-icon:hover .meta-info-tooltip {
    display: block;
}

/*
    AVANCES POR DIRECCION
*/
.section-direcciones {
    background-color: #f7f7f7   ;
}

.medidor-direccion {
    height: 100px;
    width: 160px;
}

.porcentaje-direccion {
    font-size: 40px;
    position: relative;
    top: 16px;
    left: 5px;
}

.meta-direccion {
    font-size: 11pt;
}

.meta-direccion .progress {
    --bs-progress-bg: white;
    --bs-progress-bar-bg: black;
}

.meta-direccion .percent-val {
    width: 5ch;
    text-align: start;
    color: #666;
}


/*
    MISCELANEOS
*/

.download-pdf {
    width: 210px;
    font-weight: 300;
    font-size: 70% !important;
}

.download-pdf[disabled] {
    filter: saturate(0);
    opacity: 0.9;
    pointer-events: auto;
    cursor: not-allowed;
}

.iframe-pdf {
    width: 100%;
    height: 80vh;
}

.text-justify {
    text-align: justify;
}

@media print {
    .btn {
        display: none;
    }
}

[v-cloak] {
    visibility: hidden;
}

.form-control:focus, .form-select:focus, .multiselect.is-active {
    box-shadow: none!important;
}

.header-direcciones {
    background-color: whitesmoke;
    margin-bottom: 30px!important;
}

.header-direcciones .viñeta {
    height: 90px;
    position: relative;
    top: -12px;
    z-index: 1;
}

.header-direcciones .direccion-title {
    position: relative;
}

.header-direcciones .direccion-title::after {
    content: " ";
    display: block;
    position: absolute;
    background-color: silver;
    left: -40%;
    width: 180%;
    height: 8px;
    z-index: 0;
    max-width: calc(100vw - 70px);
}

@media (max-width: 765px) {
    .header-direcciones .viñeta {
        height: 50px;
        top: -6px
    }

    .header-direcciones .direccion-title {
        font-size: smaller;
    }
    .header-direcciones .direccion-title::after {
        height: 4px;
        width: 125%;
        left: -12.5%;
        bottom: -2px;
        max-width: 100vw;
    }
}

.seleccione {
    color: #9c9c9c;
}