/* COLOR CODES
	orange - #eb6b08
	dark gray - #585858
	light gray - #c2c2c2
*/

form {
	margin: 0px;
	padding: 0px;
}

fieldset {
	background-color: #eee;
	display: block;
	margin: 0px 0px 30px;
	padding: 2px 2px;
}

/* button styles */
input[type="submit"], input[type="reset"], input[type="button"], button {
	background: url("/images/layout/button-bg.png") repeat-x top left;
	border: 2px solid #ccc;
	color: #444;
	cursor: pointer;
	font-weight: bold;
	min-width: 75px;
	padding: 0px 5px;
	text-transform: lowercase;
}

/* button styles */
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover {
	background: url("/images/layout/button-bg-over.png") repeat-x top left;
}

/* .datefieldinput is a class given to the generated input field 
	by coldfusion's <cfinput type="datefield" /> 
*/
.datefieldinput {
	width: 126px;
}

fieldset {
	border: 1px solid #ccc;
}

input[type="text"], input[type="password"], input[type="file"], select, textarea, .datefieldinput {
	border: 2px solid #ccc;
}

input[type="text"], input[type="password"] {
	width: 146px;
}

textarea {
	height: 92px;
	width: 306px;
}

textarea, input[type="text"], input[type="password"], .datefieldinput {
	margin: 0;
	padding: 1px;
}

h4.legend {
	background: #333 url("/images/layout/white-gradient.png") repeat-x top left;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 5px 8px 6px;
}

input[type="checkbox"], input[type="radio"] {
	border: 2px transparent #ccc;
	line-height: 20px;
	margin: 2px 0;
}

legend {
	padding: 0px 4px;
}

label {
	font-weight: normal;
}

optgroup {
	background-color: #ddd;
	color: #444;
	font-style: normal;
	font-weight: bold;
	padding-bottom: 3px;
	padding-top: 3px;
}

option {
	background-color: #fff;
	color: #000;
	font-weight: normal;
	padding: 0px 5px 0px 5px;
}

/* root structure to hold list of form elements */
ul.fields {
	clear: both;
	overflow: visible;
	margin: 0;
	padding: 0;
}

/* element used to hold label and field or another stylized structure
   all elements will be aligned horizontally 
*/
ul.fields > li {
	float: left;
	list-style: none;
	margin: 4px 4px;
	min-width: 152px;
}

/* label and associated field vertical aligned within element */
ul.fields > li > * {
	display: block;
}

ul.fields > li > span {
	margin-top: 0px;
}

.bold label {
	font-weight: bold;
}

ul.fields select {
	width: 152px;
}

/* structure to hold collection of associated widgets
   i.e. radio buttons, checkboxes 
*/
ul.collection {
	display: block;
	margin: 0;
	min-width: 120px;
	overflow: auto;
	padding: 0;
	width: 152px;
}

/* element holds radio button or checkbox and label
   vertically aligned
 */
ul.collection > li {
	display: block;
	list-style-type: none;
	overflow: visible;
	padding: 0px 0px 2px 0px;
}

ul.collection li > input[type="checkbox"], fieldset ul.collection li > input[type="radio"] {
	vertical-align: top;
}

/* label for a radio button or checkbox in nested structure */
ul.collection li > label {
	display: inline-block;
	padding: 0px 5px;
	max-width: 120px;
	vertical-align: middle;
}

/* class used to override horizontal alignment of form fields to vertical alignment */
ul.vertical > li {
	clear: both;
	display: block;
	float: none;
	min-height: 35px;
	min-width: 1px;
	overflow: visible;
}

ul.fields.vertical > li {
	margin-top: 4px;
	margin-bottom: 4px;
}

/* aligns list elements horizontally (e.g. a list of checkboxes and respective labels) */
ul.horizontal > li {
	display: inline;
	padding-right: 0px 15px;
}

ul.collection.horizontal {
	min-width: 152px;
	width: auto;
}

ul.collection.horizontal > li {
	float: left;
	min-width: 156px;
	margin-right: 4px;
	width: auto;
}

/* container holds form buttons, centered under preceding contents (not working in IE7) */
ul.buttons {
	clear: both;
	display: table;
	margin: 0px auto;
	padding: 10px 0px 10px;
	overflow: auto;

}

/* display style for a form button container */
ul.buttons li { 
	display: inline;
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 0 2px;
}

/* add behavior to icon generated by coldfusion's <cfinput type="datefield" /> */
img[src="/CFIDE/scripts/ajax/resources/cf/images/DateChooser.png"]:hover {
	cursor: pointer;
}

/* modify selected cell font color <cfinput type="datefield" /> */
.yui-calendar td.calcell.selected a {
	color: #fff;
}

/* modify selected cell color <cfinput type="datefield" /> */
.yui-calendar td.calcell.selected {
	background-color: #eb6b08;
	border-color: #eb6b08;
}

/* modify hover cell color <cfinput type="datefield" /> */
.yui-calendar td.calcell.calcellhover {
	cursor:pointer;
	color:#FFF;
	background-color:#EBA16A;
	border:1px solid #EBA16A;
}

.fc-tbx table {
	background: 0;
	margin: 0;
	width: auto;
}