.pageformat {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.inclformat {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.textheader {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #FF0000;
}
h1 {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 18px;
	font-weight: bold;
	padding: 11px;
}
#content_area_div {
	width: 90%;
	margin: 0 auto;
	padding: 15px 0 25px;
}

.thankyou-content {
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.thankyou-content h1 {
	margin: 0 0 18px;
}

.thankyou-content p {
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}

#content_area_div h1 {
	margin-top: 0;
	text-align: center;
}

#content_area_div p {
	line-height: 1.5;
}

/* Shared content area */

#content_area_div {
	width: 90%;
	margin: 0 auto;
	padding: 14px 0 24px;
}

.form-content h1 {
	margin: 0 0 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #dddddd;
	font-size: 23px;
	font-weight: normal;
}

.form-intro {
	margin: 10px 0 18px;
	line-height: 1.45;
}

/* Contact and quote forms */

.site-form {
	width: 100%;
	margin: 0;
}

.form-row {
	width: 100%;
}

.form-row-two {
	display: flex;
	gap: 10px;
}

.form-row-two > .form-field {
	flex: 1 1 0;
	min-width: 0;
}

.form-field {
	margin: 0 0 14px;
}

.form-field label,
.address-fields legend {
	display: block;
	margin: 0 0 5px;
	font-weight: bold;
}

.site-form input,
.site-form textarea,
.site-form select {
	width: 100%;
	box-sizing: border-box;
	padding: 7px 8px;
	border: 1px solid #aaaaaa;
	border-radius: 3px;
	background: #ffffff;
	color: #222222;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}

.site-form input:focus,
.site-form textarea:focus,
.site-form select:focus {
	border-color: #38368a;
	outline: 2px solid rgba(56, 54, 138, 0.18);
	outline-offset: 1px;
}

.site-form textarea {
	min-height: 130px;
	resize: vertical;
}

.address-fields {
	margin: 4px 0 16px;
	padding: 13px 12px 0;
	border: 1px solid #cccccc;
}

.address-fields legend {
	padding: 0 5px;
}

.required {
	color: #b00000;
}

.spam-question input {
	max-width: 90px;
}

.form-actions {
	margin-top: 4px;
}

.form-actions button {
	padding: 8px 18px;
	border: 1px solid #777777;
	border-radius: 3px;
	background: #eeeeee;
	color: #111111;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	cursor: pointer;
}

.form-actions button:hover,
.form-actions button:focus {
	background: #dddddd;
}

.form-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.site-form fieldset {
	margin: 0 0 18px;
	padding: 13px 12px 2px;
	border: 1px solid #cccccc;
}

.site-form legend {
	padding: 0 6px;
	font-weight: bold;
	color: #38368a;
}

.form-row-three {
	display: flex;
	gap: 10px;
}

.form-row-three > .form-field {
	flex: 1 1 0;
	min-width: 0;
}

.quote-content .form-intro {
	margin-bottom: 10px;
}

/*
 * The site itself is fixed-width, but this keeps the form sane if the
 * surrounding layout is modernized later.
 */
@media screen and (max-width: 540px) {
	.form-row-two {
		display: block;
	}

	#content_area_div {
		width: 92%;
	}
}