
// Shared
// -------------------------
.ih-item.square.effect14 {
    &.colored {
        .info {
            background: $overlay_colored_fallback;

            h3 {
                background: $overlay_colored_dark;
            }
        }
    }

    .img {
        opacity: 1;
        @include transition(  all .35s ease-in-out );
    }

    .info {
        background: $overlay_dark_fallback;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        @include transform( scale(.5) );
        @include transition( all .35s ease .2s);

        h3 {
            text-transform: uppercase;
            color: #fff;
            text-align: center;
            font-size: 17px;
            padding: 10px;
            background: $overlay_dark_dark;
            margin: 30px 0 0 0;
        }

        p {
            font-style: italic;
            font-size: 12px;
            position: relative;
            color: #bbb;
            padding: 20px 20px 20px;
            text-align: center;
        }
    }

    a:hover {
        .img {
            opacity: 0;
            pointer-events: none;
            @include transform( scale(.5) );
        }

        .info {
            visibility: visible;
            opacity: 1;
            @include transform( scale(1) );
        }
    }
}

// -------------------------
.ih-item.square.effect14.left_to_right {
    .img {
        @include transform( translateX(0) rotate(0) );
    }

    a:hover {
        .img {
            @include transform( translateX(100%) rotate(180deg) );
        }
    }
}

// -------------------------
.ih-item.square.effect14.right_to_left {
    .img {
        @include transform( translateX(0)  rotate(0) );
    }

    a:hover {
        .img {
            @include transform( translateX(-100%)  rotate(-180deg) );
        }
    }
}


// -------------------------
.ih-item.square.effect14.top_to_bottom {
    .img {
        @include transform( translateY(0) );
    }

    a:hover {
        .img {
            @include transform( translateY(-100%) );
        }
    }
}


// -------------------------
.ih-item.square.effect14.bottom_to_top {
    .img {
        @include transform( translateY(0) );
    }

    a:hover {
        .img {
            @include transform( translateY(100%) );
        }
    }
}

