\ProvidesPackage{beamerthemeI6td} % this style was created by Thomas Deselaers

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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\useinnertheme[shadow=true]{rounded}
%\useoutertheme{shadow}
%\usecolortheme{orchid}
%\usecolortheme{whale}

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

% custom colors
\definecolor{i6blue}{cmyk}{1,0.305,0,0.06}
\definecolor{i6bluedark}{rgb}{0.0156,0.2578,0.5625} 
% http://www.colorsontheweb.com/colorwizard.asp#wizard, used start set: #0066cc
\definecolor{i6bluescheme1}{HTML}{0066cc} 
\definecolor{i6bluescheme2}{HTML}{001933} 
\definecolor{i6bluescheme3}{HTML}{65B2FF} 
\definecolor{i6bluescheme4}{HTML}{666666} 

\definecolor{tddarkblue}{HTML}{0011BB}
\definecolor{tdlightgray}{HTML}{CCCCCC}
\definecolor{tdlightblue}{HTML}{0060FF}


% headline colors and fonts
\setbeamercolor{headline}{fg=white,bg=tddarkblue}
\setbeamercolor{title in headline}{fg=white}
\setbeamercolor{author in headline}{fg=tdlightgray}
\setbeamercolor{institute in headline}{fg=tdlightgray}
\setbeamercolor{logo in headline}{fg=black,bg=white}
\setbeamercolor{separation line}{bg=white}

% footline colors and fonts
\setbeamercolor{footline}{fg=white,bg=tddarkblue}
\setbeamerfont{footline}{fg=white, size=\normalsize}

% body colors and fonts
\setbeamercolor*{normal text}{fg=white,bg=tddarkblue}

% block environment
\setbeamercolor*{block body}{bg=white,fg=black}
\setbeamercolor*{block title}{fg=blue,bg=tdlightgray}
\setbeamerfont{block title}{size=\large,series=\bf}

% example environment
\setbeamercolor*{example title}{fg=white,bg=i6bluescheme1}
\setbeamerfont{example title}{size=\large,series=\bf,bg=i6bluescheme1,fg=white}


%\setbeamercolor*{example body}{fg=white,bg=i6bluescheme4}
%\setbeamercolor*{example title}{fg=white,bg=i6bluescheme1}


%  \setbeamercolor{framesubtitle}{fg=ta3orange, bg=ta2gray}
%  \setbeamercolor{author in head/foot}{fg=tabutter, bg=black}
%  \setbeamercolor{title in head/foot}{bg=tabutter, fg=black}


%\setbeamercolor{alerted text}{fg=i6blue}
%\setbeamercolor{structure}{fg=i6blue}

%  \setbeamertemplate{itemize/enumerate body begin}{
%  }
%  \setbeamertemplate{itemize/enumerate body end}{
%  }

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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{block begin}{
  \vskip.75ex
  \begin{beamercolorbox}[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}[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}{.74\paperwidth}
        \vskip2cm
        \begin{center}
          \raggedleft
          \usebeamercolor{title in headline}{\color{fg}\textbf{\VERYHuge{\inserttitle}}\\[1ex]}
          \usebeamercolor{author in headline}{\color{fg}\large{\insertauthor}\\[1ex]}
          \usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}     
        \end{center}
      \end{column}
      \begin{column}{.25\paperwidth}
        \vskip1.5cm
        \begin{center}
          \includegraphics[width=.85\linewidth]{deselaers/logos/rwth-white}
        \end{center}
        \vskip1.5cm
      \end{column}
      \begin{column}{.03\paperwidth}
      \end{column}
    \end{columns}
  \end{beamercolorbox}
  
%%      \begin{beamercolorbox}[sep=0.1cm,wd=.1\paperwidth,center]{logo in headline}
%%        \vskip2ex
%%      \end{beamercolorbox}  
%%      \begin{beamercolorbox}[sep=1cm,wd=.7\paperwidth]{headline}
%%        \usebeamercolor{title in headline}{\raggedright\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]}
%%        \usebeamercolor{author in headline}{\raggedright\color{fg}\large{\insertauthor}\\[1ex]}
%%        \usebeamercolor{institute in headline}{\raggedright\color{fg}\large{\insertinstitute}\\[1ex]}     
%%      \end{beamercolorbox}%
%%      \begin{beamercolorbox}[sep=0.1cm,wd=.18\paperwidth,center]{logo in headline}
%%        \includegraphics[height=5cm]{logos/rwth-hks44}
%%        \vskip2ex
%%      \end{beamercolorbox}  
%%    \end{beamercolorbox}
  
  \begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
    \rule{0pt}{2pt}
  \end{beamercolorbox}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
  \begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
    \rule{0pt}{6pt}
  \end{beamercolorbox}
  
  \begin{beamercolorbox}[ht=1\baselineskip,leftskip=1cm]{footline}%
    Lehrstuhl f\"ur Informatik 6 - Computer Science Department - RWTH Aachen University - Aachen, Germany \hfill -- \hfill
    \texttt{deselaers@cs.rwth-aachen.de} \hfill --\hfill
    \texttt{http://www-i6.informatik.rwth-aachen.de}    
  \end{beamercolorbox}

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

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



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