/*Graphico Forms base class - it's the Cat's pyjamas*/

/* a spare bit of mark up acting as a consistent "looking" containing object instead of relying
on fieldset alone due to inconsistent browser interpretation - Stuart J*/
.form
{;
    padding: 0 0 25px 0;
    width: 62%;
}

.form fieldset
{
    border: 0 none; 
}

.form fieldset legend
{
    /*background-color: Purple;
    color: #000;
    padding-bottom: 0.5em;
    font-size: 1.8em;
    font-weight: bold;
    /*ie 8 hack*/
    /*display:block;
    width: 100%;
    border-bottom: 1px solid #000;
    font-family:Georgia,Times New Roman,Serif;*/
    display: none;
}

 


.form fieldset label
{
    position:relative;
}

.form fieldset label.required
{
    background-color:Lime;
    padding-right: 1em;
}

.form fieldset fieldset .field,
.form fieldset fieldset .field label
{
    display:inline;
}

/*inStack is where radio buttons and their labels appear as a block level stack*/

.form fieldset .inStack fieldset .field
{
    display:block;
    margin-top: 0.2em; 
}

.form fieldset .inStack fieldset .field label
{
    display:inline;
}


.form fieldset label,
.form fieldset fieldset legend
{
    /*background-color: Lime;*/
    font-size: 1em;
    font-weight: normal;
    color: #000;
    font-weight: bold;
    padding: 0;
    width: auto;
}

.form fieldset fieldset legend
{
    width:auto;
    display:block;
    margin-bottom: 0.2em;
    border-bottom: 0 none;
}

.form fieldset input, .form fieldset textarea
{
    /*background-color:Aqua;*/
    vertical-align:top;
    width: 99.5%;
    margin-top: 0.5em;
    background: #fff url(../../Images/Forms/genericInputBG.gif) 0 0 no-repeat;
    color: #555;
}

.form fieldset .upload
{
    border: 0 none;
    background: none;
    background-color:#fff;
}

.form fieldset select
{
    margin-top: 0.5em;
    display:block;
    color: #555;
}

.form fieldset textarea
{
    font-family:Arial,Verdana,sans-serif;
    font-size: 1em;
    height: 100px;
}

/* a container for buttons which can align the left or right*/

.form fieldset .hasButtons
{
    text-align:right;
}

.form fieldset .hasButtons input
{
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 0.3em;
    cursor:pointer;
    width: auto;
}

.form fieldset .field
{
    /*background-color:Yellow;*/
    margin-bottom: 1em;
    position:relative;
}

.form fieldset .errors
{
    width: 100%;
    position:relative;
    background-color: #B40909;
}

.form fieldset .errors #warning
{
    position:absolute;
    left: 1.2em;
    top: 1.2em;
}

.form fieldset .errors ul
{
    list-style: disc outside;
    padding:0 1em 1em 75px;
    color: #fff;
}

.form fieldset .errors ul a
{
    color: #fff;
}

.form fieldset .errors ul a:hover,
.form fieldset .errors ul a:focus
{
    background-color: #fff;
    text-decoration: none;
    color: #B40909;
}

.form fieldset .errors h2
{
    padding: 1em 1em 0.3em 75px;
    color: #fff;
}

.form fieldset span.genericInput
{
    /*background-color:Orange;*/
    padding: 0;
    border: 0 none;
    vertical-align:middle;
    background: none;
}

.form fieldset span.genericInput input
{
    margin:0;
    padding:0;
    margin-left: 0.3em;   
}

.form fieldset .field fieldset input
{
    margin-right: 0.3em;
}

/*date of birth is an exceptional class*/

.form fieldset .dateOfBirth label
{
  
}

.form fieldset .dateOfBirth select
{
    display: inline;
}

/*hint*/
.form .hint
{
    width: 16px;
    height: 16px;
    display:block;
    background: url(../../Images/Forms/Icons/information.png) 0 0 no-repeat;
    position:absolute;
    right: -20px;
    top: 1px;
    cursor:pointer;
}

.form .hintText
{
    position:absolute;
    left: 24px;
    width: 170px;
    background-color:#B40909;
    padding: 1em;
    font-weight: normal;
}

.form .hintText span
{
    font-weight: bold;
    font-style: italic;
}

/*webkit only - Safari & Chrome*/
@media screen and (-webkit-min-device-pixel-ratio:0)
{
    .form fieldset legend  
    {
        min-width:100%;
        margin-bottom: 0;
    }
    
    .form fieldset .field
    {
        float:left;
        clear:both;
        width: 100%;
    }
    
    .form fieldset input
    {
        width: 99.5%;
    }
    
    .form fieldset .field fieldset legend
    {
        margin-bottom: 0.3em;
        width:auto;
        float:left;
    } 
    
    .form fieldset .upload
    {
        color: #fff;
        font-weight: bold;
    }  
}

/*firefox hacks*/
@-moz-document url-prefix() 
{ 
    .form fieldset legend  
    {
        /*display:table-row; */
    } 
}

/*ie 6 hacks*/
* html .form fieldset legend
{
   /* margin-left: -0.7em;
    padding-left: 0.4em;
    width: 100%; */
}

* html .form fieldset fieldset legend
{
    padding-left: 0;
    margin-left:-1em;
}

* html .form fieldset .genericButton
{
    width: auto;
    overflow:visible;
}

* html .form fieldset fieldset legend
{
    margin-left: 0;
}

/*ie 7 hacks*/
*:first-child+html .form fieldset legend
{
    margin-left: -0.6em;
    width: 100%;
}

*:first-child+html .form fieldset .genericButton
{
    width: auto;
    overflow:visible;
}

/*spares - in good Zen Garden stylee here are 4 spare elements to do what you you will with*/
.forms spare01
{
    background-color:Lime;
}

.forms spare02
{
    background-color:green;
}

.forms spare03
{
    background-color:aqua;
}

.forms spare04
{
    background-color:purple;
}





