#popup {
   visibility: hidden;
   opacity: 0;
   margin-top: -300px;
}
 
#popup:target {
   visibility:visible;
   opacity: 1;
   background-color: rgba(0,0,0,0.8);
   position: fixed;
   top:0;
   left:0;
   right:0;
   bottom:0;
   margin:0;
   z-index: 999;
   -webkit-transition:all 1s;
   -moz-transition:all 1s;
   transition:all 1s;
}
.popup-contenedor {
   position: relative;
   margin:7% auto;
   padding:30px 50px;
   background-color: #fafafa;
   color:#333;
   border-radius: 5px;
   width:50%;
}
a.popup-cerrar {
   position: absolute;
   top:3px;
   right:3px;
   background-color: #333;
   padding:7px 10px;
   font-size: 20px;
   text-decoration: none;
   line-height: 1;
   color:#fff;
}

/* servicios */
#popupSer {
   visibility: hidden;
   opacity: 0;
   margin-top: -300px;
}
 
#popupSer:target {
   visibility:visible;
   opacity: 1;
   background-color: rgba(0,0,0,0.8);
   position: fixed;
   top:0;
   left:0;
   right:0;
   bottom:0;
   margin:0;
   z-index: 999;
   -webkit-transition:all 1s;
   -moz-transition:all 1s;
   transition:all 1s;
}

/* Galerias */
#popupGal {
   visibility: hidden;
   opacity: 0;
   margin-top: -300px;
}
 
#popupGal:target {
   visibility:visible;
   opacity: 1;
   background-color: rgba(0,0,0,0.8);
   position: fixed;
   top:0;
   left:0;
   right:0;
   bottom:0;
   margin:0;
   z-index: 999;
   -webkit-transition:all 1s;
   -moz-transition:all 1s;
   transition:all 1s;
}
/* Contacto */
#popupCon {
   visibility: hidden;
   opacity: 0;
   margin-top: -300px;
}
 
#popupCon:target {
   visibility:visible;
   opacity: 1;
   background-color: rgba(0,0,0,0.8);
   position: fixed;
   top:0;
   left:0;
   right:0;
   bottom:0;
   margin:0;
   z-index: 999;
   -webkit-transition:all 1s;
   -moz-transition:all 1s;
   transition:all 1s;
}

/* Email */
#popupEma {
   visibility: hidden;
   opacity: 0;
   margin-top: -300px;
}
 
#popupEma:target {
   visibility:visible;
   opacity: 1;
   background-color: rgba(0,0,0,0.8);
   position: fixed;
   top:0;
   left:0;
   right:0;
   bottom:0;
   margin:0;
   z-index: 999;
   -webkit-transition:all 1s;
   -moz-transition:all 1s;
   transition:all 1s;
}
h1 {
  margin: auto;
  border: 1px solid #aaa;
 }
 body {
  display: flex;
  min-height: 100vh;
  margin: 0;
 }

.imagen{
    width: 128px;
    height: 128px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}
.ex2 img{
    width: 128px;
    height: 128px;
    margin: 15px 0;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.ex2 img:hover {
    height: 200px;
    width: 200px;
    margin-right: -50px;
    margin-left: -50px;
    margin-bottom: -50px;
}
.modal-dialog{
    overflow-y: initial !important
}
.modal-body{
    height: 250px;
    overflow-y: auto;
}
.informacion{
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  background: #fff;
  padding-bottom: 20px;
  opacity: 0.7;
}
p{
  color: black;
}
@media(max-height: 600px){
  .iconos{
    height: 10px;
  }
  .resolucion{
    height: 450px;
    overflow: auto;
  }
  .informacion{
    padding-bottom: 80px;
  }
  /*para ocultar el menu*/
  .facet_sidebar {
    display: none;
  }
  .distancia{
    padding-top: 50px
  }
}
@media(max-width: 600px){
  .distancia{
    padding-top: 50px
  }
}
.autoscroll{
  overflow: auto;
  max-height: 450px;
  padding-bottom: 80px;
}



/* CELLS */
.newtab-cell {
  /*display: -moz-box;*/
  display: inline-block;
  height: 210px;
  margin: 23px 10px 50px;
  width: 290px;
}
body {
    font: message-box;
    -moz-user-focus: normal;
}
body.compact .newtab-cell {
  width: 110px;
  height: 110px;
  margin: 12px;
}

/* SITES */
.newtab-site {
  position: relative;
  -moz-box-flex: 1;
  transition: 100ms ease-out;
  transition-property: top, left, opacity;
}

/* LINK + THUMBNAILS */
.newtab-link,
.newtab-thumbnail {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
/* TITLES */
.newtab-title {
  overflow: hidden;
  position: absolute;
  right: 0;
  text-align: center;
  bottom: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.newtab-title {
  left: 0;
  padding: 0 4px;
}