﻿
ins .embed-icon {
    display: none !important;
}

iframe.chat-frame {
    display: none;
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 65%;
    min-width: 560px;
    max-width: 680px;
    height: 75%;
    min-height: 450px;
    max-height: 600px;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgb(128 128 128 / 50%);
    z-index: 2147482101;
    opacity: 98%;
}

    iframe.chat-frame.shown {
        display: block !important;
    }

img.chat-button {
    display: block;
    position: fixed;
    right: 0;
    top: 494px;
    width: 122px;
    height: 42px;
    background-image: url(../images/chatButton.png?14);
    background-position: left top;
    background-size: auto;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0 0 0 9px;
    box-shadow: none;
    z-index: 2147482101;
    opacity: 100%;
    cursor: pointer;
}

    img.chat-button:not(.minimize) {
        top: 494px !important;
    }

    img.chat-button.minimize {
        top: unset;
        right: 15px;
        width: 20px;
        height: 20px;
        background-size: 100%;
        background-color: #f2f8f8;
        background-position: left top;
        border: 1px #f2f8f8 solid;
        border-radius: 7px;
        box-shadow: none;
        opacity: 75%;
    }

@media screen and (max-width: 850px) {
    iframe.chat-frame {
        right: 5px;
        bottom: 5px;
        width: calc(100% - 5px * 2);
        min-width: unset;
        max-width: unset;
        height: calc(85% - 5px);
        min-height: unset;
        max-height: unset;
    }

    img.chat-button {
        right: 10px;
        width: 40px;
        height: 40px;
        background-position-y: -5px;
        border-radius: 7px;
    }

        img.chat-button:not(.minimize) {
            top: unset !important;
            bottom: 50px !important;
        }

        img.chat-button.minimize {
            width: 24px;
            height: 24px;
        }
}
