% Copyright 2007 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details

\mode<presentation>

\usefonttheme{default}
\usecolortheme{Diana}
\useinnertheme{default}
\useoutertheme{default}


\pgfdeclareimage[width=64pt]{university-logo}{logo_horizontal_duas_linhas}
\pgfdeclareimage[width=64pt]{university-logo-inverted}{logo_horizontal_duas_linhas_invertido}
\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo}}}}


\setbeamertemplate{headline}{}
\setbeamertemplate{footline}[frame number]
\setbeamertemplate{navigation symbols}{}

\AtBeginSection[] {
	\begingroup
		\setbeamercolor{background canvas}{bg=ue-red}
		\setbeamercolor{section in toc shaded}{fg=black}
		\setbeamercolor{section in toc}{fg=white}
		\logo{\pgfputat{\pgfxy(-1.2,8)}{\pgfbox[center,base]{\pgfuseimage{university-logo-inverted}}}}
		\begin{frame}<beamer>
			\tableofcontents[currentsection]
		\end{frame}
	\endgroup
}

\mode
<all>
