@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.content {
    position: relative;
    width: 100%;
    margin: auto;
    max-width: 400px;
    overflow: hidden
}

    .content .content-overlay {
        background: rgba(0, 0, 0, 0.7);
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        opacity: 0;
        -webkit-transition: all 0.4s ease-in-out 0s;
        -moz-transition: all 0.4s ease-in-out 0s;
        transition: all 0.4s ease-in-out 0s
    }

    .content:hover .content-overlay {
        opacity: 1
    }

.content-image {
    width: 100%;
}

.content-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -80%);
    -moz-transform: translate(-50%, -80%);
    transform: translate(-50%, -80%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s
}

.content:hover .content-details {
    top: 80%;
    left: 50%;
    opacity: 1
}

.fadeIn-bottom {
    top: 90%
}
