Subsidiary Guarantors - Schedule of Condensed Consolidating Balance Sheets (Detail) (USD $) | Feb. 28, 2015 | Aug. 31, 2014 | Feb. 28, 2014 | Aug. 31, 2013 |
In Thousands, unless otherwise specified |
Current: | | | | |
Cash and cash equivalents | $59,997 | $99,037 | $172,340 | $158,537 |
Accounts receivable, net | 72,358 | 92,391 | | |
Refundable income taxes | | 6,000 | | |
Inventories, net | 198,779 | 151,472 | | |
Prepaid income taxes | 23,820 | 13,674 | | |
Prepaid expenses and other assets | 29,021 | 67,168 | | |
Amounts due from affiliated companies, net | 143 | | | |
Total current assets | 384,118 | 429,742 | | |
Property, plant and equipment, net | 326,697 | 317,519 | | |
Deferred financing costs, net | 2,961 | 3,575 | | |
Goodwill and other non-amortizable assets | 11,849 | 11,849 | | |
Amortizable intangible assets, net | 831 | 951 | | |
Deferred integrity and replacement costs, net | 61,775 | 64,916 | | |
Deferred turnaround costs & other assets | 37,123 | 41,912 | | |
Total assets | 825,354 | 870,464 | | |
Current: | | | | |
Current installments of long-term debt | 1,540 | 1,551 | | |
Accounts payable | 37,873 | 91,881 | | |
Accrued liabilities | 14,471 | 18,691 | | |
Sales, use and fuel taxes payable | 16,516 | 20,550 | | |
Deferred income taxes | 2,810 | 2,810 | | |
Amounts due to affiliated companies, net | | 1,521 | | |
Total current liabilities | 73,210 | 137,004 | | |
Long term debt: less current installments | 238,071 | 237,974 | | |
Deferred income taxes | 65,682 | 44,140 | | |
Deferred retirement benefits | 64,380 | 67,121 | | |
Total liabilities | 441,343 | 486,239 | | |
Commitment and contingencies | | | | |
Stockholder's equity: | | | | |
Common stock; $.10 par value per share - shares authorized 100; issued and outstanding 100 | 0 | 0 | | |
Additional paid-in capital | 156,810 | 156,810 | | |
Retained earnings | 223,021 | 222,495 | | |
Accumulated other comprehensive loss | -9,936 | -9,196 | | |
Total stockholder's equity | 384,011 | 384,225 | | |
Total liabilities and stockholder's equity | 825,354 | 870,464 | | |
United Refining Company [Member] | | | | |
Current: | | | | |
Cash and cash equivalents | 47,174 | 79,356 | 158,396 | 141,386 |
Accounts receivable, net | 46,832 | 51,452 | | |
Refundable income taxes | | 6,000 | | |
Inventories, net | 171,007 | 122,161 | | |
Prepaid income taxes | 28,865 | 16,918 | | |
Prepaid expenses and other assets | 22,659 | 62,889 | | |
Intercompany | 107,494 | 127,105 | | |
Total current assets | 424,031 | 465,881 | | |
Property, plant and equipment, net | 204,973 | 199,703 | | |
Deferred financing costs, net | 2,961 | 3,575 | | |
Deferred integrity and replacement costs, net | 61,775 | 64,916 | | |
Deferred turnaround costs & other assets | 32,571 | 39,302 | | |
Investment in subsidiaries | 45,759 | 35,811 | | |
Total assets | 772,070 | 809,188 | | |
Current: | | | | |
Current installments of long-term debt | 523 | 519 | | |
Accounts payable | 17,728 | 64,965 | | |
Accrued liabilities | 8,246 | 12,315 | | |
Sales, use and fuel taxes payable | 12,519 | 16,037 | | |
Deferred income taxes | 3,770 | 3,770 | | |
Total current liabilities | 42,786 | 97,606 | | |
Long term debt: less current installments | 233,539 | 232,946 | | |
Deferred income taxes | 48,767 | 28,816 | | |
Deferred retirement benefits | 62,967 | 65,595 | | |
Total liabilities | 388,059 | 424,963 | | |
Commitment and contingencies | | | | |
Stockholder's equity: | | | | |
Additional paid-in capital | 156,810 | 156,810 | | |
Retained earnings | 223,021 | 222,495 | | |
Accumulated other comprehensive loss | -9,936 | -9,196 | | |
Total stockholder's equity | 384,011 | 384,225 | | |
Total liabilities and stockholder's equity | 772,070 | 809,188 | | |
Guarantors [Member] | | | | |
Current: | | | | |
Cash and cash equivalents | 12,823 | 19,681 | 13,944 | 17,151 |
Accounts receivable, net | 25,526 | 40,939 | | |
Inventories, net | 27,772 | 29,311 | | |
Prepaid income taxes | -5,045 | -3,244 | | |
Prepaid expenses and other assets | 6,362 | 4,279 | | |
Amounts due from affiliated companies, net | 143 | | | |
Intercompany | -3,677 | 1,116 | | |
Total current assets | 63,904 | 92,082 | | |
Property, plant and equipment, net | 121,724 | 117,816 | | |
Goodwill and other non-amortizable assets | 11,849 | 11,849 | | |
Amortizable intangible assets, net | 831 | 951 | | |
Deferred turnaround costs & other assets | 4,552 | 2,610 | | |
Total assets | 202,860 | 225,308 | | |
Current: | | | | |
Current installments of long-term debt | 1,017 | 1,032 | | |
Accounts payable | 20,145 | 26,916 | | |
Accrued liabilities | 6,225 | 6,376 | | |
Sales, use and fuel taxes payable | 3,997 | 4,513 | | |
Deferred income taxes | -960 | -960 | | |
Amounts due to affiliated companies, net | | 1,521 | | |
Intercompany | 103,817 | 128,221 | | |
Total current liabilities | 134,241 | 167,619 | | |
Long term debt: less current installments | 4,532 | 5,028 | | |
Deferred income taxes | 16,915 | 15,324 | | |
Deferred retirement benefits | 1,413 | 1,526 | | |
Total liabilities | 157,101 | 189,497 | | |
Commitment and contingencies | | | | |
Stockholder's equity: | | | | |
Common stock; $.10 par value per share - shares authorized 100; issued and outstanding 100 | 18 | 18 | | |
Additional paid-in capital | 16,626 | 16,626 | | |
Retained earnings | 30,057 | 20,143 | | |
Accumulated other comprehensive loss | -942 | -976 | | |
Total stockholder's equity | 45,759 | 35,811 | | |
Total liabilities and stockholder's equity | 202,860 | 225,308 | | |
Series A Preferred Stock [Member] | | | | |
Stockholder's equity: | | | | |
Series A Preferred stock; $1,000 par value per share - shares authorized 25,000; issued and outstanding 14,116 | 14,116 | 14,116 | | |
Series A Preferred Stock [Member] | United Refining Company [Member] | | | | |
Stockholder's equity: | | | | |
Series A Preferred stock; $1,000 par value per share - shares authorized 25,000; issued and outstanding 14,116 | 14,116 | 14,116 | | |
Eliminations [Member] | | | | |
Current: | | | | |
Intercompany | -103,817 | -128,221 | | |
Total current assets | -103,817 | -128,221 | | |
Investment in subsidiaries | -45,759 | -35,811 | | |
Total assets | -149,576 | -164,032 | | |
Current: | | | | |
Intercompany | -103,817 | -128,221 | | |
Total current liabilities | -103,817 | -128,221 | | |
Total liabilities | -103,817 | -128,221 | | |
Commitment and contingencies | | | | |
Stockholder's equity: | | | | |
Common stock; $.10 par value per share - shares authorized 100; issued and outstanding 100 | -18 | -18 | | |
Additional paid-in capital | -16,626 | -16,626 | | |
Retained earnings | -30,057 | -20,143 | | |
Accumulated other comprehensive loss | 942 | 976 | | |
Total stockholder's equity | -45,759 | -35,811 | | |
Total liabilities and stockholder's equity | ($149,576) | ($164,032) | | |