.gallery__slider {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  -webkit-transition: opacity 1s ease;
  padding-bottom: 10px;
  margin-bottom: 40px !important;
}
.gallery__slider.slick-initialized {
  visibility: visible;
  opacity: 1;
}
.gallery__slider .slick-dots li button::before {
  font-size: 12px;
}
.gallery__slider .slick-arrow {
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 15px;
  height: 70px;
  border-radius: 0;
}
.gallery__slider .slick-arrow::before {
  color: black;
  font-family: sans-serif;
  content: "";
  display: inline-block;
  border-bottom: 2px solid black;
  border-right: 2px solid black;
  height: 10px;
  width: 10px;
}
.gallery__slider .slick-arrow:hover, .gallery__slider .slick-arrow:focus {
  background-color: white;
}
.gallery__slider .slick-prev {
  left: 0;
}
.gallery__slider .slick-prev::before {
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}
.gallery__slider .slick-next {
  right: 0;
}
.gallery__slider .slick-next::before {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.gallery__slider .slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.gallery__slider-item {
  padding: 0 5px;
  max-height: 550px !important;
  height: inherit !important;
}
.gallery__slider-item > div {
  background-color: black;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}
.gallery__slider-item--img img {
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
.gallery__slider-item--video > div {
  width: 100%;
}
.gallery__slider-item--video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .gallery__slider {
    padding-bottom: 20px;
    margin-bottom: 60px;
  }
  .gallery__slider .slick-arrow {
    width: 50px;
    border-radius: 5px;
  }
  .gallery__slider .slick-arrow::before {
    height: 20px;
    width: 20px;
  }
  .gallery__slider .slick-prev {
    left: 10px;
  }
  .gallery__slider .slick-next {
    right: 10px;
  }
  .gallery__slider-item {
    padding: 0 10px;
  }
}
@media (max-width: 767.98px) {
  .gallery__slider-item--img img {
    width: 100%;
    height: auto;
  }
}
.wp-admin .gallery {
  height: 500px;
  background-color: #cacaca;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 20px;
  color: #000;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.wp-admin .gallery::before {
  content: "Switch to Edit Mode to load images";
  text-align: center;
  display: block;
}
.wp-admin .gallery .gallery__slider {
  display: none;
}