@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --var-color: drop-shadow(2px 2px 1px rgba(0, 0, 0, 0.5));
}

.customIcon svg {
    filter: var(--var-color);
    -webkit-filter: var(--var-color);
    -moz-filter: var(--var-color);
    -ms-filter: var(--var-color);
    -o-filter: var(--var-color);
}

.customIcon i {
    transform: translate(4.8px, -30px);
    text-align: center;
    width: 1.25em;
}

.map-popup.simple {
    margin: 0 !important;
}

.map-popup.simple h2 {
    margin: 0 !important;
}


.map-popup img {
    border-radius: 15px;
    background: #D9D9D9;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.map-popup h2 {
    margin: 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.map-popup p {
    margin: 20px 0;
    color: #4E4E4E;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* @media screen and (max-width: 768px) {
  .map-popup p{
    height: 150px;
    overflow-y: auto;
  }
} */

.map-popup .popup-button {
    display: flex;
    width: 181px;
    height: 40px;
    padding: 5px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;

    border-radius: 30px;
    border: 2px solid #158AFF;
    color: #158AFF;
}

.map-popup .popup-button:hover {
    background: #158AFF;
    color: #FFF;
}

.geo-text-decorator::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background: #0080F8;
    margin-top: -15px;
    margin-bottom: 25px;
}

.descripcion{
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
}

.descripcion::after{
    content: '';
    width: 150px;
    height: 1px;
    background: #0080F8;
    bottom: -10px;
    left: 0;
    position: absolute;
}

#descripcion_popup {
    font-size: 1.5rem;
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
}

#descripcion_popup::-webkit-scrollbar {
    width: 12px;
}

#descripcion_popup::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#descripcion_popup::-webkit-scrollbar-thumb {
    background-color: #0080F8;
    border-radius: 20px;
    border: 3px solid #f1f1f1;
}

.activo .bg_pin {
    fill: #5eb1ff !important;
}

#cont_map_gl {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modal-backdrop {
    position: absolute;
    z-index: 0 !important;
}

/* .modal-backdrop.show{
  z-index: 0 !important;
} */

#sidebar_gl_cont {
    width: calc(100% - 25px) !important;
    max-width: 500px;
    height: calc(100% - 25px);
    /* border-radius: 1rem; */
    /* box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); */
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;

    position: absolute;
    top: 0;
    left: -515px;
    z-index: 999;

    margin: 10px;
    padding: 0px 20px;

    background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;

    overflow-y: scroll !important;

    transition: left 1s;
}

#cerrar_sidebar {
    position: sticky;
    top: 20px;
    left: 480px;
    z-index: 2;
    cursor: pointer;
}

.marker_pin {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover !important;
    border-radius: 100%;

    /* position: relative; */
}

/* .marker_pin::after{
  content: '';
  background-color: transparent;
  border-top: 1px solid #000;
  position: absolute;
} */

/* Filtros */

.filter-group {
    font: 12px/20px Arial, Helvetica, sans-serif;
    font-weight: 600;
    position: absolute;
    /*top: 230px;*/
    top: 50px;
    right: -315px;
    /* right: -111px; */
    z-index: 1;
    /* top-left top-right bottom-right bottom-left  */
    border-radius: 4px 0 0 4px;
    width: auto;
    min-width: 150px;
    color: #000;

    background-color: #FFF;

    /* background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important; */

    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);

    transition: ease-in-out 0.5s;
}

.filter-group:hover {
    right: -10px;
    transition: ease-in-out 0.5s;
}

.filter-group input[type='checkbox']:first-child+label {
    border-radius: 3px 3px 0 0;
}

.filter-group label:last-child {
    /* top-left top-right bottom-right bottom-left  */
    border-radius: 0 0 0 3px;
    border: none;
}

.filter-group input[type='checkbox'] {
    display: none;
}

.filter-group input[type='checkbox']+label {
    display: block;
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    text-transform: capitalize;
}

.filter-group input[type='checkbox']+label:hover {
    background: rgba(200, 200, 200, 0.7) !important;
    background-color: rgba(200, 200, 200, 0.7) !important;
}

.filter-group input[type='checkbox']:checked+label {
    font-weight: 900;
}

.filter-group input[type='checkbox']+label .fa-check-circle {
    display: none;
}

.filter-group input[type='checkbox']+label .fa-circle {
    display: inline-block;
}

.filter-group input[type='checkbox']:checked+label .fa-check-circle {
    display: inline-block;
}

.filter-group input[type='checkbox']:checked+label .fa-circle {
    display: none;
}

/* Filtro Murales */

#abrir_filtro {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;
    /* background-color: #fff; */

    position: absolute;
    top: 50px;
    right: 10px;
    z-index: 99;
}

.abrir_filtro{
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 29px;
    height: 29px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;

    background-color: #fff;
}

#filter-mural, #filter-group{
    position: absolute;
    z-index: 999;
    top: 50px;
    right: -315px;
    /* right: 50px; */

    width: calc(100% - 25px) !important;
    max-width: 200px;
    /* height: calc(100% - 25px); */

    /* border-radius: 0.5rem !important;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); */

    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;

    background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;

    overflow: hidden;
    transition: right 0.3s;
}

#todas, #cant_ca, #cant_col, #cant_cc{
    font-size: 0.7rem !important;
}

/* gallery_inner */
.gallery_inner,
.gallery_inner .carousel-inner,
.gallery_inner .carousel-inner .carousel-item {
    height: 100%;
}

.gallery_inner img {
    object-fit: contain;
    object-position: center;
    height: auto !important;
    max-height: 500px;
    width: 100%;
}

/* .gallery_inner .carousel-item.active{
  display: flex !important;
} */

/* RECORRIDO */

#recorrido {
    display: none;
    flex-direction: column;
    gap: 15px;

    position: absolute;
    top: 50px;
    left: 10px;
    z-index: 2;
    
    width: 240px;
    /* border-radius: 0.5rem !important;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); */

    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;

    background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;

    transition: left 1s;
}

@media screen and (min-width: 768px) {
    #recorrido {
        width: 280px;
    }
}

#accordionRecorridos .accordion-item,
#accordionRecorridos .accordion-button{
    background-color: transparent !important;
}

#accordionRecorridos,
#accordionRecorridos .accordion-item,
#accordionRecorridos .accordion-button{
    width: 100%;
    border-radius: 0.5rem !important;
}

#velocidades,
#alturas,
#pitch {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    gap: 10px;
    background: #F5F5F5;
    max-height: 25px !important;
}

#velocidades button,
#alturas button,
#pitch button{
    max-height: 25px !important;
    max-width: 25px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#velocidades input,
#alturas input,
#pitch input {
    max-height: 25px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#velocidades input{
    width: 65px;
}

#controlesRecorrido{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#startAnimation,
#stopAnimation {
    border-radius: 0.5rem;
}


/* LEGENDS */

#bottom_map{
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 0.5rem 0.5rem;
}

#contLegend, #contContador{
    display: flex;
    align-items: center;
    gap: 15px;
    height: auto;
    padding: 10px;
}

@media screen and (max-width: 768px) {
    #contLegend, #contContador{
        flex-direction: column;
        align-items: flex-start;
    }
}

/* #contContador {
    border-radius: 0.5rem 0.5rem 0 0 !important;
} */

.legend-item{
    display: flex;
    align-items: center;
}

.legend-item span{
    display: inline-block;
    width: 15px;
    height: 15px;
    border-width: 2px;
    border-style: solid;
    /* opacity: 0.4; */
    margin-right: 0.5rem;
    background-blend-mode: lighten;
}


/* Filtros */

/* #filter-mural{
    position: absolute;
    bottom: 30px;
    left: 13px;
} */

/* Instrucciones */

#mapboxgl-ctrl-group{
    margin-top: 70px;
}

#instrucciones{
    position: absolute;
    z-index: 999;
    top: 10px;
    right: -315px;

    width: calc(100% - 25px) !important;
    max-width: 230px;
    height: calc(100% - 25px);

    /* border-radius: 0.5rem !important;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); */

    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;

    background: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;

    overflow: hidden;
    transition: right 0.3s;
}

@media screen and (min-width: 768px) {
    #instrucciones{
        max-width: 300px;
    }
}

#instrucciones .accordion-body{
    height: calc(100% - 25px);
    max-height: 300px;
}

#instrucciones .accordion-body b,
#instrucciones .list-group-item span,
#instrucciones .list-group-item b{
    font-size: 0.85rem;
}

#instRutas{
    display: none;
}

.mapboxgl-ctrl-top-right{
    /* margin-top: 120px; */
    top: 80px !important;
}

#abrir_inst{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;
    /* background-color: #fff; */

    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
}

/* GEOCODER */

#geocoder{
    transition: left 1s;
    left: 0px;
}

.mapboxgl-ctrl-top-left{
    width: 100%;
    max-width: 500px;
}

/* #abrir_buscador {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
    border-radius: 4px;

    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 99;
} */

.mapboxgl-ctrl-geocoder{
    max-width: 400px !important;
    width: 100% !important;
    height: 29px !important;
    background-color: #fff !important;
    
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .1) !important;
    border-radius: 4px !important;
}

/*@media screen and (min-width: 768px) {*/
/*    .mapboxgl-ctrl-geocoder {*/
/*        width: 310px !important;*/
/*    }*/
/*}*/

/* .mapboxgl-ctrl-geocoder--icon-search{
    display: none;
} */

.mapboxgl-ctrl-geocoder--input{
    height: 29px !important;
    padding: 10px 40px 10px 35px !important;
}

.mapboxgl-ctrl-geocoder--button,
.mapboxgl-ctrl-geocoder--icon-search{
    top: 4px !important;
}

#geocoder{
    transition: left 1s;
}

.autores-cont li{
    font-size: 12px !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.autores-cont li:first-child{
    padding-top: 10px;
}

.autores-cont li:nth-child(odd){
    color: #2E2E2E;
}

.autores-cont li:nth-child(even){
    color: #4E4E4E;
}


/*Mapas API VCM*/
#vcm-sidebar ul li p,
#vcm-sidebar ul li p a{
    font-size: 12px;
}

#vcm-sidebar ul li:not(.separator){
    min-height: 80px !important;
}

#vcm-sidebar ul li.separator{
    padding: 0 !important;
}

.valoracion-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.valoracion-circle span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.valoracion-circle i{
    position: absolute;
    bottom: -5px;
    right: -10px;

    color: #FFF !important;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
