\usetheme{default}
\useoutertheme{default}
\useinnertheme{circles}
\usefonttheme{professionalfonts}

%%% For xelatex on Mac
%%\usepackage{fontspec}
%%\usepackage{xunicode}
%%\usepackage{xltxtra}
%%\setmainfont{Gill Sans}
%%\setmonofont[Scale=0.86]{Andale Mono}

%%% For pdflatex
%%\renewcommand\sfdefault{phv}
%%\renewcommand\familydefault{\sfdefault}
%%\usepackage{texnansi}
%%\usepackage{marvosym}

%\setbeamerfont{title}{size={\fontsize{48}{52}}}
\setbeamerfont{title}{size=\Huge}
\setbeamerfont{frametitle}{size=\large,series=\bfseries}
\setbeamerfont{copyright in head/foot}{size=\Tiny}
\setbeamerfont{framenumber in head/foot}{size=\Tiny}

\setbeamertemplate{background canvas}{\includegraphics[width=\paperwidth,height=\paperheight]{Bilder/background.png}}


%\definecolor{hintergrundgrau}{HTML}{FFFFFF}
%\definecolor{schrifthaupt}{HTML}{333000}
\definecolor{ffyellow}{RGB}{255, 203, 18}

% \setbeamercolor{background canvas}{bg=hintergrundgrau}

\setbeamertemplate{frametitle}[default][left]
\setbeamertemplate{navigation symbols}{} %no nav symbols



\usepackage{color}
\usecolortheme[RGB={37,37,37}]{structure}
\setbeamercolor{normal text}{fg=black}
%\setbeamercolor{copyright in head/foot}{fg=gray}
\setbeamercolor{framenumber in head/foot}{fg=ffyellow}


\setbeamertemplate{headline}{
  \leavevmode

}


\setbeamertemplate{frametitle} {
    \vskip 7ex
    \leavevmode
    \hbox{%
        \begin{beamercolorbox}[wd=\paperwidth,ht=1.8ex,dp=1ex]{frametitle}%
            \hspace*{2ex}\small\insertframetitle
        \end{beamercolorbox}
    }%
}



\defbeamertemplate*{footline}{infolines theme}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=2ex,center]{copyright in head/foot}%
  \end{beamercolorbox}%
%  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=2ex,right]{framenumber in head/foot}%
  \begin{beamercolorbox}[wd=.5\paperwidth, ht=2.25ex, dp=9pt, right]{framenumber in head/foot}%
    \usebeamerfont{framenumber in head/foot}\insertframenumber{} / \inserttotalframenumber\hspace*{5ex}
  \end{beamercolorbox}}%
  \vskip0pt%
}
