%%% 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}

\definecolor{sec00}{RGB}{65,90,140} 
\definecolor{sec01}{RGB}{0,105,170} 
\definecolor{sec02}{RGB}{80,170,200} 
\definecolor{sec03}{RGB}{130,185,160} 

\definecolor{sec10}{RGB}{125,165,75} 
\definecolor{sec11}{RGB}{50,110,30} 
\definecolor{sec12}{RGB}{200,80,60} 
\definecolor{sec13}{RGB}{175,110,150} 

\definecolor{sec20}{RGB}{180,160,150} 
\definecolor{sec21}{RGB}{215,180,105} 
\definecolor{sec22}{RGB}{210,150,0} 
\definecolor{sec23}{RGB}{145,105,70} 

\newcommand{\source}[1]{    
  \begin{flushright}
    \color{gray}\scriptsize \url{#1}
  \end{flushright}
}

\newenvironment<>{emphasize}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=sec22!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!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}}

\newenvironment<>{solution}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=sec03!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!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}}

\newenvironment<>{question}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=sec02!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!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}}

\renewenvironment<>{definition}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=sec10!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!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}}


\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=sec13!100}
       \setbeamercolor{block body}{fg=black,bg=lightgray!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}}

\newenvironment<>{summary}[1]{%
  \begin{actionenv}#2%
      \def\insertblocktitle{#1}%
      \par%
      \mode<presentation>{%
        \setbeamercolor{block title}{fg=black,bg=sec02!100}
       \setbeamercolor{block body}{fg=black,bg=white!100}
       % \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

