/* 
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 ***/
.cssform { float: left; color: #333; padding: 0; margin: 0; width: 100%;}
.cssform em { font-weight: bold; font-style: normal; color: #f00;}
.cssform fieldset { margin: 5px 0 15px 0; padding: 10px 10px 10px 10px; border: 1px solid #ccc; background: #f7f7f7; width: 530px;}
.cssform legend { padding: 0 2px 0 2px; font-weight: bold; color: #333; font-size: 1.5em; }
/*\*//*/ .cssform legend { display: inline-block; } /* IE Mac legend fix */
.cssform label { float: left; clear: left; display: inline-block; height: auto; margin: 0 20px 0 0; width: 130px; font-weight: bold; font-size: 1.2em; line-height: 1.6; vertical-align: top; color: #333; }
.cssform fieldset ol { margin: 0; padding: 0; }
.cssform fieldset li { list-style: none; padding: 5px 5px 5px 5px;} 
.cssform fieldset p { margin: 5px 5px 5px 5px; font-size: 1.2em; }
	/* Fieldset within a fieldset - used for groups of radio or checkmark boxes*/
	.cssform fieldset fieldset { margin: 10px 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: bold; font-size: 1.2em;}
	.cssform fieldset fieldset label { clear: left; float: left; display: block; margin-left: 0px; font-weight: normal;} /* Width plus 3 (html space) */
/* lost password links */
.cssform #lost {float: left; height: 30px; font-size: 1.1em;}
	.cssform #lost a { display: block; float: left; clear: left; margin: 0 0 3px 0; padding: 0; height: 15px; width: 90px; }
/* Other Width forms */
.validation_row .cssform { width: 538px; margin: 0 0 0 12px; }
.row .cssform { margin: 0 0 0 0; padding: 0; }

/*** Input fields & Submit buttons ***/
.cssform fieldset textarea, .cssform fieldset select { border: 1px solid #3e4f9d; padding: 2px 2px; }
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;  }
input[type=text] { border: 1px solid #3e4f9d; padding: 2px; }

/* submit buttons */
 .cssform input.submit { display: block; float: left; overflow: visible; font-family: Helvetica, Arial, Sans-serif; font-size: 1.5em; line-height: 1.0em; border: 1px solid #ccc; background: #f2f2f2 url('images/submit_bg.gif') no-repeat 10px 50%; padding: 8px 10px 8px 30px; 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-family: Helvetica, Arial, Sans-serif; font-size: 1.5em; line-height: 1.0em; border: 1px solid #ccc; background: #f2f2f2 url('images/submit_bg.gif') no-repeat 10px 50%; padding: 8px 10px 8px 30px; 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 { display: block; float: left; overflow: visible; font-family: Helvetica, Arial, Sans-serif; font-size: 1.5em; line-height: 1.0em; border: 1px solid #ccc; background: #f2f2f2 url('images/reset_bg.gif') no-repeat 10px 50%; padding: 8px 10px 8px 30px; 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-family: Helvetica, Arial, Sans-serif; font-size: 1.5em; line-height: 1.0em; border: 1px solid #ccc; background: #f2f2f2 url('images/reset_bg.gif') no-repeat 10px 50%%; padding: 8px 10px 8px 30px; 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; }

#inlineSelect { height: 22px; float: left; margin:0; }	
#inlineSelect select { float: left; margin: 0 5px 0 0;}
input.inlineSubmit { display: block; font-size: 1.1em; line-height: 1.3em; height: 23px; width: 43px; padding: 2px 2px 2px 18px; background: #f2f2f2 url('images/submit_bg.gif') no-repeat 2px 3px;}
input.inlineSubmit:hover { padding: 2px 2px 2px 18px; background: #eee url('images/submit_bg.gif') no-repeat 2px 3px; color: #444;}
input.inlineSubmit:focus { background: #ccc url('images/submit_bg.gif') no-repeat 2px 3px; color: #fff;}
input.inlineReset {}	

/* Contact Form */