/*** accessible forms ***/

div.formpanel{
	background-color: #24282c;
}

.panel form p{
	margin:0;
	padding:0;
}

.panel form div.fm-intro{
	margin-left: 16px;

	margin-bottom: 6px;
	padding: 3px;
	padding-top: 10px;
}

.panel form p.formtitle{
	font-size: 1.4em;
	font-weight: bold;
	margin-bottom: .2em;
}

fieldset {
	background-color: #2d3135;
	padding: 1em;
	margin-bottom: 1em;
	margin-right: 16px;
	margin-left: 16px;
}

* html fieldset{
	padding-top:0;
}

legend {
	font-weight: bold;
	color: #a4a6a7;
	padding: 3px 6px 3px 6px;
	background-color: transparent;
}

* html legend{
	margin-bottom: 1em;
}

label {
	float: left;
	width: 30%;
	text-align: right;
	padding-right: 10px;
}

fieldset div {
	display: block;
	clear: both;
	margin-bottom: 2px;
}

fieldset div input, fieldset div textarea, fieldset div select{
	width: 60%;
	border: 1px solid black;
	background-color:#a4a6a7;
	font-family: verdana, sans-serif;
	font-size: 1em;
}

div.fm-multi div {
}

div.fm-multi input {
	width: 1em;
	margin-right: 6px;
	border: none;
}

* html div.fm-multi input {
	background-color: transparent;
}

div.fm-multi label {
	display: block;
	width: 30%;
	text-align: left;
}

.form_lb{
	padding-bottom: 10px;
}

#fm-submit {
	clear: both;
	text-align: right;
	padding-right: 16px;
}

#fm-submit input {
	border: 1px solid #333;
	padding: 2px 1em;
	font-size: 100%;
}

input:focus, textarea:focus, select:focus {
	background: #ace4e9;
	color: #000;
}

/* required fields */

.fm-req {
	font-weight: bold;
	color: #fff;
}

fieldset div.fm-req label:before {
	content: "* "; /* does not work in IE */

}


form.fm{
    width: 100%;
}

form.fm .fm-error{
    color: red;
}

fieldset{
    margin: 1em 0 1em 0;
    border: 1px dashed white;
}

form.fm label{
    float: left;
    width: 30%;
    text-align: right;
}

form.fm .dateinput{
    width: 3em;
}

form.fm .fm_buttons{
    text-align: right;
    display: block;
    clear: both;
}

form.fm div.fm_field{
    display: block;
    clear: both;
}

form.fm div.fm_field input, 
form.fm div.fm_field textarea, 
form.fm div.fm_field select{
    border: 1px solid black;
    background-color:#eee;
}

form.fm div.fm_field textarea{
    height: 8em;
}

button{
    border: 1px solid black;
    background-color:#eee;
    margin: 2px;
    padding: 2px 1em 2px 1em;
}
