form.semantic fieldset
{
    clear: both;
    margin: 1em 0 0 0;
    padding: 5px;
    overflow: auto;
    background-color: #f8f8f8;
    border: 1px solid #888;
}

form.semantic fieldset.resource
{
    margin: 1.5em 2em 0.5em 2.5em;
    width: 70%;
}

form.semantic legend
{
    font-weight: bold;
    font-family: "Arial","Helvetica","Arial Black", Gadget, sans-serif;
}

form.semantic div
{
    clear: both;
    margin: 0;
    padding: 0.5em 0 0 0;
    overflow: visible;
}

form.semantic div.ital
{
    font-style:italic;
    padding: 0.5em 0 0em 1em;
}

form.semantic label 
{
    display: block;
    float: left;
    width: 300px;
    text-align: right;
    padding: 2px 1ex 4px 0;
    vertical-align: baseline;
}

form.semantic label.dif
{
    display: block;
    float: left;
    text-align: left;
    padding: 2px 1ex 4px 0;
    vertical-align: baseline;
}
          
form.semantic label.after 
{
    width: auto;
    text-align: left; 
    display: inline; 
    float: none;
}

form.semantic label.long 
{
    clear: both;
    width: auto;
    text-align: left;
    float: none;
}

form.semantic input
, form.semantic select
, form.semantic textarea
{
    float: left;
}     

form.semantic input[type=radio]
, form.semantic input[type=checkbox]
{
    vertical-align: text-bottom;
}

form.semantic ul {
    list-style-type: none; 
    float: left;
    padding: 0;
    margin: 0;
}

form.semantic ul.info {
    margin-left: 3em;
    list-style-type: square; 
    padding-bottom: 0.5em;
}

form.semantic ul.resource {
    list-style-type: disc; 
    padding: .3em 0 0 1em;
    margin-left: 1em;
}

form.semantic ul.modaccthead {
    list-style-type: none; 
    list-style-position: inside;
    padding: 10px 0 10px 20px;
    text-indent: -1em;
}

form.semantic ul.modacctchild {
    list-style-type: disc; 
    padding: .3em 0 0 1em;
    margin-left: 1em;
}

form.semantic li {
    clear: both;
    padding: 0.2em 0;
}

form.semantic li label {
    width: auto;
    text-align: left;
    padding: 0;
}   

form.semantic div.field-row 
{
    clear: none;
    float: left;
    margin: 0;
    padding: 0;
    overflow: visible;
}

form.semantic div.field-row *
{
    float: none;
    display: inline;
}

form.semantic div.instructions 
{
    margin: 0 5em 0 2.5em;
    padding: 0;
    text-align: left;
    font-size: 90%;
    max-width: 80%;
}


form.semantic .button-row
{
    text-align: right;
}

form.semantic .button-row input
{
    float: none;
}

form.semantic div.long label 
{
    width: auto;
    text-align: left;  
    float: none;
}

form.semantic div.long textarea 
{
    width: 100%;
}

/* Errors -- for use with JQuery Validate, etc. */

form.semantic input.error
, form.semantic select.error
, form.semantic textarea.error
{
    background-color: #77002a;
    color: white;
}                                                

form.semantic label.error
{
    width: auto;
    color: #77002a;
    text-align: left;
}       

table { margin: auto; } 

ul.ui-autocomplete {
    background: white;
    width: 80px;
    border: thin solid;
}

.captcha {
    margin-left: 300px !important;
}

.img_captcha {
    margin-left: 300px;
    margin-top: 8px;
}