/*******************************************************************
	SPECIALS
*******************************************************************/
#specials .special {
	overflow: hidden;
	clear: both;
	padding-bottom: 5px;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	margin: 20px 0;
}

#specials .special:first-child {
	margin-top: 50px;
}
#specials .special:last-child {
	border-bottom: none;
}

#specials h2 {
	margin-top: 0;
}

#specials .photoborder {
	max-width: 40%;
}

#content .page-content {
	background: #333;
	background: rgba(0,0,0,0.70);
	padding: 155px 80px 50px 80px;
}

footer {
	box-shadow: none;
}

#container {
	position: absolute;
	width: 100%;
	height: 100%;
}

#content .content{
	float: right;
}

/*******************************************************************
  Portfolio
*******************************************************************/
/*
#content .portfolio #viewallWrap {
	border-bottom: 1px solid #c73232;
	margin: 0 0 10px 0;
	padding: 10px 0 20px 0;
}

#content .portfolio #viewall {
	color: #FFFFFF;
	background: #c73232;
	text-transform: uppercase;
	margin: 0 0 10px 0;
	padding: 10px 20px 7px 20px;
	text-decoration: none;
}

#content .portfolio #viewall:hover {
	background: #fff;
	color: #c73232;
}
*/

#content .portfolioList {
	margin: 40px 0 0 0;
}

#content .portfolio form {
	overflow: hidden;
}

#content .portfolio form#property-search {
	padding: 0 0 10px 0;
}

#content .portfolio form#property-search-keyword {
	padding: 30px 0 20px 0;
}

#content .portfolio form > div {
	float: left;
	height: 50px;
	margin-right: 20px;
}

#content .portfolio form > div:last-of-type {
	float: right;
	margin-right: 0;
}

#content .portfolio form label {
	display: block;
}

#content .portfolio form input[type="text"] {
	width: 240px;
}

#content .portfolio form label,
#content .portfolio form select,
#content .portfolio form input[type="text"] {
	font-size: 12px;
}

#content .portfolio form input[type="submit"] {
	background: #c73232;
	border: none;
	color: #FFFFFF;
	margin: 7px 3px 7px 0;
	padding: 7px 20px;
	text-decoration: none;
}

#content .portfolio form input[type="submit"]:hover {
	color: #c73232;
	background-color: #FFFFFF;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

#searchDivider {
	border-bottom: 1px solid #c73232;
	text-align: center;
}

#searchDivider span {
	background: #FFFFFF;
	font-weight: bold;
	position: relative;
	padding: 0 10px;
	top: 9px;
}

#resultsNotice {
	border-top: 1px solid #c73232;
	display: block;
	margin: 10px 0 25px 0;
	padding: 15px 0 0 0;
}

#content .portfolio h2 {
	background: #616161;
	border-bottom: 1px solid #717171;
	color: #FFFFFF;
	font-size: 16px;
	margin: 0 0 5px 0;
	padding: 10px 0 10px 40px;
	background-image: url(images/plus.png);
	background-repeat: no-repeat;
	background-position: 10px 10px;
}

#content .portfolio h2:hover {
	background-color: #c73232;
	cursor: pointer;
}

#content h2#portfolioMap,
#content .portfolio h2#searchTitle {
	background: #c73232;
	border: none;
	color: #FFFFFF;
	font-size: 20px;
	margin: 25px 0;
	padding: 10px 0 10px 10px;
}

.location {
	border-bottom: 1px solid #616161;
	display: none;
	overflow: hidden;
	padding: 30px 0;
	width: 100%;
}

.locImage {
	float: right;
	max-width: 35%;
}

.locImage img {
	border: 1px solid #616161;
	height: 100px;
	width: 100px;
}

.locInfo {
	float: left;
	width: 65%;
}

.locInfo h3 {
	font-size: 16px;
	margin: 0;
}

.portfolio .contact {
	float: right;
	width: 35%;
	text-align: right;
}

#map-canvas, #map_canvas {
	height: 100%;
	margin-bottom: 20px;
	min-height: 350px;
}

#map-canvas img {
	max-width: none;
}

#panel {
	position: absolute;
	top: 5px;
	left: 50%;
	margin-left: -180px;
	z-index: 5;
	background-color: #fff;
	padding: 5px;
	border: 1px solid #999;
}

.markerAddressText {
	color: #000000;
}

@media handheld, only screen and (max-width: 875px) {
	.mapWrap {
		padding: 0 25px;
	}
}

@media handheld, only screen and (max-width: 520px) {
	.mapWrap {
		padding: 0 25px;
	}
}

/*******************************************************************
  CONTACT FORM
*******************************************************************/
#contact {
	margin: 0 0 20px 0;
}

#contact h2 {
	margin: 0 0 20px 0;
}

#contact label {
	display: block;
}

#contact span {
	display: block;
	font-size: 11px;
}

#contact #captcha {
	display: block;
	margin: 0 0 10px 0;
}

#contact #reload {
	font-size: 12px;
}

/* Contact form inputs and text areas*/
#contact.contact-old input[type='text'], #contact.contact-old textarea {
	max-width: 50%;
	border: 1px solid #cccccc;
	padding: 0.25em 0.5em;
	background-color: white;
	font-family: inherit;
	color: rgba(0, 0, 0, 0.75);
	-webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
	-moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
	transition: box-shadow 0.45s, border-color 0.45s ease-in-out; 
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Resizes the text area*/
#contact textarea {
	width: 90%;
	max-width: 95%;
	height: 150px;
}

/* Removes the Chrome outline on focus, and produces an animation*/
#contact input[type='text']:focus, #contact textarea:focus {
	-webkit-box-shadow: 0 0 5px #999999;
    -moz-box-shadow: 0 0 5px #999999;
    box-shadow: 0 0 5px #999999;
    border-color: #999999; 
    border-color: #999999;
    outline: none;
}

#contact fieldset ul {
	margin: 0;
	padding: 0;
}

#contact fieldset label {
	display: inline;
	list-style: none;
	margin: 0 20px 0 0;
	padding: 0;
}

#contact fieldset label input[type="radio"],
#contact fieldset label input[type="checkbox"] {
	margin: 0 5px 0 0;
}

/* Submit button for the form*/
#contact .submit {
	display: inline-block;
	width: 180px;
	margin-top: 1px;
	border: none;
	padding: 10px 25px 10px 25px;
	background-color: #000;
	font: bold 18px/14px 'Lato', Arial, sans-serif;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	vertical-align: middle;
}

/* Submit hover state*/
#contact .submit:hover {
	color: #000;
	background-color: #fff;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

/* Contact form error messages*/
#contact strong.required, #contact div.error {color: #ff0000; padding-bottom: 10px;}

/* Displays a GIF loading animation once the form is submitted*/
#contact .throbber {
	display: none;
	padding-left: 10px;
}

/* Surrounds the inputs witha  red border if an error is found on submit*/
#contact input.error,#contact textarea.error {border: 1px solid #ff0000 !important}

/* Hides error messages above individual inputs*/
#contact p.error {display: none !important} 

/* The contact form success container. Displays a thank-you messgae*/
.form_success {
	display: none;
}

/*******************************************************************
  LEADERSHIP
*******************************************************************/
.innerBoxStaff {
	overflow: hidden;
}

.innerBoxStaff {
	border-bottom: 1px solid #8C9192;
	padding-bottom: 30px;
}

.innerBoxStaff img {
	float: right;
	margin: 0 0 30px 30px;
}

/*******************************************************************
  MEDIA QUERIES
*******************************************************************/
@media handheld, only screen and (max-width: 1530px) {
	#content .portfolio form > div:last-of-type {
		float: left;
	}
}

@media handheld, only screen and (max-width: 800px) {

	#content {
		text-align: center;
	}

	#content {
		text-align: left;
	}

	header {
		box-shadow: none;
	}

	#content .page-content {
		position: relative;
		padding: 25px 25px 25px 25px;
		margin-bottom: 18px;
	}

	.side {
		display: none;
	}
}
@media handheld, only screen and (max-width: 600px) {
	#contact a.reload {
		display: block;
	}

	#contact .submit {
		margin: 0 auto;
	}

	#content .content ul#video-grid {
		margin-left: 0;
	}

	#video-grid li.video {
		width: 100%;
	}

	.locImage {
		float: none;
		width: 100%;
		text-align: left;
		margin-bottom: 10px;
	}

	.locInfo {
		float: none;
		width: 100%;
		margin-right: 0;
	}
}






/* new web form - 2024-09-02 */

.webform {
	display: flex;
	flex-direction: column;
	gap: 1em;
	max-height: 4000px;
	overflow: hidden;
	opacity: 1;
}

.webform.webform--success {
	height: 0;
	max-height: 0;
	opacity: 0;
	transition: all 0.3s; 
}

.webform__row {
	column-gap: 1em;
	display: grid;
	row-gap: 1em;
}

.webform__row--cols-2 { grid-template-columns: 1fr 1fr; }
.webform__row--cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.webform__row--cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 640px) {
	.webform__row--cols-vw200-1 { grid-template-columns: 1fr; }
}

.webform__item {
	position: relative;
}

.webform__item fieldset {
	border: none;
}

.webform__item legend {
	color: #fff;
	margin-bottom: 0.5em;
}

.webform__item label {
	color: #fff;
}

.webform__item fieldset.webform__fieldset--horizontal {
	display: flex;
	gap: 1em;
}

.webform__item fieldset .webform__fieldset__item {
	display: flex;
	gap: 0.25em;
	padding-block: 0.75em;
}

.webform__item fieldset.webform__fieldset--vertical {
	display: flex;
	gap: 0.5em;
	flex-direction: column;
}

.webform__item fieldset.webform__fieldset__item {
	display: flex;
	gap: 0.25em;
}

.webform__item fieldset legend {
	margin-bottom: 0.8em;
}

.webform__item > label {
	color: #fff;
	margin-bottom: 0.5em;
	display: block;
	width: max-content;
}
.webform__item > label.required {
	color: firebrick;
}

.webform__item > label.webform__item--label-hide label {
	display: none;
}


.webform__item input[type='text'],
.webform__item input[type='email'],
.webform__item input[type='date'],
.webform__item textarea,
.webform__item select {
	color: #000;
	background-color: #ccc;
	border: 1px solid #ccc;
	padding: 0.75em;
	transition: all 0.3s;
	width: 100%;
}

.webform__item input[type='text'].webform__error,
.webform__item input[type='email'].webform__error,
.webform__item input[type='date'].webform__error,
.webform__item textarea.webform__error,
.webform__item select.webform__error {
	border-color: firebrick;
	background-color: #f5dede;
}


.webform__item textarea {
	min-height: max(140px, 17vh);
	min-width: 100%;
}

.webform__submit--loading.webform__submit__text {
	opacity: 0;
	visibility: hidden;
}

.webform__submit--loading.webform__submit__text:after {
	animation: spinner 1s ease infinite;
	border: 0.25em solid transparent;
	border-radius: 50%;
	border-top-color: #fff;
	content: "";
	height: 1.5em;
	inset: 0;
	margin: auto;
	position: absolute;
	width: 1.5em;
}

.webform__item__error {
	color: firebrick;
	bottom: 1px;
	font-size: 1rem;
	pointer-events: none;
	position: absolute;
	right: 2px;
}

.webform__captcha input[type='text'] {
	width: 50px;
}

.webform__captcha input[type='text'].webform__error {
	border-color: firebrick;
	background-color: #f5dede;
}

#mathQuestion {
	align-items: center;
	display: flex;
	gap: 0.5em;
}


.webform-thanks {
  color: #fff;
  opacity: 0;
  transition: all 0.5s;
}

.webform-thanks.webform-thanks--visible {
	opacity: 1;
}

.webform-error {
	display: block;
	width: 100%;
	z-index: -1;
	background: firebrick;
	opacity: 0;
	position: fixed;
	top: 0;
	transition: all 0.5s;
}

.webform-error.show {
    opacity: 1;
    z-index: 30000;
}

.webform-error__content {
	position: relative;
	width: 100%;
	max-width: 1024px;
	padding: 0.65em 3em;
	margin: 0 auto;
	text-align: center;
	min-height: 47px;
}

 .webform-error__content p {
    font-size: 1.1rem;
    line-height: 1.4rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}
