%Anpassung der Überschriften
\addtokomafont{disposition}{\rmfamily}

%Zusätzliche Farben
\definecolor{lightblue}{cmyk}{0.132,0.104,0,0.0196}
%\definecolor{lightblue}{cmyk}{0.033,0.026,0,0.0049}
\definecolor{whiteblue}{cmyk}{0.033,0.026,0,0.0049}

%Material Colors
%Blue
\definecolor{Blue50}{HTML}{E3F2FD}
\definecolor{Blue100}{HTML}{BBDEFB}
\definecolor{Blue200}{HTML}{90CAF9}
\definecolor{Blue300}{HTML}{64B5F6}
\definecolor{Blue400}{HTML}{42A5F5}
\definecolor{Blue500}{HTML}{2196F3}
\definecolor{Blue600}{HTML}{1E88E5}
\definecolor{Blue700}{HTML}{1976D2}
\definecolor{Blue800}{HTML}{1565C0}
\definecolor{Blue900}{HTML}{0D47A1}
\definecolor{BlueA100}{HTML}{82B1FF}
\definecolor{BlueA200}{HTML}{448AFF}
\definecolor{BlueA400}{HTML}{2979FF}
\definecolor{BlueA700}{HTML}{2962FF}

%LightBlue
\definecolor{LightBlue50}{HTML}{E1F5FE}
\definecolor{LightBlue100}{HTML}{B3E5FC}
\definecolor{LightBlue200}{HTML}{81D4FA}
\definecolor{LightBlue300}{HTML}{4FC3F7}
\definecolor{LightBlue400}{HTML}{29B6F6}
\definecolor{LightBlue500}{HTML}{03A9F4}
\definecolor{LightBlue600}{HTML}{039BE5}
\definecolor{LightBlue700}{HTML}{0288D1}
\definecolor{LightBlue800}{HTML}{0277BD}
\definecolor{LightBlue900}{HTML}{01579B}
\definecolor{LightBlueA100}{HTML}{80D8FF}
\definecolor{LightBlueA200}{HTML}{40C4FF}
\definecolor{LightBlueA400}{HTML}{00B0FF}
\definecolor{LightBlueA700}{HTML}{0091EA}

%LightGreen
\definecolor{LightGreen50}{HTML}{F1F8E9}
\definecolor{LightGreen100}{HTML}{DCEDC8}
\definecolor{LightGreen200}{HTML}{C5E1A5}
\definecolor{LightGreen300}{HTML}{AED581}
\definecolor{LightGreen400}{HTML}{9CCC65}
\definecolor{LightGreen500}{HTML}{8BC34A}
\definecolor{LightGreen600}{HTML}{7CB342}
\definecolor{LightGreen700}{HTML}{689F38}
\definecolor{LightGreen800}{HTML}{558B2F}
\definecolor{LightGreen900}{HTML}{33691E}
\definecolor{LightGreenA100}{HTML}{CCFF90}
\definecolor{LightGreenA200}{HTML}{B2FF59}
\definecolor{LightGreenA400}{HTML}{76FF03}
\definecolor{LightGreenA700}{HTML}{64DD17}

%Green
\definecolor{Green50}{HTML}{E8F5E9}
\definecolor{Green100}{HTML}{C8E6C9}
\definecolor{Green200}{HTML}{A5D6A7}
\definecolor{Green300}{HTML}{81C784}
\definecolor{Green400}{HTML}{66BB6A}
\definecolor{Green500}{HTML}{4CAF50}
\definecolor{Green600}{HTML}{43A047}
\definecolor{Green700}{HTML}{388E3C}
\definecolor{Green800}{HTML}{2E7D32}
\definecolor{Green900}{HTML}{1B5E20}
\definecolor{GreenA100}{HTML}{B9F6CA}
\definecolor{GreenA200}{HTML}{69F0AE}
\definecolor{GreenA400}{HTML}{00E676}
\definecolor{GreenA700}{HTML}{00C853}

%Umbenennungen
\renewcommand{\lstlistlistingname}{Quelltextverzeichnis}

%Pluszeichen in der Referenc beim zitieren ausblenden
\renewcommand*{\labelalphaothers}{}

%Anpassugen zur Quelltextdarstellung, kann bei Bedarf überschrieben werden (z.B. wenn unterschiedliche Sprachen zum Einsatz kommen)
\renewcommand{\lstlistingname}{Codeauszug}
\lstset{
	language=Java,
	numbers=left,
	columns=fullflexible,
	aboveskip=5pt,
	belowskip=10pt,
	basicstyle=\small\ttfamily,
	backgroundcolor=\color{black!5},
	commentstyle=\color{darkgreen},
	keywordstyle=\color{blue},
	stringstyle=\color{gray},
	showspaces=false,
	showstringspaces=false,
	showtabs=false,
	xleftmargin=16pt,
	xrightmargin=0pt,
	framesep=5pt,
	framerule=3pt,
	frame=leftline,
	rulecolor=\color{green},
	tabsize=2,
	breaklines=true,
	breakatwhitespace=true,
	prebreak={\mbox{$\hookleftarrow$}}
}

%Anpassungen für das Abkürzungsverzeichnis
\newglossarystyle{dottedlocations}{%
	\renewcommand*{\glossaryentryfield}[5]{%
		\item[\glsentryitem{##1}\glstarget{##1}{##2}] \emph{##3}%
		\unskip\leaders\hbox to 2.9mm{\hss.}\hfill##5}%
	\renewcommand*{\glsgroupskip}{}%
}

\newcolumntype{g}{>{\columncolor{LightBlue50}}c}
\newcolumntype{x}{>{\setlength{\hsize}{1.0\hsize}\raggedright\arraybackslash}X}

\renewcommand{\arraystretch}{1.35}

\tikzset{start/.append style={fill=Blue300, rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered}}
\tikzset{other/.append style={rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, text width=4.5cm, fill=Blue200}}
\tikzset{paroxysmal/.append style={rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, fill=Blue50}}
\tikzset{persistent/.append style={rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, fill=Blue100}}

\tikzset{arrow/.append style = {-{Latex[width=2.5mm]}, line width=0.5pt}}

\tikzset{about/.append style={fill=Blue300, rectangle, rounded corners, minimum width=2.5cm, minimum height=1cm, text centered, text width=2cm}}
\tikzset{comorbidity/.append style={rectangle, rounded corners, minimum width=2.5cm, minimum height=1cm, text centered, text width=2cm, fill=Blue100}}
\tikzset{decision/.append style={diamond, aspect=1.5, rounded corners, minimum width=2.5cm, minimum height=1cm, text centered, text width=2cm, fill=Blue100}}
\tikzset{therapy/.append style={rectangle, rounded corners, minimum width=2.5cm, minimum height=1cm, text centered, text width=2cm, fill=Blue50}}

\tikzset{important/.append style={rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, fill=Blue100}}
\tikzset{more/.append style={rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, text width=4.5cm, fill=Blue50}}
\tikzset{target/.append style={rectangle, rounded corners, minimum width=3cm, minimum height=1cm, text centered, fill=Blue300}}

\tikzset{dotted/.append style = {-{Latex[width=2.5mm]}, line width=0.5pt}}
