sdata changes: make queries only when input have a value, change css structure