.wrapper {
  height: auto;
  margin-bottom: 50px;
  width: 100%;
  display: flex;
}

.wrapper a {
  height: 200px;
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.image {
  width: 100%;
  height: 100%;
  background-size: cover !important;
}

body {
  margin: 0;
  padding: 0;
}

/* GALLERY STYLES */

a {
  text-decoration: none;
}

div#easy-gallery {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: rgba(0, 0, 0, 0.6);
}

.help-text {
  position: absolute;
  left: 25px;
  top: 55px;
  font-size: 14pt;
  text-align: left;
  background: white;
  padding: 0px 15px;
  color: black;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  z-index: 100000;
}

.easy-gallery-open div#easy-gallery {
  visibility: visible;
  opacity: 1;
}

.easy-gallery-inner {
  width: 98%;
  height: 96%;
  margin: 1%;
  box-sizing: border-box;
}

.top-bar {
  height: 5%;
  color: white;
  text-align: right;
  font-size: 20pt;
  line-height: 33pt;
  position: relative;
  display: flex;
  background: rgba(0, 0, 0, 0.6);
}

.close-gallery {
  cursor: pointer;
}

.image-counter {
  position: relative;
  left: 10px;
}

.content {
  height: 75%;
  background: #dedede;
  display: flex;
  width: 100%;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
}

.preview {
  height: 20%;
  display: flex;
  background: #888888;
  background: rgba(0, 0, 0, 0.6);
}

.preview-image {
  width: 25%;
  height: calc(100% - 20px);
  margin: 10px 0px;
  box-sizing: border-box;
  background-size: contain !important;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.prev-image, .next-image {
  width: 5%;
  color: white;
  text-align: center;
  font-size: 70pt;
  cursor: pointer;
}

.prev-image i, .next-image i {
  line-height: 37rem;
}

.current-image {
  width: 90%;
  height: 100%;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transition: all 0.4s ease-in-out;
}

.right-side {
  width: 250px;
}

.left-side {
  width: 250px;
}

.right-side {
  text-align: right;
  position: relative;
  right: 10px;
  font-size: 25pt;
}

.top-icons {
  display: inline-flex;
  padding: 0px 15px;
  font-size: 17pt;
  position: relative;
  top: 15px;
  cursor: pointer;
  color: #868686;
  transition: all .3s ease-in-out;
}

.top-icons:hover {
  color: white;
}

.left-side {
  text-align: left;
}

.middle {
  width: calc(100% - 500px);
  text-align: center;
}

.right-side a {
  color: white;
}

.content:hover .prev-image, .content:focus .prev-image, .content:focus .next-image, .content:hover .next-image {
  visibility: visible;
  opacity: 1;
}

.slideshow-running .prev-image, .slideshow-running .next-image {
  visibility: hidden !important;
  opacity: 0 !important;
}

.content .prev-image, .content .next-image {
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.slideshow-running .slideshow i {
  color: #71f971;
}

div#fullscreen {
  position: absolute;
  top: 0;
  border: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: none;
  z-index: 11000;
  background-color: black !important;
}

.fullscreen div#fullscreen {
  display: block;
}

.close-fullscreen {
  position: absolute;
  right: 0;
  font-size: 30pt;
  color: white;
  padding: 15px 20px;
  background: black;
  cursor: pointer;
}

.bmenu {
  position: absolute;
  right: 5px;
  top: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: none;
}

.btile {
  width: 100%;
  height: 3px;
  background: white;
  margin-bottom: 8px;
  transition: all .3s ease-in-out;
  transform: rotate(0deg);
  left: 0;
  top: 0;
  opacity: 1;
  visibility: visible;
  position: relative;
}

.galerymenu-open .btile:nth-child(1) {
  transform: rotate(40deg);
  top: 10px;
}

.galerymenu-open .btile:nth-child(2) {
  left: -200px;
  opacity: 0;
  visibility: hidden;
}

.galerymenu-open .btile:nth-child(3) {
  transform: rotate(-40deg);
  top: -10px;
}

@media screen and (max-width: 1280px) {
  .prev-image, .next-image {
    position: absolute;
    height: 100%;
    width: 30%;
  }
  .next-image {
    right: 0;
  }
  .current-image {
    width: 100%;
  }
  .preview-image-5 {
    display: none;
  }
  .show-help.top-icons {
    display: none;
  }
}

@media screen and (max-width: 960px) {
  .preview-image-4 {
    display: none;
  }
  .preview-image {
    width: 33.333%;
  }
  .right-side {
    position: absolute;
    right: 0px;
    font-size: 25pt;
    top: 44px;
    z-index: 1000;
    background: black;
    height: 70px;
    width: 100%;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease-in-out;
  }
  .galerymenu-open .right-side {
    opacity: 1;
    visibility: visible;
  }
  .top-icons {
    font-size: 30pt;
  }
  .bmenu {
    display: block;
  }
  .left-side, .right-side {
    width: 25%;
  }
  .middle {
    width: 50%;
  }
}

@media screen and (max-width: 700px) {
  .preview-image-3 {
    display: none;
  }
  .preview-image {
    width: 50%;
  }
}
