/*=== cspt-portfolio-style-4 ===*/

.cspt-portfolio-style-4 .creativesplanet-post-item {
    position: relative;
    overflow: hidden;
}

.cspt-portfolio-style-4 img {
    width: 100%;
    height: auto;
    transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transition: all ease 400ms;
    -moz-transition: all ease 400ms;
    -webkit-transition: all ease 400ms;
}

.cspt-portfolio-style-4:hover img {
    transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.cspt-portfolio-style-4 .creativesplanet-box-content {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 45px;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: var(--cspt-emphires-white-color);
    text-align: center;
}

.cspt-portfolio-style-4 .creativesplanet-box-content:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    text-align: left;
    opacity: 0;
    position: absolute;
    transition: all ease 500ms;
    -moz-transition: all ease 500ms;
    -webkit-transition: all ease 500ms;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.cspt-portfolio-style-4:hover .creativesplanet-box-content:after {
    visibility: visible;
    opacity: 1;
}

.cspt-portfolio-style-4 .creativesplanet-titlebox {
    text-align: center;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transition: all ease 700ms;
    -moz-transition: all ease 700ms;
    -webkit-transition: all ease 700ms;
}

.cspt-portfolio-style-4:hover .creativesplanet-titlebox {
    visibility: visible;
    opacity: 1;
    bottom: 32px;
}

.cspt-portfolio-style-4 .creativesplanet-box-content .cspt-portfolio-title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 800;
    margin-top: 0px;
}

.cspt-portfolio-style-4 .creativesplanet-box-content .cspt-portfolio-title a {
    color: var(--cspt-emphires-white-color);
}

.cspt-portfolio-style-4 .cspt-port-cat a {
    text-transform: uppercase;
    font-size: 13px;
    line-height: 13px;
    font-weight: 500;
    letter-spacing: 2px;
}

.cspt-portfolio-style-4 .cspt-portfolio-corners:before,
.cspt-portfolio-style-4 .cspt-portfolio-corners:after {
    content: '';
    position: absolute;
    z-index: inherit;
    width: 12px;
    height: 12px;
    opacity: 0;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
}

.cspt-portfolio-style-4 .cspt-portfolio-corners_bottom:before {
    bottom: 50px;
    left: 50px;
    border-bottom: 2px solid var(--cspt-emphires-white-color);
    border-left: 2px solid var(--cspt-emphires-white-color);
}

.cspt-portfolio-style-4 .cspt-portfolio-corners_bottom:after {
    bottom: 50px;
    right: 50px;
    border-bottom: 2px solid var(--cspt-emphires-white-color);
    border-right: 2px solid var(--cspt-emphires-white-color);
}

.cspt-portfolio-style-4 .cspt-portfolio-corners_top:before {
    top: 50px;
    left: 50px;
    border-top: 2px solid var(--cspt-emphires-white-color);
    border-left: 2px solid var(--cspt-emphires-white-color);
}

.cspt-portfolio-style-4 .cspt-portfolio-corners_top:after {
    top: 50px;
    right: 50px;
    border-top: 2px solid var(--cspt-emphires-white-color);
    border-right: 2px solid var(--cspt-emphires-white-color);
}

.cspt-portfolio-style-4:hover .cspt-portfolio-corners:before,
.cspt-portfolio-style-4:hover .cspt-portfolio-corners:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}