\usepackage[absolute,overlay]{textpos}
\usepackage{xcolor}
\usepackage{fontspec}
\usepackage[sc]{mathpazo}
\usefonttheme{serif}
\defaultfontfeatures{Ligatures=TeX}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Hoefler Text}
\setmonofont[Scale=.88]{Consolas}
\newfontfamily{\consolas}{Consolas}


\definecolor{darkblue}{rgb}{0,0,0.6}
\hypersetup{colorlinks=true}
\hypersetup{linkcolor=darkblue}
\hypersetup{urlcolor=darkblue}



\newcommand{\tttext}[1]{{\consolas{#1}}}

\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
\newcommand{\slidecaption}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Frametitles

\setbeamerfont{frametitle}{size={\LARGE}}
\setbeamerfont{frametitle}{family={\fontspec{Hoefler Text Black}}}
\setbeamercolor{frametitle}{fg=ProcessBlue,bg=white}

\setbeamertemplate{frametitle}{%
\vskip 2mm  % distance from the top margin
\hskip -3mm % distance from left margin
\vbox{%
\begin{minipage}{1.05\textwidth}%
\centering%
\begin{tabular}{@{}c@{}}%
\insertframetitle%
\end{tabular}%
\end{minipage}\vspace{-10pt}}%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Foot
%
\setbeamertemplate{navigation symbols}{} 
\usefoottemplate{%
\vbox{%
  \tinyline{%
    \tiny\hfill\textcolor{gray!50}{\slidecaption{} --
      p.~\insertframenumber/\inserttotalframenumber}}}%
}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\beamertemplateballitem
\setlength\leftmargini{2mm}
\setlength\leftmarginii{0.6cm}
\setlength\leftmarginiii{1.5cm}
\setbeamertemplate{itemize/enumerate body end}{\vspace{-2mm}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% blocks
%\definecolor{cream}{rgb}{1,1,.65}
\definecolor{cream}{rgb}{1,1,.8}
\setbeamerfont{block title}{size=\normalsize}
\setbeamercolor{block title}{fg=black,bg=cream}
\setbeamercolor{block body}{fg=black,bg=cream}

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

\setbeamercolor{boxcolor}{fg=black,bg=cream}

\mode
<all>






