/* contact form */


.contact-form {
	float: right;
	width: 58%;
	display: block;
	max-width: 1100px;
	margin: 15px 0;
	background: rgba(255, 255, 255, .85);
	/*border-top: 3px solid #f1f1f1;
	box-shadow: 0px 3px 10px rgba(0,0,0,0.1)!important;*/
}

.contact-form p {
	padding: 3rem;
	display: block;
	line-height: 30px;
	font-weight: 600;
	color: #000;
	border-bottom: 1px solid #eeeeee;
}

.contact-form p .fas {
	margin-right: 7px;
}

.contact-form p span.fa {
	color: #a31e21;
	font-size: 12px;
	line-height: 30px;
}

.contact-form p a {
	text-decoration: none;
	color: #a31e21;
}

#formpage {
	vertical-align: top;
	margin: 0 auto;
	font-family: 'Open Sans', sans-serif;
	padding: 40px;
	/* border-left: 1px solid #ddd; */
}

.formam {
	padding-top: calc(40.625rem + ((1vw - 9.6px) * -7.8125)) !important;


}

#formpage div {
	vertical-align: top;
	padding: 6px;
	font-family: 'Quantico', sans-serif;
	line-height: 20px;
	font-weight: 500;
	font-size: 16px;
}

#formpage input {
	padding: 6px 5px 10px;
	border: 1px solid #dadada;
	font-size: 14px;
	background: #fff;
	border-radius: 5px;
	width: 100%;
	margin-top: 5px;
	font-family: 'Open Sans', sans-serif;
}

#formpage textarea {
	padding: 6px 6px;
	border: 1px solid #dadada;
	color: #000;
	font-size: 16px;
	background: #fff;
	margin-top: 5px;
	border-radius: 5px;
	font-family: 'Open Sans', sans-serif;
}

#formpage textarea:active,
#formpage textarea:focus {
	background: #fff;
}

/* selects have similar styles to input & textarea fields, but with no padding. Text in a dropdown select is positioned differently */
#formpage select {
	border: 1px solid #dadada;
	color: #202e3b;
	vertical-align: middle;
	font-size: 16px;
	border-radius: 5px;
	line-height: normal;
	padding: 10px;
	width: 100%;
	font-family: 'Open Sans', sans-serif;
}

.formfield {
	width: 100%;
	float: left;
	margin-right: 12px;
	margin-top: 10px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 2;
}

.formfield span.fas,
.textbox span.fas {
	float: right;
	color: #a31e21 !important;
	font-size: 10px;
	line-height: 20px;
}

#formpage input.larger {
	width: 100%;
}

#formpage textarea {
	width: 100%;
	height: 150px;
	border-radius: 5px;
}

#formpage input.checkbox {
	padding: 0;
	border: 0;
	margin: 0 5px 0 15px;
	width: 15px;
	height: 15px;
	display: inline;
	background-color: #fff;
	color: black;
	text-transform: uppercase;
}


#formpage input.radio {
	padding: 0;
	border: 0;
	margin: 0 5px 0 0;
	width: 15px;
	height: 15px;
	display: inline;

}

#formpage .textbox {
	display: inline-block;
	width: 100%;
	text-align: left;
}

#formpage .textbox .fas {
	margin-right: 5px;
	color: #a31e21;
}

/* focus states of various types of fields */
#formpage input:focus,
#formpage textarea:focus,
#formpage select:focus {
	background: #fff;
	border: 1px solid #abacac;
	outline-style: none;
}

#formpage input.radio:focus,
#formpage input.checkbox:focus {
	background: none;
	border: 0;
	outline-style: none;
}

#formpage input.button,
#formpage input.button:focus,
a.standardbtn,
.formstuff input.button,
.formstuff input.button:focus {
	width: 240px;
	display: inline-block;
	line-height: 18px;
	color: #fff;
	background: #282871;
	padding: 10px 0px;
	margin: 0;
	font-size: 16px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Quantico', sans-serif;
	letter-spacing: 1px;
	transform: none !important;
}

#formpage input.button:hover {
	display: inline-block;
	background: #000;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: all .45s ease;
	-moz-transition: all .45s ease;
	-ms-transition: all .45s ease;
	-o-transition: all .45s ease;
	transition: all .45s ease;
}

/* for plain text next to an input field, if not using a table structure */
#formpage label.basic {
	color: #212121;
	font-size: 13px;
	text-align: left;
}

/*control the Captcha */
#formpage .captcha .CaptchaWhatsThisPanel a {
	text-align: center !important;
	margin-top: 10px;
}

.CaptchaPanel {
	margin: 0 auto !important;
	padding: 0 0 0 0 !important;
	line-height: normal !important;
	color: #000;
	width: 50%;
	text-align: center;
}

.CaptchaImagePanel {
	margin: 0 auto;
	text-align: center !important;
	margin-top: 10px;
	padding: 0 0 0 0;
}

.CaptchaMessagePanel {
	padding: 0 0 0 0 !important;
	margin: 0 0 0 0 !important;
	font-weight: normal !important;
	font-size: 12px;
	line-height: 22px !important;
	text-align: center;
}

.CaptchaAnswerPanel {
	margin: 0 0 0 0;
	padding: 2px 0px 2px 0px !important;
}

.CaptchaWhatsThisPanel {
	line-height: 0;
	margin: 0 0 10px 0;
	padding: 10px 0 10px 0 !important;
}

.CaptchaWhatsThisPanel a {
	color: #000;
	text-align: center !important;
	border: none;
}

.CaptchaWhatsThisPanel a:hover {
	text-decoration: none;
	background: none;
	color: #000;
}


/******************** MEDIA QUERIES 
***************************************/
@media screen and (max-width: 960px) {
	.formam {
		padding-top: 100px !important
	}
}

@media screen and (max-width: 800px) {
	#formpage {
		padding: 20px;
	}

	.contact-form p {
		font-size: 14px;
		line-height: 24px;
	}

	.contact-form #formpage h3 {
		font-size: 16px !important;
	}

	.CaptchaPanel {
		width: 100%;
	}

	.contact-form {
		float: none;
		width: 100%;
		border-top: 1px solid #ddd;
	}

	#formpage {
		border-left: none;
	}
}