form {
    display: inline;
    line-height: normal;
    font-size: 13px;
    font-family: "trebuchet ms", helvetica, sans-serif;
}

fieldset {
    max-width: 800px;
    border: 1px solid #999;
    padding: 8px;
    margin: 2em 0;
    padding-top:.75em;
    background-color: #f9f9f9;
    position: relative;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

form h2 {
    clear: left;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #eee; 
    border-top: 1px solid #999; 
    border-bottom: 1px solid #999; 
    padding: 2px;
    margin: 5px 0px
}

form h3 {
    font-weight:bold;
    color:#003366;
    border-bottom: 2px solid #999;
    padding: 2px; 
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 1.1em;
    clear: both;
}

legend {
    background-color: #003366;
    color: white;
    border: 1px solid #999; 
    padding: 2px 12px;
    font-weight: bold;
}

fieldset fieldset {
    margin: 1em;
    background-color: white;
    clear: left;
}

fieldset fieldset legend {
    background-color: #336699;
    padding: 1px 6px;
    font-size: .9em;
    font-weight: normal;
}

form .instructions {
    clear: both;
    background-color: #6699cc;
    border: 1px solid #336699;
    padding: .5em; 
    margin: 1em;
    color: white;
    font-weight: bold;
}

form .instructions a, form .instructions a:visited, form .instructions a:hover {
	color: yellow;
}

form .hint {
    margin-bottom: .5em;
    float: right;
    width: 29%;
    background-color: white;
    border: 1px solid #ddd;
    color: #333;
    font-style: italic
}

form .hint.highlight {
    border: 2px solid orange
}

fieldset fieldset .hint {
    background-color: #f9f9f9;
}

form .hint p {
    padding-left: 25px;
    line-height: normal;
    background-image: url(/site/images/icons/asterisk_orange.png);
    background-repeat: no-repeat;
    background-position: top left;      
}

form .hint a {
    color: #003366;
}

form .field {
    clear: left;
    margin: 3em 0;
}

form .field label, form .field div.compoundLabel {
    clear: left;
    float: left;
    width: 29%;
    margin: 0 .5em;
    text-align: right;
    font-weight: bold;
}

form .field label.error, form .field div.compoundLabel.error {
	color: red;
    border: 0;
}

input.error, textarea.error, select.error {
    background-color: #fbefef;
    color: black;
}

input[type="text"], 
input[type="password"],
input[type="submit"],
input[type="button"],
input[type="file"],
textarea, 
select  
{
    border: normal;
    margin: 0 .5em;
    font-size: 1.1em;
}

form .field .existingFile
{
    width: 100%;
    margin-left: 30%;
    padding-left: 1.5em
}

input[type="image"] 
{
    border: 0;
}

form img.calendar 
{
    cursor: pointer;
    border: 0;
    margin: 0 .5em;
}

form img.calendar:hover 
{
    background: red;
}

form .field option
{
    font-size: 1em;
}

form .field .dateList {
    padding-top: 2px;
}

form .static {
    clear: left;
}

form .static dt {
    clear: left;
    float: left;
    width: 30%;
    margin: 0 .5em;
    text-align: right;
    font-weight: bold;
}

form .static dd {
	float: left;
    margin-left: .5em;
    margin-bottom: 18px;
    font-weight: bold;
}

form .static dd.money {
    width: 120px;
    text-align: right;
}

form .large {
    font-size: 1.2em;
}

form .subtotal {
    font-style: italic;
}

form .total {
    font-size: 1.25em;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background-color: #ddd;
}

textarea {
    width: 30%;
    height: 80px;
}

textarea.big {
    width: 30%;
    height: 100px;
}

textarea.bigger {
    width: 30%;
    height: 150px;
}

textarea.biggest {
    width: 30%;
    height: 200px;
}

ul.checkboxes {
    float: left;
    width: 60%;
    margin-top: 0;
    padding-left: 0;
}

ul.checkboxes label {
    clear: none;
    display: inline;
    width: auto;
    margin: 0;
    text-align: left;
    font-weight: normal;    
}

ul.checkboxes li {
   list-style: none;
   margin-left: 0;
   margin-bottom: .25em;
   padding-left: 0;
   width: 50%;
   float: left;
}

ul.checkboxes li input {
    clear: none;
    float: left;
}

.mceEditor {
    clear: right;
}

.existing {
    margin-left: 30%;
}

form .field span.error {
	display: block;
	width: 30%;
    float: right;
    color: red;
    font-weight: bold;
    line-height: normal;
}

form .agreement {
    clear: both;
    margin: 1em 0;
    padding: 8px;
    border: 1px solid #003366;
    background-color: #ddd;
    max-width: 800px;
}

form .submit {
    clear: both;
    text-align: center; 
    margin: 8px;
    max-width: 800px;
}

form .submit input {
	font-family: "Trebuchet MS", Helvetica, Arial;
    padding: 5px;
    font-size: 18px;
    color: #555;
    background-color: #ddd;
    border: 2px solid #bbb; 
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

form .submit input:hover {
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    color: #222;
    border: 2px solid #666; 
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.documentation {
    padding: 1em;
    color: #555;
}

.documentation h3 {
    border-top: 4px solid #69c;
    color: #69c;
    padding-top: 6px;
    padding-left: 22px;
    font-weight: normal;
    background-image:url('/site/images/icons/information.png');
    background-repeat: no-repeat;
    background-position: bottom left;
}

.documentation ul, .documentation ol {
    padding-left: 2em;
    margin-left: 0;
    line-height: 24px;
}

.documentation ul {
    list-style: square
}

input.datepicker[type="text"] {
    border: 1px solid #ddd;
    color: #555;
    background-color: inherit;
    font-size: .9em;
    font-family: Verdana;
    width: 12em;
}

img.datepicker {
    cursor: pointer;
    margin: 0;
    vertical-align: top;
}

#sidebar .module input {
    margin: 0;
}

/* Get these aligned with fieldsets */
form .notice {
    clear: both;
    padding: 8px;
    margin: 1em 0;
    max-width: 800px;
}

div.wrapper, div.multifileWrapper, div.options {
    float: left;
}

div.wrapper input, div.wrapper img {
    clear: both;
    margin-bottom: 2px
}

div.multifileWrapper input[type="file"] {
    margin-bottom: 2px;
}

div.existingFile {
    clear: both
}

ul.radios {
    float: left;
    width: 30%;
    margin-top: 0;
    padding-left: 0;
}

ul.radios li {
   list-style: none;
   margin-left: 0;
   margin-bottom: .25em;
   padding-left: 0;
   width: 100%;
   float: left;
}

ul.radios li input {
    clear: none;
    float: left;
}