.gallery {
  width: 100%;
  position: relative;
}

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

@media (max-width: 1200px){
  .gallery-container {
    /*height: 420px;*/
  }
}
@media (max-width: 992px){
  .gallery-container {
    /*height: 350px;*/
  }
}

@media (max-width: 480px){
  .gallery-container {
    height: 440px;
  }
}

.gallery-item {
  /*max-height: 170px;*/
  /*opacity: .4;*/
  /*width: 100%;*/
  /*height: 100%;*/
  position: absolute;
  transition: all 0.3s ease-in-out;
  max-width: 145px;
  z-index: 0;
  box-shadow: 0 0 10px rgba(195, 195, 195, 0.6);
  background: white;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

@media (max-width: 1200px){
  .gallery-item {
    /*max-width: 120px;*/
    /*max-height: 150px;*/
  }
}
@media (max-width: 992px){
  .gallery-item {
    /*max-width: 100px;*/
    /*max-height: 120px;*/
  }
}

@media (max-width: 480px){
  .gallery-item {
    /*max-width: 75px;*/
    /*max-height: 100px;*/
  }
}

.gallery-item.gallery-item-selected {
  /*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);*/
  /*max-height: 390px;*/
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  max-width: 350px;
  z-index: 2;
  /*width: 100%;*/
  /*height: 100%;*/
  box-shadow: 0 0 10px rgba(195, 195, 195, 0.6);
  background: white;
}

@media (max-width: 1200px){
  .gallery-item.gallery-item-selected  {
    /*max-width: 350px;*/
    /*max-height: 325px;*/
  }
}
@media (max-width: 768px){
  .gallery-item.gallery-item-selected  {
    max-width: 50%;
    /*max-height: 270px;*/
  }
}

@media (max-width: 480px){
  .gallery-item.gallery-item-selected  {
    /*max-width: 150px;*/
    /*max-height: 180px;*/
  }
}

.gallery-item.gallery-item-previous,
.gallery-item.gallery-item-next {
  /*max-height: 220px;*/
  opacity: 1;
  max-width: 190px;
  z-index: 1;
  /*width: 100%;*/
  /*height: 100%;*/
}


@media (max-width: 1200px){
  .gallery-item.gallery-item-previous,
  .gallery-item.gallery-item-next  {
    /*max-width: 150px;*/
    /*max-height: 190px;*/
  }
}
@media (max-width: 992px){
  .gallery-item.gallery-item-previous,
  .gallery-item.gallery-item-next  {
    /*max-width: 120px;*/
    /*max-height: 150px;*/
  }
}

@media (max-width: 480px){
  .gallery-item.gallery-item-previous,
  .gallery-item.gallery-item-next  {
    /*max-width: 100px;*/
    /*max-height: 130px;*/
  }
}

.gallery-item.gallery-item-previous {
  left: 20%;
  transform: translateX(-50%);
}

@media (max-width: 1200px){
  .gallery-item.gallery-item-previous {
    left: 25%;
  }
}
@media (max-width: 992px){
  .gallery-item.gallery-item-previous {
    /*left: 25%;*/
  }
}
@media (max-width: 768px){
  .gallery-item.gallery-item-previous {
    left: 30%;
  }
}

.gallery-item.gallery-item-next {
  left: 80%;
  transform: translateX(-50%);
}

@media (max-width: 1200px){
  .gallery-item.gallery-item-next {
    left: 75%;
  }
}
@media (max-width: 992px){
  .gallery-item.gallery-item-next {
    /*left: 75%;*/
  }
}
@media (max-width: 768px){
  .gallery-item.gallery-item-next {
    left: 70%;
  }
}
.gallery-item.gallery-item-first {
  left: 0;
  transform: translateX(-50%);
}

@media (max-width: 1200px){
  .gallery-item.gallery-item-first {
    left: 10%;
  }
}
@media (max-width: 992px){
  .gallery-item.gallery-item-first {
    left: 10%;
  }
}
@media (max-width: 768px){
  .gallery-item.gallery-item-first {
    left: 17%;
  }
}

.gallery-item.gallery-item-last {
  left: 100%;
  transform: translateX(-50%);
}

@media (max-width: 1200px){
  .gallery-item.gallery-item-last {
    left: 90%;
  }
}

@media (max-width: 768px){
  .gallery-item.gallery-item-last {
    left: 90%;
  }
}

@media (max-width: 768px){
  .gallery-item.gallery-item-last {
    left: 82%;
  }
}

.gallery-controls {
  display: flex;
  justify-content: center;
  margin-top: -10px;
  height: 100%;
  /*margin: 30px 0;*/
  /*position: absolute;*/
}

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

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

.gallery-controls-previous {
  position: relative;
  margin-right: 75px!important;
}

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

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

.gallery-controls-next {
  position: relative;
  margin-left: 75px!important;

}

.gallery-controls-next::before {
  border: solid #ef7d00;
  border-width: 0 3px 3px 0;
  content: '';
  /*display: inline-block;*/
  height: 4px;
  padding: 5px;
  position: absolute;
  right: -10px;
  top: 51%;
  margin-top: 10px;
  transform: rotate(-45deg) translateY(-50%);
  /* transition: right 0.15s ease-in-out; */
  width: 4px;
}

.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%;
  height: 25px;
  align-items: center;
}

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

.gallery-nav li.gallery-item-selected {
  background: #ef7d00;
  width: 16px;
  height: 16px;
}





.gallery-item.gallery-item-hidden1,
.gallery-item.gallery-item-hidden2,
.gallery-item.gallery-item-hidden3,
.gallery-item.gallery-item-hidden4,
.gallery-item.gallery-item-hidden5,
.gallery-item.gallery-item-hidden6{
  display:none;
}

.gallery-controls-css2 .gallery-controls-next::before{
  right:-98px;
}
.gallery-controls-css2 .gallery-controls-previous::before{
  left:-98px;
}
