.portfolio-list {
    position: relative;
    transition: 0.5s;
}
.p-item {
    position: absolute;
}
.p-content{
    transition: 0.5s;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
}

.p-content:hover{
    -webkit-box-shadow: inset 0px 0px 6px 0px rgba(0,0,0,0.23);
    -moz-box-shadow: inset 0px 0px 6px 0px rgba(0,0,0,0.23);
    box-shadow: inset 0px 0px 6px 0px rgba(0,0,0,0.23);
}

.p-img{
    display: block;
    padding: 10px;
    text-decoration: none !important;
    color: #333 !important;
}

.p-text{
    margin-top: 5px;
    margin-bottom: 0;
}


.p-img img{
    transition: 0.5s;
    transform: scale(1);
}
.p-content:hover img{
    transform: scale(0.98);
}

.portfolio-preloader {
    z-index: 100;
    position: absolute;
    background: #ffffff;
    width: 100%;
    height: 100%;
    top: 0; left: 0; right: 0; bottom: 0;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -o-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
}
.portfolio-preloader.loading {
    transform: scale(1);
}