.gallery-items {
  padding: 0;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin-right: -15px;
  margin-left: -15px;
}
.gallery-item {
  margin: 15px 0;
  padding: 0 15px;
  display: inline-block;
  vertical-align: top;
  -webkit-transition: height 500ms ease;
  -o-transition: height 500ms ease;
  transition: height 500ms ease;
}
.gallery-item[style] {
	
}
.gall {
  margin: 0;
}
.gallery-expander {
  position: absolute;
  left: 0;
  right: 0;
  width: calc(100% - 30px);
  margin: 30px auto 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;
  cursor: pointer;
}
.gallery-contents:after {
  border-bottom-color: #303030;
  display: block;
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -30px;
  width: 0;
  height: 0;
  content: '';
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom-style: solid;
  border-bottom-width: 0px;
  -webkit-transition: border-bottom-width 500ms ease;
  -o-transition: border-bottom-width 500ms ease;
  transition: border-bottom-width 500ms ease;
  z-index: 500;
}
.gallery-item.active {
  margin-bottom: 50px;
}
.gallery-item.active .gallery-contents:after {
  border-bottom-width: 20px;
}
.gallery-expander {
  color: #fff;
  background-color: #303030;
  border-radius: 10px;
}
.gallery-expander-contents {
  margin: 0 auto;
  padding: 40px 30px;
  text-align: left;
}
.gallery-expander-contents:after {
  clear: both;
  display: table;
  content: '';
}
.gallery-expander-contents > div.col {
  float: left;
  width: 480px;
}
.gallery-expander-contents > div.col + div.col {
  margin-left: 40px;
}
.gallery-expander-contents div.close, .gallery-expander-contents div.close:hover {
  position: absolute;
  top: 10px;
  right: 20px;
  border-radius: 100%;
  color: #fff !important;
  font-size: 20px;
  font-weight: 600;
  float: none;
  text-shadow: none;
  opacity: 1 !important;
}
/*****************************************************************************************/
.gallery-items .gallery-contents {
  margin: 0;
  position: relative;
  text-align: center;
  color: #fff;
}
.gallery-items .gallery-contents figure {
  overflow: hidden;
  margin: 0;
}
.gallery-items .gallery-contents img {
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  transform: scale(1)
}
.gallery-items li:hover .gallery-contents img, .gallery-item.active .gallery-contents img {
  transform: scale(1.5)
}
.gallery-items li p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  opacity: 1;
  padding: 0 15px;
	margin: 0;
	line-height: normal;
}
.gallery-items .gallery-item:hover p, .gallery-item.active .gallery-contents p {
  font-size: 0;
  opacity: 0;
}
.gallery-items .gallery-contents:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
  height: 50%;
}
.gallery-items .gallery-item:hover .gallery-contents:before, .gallery-item.active .gallery-contents:before {
  height: 100%;
}
.gallery-items .gallery-contents .gallery-item-title {
  font-size: 21px;
  font-weight: 500;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  height: 100%;
}
@media (min-width: 1024px) {
.gallery-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
}