﻿@keyframes shadow-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(39, 174, 96, 0.7);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(39, 174, 96, 0);
  }
}

.logo-img {
    border-radius: 100%;
    max-width: 4em;
    width: 4em;
    
}

.logo {
    box-shadow: -1px 3px 28px 0 #8C8C8C;
    border-radius: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    animation: shadow-pulse 2s infinite !important;
}

.chat-image {
    z-index: 1;
    background-color: white;
    padding: 5px;
    border-radius: 100%;
    z-index: 99999;
}

.open-button-body {
    background-color: white;
    color: rgba(0, 0, 0, .8);
    font-size: 1em;
    box-shadow: -1px 3px 28px 0 #8C8C8C;
    position: relative;
    min-height: 2.9em;
    height: 2.9em;
    line-height: 2.9em;
    width: 13em;
    min-width: 13em;
    box-sizing: border-box;
    -webkit-box-pack: center;
    justify-content: center;
    text-align: left;
    cursor: pointer;
    margin: 0px;
    margin-right: -3em;
    border-radius: 3px;
    z-index: 99999;
}

.open-button-container {
    position: relative;
    display: flex;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
}

.open-button-text {
    margin-left: 0.8em;
    font-weight: bold;
}

.open-button {
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 1;
    position: fixed;
    bottom: 20px;
    right: 1em;
    z-index: 999999;
}

#buttonBody { display: none; }

#webchat-wrapper {
    position: fixed;
    height: calc(100% - 14em);
    z-index: 99999;
    width: 25em;
    top: 10em;
    right: 0.5em;
    overflow: hidden;
}

@keyframes slidein {
    0% { right: -25em; }
    100% { right: 0.5em; }
}

@keyframes slideout {
    0% { right: 0.5em; }
    100% {
        right: -25em;
        display: none;
    }
}

.showChat {
    animation-name: slidein;
    animation-duration: 1s;
    animation-delay: 0s;
}

.hideChat {
    animation-name: slideout;
    animation-duration: 1s;
    animation-delay: 0s;
}

#webchat { height: 90%; }

#webchat-header {
    border-radius: 15px 15px 0px 0px;
    background: #f2f2f2;
    padding: 20px;
}

.chat-popup {
    display: none;
    z-index: 99999;
    font-size: 0.9em;
}

.chat-popup .ac-pushButton { font-size: 14px; }

@media (max-width: 991px) {
    .open-button { bottom: 80px; }

    #webchat-wrapper{ top: 8em;}
}