Subsidiary Guarantors - Schedule of Condensed Consolidating Balance Sheets (Detail) (USD $) | 31-May-14 | Aug. 31, 2013 | 31-May-13 | Aug. 31, 2012 |
In Thousands, unless otherwise specified |
Current: | ' | ' | ' | ' |
Cash and cash equivalents | $46,033 | $158,537 | $124,092 | $137,540 |
Accounts receivable, net | 108,018 | 125,196 | ' | ' |
Refundable income taxes | ' | 20,890 | ' | ' |
Inventories, net | 248,227 | 130,966 | ' | ' |
Prepaid income taxes | 6,532 | ' | ' | ' |
Prepaid expenses and other assets | 57,136 | 42,093 | ' | ' |
Total current assets | 465,946 | 477,682 | ' | ' |
Property, plant and equipment, net | 309,697 | 289,132 | ' | ' |
Deferred financing costs, net | 3,882 | 4,803 | ' | ' |
Goodwill and other non-amortizable assets | 11,849 | 11,849 | ' | ' |
Amortizable intangible assets, net | 977 | 1,057 | ' | ' |
Deferred turnaround costs & other assets | 37,416 | 11,772 | ' | ' |
Total assets | 829,767 | 796,295 | ' | ' |
Current: | ' | ' | ' | ' |
Current installments of long-term debt | 1,599 | 1,592 | ' | ' |
Accounts payable | 65,269 | 54,170 | ' | ' |
Accrued liabilities | 24,772 | 18,715 | ' | ' |
Income taxes payable | ' | 8,587 | ' | ' |
Sales, use and fuel taxes payable | 23,693 | 19,247 | ' | ' |
Deferred income taxes | 365 | 365 | ' | ' |
Amounts due to affiliated companies, net | 823 | 434 | ' | ' |
Total current liabilities | 116,521 | 103,110 | ' | ' |
Long term debt: less current installments | 238,098 | 237,114 | ' | ' |
Deferred income taxes | 31,060 | 29,193 | ' | ' |
Deferred retirement benefits | 65,396 | 69,675 | ' | ' |
Total liabilities | 451,075 | 439,092 | ' | ' |
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 | 157,251 | 159,844 | ' | ' |
Retained earnings | 214,930 | 190,333 | ' | ' |
Accumulated other comprehensive loss | -7,605 | -7,090 | ' | ' |
Total stockholder's equity | 378,692 | 357,203 | ' | ' |
Total liabilities and stockholder's equity | 829,767 | 796,295 | ' | ' |
United Refining Company [Member] | ' | ' | ' | ' |
Current: | ' | ' | ' | ' |
Cash and cash equivalents | 28,881 | 141,386 | 110,751 | 122,219 |
Accounts receivable, net | 66,844 | 83,800 | ' | ' |
Refundable income taxes | ' | 21,944 | ' | ' |
Inventories, net | 219,027 | 101,891 | ' | ' |
Prepaid income taxes | 5,281 | ' | ' | ' |
Prepaid expenses and other assets | 52,945 | 37,860 | ' | ' |
Intercompany | 139,286 | 133,159 | ' | ' |
Total current assets | 512,264 | 520,040 | ' | ' |
Property, plant and equipment, net | 194,602 | 179,326 | ' | ' |
Deferred financing costs, net | 3,882 | 4,803 | ' | ' |
Deferred turnaround costs & other assets | 34,848 | 9,055 | ' | ' |
Investment in subsidiaries | 25,812 | 27,503 | ' | ' |
Total assets | 771,408 | 740,727 | ' | ' |
Current: | ' | ' | ' | ' |
Current installments of long-term debt | 591 | 836 | ' | ' |
Accounts payable | 40,894 | 31,625 | ' | ' |
Accrued liabilities | 18,346 | 12,399 | ' | ' |
Income taxes payable | ' | 8,242 | ' | ' |
Sales, use and fuel taxes payable | 18,789 | 14,933 | ' | ' |
Deferred income taxes | 1,734 | 1,734 | ' | ' |
Amounts due to affiliated companies, net | ' | -169 | ' | ' |
Total current liabilities | 80,354 | 69,600 | ' | ' |
Long term debt: less current installments | 232,784 | 232,180 | ' | ' |
Deferred income taxes | 16,264 | 14,325 | ' | ' |
Deferred retirement benefits | 63,314 | 67,419 | ' | ' |
Total liabilities | 392,716 | 383,524 | ' | ' |
Commitment and contingencies | ' | ' | ' | ' |
Stockholder's equity | ' | ' | ' | ' |
Additional paid-in capital | 157,251 | 159,844 | ' | ' |
Retained earnings | 214,930 | 190,333 | ' | ' |
Accumulated other comprehensive loss | -7,605 | -7,090 | ' | ' |
Total stockholder's equity | 378,692 | 357,203 | ' | ' |
Total liabilities and stockholder's equity | 771,408 | 740,727 | ' | ' |
Guarantors [Member] | ' | ' | ' | ' |
Current: | ' | ' | ' | ' |
Cash and cash equivalents | 17,152 | 17,151 | 13,341 | 15,321 |
Accounts receivable, net | 41,174 | 41,396 | ' | ' |
Refundable income taxes | ' | -1,054 | ' | ' |
Inventories, net | 29,200 | 29,075 | ' | ' |
Prepaid income taxes | 1,251 | ' | ' | ' |
Prepaid expenses and other assets | 4,191 | 4,233 | ' | ' |
Intercompany | 2,529 | 6,545 | ' | ' |
Total current assets | 95,497 | 97,346 | ' | ' |
Property, plant and equipment, net | 115,095 | 109,806 | ' | ' |
Goodwill and other non-amortizable assets | 11,849 | 11,849 | ' | ' |
Amortizable intangible assets, net | 977 | 1,057 | ' | ' |
Deferred turnaround costs & other assets | 2,568 | 2,717 | ' | ' |
Total assets | 225,986 | 222,775 | ' | ' |
Current: | ' | ' | ' | ' |
Current installments of long-term debt | 1,008 | 756 | ' | ' |
Accounts payable | 24,375 | 22,545 | ' | ' |
Accrued liabilities | 6,426 | 6,316 | ' | ' |
Income taxes payable | ' | 345 | ' | ' |
Sales, use and fuel taxes payable | 4,904 | 4,314 | ' | ' |
Deferred income taxes | -1,369 | -1,369 | ' | ' |
Amounts due to affiliated companies, net | 823 | 603 | ' | ' |
Intercompany | 141,815 | 139,704 | ' | ' |
Total current liabilities | 177,982 | 173,214 | ' | ' |
Long term debt: less current installments | 5,314 | 4,934 | ' | ' |
Deferred income taxes | 14,796 | 14,868 | ' | ' |
Deferred retirement benefits | 2,082 | 2,256 | ' | ' |
Total liabilities | 200,174 | 195,272 | ' | ' |
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 | 10,460 | 12,253 | ' | ' |
Accumulated other comprehensive loss | -1,292 | -1,394 | ' | ' |
Total stockholder's equity | 25,812 | 27,503 | ' | ' |
Total liabilities and stockholder's equity | 225,986 | 222,775 | ' | ' |
Series A Preferred Stock [Member] | ' | ' | ' | ' |
Stockholder's equity | ' | ' | ' | ' |
Series A Preferred stock; $1,000 par value 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 share - shares authorized 25,000; issued and outstanding 14,116 | 14,116 | 14,116 | ' | ' |
Eliminations [Member] | ' | ' | ' | ' |
Current: | ' | ' | ' | ' |
Intercompany | -141,815 | -139,704 | ' | ' |
Total current assets | -141,815 | -139,704 | ' | ' |
Investment in subsidiaries | -25,812 | -27,503 | ' | ' |
Total assets | -167,627 | -167,207 | ' | ' |
Current: | ' | ' | ' | ' |
Intercompany | -141,815 | -139,704 | ' | ' |
Total current liabilities | -141,815 | -139,704 | ' | ' |
Total liabilities | -141,815 | -139,704 | ' | ' |
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 | -10,460 | -12,253 | ' | ' |
Accumulated other comprehensive loss | 1,292 | 1,394 | ' | ' |
Total stockholder's equity | -25,812 | -27,503 | ' | ' |
Total liabilities and stockholder's equity | ($167,627) | ($167,207) | ' | ' |