Dynamical properties and confinement effects in complex liquids