﻿/*@font-face {
    font-family: 'Basque Light';
    src: url('fonts/BASQUEL.eot');
    src: url('fonts/BASQUEL.eot?#iefix') format('embedded-opentype'), url('fonts/BASQUEL.woff2') format('woff2'), url('fonts/BASQUEL.woff') format('woff'), url('fonts/BASQUEL.ttf') format('truetype'), url('fonts/BASQUEL.svg#Basque Light') format('svg');
}*/
/*body {
    font-family: 'Basque Light';
    font-weight: Regular;
}*/
@font-face {
    font-family: Moderna;
    src: url('Fonts/Moderna.ttf');
    /*Funciona*/
}

.basquemoder {
    font-family: Moderna;
}
body {
    
}
.xsmall {
    font-size: 0.8em;
}
.btn-RN {
    border: 1px solid #000;
    border-radius: 8px;
    transition: box-shadow 0.1s, background 0.1s;
    background: #fff;
}

    .btn-RN:hover,
    .btn-RN:active,
    .btn-RN:focus {
        box-shadow: 0 0 0 2px #33333344;
        background: #e9ecef;
    }
.text-justify {
    text-align: justify;
    text-align-last: left; /* evita alineado extraño en la última línea */
}
/* wwwroot/css/rutasnavarra.css o site.css */
.swal2-actions .btn {
    margin-left: .4rem;
    margin-right: .4rem;
}
/* Evitar uppercase en botones swal con nuestra clase */
.btn-no-uppercase.swal2-styled,
.swal2-actions .btn-no-uppercase {
    text-transform: none !important;
}
/* Centrar los toasts en pantalla (sobrescribe posición por defecto) */
.toast,
.toast-container,
.toastr,
.iziToast,
.toastr-wrapper {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    z-index: 10800 !important; /* ajusta si está detrás de otros elementos */
}

/* En pantallas pequeñas prefiero no cubrir todo: situar un poco más arriba */
@media (max-width: 576px) {
    .toast,
    .toast-container,
    .toastr,
    .iziToast,
    .toastr-wrapper {
        top: 20% !important;
        transform: translateX(-50%) !important;
    }
}
/*.dark-mode {
    background-color: black;
    color: white;
}

.light-mode {
    background-color: white;
    color: black;
}*/
.offcanvas.offcanvas-start {
    top: 56px;
}
.navbar {
    height: auto; /* Ajusta la altura automáticamente */
    padding: 0.5rem 1rem; /* Ajusta el padding según sea necesario */
    z-index: 1050; /* Asegura que el navbar esté por encima de otros elementos */
    position: relative; /* Asegura que el z-index funcione correctamente */
}

.navbar-brand, .navbar-nav .nav-link {
    padding: 0.5rem 1rem; /* Ajusta el padding según sea necesario */
}

li sup {
    vertical-align: super;
    font-size: 0.75em;
}
.botonesMenu {
    background-color: lightgray;
    color: black;
    border: 3px solid gray;
}
    .botonesMenu:hover {
        background-color:deepskyblue;
        color: white;
        border: 3px solid black;
    }
[data-bs-theme=dark] .botonesMenu {
    background-color:chartreuse !important;
}
    [data-bs-theme=dark] .botonesMenu:hover {
        background-color: darkorange !important;
        color: white;
        border: 3px solid black;
    }
[data-bs-theme=dark] .label-custom {
    color: white !important;
}
/*.text-dark {
    color:white !important;
}*/

.cards {
    margin: 0 auto;
    text-align: center;
    display: -webkit-flex;
    display: flex;
    border-radius: 10px;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 1.5%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    */ box-sizing: border-box;
    */ box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

    .cards:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.16), 0 4px 10px rgba(0,0,0,0.23);
    }
/*.texto_parrafo_ruta2 {
    text-align: justify;
    text-indent: 20px;*/ /* Sangría primera línea */
    /*padding-top: 10px;*/ /* Espacio antes del texto */
    /*padding-left: 1rem;
    margin-left: 0.5rem;*/ /*Equivalente a ms-3 Bootstrap */
    /*margin-right: 1rem;*/ /* Equivalente a me-3i Bootstrap */
    /*margin-top: 1.5rem;*/ /* Equivalente a mt-4 Bootstrap */
    /*word-break: break-word;
    overflow-wrap: break-word;
}*/

.texto_parrafo_ruta {
    text-align: justify;
    text-indent: 20px; /* Sangría primera línea */
    padding-top: 10px; /* Espacio antes del texto */

    
    word-break: break-word;
    overflow-wrap: break-word;
}
    .texto_parrafo_ruta p {
        margin-bottom: 12px; /* Espaciado entre párrafos */
    }
.titulo-ruta[data-bs-theme="dark"], [data-bs-theme="dark"] .titulo-ruta {
    color: #f8f9fa !important;
}
.titulo-ruta-verde {
    color: #198754; /* Bootstrap verde (success) para modo claro */
}
.contenedor_imagen_texto {
    position: relative;
    display: inline-block;
    text-align: center;
}
.texto_encima_imagen {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    transform: translate(-50%, -50%);
    color: black !important;
    font-weight: bold;
    font-size: 1.2em;
    text-shadow: 2px 0px 4px #fff, /* derecha */
    -2px 0px 4px #fff, /* izquierda */
    0px 2px 4px #fff, /* abajo */
    0px -2px 4px #fff; /* arriba */
    text-align: center;
    /*transform: rotate(-10deg);*/
    /*-moz-transform: rotate(-10deg);*/
    /*background-color: transparent;*/
    /*background-color: rgba(0, 0, 0, 0.5);*/
}

    .texto_encima_imagen a,
    .texto_encima_imagen a:visited,
    .texto_encima_imagen a:active,
    .texto_encima_imagen a:focus {
        text-decoration: none;
        font-weight: bold;
        color: inherit; /* permite heredar color del contenedor en lugar de forzar negro */
        cursor: pointer;
    }

.imagen_transparente_explora_ruta {
    filter: opacity(.5);
}

.texto_explora {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white
}

.rc-distance-badge {
    background-color: #41bcb7;
    color: #ffffff;
}


[data-bs-theme="dark"] .titulo-ruta-verde {
    color: #fff !important; /* Blanco para modo oscuro */
}
.panolera-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9; /* Cambia la proporción si lo necesitas */
    height: auto;
    max-height: 600px; /* Opcional: limita el alto máximo */
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}
.ficharutamargen {
    padding-left: 10px;
    padding-right: 10px;
    
}
/*.panorama-container {
    overflow: hidden;
    width: 100%;
    height: 250px;*/ /* Ajusta la altura según tu imagen */
    /*position: relative;
}

.panorama-img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    min-width: 200%;*/ /* Ajusta según el ancho de tu imagen */
    /*animation: panorama-pingpong 20s linear infinite alternate;
}

@keyframes panorama-pingpong {
    0% {
        left: 0;
    }

    100% {
        left: -100%;
    }*/
    /* Ajusta según el ancho de la imagen */
/*}*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.required-asterisk::after {
    content: " *";
    color: red;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
@media screen and (prefers-color-scheme: dark-mode) {
    body {
        background-color: black;
        color: yellow !important;
    }
    /*:root {
        --body-bg: #000000;
        --body-color: #FFFFFF;
    }*/
    .botonesMenu {
        background-color: orange !important;
        color: white;
        border: 3px solid black;
    }

    .label-custom {
        color: white !important;
    }
}
    /*    .dark-mode.label-custom .text-dark {
        color: white;
    }*/
    /*.offcanvas {
    position: fixed;
    top: 56px;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
}*/
    .bs-canvas-top {
        top: 56px;
        /*margin-left: -330px;*/
    }
    /*.offcanvas-collapsed {
    position: fixed;*/
    /*top: 56px;  Height of navbar */
    /*bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
}*/
    .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }

    /*@media (min-width: 768px) {
        .bd-placeholder-img-lg {
            font-size: 3.5rem;
        }

        .offcanvas-collapsed {
            position: fixed;
            top: 56px;*/ /* Height of navbar */
            /*bottom: 0;
            left: 100%;
            width: 100%;
            padding-right: 1rem;
            padding-left: 1rem;
            overflow-y: auto;
            visibility: hidden;
            background-color: #343a40;
            transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        }
    }*/
@media (min-width: 1000px) { /* 768*/
    .mobile-only {
        display: none;
    }
}

@media (max-width: 999px) {/* 767*/
    
    .desktop-only {
        display: none;
    }
}

@media (max-width: 800px) {
    .facebook-iframe-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
}

    .iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
         height:  100%;
    }

    .b-example-divider {
        width: 100%;
        height: 3rem;
        background-color: rgba(0, 0, 0, .1);
        border: solid rgba(0, 0, 0, .15);
        border-width: 1px 0;
        box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
    }

    .b-example-vr {
        flex-shrink: 0;
        width: 1.5rem;
        height: 100vh;
    }

    .bi {
        vertical-align: -.125em;
        fill: currentColor;
    }

    .nav-scroller {
        position: relative;
        z-index: 2;
        height: 2.75rem;
        overflow-y: hidden;
    }

        .nav-scroller .nav {
            display: flex;
            flex-wrap: nowrap;
            padding-bottom: 1rem;
            margin-top: -1px;
            overflow-x: auto;
            text-align: center;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }

    .btn-bd-primary {
        --bd-violet-bg: #712cf9;
        --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
        --bs-btn-font-weight: 600;
        --bs-btn-color: var(--bs-white);
        --bs-btn-bg: var(--bd-violet-bg);
        --bs-btn-border-color: var(--bd-violet-bg);
        --bs-btn-hover-color: var(--bs-white);
        --bs-btn-hover-bg: #6528e0;
        --bs-btn-hover-border-color: #6528e0;
        --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
        --bs-btn-active-color: var(--bs-btn-hover-color);
        --bs-btn-active-bg: #5a23c8;
        --bs-btn-active-border-color: #5a23c8;
    }

    .bd-mode-toggle {
        z-index: 1500;
    }

        .bd-mode-toggle .dropdown-menu .active .bi {
            display: block !important;
        }
.boton-favorito { position: relative; overflow: hidden; }
.boton-favorito .favorito-icon { display: block; width: 100%; height: 100%; object-fit: contain; position: relative; }
/* Si un script inserta otra <img> dentro del botón, oculta el segundo elemento */
.boton-favorito img + img { display: none; }
