/* 
Website: 
Name: Form stylesheet
Description: Form styles
Version: Alpha
Author: Jefte Puente
Author URI: http://www.artemisit.com
Comments: This document styles only form elements.
		  Please do not style any tags here, refer to core.css.
*/

/* 	WE CAN FINALLY STOP USING TABLES FOR FORMS! 
	First place the following scripts in the header and ensure the files are in the correct location.	

	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/css.js"></script>

	This example markup has every form element available. Please copy and paste. Do not change the form class.
	Description of the technique at: http://www.alistapart.com/articles/prettyaccessibleforms
	
	<form action="#" class="cssform">
		<p>Please complete the form below. Mandatory fields marked <em>*</em></p>
		<fieldset>
			<legend>Delivery Details</legend>
			<ol>
				<li><label for="name">Name <em>*</em></label> <input id="name" /></li>
				<li><label for="address1">Address <em>*</em></label> <input id="address1" /></li>
				<li><label for="town-city">Town/City</label> <input id="town-city" /></li>
				<li><label for="county">County <em>*</em></label> <input id="county" /></li>
				<li><label for="postcode">Postcode <em>*</em></label> <input id="postcode" /></li>
				<li>
					<fieldset>
						<legend>Is this address also your invoice address? <em>*</em></legend>
						<label><input type="radio" name="invoice-address" /> Yes</label>
						<label><input type="radio" name="invoice-address" /> No</label>
					</fieldset>
	
				</li>
			</ol>
		</fieldset>
		<fieldset>
			<legend>Other Information</legend>
			<ol>
				<li>
					<label for="dob">Date of Birth <span class="sr">(Day)</span> <em>*</em></label><input type="text" id="dob" /> 
					<label for="dob-m" class="sr">Date of Birth (Month) <em>*</em></label><input type="text" id="dob-m" /> 
					<label for="dob-y" class="sr">Date of Birth (Year) <em>*</em></label><input type="text" id="dob-y">
				</li>
				<li><label for="sex">Sex <em>*</em></label> <select id="sex"><option value="female">Female</option><option value="male">Male</option></select></li>
				<li>
					<fieldset>
						<legend>Which of the following sports do you enjoy?</legend>
						<label for="football"><input id="football" type="checkbox" /> Football</label>
	
						<label for="golf"><input id="golf" type="checkbox" /> Golf</label>
						<label for="rugby"><input id="rugby" type="checkbox" /> Rugby</label>
						<label for="tennis"><input id="tennis" type="checkbox" /> Tennis</label>
						<label for="basketball"><input id="basketball" type="checkbox" /> Basketball</label>
						<label for="boxing"><input id="boxing" type="checkbox" /> Boxing</label>
	
					</fieldset>
				</li>
				<li><label for="comments">Comments</label> <textarea id="comments" rows="7" cols="25"></textarea></li>
			</ol>
		</fieldset>
		<p><input type="submit" value="Submit order" /></p>
	</form>
	
	*/

/*** General Form Styles ***/
.sr { position: absolute; left: -9999em; top: 0; width: 1px; height: 1px; overflow: hidden; } /* Hides elements on screen, but keeps them available to screen readers */
.cssform { float: left; width: 100%; color: #333; padding: 0; margin: 0; }
.cssform em { font-weight: bold; font-style: normal; color: #f00;}
.cssform p { margin: 0 0 5px 0; }
.cssform fieldset { margin: 5px 0 15px 0; padding: 0px; border: none; }
.cssform legend { padding: 0 2px 5px 0px; font-weight: bold; color: #000; font-size: 1.4em;}
/*\*//*/ .cssform legend { display: inline-block; } /* IE Mac legend fix */
.cssform label { float: left; display: inline-block; width: 155px; margin: 0 10px 0 0; font-weight: bold; font-size: 1.2em; line-height: 1.6; vertical-align: top; color: #333; }
.cssform fieldset ol { margin: 0; padding: 0; overflow: hidden; }
.cssform fieldset li { float: left; list-style: none; padding: 7px 10px; overflow: hidden; width: 100%; background: #f7f7f7; } 
.cssform fieldset li.altrow { background: #eee; }
	/* Fieldset within a fieldset - used for groups of radio or checkmark boxes*/
	.cssform fieldset fieldset { margin: 5px 0 0px 0; padding: 0px 5px 5px 5px; background: #eee; border: 1px solid #ccc;}
	.cssform fieldset fieldset legend { padding: 0 0 2px 3px; font-weight: normal; font-size: 1.2em;}
	.cssform fieldset fieldset label { clear: left; float: left;display: block; margin-left: 123px; font-weight: normal;} /* Width plus 3 (html space) */

/*** Input fields & Submit buttons ***/
.cssform fieldset input, .cssform fieldset textarea, .cssform fieldset select { border: 1px solid #0069A9; padding: 2px 2px; color: #555;}
input:focus, textarea:focus, input:active { background: #FFFFCC; color:#000; border: 1px solid #3e4f9d;}
input[type=checkbox] { padding: 0; margin: 0 5px 0 0; border-width: 1px; }
input[type=radio] { padding: 0; margin: 0; border: 0; }

/* submit buttons */
 .cssform input.submit { font-family: Arial, Helvetica, sans-serif; display: block; float: left; overflow: visible;  font-size: 1.2em; line-height: 1.3em; border: 1px solid #ccc; background: #f2f2f2 url('images/submit_bg.gif') no-repeat 10px 50%; padding: 4px 6px 4px 22px; text-align: center; text-decoration: none; margin: 0 15px 15px 0; color: #777; font-weight: bold;} /*For IE6*/
	input[type=submit] { display: block; float: left;  font-size: 1.2em; line-height: 1.3em; border: 1px solid #ccc; background: #f2f2f2 url('images/submit_bg.gif') no-repeat 10px 50%; padding: 4px 6px 4px 22px; text-align: center; text-decoration: none; margin: 0 15px 15px 0; color: #777; font-weight: bold;}
	input[type=submit]:hover { border: 1px solid #999; background: #eee url('images/submit_bg.gif') no-repeat 10px 50%; color: #444; }
	input[type=submit]:focus { background: #ccc url('images/submit_bg.gif') no-repeat 10px 50%; color: #fff; }

 .cssform input.reset { font-family: Arial, Helvetica, sans-serif; display: block; float: left; overflow: visible;  font-size: 1.2em; line-height: 1.3em; border: 1px solid #ccc; background: #f2f2f2 url('images/reset_bg.gif') no-repeat 10px 50%; padding: 4px 6px 4px 22px; text-align: center; text-decoration: none; margin: 0 15px 15px 0; color: #777; font-weight: bold;} /*For IE6*/
	input[type=reset] { display: block; float: left;  font-size: 1.3em; line-height: 1.2em; border: 1px solid #ccc; background: #f2f2f2 url('images/reset_bg.gif') no-repeat 10px 50%; padding: 4px 6px 4px 22px; text-align: center; text-decoration: none; margin: 0 15px 15px 0; color: #777; font-weight: bold;}
	input[type=reset]:hover { border: 1px solid #999; background: #eee url('images/reset_bg.gif') no-repeat 10px 50%; color: #444; }
	input[type=reset]:focus {  background: #ccc url('images/reset_bg.gif') no-repeat 10px 50%; color: #fff; }
	
/* Member Directory Home page search*/
#search { float: right; margin: 121px 0px 0 50px; padding: 10px 0 10px 9px; width: 379px; background: #f7f7f7; border-right: 1px solid #D6E0E7; }
#search fieldset ul { margin: 0; padding: 0px; width: 310px; height: 25px; }
#search fieldset { float: left; padding: 0; margin: 0; background: none; border: none; }
#search fieldset li { padding: 0; margin: 0; background: none; }
#search #coname { width: 172px; margin: 0 10px 0 0; float: left; padding-left: 3px; }
#search_select { display: block; float: left; width: 120px; margin: 0 0px 0 0; padding: 1px 2px 2px 2px; vertical-align: top; height: 22px; border: 1px solid #0069A9;}
#search_submit { float: left; background-image: none; margin: 0 0 0 7px; height: auto; height: 22px; line-height: 18px; padding: 0px 2px 1px 2px; float: left; }

	
/* Join the chamber */
#content .cssform { width: 90%; margin: 20px auto; float: none;}
#visitor_name { width: 200px; }
#visitor_email_address { width: 250px; }
#visitor_website_address { width: 180px; }
#visitor_company { width: 180px; }
#visitor_employees { width: 40px; }
#visitor_city { width: 170px;}
#visitor_state { width: 20px; }
#visitor_zip { width: 45px; }
#Product_Services { height: 100px; width: 320px; }


/* Contact the chamber */
#Contact_name { width: 200px; }
#Contact_email_address { width: 170px; }
#Contact_website_address { width: 180px; }
#Contact_company { width: 180px; }
#Contact_employees { width: 40px; }
#Contact_city { width: 110px;}
#Contact_state { width: 20px; }
#Contact_zip { width: 45px; }
#Contact_Comments { height: 100px; width: 270px; }

/* Member Directory */
#coname { width: 250px; }

/* Common Elements */
#MessageBox { display: none; }