/*  CSS Form version 1.1 */

/*
Structural
*/
#cssform fieldset {
    margin: 0px;
    padding: 0px;
}

#cssform fieldset.section {
    margin: 0.5em;
    padding: 1.5em;
}

#cssform legend {
    padding: 0.4em;
    font-size: 1.2em;
}

#cssform label {
    float: left;
    display: block;
    clear: left;
    margin-right: 1em;
    text-align: right;
    width: 200px;
}

/* Override the label style for labels that may appear anywhere, eg to the right of checkboxes */
#cssform label.free-label {
    float: none;
    display: inline;
    clear: none;
    margin-right: 1em;
    margin-left: 0.5em;
    text-align: left;
}

#cssform textarea {
    margin-top: 5px;
}
#cssform input {
    margin-top: 5px;
}
#cssform select {
    margin-top: 5px;
}
#cssform label {
    margin-top: 5px;
}
#cssform button {
    margin-top: 5px;
}
#cssform optgroup{
    margin-top: 5px;
}

#cssform input[type="checkbox"] ,input[type="radio"] {
    margin-bottom: 7px;
}

#cssform input[type="text"] {
    margin-bottom: 0.5em;
    padding: 1px;
    width: 200px;
}

#cssform select.dobmonth {
    width: 100px;
}
#cssform select.dobday {
    width: 50px;
}
#cssform select.dobyear {
    width: 70px;
}

#cssform input[type="file"] {
    margin-bottom: 0.5em;
    padding: 1px;
    width: 220px;
}

#cssform select {
    margin-bottom: 0.5em;
    padding: 3px;
    width: 200px;
}

#cssform textarea {
    width: 300px;
    height: 120px;
    margin-bottom: 0.5em;
}

/*
General styles for form elements
*/
#cssform {
    border: 1px solid #ccc;
    background-color: #ebf0f7;
}

#cssform fieldset {
    border: 0px;
}

#cssform legend	{
    background-color: #e3dfdf;
    color: #333;
}

#cssform label {
    color: #336699;
}

#cssform textarea, input.text {
    border: 1px solid #ccc;
}

#cssform textarea: focus, input[type="text"]:focus {
    border: 2px solid #666;
}

#cssform input.submitbutton {
    margin: 1.5em;
}

#cssform input[type="checkbox"] {
    color: #000;
}

#cssform input[type="radio"] {
    background-color: #fff;
    color: #000;
}

#cssform option {
    background-color: #fff;
    color: #000;
}

#cssform optgroup {
    background-color: #ccc;
    color: #000;
}

#cssform button {
    background-color: #ccc;
    color: #333;
}

/*
More specific styles for form elements
*/
#cssform select.title {
    margin-bottom: 0.5em;
    padding: 3px;
    width: 100px;
}

/* IE hack for lack of input[type="blah"] support, uses jquery to add classes to these items */
#cssform input.radio {
    background-color: #fff;
    color: #000;
}
#cssform input.checkbox {
    color: #000;
}
#cssform input.text {
    margin-bottom: 0.5em;
    padding: 1px;
    width: 200px;
}

/*
 Required flag (added automatically)
*/
span.requiredFlag {
    color: red;
}

/*
 JQ validation error markup
*/
div.error {
    color: red;
}

/*
  Other embellishments
*/
#cssform h2 {
    border-bottom: 1px solid rgb(204, 204, 204);
}
#cssform h3 {
    border-bottom: 1px solid rgb(204, 204, 204);
    font-size: 14px;
    color: #666666;
}

span.error {
    display: block;
    color: red;
    font-size: 12px;
    font-style: italic;
}

em.error {
    color: red;
}