@import url('https://fonts.googleapis.com/css?family=Fira+Sans+Condensed&display=swap');

html {
  box-sizing: border-box;
  height: 100%;
  font-size: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  height: 100%;
  padding: 3rem;
  font: 100%/1.375em 'Roboto', sans-serif;
  background: #fff;
  overflow: hidden;
}
#fijo {
    position: fixed;
    top: 3%;
    left: 3%;
  width: 50px;
  height: 50px;
  padding: 12px;
  font-size: 30px;
  font-weight: bold;
  font-family: 'Fira Sans Condensed', sans-serif;
  background: #000;
  color: #fff;
  z-index: 8;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
}
#fijo:hover {
    background: #ff3200;
  color: #fff;
  cursor: pointer;
}
a {
    color: #283849;
  text-decoration: none;
}
a:hover {
    color: #ff3200;
  text-decoration: none;
}
h2 {
  color: #283849;
  font-size: 140%;
  font-weight: bold;
  text-align: center;
}

h3 {
  color: #283849;
  font-size: 110%;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-bottom: 10px;
}
b {
  font-weight: bold;
}
.button,
.backToMap {
  display: inline-block;
  padding: 0.1em 1em;
  text-align: center;
  text-decoration: none;
  background: #000;
  color: #fff;
  font-weight: bold;
}

.button:hover,
.backToMap:hover {
  background: #ff3200;
}

.map-list {
  position: relative;
  margin: 1.2em;
  background: #fff;
  height: 100vh;
}

.map-list li {
  position: relative;
  padding: 1.375em;
}

.map-list li.cluster {
  display: none;
}

.map-list li:nth-child(even) {
  background: #eee;
}

.map-list h2,
.map-list p {
  margin-bottom: 0;
  line-height: 1.375em;
}

.map-list .button {
  position: absolute;
  top: 50%;
  right: 1.375em;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media (min-width:600px) {
  .map1 {
    height: 0;
    padding-top: 50%;
    background-image: url(../mapa.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .map-list li {
    position: absolute;
    padding: 0;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  .map-list li:nth-child(even) {
    background: #f00;
  }
  .map-list li:after {
    position: absolute;
    bottom: 0;
    left: -1.5em;
    content: '';
    display: block;
    width: 1.5em;
    height: 1.5em;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
    background: #fff;
    border: 0.5em solid #ff3200;
    border-radius: 50%;
    border-bottom-right-radius: 0;
    cursor: pointer;
  }
  .map-list li:hover {
    z-index: 1;
  }
  .map-list li:hover:after {
    border: 0.5em solid #000;
    /* icono mapa ubicacio */
  }
  
  .map-list li.nacional {
    bottom: 4%;
    left: 12%;
  }

  .map-list li.rancherito {
    bottom: 10%;
    left: 34%;
  }
  .map-list li.sura {
    bottom: 4%;
    left: 84%;
  }
  .map-list li.escuela {
    bottom: 30%;
    left: 73%;
  }
    .map-list li.d1 {
    bottom: 10%;
    left: 70%;
  }
  .map-list li.terpel {
    bottom: 10%;
    left: 66%;
  }
  .map-list li.acueducto {
    bottom: 45%;
    left: 83%;
  }
  .map-list li.kurozi {
    bottom: 92%;
    left: 91%;
  }
 
  
  
  
  
  
  .map-list .details {
    padding: 1.2rem;
    position: absolute;
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0 100%;
            transform-origin: 0 100%;
    font-size: 75%;
    background: #eee;
    box-shadow: 6px 6px 12px #666;
    border-radius: 0.8em;
    opacity: 0;
    bottom: 0;
    left: 100%;
    white-space: nowrap;
    transition: opacity 500ms, -webkit-transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3);
    transition: opacity 500ms, transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3);
    transition: opacity 500ms, transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3), -webkit-transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3);
    /* fondo pop up */
  }
  .map-list li:hover .details {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  
  
  
    .map-list .details1 {
    padding: 2rem;
    position: absolute;
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform-origin: 0 100%;
            transform-origin: 0 100%;
    font-size: 75%;
    background: #eee;
    box-shadow: 6px 6px 12px #f00;
    border-radius: 0.8em;
    opacity: 0;
    bottom: 0;
    left: 100%;
    white-space: nowrap;
    transition: opacity 500ms, -webkit-transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3);
    transition: opacity 500ms, transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3);
    transition: opacity 500ms, transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3), -webkit-transform 400ms cubic-bezier(0.6, -0.3, 0.3, 1.3);
    /* fondo pop up */
  }
  .map-list li:hover .details1 {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  
  
  
  .map-list p {
    margin-bottom: 0.25rem;
  }
  .map-list .button {
    position: static;
    -webkit-transform: none;
            transform: none;
    width: 100%;
  }
}

@media (max-width:480px) {
  body {
      padding: 2rem 1rem;
  }
  .map-list {
      margin: 1.375em 0;
  }
  .map-list p {
      margin-bottom: 0.5rem;
  }
  .map-list .button {
      position: static;
      -webkit-transform: none;
              transform: none;
      width: 100%;
  }
}






::-moz-selection { color: #fff;  background: #00acc1; }
::selection      { color: #fff;  background: #00acc1; } 







