
// Shared
// -------------------------
.ih-item.circle.effect18 {
    @include perspective(900px);

    .img {
        z-index: 11;
        @include transition( all .5s ease-in-out );
    }

    &.colored {
        .info {
            .info-back {
                background: $overlay_colored_fallback;
            }
        }
    }

    .info {
        @include transform-style(preserve-3d);
        .info-back {
            opacity: 1;
            border-radius: 50%;
            width: 100%;
            height: 100%;
            background: $overlay_dark_fallback;
        }

        h3 {
            color: #fff;
            text-transform: uppercase;
            position: relative;
            letter-spacing: 2px;
            font-size: 22px;
            margin: 0 30px;
            padding: 55px 0 0 0;
            height: 110px;
            text-shadow: 
                0 0 1px #fff, 
                0 1px 2px rgba(0,0,0,0.3);              
        }

        p {
            color: #bbb;
            padding: 10px 5px;
            font-style: italic;
            margin: 0 30px;
            font-size: 12px;
            border-top: 1px solid rgba(255,255,255,0.5);
        }
    }
}

// -------------------------
.ih-item.circle.effect18.bottom_to_top {

    .img {
        @include transform-origin( 50% 0 );
    }

    a:hover {
        .img {
            @include transform( rotate3d(1,0,0,180deg) );
        }
    }
}


// -------------------------
.ih-item.circle.effect18.top_to_bottom {
    .img {
        @include transform-origin( 50% 100% );
    }

    a:hover {
        .img {
            @include transform( rotate3d(1,0,0,-180deg) );
        }
    }
}

// -------------------------
.ih-item.circle.effect18.left_to_right {
    .img {
        @include transform-origin( 100% 50% );
    }

    a:hover {
        .img {
            @include transform( rotate3d(0,1,0,180deg) );
        }
    }
}

// -------------------------
.ih-item.circle.effect18.right_to_left {
    .img {
        @include transform-origin( 0% 50% );
    }

    a:hover {
        .img {
            @include transform( rotate3d(0,1,0,-180deg) );
        }
    }
}

