Synthesis, biological evaluation, and receptor docking simulations of 2-[(acylamino)ethyl]-1,4-benzodiazepines as kappa-opioid receptor agonists endowed with antinociceptive and antiamnesic activity.