\newcommand*\l@sectionx[2]{%
  \ifnum \c@tocdepth >\z@
  \addpenalty\@secpenalty
  \addvspace{1.5em \@plus\p@}%
  \setlength\@tempdima{1.5em}%
  \begingroup
  \@tempdima 1.7 em\relax
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode %\bfseries
  \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
  {\hspace{2.5cm}{#1}\nobreak }%
  \leaders\hbox{%
    $\m@th
    \mkern \@dotsep mu\hbox{.}\mkern \@dotsep%
    mu$}\hfill%
  \nobreak%
  \hb@xt@\@pnumwidth{\hfil\normalsize \normalcolor #2}%
  \par%
  \endgroup
  \fi}

\renewcommand*\l@section[2]{%
  \ifnum \c@tocdepth >\z@
  \addpenalty\@secpenalty
  \addvspace{1.5em \@plus\p@}%
  \setlength\@tempdima{1.5em}%
  \begingroup
  \@tempdima 1.5cm \relax
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode %\bfseries
  \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
  {\hspace{1cm}{#1}\nobreak }%
  \leaders\hbox{%
    $\m@th
    \mkern \@dotsep mu\hbox{.}\mkern \@dotsep%
    mu$}\hfill%
  \nobreak%
  \hb@xt@\@pnumwidth{\hfil\normalsize \normalcolor #2}%
  \par%
  \endgroup
  \fi}

\renewcommand*\l@subsection[2]{%
  \ifnum \c@tocdepth >\z@
  \addpenalty\@secpenalty%
  \setlength\@tempdima{1.5em}%
  \begingroup
  \@tempdima 1.5cm \relax
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode %\bfseries
  \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
  {\hspace{1cm}{#1}\nobreak }%
  \leaders\hbox{%
    $\m@th
    \mkern \@dotsep mu\hbox{.}\mkern \@dotsep%
    mu$}\hfill%
  \nobreak%
  \hb@xt@\@pnumwidth{\hfil\normalsize \normalcolor #2}%
  \par%
  \endgroup
  \fi}

\renewcommand*\l@subsubsection[2]{%
  \ifnum \c@tocdepth >\z@
  \addpenalty\@secpenalty%
  \setlength\@tempdima{1.5em}%
  \begingroup
  \@tempdima 1.5cm \relax
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode %\bfseries
  \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
  {\hspace{1cm}{#1}\nobreak }%
  \leaders\hbox{%
    $\m@th
    \mkern \@dotsep mu\hbox{.}\mkern \@dotsep%
    mu$}\hfill%
  \nobreak%
  \hb@xt@\@pnumwidth{\hfil\normalsize \normalcolor #2}%
  \par%
  \endgroup
  \fi}

\renewcommand{\ESKDsectionStyle}{\normalfont\normalsize\MakeUppercase}
\renewcommand{\ESKDsubsectionStyle}{\normalfont\normalsize}
\renewcommand{\ESKDsubsubsectionStyle}{\normalfont\normalsize}
\ESKDsectSkip{section}{3ex}{3ex}
\ESKDsectSkip{subsection}{3ex}{3ex}
\ESKDsectSkip{subsubsection}{3ex}{3ex}
%\setlength{\ESKDsectionSkipBefore}{-3ex}
%\setlength{\ESKDsectionSkipAfter}{3ex}

%\setlength{\ESKDsubsectionSkipBefore}{-3ex}
%\setlength{\ESKDsubsectionSkipAfter}{3ex}

%\setlength{\ESKDsubsubsectionSkipBefore}{-3ex}
%\setlength{\ESKDsubsubsectionSkipAfter}{3ex}

\renewcommand{\ESKDfontShape}{\upshape}

\renewcommand{\ESKDcolumnXfIVname}{Рецензент}