/* ======= Portfolios styles ======= */

/* === Normal, 1200px, 1 sidebar layout */
.portfolio-pinterest #portfolio_pinterest{
    list-style: none;
    display: block;
    padding: 0;
}

.portfolio-pinterest #portfolio_pinterest .work{
    display: block;
    margin-bottom: 30px;
}

portfolio-pinterest #portfolio_pinterest .work a{
    display: block;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb{
    position: relative;
    overflow: hidden;

}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb > img{
    width: 100%;
    transform: scale(1,1);
    transition-timing-function: ease-out;
    transition-duration: 250ms;
    -webkit-transform: scale(1,1);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 250ms;
    -moz-transform: scale(1,1);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 250ms;
    -ms-transform: scale(1,1);
    -ms-transition-timing-function: ease-out;
    -ms-transition-duration: 250ms;
    -o-transform: scale(1,1);
    -o-transition-timing-function: ease-out;
    -o-transition-duration: 250ms;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb:hover img{
    transform: scale(1.2,1.2);
    transition-timing-function: ease-out;
    transition-duration: 250ms;
    -webkit-transform: scale(1.2,1.2);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 250ms;
    -moz-transform: scale(1.2,1.2);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 250ms;
    -ms-transform: scale(1.2,1.2);
    -ms-transition-timing-function: ease-out;
    -ms-transition-duration: 250ms;
    -o-transform: scale(1.2,1.2);
    -o-transition-timing-function: ease-out;
    -o-transition-duration: 250ms;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb .portfolio-overlay{
    display: block;
    padding: 0 30px;

    background-color: rgba(0,0,0,0.79);
    border: 2px solid; /**/
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;

    transition-property: opacity;
    transition-timing-function: ease-out;
    transition-duration: 250ms;
    -webkit-transition-property: opacity;
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 250ms;
    -moz-transition-property: opacity;
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 250ms;
    -ms-transition-property: opacity;
    -ms-transition-timing-function: ease-out;
    -ms-transition-duration: 250ms;
    -o-transition-property: opacity;
    -o-transition-timing-function: ease-out;
    -o-transition-duration: 250ms;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb .portfolio-overlay:before{
    content: '';
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb:hover .portfolio-overlay{
    opacity: 1;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb .portfolio-overlay .portfolio-overlay-info {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 97%;
    padding: 20px 0;
    border-top: 1px solid #383f41;
    border-bottom: 1px solid #383f41;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb .portfolio-overlay .portfolio-overlay-info .portfolio-overlay-title{
    font-size: 18px;/**/
    line-height: 36px;
    text-transform: uppercase;/**/
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb .portfolio-overlay .portfolio-overlay-info .portfolio-overlay-categories,
.portfolio-pinterest #portfolio_pinterest .work .portfolio-thumb .portfolio-overlay .portfolio-overlay-info .portfolio-overlay-categories a{
    color: #fff;/**/
    font-size: 14px;/**/
    line-height: 30px;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-title{
    margin: 17px 0;
    text-align: center;
}

.portfolio-pinterest #portfolio_pinterest .work .portfolio-title a{
    font-size: 18px;
    line-height: 36px;
    color: #000;
    text-transform: uppercase;
}

/* === Double sidebar layout */
.portfolio-pinterest #portfolio_pinterest.sidebar-double .work .portfolio-thumb .portfolio-overlay{
    padding: 0 5px;
}

.portfolio-pinterest #portfolio_pinterest.sidebar-double .work .portfolio-thumb .portfolio-overlay .portfolio-overlay-info{
    width: 97%;
    padding: 5px 0;
}

.portfolio-pinterest #portfolio_pinterest.sidebar-double .work .portfolio-thumb .portfolio-overlay .portfolio-overlay-info .portfolio-overlay-title{
    line-height: 20px;
}

/* === No sidebar layout */
.portfolio-pinterest #portfolio_pinterest.sidebar-no.four-for-row li:nth-child(odd){
    width: 24.9%;
}

/* === Transitions */

.masonry,
.masonry .masonry-brick {
    -webkit-transition-duration: 0.7s;
    -moz-transition-duration: 0.7s;
    -ms-transition-duration: 0.7s;
    -o-transition-duration: 0.7s;
    transition-duration: 0.7s;
}

.masonry {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.masonry .masonry-brick {
    -webkit-transition-property: left, right, top;
    -moz-transition-property: left, right, top;
    -ms-transition-property: left, right, top;
    -o-transition-property: left, right, top;
    transition-property: left, right, top;
}
