\RequirePackage{fancyhdr}

\fancyhf{}
\pagestyle{fancy}

\renewcommand{\headrule}{
	\hspace{- 0.9cm}
	\color{sidecolor}\rule{\paperwidth + 1cm}{0.5 cm}
}

\renewcommand{\footrule}{
	\hspace{- 0.9cm}
	\color{sidecolor}\rule{\paperwidth + 1cm}{0.5 cm}
}

