adjusted fieldset, legend and input layouts