The problem is that you first need to shrink D to get the free space and then you can expand C into that free space. At the moment, you have nowhere to expand to. If D is your "Recovery Drive" you really shouldn't do this and should leave that partition alone as it may be required to restore your system should a major problem occur. It may need more space than it is using to carry out that function which may explain why it seems to have available space when it may actually not have as much as it seems if it is to work properly when/if needed. You should contact the computer manufacturer to discuss this before proceeding if this is the case. If you really need the space on C: drive, post back and I'll repost some procedures and tactics designed to free up space on C: and perhaps remove the need to repartition.
If it is still an option you can and want to consider, the following articles should help. How to Shrink a partition:
http://www.vistax64.com/tutorials/95398-disk-management-shrink-partition.html to get the free space from D. Then how to delete and expand a partition (in this case, you would just be extending into the free space you created when you shrunk D - you would not be deleting D):
http://www.vistax64.com/tutorials/95418-disk-management-delete-extend.html. I believe you can do this with unallocated space and don't actually need to turn that into a named partition, but I could be wrong and you may need to create a partition of this unallocated space to expand C into (but I don't think so). If so, just do it, name it, and then proceed with the delete - extend article as it will now match the situation (assuming it is positiioned correctly which it most likely will not be - so you may need to move it with Partition Master as described below).
You should discover this as you read the instructions (and the reference articles that provide additional information) and as you proceed. Remember to expand, the free space or the new partition must be
next to and to the right of C: - if D is next to C and the free space or new partition is to the right of D then you cannot expand C into that space.
I believe if you shrink D it will create the new space to its right - that means it will need to be moved to betweeen C and D to use for the expansion process to work. To do this, try Easeus Partition Master
http://www.partition-tool.com/.
I hope this helps.
Good luck!