\mode<presentation>

%
%
% Frames backgrounds
%
%

\setbeamertemplate{background}{
  \begin{tikzpicture}
  \useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
  \fill[color=main2] (0,2) rectangle (\the\paperwidth,\the\paperheight);
  \fill[color=main1] (0,0) rectangle(2.95,1.9);
  \fill[color=main0] (3.05,0) rectangle(\the\paperwidth,1.9);
  \ifnum\thepage>1\relax%
   \fill[white,opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);
   \fi
  \end{tikzpicture}
}



%
%
% Title page frame
%
%

\defbeamertemplate*{title page}{Akatsuki}[1][]
{ 
   \vskip6cm%
    \begin{beamercolorbox}[wd=12cm,leftskip=3cm,sep=8pt,#1]{title page header}
      \usebeamerfont{title}\inserttitle\par%
    \end{beamercolorbox}%
    \vskip0.75cm%
    \begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{author}
      \usebeamerfont{author}\insertauthor%
    \end{beamercolorbox}
     \vskip0.2cm%
    \begin{beamercolorbox}[wd=12cm,leftskip=3cm,#1]{date}
      \usebeamerfont{author}\insertdate%
    \end{beamercolorbox}
  \vfill
}



%
%
% Item symbol in frames
%
%

% All frames
\setbeamertemplate{items}[bullets]

% in ToC
\setbeamertemplate{subsection in toc}[subsections numbered arabic]
