\mode<presentation>


% Requirement
\RequirePackage{tikz}

% Settings
\useinnertheme{trex}
\useoutertheme{trex}
\usecolortheme{trex}
\usefonttheme{trex}


% we remove the navigation symbols and define blocks aspect.
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]

\AtBeginSection[]{%
    \begin{frame}[plain]
        \usebeamertemplate{section page}
    \end{frame}
}

\setbeamertemplate{footline}{
    \vspace{0.6cm}
  \hbox{%
  \begin{beamercolorbox}[wd=.9\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \usebeamercolor[fg]{block title}%
\ifnum\thepage>1
    \thepage / \inserttotalframenumber\hspace*{2ex} % old version
\fi
   %\insertframenumber{} \hspace*{2ex} % new version without total frames
  \end{beamercolorbox}}%
  \vskip0pt%
}


\mode<all>
