/* 
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: #F8F6F0; } 
.cssform fieldset li.altrow { background: #EFEDE3; }
	/* 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 #837F71; padding: 2px 2px; color: #555;}
input:focus, textarea:focus, input:active { background: #FFFFCC; color:#000; border: 1px solid #837F71;}
input[type=checkbox] { padding: 0; margin: 0 5px 0 0; border-width: 1px; }
input[type=radio] { padding: 0; margin: 0; border: 0; }
.cssform textarea { width: 240px; }

/* submit buttons */
 .cssform input.submit { font-family: Arial, Helvetica, sans-serif; display: block; float: left; overflow: visible;  font-size: 1.1em; line-height: 1.3em; border: 1px solid #B3B1A8; background: #ECEADF url('images/submit_bg.gif') no-repeat 10% 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.1em; line-height: 1.3em; border: 1px solid #B3B1A8; background: #ECEADF url('images/submit_bg.gif') no-repeat 50% 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 #C0BBA6; background: #D7D5CA url('images/submit_bg.gif') no-repeat 10% 50%; color: #444; }
	input[type=submit]:focus { background: #D7D5CA url('images/submit_bg.gif') no-repeat 10% 50%; color: #000; }

 .cssform input.reset { font-family: Arial, Helvetica, sans-serif; display: block; float: left; overflow: visible;  font-size: 1.1em; line-height: 1.3em; border: 1px solid #B3B1A8; background: #ECEADF url('images/reset_bg.gif') no-repeat 10% 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.1em; line-height: 1.2em; border: 1px solid #B3B1A8; background: #ECEADF url('images/reset_bg.gif') no-repeat 10% 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 #C0BBA6; background: #D7D5CA url('images/reset_bg.gif') no-repeat 10% 50%; color: #444; }
	input[type=reset]:focus { background: #D7D5CA url('images/reset_bg.gif') no-repeat 10% 50%; color: #000; }
	
/* Search*/
#search fieldset ul, #hotelsearch fieldset ul { margin: 0; padding: 0px; width: 100%; }
#search fieldset, #hotelsearch fieldset { float: left; padding: 0; margin: 0; background: none; border: none; }
#search fieldset li, #hotelsearch fieldset li { margin: 0; background: none; width: 100%; }
#search #coname, #hotelsearch #coname  { width: 192px; margin: 0 10px 0 0; float: left; padding-left: 3px; }
#search_select { display: block; float: left; width: 200px; margin: 0 0px 0 0; padding: 1px 2px 2px 2px; vertical-align: top; height: 22px; }
#search_submit { margin: 6px 0 0 10px; font-size: 1.3em; }
#start-date, #end-date { width: 70px; }
#hotelsearch .cssform fieldset ul li.half { float: left; width: 100px; padding-top: 2px; margin: 0 0 7px 0; }

/* Common Elements */
#MessageBox { display: none; }