/* rt-ihover element-two */

.rt-ihover.element-two{
}

.rt-ihover.element-two > .holder{
    position:relative;
    overflow:hidden;
    border:10px #fff solid;
    box-shadow:1px 1px 2px rgba(0,0,0,0.2);
    text-align:center;
}

.rt-ihover.element-two > .holder > .pic{
}

.rt-ihover.element-two > .holder > .pic img{
    width:100%;
    display:inline-block;
    vertical-align:top;
    transition:all 0.2s ease-in-out;
    -webkit-transition:all 0.2s ease-in-out;
}

.rt-ihover.element-two > .holder:hover > .pic img{
    transform:scale(1.1);
    -webkit-transform:scale(1.1);
}

.rt-ihover.element-two > .holder > .overlay{
    position:absolute;
    top:-30%;
    right:-30%;
    bottom:-30%;
    left:-30%;
    background-color:rgba(219,127,8, 0.7);
    transform:skewX(-40deg) translateX(150%);
    -webkit-transform:skewX(-40deg) translateX(150%);
    transition:all 0.4s ease-in-out;
    -webkit-transition:all 0.4s ease-in-out;
}

.rt-ihover.element-two > .holder:hover > .overlay{
    transform:skewX(-40deg) translateX(0);
    -webkit-transform:skewX(-40deg) translateX(0);
}

.rt-ihover.element-two > .holder > .data{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    opacity:0;
    visibility:hidden;
    transition:all 0.4s ease-in-out;
    -webkit-transition:all 0.4s ease-in-out;
}

.rt-ihover.element-two > .holder:hover > .data{
    opacity:1;
    visibility:visible;
 }

 .rt-ihover.element-two > .holder > .data > .table{
     display:table;
     table-layout:fixed;
     width:100%;
     height:100%;
     margin:0;
}

.rt-ihover.element-two > .holder > .data > .table > .table-cell{
    display:table-cell;
    width:100%;
    height:100%;
    vertical-align:middle;
}

.rt-ihover.element-two > .holder > .data > .table > .table-cell > *:last-child{
    margin-bottom:0 !important;
}

.rt-ihover.element-two > .holder > .data h2{
    margin-bottom:15px;
    padding-left:20px;
    padding-right:20px;
    padding-bottom:12px;
    border-bottom:1px rgba(0,0,0,0.4) solid;
    text-transform:uppercase;
    font-size:17px;
    color:#fff;
    line-height:28px;
    transform:translate(100%,-150%);
    -webkit-transform:translate(100%,-150%);
    transition:all 0.6s ease-in-out;
    -webkit-transition:all 0.6s ease-in-out;
}

.rt-ihover.element-two > .holder:hover > .data h2{
    transform:translate(0,0);
    -webkit-transform:translate(0,0);
}

.rt-ihover.element-two > .holder > .data p{
    margin-bottom:30px;
    padding-left:20px;
    padding-right:20px;
    font-size:12px;
    color:#fff;
    line-height:22px;
    transform:translate(-100%,150%);
    -webkit-transform:translate(-100%,150%);
    transition:all 0.7s ease-in-out;
    -webkit-transition:all 0.7s ease-in-out;
}

.rt-ihover.element-two > .holder:hover > .data p{
    transform:translate(0,0);
    -webkit-transform:translate(0,0);
}