/* Styles for the BIH Community Plugin*/

/* Supporters */

.sponsor-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	align-content: center;
	margin-top: 20px;
	gap: 15px;
	font-family: Lexend, sans-serif;
	color: black;
}

ul.bih-supporters-list {
	list-style-type: none;
	padding: 0;
}

	ul.bih-supporters-list li {
		margin-bottom: 10px;
		/* Add more styles as needed */
	}

	.sponsor-item a {
		color: black;
	}


/*Schools*/

@media only screen and (max-width: 800px) {
	.schools-widget-container {
		flex-direction: row !important;
	}
	.schools-widget-container .search-box-container {
		width: 100% !important;
	}

	.schools-widget-container #search-results-container {
		width: 100% !important;
		order: 3 !important;
	}

		.schools-widget-container .search-box {
			width: 100% !important;
		}

		.schools-widget-container .map-container {
			width: 100%;
		}
}

.schools-widget-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
}

	.schools-widget-container .search-box-container {
		width: 48%;
		order:2;
	}

	.schools-widget-container #search-results-container {
		width: 48%;
		height: fit-content;
		background: #00ACEC;
		padding: 2.5%;
		border-radius: 10px;
		color: white;
		order: 1;
	}

	.schools-widget-container .map-container {
		width: 75%;
		padding: 2.5%;
		order: 3;
	}

	.schools-widget-container #mapText p {
		font-family: Lexend, sans-serif;
	}

	.schools-widget-container .search-box {
		padding: 5%;
		background: #F1666A;
		border-radius: 10px;
		color: white;
		width: 75%;
		margin-bottom: 20px;
	}

.search-box h3 {
	color: white;
	margin-bottom: 20px;
	font-family: Lexend, sans-serif;
}

#search-results-container h2 {
	color: white;
	font-family: Lexend, sans-serif;
}

.search-box button {
	border: none;
	padding: 2%;
	border-radius: 10px;
	font-size: 15px;
	color: #F1666A;
	text-transform: uppercase;
	font-family: Lexend, sans-serif;
}

#search-results-container h4 {
	color: white;
	font-family: Lexend, sans-serif;
}

#search-results-container p {
	margin-bottom: 50px;
	color: white;
	font-family: Lexend, sans-serif;
	font-size: 14px;
}

#search-results-container ul {
	margin-left: 0;
	font-family: Lexend, sans-serif;
	font-size: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style-type: none;
}

#search-results-container li {
	background: white;
	color: #00ACEC;
	padding: 5px;
	border-radius: 10px
}

#search-results-container .not-sponsored {
	background: #F1666A !important;
	color: white !important;
}

#search-results-container .not-sponsored a {
	color: white !important;
}


/*#search-results-container a {
	background: white;
	color: #00ACEC;
	text-decoration: none;
	padding: 5px;
	border-radius: 10px
}*/

/*Modal*/

/* Modal Container */
.modal-container {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	max-width: 600px;
	width: 100%;
	box-sizing: border-box;
	z-index: 999;
}

/* Modal Container */
.modal-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	max-width: 750px;
	width: 100%;
	box-sizing: border-box;
	z-index: 999;
	height: 650px;
	border-radius: 10px;
	overflow: scroll;
}

/* Modal Content */
.modal-content {
	position:relative;
	max-width: 90%;
	position: absolute;
	overflow-y: auto;
	width: 95%;
	padding:10px;
}

	.modal-content h2, .leaflet-popup-content .model-content h2 {
		font-family: Lexend, sans-serif;
	}

	.modal-content h3,, .leaflet-popup-content .model-content h3 {
		font-family: Lexend, sans-serif;
	}

	.modal-content h4, .leaflet-popup-content .model-content h4 {
		color: #F1666A;
		font-family: Lexend, sans-serif;
	}

	.modal-content p, .leaflet-popup-content .model-content p {
		font-family: Lexend, sans-serif;
	}

	.modal-content strong, .leaflet-popup-content .model-content strong {
		color: #F1666A;
	}

	.modal-content a, .leaflet-popup-content .model-content a {
		font-family: Lexend, sans-serif;
	}

/* Close Button */
.close-modal {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 40px;
	cursor: pointer;
}


/*Roles Models*/

@media only screen and (max-width: 800px) {
	.rolemodel-widget-container {
		flex-direction: row !important;
	}

		.rolemodel-widget-container .rolemodel-search-box-container {
			width: 100% !important;
		}

		.rolemodel-widget-container #rolemodel-search-results-container {
			width: 100% !important;
			order: 3 !important;
		}

		.rolemodel-widget-container .search-box {
			width: 100% !important;
		}
}

/*Roles Models*/

.rolemodel-widget-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
}

	.rolemodel-widget-container .rolemodel-search-box-container {
		width: 48%;
		order: 2;
	}

	.rolemodel-widget-container #rolemodel-search-results-container {
		width: 48%;
		height: fit-content;
		background: #00ACEC;
		padding: 2.5%;
		border-radius: 10px;
		color: white;
		order: 1;
	}

	.rolemodel-widget-container .search-box {
		padding: 5%;
		background: #F1666A;
		border-radius: 10px;
		color: white;
		width: 75%;
		margin-bottom: 20px;
	}

.search-box h3 {
	color: white;
	margin-bottom: 20px;
	font-family: Lexend, sans-serif;
}

#rolemodel-search-results-container h2 {
	color: white;
	font-family: Lexend, sans-serif;
}

.search-box button {
	border: none;
	padding: 2%;
	border-radius: 10px;
	font-size: 15px;
	color: #F1666A;
	text-transform: uppercase;
	font-family: Lexend, sans-serif;
}

#rolemodel-search-results-container h4 {
	color: white;
	font-family: Lexend, sans-serif;
	margin-bottom: 20px;
}

#rolemodel-search-results-container p {
	margin-bottom: 50px;
	color: white;
	font-family: Lexend, sans-serif;
	font-size: 14px;
}

#rolemodel-search-results-container ul {
	margin-left: 0;
	font-family: Lexend, sans-serif;
	font-size: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style-type: none;
}

#rolemodel-search-results-container li {
	background: white;
	color: #00ACEC;
	padding: 5px;
	border-radius: 10px
}


#map-container {
	display: flex;
	margin-top: 50px;
	margin-bottom: 50px;
	
}

#map {
	z-index: 2;
}
.filters {
	width: 30%;
	padding: 20px;
	background: #F1666A;
	border-radius: 10px;
	color: white;
	margin: 0px 20px;
}

.filters h3{
	color: white;
}


.funding, .funded {
	position: absolute;
	bottom: 0;
	background-color: red;
	color: white;
	width: 100%;
	left: 0;
	border-radius: 0px 0px 5px 5px;
	min-height: 40px;
}

.fund-text {
	font-family: Lexend, sans-serif;
	font-size: 1.5em;
	padding: 10px;
	text-align: center;
}

.funded {
	background-color: deepskyblue;
}

.funding{
	background-color: red;
}

.price-range-slider {
	margin-top: 20px;
}

#funding-slider {
	width: 80%;
	margin: 10px auto;
}

.slider-values {
	text-align: center;
	font-weight: bold;
}

.search-btn {
	background: #00ACEC;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
}

.funding-title, .funding-subtitle {
	color: white;
}

.funding-subtitle 
{
	font-size: 14px;
}



input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-content: center;
	justify-content: center;
	font-size: 2rem;
	padding: 0.1rem;
	border: 0.25rem solid #00ACEC;
	background-color: white;
	border-radius: 0.5rem;
}

	input[type="checkbox"]::before {
		content: "";
		width: 1.4rem;
		height: 1.4rem;
		clip-path: polygon( 14% 44%, 28% 30%, 40% 42%, 70% 12%, 86% 28%, 44% 70%, 12% 38% );
		transform: scale(0);
		background-color: #00ACEC;
	}
	input[type="checkbox"]:checked::before {
		transform: scale(1);
	}
	input[type="checkbox"]:hover {
		color: black;
	}

/*Slider*/
.ui-state-default, .ui-widget-content .ui-state-default{
	background: #00ACEC;
	border: none
}

.ui-widget.ui-widget-content {
	
	background: white;
}

.ui-slider-horizontal .ui-slider-range {
	background: #0e83ae;
	border: none;
}