/*
VISUAL EFFECTS
background color of form: fieldset
background color of submit btns: input.submit

to include multiple fields on one horizontal line: apply "float_left" class to li
to change the length of an input: apply "short, shorter, long or longer" class to input

MARKUP RULES
checkboxes and radios need a class of either "checkbox" or "radio"
any forms unique to a specific site should be styled in the "SPECIALIZED FORMS" area at the bottom of this stylesheet
*/

form, input, fieldset, legend, label {
	margin:0;
	padding:0;
}

form {margin-bottom:10px;}

fieldset, legend {
	background-color:#eee; /* background color of form */
	border:0px solid black;
}

fieldset {
	margin-top:10px;
	margin-bottom:10px;
	padding:20px;
	padding-top:0px;
	padding-bottom:10px;
}

legend {
	font-size:14px;
	font-weight:bold;
	margin-top:12px;
	margin-bottom:10px;
	margin-left:-20px;
	padding:4px 13px;
}

form ul {
	margin:0;
	padding:0;
	list-style:none;
	list-style-image:none;
	font-size:12px;
}

form ul.nofloat li {float:none;padding-bottom:15px;margin:0;}

form ul li {
	float:left;
	margin-right:25px;
	margin-bottom:10px;
	border:0px solid white;
}

input, textarea, select {
	border:1px solid #000;
	font:12px arial, sans-serif;
}

input, textarea {
	padding-top:1px;
	padding-right:2px;
	padding-bottom:1px;
	padding-left:2px;
}

input {
	/* width:120px; this is bad  */
}

textarea {
	width:300px;
	height:70px;
}

/* BEGIN CLASSES */
input.checkbox, input.radio {
	width:14px;
	margin-right:4px;
	margin-left:0px;
	padding:0;
	vertical-align:middle;
	border:0px;
}

input.submit { 
	background-color:#007cd1; /* background color of submit buttons */
	color:#fff;
	border:1px solid #000;
	width:auto;
	font-size:11px;
	font-weight:bold;
	padding-top:2px;
	padding-right:7px;
	padding-bottom:2px;
	padding-left:7px;	
}
.submit:visited {}
.submit:hover {
	background-color:#fff; /* hover background color of submit buttons */
	color:#000;
}

input.long {width:170px;}
input.longer {width:350px;}
input.short {width:90px;}
input.shorter {width:58px;}

.error, .success {
	font-size:14px;
	font-weight:bold;
	display:block;
	padding:5px;
}
.error {
	background-color: #CC0000;
	color:#fff;
}
.success {
	background-color:#39b44a;
	color:#fff;
}

.wrap {
	/*This class counters the float:left of the typical <li>
	and makes it possible to stack elements vertically, like in a list*/
	float:none;
}

.hidden {display:none;}

div.clear  {height:auto;}
/* BEGIN SPECIALIZED FORMS */

/* END SPECIALIZED FORMS */