\definecolor{InvisibleRed}{rgb}{0.92, 0.9, 0.9}
\definecolor{InvisibleGreen}{rgb}{0.9, 0.92, 0.9}
\definecolor{InvisibleBlue}{rgb}{0.9, 0.9, 0.92}

\definecolor{LightBlue}{rgb}{0.4, 0.55, 0.65}

\definecolor{MediumRed}{rgb}{0.92549, 0.34509, 0.34509}
\definecolor{MediumGreen}{rgb}{0.36862, 0.66666, 0.65882}
\definecolor{MediumBlue}{rgb}{0.01176, 0.31372, 0.43529}

\definecolor{DarkBlue}{rgb}{0.05, 0.15, 0.3} 

\usecolortheme[named=DarkBlue]{structure}

\setbeamercolor{palette primary}{bg=DarkBlue,fg=white}
\setbeamercolor{palette secondary}{bg=MediumBlue,fg=white}
\setbeamercolor{palette tertiary}{bg=LightBlue,fg=white}
\setbeamercolor{block title}{bg=MediumBlue}
\setbeamercolor{block body}{bg=InvisibleBlue}
\setbeamercolor{block title example}{bg=MediumGreen}
\setbeamercolor{block body example}{bg=InvisibleGreen}
\setbeamercolor{block title alerted}{bg=MediumRed}
\setbeamercolor{block body alerted}{bg=InvisibleRed}
%%ACG ADDED
%Created for making quotes look nice 
%https://jevon.org/wiki/Fancy_Quotation_Boxes_in_Latex
	% for adjustwidth environment
	\usepackage[strict]{changepage}

	% for formal definitions
	\usepackage{framed}
	\definecolor{formalshade}{rgb}{0.95,0.95,1}

	\newenvironment{formal}{%
	  \def\FrameCommand{%
	    \hspace{1pt}%
	    {\color{DarkBlue}\vrule width 2pt}%
	    {\color{formalshade}\vrule width 4pt}%
	    \colorbox{formalshade}%
	  }%
	  \MakeFramed{\advance\hsize-\width\FrameRestore}%
	  \noindent\hspace{-4.55pt}% disable indenting first paragraph
	  \begin{adjustwidth}{}{7pt}%
	  \vspace{2pt}\vspace{2pt}%
	}
	{%
	  \vspace{2pt}\end{adjustwidth}\endMakeFramed%
	}

