added fallback style when JS is not available for inputs.