* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: "Open Sans", sans-serif;
}
.map_opening {
	padding: 100px 0 60px 0;
	text-align: center;
}
.map_opening h1 {
	font-family: "Roboto Slab", serif;
}
.grant_map {
	display: flex;
	height: calc(100vh - 60px);
}
.map object {
	width: 100%;
}
.map {
	flex: 6;
	/* background: radial-gradient(
		circle,
		rgb(255, 255, 255) 0%,
		rgb(212, 210, 210) 100%
	); */
	background: #cdcdcd;
	height: 100vh;
	overflow: hidden;
	position: relative;
}
#map {
	height: 100%;
	margin-top: -40px;
}
.map svg {
	cursor: auto;
}
.close-map {
	position: absolute;
	display: none;
	top: 20px;
	right: 20px;
	bottom: auto;
	left: auto;
	width: 50px;
	height: 50px;
	line-height: 0.8;
	border-radius: 50%;
	background: #000;
	font-size: 2rem;
	color: #fff;
	border: none;
}
.close-map:hover {
	background: #fdb920;
	color: #000;
}
.sidebar {
	flex: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 2rem 0.5rem 0 2rem;
	background-color: #0d0d0b;
	background: url("sidebarbg.jpg") center center / cover no-repeat;
	box-shadow: 0 0 2em rgba(0, 0, 0, 0.2);
	text-align: center;
	position: relative;
	overflow: hidden;
}
/* .sidebar::after {
	content: "";
	position: absolute;
	top: auto;
	right: 20px;
	bottom: 0;
	left: 0;
	height: 50px;
	background: linear-gradient(
		180deg,
		rgba(13, 13, 11, 0) 0%,
		rgba(13, 13, 11, 1) 90%
	);
} */

.sidebar .details {
	flex: 1;
	overflow-y: auto;
	width: 100%;
	padding: 40px 20px 0 0;
	margin: 0;
	animation: fadeIn 0.3s linear;
}
.sidebar .state-list {
	overflow-y: scroll;
	padding: 0 20px 40px 0;
	margin: 0;
	align-self: stretch;
}

.sidebar .state-list::-webkit-scrollbar,
.sidebar .details::-webkit-scrollbar {
	width: 10px;
}
.sidebar .state-list::-webkit-scrollbar-thumb,
.sidebar .details::-webkit-scrollbar-thumb {
	/* background: rgb(54 54 54); */
	background: #fff;
	border-radius: 30px;
	margin-right: 10px;
}

.state {
	fill: rgb(177, 8, 16);
	stroke: #fff;
	transition: fill 0.1s ease;
}
.state:hover {
	fill: hsl(42, 98%, 56%);
	cursor: pointer;
}
.sidebar li {
	list-style: none;
}
.sidebar li button {
	font-family: "Roboto Slab", serif;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	margin: 0 0 0.5em 0;
	transition: scale 0.1s ease;
	text-align: left;
	color: #fff;
}
.sidebar li:last-child button {
	margin: 0;
}
.sidebar li button:hover {
	color: #fdb920;
}
.sidebar li button:active {
	scale: 0.9;
}
.back_btn {
	background: none;
	border: none;
	translate: -10px -10px;
	margin-bottom: -10px;
	transition: scale 0.1s ease;
	color: #fff;
}
.back_btn:hover {
	color: #fdb920;
	cursor: pointer;
}
.back_btn:active {
	scale: 0.9;
}
.sidebar h2 {
	font-family: "Roboto Slab", serif;
	margin: 0 auto 0.3em auto;
	font-size: 2rem;
	color: #fdb920;
	padding: 0 20px 0 0;
}

.sidebar h3 {
	font-family: "Open Sans", sans-serif;
	color: #fff;
	margin: 0 auto 1.5em auto;
	font-size: 0.8rem;
	position: relative;
	display: inline-block;
	padding: 0 20px 0 0;
}

.sidebar h3::after {
	content: "";
	position: absolute;
	top: auto;
	right: calc(-100% + 20px);
	bottom: -20px;
	left: -100%;
	height: 1px;
	background: #fff;
}
.sidebar .details li {
	margin: 0 0 2em 0;
	padding: 0 0 2em 0;
}
.sidebar .details li:not(:last-child) {
	border-bottom: 1px solid rgb(54 54 54);
}
.sidebar .details li.with-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.sidebar .details li .icon {
	width: 50px;
}
.sidebar .details li .icon img {
	width: 100%;
}
.sidebar .details li h4 {
	font-family: "Open Sans", sans-serif;
	margin: 0 0 0.4em 0;
	font-weight: 300;
	font-size: 1rem;
	color: #fff;
}
.sidebar .details li:nth-child(1) h4,
.sidebar .details li:nth-child(2) h4 {
	font-weight: 600;
}
.sidebar .details li p {
	font-family: "Roboto Slab", serif;
	font-weight: 600;
	font-size: 2.4rem;
	color: #fdb920;
}
@media screen and (max-width: 920px) {
	.sidebar .details li p {
		font-size: 4vw;
	}
}
@media screen and (max-width: 750px) {
	.sidebar .details li p {
		font-size: 2.4rem;
	}
}

.search-container {
	position: relative;
	margin: 0 0 1.2em 0;
	padding: 0 20px 0 0;
	align-self: stretch;
}
.search-container::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 12px;
	width: 18px;
	height: 18px;
	translate: 0 -50%;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="rgb(255, 255, 255)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>');
	background-size: 18px 18px;
	background-repeat: no-repeat;
}
.search-container input {
	padding: 0.8em 1em 0.8em 2.4em;
	border-radius: 3rem;
	background: rgb(54 54 54);
	border: 0;
	color: #fff;
	outline: none;
	width: 100%;
}
.search-container input:focus,
input[type="text"]:hover {
	border: 2px solid #fdb920;
	margin: -2px 0;
}

@media screen and (max-width: 750px) {
	.grant_map {
		flex-direction: column;
		height: unset;
	}
	.map {
		flex: unset;
		height: unset;
	}
	#map {
		margin: 0;
	}
	.sidebar {
		padding: 2.5rem 2.5rem 0 2.5rem;
	}
	.sidebar::after {
		right: 50px;
	}
	.sidebar .details {
		padding: 40px 0;
	}
	.sidebar .details li {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0;
	}
	.sidebar ul {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 1.2em;
	}
	.sidebar li {
		text-align: center;
	}
	.sidebar li button {
		margin: 0;
		text-align: center;
	}
	.sidebar .state-list {
		height: 40vh;
	}
	.sidebar .details li:not(:last-child) {
		border-bottom: none;
	}
	/* .sidebar .state-list {
		overflow-y: unset;
		height: auto;
		padding: 30px;
		background: rgb(129, 3, 9);
		border-radius: 20px;
		margin: 0;
	} */
}
@media screen and (max-width: 570px) {
	.sidebar ul {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width: 420px) {
	.sidebar li button {
		font-size: 1rem;
	}
}

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