.gallery-overlay, .gallery-past-events {
  height: 100%;
  width: 100%;
  position: absolute;
}
.gallery-desc {
  display: none;
}
.gallery-hover-text {
  display: none;
}
#event-gallery .gallery-image-wrapper {
  position: relative;
}
.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
}
.gallery-overlay:hover .gallery-desc, .gallery-past-events .gallery-hover-text{
  display: block;
  width: 100%;
  height: 50%;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  color: #fff;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
}
.carousel-control.left{
  background-image: none;
}
.carousel-control.right {
  background-image: none;
}
.modal-body {
  padding: 0;
}
.modal-content{
  border-radius: 0;
}
img.img-next {
  position: absolute;
  top: 40%;
  right: 5%;
  max-width: 100px;
}
#modal-gallery .modal-header {
  min-height: 0;
  padding: 0;
  border-bottom: #fff;
  position: absolute;
  z-index: 999;
  width: 100%;
  top: 2%;
}
#modal-gallery .modal-desc {
  text-align: center;
  padding: 8px;
}
#modal-gallery a.carousel-control.right {
  position: absolute;
  top: 43%;
}
#modal-gallery a.carousel-control.left {
  position: absolute;
  top: 45%;
}
p.gallery-title {
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0px;
}
.gallery-image-wrapper .gallery-overlay .gallery-desc .gallery-title{
  font-weight: 400;
  font-size: 13pt;
}
.gallery-desc > p{
  font-size: 12pt;
  text-transform: uppercase;
}
#modal-gallery .carousel-inner img.img-responsive{
  width: 100%;
}
.gallery-image-wrapper:hover .gallery-overlay{
  background-color: rgba(0,0,0, 0.5);
}
span.close {
  background-color: rgba(0,0,0, 0.8);
  border: none;
  color: #fff !important;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 50%;
  font-weight: normal;
  margin-right: 5%;
}

span.close:hover, span.close:focus{
  color: #fff !important;
}

div.modal-desc span.image-count{
  display: none;
}

div#modal-carousel i.fa.fa-angle-left.fa-2x, i.fa.fa-angle-right.fa-2x {
  background-color: rgba(0,0,0, 0.8);
  border: none;
  color: #fff !important;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 50%;
  font-weight: 100;
}
