How to center Carousel thumbs when you don't have too many

CSS code

.slider{
 margin: auto;
}

Preview: