.hovereffect
{
    position: relative;

    float: left;
    overflow: hidden;

    width: 100%;
    height: 100%;

    cursor: default;
    text-align: center;
}

.hovereffect .overlay
{
    position: absolute;
    top: 0;
    left: 0;

    overflow: hidden;

    width: 100%;
    height: 100%;

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

.hovereffect:hover .overlay
{
    background-color: rgba(170,170,170,.4);
}

.hovereffect h2,
.hovereffect img
{
    -webkit-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
}

.hovereffect img
{
    position: relative;

    display: block;

    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
}

.hovereffect:hover img
{
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
}

.hovereffect h2
{
    font-size: 32px;

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    padding: 10px;

    text-align: center;
    text-transform: uppercase;

    color: #fff;
    background: rgba(0, 0, 0, .6);
    /*-webkit-transform: translatey(100px);
  -ms-transform: translatey(100px);
  transform: translatey(100px);*/
}

@media (max-width: 991px)
{
    .hovereffect h2
    {
        /*top: 50%;*/
        font-size: 16px;
    }
}

@media (max-width: 1199px)
{
    .hovereffect h2
    {
        /*top: 55%;*/
        font-size: 16px;
    }
}

.hovereffect a.info
{
    font-weight: normal;

    position: absolute;
    top: -20%;
    left: 8%;

    display: inline-block;

    width: 85%;
    height: 85%;
    margin: 50px 0 0 0;
    padding: 7px 14px;
    padding: 70px;

    -webkit-transition: all .4s ease-in-out;
            transition: all .4s ease-in-out;
    -webkit-transform: scale(1.5);
        -ms-transform: scale(1.5);
            transform: scale(1.5);
    text-decoration: none;
    text-transform: uppercase;

    opacity: 0;
    color: #fff;
    border: 1px solid #fff;
    background-color: transparent;

    filter: alpha(opacity=0);
}

.hovereffect:hover a.info
{
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);

    opacity: 1;
    background-color: rgba(0,0,0,.4);

    filter: alpha(opacity=100);
}
