@charset "UTF-8";

.btn-fixed {
    ul.draggable {
        display: unset !important;
        top: unset !important;
        bottom: 50px;
        right: 24px;
        left: 95vw;
        overflow: visible;
        @media (max-width: 850px) {
            width: auto;
            height: auto;
            border-radius: unset;
            margin-left: -58px !important;
            left: 95vw;
            bottom: 3vh;
            // left: 72px;
        }

        >li:nth-child(1) {
            transition: all 0.2s linear !important;
            // margin-bottom: 12px;
            opacity: 0;
            position: relative;
            top: 20vh;
            z-index: -1;
            height: 0;

            &.show-menu {
                top: 0;
                opacity: 1;
                height: auto;
            }

            ul>li {
                margin-bottom: 8px;

                &.anviz-btn,
                .anviz-primary-btn {
                    background-color: #00a0e8;
                    border-color: #00a0e8;

                    a {

                        span {
                            color: #fff;
                        }
                    }

                    @media (max-width:850px) {
                        padding: 12px 12px;
                    }
                }
            }
        }

        li {
            width: 100%;
            text-align: left;
            padding: 0;
            width: auto;
            min-width: 220px;
            max-width: 220px;
            border-radius: 4px;
            @media (max-width: 850px) {
                min-width: auto;
                max-width: inherit;
            }
            a {
                display: flex;
                align-items: center;
                padding: 10px 18px;

                span {
                    vertical-align: middle;
                    color: #fff;

                    &.icon {
                        font-size: 20px;
                        @media (max-width: 850px) {
                            font-size: 30px;
                        }

                    }

                    &.icon-a-message::before {
                        // content: '\e931'
                    }
                }
            }

            &.open-menu.active {
                background-color: #D8D8D8;
                border-color: #D8D8D8;

                a {
                    span {
                        color: #000;

                        &::before {
                            color: #000;
                        }
                    }
                }
            }

            &.open-menu {
                a {
                    span {
                        &:first-child {
                            position: absolute;
                            -webkit-animation: shakea 1s 3.3s infinite alternate ease-in-out;
                            animation: shakea 1s 3.3s infinite alternate ease-in-out;
                        }

                        &:nth-child(2) {
                            opacity: 0;
                        }
                    }
                }
                @media (max-width: 850px) {
                    border-radius: 50%;
                }
            }
        }
    }
}



@media (max-width: 850px) {
    .shade {
        transition: all 0.2s linear !important;
        background: rgba(0, 0, 0, 0);

        &.show {
            width: 100%;
            height: 100vh;
            position: fixed;
            z-index: 9;
            top: 0;
            background: rgba(0, 0, 0, 0.4);
        }

    }

    .btn-fixed ul.draggable {
        overflow: unset;
        width: 100%;
        left: 0;
        margin: 0 !important;

        li {

            &.anviz-btn,
            .anviz-primary-btn {
                padding: 0 !important;
            }

            a {
                display: flex;
                align-items: center;
                padding: 12px 12px;

                span {
                    &::before {
                        color: #fff;
                    }
                }

                span:last-child {
                    display: none;
                }
            }
        }

        >li:nth-child(1) {
            width: min-content;
            position: absolute;
            right: 15px;

            &.show-menu {
                position: relative;
                top: -30vh;
                // width: 460%;
                // width: -webkit-fit-content;
                // width: -moz-fit-content;
                // width: fit-content;
                width: min-content;
                // left: -59vw;
                margin: auto;
                right: 0;
                ul{
                    li{
                        min-width: 200px;
                    }
                }
            }

            ul {
                li {
                    a {
                        span {
                            &::before {
                                color: #fff;
                            }

                            &:last-child {
                                display: inline-block;
                            }
                        }
                    }
                }
            }
        }
        >li:nth-child(2) {
            width: initial;
            position: absolute;
            right: 15px;
            bottom: 15px;
        }
    }
}

@-webkit-keyframes shakea {

    0%,
    30%,
    40%,
    50%,
    60%,
    70%,
    80%,
    90%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-2px, 0);
    }

    20% {
        transform: translate(2px, 0);
    }
}

@keyframes shakea {

    0%,
    30%,
    40%,
    50%,
    60%,
    70%,
    80%,
    90%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-2px, 0);
    }

    20% {
        transform: translate(2px, 0);
    }
}