.glightbox-container {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999 !important;
	overflow: hidden;
	touch-action: none;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	backface-visibility: hidden;
	outline: none;
}

.glightbox-container.inactive {
	display: none;
}

.glightbox-container .gcontainer {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 9999;
	overflow: hidden;
}

.glightbox-container .gslider {
	transition: transform 0.4s ease;
	height: 100%;
	left: 0;
	top: 0;
	width: 100%;
	position: relative;
	overflow: hidden;
	-js-display: flex !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	transform: translate3d( 0, 0, 0 );
}

.glightbox-container .gslide {
	width: 100%;
	position: absolute;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-js-display: flex;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
}

.glightbox-container .gslide.current {
	opacity: 1;
	z-index: 99999;
	position: relative;
}

.glightbox-container .gslide.prev {
	opacity: 1;
	z-index: 9999;
}

.glightbox-container .gslide-inner-content {
	width: 80%;
	overflow: hidden;
	text-align: center;
	margin: 0 auto;
}

.glightbox-container .ginner-container {
	position: relative;
	width: 100%;
	-js-display: flex;
	display: flex;
	justify-content: center;
	flex-direction: column;
	max-width: 100%;
	margin: auto;
	height: 100vh;
}

.glightbox-container .ginner-container.gvideo-container {
	width: 100%;
}

.glightbox-container .ginner-container.desc-bottom,
.glightbox-container .ginner-container.desc-top {
	flex-direction: column;
}

.glightbox-container .ginner-container.desc-left,
.glightbox-container .ginner-container.desc-right {
	max-width: 100% !important;
}

.gslide iframe,
.gslide video {
	outline: none !important;
	border: none;
	min-height: 165px;
	-webkit-overflow-scrolling: touch;
	touch-action: auto;
}

.gslide:not( .current ) {
	pointer-events: none;
}

.gslide-image {
	align-items: center;
}

.gslide-image img {
	max-height: 100vh;
	display: block;
	padding: 0;
	float: none;
	outline: none;
	border: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: auto;
	height: auto;
	object-fit: cover;
	touch-action: none;
	margin: auto;
	min-width: 200px;
}

.desc-top .gslide-image img,
.desc-bottom .gslide-image img {
	width: auto;
}

.desc-left .gslide-image img,
.desc-right .gslide-image img {
	width: auto;
	max-width: 100%;
}

.gslide-image img.zoomable {
	position: relative;
}

.gslide-image img.dragging {
	cursor: grabbing !important;
	transition: none;
}

.gslide-video {
	position: relative;
	max-width: 100vh;
	width: 100% !important;
}

.gslide-video .plyr__poster-enabled.plyr--loading .plyr__poster {
	display: none;
}

.gslide-video .gvideo-wrapper {
	width: 100%;
	/* max-width: 160vmin; */
	margin: auto;
}

.gslide-video::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba( 255, 0, 0, 0.34 );
	display: none;
}

.gslide-video.playing::before {
	display: none;
}

.gslide-video.fullscreen {
	max-width: 100% !important;
	min-width: 100%;
	height: 75vh;
}

.gslide-video.fullscreen video {
	max-width: 100% !important;
	width: 100% !important;
}

.gslide-inline {
	background: #fff;
	text-align: left;
	max-height: calc( 100vh - 40px );
	overflow: auto;
	max-width: 100%;
	margin: auto;
}

.gslide-inline .ginlined-content {
	padding: 20px;
	width: 100%;
}

.gslide-inline .dragging {
	cursor: grabbing !important;
	transition: none;
}

.ginlined-content {
	overflow: auto;
	display: block !important;
	opacity: 1;
}

.gslide-external {
	-js-display: flex;
	display: flex;
	width: 100%;
	min-width: 100%;
	background: #fff;
	padding: 0;
	overflow: auto;
	max-height: 75vh;
	height: 100%;
}

.gslide-media {
	-js-display: flex;
	display: flex;
	width: auto;
}

.zoomed .gslide-media {
	box-shadow: none !important;
}

.desc-top .gslide-media,
.desc-bottom .gslide-media {
	margin: 0 auto;
	flex-direction: column;
}

.gslide-description {
	position: relative;
	flex: 1 0 100%;
}

.gslide-description.description-left,
.gslide-description.description-right {
	max-width: 100%;
}

.gslide-description.description-bottom,
.gslide-description.description-top {
	margin: 0 auto;
	width: 100%;
}

.gslide-description p {
	margin-bottom: 12px;
}

.gslide-description p:last-child {
	margin-bottom: 0;
}

.zoomed .gslide-description {
	display: none;
}

.glightbox-button-hidden {
	display: none;
}

/*
   * Description for mobiles
   * something like facebook does the description
   * for the photos
  */

.glightbox-mobile .glightbox-container .gslide-description {
	height: auto !important;
	width: 100%;
	position: absolute;
	bottom: 0;
	padding: 19px 11px;
	max-width: 100vw !important;
	order: 2 !important;
	max-height: 78vh;
	overflow: auto !important;
	background: linear-gradient( to bottom, rgba( 0, 0, 0, 0 ) 0%, rgba( 0, 0, 0, 0.75 ) 100% );
	transition: opacity 0.3s linear;
	padding-bottom: 50px;
}

.glightbox-mobile .glightbox-container .gslide-title {
	color: #fff;
	font-size: 1em;
}

.glightbox-mobile .glightbox-container .gslide-desc {
	color: #a1a1a1;
}

.glightbox-mobile .glightbox-container .gslide-desc a {
	color: #fff;
	font-weight: 700;
}

.glightbox-mobile .glightbox-container .gslide-desc * {
	color: inherit;
}

.glightbox-mobile .glightbox-container .gslide-desc .desc-more {
	color: #fff;
	opacity: 0.4;
}

.gdesc-open .gslide-media {
	transition: opacity 0.5s ease;
	opacity: 0.4;
}

.gdesc-open .gdesc-inner {
	padding-bottom: 30px;
}

.gdesc-closed .gslide-media {
	transition: opacity 0.5s ease;
	opacity: 1;
}

.greset {
	transition: all 0.3s ease;
}

.gabsolute {
	position: absolute;
}

.grelative {
	position: relative;
}

.glightbox-desc {
	display: none !important;
}

/* .glightbox-open {
	overflow: hidden;
} */

.gloader {
	height: 25px;
	width: 25px;
	animation: lightboxLoader 0.8s infinite linear;
	border: 2px solid #fff;
	border-right-color: transparent;
	border-radius: 50%;
	position: absolute;
	display: block;
	z-index: 9999;
	left: 0;
	right: 0;
	margin: 0 auto;
	top: 47%;
}

.goverlay {
	width: 100%;
	height: calc( 100vh + 1px );
	position: fixed;
	top: -1px;
	left: 0;
	background: rgba( 0, 0, 0, 0.8 );
	will-change: opacity;
}

.gprev,
.gnext,
.gclose {
	z-index: 99999;
	cursor: pointer;
	width: 26px;
	height: 44px;
	font-size: 25px;
	background-color: transparent;
	color: rgba( 238, 238, 238, 0.8 );
	transition: all 0.2s;
	padding: 0;
	margin: 0;
	border: none;
	-js-display: flex;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	border-radius: 0;
}

.gprev:hover,
.gprev:focus,
.gprev:active,
.gnext:hover,
.gnext:focus,
.gnext:active,
.gclose:hover,
.gclose:focus,
.gclose:active {
	background-color: transparent;
	color: #fff;
}

.gprev svg,
.gnext svg,
.gclose svg {
	display: block;
	width: 20px;
	height: auto;
	margin: 0;
	padding: 0;
}

.gprev.disabled,
.gnext.disabled,
.gclose.disabled {
	display: none;
}

.glightbox-clean .gprev,
.glightbox-clean .gnext {
	height: 100%;
	top: 0;
	width: 5%;
	z-index: 9;
}

.gprev .garrow,
.gnext .garrow,
.gclose .garrow {
	stroke: #fff;
}

.gbtn.focused {
	outline: 2px solid #0f3d81;
}

iframe.wait-autoplay {
	opacity: 0;
}

.glightbox-closing .gnext,
.glightbox-closing .gprev,
.glightbox-closing .gclose {
	opacity: 0 !important;
}

/*Skin */

.glightbox-clean .gslide-description {
	background: transparent;
	display: none;
}

.glightbox-clean .gdesc-inner {
	padding: 22px 20px;
}

.glightbox-clean .gslide-title {
	font-size: 1em;
	font-weight: 700;
	font-family: arial;
	color: rgba( 238, 238, 238, 0.9 );
	text-align: center;
	line-height: 1.4em;
}

.glightbox-clean .gslide-desc {
	font-size: 0.86em;
	margin-bottom: 0;
	font-family: arial;
	line-height: 1.4em;
}

.glightbox-clean .gslide-video {
	background: #000;
}

.glightbox-clean .gprev path,
.glightbox-clean .gnext path,
.glightbox-clean .gclose path {
	fill: #c8c8c8;
}

.gcontainer .ahfb-svg-iconset {
	padding: 10px;
	background: rgba( 30, 30, 30, 0.6 );
}

.gcontainer .gbtn:hover .ahfb-svg-iconset path,
.gcontainer .gbtn:hover .ahfb-svg-iconset path,
.gcontainer .gbtn:hover .ahfb-svg-iconset path {
	fill: #fff;
}

.glightbox-clean .gprev {
	position: absolute;
	left: 0;
}

.glightbox-clean .gnext {
	position: absolute;
	right: 0;
}

.glightbox-clean .gclose {
	width: auto;
	height: auto;
	font-size: 32px;
	top: 15px;
	right: 10px;
	position: absolute;
	z-index: 99;
	background: rgba( 30, 30, 30, 0.6 );
	padding: 0 6px 4px;
}

.glightbox-clean .gclose svg {
	width: 18px;
	height: auto;
}

/*CSS Animations*/

.gfadeIn {
	animation: gfadeIn 0.5s ease;
}

.gfadeOut {
	animation: gfadeOut 0.5s ease;
}

.gslideOutLeft {
	animation: gslideOutLeft 0.3s ease;
}

.gslideInLeft {
	animation: gslideInLeft 0.3s ease;
}

.gslideOutRight {
	animation: gslideOutRight 0.3s ease;
}

.gslideInRight {
	animation: gslideInRight 0.3s ease;
}

.gzoomIn {
	animation: gzoomIn 0.3s ease;
}

.gzoomOut {
	animation: gzoomOut 0.3s ease;
}

@keyframes lightboxLoader {
	0% {
		transform: rotate( 0deg );
	}
	100% {
		transform: rotate( 360deg );
	}
}

@keyframes gfadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes gfadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes gslideInLeft {
	from {
		opacity: 0;
		transform: translate3d( -60%, 0, 0 );
	}
	to {
		visibility: visible;
		transform: translate3d( 0, 0, 0 );
		opacity: 1;
	}
}

@keyframes gslideOutLeft {
	from {
		opacity: 1;
		visibility: visible;
		transform: translate3d( 0, 0, 0 );
	}
	to {
		transform: translate3d( -60%, 0, 0 );
		opacity: 0;
		visibility: hidden;
	}
}

@keyframes gslideInRight {
	from {
		opacity: 0;
		visibility: visible;
		transform: translate3d( 60%, 0, 0 );
	}
	to {
		transform: translate3d( 0, 0, 0 );
		opacity: 1;
	}
}

@keyframes gslideOutRight {
	from {
		opacity: 1;
		visibility: visible;
		transform: translate3d( 0, 0, 0 );
	}
	to {
		transform: translate3d( 60%, 0, 0 );
		opacity: 0;
	}
}

@keyframes gzoomIn {
	from {
		opacity: 0;
		transform: scale3d( 0.3, 0.3, 0.3 );
	}
	to {
		opacity: 1;
	}
}

@keyframes gzoomOut {
	from {
		opacity: 1;
	}
	50% {
		opacity: 0;
		transform: scale3d( 0.3, 0.3, 0.3 );
	}
	to {
		opacity: 0;
	}
}

@media ( min-width: 769px ) {
	.glightbox-container .ginner-container {
		width: auto;
		height: auto;
		flex-direction: row;
	}
	.glightbox-container .ginner-container.desc-top .gslide-description {
		order: 0;
	}
	.glightbox-container .ginner-container.desc-top .gslide-image,
	.glightbox-container .ginner-container.desc-top .gslide-image img {
		order: 1;
	}
	.glightbox-container .ginner-container.desc-left .gslide-description {
		order: 0;
	}
	.glightbox-container .ginner-container.desc-left .gslide-image {
		order: 1;
	}
	.gslide-image img {
		max-height: 100vh;
		max-width: calc( 100% - 4em );
	}
	.gslide-image img.zoomable {
		cursor: zoom-in;
	}
	.zoomed .gslide-image img.zoomable {
		cursor: grab;
	}
	.gslide-inline {
		max-height: 95vh;
	}
	.gslide-external {
		max-height: 100vh;
	}
	.gslide-description.description-left,
	.gslide-description.description-right {
		max-width: 275px;
	}
	.glightbox-open {
		height: auto;
	}
	.goverlay {
		background: rgba( 0, 0, 0, 0.8 );
	}
	.glightbox-clean .gslide-media img {
		box-shadow: 1px 2px 9px 0 rgba( 0, 0, 0, 0.65 );
	}
	.glightbox-clean .description-left .gdesc-inner,
	.glightbox-clean .description-right .gdesc-inner {
		position: absolute;
		height: 100%;
		overflow-y: auto;
	}
}

@media ( min-width: 992px ) {
	.glightbox-clean .gclose {
		right: 20px;
	}
}

@media ( max-width: 544px ) {
	.glightbox-clean .gprev,
	.glightbox-clean .gnext {
		width: 10%;
		height: 45px;
		line-height: 45px;
		background-color: rgba( 0, 0, 0, 0.5 );
		top: 47%;
	}
	.glightbox-clean .gnext {
		right: 0;
	}
	.glightbox-clean .gprev {
		left: 0;
	}
	.glightbox-container .gslide-inner-content {
		width: 100%;
	}
}
