.demo{ background: #4a4a4a; }

.box{
    text-align: center;
    overflow: hidden;
    position: relative;
}

.box:before,
.box:after{
    content: "";
    width: 100%;
    height: 100%;
    border: 13px solid rgba(0,0,0,0.5);
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.3s ease 0s;
}

.box:after{
    width: 90%;
    height: 90%;
    background-color: rgba(255,255,255,0.7);
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(2);
}

.box:hover:before{ background: rgba(255,255,255,0.5); }

.box:hover:after{
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(0.2);
}

.box img{
    width: 100%;
    height: auto;
}

.box .box-content{
    width: 93%;
    height: 93%;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    z-index: 1;
    transform: translateX(-50%) translateY(-50%) scale(0);
    transition: all 0.3s ease 0s;
}

.box:hover .box-content{
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
}

.box .icon{
    padding: 15px 0 0 15px;
    margin: 0;
    list-style: none;
}

.box .icon li a{
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #fff;
    border-radius: 20% 0;
    font-size: 16px;
    color: #8633cb;
    border: 1px solid #8633cb;
    margin-bottom: 5px;
    opacity: 0;
    position: relative;
    left: -100px;
    transition: all 0.3s ease-in-out 0s;
}

.box .icon li a:hover{
    border-radius: 50%;
    background: #8633cb;
    box-shadow: 0 0 5px #8633cb;
    color: #fff;
}

.box:hover .icon li a{
    opacity: 1;
    left: 0;
}

.box .content-inner{
    padding: 5px 10px;
    opacity: 0;
    position: absolute;
    bottom: 5px;
    right: -150px;
    transition: all 0.3s ease 0.2s;
}

.box:hover .content-inner{
    right: 0;
    opacity: 1;
}

.box .title{
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    color: #8633cb;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.box .post{
    display: inline-block;
    font-size: 14px;
    font-style: italic;
    color: #000;
}

@media only screen and (max-width:990px){
    .box{ margin-bottom: 30px; }
}