/* Portfolio Style 2 */
.tstk-portfolio-style-2 .themestek-post-content{
    position: relative;
    overflow: hidden;
    border-radius: 50px 0 0 0;
}
.tstk-portfolio-style-2 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;
}
.tstk-portfolio-style-2: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);
}
.tstk-portfolio-style-2 .themestek-box-content .themestek-titlebox{ 
    display: inline-block;
    width: calc(100% - 80px);
}
.tstk-portfolio-style-2 .themestek-box-content .tstk-portfolio-title{
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 0;
}
.tstk-portfolio-style-2 .themestek-box-content .tstk-port-cat {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 3px;
    letter-spacing: 0.50px;
    text-transform: uppercase;
}
.tstk-portfolio-style-2 .themestek-box-content .tstk-portfolio-title a{
    color: #fff;
}
.tstk-portfolio-style-2 .themestek-box-content .tstk-portfolio-title a:hover{
    color: var(--tstk-industrey-global-color);
}
.tstk-portfolio-style-2 .themestek-box-content .tstk-port-cat a{
    color: var(--tstk-industrey-global-color);
}
.tstk-portfolio-style-1 .themestek-icon-box a>i:before{
    font-weight: 700;
}
.tstk-portfolio-style-2 .themestek-icon-box {
    width: 40px;
    height: 40px;
    float: right;
    font-size: 14px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--tstk-industrey-global-color);
    display: inline-block;
    text-align: center;
    transition: all ease 400ms;
    -moz-transition: all ease 400ms;
    -webkit-transition: all ease 400ms;
}
.tstk-portfolio-style-2 .themestek-icon-box:hover{
    background-color: var(--tstk-industrey-blackish-bg-color);
}
.tstk-portfolio-style-2 .themestek-icon-box a{
    color: #fff;
}
.tstk-portfolio-style-2 .themestek-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    text-align: left;
    padding: 30px 40px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    opacity: 0;
    visibility: hidden;

    background: -moz-linear-gradient(bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 80%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */

    transition: all ease 700ms;
    -moz-transition: all ease 700ms;
    -webkit-transition: all ease 700ms;
    -o-transition: all ease 700ms;
}
.tstk-portfolio-style-2:hover .themestek-overlay{
    opacity: 1;
    visibility: visible;
}
.tstk-portfolio-style-2 .themestek-box-content-wrapper {
    position: absolute;
    left: 0px;
    bottom: 30px;
    display: block;
    width: 100%;
    height: auto;
    padding-right: 50px;
    visibility: hidden;
    opacity: 0;
    transition: all ease 900ms;
    -moz-transition: all ease 900ms;
    -webkit-transition: all ease 900ms;
    -o-transition: all ease 900ms;
}
.tstk-portfolio-style-2:hover .themestek-box-content-wrapper {
    visibility: visible;
    opacity: 1;
    left: 25px;
}

/*===== RTL =====*/
body.rtl .tstk-portfolio-style-2 .themestek-box-content .tstk-portfolio-title{
    font-size: 20px;
}
body.rtl .tstk-portfolio-style-2 .themestek-box-content .tstk-port-cat{
    font-size: 13px;
}
body.rtl .tstk-portfolio-style-2 .themestek-box-content-wrapper{
    padding-right: 20px;
}
body.rtl .tstk-portfolio-style-2 .themestek-icon-box{
    float: left;
}
body.rtl .tstk-portfolio-style-2 .themestek-box-content .themestek-titlebox{
    text-align: right;
}
body.rtl .tstk-portfolio-style-2 .themestek-post-content{
    border-radius: 0 50px 0 0;
}