\mode<presentation>



\definecolor{titleBlue}{rgb}{.2,.2,.5}
% Frame title
\defbeamertemplate*{frametitle}{-est}[1][]
{
  \begin{beamercolorbox}[wd=\paperwidth,ht=15mm]{frametitle} 
    \begin{tikzpicture}[font=\bodyfont]
< 
      \path[fill=white] (0,-2mm) rectangle (\the\paperwidth,15mm);

      \ifx\insertframesubtitle\@empty%
      {\node[anchor= west, color=estBlue] at (.2,0.44){\LARGE\textbf{\insertframetitle}};}
      \else%
      {\node[anchor= west, color=estBlue] at (.2,0.44){\LARGE\textbf{\insertframetitle}};%
        \node[anchor= west, text=darkgray,font=\small] at (.2,0){\insertframesubtitle};}%
      \fi
    \end{tikzpicture}
  \end{beamercolorbox}
}

\mode<all>