#contact p, label, legend { font-size: 18px; color:#333; border:none; }

#contact h1 { margin: 0 0 10px; font-size: 19px; color: #333; text-shadow:none; -webkit-box-shadow:none; -moz-box-shadow:none; border:0px; }

#contact {
	display: block;
	width: 425px;
	margin: 20px auto;
	padding: 20px 100px;
	background:#F5F5F5;
	border: 1px #BBB solid;
	-moz-box-shadow:    6px 6px 3px rgba(166, 166, 166, 0.8);
	-webkit-box-shadow: 6px 6px 3px rgba(166, 166, 166, 0.8);
	box-shadow:         6px 6px 3px rgba(166, 166, 166, 0.8);
}

/* Form style */

mark.validate {
	display: inline-block;
	margin: 20px 0 0 10px;
	width: 16px;
	height: 16px;
	background: transparent none;
}
mark.valid {
	background: url(../images/success.gif) no-repeat top left;
}
mark.error {
	background: url(../images/error.gif) no-repeat top left;
}

#contact label {
	display: inline-block;
	float: left;
	height: 1em;
	line-height: 1em;
	padding: 6px 0 0;
	width: 230px;
	font-size: 18px;
	margin: 5px 0;
	clear: both;
	position:relative;
	top:5px;
}

#contact label small {
	font-size: 10px;
	color: #069;
	position:relative;
	left:20px;
	top:-5px;
}

#contact label.verify {
	padding: 0;
	margin: 2px 10px 2px 0;
	width: 145px;
	text-align: right;
}
#contact label.verify img {
	padding:1px;
	border:1px solid #BBB;
}

#contact input, #contact textarea, #contact select {
	font-family: 'Open Sans', sans-serif;
	width: 330px;
	padding: 5px;
	color:#003333;
	background: #FBFBFB;
	border: 1px solid #BBB;
	margin: 8px 0 4px 0;
	font-size:15px;
	vertical-align: top;

	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;

	box-shadow: 0 0 5px rgba(81, 203, 238, 0);
	-webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 0);
	-moz-box-shadow: 0 0 5px rgba(81, 203, 238, 0);
}

#contact select {
	width: 330px;
	margin: 8px 0 4px 0;
	position:relative;
	left:0px;
}

#contact input#verify {
	width: 55px;
	position:relative;
	top:0px;
}

#contact textarea {
	margin-top:25px;
	width: 330px;
	resize:vertical;
	overflow:auto;
	position:relative;
}

#contact input:focus, #contact textarea:focus, #contact select:focus {
	border: 1px solid #ddd;
	color:#003333;
	outline: none;
	position: relative;
	z-index: 5;

	box-shadow: 0 0 5px rgba(0, 97, 230, 1);
	-webkit-box-shadow: 0 0 5px rgba(0, 97, 230, 1);
	-moz-box-shadow: 0 0 5px rgba(0, 97, 230, 1);

	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);

	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
}

#contact input.error, #contact textarea.error, #contact select.error {
	box-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
	-webkit-box-shadow: 0 0 5px rgba(204, 102, 0, 0.5);
	-moz-box-shadow: 0 0 5px rgba(204, 102, 0, 0.5);
	border: 1px solid #faabab;
	background: #fef3f3;
}

#contact input.submit {
	width: auto;
	cursor: pointer;
	position: relative;
	left:120px;
	margin-top:10px;
	border: 1px solid #282828;
	color:#FFF;
	padding: 6px 16px;
	text-decoration: none;
	font-size: 17px;
	background:#F90;
	background:-webkit-gradient(
	    linear,
	    left bottom,
    	left top,
	    color-stop(0.12, rgb(60,60,60)),
	    color-stop(1, rgb(85,85,85))
	);
	background:-moz-linear-gradient(
	    center bottom,
	    rgb(60,60,60) 12%,
    	rgb(85,85,85) 100%
	);

	box-shadow: 0 2px 3px rgba(0,0,0,0.25);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);

}

#contact input.submit:hover {
	background: #282828 !important;
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
}

#contact input.submit:active, #contact input.submit:focus {
	top: 1px;
}

#contact input[type="submit"][disabled] { background:#888; }
#contact fieldset { padding:20px; margin:0 0 20px; }
#contact legend { padding:7px 10px; font-weight:bold; 	color:#006666; margin-bottom:0 !important; margin-bottom:20px; }

#contact span.required{ font-size: 13px; color: #ff0000; } /* Select the colour of the * if the field is required. */

#message { margin: 1em 0; padding: 0; display: block; background: transparent none; }

.error_message { display: block; height: 22px; line-height: 22px; background: #FBE3E4 url('../images/error.gif') no-repeat 10px center; padding: 3px 10px 3px 35px; color:#8a1f11;border: 1px solid #FBC2C4; }

.loader { padding: 0 10px; }

#success_page h1 { background: url('../images/success.gif') left no-repeat; padding:0 0 0 20px; margin-bottom:20px; text-decoration:none; text-shadow:none; color:#222; letter-spacing:0px; }

acronym { border-bottom:1px dotted #ccc; }