/**************************************************
Contact forms */

#contact-form {
	position:relative;
	padding-right:2em;
}

#contact-form abbr {
	color:#7B0101;
	font-size:20px;
	font-weight:bold;
	line-height:1;
	padding:0 1px;
	vertical-align:middle;
	border:none;
}

#contact-form label abbr {
	font-size:23px;
	padding:0;
	position:absolute;
	right:10px;
}

#contact-form p {
	clear:left;
	background:rgba(20,20,20,0.03);
	color:#666;
	margin:0 0 1em 12em;
	padding:0.5em;
	border-radius:0.4em;
}
#contact-form p.note {
	background:none;
	font-size:9pt;
	margin:1em 0 0 0;
}
#contact-form p.buttons {
	background:none;
	text-align:center;
	/* Swap margin for padding to fix an ugly IE7 glitch */
	margin-left:0;
	padding-left:12em;
}

#contact-form p label:first-child,
#contact-form p .label:first-child {
	color:#074730;
	float:left;
	font-size:10pt;
	margin:0 0 0 -12em;
	width:10.5em;
	text-align:right;
	line-height:2;
}

#contact-form input[type="text"],
#contact-form input[type="tel"],
#contact-form input[type="email"],
#contact-form textarea,
#contact-form select {
	display:block;
	color:#333;
	font:11pt/1.2 Arial,Helvetica,sans-serif;
	margin:0;
	width:100%;
	padding:0.3em 0.4em;
	background:#fefefe;
	border:1px solid #ccc;
	border-radius:0.3em;
	box-shadow:inset 0.1em 0.1em 0.1em rgba(0,0,0,0.1);

	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}
#contact-form input[type="text"]:focus,
#contact-form input[type="tel"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus,
#contact-form select:focus {
	border-color:#aaa;
	box-shadow:inset 0.1em 0.1em 0.1em rgba(0,0,0,0.05);
}
#contact-form select {
	width:auto;
}
#contact-form textarea {
	height:7em;
}

#contact-form .captcha img {
	vertical-align:middle;
	margin:0.5em 0;
}
#contact-form #code {
	width:auto;
	display:inline;
	margin-left:0.6em;
}


/* Validation colors */
input.OK {
	/*background-color:#cfc;*/
}
input.error,
label.error,
textarea.error{
	background-color:#fcc !important;
	cursor:help;
}

/**************************************************
Employment application */

/* Layout */
#emp-app {
	margin:0 0 2em;
}
#emp-app fieldset {
	position:relative;
	border:none;
	padding:0 3em 0 0;
	margin:1.5em 0;
}
#emp-app legend {
	font:bold 22.5pt/1.2 WireOne,Arial,Helvetica,sans-serif;
	text-shadow:0 0 0 #074730; /* Improves legibility */
	color:#074730;
}
#emp-app fieldset:before {
	content:' ';
	position:absolute;
	top:-0.6em;
	width:100%;
	height:3px;
	padding:0 0.1em;
	margin:0;
	border-top:3px solid #e7e1d3;
	border-bottom:1px solid #e7e1d3;
}
#emp-app h4 {
	margin:0.6em 0 0.4em;
	padding-bottom:0.2em;
	border-bottom:1px solid #e7e1d3;
}

#emp-app p {
	margin:0.7em 0;
	font:9pt/1.5 BellGothic,Arial,Helvetica,sans-serif;
	padding-left:8.8em;
}
#emp-app p.note,
#emp-app p.center {
	padding:0 !important;
	font-weight:bold;
}
#emp-app p.note:before {
	content:'*';
}

#emp-app label {
	display:inline-block;
}
#emp-app label:first-child {
	font-weight:bold;
	float:left;
	min-width:8.6em;
	margin-left:-8.8em;
}
#emp-app abbr[title] {
	color:#7B0101;
	font-size:20px;
	font-weight:bold;
	line-height:1;
	padding:0 1px;
	vertical-align:middle;
	border:none;
}


/* Inputs (general) */
#emp-app input[type="text"],
#emp-app input[type="tel"],
#emp-app input[type="email"],
#emp-app textarea,
#emp-app select {
	color:#333;
	font:10pt/1.2 Arial,Helvetica,sans-serif;
	margin:0 0 0.5em;
	width:98%;
	padding:0.3em 0.4em;
	background:#fefefe;
	border:1px solid #ccc;
	border-radius:0.3em;
	box-shadow:inset 0.1em 0.1em 0.1em rgba(0,0,0,0.1);

	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}
#emp-app input[type="text"]:focus,
#emp-app input[type="tel"]:focus,
#emp-app input[type="email"]:focus,
#emp-app textarea:focus,
#emp-app select:focus {
	border-color:#aaa;
	box-shadow:inset 0.1em 0.1em 0.1em rgba(0,0,0,0.05);
}


/* Date picker */
#emp-app input.datePicker {
	width:10em !important;
}
#emp-app .datePickerLink {
	display:inline-block;
	text-indent:-9999px;
	outline:none;
	width:20px;
	height:18px;
	background:transparent url('http://jbwebresources.com/images/icons/calendar.png') no-repeat center center;
}

/* Basic info */
#emp-app #firstName,
#emp-app #lastName {
	width:42%;
}
#emp-app #middleName {
	width:5em;
}
#emp-app #city {
	width:37%;
}
#emp-app #state,
#emp-app #zip {
	width:30%;
}

#emp-app input.phone {
	width:18em;
}
#emp-app #phone {
	margin-right:0.6em;
}
#emp-app #phone2 {
	margin-left:0.6em;
}


/* General questions */
#emp-app #gen-questions p {
	padding:0;
}
#emp-app #gen-questions label:first-child {
	display:block;
	float:none;
	width:auto;
	margin:0.4em 0;
}


/* Employment history */
#emp-app #emp-hist p {
	padding-left:12em;
}
#emp-app #emp-hist label:first-child {
	width:12em;
	margin-left:-12em;
}
#emp-app #emp-hist label~label {
	width:5em;
}
#emp-app #emp-hist input {
	width:12.5em;
	margin-right:1em;
}
#emp-app #emp-hist .datePickerLink {
	margin:0 1.7em 0 -0.6em;
}
#emp-app #emp-hist input[name$="_name"],
#emp-app #emp-hist input[name$="_whyLeft"] {
	width:97%;
}
#emp-app #emp-hist input[type="radio"] {
	width:auto;
	margin-right:0.5em;
}
#emp-app #emp-hist input[type="radio"]+label {
	width:auto;
	margin-right:1em;
}

/* Education history */
#emp-app #edu-hist p {
	padding-left:12em;
}
#emp-app #edu-hist label:first-child {
	width:12em;
	margin-left:-12em;
}

/* Additional info / agreement */
#emp-app #addtl-info p,
#emp-app #emp-agree p {
	padding-left:0;
}
#emp-app #addtl-info label:first-child {
	display:block;
	margin:0 0.5em 0.4em 0;
	width:auto;
	min-width:1em;
}

#emp-app #emp-agree label {
	font-weight:bold;
}

/* Captcha */
#emp-app p.captcha {
	text-align:center;
	margin:2em 26.5%;
	padding:1em 0.7em 0.3em;
	background:rgba(20,20,20,0.03);
	border-radius:0.3em;
}
#emp-app .captcha img {
	display:block;
	margin:0 0 0.7em;
}
