/* === thank you msg === */
#thank-you-message, #thank-you-msg { visibility: hidden }
#thank-you-message.show, #thank-you-msg.show { visibility: visible }
/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === Form Typography === */
.form_hint, .required_notification {font-size: 12px;}

/* === List Styles === */
.contact_form {
	text-align: left;
	margin-bottom: 12px;
}
.contact_form ul {
    list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
}
.contact_form li{
	padding: 0; 
	position:relative;
} 
.g-recaptcha { height: 130px; }

/* === Form Header === */
.contactgrad h1 {
	margin:0;
	display: inline;
	color: #000;
}
.required_notification {
	color:#d14b27; 
	margin:0px 12px 6px 0; 
	display:inline;
	float:right;
	text-shadow: -1px -1px 1px rgba(0,0,0,.6);
}

/* === Form Elements === */
.contact_form label {
	width:150px;
	margin-top: 3px;
	display:inline-block;
	padding:3px;
}

.contact_form textarea {padding:8px;}

	/* form element visual styles */
	.contact_form input, .contact_form textarea { 
		border:0;
		box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:2px;
		padding-right:30px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
		text-align: left;
		width: 300px;
		border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	color: #888;
	}
	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:40px;
	}

/* === HTML5 validation styles === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff url(../img/contact/red_asterisk.png) no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff url(../img/contact/valid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #390;
	border-color: #390;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff url(../img/contact/invalid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #06e;
	border-color: #06e;
}

/* === Form hints === */
.form_hint {
	background: #66afd4;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 1px 26px;
	z-index: 999; /* hints stay above all other elements */
	position: absolute; /* allows proper formatting if hint is two lines */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#66afd4;
	position: absolute;
	top:1px;
	left:-7px;
}
.form_hint a {
	color: white !important;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #A66848;}
.contact_form input:required:valid + .form_hint::before {color:#A66848;}

.recaptcha_theme_clean {
	background-color: white !important;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	border: none !important;
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	.contact_form input, .contact_form textarea, .contact_form .recaptchatable {
		max-width: 86% !important;
	}
}