.gallery-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  background-color: white;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.8s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
  -moz-transition: opacity 0.8s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
  -o-transition: opacity 0.8s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
  transition: opacity 0.8s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
}
.gallery-container .carousel-inner,
.gallery-container .carousel-close-container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 950px;
  height: 534px;
  width: 66%;
}
.gallery-container .carousel-inner .item,
.gallery-container .carousel-close-container .item {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.gallery-container .carousel-inner .item .image-container,
.gallery-container .carousel-close-container .item .image-container {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery-container .carousel-inner .item .image-container .embed-container,
.gallery-container .carousel-close-container .item .image-container .embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
.gallery-container .carousel-inner .item .image-container .embed-container iframe,
.gallery-container .carousel-close-container .item .image-container .embed-container iframe,
.gallery-container .carousel-inner .item .image-container .embed-container object,
.gallery-container .carousel-close-container .item .image-container .embed-container object,
.gallery-container .carousel-inner .item .image-container .embed-container embed,
.gallery-container .carousel-close-container .item .image-container .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.gallery-container .carousel-inner .close,
.gallery-container .carousel-close-container .close {
  position: absolute;
  right: -150px;
  top: 0;
  cursor: pointer;
}
.gallery-container .carousel-inner .gallery-count,
.gallery-container .carousel-close-container .gallery-count {
  position: absolute;
  bottom: -45px;
  width: 100%;
  text-align: center;
  margin-top: 5px;
}
.gallery-container .carousel-control {
  background-image: none !important;
  opacity: 1;
  width: 27px;
  height: 15px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.gallery-container .carousel-control.left {
  left: 30px;
}
.gallery-container .carousel-control.right {
  right: 30px;
}
.gallery-container.open {
  opacity: 1;
  pointer-events: auto;
}
