/*
**  22. Whatsapp
*/

ul.bolas {
    position: fixed;
    bottom: 1rem;
    z-index: +1;
    right: 0px;
    left: auto;
    list-style:none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: flex-end;
}

ul.bolas li {
    height: max-content;
    /* display: inline-block; */
    height: 67px;
    /* z-index: 0; */
    position: relative;
}

.whatsapp-chat-root, .whatsapp-chat-root * {
  /* box-sizing: border-box !important; */
  /* outline: none !important; */
  /* display: inline; */
}
.whatsapp-chat-root a {
  text-decoration: none;
}
.whatsapp-chat-root a:hover, .whatsapp-chat-root a:focus {
    text-decoration: underline;
}
.whatsapp-window {
    /* display: inline-block; */
    /* position: fixed; */
    /* bottom: 4rem; */
    /* z-index: 999; */
    /* right: 0px; */
    /* left: auto; */
    position: absolute;
    z-index: 999;
    right: 0px;
    left: auto;
    margin-right: 16px;
    margin-left: 16px;
}

/* invisivel */

.whatsapp-chat-oculto {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 12px 24px 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    touch-action: none;
    visibility: hidden;
    transition: opacity 0.3s ease 0s, margin 0.3s ease 0s, visibility 0.3s ease 0s;
    background-color: rgb(255, 255, 255);
    transform: translate3d(0px, 0px, 0px);
    margin-bottom: 80px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    left: auto;
    margin-right: 16px;
}
/* visivel */
.whatsapp-chat-visivel {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 12px 24px 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s ease 0s, margin 0.3s ease 0s, visibility 0.3s ease 0s;
    background-color: rgb(255, 255, 255);
    transform: translate3d(0px, 0px, 0px);
    opacity: 0;
    pointer-events: all;
    visibility: visible;
    touch-action: auto;
    margin-bottom: 96px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    left: auto;
    margin-right: 16px;
    z-index: 9;
}
.whatsapp-chat-fechar {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    outline: transparent none medium;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
}
.whatsapp-chat-fechar::after {
    transform: rotate(-45deg);
}
.whatsapp-chat-fechar::before, .whatsapp-chat-fechar::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background-color:
    rgb(255, 255, 255);
    display: block;
    border-radius: 2px;
}
.whatsapp-chat-fechar::before {
    transform: rotate(45deg);
}
.whatsapp-chat-fechar:hover {
    opacity: 0.8;
}
.whatsapp-chat-header {
    background: rgb(9, 94, 84) none repeat scroll 0% 0%;
    color: rgb(17, 17, 17);
    display: flex;
    -moz-box-align: center;
    align-items: center;
    padding: 24px 20px;
}
.whatsapp-chat-header-profile {
    width: 52px;
    height: 52px;
    display: block;
    position: relative;
    flex-shrink: 0;
}
.whatsapp-chat-header-profile::before {
    content: "";
    bottom: 0px;
    right: 0px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    background-color: rgb(74, 213, 4);
    display: block;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    border: 2px solid rgb(9, 94, 84);
}
.whatsapp-chat-header-profile-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
}
.whatsapp-chat-header-profile-container::after {
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    inset: 0px;
    position: absolute;
    content: "";
    overflow: hidden;
}
.whatsapp-chat-header-profile-picture {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-image: "../img/foto-perfil.jpg"; */
    /* background-image: url("https://files.elfsight.com/storage/f7e9a9de-578a-404d-9755-29717c16030a/eb729ca2-22f1-44be-adf5-9034322e5ee0.png"); */
}
.whatsapp-chat-header-profile-picture img {
    width: 100%;
    position: absolute;
}
.whatsapp-chat-header-text {
    margin-left: 16px;
    margin-right: 16px;
}
.whatsapp-chat-header-text-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: rgb(255, 255, 255);
}
.whatsapp-chat-header-text-reply-time {
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
    color: rgb(255, 255, 255);
}
.whatsapp-chat-chatarea {
    padding: 20px 20px 20px 10px;
    background-color: rgb(230, 221, 212);
    position: relative;
    width: 100%;
}
.whatsapp-chat-chatarea::before {
    display: list-item;
    position: relative;
    content: "";
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100% !important;
    z-index: 0;
    opacity: 0.08;
    background-image: ;
}

.whatsapp-chat-chatarea-container {
    display: flex;
    z-index: 1;
}
.whatsapp-chat-chatarea-dots {
    background-color: rgb(255, 255, 255);
width: 52.5px;
height: 32px;
border-radius: 16px;
display: flex;
-moz-box-pack: center;
justify-content: center;
-moz-box-align: center;
align-items: center;
margin-left: 10px;
opacity: 1;
transition: all 0.1s ease 0s;
z-index: 1;
box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px;
}
.whatsapp-chat-chatarea-dots-container {
    position: relative;
    display: flex;
}
.whatsapp-chat-chatarea-dots-one {
    height: 5px;
    width: 5px;
    margin: 0px 2px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    top: 0px;
    background-color: rgb(158, 157, 162);
    animation-name: dotoneani;
}
.whatsapp-chat-chatarea-dots-two {
    height: 5px;
    width: 5px;
    margin: 0px 2px;
    background-color: rgb(182, 181, 186);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    top: 0px;
    animation-name: dottwoani;
}
.whatsapp-chat-chatarea-dots-three {
    height: 5px;
    width: 5px;
    margin: 0px 2px;
    background-color: rgb(182, 181, 186);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    top: 0px;
    animation-name: dotthreeani;
}
@keyframes dotoneani {
    0% {
        background-color: rgb(182, 181, 186);
    }
    15% {
        background-color: rgb(17, 17, 17);
    }
    25% {
        background-color: rgb(182, 181, 186);
    }
}
@keyframes dottwoani {
    15% {
        background-color: rgb(182, 181, 186);
    }
    25% {
        background-color: rgb(17, 17, 17);
    }
    35% {
        background-color: rgb(182, 181, 186);
    }
}
@keyframes dotthreeani {
    25% {
        background-color: rgb(182, 181, 186);
    }
    35% {
        background-color: rgb(17, 17, 17);
    }
    45% {
        background-color: rgb(182, 181, 186);
    }
}
.whatsapp-chat-chatarea-message {
    padding: 7px 14px 6px;
    background-color: rgb(255, 255, 255);
    border-radius: 0px 8px 8px;
    position: relative;
    transition: all 0.3s ease 0s;
    opacity: 0;
    transform-origin: center top 0px;
    z-index: 2;
    box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px;
    margin-top: 4px;
    margin-left: -54px;
    max-width: calc(100% - 66px);
}
.whatsapp-chat-chatarea-message::before {
    position: absolute;
    background-image: url("");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    top: 0px;
    left: -12px;
    width: 12px;
    height: 19px;
}
.whatsapp-chat-chatarea-message-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.4);
}
.whatsapp-chat-chatarea-message-text {
    font-size: 14px;
    line-height: 19px;
    margin-top: 4px;
    color: rgb(17, 17, 17);
}
.whatsapp-chat-chatarea-message-time {
    text-align: right;
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: rgba(17, 17, 17, 0.5);
    margin-right: -8px;
    margin-bottom: -4px;
}
.whatsapp-chat-api-link {
    padding: 8px 12px;
    border-radius: 20px;
    border: medium none;
    background: #2db742 none repeat scroll 0% 0%;
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
    margin: 20px;
    overflow: hidden;
    -moz-appearance: none;
}
.whatsapp-chat-api-link:hover::before {
    transform: scale(40);
    opacity: 0.02;
    border-radius: 8px;
}
.whatsapp-chat-api-link::before {
    content: "";
    position: absolute;
    display: block;
    opacity: 0;
    transform: scale(1);
    background-color: rgb(0, 0, 0);
    z-index: 0;
    transition: all 0.2s ease 0s;
    border-radius: 20px;
    width: 10px;
    height: 10px;
    bottom: -5px;
}
.whatsapp-chat-api-link-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill:
    rgb(255, 255, 255);
    z-index: 1;
}
.whatsapp-chat-api-link-text {
    margin-left: 8px;
    margin-right: 8px;
    z-index: 1;
    color: rgb(255, 255, 255);
}
.whatsapp-floatbtn {
    height: 60px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 12px;
    border-radius: 50%;
    display: inline-flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    outline: transparent none medium;
    background-color: #2db742;
    /* margin-bottom: 30px; */
    /* margin-right: 16px; */
    /* margin-left: 16px; */
    width: 60px;
    /* margin: 0; */
    /* right: 0; */
}

.whatsapp-floatbtn::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: rgb(255, 0, 0);
    display: block;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    right: 4px;
    top: 4px;
}
.whatsapp-floatbtn-icon {
    display: flex;
}
.whatsapp-floatbtn-icon2 {
    display: flex;
}


@-webkit-keyframes eepp-icon-float-away {
    0% {
        opacity: 1
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.8);
        transform: scale(1.8)
    }
}

@keyframes eepp-icon-float-away {
    0% {
        opacity: 0.5
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1.8);
        transform: scale(1.8)
    }
}

div#whatsapp-floatbtn:hover::after {
    content: "";
    position: absolute;
    width: 90%;
    height: 90%;
    z-index: -1;
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: eepp-icon-float-away;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    background: rgb(135, 199, 138);
    border-radius: 50%;
}

.wa__btn_popup_txt {
    position: absolute;
    width: 157px;
    right: 100%;
    background-color: #f5f7f9;
    font-size: 12px;
    color: #43474e;

    padding: 7px 0 7px 12px;
    margin-right: 7px;
    letter-spacing: -0.03em;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    transition: 0.4s ease all;
    -webkit-transition: 0.4s ease all;
    -moz-transition: 0.4s ease all;
    list-style: none;
    margin-right: -200px;
    opacity: 0;
}

.wa__btn_popup_txt.active {
 animation-name: example;
 animation-duration: 10s; /* or: Xms */
 animation-iteration-count: 1;
 animation-direction: alternate; /* or: normal */
 animation-timing-function: ease-out; /* or: ease, ease-in, ease-in-out, linear, cubic-bezier(x1, y1, x2, y2) */
 animation-fill-mode: forwards; /* or: backwards, both, none */
 animation-delay: 1s; /* or: Xms */
}

@keyframes example {

  5%  {
    /* transition: 0.4s ease all; */
    opacity: 1;
    margin-right: 0.5rem;
  }
    
  95%  {
    /* transition: 0.4s ease all; */
    opacity: 1;
    margin-right: 0.5rem;
  }


    
  100%  {
    opacity: 0;
    margin-right: -200px;
  }

}