/**
http://www.alistapart.com/articles/prettyaccessibleforms

default form formatting
DO NOT CHANGE THIS, change custom_form.css 

**/
form.pretty fieldset {
	margin-bottom: 10px;
}
form.pretty legend {
	padding: 0 2px;
	font-weight: bold;
}
form.pretty label {
	margin-bottom: 3px;
	vertical-align: top;
	width: 100%;
	display: block;
}
form.pretty fieldset ol {
	margin: 10px 0 0 0;
	padding: 0;
}
form.pretty fieldset li {
	list-style: none;
	margin: 0;
	background: none;
	padding: 1px 0 7px 0;
}

form.pretty fieldset fieldset {
	border: none;
	margin: 3px 0 0;
}
form.pretty fieldset fieldset legend {
	padding: 0 0 5px;
	font-weight: normal;
	*margin: 0 -7px !important; /* IE hack */
}
form.pretty fieldset fieldset label {
	display: block;
	width: auto;
}
form.pretty label em {
	font-weight: bold;
	font-style: normal;
	color: #FF0000;
}
form.pretty label {
	width: 180px; /* Width of labels */
}
form.pretty fieldset fieldset label {
	margin-left: 183px; /* Width plus 3 (html space) */
}

form.pretty textarea,
form.pretty input[type=text],
form.pretty input[type=password],
form.pretty input[type=date],
form.pretty select {
	width: 100%;
	max-width: 300px;
	border: solid 1px #ccc;
	font-size: 12px;
	padding: 3px;
	margin-top: 1px;
	vertical-align:middle; 
}

form.pretty .hasDatepicker {
	max-width: 140px;
}

/*** custom layout ***/
form.pretty {
	width: 100%;
}
	
form.pretty legend {
	padding-left: 0;
	margin-bottom: 4px;
	margin-top: 3px;
}
	
form.pretty legend,
form.pretty label {
	color: #999;
	font-style: italic;
}

form.pretty label.error {
	color: #FF0000;
	font-style: italic;
	width: auto;
}

form.pretty fieldset {
	border: none;
	background: url(../images/pretty-fieldset.gif) left bottom repeat-x;
}

form.pretty fieldset fieldset {
	background: none;
}

@media (min-width: 500px) {
	form.pretty label {
		width: 180px;
		display: inline-block;
	}
	
	form.pretty .submit {
		 margin-left: 132px;
	}
}