/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Heading style */
h1 {
	font-size: 1.17rem;
}

fieldset {
	background-color: #e5e5e5;
	border: none;
	border-radius: 0.5rem;
	margin: 0;
}

/* Form labels */
label {
	display: block;
	margin-block: 1.25rem 0.25rem;
}

input[type="text"], input[type="email"] {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	height: 40px;
	margin-block-end: 0.5rem;
	border: solid lightgray 1px;
}

select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	height: 40px;
	margin-block-end: 0.5rem;
	border: solid lightgray 1px;
}

#search_input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	height: 40px;
	margin-block-end: 0.5rem;
	border: solid lightgray 1px;
}

/* Default button styles */
button {
	padding: 0.5rem 1rem;
	border: none;
	background-color: #292929;
	color: #fff;
	font-family: sans-serif;
	font-weight: bold;
}

/* Postcode/address input and button wrapper */
.search_wrap {
	display: flex;
	gap: 0.5rem;
}

/* Postcode/address text input - Remove margin-block-end */
.search_wrap #txt_search {
	margin: 0;
}

/* Address search select container */
#address_selection_container {
	margin-block-start: 0.5rem;
}

/* No address result message */
#no_result_message {
	background-color: #292929;
	color: #fff;
	padding: 0.5rem;
}

/* Set the body tag defaults */
body {
	font-family: sans-serif;
}
