.ng-lightbox {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
}

.ng-lightbox .ng-lightbox-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-height: 95%;
  overflow: auto;
  max-width: 640px;
  color: #000;
  text-align: center;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.ng-lightbox .ng-lightbox-inner .close-popup {
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  overflow: hidden;
  text-indent: -1000px;
  transition: opacity 0.2s;
  border: 0;
  background: none;
  box-shadow: 0 0;
}

.ng-lightbox .ng-lightbox-inner .close-popup:hover {
  opacity: 0.7;
}

.ng-lightbox .ng-lightbox-inner .close-popup:after,
.ng-lightbox .ng-lightbox-inner .close-popup:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #000;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ng-lightbox .ng-lightbox-inner.top-thumbnail .close-popup:after,
.ng-lightbox .ng-lightbox-inner.top-thumbnail .close-popup:before {
  background-color: #fff;
}

.ng-lightbox .ng-lightbox-inner .close-popup:after {
  width: 28px;
  height: 1px;
}

.ng-lightbox .ng-lightbox-inner .close-popup:before {
  width: 1px;
  height: 28px;
}

.ng-lightbox .ng-lightbox-inner.background-thumbnail {
  color: #fff;
  background: #000;
}

.ng-lightbox .ng-lightbox-inner .thumbnail {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.ng-lightbox .ng-lightbox-inner.background-thumbnail .thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
  opacity: 0.2;
  margin: 0;
}

.ng-lightbox .ng-lightbox-inner .content {
  position: relative;
  padding: 50px 55px 40px;
  font-family: "Founders Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  z-index: 2;
}

.ng-lightbox .ng-lightbox-inner.top-thumbnail .content {
  padding-top: 0;
}

.ng-lightbox .ng-lightbox-inner h3 {
  font-family: "Butler", "Helvetica", "Arial", serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.ng-lightbox .ng-lightbox-inner h4 {
  font-family: "Butler", "Helvetica", "Arial", serif;
  font-size: 17px;
  line-height: 1.17;
  margin-bottom: 30px;
}

.ng-lightbox .ng-lightbox-inner .buttons {
  margin-top: 50px;
}

.ng-lightbox .ng-lightbox-inner .buttons a {
  font-family: "Founders Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 0 10px;
  background: transparent;
  min-width: 0;
  height: auto;
  text-decoration: none;
  color: #121212;
  position: relative;
}
.ng-lightbox .ng-lightbox-inner .buttons a:after {
  content: "";
  height: 3px;
  width: 100%;
  background-color: #f8b90d;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  border: 0;
  transform: none;
  transition: all 0.35s ease-in-out;
}
.ng-lightbox .ng-lightbox-inner .buttons a:hover:after {
  background-color: #121212;
}

@media (max-width: 767px) {
  .ng-lightbox .ng-lightbox-inner .content {
    padding: 20px;
    font-size: 15px;
  }

  .ng-lightbox .ng-lightbox-inner.top-thumbnail .content {
    padding-top: 0;
  }

  .ng-lightbox .ng-lightbox-inner h3 {
    font-size: 20px;
  }

  .ng-lightbox .ng-lightbox-inner h4 {
    font-size: 17px;
  }
}
