\mode<presentation>

%-------------------------------------------------------------------------------
% Themes
%-------------------------------------------------------------------------------

\useoutertheme{split}
\useinnertheme{rounded}
\usefonttheme{structurebold}
\useoutertheme{shadow}

%-------------------------------------------------------------------------------
% Templates
%-------------------------------------------------------------------------------

\beamertemplatenavigationsymbolsempty
\beamertemplateheadempty
\beamertemplateshadowblocks

%-------------------------------------------------------------------------------
% Own templates
%-------------------------------------------------------------------------------

% Normal title page.
\defbeamertemplate*{title page}{simple}[1][]
{
	\vfill
	\begin{centering}
		\begin{beamercolorbox}[center, rounded=true]{title}
			\usebeamerfont{title}\inserttitle\par%
			\ifx\insertsubtitle\@empty%
			\else%
        			\vskip0.25em%
			        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
			\fi%
		\end{beamercolorbox}%

		\vskip1em

		\begin{beamercolorbox}[sep=8pt,center,#1]{author}
			\usebeamerfont{author}\insertauthor
		\end{beamercolorbox}

		\vskip1em

		
		\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
			\usebeamerfont{date}\insertinstitute
		\end{beamercolorbox}
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
		\vskip1em

		\begin{beamercolorbox}[sep=8pt,center,#1]{date}
			\usebeamerfont{date}\insertdate
		\end{beamercolorbox}
	\end{centering}
	\vfill
}
\defbeamertemplate*{footline}{shadow theme}
{%
  \leavevmode%
  \hbox{\begin{beamercolorbox}[wd=.35\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fil,rightskip=0.3cm,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor \insertinstitute\par
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.65\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle \hfill \insertframenumber\,/\,\inserttotalframenumber\hfill%
  \end{beamercolorbox}}%
  \vskip0pt%
}
%-------------------------------------------------------------------------------
% Logo
%-------------------------------------------------------------------------------

%\logo{\hspace*{0.6\textwidth}\includegraphics[width=1.8cm]{images/uzh.jpg}\hspace*{0.3cm}}
\logo{%
  \includegraphics[width=1.8cm,keepaspectratio]{images/uzh.jpg}\hspace*{0.3cm}%
  %  \includegraphics[height=0.6cm,keepaspectratio]{images/ifj.png}%
}


%-------------------------------------------------------------------------------
% Colors
%-------------------------------------------------------------------------------

\setbeamercovered{dynamic}

\setbeamercolor{math text}{fg=white!0!black}
\setbeamercolor{title}{bg=white!30!black}
\setbeamercolor{frametitle}{bg=white!45!black}
\setbeamercolor{footline}{bg=black,fg=white}
\setbeamercolor{author in head/foot}{bg=black,fg=white}
\setbeamercolor{title in head/foot}{bg=white!45!black}
\setbeamercolor{block title}{bg=white!45!black}
\setbeamercolor{block title example}{bg=white!45!black}
\setbeamercolor{block title alerted}{bg=white!15!black}

\colorlet{redshaded}{red!25!bg}
\colorlet{shaded}{black!25!bg}
\colorlet{shadedshaded}{black!10!bg}
\colorlet{blackshaded}{black!40!bg}

\usecolortheme{whale}
\usecolortheme{orchid}

%-------------------------------------------------------------------------------
% Fonts
%-------------------------------------------------------------------------------

\setbeamerfont{block title}{size={}}
\setbeamerfont{date}{size=\small}

%-------------------------------------------------------------------------------
% Other
%-------------------------------------------------------------------------------

\titlegraphic{
\includegraphics[width=3.0cm]{images/uzh.jpg}\hspace*{0.3cm}
%\includegraphics[height=0.9cm,keepaspectratio]{images/ifj.png}%

}

\mode
<all>
