html.lb-disable-scrolling {
  overflow: hidden;
  /* Position fixed required for iOS. Just putting overflow: hidden; on the body is not enough. */
  position: fixed;
  height: 100vh;
  width: 100vw;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1040;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 1041;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  height: auto;
  max-width: 99%;
  max-height: none;
  display: inline-block;
  vertical-align: middle;
}

.lightbox a img {
  border: none;
}

.lb-image-helper {
	display: inline-block;
	vertical-align: middle;
	height: 100%;	
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: auto;
  margin: 0 auto;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-outerContainer.lb-error:after {
  content: "Image does not exist"
}

.lb-outerContainer.lb-error .lb-image {
  display: none !important;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/loading.svg) no-repeat;
  -moz-background-size: 32px 32px;
       background-size: 32px 32px;
}

/*.lb-nav {
  position: absolute;
  top: 76px;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}*/

.lb-container > .nav {
  left: 0;
}

/*.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}*/

.lb-prev, .lb-next {
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
  cursor: pointer;
  display: block;
  height: 50px;
  margin-top: -25px;
  outline: none;
  position: absolute;
  top: 50%;
  width: 50px;
}

/*.lb-nav */a.lb-prev {
  left: 0;
  background: url(../img/prev.png) left 48% no-repeat;
  -webkit-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

/*.lb-nav */a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/*.lb-nav */a.lb-next {
  right: 0;
  background: url(../img/next.png) right 48% no-repeat;
  -webkit-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

/*.lb-nav */a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  clear: both;
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -webkit-border-bottom-left-radius: 4px;
     -moz-border-radius-bottomleft: 4px;
          border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
     -moz-border-radius-bottomright: 4px;
          border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 100%;
  float: left;
  text-align: center;
  line-height: 1.1em;
}

.lb-data .lb-icons {
    text-align: left;
    position: relative;
    height: 0;
    z-index: 12;
    color: #fff;
}

.lb-data .lb-icons i {
	margin-right: 5px;
}

.lb-data .lb-icons a {
	color: #fff;
}

.lb-data .lb-browse {
	line-height: 16px;
	position: relative;
	top: -1px;
	font-size: 1em;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  font-size: 1em;
  color: #fff;
}

.lightbox-lb-closeContainer {
    position: relative;
    right: 20px;
}

@media (max-width: 767px) {
	.lightbox-lb-closeContainer {
		right: 8px;
		top: -40px;
	}
}

.lightbox-lb-closeContainer .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lightbox-lb-closeContainer .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-container {
	float: left;
    background-color: #000;
    height: 100%;
    margin: auto;
	position: relative;
	width: 250px;
}

.lb-outerContainer--video.lb-outerContainer--photo .lb-container {
	height: calc(100% - 60px);
}

.lb-container .lb-embed-wrapper {
	height: 0;
	padding-bottom: 56.25%; /* 16:9 */
	position: relative;
}

.lb-container .lb-embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.lb-container-header {
	background-color: #fff;
	border-bottom: 1px solid #000;
	display: none;
	text-align: left;
	width: 100%;
}

.lb-outerContainer--video.lb-outerContainer--photo .lb-container-header {
	display: block;
}

.lb-container-header__tab {
	border-right: 1px solid #ccc;
	color: #3f3f3f;
	display: inline-block;
	font-size: 20px;
	height: 100%;
	line-height: 60px;
	margin-right: -4px;
	max-width: 230px;
	text-align: center;
	width: 33.33%;
}

.lb-container-header__tab:last-of-type {
	margin-right: 0;
}

.lb-container-header__tab--current {
	font-weight: bold;
}

.lb-container-header__tab--current:hover {
	color: #3f3f3f;
	cursor: default;
}

.lb-container-header__tab::after {
	border-right: 0;
}

.lb-container-side {
	background-color: #fff;
	display: none;
	width: 300px;
	height: 100%;
	float: left;
	overflow: hidden;
	text-align: left;
}

.lb-outerContainer--video.lb-outerContainer--photo .lb-container-side {
	height: calc(100% - 76px);
}

.lb-container-side .author_info {
	color: #aaa;
	line-height: 1;
	margin-bottom: 10px;
}

.lb-container-side .author_link {
	color: #aaa;
}

.lb-container-side .photo_caption {
	line-height: 1.2;
	margin-bottom: 10px;
}

.lb-container-side .author_thumbnail {
	float: left;
	margin-right: 5px;
}

.lb-container-side #author_name {
	color: #aaa;
	float: left;
	line-height: 45px;
}

.lb-container-side #author_name a {
	color: #aaa;
}

.lb-container-side #UrlPhotoCaption {
	height:70px;
}

.lb-container-side .textarea {
	margin-bottom:5px;
}

.lb-container-side #update_button {
	height:25px;
	margin-bottom:20px;
}

.lb-container-side #caption {
	font-weight: bold;
	line-height:1.2;
}

.lb-container-side #info {
	color: #aaa;
	line-height: 1.2;
	margin-bottom: 10px;
	margin-top: 10px;
}

.lb-container-side .report-link {
	border: solid 1px #e4e4e4;
	border-radius: 3px;
	color: #3f3f3f;
	display: inline-block;
	height: 34px;
	line-height: 34px;
	text-align: center;
	width: 120px;
}

.lb-container-side .report-link--disabled {
	color: #e4e4e4;
	cursor: default;
}

.lb-container-side .review {
	border-bottom: 0;
	padding: 0;
}

.lb-container-side .review__author,
.lb-container-side .review__title__decorator,
.lb-container-side .review__date {
	display: none;
}

.lb-outerContainer .lb-container-side .review__container {
	width: 100%;
}

.lb-container-side .review__content {
	line-height: 1.1;
}

.lb-container-side .review__title,
.lb-container-side .review__info {
	margin-bottom: 10px;
}

.lb-container-side .review__text {
	line-height: 1.25;
	margin-bottom: 0;
}

.lb-container-side .admin_links {
	line-height: 1;
	padding-top: 10px;
}

.lb-container-side .photo_info {
	border-bottom: 1px solid #ccc;
	font-size: 12px;
	margin-bottom: 15px;
	padding: 15px;
}

.lb-container-side .review_info {
	font-size: 12px;
	padding: 0 15px 15px;
}

@media (max-width: 983px) {
	.lb-container {
		float: none;
		width: 100% !important;
	}
	
	.lb-outerContainer--video.lb-outerContainer--photo .lb-container {
		height: auto;
	}
	
	.lb-outerContainer--video.lb-outerContainer--photo.animating .lb-container {
		height: 100%;
	}
	
	.lb-container-side {
		float: none;
		width: 100%;
	}
	
	.lb-outerContainer--video.lb-outerContainer--photo .lb-container-side {
		height: auto;
	}
	
	.lightbox .lb-image {
		height: auto !important;
		margin: 10px 0;
		width: 100% !important;
	}
	
	.lb-data .lb-icons {
		height: auto;
		margin-top: 5px;
		text-align: center;
	}
	
	.lb-data .lb-details {
		float: none;
		margin-top: 5px;
		width: 100% !important;
	}
}

@media (max-width: 767px) {
	.lb-dataContainer,
	.lb-outerContainer {
		height: auto !important;
		width: 94% !important;
	}
	
	.lb-outerContainer--video.lb-outerContainer--photo .lb-container-header {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		position: absolute;
		top: 0px;
		z-index: 12;
	}
	
	.lb-container-side .review__title {
		width: calc(100% - 40px);
	}
	
	.lb-container-header__tab {
		font-size: 18px;
		line-height: 45px;
	}
	
	.lb-container-header__tab {
		margin-right: 0;
		width: 100%;
	}
	
	.lb-outerContainer--video.lb-outerContainer--photo .lb-container {
		padding-top: 46px;
	}
}
