\documentclass[18pt,xcolor=table]{beamer}
\usepackage[T1]{fontenc}
\usepackage {lmodern}

\usepackage {bbm}
\usepackage {textpos}

\definecolor{clrtitle}{RGB}{0,0,0}
\newcommand{\ANIMATE}{ON}%

\definecolor{FItitle}{RGB}{29,44,104}
\definecolor{FItext}{RGB}{0,0,0}

\definecolor{FIorange}{RGB}{72,114,174}
\definecolor{FIgrey}{RGB}{99,102,106}
\definecolor{FIblack}{RGB}{0,0,0}
\definecolor{FIbrown}{RGB}{110,98,89}
\definecolor{FIsecbrown}{RGB}{217,200,158}
\definecolor{FIsecgreen}{RGB}{208,222,187}
\definecolor{FIsecblue}{RGB}{127,169,174}

\makeatletter
\newcommand\mytitlesize{\@setfontsize\semiHuge{22}{25}}
\makeatother



\mode<presentation>
{
  % \usetheme{Pittsburgh}   
  \usetheme{Boadilla}  
  \usefonttheme[onlymath]{serif}

  \setbeamercovered{invisible}
  \setbeamertemplate{navigation symbols}{}

  % Color Theme 
  \setbeamercolor{normal text}{bg=white,fg=FItext}
  \setbeamercolor{structure}{fg=FItitle}

  \setbeamercolor{alerted text}{fg=red!85!black}

  \setbeamercolor{item projected}{use=item,fg=black,bg=item.fg!35}

  \setbeamercolor*{palette primary}{use=structure,fg=white, bg=FIorange}
  \setbeamercolor*{palette secondary}{use=structure,bg=FIsecbrown}
  \setbeamercolor*{palette tertiary}{use=structure,bg=FIsecgreen}
  \setbeamercolor*{palette quaternary}{use=structure,fg=structure.fg,bg=FIsecblue}

  % \setbeamercolor*{frametitle}{use=structure,fg=FIorange, bg=FIsecbrown}
  \setbeamercolor*{framesubtitle}{fg=FIbrown}

  \setbeamercolor*{block title}{parent=structure,fg=black,bg=FIsecgreen}
  \setbeamercolor*{block body}{fg=black,bg=FIblack!10}
  \setbeamercolor*{block title alerted}{parent=alerted text,bg=black!15}
  \setbeamercolor*{block title example}{parent=example text,bg=black!15}

  \setbeamerfont{framesubtitle}{size=\small}

  \setbeamercolor{FIfootbar}{fg=FIblack,bg=FIorange}
  \setbeamerfont{title}{size=\mytitlesize}
  \setbeamerfont{frametitle}{size=\LARGE}
}

\usepackage[orientation=landscape,size=custom,width=16,height=9,scale=0.5,debug]{beamerposter}
% \usepackage[orientation=landscape,size=custom,width=16,height=9,scale=0.5,debug]{beamerposter}








\makeatletter
\setbeamertemplate{footline}
{
  \leavevmode%
    \hbox{%
      \begin{beamercolorbox}[wd=1.0\paperwidth,ht=2.25ex,dp=1ex,right]{FIfootbar}%
        %\hspace*{2ex} \usebeamerfont{FIfootbar}\insertshortdate{}\hfill
        \insertframenumber{}\hspace*{2ex}
      \end{beamercolorbox}%

      %\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{FIfootbar}%
      %  \usebeamerfont{FIfootbar}\insertshortauthor%~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
      %\end{beamercolorbox}%
      %\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{FIfootbar}%
      %  \usebeamerfont{FIfootbar}\insertshorttitle
      %\end{beamercolorbox}%
      %\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{FIfootbar}%
      %  \usebeamerfont{FIfootbar}\insertshortdate{}\hspace*{2em}
      %  \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
      %\end{beamercolorbox}%
    }%
    \vskip0pt%
}
\makeatother

\usepackage{kerkis}
%\usepackage[T1]{fontenc}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{amsmath}
\usepackage{tikz}


%\renewcommand*{\thefootnote}{\fnsymbol{footnote}}


\pgfdeclareimage[height=1.0cm]{FIbig}{logos/flatiron_logo}
\pgfdeclareimage[height=0.65cm]{FI}{logos/flatiron_logo}
\pgfdeclareimage[height=1.00cm]{conferencelogo}{logos/fwamtex}
%\pgfdeclareimage[height=1.0cm]{scsmall}{logos/CSE21}


\usepackage[bigfiles]{pdfbase}% Embed Videos  <<<
\ExplSyntaxOn
\cs_new:Npn\embedvideo#1#2{
  \leavevmode
  \pbs_pdfobj:nnn{}{fstream}{{}{#2}}
  \pbs_pdfobj:nnn{}{dict}{
    /Type/Filespec/F~(#2)/UF~(#2)
    /EF~<</F~\pbs_pdflastobj:>>
  }
  \tl_set:Nx\video{\pbs_pdflastobj:}%
  %
  \pbs_pdfobj:nnn{}{dict}{
    /Type/RichMediaInstance/Subtype/Video
    /Asset~\video
    /Params~<</Binding/Foreground>>
  }
  %
  \pbs_pdfobj:nnn{}{dict}{
    /Type/RichMediaConfiguration/Subtype/Video
    /Instances~[\pbs_pdflastobj:]
  }
  %
  \pbs_pdfobj:nnn{}{dict}{
    /Type/RichMediaContent
    /Assets~<<
      /Names~[(#2)~\video]
    >>
    /Configurations~[\pbs_pdflastobj:]
  }
  \tl_set:Nx\rmcontent{\pbs_pdflastobj:}%
  %
  \pbs_pdfobj:nnn{}{dict}{
    /Activation~<<
      /Condition/XA
      /Presentation~<<
        /Transparent~true
        /Style/Embedded
        /PassContextClick~true
      >>
    >>
    /Deactivation~<</Condition/PC>>
  }
  %
  \hbox_set:Nn\l_tmpa_box{#1}
  \tl_set:Nx\l_box_wd_tl{\dim_use:N\box_wd:N\l_tmpa_box}
  \tl_set:Nx\l_box_ht_tl{\dim_use:N\box_ht:N\l_tmpa_box}
  \tl_set:Nx\l_box_dp_tl{\dim_use:N\box_dp:N\l_tmpa_box}
  \pbs_pdfxform:nnnnn{1}{1}{}{}{\l_tmpa_box}
  %
  \pbs_pdfannot:nnnn{\l_box_wd_tl}{\l_box_ht_tl}{\l_box_dp_tl}{
    /Subtype/RichMedia
    /BS~<</W~0/S/S>>
    /Contents~(embedded~video~file:#2)
    /NM~(rma:#2)
    /AP~<</N~\pbs_pdflastxform:>>
    /RichMediaSettings~\pbs_pdflastobj:
    /RichMediaContent~\rmcontent
  }
  \phantom{#1}
}%
\ExplSyntaxOff%>>>



\setbeamertemplate{frametitle}[default][center]
\addtobeamertemplate{footline}{}{%
  \begin{textblock*}{0.65cm}(0.83\textwidth,-0.65cm-3.25ex)
    \pgfuseimage{FI}
  \end{textblock*}
}

%\newenvironment{FIframe}[2] {\begin{frame}[t] \frametitle{{#1}} \framesubtitle{{#2}}} {\end{frame}}
\newenvironment{FIframe}[2] {\begin{frame}[t] \frametitle{{#1}}} {\end{frame}}








\makeatletter
\setbeamertemplate{title page}{%
  \vfill
  \vskip3em\par
  \begingroup
    \centering
    \begin{beamercolorbox}[sep=8pt,center]{title}
      \usebeamerfont{title}\inserttitle\par%
      \ifx\insertsubtitle\@empty%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \end{beamercolorbox}%
    \begin{beamercolorbox}[sep=0pt,center]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \vskip1em\par
    \begin{beamercolorbox}[sep=8pt,center]{institute}
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center]{date}
      \usebeamerfont{date}\insertdate
    \end{beamercolorbox}\vskip0.5em
%    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  \endgroup
%  \vfill
}
\makeatother






%\begin{document}
%
%  \tikzstyle{block} = [rectangle, draw, rounded corners, shade, top color=white, text width=5em, bottom color=blue!50!black!20, draw=blue!40!black!60, very thick, text centered, minimum height=4em]
%  \tikzstyle{line} = [draw, -latex']
%  \tikzstyle{cloud} = [draw, ellipse,top color=white, bottom color=red!20, node distance=2cm, minimum height=2em]
%
%
%  \beamertemplateballitem
%  %\beamertemplatetransparentcoveredhigh
%
%  \frame{\titlepage}
%
%
%
%\section{Introduction}
%
%% ------------------------------------------------------------
%\begin{frame}[t]
%\frametitle{Motivation}
%\framesubtitle{~~}  %% needed for proper positioning of the logo ...
%
%\begin{itemize}
%  \item this is a test
%\end{itemize}
%\begin{enumerate}
%  \item this is a test
%\end{enumerate}
%
%\end{frame}
%
%
%\end{document}
