/* === Remove input autofocus webkit === */
*:focus {outline: none;}

.contact_form h2, .contact_form label { color:#06C; font-size: 16px; text-align:left; }
.form_hint, .required_notification {font-size: 12px;}

/* === List Styles === */
.contact_form ul {
    width:510px;
    list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
	margin-left:20px;
	margin-top:20px;
}

.contact_form li{
	padding:5px;  
	position:relative;
} 
.trojo{
	color:#F00;
	font-size: 12px; 
}

/* === Form Header === */
.contact_form h2 {
	margin:0; 
	display: inline;
}

.required_notification {
	color:#3399ff; 
	margin:15px 0 0 0; 
	display:inline;
	float:right;
}

/* === Form Elements === */
.contact_form label {
	width:100px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:0px;
}

.contact_form input {
	height:15px; 
	width:220px; 
	padding:5px 8px;
}

.contact_form textarea {padding:8px; width:300px;}
.contact_form button {margin-left:156px;}


	/* form element visual styles */
	.contact_form input, .contact_form textarea { 
		border:1px solid #aaa;
		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;
	}

	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}

/* === HTML5 validation styles === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff url(../img/red_asterisk.html) no-repeat 98% center;
}

.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff url(../img/valid.html) no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #06C;
}

.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff url(../img/invalid.html) no-repeat 98% center;
	box-shadow: 0 0 5px #3399ff;
	border-color: #0000ff
}


/* === Form hints === */
.form_hint {
	background: #09F;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	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:#3399ff;
	position: absolute;
	top:1px;
	left:-6px;
}

.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #06C;}
.contact_form input:required:valid + .form_hint::before {color:#06C;}
	

/* === Button Style === */
button.submit {
	position:absolute;
	margin-right:0px; right:65px; 
	background-color: #09C;
	background: -webkit-gradient(linear, left top, left bottom, from(#09C), to(#06C));
	background: -webkit-linear-gradient(top, #09C, #06C);
	background: -moz-linear-gradient(top, #09C, #06C);
	background: -ms-linear-gradient(top, #09C, #06C);
	background: -o-linear-gradient(top, #09C, #06C);
	background: linear-gradient(top, #09C, #06C);
	border: 1px solid #509111;
	border-bottom: 1px solid #000;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	box-shadow: inset 0 1px 0 0 #0CF;
	-webkit-box-shadow: 0 1px 0 0 #0CF inset ;
	-moz-box-shadow: 0 1px 0 0 #0CF inset;
	-ms-box-shadow: 0 1px 0 0 #0CF inset;
	-o-box-shadow: 0 1px 0 0 #0CF inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #039;
}

button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}

button.submit:active {
	border: 1px solid #3399ff;
	box-shadow: 0 0 10px 5px #039 inset; 
	-webkit-box-shadow:0 0 10px 5px #039 inset ;
	-moz-box-shadow: 0 0 10px 5px #039 inset;
	-ms-box-shadow: 0 0 10px 5px #039 inset;
	-o-box-shadow: 0 0 10px 5px #039 inset;
}

