.clinical-form {
	max-width: 960px;
	margin: 36px auto;
	padding: 0 20px;
	color: #082c48;
}
.clinical-form fieldset {
	border: 1px solid #dbe3eb;
	border-radius: 10px;
	margin: 26px 0;
	padding: 24px;
	background: #fff;
	min-width: 0;
}
.clinical-form legend {
	font-size: 1.25rem;
	font-weight: 700;
	padding: 0 10px;
}
.clinical-form .fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}
.clinical-form .field label {
	display: block;
	margin-bottom: 8px;
}
.clinical-form input:not([type='checkbox']),
.clinical-form select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 10px;
	border: 1px solid #a9bdcd;
	border-radius: 6px;
	background: #fff;
	color: #082c48;
	font: inherit;
}
.clinical-form input:focus,
.clinical-form select:focus {
	outline: 2px solid #008bb9;
	outline-offset: 2px;
}
.clinical-form .consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 24px 0;
}
.clinical-form input[type='checkbox'] {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}
.clinical-form button {
	background: #0088b8;
	color: white;
	border: 0;
	border-radius: 6px;
	padding: 15px 28px;
	font: inherit;
	font-weight: 700;
	width: 240px;
	max-width: 100%;
	box-sizing: border-box;
	cursor: pointer;
}
.clinical-form .notice {
	padding: 20px;
	border: 1px solid #8ab5ad;
	background: #eef8f5;
	border-radius: 8px;
}
.clinical-form .error {
	background: #fff3f3;
	border-color: #c76363;
}
.clinical-form .trap {
	position: absolute;
	left: -10000px;
}
.clinical-form a {
	text-decoration: underline;
}
@media (max-width: 640px) {
	.clinical-form .fields {
		grid-template-columns: 1fr;
	}
	.clinical-form fieldset {
		padding: 18px 14px;
	}
	.clinical-form {
		padding: 0 14px;
	}
}
/* Keep the submit button separated from the site footer. */
main.content-container.clinical-form {
	padding-bottom: 64px;
}

/* Menarche is available only when female is selected. */
#age_at_menarche:disabled {
	background-color: #fafafa;
	color: #777;
	cursor: not-allowed;
}

.clinical-form .field-label {
	margin-bottom: 8px;
}
.clinical-form .field .field-label label {
	display: inline;
	margin-bottom: 0;
}
