/*the imported stylesheet is not a part of the demo,
 *simply styling the header*/
@import url("page-header.css");

html, body {
    margin: 0;
    padding: 0;
    }

body {
    color: #000;
	font: 100% Georgia, Times New Roman, San-Serif;
	}

p {
    margin: 1em 0; /*IE needs explict values to avoid buggy
                     collapsing margins behavior.*/    
    }

p.instruction {
    text-align: center;
    }

p.instruction:before {
    content: "* ";
    color: #993333;
    font-size: 1.5em;
    }

p.instruction:after {
    content: "indicates a required field";
    color: #333;
    }

h1 {
    font-family: georgia, serif;
    text-align: center;
    }

form {
    width: 30em;
    height: auto;
    border: 3px solid #999;
    padding: 10px 10px 0;
    margin: 0.5em auto;
    font-size: 89%;
	color: #333;	
    font-family: verdana, helvetica, sans-serif;
    }

fieldset {
    position: relative;
    margin-bottom: 0.5em;
    padding: 1em;
    border: 1px solid #555;
    }

input, select {
    cursor: pointer;
    }

input[type="checkbox"] {
    vertical-align: middle;
    }

input[type="submit"] {
    border: 2px outset gray;
    width: 75px;
    }

input[type="submit"]:active {
    border: 2px inset gray;
    position: relative;
    top: 1px;
    left: 1px;
    -moz-outline: none;
    }

input[type="text"], select {
    vertical-align: top;
    width: 8em;
    border: 1px solid #999;
    }

input[type="text"]:focus {
    background-color: #ffe;
    }

legend {
    font-size: 0.9em;
    padding: 0.2em 0.5em;
    background-color: #eee;
    border: 1px solid #555;
    }

label {
    font-size: 0.9em;
    margin: .25em 0;
    cursor: pointer;
    }

label span.req:before {
    content: "* ";
    color: #993333;
    }

label:hover span.req {
    color: #993333;
    }

label:hover span.req:before {
    content: " REQUIRED ";
    }

label:hover,
label:hover input,
label:hover span {
    background-color: #eee;
    }

label span {
    width: 16em;
    float: left;
    text-align: right;
    margin-right: 1em;
    }

input, select {
    width: 8em;
    border: 1px solid #777;
    }

#wrapper {
    width: 80%;
    margin: 0 auto;
    }

.cbxl {
    width: 48%;
    float: left;
    text-align: left;
    clear: left;
    }

.cbxl input {
    width: auto;
    border: 0 none;
    }

.cbxr {
    width: 48%;
    float: right;
    clear: right;
    text-align: left;
    }

.cbxr input {
    width: auto;
    border: 0 none;
    }

.fineprint {
    font-size: 9px;
    color: #aaa;
    text-align: center;
    }

.footer {
	font-size: 75%;
	text-align: center;
}

/*** see http://www.positioniseverything.net/easyclearing.html
   for explanation of Tony Aslett's elegant hack ***/

.clearing:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
    }

.clearing {
    display: inline-block;
    }

/* Hides from IE-mac \*/
.clearing {
    display: block;
    }
/* End hide from IE-mac */
/*** end clearing hack ***/

