:root {
         color-scheme: light only;
}

html,
body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Arial", sans-serif;
}

#container-header {
	padding: 10px 20px;
	height: 7%;
	border-bottom: 2px solid #ddd;
	box-shadow: 1px 1px 10px;
	position: relative;
	z-index: 10;
	width: 100%;
	display: inline-block;
}

#header-logo {
	height: 100%;
	display: flex;
	float: left;
}

#container-header h1 {
	margin: 0;
	height: 100%;
	display: flex;
	align-items: center;
}

#container-main {
	height: 93%;
	display: flex;
	flex-wrap: wrap-reverse;
	z-index: 0;
	position: relative;
}

#container-features {
	width: 40%;
	padding: 10px 20px;
	max-height: 100%;
	overflow-y: scroll;
}

#container-map {
	position: relative;
	width: 60%;
	height: 100%;
}

@media only screen and (max-width: 992px) {
	#container-features {
		width: 100%;
		height: 50%;
	}

	#container-map {
		width: 100%;
		height: 50%;
	}
}

.feature-card {
	width: calc(50% - 2.5px);
	margin-bottom: 5px;
	border: 1px solid #dddddd;
	background-color: #eeeeee;
	box-shadow: 1px 1px 10px #999999;
	padding: 7.5px;
	display: inline-block;
	cursor: pointer;
}

.feature-card:nth-child(even) {
	margin-left: 5px;
}

.feature-card:nth-child(odd) {
	margin-left: 0;
}

.feature-card h6 {
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.feature-image {
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 15vh;
	width: 100%;
}

@media only screen and (min-width: 1400px) {
	.feature-card {
		width: calc((100% / 3) - (10px / 3));
	}

	.feature-card:not(:nth-child(3n-2)) {
		margin-left: 5px;
	}

	.feature-card:nth-child(3n-2) {
		margin-left: 0;
	}
}

@media only screen and (min-width: 576px) and (max-width: 992px) {
	.feature-card {
		width: calc((100% / 3) - (10px / 3));
	}

	.feature-card:not(:nth-child(3n-2)) {
		margin-left: 5px;
	}

	.feature-card:nth-child(3n-2) {
		margin-left: 0;
	}
}

@keyframes wiggle {
	0%,
	7% {
		transform: rotateZ(0);
	}
	15% {
		transform: rotateZ(-7deg);
	}
	20% {
		transform: rotateZ(5deg);
	}
	25% {
		transform: rotateZ(-5deg);
	}
	30% {
		transform: rotateZ(3deg);
	}
	35% {
		transform: rotateZ(-2deg);
	}
	40%,
	100% {
		transform: rotateZ(0);
	}
}

.animateWiggle {
	animation: wiggle 3s linear;
}

.animateWiggleInfinite {
	animation: wiggle 3s linear;
	animation-iteration-count: infinite;
}

.selected-feature {
	border: 2px solid #666666;
	box-shadow: 1px 1px 7px #444444;
}

.btn-outline-secondary {
	background-color: #ffffff;
}

#map {
	height: 100%;
	width: 100%;
}

#map-toolbox {
	position: absolute;
	z-index: 1;
	top: 10px;
	left: 10px;
}

#map-legend {
	position: absolute;
	z-index: 1;
	top: 10px;
	right: 10px;
	background-color: #ffffff;
	padding: 5px;
	border: 1px solid #6c757d;
	border-radius: 0.25rem;
}

.icon-legend {
	height: 1rem;
}

.marker {
	cursor: pointer;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	padding: 2.5px 10px 10px 10px;
}

.markerWhite {
	background-image: url("res/markerWhite.png");
	color: #000000;
}

.markerGrey {
	background-image: url("res/markerGrey.png");
	color: #000000;
}

.markerBlack {
	background-image: url("res/markerBlack.png");
	color: #ffffff;
}

.markerSpan {
	align-items: center;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	width: 100%;
}

.modal-feature-image {
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 35vh;
	width: 100%;
}

#modal-feature i {
	font-size: 30px;
	color: #000000;
}

#modal-coordinates {
	font-size: 15px;
	color: #999999;
}

#preloader-wrapper {
	height: 100%;
	width: 100%;
	background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999999;
	display: flex;
	justify-content: center;
	align-items: center;
}

#preloader-container {
	display: grid;
}

#preloader-randa-logo {
	width: 15%;
	margin: auto;
}

#preloader-loader {
	margin: auto;
}

@media only screen and (max-width: 576px) {
	#preloader-randa-logo {
		width: 30%;
	}
}

#blocker-gif {
	width: 30%;
}

@media only screen and (max-width: 576px) {
	#blocker-gif {
		width: 50%;
	}
}
