/* rt-ihover element-four */

.rt-ihover.element-four{
}

.rt-ihover.element-four > .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-four > .holder > .pic{
}

.rt-ihover.element-four > .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-four > .holder:hover > .pic img{
    transform:scale(0);
    -webkit-transform:scale(0);
}

.rt-ihover.element-four > .holder > .data{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:rgba(0,0,0,0.8);
    opacity:0;
    visibility:hidden;
    transform:scale(0) rotate(-180deg);
    -webkit-transform:scale(0) rotate(-180deg);
    transition:all 0.4s ease-in-out;
    -webkit-transition:all 0.4s ease-in-out;
}

.rt-ihover.element-four > .holder:hover > .data{
    opacity:1;
    visibility:visible;
    transform:scale(1) rotate(0);
    -webkit-transform:scale(1) rotate(0);
    transition-delay:0.2s;
    -webkit-transition-delay:0.2s;
 }

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

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

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

.rt-ihover.element-four > .holder > .data h2{
    margin-bottom:15px;
    padding-left:20px;
    padding-right:20px;
    padding-bottom:12px;
    border-bottom:1px solid rgba(255,255,255,0.3);
    text-transform:uppercase;
    font-size:17px;
    color:#fff;
    line-height:28px;
    transform:translateY(-200%);
    -webkit-transform:translateY(-200%);
    transition:all 0.2s ease-in-out;
    -webkit-transition:all 0.2s ease-in-out;
}

.rt-ihover.element-four > .holder:hover > .data h2{
    transform:translateY(0); 
	transition-delay:0.5s; 
    -webkit-transform:translateY(0); 
	-webkit-transition-delay:0.5s; 
}

.rt-ihover.element-four > .holder > .data p{
    margin-bottom:30px;
    padding-left:20px;
    padding-right:20px;
    font-size:12px;
    color:#fff;
    line-height:22px;
    opacity:0;
    visibility:hidden;
    transition:all 0.5s ease-in-out;
    -webkit-transition:all 0.5s ease-in-out;
}

.rt-ihover.element-four > .holder:hover > .data p{
    opacity:1;
    visibility:visible;
    transition-delay:0.5s;
    -webkit-transition-delay:0.5s;
}