.gallery-items {
  font-size: 0;
}

.gallery-item {
  display: inline-block;
  vertical-align: top;
  -webkit-transition: height 500ms ease;
  -o-transition: height 500ms ease;
  transition: height 500ms ease;
}

.gallery-expander {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  max-height: 0;
  -webkit-transition: max-height 500ms ease;
  -o-transition: max-height 500ms ease;
  transition: max-height 500ms ease;
}

.gallery-contents {
  position: relative;
}

.gallery-contents:after {
  display: block;
  position: absolute;
  bottom: 0px;
  left: 50%;
  margin-left: -20px;
  width: 0;
  height: 0;
  content: '';
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 0px solid black;
  /*-webkit-transition: border-bottom-width 500ms ease;
  -o-transition: border-bottom-width 500ms ease;
  transition: border-bottom-width 500ms ease;*/
}

.gallery-item.active .gallery-contents:after {
  border-bottom-width: 25px;
}

.gallery-item.active {
  margin-bottom: 25px;
}

ul.gallery-items {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

@media screen and (max-width: 1199px) {
  ul.gallery-items {
    text-align: center;
  }
}

.gallery-item {
  margin: 0 12px;
  padding: 10px 0;
  text-align: left;
  font-size: 1rem;
}

.gallery-item .thumb {
  position: relative;
  width: 252px;
  height: 252px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e5e5e5;
  /*background: #000;*/
}

.gallery-item .thumb > img {
  position: absolute;
  margin-top: -126px;
  max-width: 252px;
  top: 50%;
  /* Fade Transition */
    -moz-transition: .25s ease-in-out;
    -webkit-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    -ms-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.gallery-item .thumb > img:hover {
  opacity: 0.8;
}

.gallery-item .thumb-title {
  /* font-family: 'Roboto', sans-serif; */
  margin-top: 10px;
  padding-bottom: 30px;
  /* font-size: 16px; */
  /* font-weight: 500; */
  text-align: center;
}

.gallery-contents:after {
  border-bottom-color: #f5f5f5;
}

.gallery-expander {
  background: #f5f5f5;
}

.gallery-expander-contents {
  padding: 20px 5px;
}

.gallery-expander-contents .close {
  position: absolute;
  width: 35px;
  height: 35px;
  top: 20px;
  right: 20px;
  text-align: center;
  background: rgba(0,0,0,0.25);
  z-index: 200;
}

/* .gallery-expander-contents .close i {
  margin: 7px 0 0 0;
} */

/* .gallery-expander-contents .name,
.gallery-expander-contents .creds {
  margin-top: 20px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #363636;
  text-transform: uppercase;
} */

/* .gallery-expander-contents .creds {
  font-size: 20px;
  text-transform: none;
} */

/* .gallery-expander-contents .job {
  font-family: 'Droid Serif', sans-serif;
  font-style: italic;
  font-size: 18px;
} */

/* .gallery-expander-contents .social-bar {
  position: absolute;
  margin-top: 20px;
  padding: 10px 15px;
  width: 95%;
  bottom: 0;
  background: #ccc;
} */

/* .gallery-expander-contents .social-bar a {
  outline: 0;
  text-decoration: none;
} */

/* .gallery-expander-contents .social-outer {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 45px;
  height: 45px;
  color: #3d172b;
  text-align: center;
  border: 2px solid #3d172b;
  border-radius: 50%;
} */

/* .gallery-expander-contents .social-inner {
  margin: 6px 0 0 0;
  font-size: 22px;
} */

/* .gallery-expander-contents .text {
  margin-top: 10px;
  padding: 10px 0 100px 0;
  font-size: 14px;
  line-height: 24px;
  color: #363636;
} */

/* .gallery-expander-contents .col-pic img {
  width: 100%;
  max-width: 450px;
} */

.gallery-expander-contents .col-content {
  min-height: 450px;
}

/* QUERIES FROM 1620px TO 1200px */
@media only screen and (min-width: 1200px) and (max-width: 1920px) {

}

/* QUERIES FROM 1200px TO 960px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {

  .gallery-expander-contents .col-content {
    min-height: 100px;
  }

  .gallery-expander-contents .social-bar {
    position: relative;
    margin-top: 15px;
  }

}

/* QUERIES FOR IPAD */
@media only screen and (min-width: 769px) and (max-width: 991px) {

  .gallery-expander-contents .col-content {
    min-height: 100px;
  }

  .gallery-expander-contents .social-bar {
    position: relative;
    margin-top: 15px;
  }

  .gallery-expander-contents .social-bar {
    width: 97%;
  }

}

/* QUERIES FOR 480PX*/
@media only screen and (min-width: 480px) and (max-width: 768px)  {

  .gallery-expander-contents .col-content {
    min-height: 100px;
  }

  .gallery-expander-contents .social-bar {
    position: relative;
    margin-top: 15px;
  }

  .gallery-expander-contents .social-bar {
    width: 97%;
  }

}

/* QUERIES FOR 300PX*/
@media only screen and (min-width: 240px) and (max-width: 479px)  {

  .gallery-expander-contents .col-content {
    min-height: 100px;
  }

  .gallery-expander-contents .social-bar {
    position: relative;
    margin-top: 15px;
  }

  .gallery-expander-contents .social-bar {
    width: 97%;
  }

}
