input.radio, input.check{width:auto; border:none}
input, select{width:20em; border:solid 1px #999}
input.text_small{width:7em; border:solid 1px #999}
input.text_medium{width:14em}
input.datepicker{width:7em}
input.text_xsmall{width:3em; border:solid 1px #999}
textarea{width:25em; height:8em; border:solid 1px #999}

.hidden{display:none}

fieldset {position: relative; float: left; clear: both; width: 100%; margin: 0 0 -1em 0; padding: 0 0 1em 0; border-top:solid 1px #ccc}
legend span {position: absolute; top: 0; margin: 0.5em; font-size: 1.4em; font-family:"Trebuchet MS"}
legend {padding: 0; color: #545351; font-weight: bold}
fieldset ol{padding: 4.5em 1em 0 2em; list-style: none}
fieldset div{margin:3.5em 1em 1em 1em}
fieldset li {float: left; clear: both; width: 100%; padding-bottom: 1em; position:relative; margin:0}
fieldset.submit {float: none; padding:0; background:#eee none; text-align:right; font-weight:bold; border-top:solid 1px #ccc; margin-top:1em; padding:5px; margin:15px 0 0 0; width:auto}
fieldset.submit input{background-color:#666; color:#fff; font-size:1.1em; font-weight:bold; padding:.1em; border:solid 1px #555; width:auto}

label {float: left; width: 13em; margin-right: 1em}
label.inline{float:none}
fieldset.alt{background-color: #E6E3DD}
fieldset fieldset{margin-bottom:-2.5em; border-style: none; background-color: transparent; background-image: none}
fieldset fieldset input{margin-right:5px; vertical-align:middle; width:auto}
fieldset fieldset legend{margin-left: 0; font-weight: normal; color:#000}
fieldset fieldset ol {position: relative; top: -1em; margin: 0 0 0 14em; padding: 0}
fieldset fieldset label {float: none; width: auto; margin-right:auto; vertical-align:middle}
fieldset fieldset li{float:left; width:auto; clear:none; margin-right:25px}

.req label{font-weight:bold}
#content fieldset li p{margin:10px 0; font-size:1em}

fieldset ol.no_legend{padding: 0}


/* override css for d2d */
fieldset, fieldset.submit{border:none; background:none;}
fieldset.submit{text-align:left; padding:0}
input, input.text_small, fieldset.submit input, select, textarea{font-size:12px; font-family:"Trebuchet Ms", Arial, Helvetica, sans-serif; color:#333; padding:0}
fieldset.submit input{color:#fff}
