mods to quant input and replaced a few bits of css