/* lightbox */
.ti_lightbox_wrapper {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.85);
  display: none;
  z-index: 999;
}

.ti_lightbox_content {
  width: calc(100% - 10%);
  margin-left: 5%;
  height: calc(100vh - 100px);
  margin-top: 50px;
}

.ti_lightbox_content figure {
  margin: 0px;
  width: 100%;
  height: 100%;
}

.ti_lightbox_content figure img{
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.ti_lightbox_wrapper button {
  position: absolute;
  outline: none;
}

.ti_lightbox_close {
  top: 50px;
  right: 50px;
  display: inline-block;
  padding: 0px;
  background-color: rgba(0,0,0,0);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 60px !important;
}

.ti_lightbox_close::before {
	content: "";
	width: 60px;
	height:60px;
	line-height: 60px;
	text-shadow: 1px 1px 1px #ccc;
}

.ti_lightbox_prev {
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  display: block;
  padding: 0px;
  border: none;
  color: white;
  cursor: pointer;
  width: 60px;
  height: 60px;
  position: absolute;
}

.ti_lightbox_prev::before {
	content: "";
	position: absolute;
	top: 20%;
	left: 20%;
	width: 60%;
	height: 60%;
	background: url("left-arrow.svg") no-repeat center center;
	background-size: contain;
}

.ti_lightbox_next {
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  display: block;
  padding: 0px;
  border: none;
  color: white;
  cursor: pointer;
  width: 60px;
  height: 60px;
  position: absolute;
}

.ti_lightbox_next::before {
	content: "";
	position: absolute;
	top: 20%;
	left: 20%;
	width: 60%;
	height: 60%;
	background: url("right-arrow.svg") no-repeat center center;
	background-size: contain;
}

.ti_lightbox_wrapper figcaption {
  position: absolute;
}

.ti_lightbox_preloader {
  display: none;
}

