Really Elementary

A box contains some buttons. 1/4 of them are black, 1/8 of them are red, and the rest are white. There are 992 more white buttons than red buttons. How many buttons are there altogether?