﻿
@import url('./Oswald.css');

* {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    user-select: none;
    background-color:black;
    box-sizing:border-box;
}

a {
    cursor:pointer;
}

#contenedorTitulo {
    font-family: 'Signika', sans-serif;
    color: #C0C0C0;
    font-size: 34px;
    line-height: 90%;
    margin-top: 20px;
    font-weight: 600;
    border:0px solid red;
}

#contenedorSubtitulo {
    font-family: 'Signika', sans-serif;
    color: #C0C0C0;
    font-size: 30px;
    line-height: 90%;
    margin-top: 20px;
}

.festividad {
    margin-top: 15px;
    font-family: 'Signika', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: mediumpurple;
}

#contedorTextoPortada {
    display: inline-block;
    border: 0px solid yellow;
    box-sizing: border-box;
    padding: 0px 60px;
    width: 100%;
    height: 100vh;
}

.cofradia {
    font-family: 'Signika', sans-serif;
    font-style: italic;
    color: #c0c0c0;
    font-size: 22px;
}

.estado {
    color: #c0c0c0;
    font-size: 14px;
}

.blink {
    font-family: 'Signika', sans-serif;
    font-style: italic;
    color: #c0c0c0;
    font-size: 22px;
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

#contenedor_btnCalendario {
    display: inline-block;
    text-align:center;
    width: 100%;
    height: auto;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.centrado {
    margin-top: -60px;
    border: 0px solid red;
    width: 100%;
    height: auto;
    display: inline-block;
    border:0px solid red;
}

#tituloImagenPortada {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #C0C0C0;
    opacity:0.6;
    text-align:right;
    border:0px solid red;
}

#texto_portada {
    width: 100%;
    position: absolute;
    bottom: 60px;
    color: #C0C0C0;
    border: 0px solid yellow;
    color: cornflowerblue;
    font-size: 14px;
}

.logo {
    width: auto;
    height: 80px;
    margin-top: 20px;
}
#menuPortada {
    width: 100%;
    border: 0px solid red;
    color: #C0C0C0;
    line-height: 300%;
}

#menuPortada > a {
    font-size: 18px;
}

.titulo {
    border: 0px solid red;
    width: auto;
    text-align: center;
    margin-top: 30px;
    font-size: 22px;
    font-weight: 600;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.escudoPortada {
    width: 100px;
    height: 100px;
    border: 2px solid #bb3bee;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    background-image: url('/img/logo_g12tv.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 80%;
}

.texto1 {
    border: 0px solid red;
    text-align: center;
    max-width: 690px;
    margin-top: 20px;
    line-height: 150%;
    padding: 0px 25px;
    box-sizing: border-box;
    margin-top: 25px;
    font-size: 11px;
}

    .texto1 > span {
        font-size: 14px;
        font-weight: 600;
    }

.texto2 {
    text-align: center;
    max-width: 690px;
    font-size: 11px;
    color: blueviolet;
    margin-top: 30px;
}

.texto3 {
    text-align: center;
    max-width: 690px;
    font-size: 18px;
    font-weight: 600;
    color: blue;
    cursor: pointer;
}

.texto4 {
    text-align: center;
    font-size: 10px;
}

.franja1 {
    max-width: 760px;
    margin-top: 30px;
}

    .franja1 > div {
        width: 100%;
        height: auto;
    }

        .franja1 > div > div {
            width: 100%;
            height: 1px;
            background-color: black;
        }

            .franja1 > div > div:nth-child(2) {
                height: 1px;
                background-color: black;
            }

.img1 {
    width: auto;
    height: 90px;
    margin-top: 30px;
    border-radius: 50%;
    padding: 0px;
    border: 2px solid #C0C0C0;
}

.suplica {
    margin-top: 40px;
    border: 0px solid red;
    text-align: center;
}

    .suplica > div {
        display: inline-block;
        width: auto;
        font-size: 11px;
        text-align: left;
        line-height: 130%;
    }

        .suplica > div > span {
            font-size: 11px;
            color: red;
            margin-right: 5px;
        }

#escudos1 {
    display: none;
    position: fixed;
    left: 10px;
    top: 60px;
    width: 70px;
    height: auto;
    max-height: calc(100% - 100px);
    border: 2px solid #C0C0C0;
    border-radius: 5px;
    background-color: transparent;
    z-index: 5;
    overflow-y: auto;
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch; /* Safari */
    overscroll-behavior: contain;
    overscroll-behavior-x: none;
}

    #escudos1 > div {
        position: relative;
        border-bottom: 1px solid #C0C0C0;
        border-top: 0px solid #C0C0C0;
        background-color: white;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

        #escudos1 > div > div {
            border-bottom: 0px solid #C0C0C0;
            max-width: 100%;
            box-sizing: border-box;
        }

            #escudos1 > div > div:nth-child(1) {
                width: 100%;
                height: 50px;
                background-size: auto 40px;
                background-position: center 4px;
                background-repeat: no-repeat;
                cursor: pointer;
            }

            #escudos1 > div > div:nth-child(2) {
                overflow-wrap: break-word;
                word-break: break-all;
                width: 100%;
                height: auto;
                text-align: center;
                font-size: 10px;
                padding: 2px 3px;
                box-sizing: border-box;
                line-height: 120%;
            }

#map {
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content {
    position: relative;
    border: 0px solid red;
    padding: 5px 0px;
    width: min(calc(100vw - 200px), 230px);
    box-sizing: border-box; /* Asegura que el padding no sume al ancho */
}

    .content::after {
        content: "";
        position: absolute;
        top: 100%; /* lo coloca justo debajo del div */
        left: 50%; /* lo centra horizontalmente */
        transform: translateX(-50%);
        width: 0;
        height: 0;
        /* Tamaño del triángulo (rabo) */
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
        border-top: 12px solid #fff; /* color del fondo del cartel */
    }


    .content .menu {
        display: inline-block;
        position: absolute;
        top: 0px;
        right: 0px;
        border:0px solid red;
        padding: 5px 0px;
        width: 100%;
        border: 0px solid red;
    }

        .content .menu > div {
            float: right;
            display: inline-block;
            padding: 10px;
            margin-top: -10px;
            margin-right: -10px;
            font-size: 14px;
            color:#666666;
            border:0px solid red;

        }

    .content .extension {
        width: 100%;
        margin: 0px;
        display: inline-block;
        margin-top: 10px;

    }

        .content .extension > div {
            margin-top: 0px;
            font-size: 12px;
        }

        .content .extension > div span {
            color:#808080;
        }

    .content .nombre {
        margin-top: 0px;
        font-size: 16px;
        font-weight: 600;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .content .fecha {
        margin: 10px 0px;
        font-size: 16px;
        font-weight: 400;
        text-transform: uppercase;
        color: cornflowerblue;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .content .templo {
        margin-top: 2px;
        font-size: 14px;
        color: grey;
        width: 100%;
        border: 0px solid red;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .content .salida {
        margin-top: 10px;
        font-size: 12px;
    }

    .content .entrada {
        margin-top: 1px;
        font-size: 12px;
    }

    .content .carreraoficial {
        margin-top: 1px;
        font-size: 12px;
        color: #cc3300;
    }

    .content .recorrido {
        margin-top: 5px;
        font-size: 12px;
    }

    .content .duracion {
        margin-top: 1px;
        font-size: 12px;
    }

    .content .resena {
        border: 0px solid red;
        width: 100%;
        text-align: right;
        color: blue;
    }

.contenedor_btn_informacion {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: white;
    padding: 0px;
    border-radius: 50%;
    box-shadow: 3px 2px 5px #888888;
}

#ambitoes {
    line-height: 250%;
    cursor: pointer
}

#btn_mundo {
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: blue;
    cursor: pointer
}

.cargando {
    border: 0px solid red;
    width: 100%;
    font-size: 18px;
    color: #C0C0C0;
}

#tabla_regiones {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
}

    #tabla_regiones td {
        text-align: center;
        vertical-align: middle;
        padding: 5px;
        width: 20%;
        color: #c7a346;
    }

        #tabla_regiones td > span {
            font-size: 32px;
            cursor: pointer;
            color:#c7a346;
        }

        #tabla_regiones td > img {
            width: 90%;
            height: auto;
            cursor: pointer;
        }

#logo {
    display: inline-block;
    width: 100%;
    height: auto;
}

.rojo {
    color: red;
}

.parpadea {
    color: red;
}

.verde {
    color: green;
}

.gris {
    color: #808080;
}

.diaBarraEscudo {
    margin: 0px 0px 0px 0px;
    padding: 5px 0px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    border-top: 1px solid #C0C0C0;
}

#contenedor_texto1 {
    margin: 35px;
    width: auto;
    text-align: center;
    display: none;
    border: 0px solid red;
    font-size: 18px;
    color:#a960ed;
}

#contenedor_pie_pagina {
    position: absolute;
    left: 0px;
    bottom: 0px;
    margin: 30px 0px;
    width: 100%;
    text-align: center;
    display: inline-block;
    border: 0px solid red;
    color:#C0C0C0;
}

#contenedor_iconos_lateral {
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top:-50px;
    opacity:0.6;
    z-index:0;
}


    #contenedor_iconos_lateral > .icon {
        color:#c7a346;
        font-size: 34px;
        margin:20px 0px;
        cursor:pointer;
    }

    #contenedor_iconos_lateral > .fa-whatsapp {
        color: #c7a346;
        font-size: 34px;
        cursor: pointer;
    }

.powered {
    font-size: 12px;
    text-decoration: none;
    color: #C0C0C0;
}

.icon-calendar {
    color: #808080;
    font-size: 34px;
    margin-top: 20px;
    cursor: pointer;
}

.diaSemana {
    color: white;
}

.etiqueta-paso {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: normal;
    color: black;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -180%);
    pointer-events: none;
}

.overlay-fijo {
    position: fixed; /* ✅ en lugar de absolute */
    top: -30px;
    left: -30px;
    z-index: 0;
}

.overlay-marcador {
    position: absolute;
    background: white;
    color: black;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    font-size: 12px;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    pointer-events: auto;
    cursor: default;
    transition: opacity 0.5s ease;
    opacity: 1; /* visible por defecto */
    /*solo para no en la calle*/
    width: auto;
    z-index: 1;
}

.overlay-contenedor {
    position: absolute;
    background: white;
    color: black;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    font-size: 12px;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    pointer-events: auto;
    cursor: default;
    transition: opacity 0.5s ease;
    opacity: 1; /* visible por defecto */
    /*solo para no en la calle*/
    width: auto;
    z-index: 1;
}

.levelPasos {
    position: relative;
    padding-right: 10px;
}

/* Cola triangular hacia abajo */
    .levelPasos::after {
        content: "";
        position: absolute;
        top: 100%; /* justo debajo del cartel */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 10px solid #fff; /* mismo color que el fondo */
    }

    .levelPasos > .close {
        font-size:9px;
        position: absolute;
        top: -2px;
        right: -2px;
    }

.close {
    font-size: 12px;
    position: absolute;
    top: 0px;
    right: -2px;
}

.contendorBarraDerecha {
    display: flex;
    position: fixed;
    right: 7px;
    top: 115px;
    z-index: 6;
    width: auto;
    height: calc(100% - 210px);
    border: 0px solid green;
}

#menu_pantalla2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    width: 50px;
}

    #menu_pantalla2 > div {
        display: flex;
        flex-direction: column;
        align-items: center; /* hijos centrados horizontalmente */
        border: 0px solid red;
    }

        #menu_pantalla2 > div:first-child {
            height: 40%;
        }

        #menu_pantalla2 > div:last-child {
            display: flex;
            flex-direction: column;
            justify-content: flex-end; /* <- Todos los hijos bajan al fondo */
            height: 60%;
            vertical-align: bottom;
        }

        #menu_pantalla2 > div > div {
            display: inline-block;
            margin-top: 15px;
            text-align: center;
        }

            #menu_pantalla2 > div > div > div {
                font-size: 20px;
                margin-top: 10px;
                cursor: pointer;
            }

.onda-expansiva {
    position: fixed;
    width: 80px;
    height: 80px;
    margin-left: -40px;
    margin-top: -40px;
    background-color: red;
    pointer-events: none;
    z-index: 6;
    opacity: 1;
    transform: scale(0.1875); /* inicial desde 15px */
    animation: expandirOnda 2.5s ease-out forwards;
    /* Donut: recorta un círculo en el centro usando clip-path SVG */
    clip-path: path("M 40 40 m -40,0 a 40,40 0 1,0 80,0 a 40,40 0 1,0 -80,0 M 40 40 m -7.5,0 a 7.5,7.5 0 1,0 15,0 a 7.5,7.5 0 1,0 -15,0 Z");
}

@keyframes expandirOnda {
    0% {
        transform: scale(0.1875); /* 15px de diámetro inicial */
        opacity: 1;
    }

    100% {
        transform: scale(1); /* 80px final */
        opacity: 0;
    }
}

#avisoProceso {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    max-width: 70%;
    padding: 12px 16px;
    background-color: white;
    border: 1px solid #666666;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-family: sans-serif;
    font-size: 14px;
    z-index: 9999;
}

#pwaPrompt > p {
    font-size: 16px;
}

#mapLeaflet {
    display: none;
    border: 0px;
    height: 100%;
    width: 100%;
    z-index: 9999;
}

#installPrompt {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 15px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: 9999;
    font-family: sans-serif;
}

/* Botón flotante */
#btnPortada2 {
    display: none;
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 10000;
    cursor: pointer;
}

/* Botón flotante */
#btnGPS {
    display: block;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 10000;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    animation: blinkEffect 1s infinite; /* Animación inicial */
}

    /* Cambios de color al pasar el cursor */
    #btnGPS:hover {
        background-color: #0056b3;
    }

/* Animación intermitente */
@keyframes blinkEffect {
    0%, 100% {
        opacity: 1; /* Totalmente visible */
    }

    50% {
        opacity: 0.4; /* Semitransparente */
    }
}

/* Clase que detiene la animación */
.noBlink {
    animation: none; /* Sin animación */
}

#contenedorGlobal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0px solid yellow;
    overflow: hidden;
}

#portada {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
    z-index: 3;
}

#mapa {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #e8eaed;
    z-index: 4;
}

.transbox {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    border: 0px solid red;
}

#transbox2 {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
}

#parteDinamica {
    display: inline-block;
    position: relative;
    border: 0px solid red;
    border-radius: 10px;
    background-color: rgba(255,0,255,0);
    box-sizing: border-box;
    padding: 5px 10px;
    width: 100%;
    margin-top: 25px;
    height: calc(100% - 410px);
    border: 0px solid #808080;
    text-align: center;
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge antiguos */
}

/* --------------------------------------------------------------------------------- */
/* Media query para ocultar el scroll en dispositivos moviles */
@media only screen and (max-width: 768px) and (hover: none) and (pointer: coarse) {
    .ocultar-scroll {
        scrollbar-width: none; /* Ocultar scroll en Firefox */
        -ms-overflow-style: none; /* Ocultar scroll en IE */
    }

        .ocultar-scroll::-webkit-scrollbar {
            display: none; /* Ocultar scroll en navegadores WebKit */
        }

    #escudos1, #parteDinamica > div {
        overflow: auto; /* Permite el desplazamiento */
        scrollbar-width: none; /* Oculta la barra en Firefox */
    }

        #escudos1::-webkit-scrollbar, #parteDinamica > div::-webkit-scrollbar {
            display: none; /* Oculta la barra en Chrome y Edge */
        }


}


@media screen and (max-height: 700px) {
    .transbox {
        /*
        display: inline-block;
        align-items: center;
        */
    }

    .centrado {
                
    }

}

    @media screen and (max-height: 960px) {
        body {
        }

        .titulo {
            margin-top: 20px;
        }

        .franja1 {
            margin-top: 15px;
        }

        .img1 {
            margin-top: 20px;
        }

        .texto2 {
            margin-top: 20px;
        }

        .texto3 {
            margin-top: 10px;
        }

        .suplica {
            margin-top: 20px;
        }

    }


