
/** 
*,
*:before,
*:after {
  box-sizing: inherit;
}

**/

img {
  max-width: 100%;
  height: auto;
}



.wrap {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}



.gallery-wrap,
#gallery {
  overflow: hidden;
  box-sizing: inherit;
}

#filters {
  margin: 10px;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

#filters a {
  float: left;
}

#filters a span {
  display: block;

  text-decoration: none;

  cursor: pointer;

  transition: all ease-in-out 0.25s;
  
  font-family: 'Conv_Gilroy-Medium';
	font-weight: 300;
	font-size: 16px;
	padding: 14px 25px 0px 25px;
	transition: padding 0s;
	transition: opacity 0.2s ease;
}

#filters a:hover span {
  color: #000;
}

#filters a span.active {
  background: #FFCC68;
  font-family: 'Conv_Gilroy-Bold';
	font-weight: 300;
	font-size: 16px;
	border: 1px solid #FFCC68;
	padding: 13px 25px 0px 25px;
	transition: padding 0s;
	transition: opacity 0.2s ease;
}

/** #filters a span:hover {
opacity: 0.6;
} **/

.gallery-item {
  float: left;
  /** width: 25%; **/
  padding: 10px 10px 60px 10px;
  position: relative;
  z-index: 10;
  /** display: none; **/
  box-sizing: inherit;
  
}

.inside {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.details,
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
}

.details {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease-in-out;
}
.details h2 {
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  margin: 0;
}
.details p {
  color: #fff;
  font-size: 1em;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}

.inside img {
  float: left;
  width: 100%;
}

.overlay {
  background: rgba(31, 186, 231, 0.8);
  z-index: 1;
  transition: all 0.7s ease-in-out;
}

/** .gallery-item:hover .details,
.gallery-item:hover .overlay {
  opacity: 1;
} **/

@media (max-width: 30em) {
  .wrap {
    padding-left: 1em;
    padding-right: 1em;
  }

  .gallery-item {
    float: none;
    /** width: 100%; **/
  }
}