/* =fieldset */
fieldset {
	border: solid 1px #861473;
	background:#ffffff;
	margin: 12px 0;
	padding: 1px;
	width: 410px;
}
fieldset.demographics {
	margin: 10px 6px 10px 0;
	border: solid 1px #861473;
	background:#ffffff;
}
.pair fieldset {
	width: 195px;
}
.single fieldset {
	width: 400px;
}
fieldset#reg, fieldset#zone {
	 width:400px;
	 height:auto;
	 margin:6px 0 0;
	 padding: 0;
}


form h3 {
	color: #665C5D;
	font-size: 1.2em;
	padding: 15px 0 4px 0;
}


/* =input */
input {
	float: right;
	width: 65%;
}


.boolean input {
	float: none;
	width: auto;
}
fieldset.demographics input{
   width:auto;
   float: left;
   width: 20px;
   height: 15px;
   margin: 0 0 0 2px;
} 
fieldset.demographics .free-text input {
	float: none;
	width: 110px;
	height: auto;
}
.submit input {
    font-size:1.0em;
	font-family: verdana, arial, helvetica, sans-serif;
	float: none;
	width: auto;
	background: #861473;
	color: #FFFFFF;
	border: 3px solid #660000;
	border-color: #a94d9a #661258 #620953 #973587;
	padding: .25em 1em;
}
/* I HATE IE */
.submit input {
	padding: .25em 0;
}
.submit input:active {
	background: #b16cab;
}

ul.submit {
	text-align: center;
	margin: 16px auto;
}

ul.submit li {
	padding: 4px 8px;
	display: inline;
	font-weight:bold;
	border: 1px solid #cccccc;
}

.in-progress {
	padding: 4px 5px;
	border: 1px solid #861473;
	background: #eeeeee;
	width: 400px;
}

p.in-progress {
	font-weight: bold;
	color: #861473;
	text-align:center;
}


/* =label */
label {
	float: left;
} 
.boolean label {
	float: none; 
}
.month label {
	width: 70%;
	padding: 0 1em 0 0;
}
fieldset.demographics label {
	float: none;
}
.text label {
	width: 10em;
}
/* =legend */
legend{
	font-weight:bold;
	font-size: 1.1em;
	color:#861473;
	background: #ffffff;
	border: solid 1px #ffffff;
	padding: 2px 6px 4px 4px;
	margin-left: 8px;
} 




/* =li */
fieldset.demographics li {
	list-style: none;
	margin: 1px 0;
	padding: 3px 0;
	background: #ffffff;
	width: 90%;
	border-bottom: 1px solid #dddddd;
}
fieldset.demographics li.invalid {
	background: #FFFFCC;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}
/* =p */
form p {
	overflow: hidden;
	width: 100%;
}
p.submit {
	text-align: center;
	width: 200px;
	margin: 2px auto;
	background: none;
	padding: 8px;
}
fieldset p {
	background: #ffffff;
	margin: 1px 0;
	padding: .25em 15px;
	width: 380px;
}
fieldset p.invalid {
	background: #FFFFCC;
}
#preview-badge p {
	text-align: center;
	font-weight: bold;
	margin: .75em 3px .75em 2px;
	padding: 0 10px;
}
#preview-badge p.name {
	margin-top: 95px;
}
#preview-badge p.company-activity {
	border-top: 2px solid #d5d4d4;
	padding-top: .5em;
	width: 275px;
	position: absolute;
	bottom: 0;
}
/* =select */
select {
	float: right;
	width: 3em;
	font-size:1.0em;
}
.country select {
	/* the extra 1% is necessary for reliable rendering (?!)*/
	width: 66%;
}
.month select {
	width: 25%;	
}

/* =textarea */
textarea {
	float: right;
	width: 65%;
	font-size:1.0em;
	height: 6em;
	margin-top:5px;
}

.enquiryFrm {
	float: right;
	width: 98%;
	font-size:1.0em;
	height: 10em;
	margin-top:5px;
}

/* =ul */
fieldset ul {
	background: #ffffff;
	margin: 1px 0;
	padding: .25em 15px;
}
fieldset.demographics ul {
	margin: 6px 0 0;
	background: #ffffff;
	padding: 0;
}
/* =anon */
.validation {
	color: #990000;
	font-weight: bold;
}
.free-text {
	display: block;
}
#preview-address {
	margin: 0 1em;
	font-weight: bold;
}
#preview-badge {
	background: #ffffff url(../images/vis_badge.gif) no-repeat;
	/* applying a border stops margin collapsing in Moz; >>
	otherwise the background image shows at the same position as the first line of text */
	border: 1px solid #FFFFFF;
	width: 300px;
	height: 200px;
	margin: 0 auto;
	position: relative;
}
.display-none {
	display: none;
}
/* fixes problem with legends and ie
NASTY HACK : would be preferable to put this in a conditional comment */

* html fieldset{
    position: relative;
    margin-top:1em;
    padding-top:1em;
	margin-bottom: 6px;
}

* html legend{
    position: absolute;
    top:-.5em;
    left:.5em;
	padding: 2px 6px 4px 2px;
	margin-top: -4px;
	margin-left: 1px;
}

/* fixes problem with legends and ie */
