﻿.item {
    text-align: center;
    float: left;
    margin: 5px;
    position: relative;
    width: 100%;
}

.tab3 img {
    width: 100%;
    height: auto;
    display: block;
}

.item-img img {
    width: 100%;
    height: auto;
    display: block;
}

.item-hover,
.item-hover .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   /* يغطي مساحة الصورة */
}

.item-type-move .item-hover {
    transition: all 300ms ease-out;
    opacity: 0;
    cursor: pointer;
    z-index: 100;
}

.item-type-move .item-info {
    color: #ffffff;
    position: absolute; /* خليها فوق الصورة */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
}

.item-type-move .item-info .headline,
.item-type-move .item-info .date {
    width: 100%;
    position: absolute;
    transition: all 300ms ease-out;
    padding: 0 10px;
}

.item-type-move .item-info .headline {
    font-size: 18px;
    top: 50px;
}

.item-type-move .item-info .date {
    font-size: 14px;
    font-style: italic;
    bottom: 10px;
}

.item-type-move .item-info .line {
    height: 1px;
    width: 50%;
    margin: 10px auto 0 auto;
    background-color: #ffffff;
    margin-top:20px;
    text-align:center; display:none;
}

.item-type-move .item-hover .mask {
    background-color: #000;
    opacity: 0.5;
    z-index: 0;
}

.item-type-move .item-hover:hover {
    opacity: 1;
}

.item-type-move .item-hover:hover .item-info .headline {
    top: 35%;
}

.item-type-move .item-hover:hover .item-info .date {
    bottom: 35%;
}
