\documentclass[hyperref={pdfpagelabels=false}]{beamer}

% This file is a solution template for:
%
% - Giving a talk on some subject.
% - The talk is between 15min and 45min long.
% - Style is ornate.
%
% Copyright 2004 by Till Tantau <tantau@users.sourceforge.net>.
%
% In principle, this file can be redistributed and/or modified under
% the terms of the GNU Public License, version 2.
%
% However, this file is supposed to be a template to be modified
% for your own needs. For this reason, if you use this file as a
% template and not specifically distribute it as part of a another
% package/program, I grant the extra permission to freely copy and
% modify this file as you see fit and even to delete this copyright
% notice.
%
% Original RUG theme modification: Ismail Fahmi
% Some adaptations to remove warning messages by: Martijn Wieling

\RequirePackage{pgfcore} 

\mode<presentation>{ 
 \usetheme{CambridgeUS}
 \setbeamercovered{transparent}

 \definecolor{rugcolor}{rgb}{0.8,0,0}

 \beamertemplatenavigationsymbolsempty
 \setbeamercolor{item}{fg=rugcolor!60!black}
 \setbeamercolor{title}{rugcolor!60!black}
 \setbeamercolor{frametitle}{rugcolor!60!black}

\setbeamercolor*{block body}{bg=normal text.bg!97!black}
\setbeamercolor*{block body alerted}{bg=normal text.bg!97!black}
\setbeamercolor*{block body example}{bg=normal text.bg!97!black}
\setbeamercolor*{block title}{parent=structure,fg=rugcolor, bg=normal text.bg!75!black}
\setbeamercolor*{block title alerted}{use={normal text,alerted text},fg=alerted text.fg!75!normal text.fg,bg=normal text.bg!75!black}
\setbeamercolor*{block title example}{use={normal text,example   text},fg=example text.fg!75!normal text.fg,bg=normal text.bg!75!black}

\setbeamercolor*{palette tertiary}{bg=white!60!black,fg=white}

%HEADER WITH HIGHLIGHTED SECTION NAMES (optional)
 \useheadtemplate{%
   \vbox{%
   \vskip1.2pt
   \pgfuseimage{logo}
   \vskip1.2pt
   \tinycolouredline{rugcolor}{\color{white}{
   % comment the following line if you don't want the section names lines to appear on top
   \insertsectionnavigationhorizontal{\paperwidth}{}{\hskip0pt plus1filll % comment this line if you don
%  \pgfuseimage{logo}
}}}
%    \tinycolouredline{rugcolor}
   {\color{white}{
%% \insertsectionnavigationhorizontal{\paperwidth}{}{
%                \hskip0pt \hfill}
    }}
   }
}

%FOOTER WITH AUTHOR NAME(S), PAPER TITLE (ABBREVIATED IF SPECIFIED BY \title),
% AND PAGE COUNTER (optional)
 \usefoottemplate{%
   \vbox{%
   \tinycolouredline{rugcolor}%
       {\color{white}{{\insertshortauthor}\hfill%
          \insertshorttitle\hfill%
          \textsc{\insertframenumber/\inserttotalframenumber}
         }}
   }
  }
}


\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.
\usepackage{multirow}

\title[]{Title}
\subtitle{Subtitle}

\author % (optional, use only with lots of authors)
{Author 1\inst{1} and Author 2\inst{1}}
% - Use the \inst{?} command only if the authors have different
%   affiliation.
%\url{(i.fahmi|h.h.ellermann)@rug.nl, peter@scholing.net, j.zhang@uva.nl}

\institute % (optional, but mostly needed)
{\inst{1}First institution and \inst{2}Second institution}
% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.

\date[]{Conference name, date}
\pgfdeclareimage[height=0.5cm]{logo}{RUGR_logoEN_rood_RGB}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

\begin{frame}
 \titlepage
\end{frame}

\begin{frame}
 \frametitle{Overview}
 \tableofcontents
 % You might wish to add the option [pausesections]
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Section 1}

\begin{frame}
\frametitle{First real slide}
     \begin{itemize}
	\item Blabla
	\item ...
     \end{itemize}

     \begin{block}{Block}\footnotesize
       \begin{itemize}
        \item Blabla
    	\item ...
       \end{itemize}
     \end{block}
\end{frame}


\end{document}

