/* ----------------------------------------------------------------------
	COMMON FORM
	Generalised layout for form elements
	---------------------------------------------------------------------- */
/* General stuffies */	
input.option,
input.optionFirst,
input.tiny,
input.small,
input.narrow,
input.medium,
input.wide,
select.small,
select.narrow,
select.medium,
select.wide,
select.inline {
	_margin-top:1.4em;
	float:left;
}
/* Common input & select widths */
input.tiny {
	width:2em;
}
input.small,
select.small {
	width:10%;
	margin-right:55%;
}
input.narrow,
select.narrow {
	width:20%;
	margin-right:45%;
}
input.medium,
select.medium {
	width:35%;
	margin-right:30%;
}
input.wide,
select.wide {
	width:50%;
	margin-right:20%;
}
/* Text areas */
textarea.full {
	width:95%;
	height:10em;
	font-size:inherit;
	font-family:inherit;
}

textarea.medium {
	width:35%;
	height:10em;
	font-size:inherit;
	font-family:inherit;
}
/* Base label style */
label {
	width:24% !important;

	margin-right:1% !important;
	float:left;
	clear:left;
}
/* Radio and Checkboxes */
input.option {
	margin-right:68%;
	background:none;
	border:0;
}
input.optionFirst {
	margin-left:25%;
	/* Hack to correct IE's Shit boxmodel */
	_margin-left:23.5%;
}
/* Option groups
Class can apply to any element, just selects
child radio/checkboxes and positions them nice.
The parent element should only wrap the options. */
.optionGroup input.option {
	margin-right:0;
}
.optionGroup label {
	clear:none;
}
/* Groups */
form .group {
	float:left;
	clear:both;
}
form .group label,
form .group input,
form .group select {
	width:auto;
	clear:none;
}
/* Block group */
form .blockGroup {
	width:100%;
	clear:both;
	float:left;
}
/* inline Group */
form .inlineGroup {
	
}
/* Fieldset needs to float to 
respect margins on floated children */
fieldset {
	float:left;
	width:90%;
	border:0;
}
/* Inline labels, inputs and selects */
label.inline {
	width:auto !important;
	clear:none;
	margin-left:0.5em !important;
	margin-right:0.5em !important;
}
input.inline,
select.inline {
	margin-right:0;
	clear:none;
}


/* ----------------------------------------------------------------------
	CUSTOM STYLING
	Custom padding and margins on the inputs
	---------------------------------------------------------------------- */
label,
input,
textarea {
	padding:0.3em 0.6em !important;
	margin-top:0.8em !important;
}
input.option {
	margin-top:1.45em;
	float:left !important;
	clear:none !important;
}	
select {
	margin-top:1.1em;
}