\ProvidesPackage{di/ditabularx}

\RequirePackage{di/table}
\RequirePackage{tabularx}
\RequirePackage{environ}

% Prodrive tabularx environment
\NewEnviron{pdtabularx}[2]{%
 \begingroup%
 \setlength{\tabcolsep}{4pt}%
 \fontsize{8pt}{8pt}\selectfont%
 \renewcommand*{\arraystretch}{1.4}%
 \tabularx{#1}{!{\pdoutline} #2 !{\pdoutline}}%
 \pdtoprule%
 \BODY%
 \pdbottomrule%
}[\endtabularx\endgroup]
