/***************/
/* FORM STYLES */
/***************/

form {
	display: block;
	margin: 0;
	padding: 0;
}

fieldset {
	display: block;
	margin: 0;
	padding: 0;
}

legend { display: none; }


/* error styles */
.error {
	color: #e50;
}


/* REG FORM A */
#reg_form_a {
	width: 345px;
	font-size: .8em;	/* reg form template psd uses 10px font if you are not getting good results with em */
	overflow: hidden;	/* clears all inner floats */
	}
	
	/* User Information */
	#reg_form_a #user_info {
		
		}
		
		/* widths! */
		#reg_form_a #user_info label {
			width: 140px;
			padding-right: 18px;	/* spacing between label and field */
		}
		#reg_form_a #user_info input, #reg_form_a #user_info select {
			width: 180px;
		}
		/* row spacing */
		#reg_form_a #user_info div div {
			padding-bottom: 8px;
		}		
		
		#reg_form_a #user_info div div {
			/* this will create the "rows" of fields by clearing inner floats in the divs */
			width: 100%;
			overflow: hidden;
		}
		#reg_form_a #user_info label {
			text-align: right;
			float: left;
		}
		#reg_form_a #user_info input {
			float: left;
			font-size: 1em;
		}
		#reg_form_a #user_info select {
			font-size: 1em;
		}
		
		/* gender field fixes */
		#reg_form_a #user_info #gender {
			float: left;
			}
			#reg_form_a #user_info #gender div {
				width: auto;
				padding: 0;	/* overwrite row spacing crap */
				font-size: .95em;
			}
			#reg_form_a #user_info #gender input {
				/* overwrite input width, kill floats, and get rid of bottom margin (which is on the containing div) */
				width: auto;
				float: none;
				display: inline;
				margin: 0;
			}
			#reg_form_a #user_info #gender br { display: none;	/* kill line break so options properly display inline */ }
	
	/* Opt In Section */
	#reg_form_a #opt_in_section {
		width: 100%;
		border: 1px solid #fff;
		border-left: none; border-right: none;
		margin: 12px 0;
		padding: 8px 0;
		}
		/* These cannot be templated in their current state
		   You will have to add your field specific name to these styles as well */
		#reg_form_a #opt_in_section #primary_opt_in {
			   width: 100%;
			   overflow: hidden;	/* clears inner floats */
			   padding-bottom: 4px;	/* spacing between opt ins */
			}
			/* checkbox float */
			#reg_form_a #opt_in_section #primary_opt_in #primary_opt_in-option-group {
				width: 24px;
				float: left;
			}
			#reg_form_a #opt_in_section #primary_opt_in label {
				width: 312px;
				float: left;
			}
	
	/* Image Security */	
	#reg_form_a #captcha {
	
		}
		#reg_form_a #captcha label {
			width: 146px;
			height: 54px;	/* will make it the same size as captcha image + some padding
							   captcha is 50px tall */
			float: left;
			
		}
		#reg_form_a #captcha #captcha_image {
			width: 160px;
			height: 50px;
			float: right;
		}
		#reg_form_a #captcha input {
			clear: both;
			width: 156px;
			float: left;
			text-transform: uppercase;
			font-size: 1em;
			font-weight: bold;
		}
	
	/* Misc Items */
	#reg_form_a #misc_items {
		width: 160px;
		float: right;
		margin-top: -10px;	/* sorry.. */
		}
		#reg_form_a #misc_items .information_copy {
			width: 80px;
			float: left;
			font-size: .9em;
			padding-top: 11px;
			}
			#reg_form_a #misc_items .information_copy p {
				padding: 0 0 .2em;
				margin: 0;
				font-weight: normal;
				line-height: 1em;
			}
		#reg_form_a #misc_items #eprize_secured {
			width: 80px;
			float: right;
		}
		
	/* Submit Button */
	#reg_form_a .submit {
		clear: both;
		padding-top: 12px;
		text-align: right;
		}
		#reg_form_a #misc_items .submit input { display: inline; }
		
		
		
/* REG FORM B */
#reg_form_b {
	width: 440px;
	font-size: .8em;	/* reg form template psd uses 10px font if you are not getting good results with em */
	overflow: hidden;	/* clears all inner floats */
	}
	
	/* Apply section borders and padding */
	
	#reg_form_b #user_info #address_info,
	#reg_form_b #user_info #additional_info,
	#reg_form_b #opt_in_section {
		background: url(../images/bg_reg_section.gif) bottom no-repeat;	/* making this a bg image gives creative some freedom with "hr" graphics */
		margin-bottom: 8px;
		padding-bottom: 6px;	/* add a little padding to push the border background image down */
	}
	
	#reg_form_b .error img {
		display: none;	/* removes the error images for this form since they break floats if only one column has an error */
	}

	/* User Information */
	#reg_form_b #user_info {
				
		}

		/* widths! (widths for special fields like state and zip
		            can be altered later in the stylesheet) */
		#reg_form_b #user_info div div {
			width: 212px;	/* width of "group" (larger to add spacing) */
		}
		#reg_form_b #user_info input, #reg_form_b #user_info select {
			width: 196px;	/* width of inputs and selects */
		}
		/* row spacing */
		#reg_form_b #user_info div div {
			padding-bottom: 8px;
		}
		

		/* profile, address_info, additional_info */
		#reg_form_b #user_info div {
			width: 100%;
			overflow: hidden;	/* clear inner floats */
		}
		
		/* field group (IE: First Name div with label and input) */
		#reg_form_b #user_info div div {
			float: left;
		}
		
		#reg_form_b #user_info label { display: block; }
		#reg_form_b #user_info input, #reg_form_b #user_info select {
			float:left;
			font-size:1em;
			width:146px;
		}
		
		#reg_form_b #user_info #gender {
			float: left;
			padding-top: 3px;	/* added a little extra padding so this
								   looks a little nicer on one line */
			}
			#reg_form_b #user_info #gender label {
				width: 72px;
				float: left;
				padding-top: 2px;	/* pushes label down in line with options */
			}
			#reg_form_b #user_info #gender div {
				padding: 0;			/* needed so that row padding is not doubled */
				width: 130px;
				float: left;
				font-size: .9em;
			}
			#reg_form_b #user_info #gender input {
				/* overwrite input width, kill floats, and get rid of bottom margin (which is on the containing div) */
				width: auto;
				float: none;
				display: inline;
				margin: 0 0 0 3px;
				position: relative;
				top: 3px;
			}
			#reg_form_b #user_info #gender br { display: none;	/* kill line break */ }

		
		/* user_info section fixes */
		/* state / zip */
		#reg_form_b #user_info #state {
			width: 96px;
			}
			#reg_form_b #user_info #state select {
				width: 84px;
			}
		#reg_form_b #user_info #zip {
			width: 116px;
			}
			#reg_form_b #user_info #zip input {
				width: 100px;
			}
		/* Birth Date fields - Un-comment to make fit 
		#reg_form_b #user_info #age select {
			width: auto !important;
			display: inline !important;
		} */
	
	/* Opt In Section */
	#reg_form_b #opt_in_section {
	
		}
		/* These cannot be templated in their current state
		   You will have to add your field specific name to these styles as well */
		#reg_form_b #opt_in_section #primary_opt_in {
			   width: 100%;
			   overflow: hidden;	/* clears inner floats */
			   padding-bottom: 4px;	/* spacing between opt ins */
			}
			/* checkbox float */
			#reg_form_b #opt_in_section #primary_opt_in #primary_opt_in-option-group {
				width: 24px;
				float: left;
			}
			#reg_form_b #opt_in_section #primary_opt_in label {
				width: 375px;
				float: left;
			}
	
	/* Image Security */
	#reg_form_b #captcha {
		width: 100%;
		overflow: hidden;	/* clears inner floats */
		padding-top: 12px;
		}
		#reg_form_b #captcha label {
			display: block;
			width: 242px;
			float: left;
		}
		#reg_form_b #captcha #captcha_image {
			width: 160px;
			float: left;
			padding-right: 12px;
			}
			#reg_form_b #captcha #captcha_image img { display: block;	/* overwrites disabling of error images */ }
		#reg_form_b #captcha input {
			width: 230px;
			display: block;
			float: left;
			text-transform: uppercase;
			font-size: 1em;
			font-weight: bold;
		}
	
	/* Misc Items */
	#reg_form_b #misc_items {
		width: 172px;
		float: left;		
		padding: 24px 0 12px;
		}
		#reg_form_b #misc_items .information_copy {
			width: 85px;
			float: left;
			font-size: .9em;
			padding: 10px 0 0 0;
			}
			#reg_form_b #misc_items .information_copy p {
				padding: 0 0 .2em;
				margin: 0;
				font-weight: normal;
				line-height: 1em;
			}
		#reg_form_b #misc_items #eprize_secured {
			width: 85px;
			float: left;
		}
	
	/* Submit Button */
	#reg_form_b .submit {
		width: 236px;
		float: left;
		padding: 24px 0 12px;
		text-align: center;
		}
		#reg_form_b .submit input { display: inline; }

	
			
/* taf form */
#taf_form {
	}
	#taf_form fieldset div {
		width: 254px;
		float: left;
		}
		#taf_form fieldset div input {
			display: block;
			width: 228px;
			margin-bottom: 8px;
		}
	#taf_form .submit {
		padding-top: 20px;
		}
		#taf_form .submit a, #taf_form .submit input {
			display: inline;
			margin-right: 114px;
		}