/******************************************************
/* This file should only contain basic form styles.
/*****************************************************/
.textBox, 
textarea, 
select,
.stateCtrl input, 
.stateList input,
.button, 
label
{
	vertical-align: middle;
}

input,
textarea,
select, 
option
{
	border: solid 1px #b5b5b5b;
	color: #000;
	font-size: 1em;
	line-height: normal;
	
}

/******************************************************
/* BLOCKS
/*****************************************************/
.inputBlock
{
	clear: both;
	margin-bottom: 5px;
}

fieldset
{
	padding: 6px;
	border: solid 1px #ccc;
	margin-top: 10px;
	margin-bottom: 10px;
}

legend
{
	padding: 0 .5em;
	color: #8f0000;
	font-size: 12px;
	font-weight: bold;
}

/******************************************************
/* LABELS
/*****************************************************/
label,
.inputLabel
{
	font-weight: bold;
	line-height: 20px; /* Height of input fields */
}

.inputBlock label,
.inputBlock .inputLabel
{
	float: left;
	width: $LabelWidth;
}

/******************************************************
/* TEXTBOX
/*****************************************************/
.textBox
{
	padding: 1px;
	border: solid 1px #ccc;
	width: 200px;
}

textarea
{
	width: 250px;
	height: 100px;
	overflow: auto;
}

/******************************************************
/* select
/*****************************************************/
select
{
	width: 200px;
}

select option
{
}

/******************************************************
/* STATE CONTROLS (checkbox & radiobutton)
/*****************************************************/
.stateCtrl
{
	clear: both;
	display: block;
	font-weight: normal;
}

.inputBlock .stateCtrl
{
	padding-left: $LabelWidth;
}

.stateCtrl input,
.stateList input
{
	float: left;
}

.stateCtrl label,
.stateList .stateList label
{
	float: none;
	margin-left: 22px;
	display: block;
	width: auto;
	font-weight: normal;
}

.stateList td 
{
	padding: 0;
	vertical-align: top;
}

* html .stateCtrl label,
* html .stateList label
{
	height: 1px;
}

/******************************************************
/* BUTTONS
/*****************************************************/
.ButtonBlock
{
	clear: both;
	margin: $defaultMargin 0 0 0;
	text-align: right;
}

.ButtonBlock .button,
.inputBlock .button
{
	margin-left: 5px;
}

/******************************************************
/* ERRORS
/*****************************************************/
.errorList
{
	margin-left: $LabelWidth;
}

.errorList ul
{
	color: #f00;
	list-style-type: none;
	margin: 0;
}

.errorIndicator
{
	color: #f00;
	margin-left: 5px;
	vertical-align: top;
}


/******************************************************
/* CLEAR SPACER
/*****************************************************/
.inputBlock:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Hides from IE-mac \*/
* html .inputBlock
{
	height: 1px;
	padding-bottom: 1px; /* Fix for dropdown so that not bottom-border gets hidden */
}
/* End hide from IE-mac */

