.clear {
  clear: both;
}

form {
  font-size: 0.9em;
	width: 535px;
}


/* fieldset styling */
fieldset {
	margin: 1em 0; /*  space out the fieldsets a little*/
	padding: 1em;
	border : 1px solid #ccc;
	background-color:#F5F5F5
}

/* For stupid IE fieldset background bug */
* html fieldset{ 
	position: relative; 
}
* html legend{ position:absolute; top: -.5em; left: .5em; }
* html fieldset{ position: relative; margin-top:1em; padding-top:.75em; }

/* legend styling */
legend {
	font-weight: bold;
}

form p {
  position: relative;
	width: 100%;
}

form p.subtext {
	color: #AAA;
}

/* style for  labels */
label {
	float: left;
	width: 150px;
}
#othermembers label {
	float: left;
	width: 200px;
}

#sex label, #starttime label, .gender label {
  width: 5em;
}
#distance label {
  width: 120px;
}

/* style for required labels */
label .required {
	font-size: 0.83em;
	color:#760000;
}

/* style error messages */
label .feedback {
	position: absolute;
	margin-left: 11em;
	left: 200px;
  right: 0;
	font-weight: bold;
	color:#760000;
	padding-left: 18px;
	background: url(images/error.png) no-repeat left top;
}

/* :KLUDGE: Explicitly set the width for IE6- */
* html .feedback{
  width: 10em;
}

input {
  width: 160px;
  font-size: 0.9em;
}
input.small {
  width: 40px;
}
select {
  font-size: 0.9em;
}

input[type="text"], textarea {
	border-top: 2px solid #999;
	border-left: 2px solid #999;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

input.radio, input.checkbox, input.submit {
  width: auto;
}

/* style form elements on focus */
input:focus, textarea:focus {
	background: #ffc;
}

input.radio {
  float: left;
	margin-right: 0.5em;
	margin-top: 0;
	_margin-top: -3px; /* hack for IE */
}

textarea {
	width: 380px;
	height: 50px;
}

/* Date of Birth form styling */
#monthOfBirthLabel, #yearOfBirthLabel {
  text-indent: -1000em;
	width: 0;
}
.my {
  text-indent: -1000em;
	width: 0;
	_margin-bottom: -10px;
}
#dateOfBirth {
  width: 5em;
}
#monthOfBirth {
}
#yearOfBirth {
  width: 6em;
}

/* Messages
===================================================*/

.errorbox {
  background: #FFFFE1 url(../images/icons/error.gif) no-repeat 10px 10px;
  padding: 0.7em 0.5em 1em 4em;
  border: 1px dashed #003366;
  margin: 1em 0;
  color: #003366;
  font-weight: bold;
}
