
.contact-form {
	width: 100%;
	display: block;
	max-width: 1400px;
	margin: 0 auto;
	margin-top: 15px;
	margin-bottom: 50px;
	/*border-top: 3px solid #f1f1f1;*/
	background: #f1f1f1;
	/*box-shadow: 0px 3px 10px rgba(0,0,0,0.1)!important;*/
}

.contact-form h1 {text-align: center; display: block; padding-top: 1.5em;}

.contact-form p {
    padding: 1.5em 2em 3em;
    display: block;
    line-height: 26px;
    font-weight: 600;
    color: #000;
	border-bottom: 1px solid #ccc;
	text-align: center;
}

.contact-form p .fas {
	margin-right: 7px;
}

.contact-form p span.fa {
	color: #497a39;
	font-size: 12px;
	line-height: 30px;
}

.contact-form p a {
	text-decoration: none;
	color: #497a39;
}

#formpage { vertical-align:top; margin: 0 auto; font-family: urw-din, sans-serif, sans-serif; padding: 40px;}

#formpage div {
	vertical-align:top;
	padding:6px;
	font-family: urw-din, sans-serif, 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;
	width: 100%;
	margin-top: 5px;
	font-family: urw-din, sans-serif, 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: urw-din, sans-serif, sans-serif;
}

#formpage textarea:active, #formpage textarea:focus {
	background: #fff;
	border: 1px solid #313233;
}

/* 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:#000;
	vertical-align:middle;
	font-size:16px;
	line-height:normal;
	padding:10px;
	width:100%;
	background: #fff;
	font-family: urw-din, sans-serif, sans-serif;
}

.formfield {
	width:50%; 
	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: #497a39!important;
	font-size: 10px;
	line-height: 20px;
}

.formfield .fas {
	color: #497a39!important;
}
 
#formpage input.larger, #formpage .formfield.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: #497a39;
}

/* 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 {
    width: 240px;
	display: inline-block;
    line-height:20px;
    color:#fff;
	background: #000;
	font-weight: 900;
	padding: 7px 0px;
	margin: 0;
	font-size: 14px;
	text-decoration:none; 
	text-transform: uppercase;
	font-family: urw-din, sans-serif, sans-serif;
	letter-spacing: 1px;
	transform: none!important;
}

#formpage input.button:hover {
	display: inline-block;
    background: #497a39; 
    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: 900px) {
	#formpage {padding: 20px;}
	.contact-form p {font-size: 14px; line-height: 24px;}
	.formfield {width: 100%; float: none;}
	.contact-form #formpage h3 {font-size: 16px!important;}
	.CaptchaPanel {width: 100%;}
}

