/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === Form Typography === */
body }
.contact_form h2, .contact_form label {
	font-family: "Open Sans", sans-serif;
}
.form_hint, .required_notification {font-size: 11px;}

/* === List Styles === */
.contact_form ul {
	width: 90%;
	list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
	
}
.contact_form li{
	padding:15px;
	border-bottom:0px solid #FFF;
	position:relative;
} 
.contact_form li:first-child, .contact_form li:last-child {
	border-bottom:0px solid #777;
}

/* === Form Header === */
.contact_form h2 {
	margin:0;
	display: inline;
}
.required_notification {
	color:#639;
	display:inline;
	float:right;
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	font-size: 10pt;
	font-weight: normal;
}

/* === Form Elements === */
.contact_form label {
	width:0px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
	color: #003;
}
.contact_form input {
	height:40px; 
	width:90%; 
	padding:5px 8px;
}
.contact_form textarea {padding:8px; width:90%; }
.contact_form button {margin-left:0px;}

	/* form element visual styles */
	.contact_form input, .contact_form textarea { 
		border:1px solid #999999;
		
		border-radius:4px;
		padding-right:10px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
	}
	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #4f1c61; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:0px;
	}

/* === HTML5 validation styles === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff url(red_asterisk.png) no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff url(images/valid.png) no-repeat 98% center;
	box-shadow: 0 0 0px #4f1c61;
	border-color: #4f1c61;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff url(images/invalid.png) no-repeat 98% center;
	box-shadow: 0 0 3px #4f1c61;
	border-color: #879d3c
}

/* === Form hints === */
.form_hint {
	background: #4f1c61;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:26px;
	padding: 1px 6px;
	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:#4f1c61;
	position: absolute;
	top:1px;
	left:-6px;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #879d3c;}
.contact_form input:required:valid + .form_hint::before {color:#879d3c;}

.contact_form #question + .form_hint {display: inline;}
	

input[type=checkbox],
 input[type=radio] {
	display: inline-block;
	border:1px solid #879d3c;
	font-size: 15px;
	line-height: 1em;
	margin: 0 0.25em 0 0;
	padding: 0;
	width: 1.25em;
	height: 1.25em;
	-webkit-border-radius: 2px;
	vertical-align: text-top;
 }

 select {
	padding:3px;
	margin: 0;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	border:1px solid #999999;
	color:#333;
	display: inline-block;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	cursor:pointer;
	
}

.style {
   background: transparent;
   width: 228px;
   padding: 0px;
   font-size: 16px;
   line-height: 1;
   border: 0;
   border-radius: 0;
   height: 20px;
   display:inline-block;
   -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
   }
button.submit {
	background-color: #990100;
	border: 0px solid #000;
	border-bottom: 1px solid #000;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	-webkit-box-shadow: 0 0px 0 0 #9fd574 inset;
	-moz-box-shadow: 0 0px 0 0 #9fd574 inset;
	-ms-box-shadow: 0 0px 0 0 #9fd574 inset;
	-o-box-shadow: 0 0px 0 0 #9fd574 inset;
	color: #FFF;
	font-weight: normal;
	text-align: center;
	text-transform: uppercase;
	font-family: "Open Sans", sans-serif;
	text-shadow: 1px 1px 2px #20063a;
	margin-top: 10px;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	font-size: 12pt;
	width: 100px;
}
button.submit:hover {
	border: 0px solid #000;
	border-bottom: 1px solid #000;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	background-color: #003;
}
button.submit:active {
	border: 0px solid #000;
	border-bottom: 1px solid #000;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	background-color: #003;
}
