/**********************************

Name: cmxform Styles
Author: Nick Rigby 

***********************************/

form.cmxform {
font-size:1em;
border:red 1px solid;
}
form.cmxform fieldset {
/*border:red 1px solid;*/
}
form.cmxform fieldset fieldset {
background:none;
}
form.cmxform fieldset li {
padding:5px 10px 7px 0;
background-image:none;
}
form.cmxform legend {
border:1px solid #009cdf;
padding:2px 1em;
}
form.cmxform legend,form.cmxform label {
color:#333;
}
form.cmxform LABEL.required {
}
form.cmxform input, form.cmxform textarea {
border:1px solid #999999;
}
/* required form fields*/
INPUT.required,TEXTAREA.required,SELECT.required {
background-color:#fcfcfc;
}
INPUT.errorfld, TEXTAREA.errorfld, SELECT.errorfld {
background-color:#ffcccc;
}
form.cmxform INPUT:focus,SELECT:focus,TEXTAREA:focus {
background-color:#f0f0f0;
}
form.cmxform #_submitbutton {
background-image:url(../images/submit.jpg);
width:57px;
height:21px;
border:0px;
margin-left:233px;
background-color:none;
}
form.cmxform input.formSmall {
width:3em;
}

/**********************************
Use: cmxform base template
Author: Nick Rigby
***********************************/
form.cmxform fieldset { 
margin: 10px 0;
padding:1em 0;
border:0px;
}
form.cmxform legend {
padding:2px 1em;
font-weight:bold;
margin-left:20px;
}
form.cmxform fieldset li {
list-style:none;
padding:5px;
}
form.cmxform label {
display:inline-block;
line-height:1.8;
vertical-align:top;
font-weight:bold;
}
form.cmxform label {
display:-moz-inline-box;
}
form.cmxform INPUT {
font-size:1em;
}
/* subforms */
form.cmxform fieldset fieldset {
border:none;
margin:3px 0 0;
}
form.cmxform fieldset fieldset legend {
padding:0 0 5px;
font-weight:normal;
padding:2px 1em;
margin:0;
margin-left:20px;
border:0;
}
form.cmxform fieldset fieldset label {
display:inline;
float:left;}

form.cmxform em {
font-weight:bold;
font-style:normal;
color:#f00;
}
form.cmxform label { width: 20em; } /* Width of labels */
form.cmxform label.secondary { text-align:right; padding:0 1em 0 5em; width: auto; } /* Width of labels */
form.cmxform fieldset fieldset label { margin-left: 123px; } /* Width plus 3 (html space) */
/*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */
/* form validation*/
form.cmxform INPUT.noedit {
background-color:#f0f0f0;
}

.errormsg {
margin:0 2em;
color:#f00;
font-weight:bold;
}
.form-invalid {
margin-left:1em;
color:#ff7777;
font-size:90%;
font-weight:bold;
vertical-align:top;
}

form.cmxform fieldset ol{
margin:0;
padding:0;
}
