% this style was created by Philippe Dreuw and Thomas Deselaers
\ProvidesPackage{beamerthemeHonolulu} 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tangocolors}
% \selectcolormodel{cmyk}
\mode<presentation>

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setbeamercolor{headline}{fg=white,bg=darkerblue}
\setbeamercolor{footline}{fg=white, bg=darkerblue}
\setbeamerfont{footline}{size=\large,series=\tt}
% \setbeamercolor{separation line}{bg=ta2orange}
\setbeamercolor{separation line}{bg=tagray}

% \setbeamercolor{title in headline}{fg=tabutter}
% \setbeamercolor{author in headline}{fg=ta2orange}
% \setbeamercolor{institute in headline}{fg=ta3orange}
\setbeamercolor{title in headline}{fg=white}
\setbeamercolor{author in headline}{fg=tagray}
\setbeamercolor{institute in headline}{fg=ta2gray}

% \setbeamercolor{framesubtitle}{fg=ta3orange, bg=blue!30!black}
% \setbeamercolor{author in head/foot}{fg=ta2orange, bg=blue!30!black}
% \setbeamercolor{title in head/foot}{fg=ta2orange, bg=blue!30!black}
\setbeamercolor{framesubtitle}{fg=white, bg=darkerblue}
\setbeamercolor{author in head/foot}{fg=white, bg=darkerblue}
\setbeamercolor{title in head/foot}{fg=white, bg=darkerblue}

\setbeamercolor*{normal text}{fg=white, bg=darkblue}
% \setbeamercolor*{block body}{fg=black,bg=white!95!blue}
\setbeamercolor{block body}{use=structure,fg=black,bg=white}
% \setbeamercolor*{block title}{fg=white,bg=blue!30!black}
\setbeamercolor{block title}{parent=structure,fg=white,bg=darkerblue}
\setbeamerfont{block title}{size=\large,series=\bf}
% \setbeamercolor{upper separation line head}{fg=ta2orange}

\setbeamercolor{block body alerted}{use=structure,fg=black,bg=white}
% \setbeamercolor*{block title}{fg=white,bg=blue!30!black}
\setbeamercolor{block title alerted}{parent=structure,fg=white,bg=darkerblue}
\setbeamerfont{block title alerted}{size=\large,series=\bf}
% \setbeamercolor{upper separation line head}{fg=ta2orange}

\setbeamercolor*{example body}{use=structure,fg=black,bg=white!95!green}
\setbeamercolor*{example text}{fg=white, bg=green!70!black}
\setbeamercolor*{example title}{parent=example text,fg=white,bg=green!30!black}

\setbeamercolor{alerted text}{fg=red}

%\setbeamercolor{example text}{fg=taorange}
\setbeamercolor{structure}{fg=ta3skyblue}

\setbeamertemplate{itemize items}[triangle]
\setbeamertemplate{navigation symbols}{}  % no navigation on a poster

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block begin}{
  \vskip.75ex
  \begin{beamercolorbox}[rounded=true,shadow=true,leftskip=1cm,colsep*=.75ex]{block title}%
    \usebeamerfont*{block title}\insertblocktitle
  \end{beamercolorbox}%
  {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
  \usebeamerfont{block body}%
  \begin{beamercolorbox}[rounded=true,shadow=true,colsep*=.75ex,sep=.75ex,vmode]{block body}%
    \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
  }
  \setbeamertemplate{block end}{
  \end{beamercolorbox}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{  
  \leavevmode

  \begin{beamercolorbox}[wd=\paperwidth]{headline}
     \begin{columns}[T]
       \begin{column}{.001\paperwidth}
       \end{column}
       \begin{column}{.1\paperwidth}
        \vskip1cm
        \begin{center}
          \includegraphics[height=7.5cm]{athene_gray}
        \end{center}
         \vskip1ex
       \end{column}
       \begin{column}{.75\paperwidth}
        \vskip4ex
%         \raggedleft
	\begin{center}
        \usebeamercolor{title in headline}{\color{fg}\textbf{\LARGE{\inserttitle}}\\[2ex]}
        \usebeamercolor{author in headline}{\color{fg}\large{\insertauthor}\\[1ex]}
        \usebeamercolor{institute in headline}{\color{fg}\normalsize\textit{\insertinstitute}\\[1ex]}
	\end{center}
       \end{column}
       \begin{column}{.1\paperwidth}
         \vskip1cm
         \begin{center}
	  \includegraphics[height=7.5cm]{mpp_logo_gray}
         \end{center}
         \vskip1.5cm
       \end{column}
       \begin{column}{.02\paperwidth}
       \end{column}
     \end{columns}
%          \vskip0.5cm
  \end{beamercolorbox}

  \begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
    \rule{0pt}{1pt}
  \end{beamercolorbox}
}

%  \setbeamertemplate{headline}{  
%    \leavevmode
%    \begin{beamercolorbox}[sep=0.5cm,wd=.8\paperwidth]{headline}
%      \usebeamercolor{title in headline}{\raggedleft\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]}
%      \usebeamercolor{author in headline}{\raggedleft\color{fg}\large{\insertauthor}\\[1ex]}
%      \usebeamercolor{institute in headline}{\raggedleft\color{fg}\large{\insertinstitute}\\[1ex]}     
%    \end{beamercolorbox}%
%    \begin{beamercolorbox}[wd=.2\paperwidth]{logo in headline}
%      \centering
%      \LARGE{LOGO}
%    \end{beamercolorbox}  


%}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
  \begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
    \rule{0pt}{2pt}
  \end{beamercolorbox}
  
  \leavevmode%
%   \begin{beamercolorbox}[ht=4ex,leftskip=1cm,rightskip=1cm]{author in head/foot}%
% %     \texttt{http://www-i6.informatik.rwth-aachen.de}
% %     \hfill
% %     \texttt{\{dreuw,deselaers\}@cs.rwth-aachen.de}
% %     \begin{center}
% %      \texttt{\textcolor{white!80!black}{kroha@mppmu.mpg.de}}
% %     \end{center}
%     \vskip1ex
%   \end{beamercolorbox}
%   \vskip0pt%
%   \begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
%     \rule{0pt}{2pt}
%   \end{beamercolorbox}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Display a grid to help align images ... and it looks nice with this color scheme
%\beamertemplategridbackground[1cm]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<all>


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Local Variables: 
%%% mode: latex
%%% TeX-PDF-mode: t
%%% TeX-master: "poster"
%%% End: 
