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

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

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

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

#contactForm p {
	clear:left;
	background:#e5dbcf;
	color:#092344;
	margin:0 0 1em 12em;
	padding:0.5em;
}
#contactForm p.note {
	background:none;
	font-size:9pt;
	color:#666666;
	margin:1em 0 0 0;
}
#contactForm p.buttons {
	background:none;
	text-align:center;
	/* Swap margin for padding to fix an ugly IE7 glitch */
	margin-left:0;
	padding-left:12em;
}

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

#contactForm input[type="text"],
#contactForm textarea,
#contactForm select {
	color:#fff;
	display:block;
	font-family:Arial,Helvetica,sans-serif;
	font-size:11pt;
	line-height:1;
	margin:0;

	background:#cbb79e;
	border:1px solid #999;
}
#contactForm input[type="text"]:focus,
#contactForm textarea:focus,
#contactForm select:focus {
	outline:1px solid #888;
}

#contactForm input[type="text"] {
	padding:4px 5px;
	width:96%;
}

#contactForm textarea {
	height:7em;
	padding:0.5em;
	width:96%;
}

#contactForm #phoneNumber input {
	width:10em;
}

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


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



/* Message boxes (staff report form) */
p.message,
p.error {
	border:1px solid #124;
	background:#0f4472 url('../images/site/bg-denim.png') repeat center top;
	color:#fff;
	padding:0.6em 1em;
	opacity:0.9;
	border-radius:0.3em;
	box-shadow:0 0.2em 0.2em rgba(0,0,0,0.2);
}
p.error {
	border-color:#421;
	box-shadow:0 0.2em 0.2em rgba(0,0,0,0.2), inset 0 -10em 0 rgba(255,0,0,0.55);
}


/**************************************************
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: 22.5pt/1.2 Radley,'Times New Roman',Times,serif;
	text-shadow:0 0 0 #074730; /* Improves legibility */
}
#emp-app fieldset:before {
	content:' ';
	position:absolute;
	top:-0.6em;
	width:100%;
	height:3px;
	padding:0 0.1em;
	margin:0;
	border-top:3px solid #004773;
	border-bottom:1px solid #004773;
}
#emp-app h4 {
	margin:0.6em 0 0.4em;
	padding-bottom:0.2em;
	border-bottom:1px solid #004773;
}

#emp-app p {
	margin:0.7em 0;
	font:9pt/1.5 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('https://cdn.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,
#emp-app #emp-hist .emp-work-past {
	padding:0;
}
#emp-app #gen-questions label:first-child,
#emp-app #emp-hist .emp-work-past 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 p.twoline{
	padding:0 !important;
}
#emp-app p.twoline>label{
	display:block;
	float:none;
	width:auto !important;
	margin:.4em 0 !important;
}
#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;
}