﻿:root {
    --global_main_color: #4a90e2;
    --home_text_color: #ffffff;
    --home_third_background_color: #000000;
    --home_custom_image_size: px;
    --home_text_size_px: 70px;
    --home_text_size_2_px: 26px;
    --slogan_text_size_px: 21px;
    --home_text_size: 70;
    --home_text_size_2: 26;
    --slogan_text_size: 21;
    --layout_text_align: center;
    --layout_text_align_rtl: center;
    --layout_text_box_width: 100%;
    --layout_left_side_width: 50%;
    --layout_left_side_width_vh: 50vh;
    --homepage_layout_height: 75%;
    --homepage_layout_height_vh: 75vh;
    --homepage_layout_height_menu_space: 0px;
    --mainNavMobileHeight: 0px;
    --homepage_layout_height_opacity_space_top: 0px;
    --homepage_layout_height_opacity_space_bottom: 0px;
    --mobileMenuFontSize: 20px;
    --mobileMenuPagesSpace: 0px;
    --homepageShapeDividerList_Size: %;
    --homepage_goal_space: 0px;
    --homepage_second_goal_space: 0px;
    --layout_bottom_spacing: 0px;
}

/* Estilos generales */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;

    padding-top: 80px; /* Igual a la altura original del header */
    transition: padding-top 0.3s ease;
}

    body.scrolled {
        padding-top: 60px; /* Igual a la altura reducida del header */
    }

#divEncabezado div .LetrasLogo {
    width: 100%;
    height: 25px;
    position: relative;
    top: 15px;
}
/*Para alinear la banderas se consultaron estas opciones de internet */
/* URL: https://stackoverflow.com/questions/31000885/align-an-element-to-bottom-with-flexbox, Jun 2024 */
/* URL: https://developer.mozilla.org/es/docs/Web/CSS/justify-content, Jun 2024                        */
.BannerSuperior {
    background-color: white;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    /*display: flex;
    align-items: center;
    justify-content: center;*/
}

.BannerSuperior .logo {
    background-color: white;
    height: 50px;
    padding-bottom: 5px;
    padding-top: 5px;
}

/* Clase que se agregará al hacer scroll */
.BannerSuperior.scrolled {
    height: 60px; /* Altura reducida */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

    .BannerSuperior.scrolled .logoTV {
        /* width: auto;
        height: 45px;*/
        transform: scale(0.9); /* Escala al 70% del tamaño original */
    }

    .BannerSuperior.scrolled .logo {
        /* width: auto;
        height: 45px;*/
        transform: scale(0.82); /* Escala al 70% del tamaño original */
    }

.logoTV {
    width: 150px;
    height: auto;
    position: relative;
    top: 0;
    margin-left: 15px;
    transition: transform 0.8s ease;
}

    .logoTV.reducido {
        width: auto;
        height: 45px;
        
    }


.divBanderas {
    margin-right: 20px;
    margin-bottom: 18px;
    /*height: 100%;*/
    align-self: flex-end;
    display: flex;
}

.bandera img {
    width: 30px; /* Ajustar el tamaño de las banderas según se desee */
    height: auto;
}

.bandera button {
    padding: 0;
    background-color: #fff;
    border: none;
    cursor: pointer;
}

.BannerSuperior .bandera {
    background-color: none;
    border: none;
    cursor: pointer;
    margin: 0 10px;
}


/* Estilos selección idioma */

.selector-idioma {
    position: relative;
}

.boton-idioma {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 19;
}

.icono-idioma {
    display: inline-block;
    width: 20px;
    height: 20px;
    /* Usar una imagen o ícono para representar el idioma actual */
}

.texto-idioma {
    display: inline-block;
    margin-left: 5px;
}

.menu-idiomas {
    display: none;
    position: fixed;
    top: 80px;
    left: 80px;
    width: 200px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 51;
}


.divIdiomas {
    display: none;
    position: absolute;
    top: 80px;
    left: 80px;
    width: 200px;
    background-color: #fff;
    border-radius: 5px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/

    -webkit-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    -moz-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    z-index: 55;
}

.divIdiomas ul {
    list-style: none;
    padding: 10px;
}

.divIdiomas li {
    padding: 5px;
    cursor: pointer;
}

.divIdiomas li a {
    text-decoration: none;
    color: black;
}

.divIdiomas li a:visited, divIdiomas li a:active, divIdiomas li a:hover {
    text-decoration: none;
    color: black;
}


.divIdiomas li:hover {
    background-color: #f0f0f0;
    background-color: aliceblue;
}

/* Boton Idioma Completo */
/* border redondos */
.btnIdiomaCompleto {
    width: 110px;
    height: 25px;
    padding: 5px 10px;
    background-color: #0b3f62; /* Azul Oscuro del logo de Tere de Vela */
    border-radius: 50px;
    z-index: 20;
    display: flex;
    align-content: center;
    align-items: center;
    position: relative;
    top: 10px;
    margin-right: 15px;
    cursor: pointer;
    opacity: 1.0;
}

    .btnIdiomaCompleto:hover {
        opacity: 0.8;
    }

.IconoLogin {
    opacity: 1.0;
    width: 35px;
    height: auto;
    /*margin: 5px 15px;*/
    position: relative;
    top: -5px;
}

    .IconoLogin:hover {
        opacity: 0.8;
    }

.IconoInicio {
    opacity: 1.0;
    width: 35px;
    height: auto;
    margin: 5px 15px;
    position: relative;
    top: 5px;
}

    .IconoInicio:hover {
        opacity: 0.8;
    }

.icono3d {
    opacity: 1.0;
}

    .icono3d:hover {
        opacity: 0.8;
    }

.iconoContactanos {
    opacity: 1.0;
    width: 48px !important;
}

    .iconoContactanos:hover {
        opacity: 0.8;
    }

.iconoVer {
    opacity: 1.0;
    height: 25px;
    margin-right: 5px;
    margin-bottom: 5px;
}

    .iconoVer:hover {
        opacity: 0.8;
    }



.btnIdiomaCompleto span {
    color: white;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.btnIdiomaCompleto .mundito {
    width: 28px;
    height: 28px;
    position: relative;
    top: 0;
    
}

.btnContactoCompleto {
    width: 120px;
    height: 25px;
    padding: 5px 10px;
    background-color: #0b3f62; /* Azul Oscuro del logo de Tere de Vela */
    border-radius: 50px;
    z-index: 20;
    display: flex;
    align-content: center;
    align-items: center;
    position: relative;
    top: -5px;
    margin-right: 15px;
    cursor: pointer;
    opacity: 1.0;
}



.menu-documentos {
    display: none;
    position: absolute;
    top: 80px;
    left: 1000px;
    width: 300px;
    background-color: #fff;
    border-radius: 5px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/

    -webkit-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    -moz-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    z-index: 50;
}

.menu-documentos ul {
    list-style: none;
    padding: 10px;
}

.menu-documentos li {
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
}

.menu-documentos li a {
    text-decoration: none;
    color: black;
}

.menu-documentos li a:visited, menu-documentos li a:active, menu-documentos li a:hover {
    text-decoration: none;
    color: black;
}

.menu-documentos li:hover {
    background-color: aliceblue;
}

.menu-idiomas ul {
    list-style: none;
    padding: 10px;
}

.menu-idiomas li {
    padding: 5px;
    cursor: pointer;
}

.menu-idiomas li a {
    text-decoration: none;
    color: black;
}

.menu-idiomas li a:visited, menu-idiomas li a:active, menu-idiomas li a:hover {
    text-decoration: none;
    color: black;
}


.menu-idiomas li:hover {
    background-color: #f0f0f0;
}


/* Estilos carrusel */

.contenedor-carrusel {
    width: 80%;
    margin: 0 auto;
    position: relative;
}

.carrusel {
    display: flex;
    overflow-x: auto;
    transition: transform 0.5s ease;
    overflow: hidden; /* Para ocultar las imágenes que se desborden */
}

.foto {
    flex: 0 0 50%; /* Ajustar el ancho de las imágenes según se desee */
    margin: 0 10px;
    position: relative;
}

.fotoCarrusel {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen al tamaño del contenedor */
}

.foto img {
    width: 100%;
    height: auto;
}

/*.leyenda {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);*/ /* Semitransparente */
    /*color: white;
    padding: 10px;
    text-align: center;
}*/

.leyenda h2 {
    margin: 0;
    padding: 0;
}

.leyenda p {
    margin: 5px 0;
}

/* Estilos para los controles */
.controles {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.controles button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.controles button:hover {
    background-color: #555;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    width: 60%;
    margin: auto;
}

/* Estilos barra de búsqueda */

/*#barraBusqueda {
    position: relative;*/ /* Asegúrate de que el contenedor tenga position relative */
    /*height: 100vh;*/ /* Altura del contenedor para centrar el div */
/*}*/

.BarraBusqueda {
    z-index: 90;
    background-color: transparent;
    width: 100%;
    position: absolute; /* Cambiado a fixed */
    top: 400px; /* Centrado verticalmente */
    left: 50%; /* Centrado horizontalmente */
    transform: translate(-50%, -50%); /* Ajuste para centrar completamente */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /*z-index: 90;
    background-color: transparent;
    width: 100%;
    position: absolute;
    top: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;*/
}

.BarraBusqueda2:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.BarraBusquedaContenido {
    display: flex;
    flex-direction: column;
    height: 40px;
    justify-items: center;
    align-items: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    
}

.botones-buscar {
    display: flex;
    width: 100%;
    /*background-color: yellow;*/
    justify-content: start;
    justify-items: start;
    align-content: start;
}

.barra-buscar {
    display: flex;
    -webkit-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    -moz-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5px;
}

.fondoBusquedaAvanzada {
    display: flex;
    -webkit-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    -moz-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5px;
}

.BotonFiltro {
    height: 40px;
    width: 100px;
    font-family: inherit;
    font-size: inherit;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-content: center;
    justify-content: center;
}

.BotonFiltro:hover {
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.BotonFiltro span {
    opacity: 1.0 !important;
    color: white;
    align-content: center;
}

.BotonFiltro.activo, .BotonFiltro.activo:hover {
    background-color: white !important;
}

.BotonFiltro.activo span {
    color: #0b3f62 !important;
}

.BotonFiltroAncho {
    height: 40px;
    width: 150px;
    font-family: inherit;
    font-size: inherit;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-content: center;
    justify-content: center;
}

.BotonFiltroAncho:hover {
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.BotonFiltroAncho span {
    opacity: 1.0 !important;
    color: white;
    align-content: center;
}

.BotonFiltroAncho.activo, .BotonFiltroAncho.activo:hover {
    background-color: white !important;
}

.BotonFiltroAncho.activo span {
    color: #0b3f62 !important;
}

.InputBusqueda {
    border: 0;
    outline: none;
    width: 600px;
    height: 45px;
    padding: 5px 15px;
    font-size: 18px;
}

.BotonOpciones {
    height: 20px;
    max-height: 20px;
    width: 280px;
    font-family: inherit;
    font-size: inherit;
    background-color: white;
    color: black;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 10px;
    border-radius: 8px;
}


.BotonMasOpciones {
    /*height: 40px;
    width: 180px;
    font-family: inherit;
    font-size: inherit;
    background-color: white;
    color: black;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 10px;*/

    float: right !important;
    position: relative;
    top: 10px;
    height: 20px;
    /*padding-top: 5px;*/
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
    -webkit-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    -moz-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
}

.MostrarOpciones {
    display: block;
}

.BotonCerrarOpciones {
    /*height: 40px;
    width: 180px;
    font-family: inherit;
    font-size: inherit;
    background-color: white;
    color: black;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 10px;*/

    -webkit-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    -moz-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
}

.divMasOpciones {
    width: 65%;
    background-color: rgba(0, 0, 0, 0.5);
    height: 250px;
    margin-top: 25px;
    border-radius: 5px;
    float: right;
    z-index: 5;
    -webkit-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    -moz-box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
    box-shadow: 4px 4px 6px 0px rgba(140,127,140,0.6);
}

.BotonOpciones {
    padding: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: black;
    background-color: #ececec;
    margin: 3px;
    width: auto;
    height: 50px;
    word-wrap: break-word;
    border: none;
    cursor: pointer;
}

/* Utilizado dentro de la barra de búsqueda */
.btnBuscar {
    border: 0;
    width: 80px;
    padding-top: 8px;
    background-color: #0b3f62;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    text-align: center;
    cursor: pointer;
}

/* Utilizado dentro del div Mas Opciones*/
.btnSearch {
    width: 80px;
    padding: 5px;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    background-color: #0b3f62;
    text-align: center;
    position: relative;
    top: -40px;
    float: right;
    right: 15px;
    cursor: pointer;
}

/* Estilos doble slider */

body {
    --light-grey: #959595;
    --grey: #282828;
    --white: rgb(240, 240, 240);
    --green: rgb(95 186 167);
    --red: rgb(145, 31, 29);
    
}

.wrapper {
    max-width: clamp(200px, 50vw, 650px);
    margin: 0 auto 0;
    position: relative;
    top: -50px;
}

.range-slider {
    --_height: 5px;
    --_thumb-size: calc(var(--_height) * 4);
    position: relative;
    width: 100%;
    display: grid;
    margin-bottom: calc(var(--_thumb-size) * -1);
}

.range-slider .range-labels {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
}

.range-slider .range-labels .range-label {
    display: inline-flex;
    font-size: 16px;
    color: black;
    line-height: 1;
}

.range-slider .range-labels .range-label-start {
    align-self: flex-start;
}

.range-slider .range-labels .range-label-end {
    align-self: flex-end;
}

.range-slider .track-wrapper {
    position: relative;
    z-index: 1;
    height: var(--_height);
    margin-bottom: var(--_thumb-size);
    display: grid;
    align-items: center;
    margin: 0 calc(var(--_thumb-size) / 2);
}

.range-slider .track-wrapper .track {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: var(--light-grey);
}

.range-slider .track-wrapper .range-between {
    position: absolute;
    z-index: 2;
    left: 0%;
    right: 0%;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: var(--red);
}

.range-slider .track-wrapper .thumb {
    --_shadow-sizer: 2;
    --_shadow-size: calc(var(--_thumb-size) * var(--_shadow-sizer));
    --_shadow-color: var(--red);
    --_shadow-opacity: 0;
    position: absolute;
    z-index: 3;
    width: var(--_thumb-size);
    height: var(--_thumb-size);
    background-color: var(--red);
    border-radius: 50%;
    transition: box-shadow 0.3s ease-in-out;
}

.range-slider .track-wrapper .thumb::before {
    content: "";
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-color: var(--_shadow-color);
    width: var(--_shadow-size);
    height: var(--_shadow-size);
    border-radius: inherit;
    opacity: var(--_shadow-opacity);
}

.range-slider .track-wrapper .thumb.left {
    left: 0%;
    transform: translate(calc(var(--_thumb-size) / -2), 0px);
}

.range-slider .track-wrapper .thumb.right {
    right: 0%;
    transform: translate(calc(var(--_thumb-size) / 2), 0px);
}

.range-slider .track-wrapper .thumb.hover {
    --_shadow-opacity: 0.2;
}

.range-slider .track-wrapper .thumb.active {
    --_shadow-opacity: 0.4;
    --_shadow-sizer: 4;
}

.range-slider input[type=range] {
    position: absolute;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 2;
    height: var(--_height);
    width: 100%;
    opacity: 0;
    cursor: pointer;
    bottom: 0;
}

.range-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: var(--_thumb-size);
    height: var(--_thumb-size);
    border-radius: 0;
    border: 0 none;
    background-color: var(--green);
    -webkit-appearance: none;
}

.range-slider input[type=range]::-moz-range-thumb {
    pointer-events: all;
    width: var(--_thumb-size);
    height: var(--_thumb-size);
    border-radius: 0;
    border: 0 none;
    background-color: var(--green);
    -webkit-appearance: none;
}