/*=== .thsn-portfolio-style-4 ===*/
.thsn-portfolio-style-4 .themesion-post-item{
    position: relative;
    overflow: hidden;
}
.thsn-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;
}
.thsn-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);
}
.thsn-portfolio-style-4 .themesion-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: #fff;
    text-align: center;
}
.thsn-portfolio-style-4 .themesion-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;
}
.thsn-portfolio-style-4:hover .themesion-box-content:after{
    visibility: visible;
    opacity: 1;
}
.thsn-portfolio-style-4 .themesion-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;
}
.thsn-portfolio-style-4:hover .themesion-titlebox {
    visibility: visible;
    opacity: 1;
    bottom: 32px;
}
.thsn-portfolio-style-4 .themesion-box-content .thsn-portfolio-title {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    margin-top: 0px;
}
.thsn-portfolio-style-4 .themesion-box-content .thsn-portfolio-title a{
    color: #fff;
}
.thsn-portfolio-style-4 .thsn-port-cat a{
    text-transform: uppercase;
    font-size: 13px;
    line-height: 13px;
    font-weight: 500;
    letter-spacing: 2px;
}
.thsn-portfolio-style-4 .thsn-portfolio-corners:before,
.thsn-portfolio-style-4 .thsn-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);
}
.thsn-portfolio-style-4 .thsn-portfolio-corners_bottom:before {
    bottom: 50px;
    left: 50px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
}
.thsn-portfolio-style-4 .thsn-portfolio-corners_bottom:after {
    bottom: 50px;
    right: 50px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}
.thsn-portfolio-style-4 .thsn-portfolio-corners_top:before {
    top: 50px;
    left: 50px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}
.thsn-portfolio-style-4 .thsn-portfolio-corners_top:after {
    top: 50px;
    right: 50px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.thsn-portfolio-style-4:hover .thsn-portfolio-corners:before,
.thsn-portfolio-style-4:hover .thsn-portfolio-corners:after{
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.thsn-portfolio-style-4 .thsn-port-cat a,
.thsn-portfolio-style-4 .thsn-port-cat {
	color: var(--thsn-dentiq-global-color);
}

[data-columns="6"] .thsn-portfolio-style-4 .themesion-box-content,
[data-columns="5"] .thsn-portfolio-style-4 .themesion-box-content {
	padding: 15px;
}
[data-columns="6"] .thsn-portfolio-style-4 .thsn-portfolio-corners_top:before,
[data-columns="5"] .thsn-portfolio-style-4 .thsn-portfolio-corners_top:before {
    top: 25px;
    left: 25px;
}
[data-columns="6"] .thsn-portfolio-style-4 .thsn-portfolio-corners_top:after,
[data-columns="5"] .thsn-portfolio-style-4 .thsn-portfolio-corners_top:after {
    top: 25px;
    right: 25px;
}
[data-columns="6"] .thsn-portfolio-style-4 .thsn-portfolio-corners_bottom:before,
[data-columns="5"] .thsn-portfolio-style-4 .thsn-portfolio-corners_bottom:before {
    bottom: 25px;
    left: 25px;
}
[data-columns="6"] .thsn-portfolio-style-4 .thsn-portfolio-corners_bottom:after,
[data-columns="5"] .thsn-portfolio-style-4 .thsn-portfolio-corners_bottom:after {
    bottom: 25px;
    right: 25px;
}