\ProvidesPackage{beamerouterthemeFABsimple}[2017/09/25]

\mode<presentation>

\beamer@sb@subsectionfalse
\useinnertheme{rounded}
\setbeamertemplate{sections/subsections in toc}[default]
\setbeamertemplate{items}[default]
\setbeamertemplate{itemize items}[circle]

\ifbeamer@FABcolour%
% 	\setbeamercolor{section in head/foot}{use=kopf,bg=kopf.fg!50!bg}%
	\setbeamercolor{section in head/foot}{use=kopf,bg=kopf.fg!40!bg}%
	\setbeamercolor{frametitle}{parent=palette secondary}%
	\setbeamercolor{framesubtitle}{parent=palette primary}%
\else%
	\setbeamercolor{section in head/foot}{use=structure,bg=structure.fg!25!bg}%
	\setbeamercolor{title in head/foot}{parent=palette quaternary,use=structure,bg=structure.fg!40}
	\setbeamercolor{author in head/foot}{parent=palette primary,use=structure,bg=structure.fg!20}
	\setbeamercolor{date in head/foot}{parent=palette secondary,use=structure,bg=structure.fg!30}
	\setbeamercolor{frametitle}{parent=palette quaternary}%
% 	\setbeamercolor{framesubtitle}{parent=palette primary}%
\fi

% \defbeamertemplate*{headline}{FABsimple theme}{%
%   \ifbeamer@sb@subsection%
%     \vskip1mm%
%     \begin{beamercolorbox}[ht=2.125ex,dp=1.125ex,%
%       leftskip=.3cm plus1fil,rightskip=0cm]{subsection in head/foot}
%       \usebeamerfont{subsection in head/foot}\insertsubsectionhead
%     \end{beamercolorbox}%
%   \else%
%     \vskip2mm%
%   \fi}

\ifbeamer@Instlogo%
	\addtoheadtemplate{\pgfuseshading{beamer@headfade}\vskip-2cm}%{}
	{\vspace{.2cm}\hfill\includegraphics[height=0.8cm]{\instlogo}%
	\hspace{.2cm}\vspace{-1cm}}%
\else%
	\addtoheadtemplate{\pgfuseshading{beamer@headfade}\vskip-2cm}{}%
\fi

\AtBeginDocument{
	{\usebeamercolor{section in head/foot}}
	\pgfdeclareverticalshading{beamer@headfade}{\paperwidth}
	{color(0cm)=(bg);color(2cm)=(section in head/foot.bg)}
	\setbeamercolor{section in head/foot}{bg=}}


\mode<all>
