Two ways:
1. To change it temporarily - Hold ALT and middle click to where you want to move pivot (middle click = mouse wheel click)
2. To change it permanently - Go to Modeling mode, Transform category, and click Pivot button, then move it and click Accept button