.gallery {
  width: 100%;
  overflow:hidden;
  padding:15px 0;
  position:relative;
  z-index: 0;
}

.gallery-container {
    align-items: center;
    display: block;
    height: 325px;
    margin: 0px auto;
    max-width: 900px;
    position: relative;
	margin-top:20px;

}

.gallery-item a img {
  height: 150px;
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 150px;
  z-index: 0;
  background: #fff;
    padding: 10px;
	  border:3px inset rgba(47, 115, 201, 0.75)
  
}

.gallery-item-1 a img{
  left: -20%;
  opacity: .4;
  transform: translateX(-50%);
  top:23%;
}

.gallery-item-2 a img{
  left: -5%;
  transform: translateX(-50%);
   top:15%
}
.gallery-item-3 a img{
  left: 19%;
  transform: translateX(-50%);
  top:7%;
}
.gallery-item-4 a img{
  left: 30%;
  transform: translateX(-50%);
}

.gallery-item-5 a img{
  left: 81%;
  opacity: .4;
  transform: translateX(-50%);
    top:7%;
}

.gallery-item-6 a img {
  left: 105%;
  opacity: .4;
  transform: translateX(-50%);
     top:15%
}

.gallery-item-7 a img{
  left: 120%;
  opacity: .4;
  transform: translateX(-50%);
    top:23%;
}


.gallery-item-2 a img, .gallery-item-6 a img{
  height: 200px;
  opacity: 1;
  width: 200px;
  z-index: 2;
}


.gallery-item-3 a img, .gallery-item-5 a img{
  height: 250px;
  opacity: 1;
  width: 250px;
  z-index: 5;
}

.gallery-item-7 a img{
  height: 150px;
  opacity: .4;
  width: 150px;
  z-index: 1;
}



.gallery-item-4 a img{
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);
  height: 300px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  z-index: 9;

}


.gallery-controls {
    position: absolute;
    top:50%;
    width: 99%;
	z-index:9999;
	
}
.gallery-controls button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  margin: 0 20px;
  padding: 0 12px;
  text-transform: capitalize;
  color:#00000000;
}

.gallery-controls button:focus {
  outline: none;
}

.gallery-controls-previous {
  position: relative;
  float:left;
}

.gallery-controls-previous::before {
  border: solid #000;
  border-width: 0 2px 2px 0;
  content: '';
  display: inline-block;
  height: 20px;
  left: -10px;
  padding: 2px;
  position: absolute;
  top: 0;
  transform: rotate(135deg) translateY(-50%);
  transition: left 0.15s ease-in-out;
  width: 20px;
}

.gallery-controls-previous:hover::before {
  left: -18px;
}

.gallery-controls-next {
  position: relative;
  float:right;
}

.gallery-controls-next::before {
  border: solid #000;
  border-width: 0 2px 2px 0;
  content: '';
  display: inline-block;
  height: 20px;
  padding: 2px;
  position: absolute;
  right: -15px;
  top: 50%;
  transform: rotate(-45deg) translateY(-50%);
  transition: right 0.15s ease-in-out;
  width: 20px;
}

.gallery-controls-next:hover::before {
  right: -18px;
}

.gallery-nav {
  bottom: -15px;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  position: absolute;
  width: 100%;
}

.gallery-nav li {
  background: #ccc;
  border-radius: 50%;
  height: 10px;
  margin: 0 16px;
  width: 10px;
}

.gallery-nav li.gallery-item-selected {
  background: #555;
}
@media screen and (min-width: 320px) and (max-width: 767px){
	.gallery-container {
		margin-top:20px;
	}
}