Changed media query (width of dollar sign)
Added directive for min/max validation