.allsenses-gallery img{
	object-fit: cover;
	cursor: pointer;
}

.gallery-container{
	display: none;
	justify-content: center;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	position: fixed;
	top:0;
	left:0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .4);
	-webkit-transition: .3s;
	z-index: 50;
	user-select: none;
}

.gallery-container.show{
	display: -webkit-flex;
}

.gallery-container.active{
	visibility: visible;
	opacity: 1;
}

.gallery-container .content{
	position: relative;
	background: #fff;
	padding: 1rem;
	max-height: 100%;
	max-width: calc(100% - 6rem);
	width: 10rem;
	height: 10rem;
	border-radius: 8px;
	-webkit-transition: .3s;
}

.gallery-container img{
	visibility: hidden;
	opacity: 0;
	max-height: calc(100vh - 2rem);
	max-width: calc(100vw - 2rem - 6rem);
	-webkit-transition: visibility .3s, opacity .3s;
}
.gallery-container img.active{
	visibility: visible;
	opacity: 1;
}

.gallery-container .loader{
	position: absolute;
	top:50%;
	left:50%;
	visibility: hidden;
	opacity: 0;
	border-top:2px solid #000;
	border-right:2px solid #000;
	width: 96px;
	height: 96px;
	border-radius: 999px;

	-webkit-transition: .3s;
	-webkit-animation: spin .5s infinite linear;
}

@-webkit-keyframes spin{
	0%{
		-webkit-transform:translate(-50%,-50%) rotate(0deg);
	}
	100%{
		-webkit-transform:translate(-50%,-50%) rotate(360deg);
	}
}

.gallery-container .loader.active{
	visibility: visible;
	opacity: 1;
}


.gallery-container a{
	cursor: pointer;
}

.gallery-container .content .prev,
.gallery-container .content .next{
	position: absolute;
	top:50%;
	color: #fff;
	font-size: 56px;
	width: 3rem;
	text-align: center;
}

.gallery-container .content .prev{
	left:0;
	-webkit-transform: translate(-100%,-50%);
	
}
.gallery-container .content .next{
	right:0;
	-webkit-transform: translate(100%,-50%);
}

.gallery-container .content .prev::before{
	content:"<";
}
.gallery-container .content .next::before{
	content:">";
}