% Cores, Background, entre outras coisas.
\usepackage{color}
%R G B
\DefineNamedColor{named}{azul3}{RGB}{159,50,36}
\DefineNamedColor{named}{azul1}{RGB}{167,168,170}
\DefineNamedColor{named}{azul2}{RGB}{58,58,59}
\DefineNamedColor{named}{laranja1}{RGB}{159,50,36}

\mode<presentation>
\setbeamercolor{author in head/foot}{bg=azul1, fg=white}
\setbeamercolor{title in head/foot}{bg=azul2, fg=white}
%\setbeamercolor{institute in head/foot}{fg=instituteColor}
\setbeamercolor{date in head/foot}{bg=azul3, fg=white}

\setbeamercolor{alerted text}{fg=azul1!80!laranja1}
\setbeamercolor*{palette primary}{fg=white,bg=azul3}
\setbeamercolor*{palette secondary}{fg=azul3,bg=white} %barra branca
\setbeamercolor*{palette tertiary}{fg=white,bg=azul3} %barra cima
\setbeamercolor*{palette quaternary}{fg=white,bg=azul3}
\setbeamercolor*{structure}{fg=azul2,bg=white} %indice
\setbeamercolor{frametitle}{fg=white,bg=azul3} %titulo slide
\mode<all>

\defbeamertemplate*{footline}{ufrn theme}
{%
	\leavevmode%
	\hbox{
		\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
			\usebeamerfont{author in head/foot}\insertshortauthor%~~
			%\insertshortinstitute
		\end{beamercolorbox}%
		
		\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
			\usebeamerfont{title in head/foot}\insertshorttitle
		\end{beamercolorbox}%
		
		\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
			\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
		\end{beamercolorbox}}%
	\vskip0pt%
}

% Background
\setbeamertemplate{background}{
	\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{figuras/background_ua_c.pdf}}