The container that holds the water for the football team is 1/6 full. After pouring in 7 gallons of water, it is 1/2 full. How many gallons can the container hold?