body.lightMode #connectedLocations{
	background: #111;
	padding: 1em;
}

#connectedLocations{
	margin-top: 0px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	grid-auto-rows: 7.5em;
	margin-top: -2em;
	grid-gap: 0.2em;
	color:white;

}

#connectedLocations:empty {
	display: none;
}

#connectedLocations > .connectedLocation{
	display: block;
	position: relative;
}

#connectedLocations>.connectedLocation:hover {
	outline: white 0.2em dotted;
}



#connectedLocations>.connectedLocation>a {
	position: absolute;
	display: block;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

#connectedLocations>.connectedLocation>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(80%);
}

#connectedLocations>.connectedLocation.fitContain>img {
	object-fit: contain;
}

#connectedLocations>.connectedLocation:hover>img {
	filter: unset;
}

#connectedLocations>.connectedLocation>.label {
	position: absolute;
	bottom: 0px;
	width: 100%;
	text-align: center;
	background: rgba(10, 10, 10, 0.8);
}

#connectedLocations>.connectedLocation>.duration_label{
	position: absolute;
	top: 0px;
	width: 100%;
	text-align: center;
	background: rgba(10, 10, 10, 0.8);
	opacity: 0;
}

#connectedLocations>.connectedLocation:hover>.duration_label {
	opacity: 1;
	transition-delay: 0.5s;
}

#connectedLocations>.connectedLocation .indecentBlock {
	position: absolute;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 2000;
	background-color: rgba(255,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2.5em;
	font-weight: bold;
	cursor: not-allowed;
}
