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

            h3 {
                background: $overlay_colored_dark;
            }
        }
    }

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

    .info {
        background: $overlay_dark_fallback;
        visibility: hidden;
        opacity: 0;
        @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;
            @include transform( scale(.5) );
        }

        .info {
            visibility: visible;
            opacity: 1;
        }
    }
}

// -------------------------
.ih-item.square.effect11.left_to_right {
    .info {
        @include transform( translateX(-100%) );
    }

    a:hover {
        .info {
            @include transform( translateX(0) );
        }
    }
}

// -------------------------
.ih-item.square.effect11.right_to_left {
    .info {
        @include transform( translateX(100%) );
    }

    a:hover {
        .info {
            @include transform( translateX(0) );
        }
    }
}


// -------------------------
.ih-item.square.effect11.top_to_bottom {
    .info {
        @include transform( translateY(-100%) );
    }

    a:hover {
        .info {
            @include transform( translateY(0) );
        }
    }
}


// -------------------------
.ih-item.square.effect11.bottom_to_top {
    .info {
        @include transform( translateY(100%) );
    }

    a:hover {
        .info {
            @include transform( translateY(0) );
        }
    }
}

