/* Clases de layout */


html {
    scroll-behavior: smooth;
  }

  .contenedor {
      padding: 0;
  }


/* Clases de layout */

.apertura-metro {
    position: relative;
    top: 0;
    left: 0;
    background: url(/estaticos/2018/12/metro/img/metro-madrid.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    width: 100vw;
    height: 100vh;
    margin-bottom: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
            overflow: hidden;
}

.mapa {
    background: url(/estaticos/2018/12/metro/img/espana3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 850px;
    height: 944px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    -webkit-filter: drop-shadow(0 0 10px #cccccc);
            filter: drop-shadow(0 0 10px #cccccc);
}


.cultura {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 40px;
    border: 3px solid #001A8E;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    cursor: pointer;
}

.gastronomia {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 40px;
    border: 3px solid #0097C9;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    cursor: pointer;
}

.naturaleza {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 40px;
    border: 3px solid #4BC400;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    cursor: pointer;
    pointer-events: all;
}

#punto1 {
    position: relative;
    top: 46%;
    left: 24%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto1:hover .cultura-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto2 {
    position: relative;
    top: 38%;
    left: 23%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto2:hover .cultura-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto3 {
    position: relative;
    top: 45%;
    left: 48%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;

}

#punto3:hover .naturaleza-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto4 {
    position: relative;
    top: 23%;
    left: 48%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
    z-index: 50;
}

#punto4:hover .cultura-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto5 {
    position: relative;
    top: 33%;
    left: 53%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto5:hover .cultura-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto6 {
    position: relative;
    top: 27%;
    left: 23%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto6:hover .gastronomia-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto7 {
    position: relative;
    top: 41%;
    left: 40%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto7:hover .gastronomia-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto8 {
    position: relative;
    top: 33%;
    left: 56%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto8:hover .gastronomia-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto9 {
    position: relative;
    top: 23%;
    left: 56%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px
}

#punto9:hover .gastronomia-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto10 {
    position: relative;
    top: 6%;
    left: 40%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto10:hover .gastronomia-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 70;
}

#punto11 {
    position: relative;
    top: 6%;
    left: 44%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
    z-index: 60;
}

#punto11:hover .gastronomia-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto12 {
    position: relative;
    top: 9%;
    left: 22%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto12:hover .naturaleza-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto13 {
    position: relative;
    top: 2%;
    left: 36%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto13:hover .naturaleza-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 70;
}


#punto14 {
    position: relative;
    top: 4%;
    left: 53%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto14:hover .naturaleza-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}


#punto15 {
    position: relative;
    top: 8%;
    left: 56%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto15:hover .naturaleza-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto16 {
    position: relative;
    top: 25%;
    left: 43%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto16:hover .cultura-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto17 {
    position: relative;
    top: 11%;
    left: 49%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto17:hover .naturaleza-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto18 {
    position: relative;
    top: -7%;
    left: 54%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
    z-index: 11;
}

#punto18:hover .cultura-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto19 {
    position: relative;
    top: -14%;
    left: 47%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
}

#punto19:hover .cultura-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 20;
}

#punto20 {
    position: relative;
    top: -10%;
    left: 39%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    height: 20px;
    width: 20px;
  
}

#punto20:hover .naturaleza-texto {
    opacity: 1;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    z-index: 70;
}

.cultura-texto {
    position: relative;
    top: -25px;
    left: 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #001A8E;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    opacity: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -webkit-filter: drop-shadow(0 0 10px #cccccc);
            filter: drop-shadow(0 0 10px #cccccc);
    background-color: white;
    padding: 2px 5px;
    z-index: 15;
    pointer-events: none;
}

.cult-texto {
    position: relative;
    top: -22px;
    left: 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #001A8E;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    opacity: 1;
    height: 20px;
    width: 200px;
    -webkit-filter: drop-shadow(0 0 10px #cccccc);
            filter: drop-shadow(0 0 10px #cccccc);
}

.gastronomia-texto {
    position: relative;
    top: -25px;
    left: 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #0097C9;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    opacity: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -webkit-filter: drop-shadow(0 0 10px #cccccc);
            filter: drop-shadow(0 0 10px #cccccc);
    background-color: white;
    padding: 2px 5px;
    z-index: 15;
    pointer-events: none;
}

.gast-texto {
    position: relative;
    top: -22px;
    left: 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #0097C9;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    opacity: 1;
    height: 20px;
    width: 200px;
    -webkit-filter: drop-shadow(0 0 10px #cccccc);
            filter: drop-shadow(0 0 10px #cccccc);
}

.naturaleza-texto {
    position: relative;
    top: -25px;
    left: 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #4BC400;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    opacity: 0;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -webkit-filter: drop-shadow(0 0 10px #cccccc);
            filter: drop-shadow(0 0 10px #cccccc);
    background-color: white;
    padding: 2px 5px;
    z-index: 15;
    pointer-events: none;
}

.nat-texto {
    position: relative;
    top: -22px;
    left: 20px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #4BC400;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    opacity: 1;
    height: 20px;
    width: 200px;
    -webkit-filter: drop-shadow(0 0 10px #cccccc);
            filter: drop-shadow(0 0 10px #cccccc);
}

.leyenda {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 0 50px 50px;
    pointer-events: none;
}

.leyenda img {
    margin: 0 0 50px 0;
}

.mini-modal {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: auto;
    background-color: #4BC400;
    color: #ffffff;
    padding: 20px;
    margin: 50px;
    border-radius: 5px;
    opacity: 1;
    display: none;
}

.separador {
    border: 1px solid #ffffff;
}

#ciudad {
    font-size: 2rem;
    line-height: 1.4;
}

#distancia {
    font-size: 1rem;
}

#kilometros{
    font-size: 1.4rem;
}

#descripcion { font-size: 1rem;
 }

 #botonModal {
    position: relative;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    color: #ffffff;
    height: 40px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    bottom: -20px;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px;
    margin: 20px auto;
    display: block;
 }

 #botonModal:hover {
    background-color: rgba(0, 0, 0, .8);
    -webkit-transition: 500ms;
    transition: 500ms;
 }

 #botonModal a {
    color: #ffffff;
    width: 100%;
    height: 100%;
 }

.mapa-puntos-mobile {
    display: none;
}


/* Mobile classes */

.mapa-mobile{
    padding: 30px 30px 30px 30px;
    width: 100vw;
    height: auto;
}

.mobile-title{
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.mobile-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.mobile-item-modal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    display: none;
}

.mobile-item * {
    margin-right: 10px;
}

.mobile-ciudad{
    font-size: 1.1rem;
    font-weight: 700;
}

.mini-modal-mobile {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
    color: #ffffff;
    padding: 15px;
    text-align: left;
}

.modal-cultura{
    background-color: #001A8E;
}

.modal-naturaleza {
    background-color: #4BC400;
}

.modal-gastronomia {
    background-color: #0097C9;
}

.boton-mobile {
    position: relative;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    color: #ffffff;
    height: 40px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    bottom: -20px;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px;
    margin: 0 auto 20px auto;
    display: block;
}

.descripcion-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
        align-self: center;
}

/* Mobile classes */

@media ( max-width: 850px) {
    .mapa {
        transform: scale(.9);
    }
}

@media (max-width: 767px) {

    .apertura-metro {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
       background-attachment: initial;
    }

    .mapa {
      display: none;
    }

    .leyenda {
        display: none;
      }

      .mini-modal {
        display: none !important;
      }
  }

  /* Mobile classes */
@media (min-width: 767px) {

    .mapa-mobile{
      display: none;
    }

  }

  @media (min-width: 1919px) {
    .mapa {
        top: 90px;
        transform: scale(1.3);
    }
  }