span.static_page_element.text {
	text-align: center;
}

#contact_map,
#contact_map_single_location {
	margin-top: 1em;
}
#contact_map h2 {
	text-align: left;
}
#contact_locations {
	display: none;
}
h4 {
	font-size: 1.8rem !important;
}

form.contact table,
form.contact table tbody,
form.contact table tbody tr,
form.contact table tbody tr th,
form.contact table tbody tr td {
	display: block;
	padding: 0;
}
form.contact table {
	width: 100%;
}
form.contact table tbody {
	margin-left: -0.5em;
	margin-right: -0.5em;
}
form.contact table tbody tr {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	width: 100%;
	margin-bottom: 1em;
	padding-left: 0.5em;
	padding-right: 0.5em;
}
form.contact table tbody tr th {
	font-weight: normal;
}
form.contact table tbody tr.submit td {
	text-align: right;
}
form.contact table tbody tr td input[type=text],
form.contact table tbody tr td textarea {
	width: 100%;
}

form.contact table tbody tr.column-count-2 {
	width: 50%;
}
form.contact table tbody tr.column-count-3 {
	width: 33.33%;
}
form.contact table tbody tr.multiple_selection {
	background-color: white;
	/*color: #231f20;*/
	margin-left: 0.5em;
	margin-right: 0.5em;
	padding: 1em;
	display: block;
	width: auto;
}
form.contact table tbody tr.multiple_selection th {
	padding: 5px;
}
form.contact table tbody tr.multiple_selection td ul {
	list-style: none;
	padding: 5px;
	margin: 0;
	display: block;
	-moz-column-gap: 30px;
	-moz-column-count: 4;
	-webkit-column-gap: 30px;
	-webkit-column-count: 4;
	column-gap: 30px;
	column-count: 4;
	color: #666;
	font-size: 14px;
}
form.contact table tbody tr.multiple_selection td ul li {
	display: block;
}
form.contact table tbody tr.multiple_selection td ul li label {
	display: inline-block;
	padding-left: 1.5em;
	text-indent: -1.5em;
}

form.contact table tbody tr.invalid input[type=text],
form.contact table tbody tr.invalid textarea,
form.contact table tbody tr.multiple_selection.invalid {
	border-color: red;
	box-shadow: 0 0 0.3em rgba(255, 0, 0, 0.2);
}
#contact_page_header {
	margin-left: auto;
	margin-right: auto;
	text-align: centre;
	font-size: 120%;
}
#location_details .location {
	padding: 1.25rem 0;
}
#location_details .location .address-and-description {
	display: block;
	margin: 1.25rem auto;
}
#location_details .location .address-and-description > .address,
#location_details .location .address-and-description > .description {
	display: inline-block;
	box-sizing: border-box;
	width: 50%;
	vertical-align: top;
	font-size: 1.5rem;
}
#location_details .location .address-and-description > .address {
	padding-right: 1.25rem;
}
#location_details .location p {
	margin-left: 1em;
}
#location_details .location h3,
#location_details .location h3 + .name {
	text-align: center;
}
#location_details .location h3 + .name {
	margin-top: 0;
}
.contact_form_width {
	width: 65%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.person-and-address {
	display: table;
	width: 100%;
}
.person-and-address .person-and-address-person,
.person-and-address .person-and-address-address {
	display: table-cell;
	vertical-align: top;
}
.person-and-address .person-and-address-person {
	width: 60%;
}
.person-and-address .person-and-address-address {
	width: 40%;
	padding-left: 0.5rem;
	box-sizing: border-box;
}
.person-and-address .person-and-address-person .person-thumbnail {
	width: 100%;
	padding-bottom: 100%;
}
#location_details .location .address {
	font-size: 100%;
	line-height: 1.2;
}
@media screen and (max-width: 1024px) {
	#narrow_container {
		padding-left: 0em !important;
		padding-right: 0em !important;
	}	
	.contact_form_width {
		width: 93%;
		margin-bottom: 1.5em;
	}
	#footer {
		margin-top: 6em !important;
	}
}
@media screen and (max-width: 800px) {
	.contact_form_width {
		width: 100%;
	}
}
@media screen and (max-width: 740px) {
	.contact_form_width {
		width: 79%;
	}
	#footer {
		margin-top: 7.5em !important;
	}
}
@media screen and (max-width: 517px) {
	.person-and-address-address .address {
		display: block;
	}
	.person-and-address-address .address + .address {
		margin-top: 1em;
		padding-left: 0;
	}
	.contact_form_width {
		width: 91%;
		font-size: 2em;
		margin-top: -1.2em;
		padding-bottom: 0.5em;
	}
	.contact_form_width p {
		font-size: 1.2 em;	
	}
	#content_page_content {
		padding-top: 0.5em;
		padding-bottom: 0.5em;	
	}
	#footer {
		margin-top: 7.7em !important;
	}
}
#location_details .location .address a {
	text-decoration: underline;
	color: inherit;
}