% Copyright 2009, 2020 Stefan Huber <shuber@sthu.org>

\DeclareOptionBeamer{compress}{\beamer@compresstrue}
\ProcessOptionsBeamer

\mode<presentation>

\usecolortheme{SHblue2}

%\useoutertheme{infolines}
%\useoutertheme{shadow}
%\useoutertheme{split}
%\useinnertheme[shadow=true]{rounded}

%\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{blocks}[rounded]



\setbeamerfont{frametitle}{parent=structure,size=\Large}
\setbeamerfont{author}{size=\small}
\setbeamerfont{date}{size=\normalsize}
\setbeamerfont{title}{series=\bfseries}


\defbeamertemplate*{footline}{SHblue theme}
{%
	\leavevmode%
	\hbox{%
		\begin{beamercolorbox}[wd=\textwidth,ht=2.25ex,dp=1ex]{footline}%
			\hspace{1ex}\insertshortauthor:\hspace{2ex}\bf\insertshorttitle\normalfont
			\hfill \insertsectionhead%
			\ifnum\value{subsection}=0\relax%
			{}%
			\else%
			{ / \insertsubsectionhead}%
			\fi%
			\hspace*{4ex} \bf \insertframenumber{} of \inserttotalframenumber\hspace{2ex}
		\end{beamercolorbox}%
	}%
    %\vskip0pt%
}


\setbeamersize{text margin left=1em,text margin right=1em}



\newenvironment{skipframecount}
{%
    \ifcsname c@tmpframenumber\endcsname%
    \else%
    \newcounter{tmpframenumber}%
    \fi%
    \setcounter{tmpframenumber}{\value{framenumber}}
}
{%
    \setcounter{framenumber}{\value{tmpframenumber}}
}



\mode<all>



