#gallerywrap {
  position: relative
}
#gallerywrap .item {
  box-shadow: 1px 1px 1px 1px rgba(0,0,0,.075);
  background-color: #53BD99;
  color:#fff;
}
#gallerywrap .item  h3{
  color:#fff;
  font-weight:400;
}
#gallerywrap .item > a {
  display: block;
  line-height: 0
}
#gallerywrap section {
  padding: 1.5em;
  padding-bottom: 4em;
  position: relative;
}
#gallerywrap section:before {
  content: ' ';
  height: 0;
  position: absolute;
  width: 0;
  border: 10px solid transparent;
}
#gallerywrap section:before {
  border-bottom-color: #53BD99;
  position: absolute;
  top: -20px;
  left: 48%;
  z-index: 2;
}

#gallerywrap section a.like {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-block;
  padding: .4em 1.1em;
  background-color: #465866;
  text-align: center;
}
#gallerywrap section a.like i.icon {
  font-size: 1.571em;
}
#gallerywrap section a.like.active {
  background-color: #53bd99;
  color: #fff;
}
#gallerywrap section a.like:hover {
  color: #fff;
}
#gallerywrap section a.like small {
  display: block;
  font-size: .85em;
}
#gallerywrap section a.like.active small {
  color: #fff;
}
.gallery-nav {
  margin-top: 2em;
  margin-bottom: 2em;
  text-align: center;
}

figure { 
  position: relative;}
  



figcaption {
  position: absolute;
  bottom: -300px;
  margin: 0;
  background: rgba(0, 0, 0, 0.4);
  font-size: 20px;
  font-weight: 500;
  line-height: 160%;
  text-transform: capitalize;
  padding:19px;
  width: 100%; 
 }
  
span {
    color: white;
}
    

spacer {
      padding: 0 5px;
      background: transparent;
	  }
      
      &::before { content: " "; }
    
	
/********** MODALS **********/
.modalTrigger {
	cursor: pointer;
	transition: 1s;
}

.modalTrigger:hover {
	opacity: 0.75;
	transition: 1s;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
	border: 2px solid white;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.image-overlay {
	cursor: pointer;	
}

.productImage {
	height: 340px;
	background-repeat: no-repeat;
	background-size: cover;	
}

.imageMarginLeftInBig {
	margin-left: 21px;
}

.imageMarginRightInBig {
	margin-right: 21px;
}

@media only screen and (max-width: 768px) {
	.imageMarginLeftInBig {
		margin: 0;
	}

	.imageMarginRightInBig {
		margin: 0;
	}
}