
/* contact form */
.contact-form {
	width: 100%;
	display: block;
	max-width: 1450px;
	margin: 0 auto;
}

#formpage {margin: 0 auto; font-family: 'Saira', sans-serif; padding: 3em;}

#formpage div {
	padding:6px;
	font-family: 'Saira', sans-serif;
	font-weight: 500;
}

#formpage input {
	padding:10px;
	border:1px solid #dadada;
	background:#fff;
	border-radius: 0;
	height: 45px;
	width: 100%;
	margin-top: 5px;
	font-family: 'Saira', sans-serif;
}

#formpage textarea {
	padding:10px;
	border:1px solid #dadada;
	color:#000;
	font-size:16px;
	background:#fff;
	margin-top: 5px;
	border-radius: 0;
	font-family: 'Saira', sans-serif;
	width:100%;
    height:150px;
}

#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;
	font-size:16px;
	border-radius: 0;
	padding:10px;
	width:100%;
	font-family: 'Saira', sans-serif;
}

.formfield {
	width:50%; 
	float:left; 
	margin-right: 12px; 
	margin-top: 10px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 2;
}

.formfield.third {
	width: 33.33%;
}

.formfield span.fas, .textbox span.fas {
	float: right;
	color: #1b2754!important;
	font-size: 10px;
	line-height: 20px;
}
.formfield .fas, #formpage .textbox .fas {margin-right: 5px;}
 
#formpage input.larger {
    width:100%;
}

#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;
 }

/* focus states of various types of fields */
#formpage input:focus,
#formpage textarea:focus,
#formpage select:focus {
	background:#fff; 
	border:1px solid #25346e;
	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 {
    width: 240px;
	display: inline-block;
    line-height:20px;
    color:#fff;
	background: #1b2754; 
	padding: 7px 0px;
	margin: 0;
	font-size: 14px;
	text-decoration:none; 
	text-transform: uppercase;
	font-family: 'Saira', 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;
}


/*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: 100%; max-width: 400px; text-align: center; }

.CaptchaImagePanel {
margin: 0 auto;	
text-align: center !important;	
margin-top: 10px;
padding:0 0 0 0;
}
.CaptchaImagePanel img {max-width: 200px;}

.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: 900px) {
	#formpage {padding: 2.5em;}
	.formfield, .formfield.third {width: 100%; float: none;}
}