.gallery .images .image {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  height: 45vh;
  overflow: hidden;
  display: none;
  border-radius: 10px;
  
}

.gallery .images .image.active {
  display: block;
  
}

.gallery .images .image .content {
  position: absolute;
  width: 100%;
  height: 100%;
  background: center no-repeat;
  background-size: cover;
  
  
  
}

.gallery .thumbs {
  margin-top: 10px;
  display: inline-block;
  width: 100%;
  text-align: center;
  
  
 
  
}

@media (max-width: 768px) {
  .gallery .thumbs {
    height: 80px;
    overflow-x: auto;
    overflow-y: hidden;
	
  }
}

.gallery .thumbs .thumb {
  box-sizing: border-box;
  background: center no-repeat;
  background-size: cover;
  display: inline-block;
  position: relative;
  margin: 4px;
  
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 10px;
}



.gallery .thumbs .thumb:before {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  position: absolute;
  left: 15px;
  top: -8px;
  
  
  
}

@media (max-width: 768px) {
  .gallery .thumbs .thumb {
    width: 40px;
    height: 40px;
	
  }

  .gallery .thumbs .thumb:before {
    left: 15px;
	
  }
}

.gallery .thumbs .thumb.active {
  border-color: silver;
  
}

.gallery .thumbs .thumb.active:before {
  border-bottom-color: silver;
}
