.hover,
.hover .overlay {
    width: 100%;
    height: 100%;
    overflow: hidden
}

.hover {
    text-align: center;
}

.hover button.info {
    color: #fff;
    font-weight: bold;
    font-size: 24px;
}

.hover {
    position: relative;
    cursor: pointer;
}

.hover .overlay {
    position: absolute;
    top: 0;
    left: 0
}

.hover img {
    display: block;
    position: relative;
}

.hover button.info {
    display: inline-block
}

.hover button.info {
    text-decoration: none;
    padding: 7px 14px;
    border: 1px solid #fff;
    margin: 50px 0 0;
    border-radius: 0;
    background-color: transparent;
    width: 90%;
    height: 100%;
}

.hover button.info:hover {
    box-shadow: 0 0 5px #fff;
    cursor: pointer;
}

.ehover5 button.info:hover,
.hover button.nullbutton:hover {
    box-shadow: none
}

.ehover5 img {
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.ehover5 img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.ehover5:hover img {
    -webkit-transform: scale(1);
    transform: scale(1);
    border:2px solid #ccc!important;
}

.ehover5 .overlay {
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    border-bottom:2px solid #ccc!important;
}

.ehover5:hover .overlay {
    background-color: rgba(0, 151, 114, .4)
}

.ehover5 button.info {
    opacity: 0;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    font-weight: 400;
    border: 2px solid #fff;
    height: 85%;
    width: 85%;
    position: absolute;
    bottom: 8%;
    left: 8%;
    padding: 70px
}

.ehover5:hover button.info {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    background-color: rgba(0, 151, 114, .4)
}

@media (min-width: 992px) and (max-width: 1023px){
    .hover button.info {
    font-size: 20px;
}
}

@media (min-width: 768px) and (max-width: 991px){
    .hover button.info {
    font-size: 16px;
    font-weight: bold;
    padding: 50px
}
    .hover img{
        width: 100%;
    }
}

@media (min-width: 601px) and (max-width: 767px){
    .hover button.info {
    font-size: 15px;
    font-weight: bold;
    padding: 20px
}
    .hover img{
        width: 100%;
    }
}

@media (min-width: 420px) and (max-width: 600px){
    .hover button.info {
    font-size: 24px;
    padding: 70px
}
    .hover img{
        width: 100%;
    }
}

@media (min-width: 320px) and (max-width: 419px){
    .hover button.info {
    font-size: 22px;
    padding: 50px
}
    .hover img{
        width: 100%;
    }
}

