#gallery {
	background-color: #5D4C39;
	padding:2em;
}
#gallerywrap > div {
  display: inline-block;
  width: 25%;
}
#gallerywrap .item {
  overflow: hidden;
  position: relative
}
#gallerywrap .item .reveal {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(154,124,91,0.85);
}
#gallerywrap .item .reveal-item {
  width: 100%;
  height: 100%;
  display: table
}
#gallerywrap .item .reveal-item > div {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
#gallerywrap .item .reveal-item > div a.lightbox {
  color: #fff;
  font-size: 1.2em;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #fff;
}
#gallerywrap .item .reveal-item > div p {
  margin-top: 1em;
  color: #fff;
  font-size: .85em;
  font-style: italic;
}
#gallerywrap .item a.like {
  display: inline-block;
  padding: .4em 1.1em;
  background-color: #333;
  text-align: center;
  border-radius:500em;
}
#gallerywrap .item a.like i.icon {
  font-size: 1.333em;
}
#gallerywrap .item a.like.active {
	background-color: #9A7C5B;
	color: #fff;
}
#gallerywrap .item a.like:hover {
  color: #fff;
}
#gallerywrap .item a.like small {
  display: block;
  font-size: .85em;
}
#gallerywrap .item a.like.active small {
  color: #fff;
}
@media screen and (min-width:650px) and (max-width:1024px) {
#gallerywrap > div {
  width: 50%;
}
}

@media only screen and (max-width: 769px) {
#gallerywrap > div {
  width: 100%;
}
}
