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

/* === Form Typography === */
.contact_form h2, .contact_form label {}
.form_hint, .required_notification {font-size: 11px;}

/* === List Styles === */
#content #contentleft .contact_form ul {
    width:750px;
    list-style-type:none;
	list-style-position:outside;
	margin:-25px;
	padding:0px;
}
	
	#content #contentleft .account_form ul {
		width: auto;
		margin: 0;
		}
	
#content #contentleft .contact_form li{
	padding: .75em 0; 
	border-bottom:0px solid #eee;
	position:relative;
} 
#content #contentleft .contact_form li:first-child, .contact_form li:last-child {
	border-bottom:0px solid #777;
}

#content #contentleft .account_form li{
	clear: left;
}

/* === Form Header === */
#content #contentleft .contact_form h2 {
	margin:0;
	display: inline;
}
#content #contentleft .required_notification {
	color:#d45252; 
	margin:5px 0 0 0; 
	display:inline;
	float:right;
}

/* === Form Elements === */
#content #contentleft .contact_form label {
	width:200px;
	display:inline-block;
	float:left;
	padding:8px 10px 0px 0px;
	font-size:11px;
	font-weight: bold;
	text-align:right;
	
}
#content #contentleft .contact_form input, #content #contentleft .contact_form select {
	height:20px; 
	width:220px; 
	padding:5px 8px;
}
#content #contentleft .contact_form select {
	height: auto;
	width: auto;
}
#content #contentleft .contact_form textarea {padding:8px; width:300px;}
#content #contentleft .contact_form button {margin-left:0px;}

	/* form element visual styles */
	.contact_form input, .contact_form textarea, .contact_form select { 
		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, .contact_form select:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:70px;
	}

@media(max-width:999px) {
	
	#content #contentleft .contact_form label {
		float: none;
		display: block;
		width: auto;
		text-align: left;
		font-size: 12px;
		padding-bottom: 4px;
	}
	
}

/* === HTML5 validation styles === */	
#content #contentleft .contact_form input:required, .contact_form textarea:required {
	background: #fff url('images/red_asterisk.png') no-repeat 95% center;
	background-size: auto 33%;
}
#content #contentleft .contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff url('images/valid.png') no-repeat 95% center;
	background-size: auto 33%;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
#content #contentleft .contact_form input:focus:invalid,
#content #contentleft .contact_form .error input,
.contact_form textarea:focus:invalid {
	background: #fff url('images/invalid.png') no-repeat 95% center;
	background-size: auto 33%;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === Form hints === */
#content #contentleft .form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 9px 14px;
	z-index: 999; /* hints stay above all other elements */
	position: absolute; /* allows proper formatting if hint is two lines */
	display: none;
}
#content #contentleft .form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
#content #contentleft .contact_form input:focus + .form_hint {display: inline;}
#content #contentleft .contact_form input:required:valid + .form_hint {background: #28921f;}
#content #contentleft .contact_form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === Button Style === */
#content #contentleft button.submit {
	background-color: #68b12f;
	background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
	background: -webkit-linear-gradient(top, #68b12f, #50911e);
	background: -moz-linear-gradient(top, #68b12f, #50911e);
	background: -ms-linear-gradient(top, #68b12f, #50911e);
	background: -o-linear-gradient(top, #68b12f, #50911e);
	background: linear-gradient(top, #68b12f, #50911e);
	border: 1px solid #509111;
	border-bottom: 1px solid #5b992b;
	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 #9fd574;
	-webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
	-moz-box-shadow: 0 1px 0 0 #9fd574 inset;
	-ms-box-shadow: 0 1px 0 0 #9fd574 inset;
	-o-box-shadow: 0 1px 0 0 #9fd574 inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #396715;
}
#content #contentleft button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
#content #contentleft button.submit:active {
	border: 1px solid #20911e;
	box-shadow: 0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;
	-moz-box-shadow: 0 0 10px 5px #356b0b inset;
	-ms-box-shadow: 0 0 10px 5px #356b0b inset;
	-o-box-shadow: 0 0 10px 5px #356b0b inset;
	
}

#content #contentleft #checkout_form fieldset {
	clear: both;
	margin: 15px 0px;
}

#content #contentleft #checkout_form legend {
	font-family: 'DIN Next W01 Bold', sans-serif; 
	font-size:14px; 
	line-height:18px; 
	text-transform:uppercase; 
	letter-spacing:0px; 
	color:#000; 
	font-weight:normal;
	
	clear: both;
	margin: 5px 0px;
}

#content #contentleft #checkout_form label {
	width: 150px;
}

#content #contentleft #checkout_form .control-group {
	margin: 3px 0px;
}

#contentleft #checkout_form .alert,
#contentleft #checkout_login .alert,
#contentleft #aia_member_check .alert {
	margin: 15px 0px;
	background-color: rgba(238, 33, 41, 0.2);
	padding: 15px;
	line-height: 1.2em;
	border-radius: 3px;
}

#content #contentleft .alert .badge {
	font-weight: bold;
}

#contentleft #checkout_form button,
#contentleft #checkout_login button,
#contentleft #aia_member_check button {
	margin: 10px 0px;
	padding: 5px 5px 3px 5px;
	border: none;
	text-shadow: none;
	box-shadow: none;
	font-family: 'DIN Next W01 Bold', sans-serif; 
	font-size:14px;
	text-transform:uppercase; 
	letter-spacing:0px; 
	color:#fff;
	background-color: rgb(238, 33, 41);
	font-weight:normal;	
	cursor: pointer;
}

#contentleft #checkout_form button:disabled,
#contentleft #checkout_login button:disabled,
#contentleft #aia_member_check button:disabled {
	background-color: #de797d;
	cursor: not-allowed;
}

#contentleft #checkout_login small {
	font-size: .7em;
	text-transform: uppercase;
}

li.student, li.individual, li.firm, li.firmindividual {
	display:none;
}