% January 2009

% Modifications done by Martin Bjeldbak Madsen
% June 2014
\mode<presentation>

\RequirePackage{tgpagella}

% \DeclareOptionBeamer{titlepage}{\PassOptionsToPackage{titlepage=#1}{beamertheme-Inner}}
% \ProcessOptionsBeamer

\useoutertheme[subsection=false,shadow]{miniframes}
\useinnertheme{default}
\usefonttheme{serif}

\setbeamertemplate{footline} % show slide number on all slides but the first
{%
  \ifnum\c@framenumber=1
  \else
    \begin{beamercolorbox}[wd=0.95\paperwidth,right,dp=2ex]{page number}
      \insertframenumber/\inserttotalframenumber%
    \end{beamercolorbox}
  \fi%
  \begin{beamercolorbox}[colsep=1.25pt]{lower separation line foot}
  \end{beamercolorbox}
}

% \ifnum\c@framenumber=1
\usebackgroundtemplate{\includegraphics[width=1.3\paperwidth]{16x9_seal03.jpg}}
% \else
% \fi%

% Display a slide before the current section with overview inf
% \AtBeginSection[]
% {%
%    \begin{frame}
%        \frametitle{Overview}
%        \tableofcontents[currentsection,hideothersubsections]
%    \end{frame}
% }

\setbeamerfont{title like}{shape=\scshape}
\setbeamerfont{frametitle}{shape=\scshape}
\setbeamerfont{section in head/foot}{shape=\scshape,size=\tiny}

\setbeamertemplate{navigation symbols}{} % hide bottom nav buttons
\setbeamercovered{transparent} % don't hide strip-teased bullet points

% \definecolor{barcolor}{HTML}{77C4D3} % teal
\definecolor{barcolor}{HTML}{DD0000} % husker red
\setbeamercolor{lower separation line head}{bg=barcolor}
\setbeamercolor{lower separation line foot}{bg=barcolor}
\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=red}
\setbeamercolor{example text}{fg=black}
\setbeamercolor{structure}{fg=black}

\setbeamercolor{palette tertiary}{fg=black,bg=black!10}
\setbeamercolor{palette quaternary}{fg=black,bg=black!10}

\mode<all>
