.custom-thumbnail{width:40%;height:auto;margin:0 auto}.custom-thumbnail img{width:100%;height:auto}