fieldset,form,label,legend {
border:0;
font-weight:inherit;
font-style:inherit;
font-size:12px;
font-family:inherit;
vertical-align:baseline;
margin:0;
padding:0;
}

fieldset {
border:1px solid #ccc;
margin:0 0 1.5em;
padding:1.4em;
}

legend {
font-size:1.2em;
color:#333;
padding:0 .4em;
}

label {
float:left;
width:18em;
display:block;
clear:left;
margin-right:1em;
text-align:right;
cursor:hand;
}

textarea {
width:250px;
}

textarea,input,select,label,button,optgroup {
margin-top:5px;
}

input[type=checkbox],input[type=radio] {
margin-bottom:7px;
}

textarea:focus,input[type=text]:focus {
border:1px solid #000;
}

input[type=checkbox] {
color:#000;
}

optgroup {
background-color:#ccc;
color:#000;
}

textarea,input[type=text] {
border:1px solid #999;
padding:2px;
}

select,input[type=radio],option {
background-color:#fff;
color:#000;
}

input[type=submit],button {
background-color:#ccc;
color:#333;
}