.sifency-fb-wrapper {
    perspective: 1000px;
    width: 100%;
    position: relative;
    cursor: default;
    touch-action: manipulation
}

.sifency-fb-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.25, .8, .25, 1), opacity .6s
}

.sifency-fb-back,
.sifency-fb-front {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: var(--sifency-addons-whitecolor);
    transition: background .3s, color .3s
}

.sifency-fb-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--e-global-color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.sifency-fb-title {
    font-size: 22px;
    margin: 0 0 10px
}

.sifency-fb-desc {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 20px
}

.sifency-fb-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--sifency-addons-whitecolor);
    color: #333;
    border-radius: 4px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: background .3s, color .3s, transform .3s
}

.sifency-fb-btn:hover {
    transform: translateY(-2px)
}

.sifency-fb-effect-flip .sifency-fb-back {
    transform: rotateY(180deg);
    background: var(--e-global-color-primary);
    color: var(--sifency-addons-whitecolor)
}

.sifency-fb-effect-flip.sifency-fb-dir-right .sifency-fb-back,
.sifency-fb-effect-flip.sifency-fb-dir-right.sifency-fb-trigger-click.sifency-active .sifency-fb-inner,
.sifency-fb-effect-flip.sifency-fb-dir-right.sifency-fb-trigger-hover:hover .sifency-fb-inner {
    transform: rotateY(-180deg)
}

.sifency-fb-effect-flip.sifency-fb-dir-left .sifency-fb-back,
.sifency-fb-effect-flip.sifency-fb-dir-left.sifency-fb-trigger-click.sifency-active .sifency-fb-inner,
.sifency-fb-effect-flip.sifency-fb-dir-left.sifency-fb-trigger-hover:hover .sifency-fb-inner {
    transform: rotateY(180deg)
}

.sifency-fb-effect-flip.sifency-fb-dir-top .sifency-fb-back,
.sifency-fb-effect-flip.sifency-fb-dir-top.sifency-fb-trigger-click.sifency-active .sifency-fb-inner,
.sifency-fb-effect-flip.sifency-fb-dir-top.sifency-fb-trigger-hover:hover .sifency-fb-inner {
    transform: rotateX(180deg)
}

.sifency-fb-effect-flip.sifency-fb-dir-bottom .sifency-fb-back,
.sifency-fb-effect-flip.sifency-fb-dir-bottom.sifency-fb-trigger-click.sifency-active .sifency-fb-inner,
.sifency-fb-effect-flip.sifency-fb-dir-bottom.sifency-fb-trigger-hover:hover .sifency-fb-inner {
    transform: rotateX(-180deg)
}

.sifency-fb-3d .sifency-fb-front {
    transform: translateZ(1px)
}

.sifency-fb-effect-push .sifency-fb-inner,
.sifency-fb-effect-slide .sifency-fb-inner {
    transform-style: flat;
    overflow: hidden
}

.sifency-fb-effect-slide .sifency-fb-back {
    backface-visibility: visible;
    z-index: 2;
    transition: transform .5s
}

.sifency-fb-effect-slide .sifency-fb-front {
    transition: transform .5s
}

.sifency-fb-effect-slide.sifency-fb-dir-left .sifency-fb-back {
    transform: translateX(100%)
}

.sifency-fb-effect-slide.sifency-fb-dir-right .sifency-fb-back {
    transform: translateX(-100%)
}

.sifency-fb-effect-slide.sifency-fb-dir-top .sifency-fb-back {
    transform: translateY(100%)
}

.sifency-fb-effect-slide.sifency-fb-dir-bottom .sifency-fb-back {
    transform: translateY(-100%)
}

.sifency-fb-effect-slide.sifency-fb-trigger-click.sifency-active .sifency-fb-back,
.sifency-fb-effect-slide.sifency-fb-trigger-hover:hover .sifency-fb-back {
    transform: translate(0, 0)
}

.sifency-fb-effect-slide.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-left .sifency-fb-front,
.sifency-fb-effect-slide.sifency-fb-trigger-hover:hover.sifency-fb-dir-left .sifency-fb-front {
    transform: translateX(-100%)
}

.sifency-fb-effect-slide.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-right .sifency-fb-front,
.sifency-fb-effect-slide.sifency-fb-trigger-hover:hover.sifency-fb-dir-right .sifency-fb-front {
    transform: translateX(100%)
}

.sifency-fb-effect-slide.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-top .sifency-fb-front,
.sifency-fb-effect-slide.sifency-fb-trigger-hover:hover.sifency-fb-dir-top .sifency-fb-front {
    transform: translateY(-100%)
}

.sifency-fb-effect-slide.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-bottom .sifency-fb-front,
.sifency-fb-effect-slide.sifency-fb-trigger-hover:hover.sifency-fb-dir-bottom .sifency-fb-front {
    transform: translateY(100%)
}

.sifency-fb-effect-push .sifency-fb-front {
    backface-visibility: visible;
    transition: transform .5s;
    z-index: 2
}

.sifency-fb-effect-push .sifency-fb-back {
    backface-visibility: visible;
    z-index: 1;
    transform: translate(0, 0);
    transition: none
}

.sifency-fb-effect-push.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-left .sifency-fb-front,
.sifency-fb-effect-push.sifency-fb-trigger-hover:hover.sifency-fb-dir-left .sifency-fb-front {
    transform: translateX(100%)
}

.sifency-fb-effect-push.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-right .sifency-fb-front,
.sifency-fb-effect-push.sifency-fb-trigger-hover:hover.sifency-fb-dir-right .sifency-fb-front {
    transform: translateX(-100%)
}

.sifency-fb-effect-push.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-top .sifency-fb-front,
.sifency-fb-effect-push.sifency-fb-trigger-hover:hover.sifency-fb-dir-top .sifency-fb-front {
    transform: translateY(100%)
}

.sifency-fb-effect-push.sifency-fb-trigger-click.sifency-active.sifency-fb-dir-bottom .sifency-fb-front,
.sifency-fb-effect-push.sifency-fb-trigger-hover:hover.sifency-fb-dir-bottom .sifency-fb-front {
    transform: translateY(-100%)
}

.sifency-fb-effect-zoom-in .sifency-fb-back {
    opacity: 0;
    transform: scale(.5);
    transition: .4s cubic-bezier(.25, .8, .25, 1);
    backface-visibility: visible;
    z-index: 2
}

.sifency-fb-effect-zoom-in.sifency-fb-trigger-click.sifency-active .sifency-fb-back,
.sifency-fb-effect-zoom-in.sifency-fb-trigger-hover:hover .sifency-fb-back {
    opacity: 1;
    transform: scale(1)
}

.sifency-fb-effect-fade .sifency-fb-back {
    opacity: 0;
    transition: opacity .5s;
    backface-visibility: visible;
    z-index: 2
}

.sifency-fb-effect-fade.sifency-fb-trigger-click.sifency-active .sifency-fb-back,
.sifency-fb-effect-fade.sifency-fb-trigger-hover:hover .sifency-fb-back {
    opacity: 1
}

.sifency-fb-overlay-close,
.sifency-fb-overlay-trigger {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #000;
    color: var(--sifency-addons-whitecolor);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform .3s, background .3s, color .3s
}

.sifency-fb-overlay-close:hover,
.sifency-fb-overlay-trigger:hover {
    transform: scale(1.1)
}

.top {
    top: 15px
}

.bottom {
    bottom: 15px
}

.left {
    left: 15px
}

.right {
    right: 15px
}

.sifency-fb-effect-overlay .sifency-fb-inner {
    overflow: hidden;
    transform-style: flat
}

.sifency-fb-effect-overlay .sifency-fb-back {
    backface-visibility: visible;
    z-index: 5;
    transition: transform .5s cubic-bezier(.7, 0, .3, 1)
}

.sifency-fb-effect-overlay.sifency-fb-dir-bottom .sifency-fb-back {
    transform: translateY(100%)
}

.sifency-fb-effect-overlay.sifency-fb-dir-bottom.sifency-active .sifency-fb-back,
.sifency-fb-effect-overlay.sifency-fb-dir-top.sifency-active .sifency-fb-back {
    transform: translateY(0)
}

.sifency-fb-effect-overlay.sifency-fb-dir-right .sifency-fb-back {
    transform: translateX(100%)
}

.sifency-fb-effect-overlay.sifency-fb-dir-left.sifency-active .sifency-fb-back,
.sifency-fb-effect-overlay.sifency-fb-dir-right.sifency-active .sifency-fb-back {
    transform: translateX(0)
}

.sifency-fb-effect-overlay.sifency-fb-dir-left .sifency-fb-back {
    transform: translateX(-100%)
}

.sifency-fb-effect-overlay.sifency-fb-dir-top .sifency-fb-back {
    transform: translateY(-100%)
}

.sifency-fb-effect-overlay.sifency-active .sifency-fb-front {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s .5s, opacity .5s
}

.sifency-fb-effect-overlay .sifency-fb-front {
    transition: visibility, opacity .5s
}

.sifency-fb-effect-overlay .sifency-fb-overlay-trigger,
.sifency-fb-effect-overlay.sifency-active .sifency-fb-overlay-close {
    display: flex
}

.sifency-fb-effect-overlay .sifency-fb-overlay-close,
.sifency-fb-effect-overlay.sifency-active .sifency-fb-overlay-trigger {
    display: none
}