#av-chat-btn {
    position: fixed;
    right: 80px;
    bottom: 17px;
    z-index: 9999;
}

#av-chat-btn .wrapp {
    padding: 10px;
    border-radius: 5px;
    background-color: blueviolet;
    border: 1px solid blueviolet;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#av-chat-box.visible .wrapp {
    background-color: rgb(243 243 243)!important;
    border: 1px solid blueviolet;
}

#av-chat-btn .baloon {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.103 0-2 .897-2 2v18l4-4h14c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2z' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Crect x='7' y='6' width='10' height='2' fill='%23fff'/%3E%3Crect x='7' y='9' width='10' height='2' fill='%23fff'/%3E%3Crect x='7' y='12' width='10' height='2' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

#av-chat-btn span {
    margin-left: 5px;
    vertical-align: middle;
    line-height: 24px;
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    z-index: 1;
}

#av-chat-btn .close-btn {
    position: absolute;
    right: 0;
    top: -60px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: blueviolet;
    cursor: pointer;
}

#av-chat-btn .close-btn.visible {
    z-index: 2;
}

#av-chat-btn .close-btn:after {
    content: "×";
    color: #fff;
    font-size: 60px;
    line-height: 50px;
    text-align: center;
    display: block;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#av-chat-btn .close-btn:not(.visible) {
    display: none;
    z-index: 0;
}

#av-chat-box {
    position: fixed;
    right: 130px;
    bottom: 70px;
    z-index: 9999;
}

@media screen and (max-width: 640px) {
    #av-chat-box {
        right: initial;
        left: 50%;
        margin-left: -150px;
        bottom: 80px;
    }
    #av-chat-btn span.desktop {
        display: none;
    }

    #av-chat-btn {
        right: initial;
        left: 20px;
    }

    #av-chat-btn span.mobile {
        display: inline-block;
    }

    #av-chat-btn .close-btn {
        right: initial;
        left: 0;
        top: -50px;
    }
}

@media screen and (min-width: 641px) {
    #av-chat-btn span.mobile {
        display: none;
    }
}


#av-chat-box:not(.visible) {
    display: none;
}

#av-chat-box .wrapp {
    background-color: rgb(227, 198, 255);
    border-radius: 20px;
    padding: 10px;
    color: #000;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 300px;
}


#av-chat-box table, 
#av-chat-box table td 
{
    border: 0!important;    
    width: 100%;
}

#av-chat-box table tbody tr:hover td {
    background-color: transparent!important;
}


#av-chat-box table th {
    text-align: center;
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    color: #000;
}

#av-chat-box button {
    color: #000;
    border: 0;
    outline: 0;
    padding: 5px 10px;
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#av-chat-box button.zeleno {
    background-color: rgb(4, 121, 55)!important;
    color: #fff!important;
}

#av-chat-box button.cherveno {
    background-color: #ff0000!important;
    color: #fff!important;
}

#av-chat-box button:hover, 
#av-chat-box button:visited, 
#av-chat-box button:active, 
#av-chat-box button:focus,  
#av-chat-box button:hover:active,  
#av-chat-box button:focus:active  
{
    background-color: rgb(239, 221, 255)!important;
    color: #000!important;
}