
.easy-slideshow{
  --es-height: 220px;
  --es-gap: 12px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0 36px; /* room for arrows */
}

.easy-slideshow-viewport{
  overflow: hidden;
  width: 100%;
}

.easy-slideshow-track{
  display: flex;
  align-items: stretch;
  will-change: transform;
}

.easy-slideshow-slide{
  flex: 0 0 auto;
}

.easy-slideshow-click{
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  cursor: pointer;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  display: block;
}

.easy-slideshow-click img{
  display: block;
  width: 100%;
  height: var(--es-height);
  object-fit: cover; /* crops to uniform size */
}

.easy-slideshow-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.easy-slideshow-prev{ left: 0; }
.easy-slideshow-next{ right: 0; }

.easy-slideshow-nav:disabled{
  opacity: 0.45;
  cursor: default;
}

/* Lightbox */
.easy-slideshow-lightbox{
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.easy-slideshow-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}

.easy-slideshow-lightbox-inner{
  position: absolute;
  inset: 4%;
  display: grid;
  place-items: center;
}

.easy-slideshow-lightbox-inner img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  background: #000;
}

.easy-slideshow-lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display:grid;
  place-items:center;
}
