% Table Header
\newcommand{\header}[1]{{
	\par\vspace*{8pt}
	\noindent
	\jebba@TableTitleFont
	#1}}

% Centered Column
\newcolumntype{Y}{>{\centering\arraybackslash}X}

% Table Environment
\NewDocumentEnvironment{jebbatable}{O{XX} O{tablecolor}}{%
    \par\vspace*{8pt}
    \noindent
    \jebba@TableBodyFont
    \rowcolors{1}{}{#2}
    \tabularx{\linewidth}{#1}
  }{%
    \endtabularx
    \vspace{8pt plus 1pt}
    \noindent
  }

\newenvironment{jebbaitemtable}[1][XX]{%
    \jebba@deprecate{jebbaitemtable}{0.7}[Set tablecolor and use jebbatable instead.]
    \par\vspace*{8pt}
    \noindent
    \jebba@TableBodyFont
    \rowcolors{1}{}{DmgCoral}
    \tabularx{\linewidth}{#1}
  }{%
    \endtabularx
    \vspace{8pt plus 1pt}
    \noindent
  }
