
.a21chat {
    position: relative;
}

.a21chat:hover .a21chat-body {
    display: block;
}

.a21chat-icon {
    position: fixed;
    width: 85px;
    height: 85px;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    z-index: 999;
    visibility: visible;
}

.a21chat-icon img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    box-shadow: 5px 5px 5px rgb(0, 0, 0, 0.2);
}

.a21chat-icon-in {
    display:none;
    box-shadow: none;
}


.a21chat .area-visivel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 85px;
    height: 420px;
    /* overflow: hidden; */
    border-radius: 45px;
    z-index: 10;
}

.a21chat-body {
    width: 85px;
    height: 420px;
    position: absolute;
    background: rgba(255, 255, 255, 1);
    padding: 10px;
    max-width: 400px;
    margin: 0 auto;
    bottom: 0px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 45px;
    z-index: 20;
    transition-duration: 0.5s;
    ul {
        opacity: 1;
        transition-delay: 1s;
        transition: opacity 1s;
        list-style: none;
        padding: 0;
        margin: 0;

        li {
            margin-bottom: 15px;
            height: 55px;
            text-align: center;
            
            a {
                color: #e2231a;
                text-decoration: none;
                img {
                    margin-bottom: -10px;
                }
            }
        }
    }
    img {
        opacity: 1;
        transition-delay: 1s;
        transition: opacity 1s;
        max-width: 100%;
        margin-bottom: 0px;
        margin-top: 10px;
    }
}

.a21chat-body-hidden{
    visibility: hidden;
    width: 85px;
    height: 85px;
    transition-duration: 0.5s;
    ul {
        opacity: 0;
        transition-delay: 0.5s;
        transition: opacity 0.5s;
    }
    img {
        opacity: 0;
        transition-delay: 0.5s;
        transition: opacity 0.5s;
    }
}

.a21chat-logo {
    text-align: center;
    img {
        height: 45px !important;
    }
}

.a21chat-body li {
    height: 55px;
    text-align: center;
    p {
        padding: 0px;
        font-size: 10px;
        text-align: center;
        margin: 0px;
    }
    img {
        max-width: 40px;
        max-height: 40px;
        padding: 2px;
        margin-bottom:-5px;
    }
}

.a21chat-close {
    display: inline-block;
    position: relative;
    top: -33px;
    right: -10px;
    font-size: 26px;
    font-weight: 900;
    float: right;
    cursor: pointer;
    padding: 5px 10px;
    margin-bottom: -39px;
}

.area-contactos {
    position: absolute;
    transform: translateX(-100%) translateY(-50%);
    background-color: #fff;
    border-radius: 30px;
    padding: 20px;
    height: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.2);
    top: 50%;
    transition: all 0.5s ease-in-out;
    width: fit-content;
    opacity: 1;

    &.a21chat-contactos-hidden {
        opacity: 0;
        transform: translateX(100%) translateY(-50%);
        transition: all 0.5s ease-in-out;
    }

    .a21chat-contacto {
        display: flex;
        margin-bottom: 10px;
        min-width: 300px;
        &:last-of-type {
            margin-bottom: 0;
        }

        .contacto-wrapper {
            height: 80px;
            width: 80px;
            min-width: 80px;
            border-radius: 10px;
            overflow: hidden;
            margin: 0 15px 0 0;

            .contacto-img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .contacto-conteudo {
            h5 {
                font-size: 16px;
                line-height: 20px;
                font-weight: 300;
                white-space: nowrap;
                margin-bottom: 0;
            }

            .telefone-disclaimer {
                font-size: 10px;
                line-height: 12px;
                color: #ccc;
                margin-bottom: 5px;
                margin-top: 0;
                margin-bottom: 0;
            }

            .telefone {
                color: #000;
                text-decoration: none;
                font-size: 16px;
                line-height: 20px;
                margin-bottom: 0;
                white-space: nowrap;
            }

            .phone-icons {
                display: flex;

                .phone-icon {
                    margin-right: 10px;

                    a {
                        transition: all 0.3s ease;
                        
                        &:hover {
                            transform: scale(1.1);
                        }
                    }

                    img {
                        height: 25px;
                        width: 25px;
                    }
                }
            }
        }
    }
}


@media (max-width: 991px) {

    .a21chat-icon {
        bottom: 30px;
    }

    .a21chat .area-visivel {
        bottom: 30px;
    }


    .area-contactos {
        .a21chat-contacto {
            min-width: unset;
        }
    }
}