
.thumbnail {
    position: relative;
    padding: 0px;
    margin-bottom: 20px;
    overflow:hidden;
}

.thumbnail img {
    width: 100%;
}
.myImage {
    height: 400px;
}


/*And then change */
.myImage .img-responsive {
    display: block;
    height: auto;
    max-width: 100%;
}
/*To */

.myImage  .img-responsive {
    display: block  !important;
    width: auto  !important;
    max-height: 100% !important;
}


.caption {
    position:absolute;
    top:-100%;
    right:0;
    opacity: 0.9;
    background:#101010;
    width:100%;
    height:100%;
    padding:0%;
    text-align:center;
    color:#fff !important;
    z-index:2;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  
}
.thumbnail:hover .caption {
    top:0%;
}


.samiloxTitle{
    word-wrap: break-word;
    min-height: 75px;
    max-height: 75px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
}
.FontWeightNormal{
    font-weight: normal !important;
    font-size: 16px !important;
    text-align: center;
}

.thumbnail h2{
    line-height: 23px !important;
}

.caption p {
  padding-right: 10px;
    padding-left: 10px;
}