select {
        FONT-SIZE: 100%;
}

form .inputWrapper {
        position: relative;
}
form .inputWrapper.text {
	font-size: inherit;
        height: 4ex;
        height: 3.2ex;
        min-width: 1em;
        width: auto;
}
form .inputWrapper.text > input {
        border-color: lightgray;
        border-style: inset;
        border-width: 1px;
        bottom: 0%;
        left: 0%;
        position: absolute;
        right: 0%;
        top: 0%;
        width: auto;
}
form input {
}

form fieldset {
	border: none;
	display: block;
	margin: 0;
	padding: 0;
}
form fieldset legend {
	border: none;
	display: block;
	font-size: 90%;
	font-weight: bold;
	margin: 0;
	padding: 0;
	position: relative;
}
form fieldset legend:after {
	content: ':';
}

form .required legend {
	margin-left: 1em;
}
form .required legend:before {
	bottom: 11%;
	color: red;
	content: "*";
	font-size: 200%;
	line-height: 0.99;
	position: absolute;
	right: 100%;
	text-transform: uppercase;
	overflow: hidden;
	width: 0.77ex;
	display: block;
	height: 1ex;
	padding: 0;
}

form fieldset + fieldset {
	margin-top: 1ex;
}
form fieldset label.textinput {
	display: block;
	padding-right: 4px;
	position: relative;
}
form fieldset label.textinput input {
	border-color: #E6E6E6;
	border-width: 1px;
	bottom: 0;
	display: block;
	font-family: inherit;
	font-size: 100%;
	left: 0;
	margin: 0;
	padding: 1px;
	position: static;
	top: 0;
	right: 0;
	width: 100%;
}
form fieldset label.select {
	display: block;
	height: 3.2ex;
	margin: 0;
	padding: 0;
	position: relative;
	width: auto;
}
form fieldset label.select select {
	bottom: 0;
	height: auto;
	left: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: auto;
}
form fieldset.buttons {
	border: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
form fieldset.buttons input[type='button'],
form fieldset.buttons input[type='submit'] {

	text-shadow: 0px 0px 1px #ffffff;
        filter: dropshadow(color=#ffffff, offx=0, offy=0);
        
	background: #eaeaea; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VhZWFlYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ4JSIgc3RvcC1jb2xvcj0iI2Q2ZDZkNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUyJSIgc3RvcC1jb2xvcj0iI2QxZDFkMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiMmIyYjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #eaeaea 0%, #d6d6d6 48%, #d1d1d1 52%, #b2b2b2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eaeaea), color-stop(48%,#d6d6d6), color-stop(52%,#d1d1d1), color-stop(100%,#b2b2b2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #eaeaea 0%,#d6d6d6 48%,#d1d1d1 52%,#b2b2b2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #eaeaea 0%,#d6d6d6 48%,#d1d1d1 52%,#b2b2b2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #eaeaea 0%,#d6d6d6 48%,#d1d1d1 52%,#b2b2b2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #eaeaea 0%,#d6d6d6 48%,#d1d1d1 52%,#b2b2b2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#b2b2b2',GradientType=0 ); /* IE6-8 */
	
	border: 1px outset #EBEBEB;

	-webkit-border-radius: 0.3ex;
	-moz-border-radius: 0.3ex;
	border-radius: 0.3ex;
	
	-webkit-box-shadow:  0px 0px 0px 1px rgba(0, 0, 0, 0.6);
        box-shadow:  0px 0px 0px 1px rgba(0, 0, 0, 0.6);

	margin: 2px auto;
	padding: 0 0.5em;

}

form .errors .error {
	color: red;
	font-weight: bold;
}
form ul.errors {
	font-size: 92%;
	list-style-type: none;
	margin: 0;
	padding: 0.5ex;
}
form ul.errors li.error {
	margin: 0;
	padding: 0;
}
form .errors .error + .error {
	margin-top: 1ex;
}
.error a:link,
.error a:visited,
.error a:hover,
.error a:active {
	color: black;
}
