% Copyright 2010-2012  by tgoerlach < tobias.goerlach@uni-hohenheim.de >
% This is  beamerouterhohenheimposter to support beamerposter
% https://bitbucket.org/tobig/hohenheimbeamertheme/
%
% 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.
% file version .1
% theme version 0003a

\newcounter{tgpostercount}
\refstepcounter{tgpostercount}

\setbeamertemplate{block begin}{
  \vskip.75ex
  \begin{beamercolorbox}[ht=2.5cm,dp=1cm,center,leftskip=1em,colsep*=0ex, sep=2mm, rounded=true]{block title}%
    \usebeamerfont*{block title}% 
    {\vphantom{Gp} \thetgpostercount .~\insertblocktitle\refstepcounter{tgpostercount}}% phantom because of baseline problem
  \end{beamercolorbox}%
  {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
  \usebeamerfont{block body}%
  \begin{beamercolorbox}[leftskip=1em,colsep*=.75ex,sep=0.5ex,vmode, sep=5mm, rounded=true]{block body}%
    \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
  }
  \setbeamertemplate{block end}{
  \end{beamercolorbox}
}


\setbeamertemplate{headline}{  
  \leavevmode
  \begin{beamercolorbox}[wd=\paperwidth]{frametitle}
    \begin{columns}[T]
      \begin{column}{.02\paperwidth}
      \end{column}
      \begin{column}{.8\paperwidth}
        \vskip5ex
        \raggedleft
        \usebeamercolor{title in headline}{\color{fg}\textbf{\Huge{\inserttitle}}\\[3ex]}
        \usebeamercolor{author in headline}{\color{fg}\large{\insertauthor}\\[1ex]}
        \usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}     
      \end{column}
      \begin{column}{.2\paperwidth}

        \begin{center}
 \insertmylogo
        \end{center}

      \end{column}
      \begin{column}{.02\paperwidth}
      \end{column}
    \end{columns}
    \vskip2ex
  \end{beamercolorbox}
  \begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
    \rule{0pt}{3pt}
  \end{beamercolorbox}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\beamertemplatenavigationsymbolsempty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
  \begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
    \rule{0pt}{3pt}
  \end{beamercolorbox}
  \leavevmode%
  \begin{beamercolorbox}[ht=2cm,leftskip=1em,rightskip=1em]{author in head/foot}%
 \normalsize\vphantom{Gg}  \texttt{\insertwebsite}
    \hfill gg
    \texttt{\insertemail }
  \vskip.5cm
  \end{beamercolorbox}
  \vskip0pt%
 % \begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
 %   \rule{0pt}{0pt}
 % \end{beamercolorbox}
}




% equal font sizes for all levels
\setbeamerfont{itemize/enumerate body}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}
\setbeamerfont{block body}{size=\normalsize}
\setbeamerfont{block title}{size=\large}

    
