bd textarea {
    width: auto;
}
p {
    margin: 10px 0;
}
#bd table {
    width: 99%;
}
input.text, textarea, select {
    font-size:114%;
    line-height:122%;
    padding: 2px;
    border-top:1px solid #7c7c7c;
    border-left:1px solid #c3c3c3;
    border-right:1px solid #c3c3c3;
    border-bottom:1px solid #ddd;
    background-color:#FFFAD4;
    background-image: url('images/inputbg.gif');
    background-repeat: repeat-x;
    background-position: top left;
}
form p {
    display: block;
    clear: both;
}
.formSubmit, span.yui-submit-button.formSubmit {
    margin-top:20px;
    margin-left:182px;
}
#bd label, label {
    width:180px;
    font-weight:bold;
    float:left;
    padding: 3px;
    text-align:right;
}
#bd label.mini, label.mini {
    width: 120px;
}
#bd label.flat, label.flat {
    width: 100%;
    text-align: left;
    display: block;
}
#bd label.formSubmit {
    width: auto;
    margin-top: 0;
}
#bd p.required {
    background-image: url('images/required.gif');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 10px;
}
span.required {
    color: #900;
}
#bd {
    position: relative;
}
#bd fieldset {
    width: 330px;
}
#bd fieldset table th.label {
    text-align: right;
}
#bd fieldset table input.text {
    width: 140px;
}
#bd fieldset table input.short {
    width: 80px;
}
#bd fieldset table input.mid, #bd fieldset table select.mid {
    width: 158px;
}
#bd fieldset table input.shorter {
    width: 152px;
}
#estimate td#total_components, #estimate td#total_pins, #estimate td#total_area, #estimate td#component_density {
    text-align: left;
}
input.float, span.float {
    float: right;
}
input.floatright {
    margin-left: 10px;
}
div.regular {
    height: 14px;
}
fieldset {
    border-color: #999;
    display: block;
    margin-bottom: 18px;
    padding: 5px;
}
#bd fieldset.data label.mini {
    margin-bottom: 3px;
    width: 132px;
}
#bd fieldset label.flat {
    height: 18px;
}
fieldset.data input {
    text-align: right;
}
span.float {
    width: 80px;
    margin-left: 10px;
    text-align: center;
    font-weight: bold;
}
span.floatleft {
    margin-left: 2px;
}
button#help_btn {
    float: right;
    cursor: pointer;
    background-image: url(images/help_btn.png);
    background-repeat: no-repeat;
    background-position: right center;
    border: none;
    background-color: transparent;
    padding-right: 54px;
    height: 52px;
    width: 200px;
    line-height: 26px;
    text-align: right;
}
.help {
    display: none;
    font-style: italic;
}
.shown {
    display: block;
}
p span.float {
    padding-top:3px;
}
#estimate {
    margin-top: 6px;
    width: 320px;
    background-image: url('images/bg_estimate.png');
    background-repeat: repeat-y;
    background-position: top center;
    text-align: left;
}
#estimate h2, #estimate h3 {
    margin: 0 4px;
}
#estimate h3 {
    text-align: left;
    color: #333;
    margin-left: 20px;
}
#estimate table {
    width: 96%;
    margin: 5px;
    padding: 0;
}
#estimate table td.data {
    border: 1px solid #fff;
    padding: 1px;
    vertical-align: middle;
}
#estimate td, #estimate th {
    padding: 0;
    margin: 0;
    vertical-align: middle;
    height: 26px;
    text-align: right;
}
#estimate td {
    color: #000;
    font-weight: bold;
}
#estimate th {
    color: #666;
    padding-right: 2px;
}