\usepackage{hyperref}
\usepackage[T1]{fontenc}
\usepackage{palatino}

\input{solarized.tex}

\pagecolor{sbase3}
\color{sbase01}
\pagestyle{empty}
\addtolength{\parskip}{1ex}

\newcommand{\cvcompanycolor}{\color{sred}}
\newcommand{\cvprofessiontitlecolor}{\color{sbase02}}
\newcommand{\cvsectioncolor}{\color{sbase03}}
\newcommand{\cvtimeintervalcolor}{\color{sbase03}}
\newcommand{\cvitemcolor}{\color{sbase03}}
\newcommand{\cvnamecolor}{\color{sred}}
\newcommand{\cvrulecolor}{\color{sbase03}}
\newcommand{\cvemphcolor}{\color{sorange}}

\hypersetup{colorlinks=true,linkcolor=sblue,urlcolor=sblue}

\newcommand{\cvemph}[1]{\emph{\cvemphcolor#1}}
\newcommand{\cvhref}[2]{#2\footnote{#2 --- \href{#1}{#1}}}
\newenvironment{cvitemize}
{\begin{itemize}\setlength{\itemsep}{0pt}}
{\end{itemize}}

\providecommand{\name}[1]{\providecommand{\cvname}{#1}}
\providecommand{\email}[1]{\providecommand{\cvemail}{\href{mailto:#1}{#1}}}
\providecommand{\address}[1]{\providecommand{\cvaddress}{#1}}
\providecommand{\professiontitle}[1]{\providecommand{\cvprofessiontitle}{#1}}
\providecommand{\website}[1]{\providecommand{\cvwebsite}{\href{https://#1}{#1}}}
\providecommand{\linkedin}[1]{\providecommand{\cvlinkedin}{\href{https://www.linkedin.com/in/#1/}{#1}}}

\newenvironment{alignedlist}
{\begin{tabular}{p{0.25\linewidth}@{ : }p{0.70\linewidth}} \raggedright{}}
{\end{tabular}}

\newcommand{\alignedlistitem}[2]{\textbf{#1} & #2 \\}

\newcommand{\personalinfo}
{\begin{center}
        \begin{minipage}[c][]{0.48\textwidth} \raggedright{}
                {\Huge \cvnamecolor {\cvname{}}}\smallskip

                {\huge \cvprofessiontitlecolor \cvprofessiontitle{}}
        \end{minipage}
        \hfill
        \begin{minipage}[c][]{0.48\textwidth}
                \begin{alignedlist}
                        \alignedlistitem{Email}{\cvemail}
                        \alignedlistitem{WebSite}{\cvwebsite}
                        \alignedlistitem{Linkedin}{\cvlinkedin}
                        \alignedlistitem{Location}{\cvaddress}
                \end{alignedlist}
        \end{minipage}\par
        {\cvrulecolor\rule{\textwidth}{0.3em}}
\end{center}}

\providecommand{\timeitem}[5]
{\noindent{\Large{\cvcompanycolor #3} --- {\cvprofessiontitlecolor #4 }{\cvrulecolor\hrulefill}{\cvtimeintervalcolor\textit{ #1 --- #2}}}
\par
{#5\par}
}

\newcommand{\cvsection}[1]{{\noindent{\cvrulecolor\hrulefill}\par\noindent\cvsectioncolor\LARGE{#1}}\medskip\par}

\newenvironment{introduction}
{}
{}

\newenvironment{experience}
{\cvsection{Professional Experience}}
{}

\newenvironment{education}
{\cvsection{Education}}
{}

\newenvironment{knowladge}
{\cvsection{Key Knowladge}}
{}

\newenvironment{extra}
{\cvsection{Extras}}
{}

