.whatsapp {
    display: inline-block;
    position: fixed;
    bottom: 0px;
    z-index: 2202;
}
.whatsapp.bottom-left{
    left: 0px !important;
}

.whatsapp.bottom-right{
    right: 0px !important;
}

.whatsapp *{
    font: 400 normal 15px/1.3 Roboto;
}
.whatsapp  .whatsapp_begin{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 12px 24px 0px;
    display: flex;
    flex-direction: column;
    width: 360px;
    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: 1;
    pointer-events: all;
    visibility: visible;
    touch-action: auto;
    margin-bottom: 96px;
    position: fixed;
    bottom: 0px;
}

.whatsapp.bottom-left .whatsapp_begin{
    left: 0px !important;
    margin-left: 20px;
}
.whatsapp.bottom-right .whatsapp_begin{
    right: 0px !important;
    margin-right: 20px;
}

.whatsapp .close{
    border: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 23px !important;
    height: 23px !important;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    outline: transparent;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    color:#ffffff;
    background-color: #ff131a;
    border-radius: 3px;
    padding-bottom: 2px;
    font-weight: bold;
}

.whatsapp .header {
    background: rgb(9, 94, 84);
    color: rgb(17, 17, 17);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 24px 20px;
}
.whatsapp .header .image {
    width: 52px;
    height: 52px;
    display: block;
    position: relative;
    flex-shrink: 0;
}
/*
.whatsapp .header .image::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 .header .image .image-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.whatsapp .header .image .image-container .file {
    min-width: 100%;
    height: 100%;
}

.whatsapp .header .name-container {
    margin-left: 16px;
    margin-right: 16px;
}
.whatsapp .header .name-container .name{
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: rgb(255, 255, 255);
}
.whatsapp .header .name-container .firma{
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
    color: rgb(255, 255, 255);
}

.whatsapp .chat-panel {
    padding: 20px 20px 20px 10px;
    background-color: rgb(230, 221, 212);
    position: relative;
    overflow: auto;
    max-height: 382px;
}
.whatsapp .chat-panel::before {
    display: block;
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    z-index: 0;
    opacity: 0.08;
    background-image: url(../images/whatsapp.webp);
}
.whatsapp .chat-panel .message-container {
    display: flex;
    z-index: 1;
}
.whatsapp .chat-panel .message-container .dots-companet{
    background-color: rgb(255, 255, 255);
    width: 52.5px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-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-panel .message-container .dots-companet .dots-component-inner{
    position: relative;
    display: flex;
}
.whatsapp .chat-panel .message-container .dots-companet .dots-component-inner .dot-1{
    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: dot-1;
}
.whatsapp .chat-panel .message-container .dots-companet .dots-component-inner .dot-2{
    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: dot-2;
}
.whatsapp .chat-panel .message-container .dots-companet .dots-component-inner .dot-3{
    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: dot-3;
}
.whatsapp .chat-panel .message-container .chat_message-container{
    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;
    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-panel .message-container .chat_message-container::before {
    position: absolute;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAMAAADp2asXAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACQUExURUxpccPDw9ra2m9vbwAAAAAAADExMf///wAAABoaGk9PT7q6uqurqwsLCycnJz4+PtDQ0JycnIyMjPf3915eXvz8/E9PT/39/RMTE4CAgAAAAJqamv////////r6+u/v7yUlJeXl5f///5ycnOXl5XNzc/Hx8f///xUVFf///+zs7P///+bm5gAAAM7Ozv///2fVensAAAAvdFJOUwCow1cBCCnqAhNAnY0WIDW2f2/hSeo99g1lBYT87vDXG8/6d8oL4sgM5szrkgl660OiZwAAAHRJREFUKM/ty7cSggAABNFVUQFzwizmjPz/39k4YuFWtm55bw7eHR6ny63+alnswT3/rIDzUSC7CrAziPYCJCsB+gbVkgDtVIDh+DsE9OTBpCtAbSBAZSEQNgWIygJ0RgJMDWYNAdYbAeKtAHODlkHIv997AkLqIVOXVU84AAAAAElFTkSuQmCC);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    top: 0px;
    left: -12px;
    width: 12px;
    height: 19px;
}

.whatsapp .chat-panel .message-container .chat_message-container .name {
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.4);
}

.whatsapp .chat-panel .message-container .chat_message-container .message {
    font-size: 14px;
    line-height: 19px;
    margin-top: 4px;
    color: rgb(17, 17, 17);
}

.whatsapp .chat-panel .message-container .chat_message-container .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-input{
    position: relative;
    padding: 15px;
    border-top: 1px solid #f1f1f1;
    color: #666;
    background: #fff;
    box-shadow: 0 0 60px rgba(0,0,0,.1);
}
.whatsapp .input_content{
    border: 0;
    padding: 0;
    width: calc(100% - 22px);
    outline: 0;
    line-height: 1;
    font-size: 14px;
    color: #666;
    background: #fff;
    font-family: Arial,sans-serif;
}

.whatsapp .input_icon{
    height: 16px;
    width: 16px;
    position: absolute;
    top: 18px;
    right: 15px;
    cursor: pointer;
    opacity: .5;
}

.whatsapp .whatsapp-button{
    padding: 8px 12px;
    border-radius: 20px;
    border: none;
    background: rgb(79, 206, 93);
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin: 20px;
    overflow: hidden;
    appearance: none;
    text-decoration: none !important;
    font-family: "Roboto;
}

.whatsapp .whatsapp-button::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 .whatsapp-button .whatsapp-button-svg{
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: rgb(255, 255, 255);
    z-index: 1;
}
.whatsapp .whatsapp-button .button-text {
    margin-left: 8px;
    margin-right: 8px;
    z-index: 1;
    color: rgb(255, 255, 255);
}

.whatsapp .whatsapp-bubble-component{
    height: 64px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 12px;
    border-radius: 50%;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    outline: transparent;
    background-color: rgb(255, 255, 255);
    margin-bottom: 20px;
    margin-right: 20px;
    margin-left: 20px;
    width: 64px;
}
.whatsapp .whatsapp-bubble-component::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 .whatsapp-bubble-component[data-status="online"]::before{
    content: "";
    width: 10px;
    height: 10px;
    background-color: rgb(74, 213, 4);
    display: block;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    right: 4px;
    top: 4px;
}
.whatsapp .whatsapp-bubble-component .icon-component{
    display: flex;
}
.whatsapp .whatsapp-bubble-component .whatsapp-bubble-text {
    display: block;
    color: rgb(79, 206, 93);
}


.whatsapp_begin[data-status="close"]{
    display: none !important;
}

.whatsapp_begin[data-status="off"]{
    display: none !important;
}

@keyframes dot-1 {
    0% {
        background-color: rgb(182, 181, 186);
    }
    15% {
        background-color: rgb(17, 17, 17);
    }
    25% {
        background-color: rgb(182, 181, 186);
    }
}
@keyframes dot-2 {
    15% {
        background-color: rgb(182, 181, 186);
    }
    25% {
        background-color: rgb(17, 17, 17);
    }
    35% {
        background-color: rgb(182, 181, 186);
    }
}
@keyframes dot-3 {
    25% {
        background-color: rgb(182, 181, 186);
    }
    35% {
        background-color: rgb(17, 17, 17);
    }
    45% {
        background-color: rgb(182, 181, 186);
    }
}
