% -*- LaTeX -*-
% 
% 
% Copyright (c) 2011, Hiroyuki Ohsaki.
% All rights reserved.
% 
% $Id: beamerthemeOhsaki.sty,v 1.2 2011/11/07 22:20:32 oosaki Exp oosaki $
% 

\mode<presentation>

\usetheme{default}

\definecolor{beamer@highlight}{rgb}{0.1,0.2,0.5}
\definecolor{beamer@alert}{rgb}{0.15,0.3,0.75}
\beamertemplateshadingbackground{beamer@highlight!30}{beamer@highlight!0}
\usenavigationsymbolstemplate{}

\setbeamerfont{title}{size=\Large,series=\bfseries}
\setbeamercolor{title}{fg=beamer@highlight}

\setbeamerfont{institute}{size=\normalsize}

\setbeamerfont{frametitle}{size=\large,series=\bfseries}
\setbeamercolor{frametitle}{fg=beamer@highlight}

\setbeamercolor{itemize item}{fg=beamer@highlight}
\setbeamercolor{itemize subitem}{fg=beamer@highlight}
\setbeamercolor{itemize subsubitem}{fg=beamer@highlight}

\setbeamerfont{itemize/enumerate body}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}

\setbeamercolor{author in head/foot}{fg=black}
\setbeamercolor{title in head/foot}{fg=black}

\setbeamercolor{alerted text}{fg=beamer@alert}

\usepackage{palatino}
\renewcommand{\sfdefault}{ppl}

\renewcommand{\hyperlinkpresentationend}[1]{#1}
\renewcommand{\hyperlinkpresentationstart}[1]{#1}

\setbeamertemplate{headline}{
  \leavevmode
  \footnotesize
  \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.5ex,dp=1.125ex]%
    {section in head/foot}
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.9\paperwidth,ht=2.5ex,dp=1.125ex]%
    {subsection in head/foot}
    \insertsectionnavigationhorizontal{.9\paperwidth}{}{\hfill}
  \end{beamercolorbox}
}

\setbeamertemplate{footline}{
  \leavevmode
  \footnotesize
  \begin{beamercolorbox}[wd=.2\paperwidth,ht=2.5ex,dp=1.125ex]%
    {author in head/foot}
    \centering \insertshortauthor
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.6\paperwidth,ht=2.5ex,dp=1.125ex]%
    {title in head/foot}
    \centering \insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.2\paperwidth,ht=2.5ex,dp=1.125ex]%
    {author in head/foot}
    \centering \insertpagenumber / \insertpresentationendpage 
  \end{beamercolorbox}
}

\mode
<all>
