.gallery {
 width: 100% !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.gallery-container {
  align-items: center;
  display: flex;
  height: 400px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
}

.gallery-item {
  height: 150px;
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
 
  z-index: 0;
}

.gallery-item-1 {
  left: 15%;
  opacity: .4;
  transform: translateX(-50%);
}

.gallery-item-2,
.gallery-item-4 {
  height: 200px;
  opacity: 1;
  width: 200px;
  z-index: 1;
  height: 330px;
  width: 200px;
}

.gallery-item-2 {
  left: 30%;
  transform: translateX(-50%);
}

.gallery-item-3 {
  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);
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  height: 530px;
  width: 300px;
  z-index: 2;
}

.gallery-item-4 {
  left: 70%;
  transform: translateX(-50%);
}

.gallery-item-5 {
  left: 85%;
  opacity: .4;
  transform: translateX(-50%);
}

.gallery-controls {
  display: flex;
  justify-content: center;
 
  width: 100%;
}

.gallery-controls button {
 
  border: 0;
  cursor: pointer;
  font-size: 16px;
 
  padding: 0 12px;
  text-transform: capitalize;
}

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

.gallery-controls-previous {
  position: relative;
    height: 530px;
    width: 50%;
    color:white;
    background-color: #00000000;
    z-index: 1000;
}

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


.gallery-controls-next {
  position: relative;
    height: 530px;
    width: 50%;
    color:white;
    background-color: #00000000;
    z-index: 1000;
	margin-left: 70%;
}

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

.gallery-controls-next:hover, .gallery-controls-previous:hover {
      /* ff 3.6+ */
    background:-moz-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(157, 157, 157, 0.17) 100%);

    /* safari 5.1+,chrome 10+ */
    background:-webkit-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(157, 157, 157, 0.17) 100%);

    /* opera 11.10+ */
    background:-o-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(157, 157, 157, 0.17) 100%);

    /* ie 10+ */
    background:-ms-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(157, 157, 157, 0.17) 100%);

    /* global 92%+ browsers support */
    background:radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0) 0%, rgba(157, 157, 157, 0.17) 100%);
}

.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;
}