/* Carousel base class */
.carousel {
  height: 500px;
  /*margin-bottom: 60px;*/
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  /*background-color: #fff;*/

}
.carousel-inner > .item > a > img {
    object-fit: cover;
    height: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);
}
.thumbnail-img {
    height: 200px;
    line-height: 200px;
    text-align: center;
    background-color: #f8f8f8;
}
.thumbnail img{
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
}