/* Note that the form also shares attributes with the feature class in main.css ----------------------------------------  */   
#form 
{ 
    background: url(../images/form_bk.gif) top left no-repeat;
    padding-top: 20px;          
} 
 
form 
{ 
    padding-top: 20px;
    margin: 0 auto;        
} 
    
fieldset 
{
    margin-bottom: 10px !important;
    margin-bottom: 40px;
    margin-top: 10px; 
    padding: 10px;      
} 

legend
{
   
}

#form label 
{
    color: #666;    
    clear: left;
    display: block; 
    float: left;
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;                
    padding: 5px;
    text-align: right;       
    width: 200px;    
} 

input, textarea, select, option   
{
    background: #fff url(../images/field_bk.gif) top left repeat-x; 
    border: 1px solid #999; 
    margin-bottom: 10px;
    margin-left: 6px;     
    padding: 5px; 
    width: 260px; 
}

textarea   
{
    background: url(../images/field_bk2.gif) top left repeat-x;  
}

select   
{
    width: 270px; 
}

option
{
    background-image: none;
    background-color: transparent;
    border: 0;
    margin-bottom: 0;
} 

:focus   
{
    background: #fff;    
}

textarea 
{ 
    overflow: auto;
} 

textarea.message
{
    width: 380px;
} 

#form #button
{
    background: #fff url(../images/button_bk.gif) top left repeat-x;
    border: 1px solid #465a8e; 
    color: #465a8e;
    cursor: pointer;
    font-weight: bold;      
    padding: 0.25em 0.5em;
    width: auto;      
} 

#form #button:hover
{
    background-position: bottom;            
} 

#form label.error 
{ 
    
    margin: -12px 0 10px 216px !important;
    margin: - 6px 0 05px 100px; 
    padding: 5px; 
    width: 264px;
    color: #fff;
    font-weight: bold;
    text-align: left;
    background-color: #8fc201; 
}

#form input.error, #form textarea.error   
{
    border: 2px solid #8fc201; 
} 

#form .submit
{
    display: block;
    clear: both; 
    margin-left: 220px !important; 
    margin-left: 155px;
    text-align: center;     
    width: 260px; 
}