﻿.share-wrap, .share-item, .opacity-share {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-wrap {
    position: relative;
}

.action-btn {
    position: fixed;
    bottom: -120px;
    right: 5px;
    z-index: 999;
}

    .action-btn .action-btn-items + .action-btn-items {
        margin-top: 30px;
    }

.share-item {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    -webkit-animation: 0.3s down forwards;
    animation: 0.3s down forwards;
    opacity: 0;
    will-change: animation;
    --top: 0;
    font-size: 30px;
    color: #fff
}

    .share-item img {
        width: 30px;
        height: 30px;
    }

.opacity-share {
    z-index: 1;
    box-shadow: none;
    top: 0;
    -webkit-animation: none;
    animation: none;
    opacity: 1;
    color: #fff;
    background: linear-gradient(90deg, #cf152c, #cf152c);
    will-change: unset;
}

.opacity-share-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #cf152c, #cf152c);
}

.opacity-share_ {
    position: relative;
    z-index: 1;
    /*background: linear-gradient(90deg, #cf152c, #cf152c);*/
}

.share-item.phone {
    background: linear-gradient(90deg, #cf152c, #cf152c);
    top: 4px;
}

.share-item.messenger {
    background: linear-gradient(90deg, #cf152c, #cf152c);
    top: -66px;
}

.share-item.instagram {
    background: linear-gradient(90deg, #cf152c, #cf152c);
    top: -136px;
}




.share-item.active {
    -webkit-animation: 0.48s up forwards;
    animation: 0.48s up forwards;
}

    .share-item.active:nth-child(1) {
        -webkit-animation-delay: 0.39s;
        animation-delay: 0.39s;
    }

    .share-item.active:nth-child(2) {
        -webkit-animation-delay: 0.2s;
        animation-delay: 0.2s;
    }

.share-item.no {
    -webkit-animation: none;
    animation: none;
}

@-webkit-keyframes up {
    50% {
        transform: translateY(-170%);
    }

    100% {
        opacity: 1;
        transform: translateY(-130%);
    }
}

@keyframes up {
    50% {
        transform: translateY(-170%);
    }

    100% {
        opacity: 1;
        transform: translateY(-130%);
    }
}

@-webkit-keyframes down {
    0% {
        opacity: 1;
        transform: translateY(-130%);
    }

    100% {
        opacity: 0;
        transform: translateY(0);
        top: 0;
    }
}

@keyframes down {
    0% {
        opacity: 1;
        transform: translateY(-130%);
    }

    100% {
        opacity: 0;
        transform: translateY(0);
        top: 0;
    }
}

.circle-fill-anim {
    position: relative;
}

    .circle-fill-anim:before {
        content: '';
        width: 80px;
        height: 80px;
        position: absolute;
        background: linear-gradient(90deg, #cf152c, #cf152c);
        opacity: 0.7;
        border-radius: 100%;
        /*border: 2px solid transparent;*/
        -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
        animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
        transition: all .5s;
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }

@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.6;
    }

    100% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
}
