
%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
\definecolor{crimson}{HTML}{DC143C}
\definecolor{cornflowerblue}{HTML}{6495ED}
\definecolor{dodgerblue}{HTML}{1E90FF}
\definecolor{deepskyblue}{HTML}{00BFFF}
\definecolor{gainsboro}{HTML}{DCDCDC}
\definecolor{ghostwhite}{HTML}{F8F8F8}
\definecolor{lightgray}{HTML}{D3D3D3}

\newenvironment<>{emphasize}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=orange!100}
       \setbeamercolor{block body}{fg=black,bg=cornflowerblue!70}
       % \setbeamercolor{itemize item}{fg=orange!20!black}
       % \setbeamertemplate{itemize item}[triangle]
       \setbeamerfont{block title}{series=\bfseries}
       % \setbeamerfont{block body}{family=\ttfamily}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}

\newenvironment<>{solution}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=dodgerblue!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!70}
       % \setbeamercolor{itemize item}{fg=orange!20!black}
       % \setbeamertemplate{itemize item}[triangle]
       \setbeamerfont{block title}{series=\bfseries}
       % \setbeamerfont{block body}{family=\ttfamily}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}

\newenvironment<>{question}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=dodgerblue!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!70}
       % \setbeamercolor{itemize item}{fg=orange!20!black}
       % \setbeamertemplate{itemize item}[triangle]
       \setbeamerfont{block title}{series=\bfseries}
       % \setbeamerfont{block body}{family=\ttfamily}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}

\renewenvironment<>{definition}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=dodgerblue!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!70}
       % \setbeamercolor{itemize item}{fg=orange!20!black}
       % \setbeamertemplate{itemize item}[triangle]
       \setbeamerfont{block title}{series=\bfseries}
       % \setbeamerfont{block body}{family=\ttfamily}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}


\newenvironment<>{description}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=white,bg=gray}
       \setbeamercolor{block body}{fg=black,bg=gray!30}
       % \setbeamercolor{itemize item}{fg=orange!20!black}
       % \setbeamertemplate{itemize item}[triangle]
       \setbeamerfont{block title}{family=\sffamily, series=\bfseries}
       \setbeamerfont{block body}{family=\ttfamily}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}

\newenvironment<>{task}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=dodgerblue!100}
       \setbeamercolor{block body}{fg=black,bg=deepskyblue!80}
       % \setbeamercolor{itemize item}{fg=orange!20!black}
       % \setbeamertemplate{itemize item}[triangle]
       \setbeamerfont{block title}{series=\bfseries}
       % \setbeamerfont{block body}{family=\ttfamily}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}

\newenvironment<>{summary}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=blue!40}
       \setbeamercolor{block body}{fg=black,bg=blue!20}
       % \setbeamercolor{itemize item}{fg=orange!20!black}
       % \setbeamertemplate{itemize item}[triangle]
       \setbeamerfont{block title}{series=\bfseries}
       % \setbeamerfont{block body}{family=\ttfamily}
     }%
      \usebeamertemplate{block begin}}
    {\par\usebeamertemplate{block end}\end{actionenv}}
%%%%%%%%%%%%%%%%%%% PROGRESSBAR %%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{pbblue}{HTML}{0A75A8}% filling color for the progress bar
\definecolor{pbgray}{HTML}{575757}% background color for the progress bar
\definecolor{pbgreen}{HTML}{57EE57}% green color for the progress bar

