/* @import "/../shared/colors.css"; */
@import "/../public/assets/css/shared/colors.css";

* {
	box-sizing: border-box;
	-webkit-user-select: none;
	user-select: none;
}

/* ************************************************************************************* */
/* ************************************************************************************* */
/* MODAL */
/* ************************************************************************************* */
/* ************************************************************************************* */

/* The Modal (background) */
.modalBackground {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1;
	height: 100%;
	width: 100%;
	opacity: 1;
	background-color: black;
}

.modalBlur {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 2;
	height: 100%;
	width: 100%;
	opacity: 0.7;
	lighting-color: black;

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-filter: blur(em);
	-moz-filter: blur(7em);
	-o-filter: blur(7em);
	-ms-filter: blur(7em);
	filter: blur(7em);
}

.modal {
	display: none;
	position: fixed;
	z-index: 3;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* The Close Button */
.close {
	color: white;
	position: absolute;
	top: 1em;
	right: 1em;
	font-size: 2em;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: var(--grey-light);
	text-decoration: none;
	cursor: pointer;
}

/* Hide the slides by default */
.slide {
	display: none;
}

/* Next & previous buttons */
.modalPrevNext {
	cursor: pointer;
	position: absolute;
	margin-top: -5%;
	width: auto;
	padding: 0.8em;
	color: white;
	font-weight: bold;
	font-size: 2em;
	transition: 0.6s ease;
	border-radius: 0 0.3em 0.3em 0;
	-webkit-user-select: none;
	user-select: none;
}

/* Position the "next button" to the right */
.modalNext {
	right: 0;
	border-radius: 0.1em 0 0 0.1em;
}

/* On hover, add a black background color with a little bit see-through */
.modalPrevNext:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Style for the thumbnails container */
.modalThumbs {
	display: flex;
	justify-content: center;
}

/* Style for individual thumbnails */
.modalThumb {
	/* margin defined programmatically to reuse it in the code */
	/* margin-left: 1%;
  margin-right: 1%; */
	overflow: hidden;
	cursor: pointer;
	display: none;
}

.modalThumb img {
	object-fit: cover;
	border-radius: 10%;
}

.activeThumb img {
	border-color: var(--blue-violet);
	border-style: ridge;
	border-width: thick;
}

/* Hide scrollbar when modal is open */
body.modalOpen {
	overflow: hidden;
}

.modalImageInformation {
	position: absolute;
	top: 1em;
	left: 1em;
	background-color: var(--header-footer-grey-dark);
	padding: 0.3em 1em;
	opacity: 0.6;
	max-width: 80%;
}

.modalImageId {
	font-size: smaller;
	color: var(--logo-grey-light);
	text-shadow: 0.2em 0.2em 0.3em black;
	margin: 0.5em;
}

.modalImageDescription {
	font-size: smaller;
	color: var(--logo-grey-light);
	text-shadow: 0.2em 0.2em 0.3em black;
	margin: 0.5em;
}