
.gridlightbox {
  background-color: #666;
  text-align: center!important;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}
.outrosemp {
  background-color: #999;
  color: white;
  font-weight: bold;
  padding: 10px;
  padding-left: 20px;
}
.gridlightbox p {
  color: white;

  padding-top: 5px;
  font-size: 1.6em;

}
.gridlightbox h2 {
  color: white;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 2em;
  border: solid 2px black;
  background-color: rgba(0, 0, 0, 0.5);

}
.thumb {
    max-height: 171px;
    border: solid 2px rgba(5, 5, 5, 0.8);
    margin-top: 20px
}

.lightbox {
    position: fixed;
    z-index: 99;
    height: 0;
    width: 0;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    margin-top: 2%;
    opacity: 0;
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;

    width: 100%;
    height: 100%;
    opacity: 1 !important;

}

.lightbox:target img {
    border: solid 10px rgba(77, 77, 77, 0.8);
    opacity: 1;
    webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

.light-btn {
    color: #fafafa;
    background-color: #333;
    border: solid 3px #777;
    padding: 5px 15px;
    border-radius: 0px;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    top: 45%;
    z-index: 99;
}

.light-btn:hover {
    background-color: #111;
}

.btn-prev {
    left: 7%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.btn-next {
    right: 7%;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.btn-close {
    position: absolute;
    right: 2%;
    top: 5px;
    color: #fafafa;
    background-color: #92001d;
    border: solid 2px #ef4036;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
}

.btn-close:hover {
    background-color: #740404;
}
.thumb {
  max-width: 100%;
  margin-left: 3px;
  margin-right: 3px;
}
.outrosemp {
  padding-top: 15px;
  padding-bottom: 1px!important;
}
.outrosemp .btn {
  width: 80%;
}
.outrosemp p {
margin-top: 10px;
}
.gridlightbox p {
  margin-bottom: 0px;
}
@media (max-width: 768px) {
  .thumb {
    margin-left: 0px;
    margin-right: 0px;
  }
}
@media (max-width: 500px) {
  .gridlightbox .col-4 {
    padding-left: 4px;
    padding-right: 4px;
  }
  .gridlightbox p {
    font-size: 1em;
  }
  .thumb {
    margin-bottom: 0px;
    margin-top: 7px;
  }
  .gridlightbox h2 {
    font-size: 1.2em;
  }
  .btn-close {
    right: 40%;
    top: 85%;
  }
}
