calculate total on motiv page
set global background color for input fields