/* Service Style 4 */
.thsn-service-style-4 .themesion-post-item:before,
.thsn-service-style-4 .themesion-box-content .thsn-service-icon-wrapper,
.thsn-service-style-4 .thsn-service-btn,
.thsn-service-style-4 .themesion-box-content-inner{
    -webkit-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}
.thsn-service-style-4 .themesion-post-item{
    display: flex;
}
.thsn-service-style-4 .thsn-service-img-wrapper{
    width: 100%;
    position: relative;
    background-size: cover;
}
.thsn-service-style-4 .thsn-service-img-wrapper .thsn-featured-wrapper{
    display: none;
}
.thsn-service-style-4 .themesion-box-content{
    padding: 50px 65px 50px;
    background: var(--thsn-logisto-secondary-color);
    color: var(--thsn-logisto-white-color);
}
.thsn-service-style-4 .thsn-service-icon-wrapper i{
    font-size: 70px;
    line-height: 70px;  
    color: var(--thsn-logisto-global-color);
}
.thsn-service-style-4  .thsn-service-title{
    font-size: 26px;
    line-height: 30px;
}
.thsn-service-style-4  .thsn-service-title a{
    color: var(--thsn-logisto-white-color);
}
.thsn-service-style-4  .thsn-service-btn a{
    background: var(--thsn-logisto-global-color);
    display: inline-block;
}
.thsn-service-style-4  .thsn-service-btn a:hover{
    background: var(--thsn-logisto-white-color);
}
.thsn-service-style-4 .thsn-service-img-wrapper img{
    -webkit-filter: grayscale(0%);
}
.thsn-service-style-4 .thsn-service-img-wrapper img:hover{ 
    filter: grayscale(100%);
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
.thsn-service-style-4 .thsn-service-btn{
    transform: translateY(10px);
    -ms-transform: translateY(10px);
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    opacity: 0;
    position: absolute;
    width: 100%;
    left: 0;
}
.thsn-service-style-4:hover .thsn-service-btn {
    transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    opacity: 1;
}
.thsn-service-style-4 .themesion-box-content-inner{
    transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
}
.thsn-service-style-4:hover .themesion-box-content-inner{
    transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    -webkit-transform: translateY(-60px);
    -moz-transform: translateY(-60px);
}
.thsn-service-style-4 .themesion-box-content .thsn-service-icon-wrapper{
    transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    opacity: 1;
}
.thsn-service-style-4:hover .themesion-box-content .thsn-service-icon-wrapper{
    transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    opacity: 0;
}
.thsn-service-style-4 .themesion-post-item:before{
    counter-increment: thsnbox4;
    content: counter(thsnbox4,decimal-leading-zero);
    position: absolute;
    top: 40px;
    right: 50px;
    left: auto;
    font-size: 90px;
    line-height: 90px;
    color: transparent;
    -webkit-text-stroke: 1px var(--thsn-logisto-white-color);
    opacity: .30;
}
.thsn-service-style-4:hover .themesion-post-item:before{
    -webkit-text-stroke: 1px var(--thsn-logisto-global-color);
    opacity: 1;
    transform: rotateY(360deg);
}
.thsn-service-style-4 .thsn-service-iconbg-wrapper{
    position: absolute;
    font-size: 153px;
    right: -30px;
    bottom: -130px;
    color: rgb(255 255 255 / 10%);
}
@media (max-width: 1300px){
    .thsn-service-style-4 .themesion-box-content {
        padding: 45px 36px 30px;
    }
}
@media (max-width: 1024px){
    .thsn-service-style-4 .thsn-service-img-wrapper .thsn-featured-wrapper{
        display: block;
    }
    .thsn-service-style-4 .thsn-service-img-wrapper{
        background-image: none;
    }
}

/*===== RTL =====*/
body.rtl .thsn-service-style-4 .themesion-post-item:before{
    left: 50px;
    right: inherit;
}
body.rtl .thsn-service-style-4 .thsn-service-iconbg-wrapper{
    left: -30px;
    right: inherit;
}