.multiSearchForm {
	padding: 0;
	margin: 0;
}

.multi-search-bar {
  color: #582c83;
  width: 100%;
  height: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 25px;
  position: relative;
  margin: auto;
}
.multi-search-bar input {
  height: 100%;
  background-color: white;
  border: 1px solid #e6e9ec;
  padding: 1em 1.5em;
  border-radius: 30px;
  font-size: 1.1rem;
  color: #444;
}
.multi-submit-icon {
  color: #582c83;
  margin: 0.3em 1em 1em 1em;
  cursor: pointer;
  background-color: #f8f8f8;
  border-radius: 60px;
  padding: 1em;
  height: fit-content;
  width: fit-content;
}
.multi-submit-icon:hover {
	background-color: #582c83;
	color: white;
	transition: 0.3s ease-in-out;
}
.multi-search-options {
	width: 100%;
	margin: auto;
	text-align: center;
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}
.multi-search-options label {
	line-height: 1;
	font-size: 0.9rem;
	display: inline-block;
	margin-right: 10px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	padding: 0.75em 0em 0.25em 0em;
	margin-right: 0;
	width: 100%;
}
.multi-search-options legend {
	text-align: center;
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	margin-right: 15px;
	width: 100%;
	padding: 0.75em 0.75em 0.25em 0.75em;
	margin-right: 0;
	margin-bottom: 0px;
}
.multi-search-container {
	width: 100%;
	display:flex;
	flex-direction:row;
}

@media screen and (min-width: 500px and max-width: 40em) {
	.multi-search-options legend {
		width: fit-content;
	}
}

@media screen and (min-width: 40em) {
	.multiSearchForm {
		padding: 1em 0em;
		margin: 1em 0em;
	}
	.multi-search-bar {
		width: 90%;
	}
	.multi-search-options {
		margin-bottom: 0px;
		flex-direction: row;
	}
	.multi-search-options legend {
		width: fit-content;
		padding: 0.75em 0.75em 0.25em 0.75em;
		margin-right: 15px;
		margin-bottom: 15px;
	}
	.multi-search-options label {
		font-size: 1rem;
		margin-right: 15px;
		margin-right: 10px;
		width: fit-content;
	}
}

.multiSearchForm.search-toggle .multi-search-bar input {
	visibility: hidden;
	width: 0px;
	padding: 0;
	margin-left: -10px;
	margin-right: 10px;
	margin-bottom: 8px;
}

.multiSearchForm.search-toggle .multi-search-options {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

.multiSearchForm.search-toggle .multi-search-options legend {
	padding: 0.75em 0em 0.25em 0em;
	vertical-align: middle;
	margin-bottom: 0.4em;
	width: 100%;
	margin-right: 0;
}

.multiSearchForm.search-toggle .multi-search-options label:has(> input:checked) {
	border-bottom: 2px solid #582c83;
	background-color: #f8f8f8;
	padding: 0.75em 0.75em 0.25em 0.75em;
}

.multiSearchForm.search-toggle .multi-search-options label {
	cursor: pointer;
	padding: 0.75em 0.75em 0.25em 0.75em;
	margin-right: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	line-height: 1.2;
	border-bottom: 2px solid #e6e9ec;
	border-radius: 5px 5px 0 0;
	margin-bottom: 5px;
}

.multiSearchForm.search-toggle .multi-search-options label:hover {
	background-color: #fafafa;
	border-bottom: 2px solid #c2c2c2;
	transition: 0.4s ease-in-out;
}

@media screen and (min-width: 40em) {
	.multiSearchForm.search-toggle .multi-search-options {
		flex-direction: row;
	}
	.multiSearchForm.search-toggle .multi-search-options legend {
		padding: 0.75em 0.75em 0.25em 0.75em;
		width: fit-content;
		margin-right: 15px;
	}
	.multiSearchForm.search-toggle .multi-search-options label {
		margin-right: 10px;
		width: fit-content;
		margin-bottom: 0px;
	}
}
