form {
	background: #ec6; 
	padding: 10px; 
	border: 1px solid #000; 
	margin: 10px auto 0 auto;
	font-size: .9em;
}

form.noformat {
	padding: 0; 
	border: none; 
	margin: 0;
	width: 100%;
	background-color: #fff;
}
#gallery form {
	background: none; 
	font-size: 10px;
	border: none;
	text-align: right;
	padding: 0;
	margin: 0;
	width: auto;
}
form fieldset {
	display: block; 
	border: 2px solid #d90; 
	padding: 10px; 
	margin-bottom: 0.5em; 
}
form.noborder {
	border: none;
}

form p {
	font-size: .9em;
	margin-top: 0;
}

form legend {
	font-size: 1.1em; 
	font-weight: bold; 
	border: 3px solid #d90; 
	margin-bottom: 5px; 
	padding: 3px 10px; 
	background: #fff url(../img/filler.gif) repeat-x center left;
}

form label {
	display: block;
	color: #000; 
	margin-top: 4px;
}
form label.checkbox {
	float: left;
	width: 160px; 
	margin: 2px;
}
form label.checkboxlong {
	display: inline;
	position: relative;
	top: -4px;
}
form input, form file {
	border: 1px inset #ccc; 
	background: #fff url(../img/filler.gif) repeat-x top left; 
	padding: 2px 3px; 
	margin-bottom: 4px;
}
form input.formradio {
	margin-bottom: 0;
	background: transparent;
	border: none;
}
form input.formcheckbox {
	background: none;
	border: none;
}
.errormessage {
	color: #f00;
	margin: 0;
}
form input.longtext {
	width: 200px;
}

form select {
	border: 1px inset #ccc; 
}
form.noformat select {
	width: 100%; 
}

form textarea {
	width: 410px; 
	height: 15em; 
	border: 1px solid #fff; 
	padding: 0.5em; 
	overflow: auto; 
	background: #fff url(../img/filler.gif) repeat-x bottom left;
}

form option {
	background: #fff; 
	color: #000;
}

form optgroup {
	background: #abb; 
	color: #000; 
	font-family: georgia, serif;
}

form optgroup option {
	background: #9aa; 
	color: #fff;
}

form .button, form .button2 {
	color: #00f; 
	cursor: pointer;
	border: 1px outset #999;
	background: #eee;
	margin-right: 10px;
}
form .button:hover, form .button2:hover {
	border: 1px inset #999;
	background: #cce;
}
form .buttons {
	margin: 4px 0;
}
