#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;
}
.login{
  width: 30%;
  padding-top: 20px;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  background: #fff;
  padding-bottom: 20px;
  opacity: 0.7;
}
@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
  }
  .login{
    width: 100%;
    padding-top: 20px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    background: #fff;
    padding-bottom: 20px;
    opacity: 0.7;
  }
}
@media(max-width: 600px){
  .distancia{
    padding-top: 50px
  }
  .login{
    padding-top: 20px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    background: #fff;
    padding-bottom: 20px;
    opacity: 0.7;
  }
}
.autoscroll{
  overflow: auto;
  max-height: 450px;
  padding-bottom: 80px;
}
.correo{
  width: 30%;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  background: #fff;
  padding-bottom: 20px;
  opacity: 0.7;
}
.inputext{
  border-radius: 10px;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
}
.inputext2{
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.8);
}

/*descripcion de imagenes y estilo*/
.item {
      position: relative;
      width: 220px;
      overflow: hidden;
      border: 1px solid #ccc;
}
 
.item {
      height: 200px;
}
                                           
.item a {
      text-decoration: none;
      color: #000;
}
                   
.item-billboard, .item-detail {
      padding: 10px;
      height: 220px;
}
                   
.item-billboard {
      margin-top: 0;
      background: #fff;
}
 
.item-billboard h3 {
      font-size: 13px;
      font-weight: bold;
      color: #262626;
      font-family: 'Open Sans',arial,sans-serif;
      text-align:right;
      color:blue;
      margin-top:10px;
}
                   
.item-detail {
      height:220px;
      background: #ececec;
      font-family:verdana;
}