.chatbot-wrapper {
    background: #fff;
    z-index: 1100; /* higher as top-button */
    width: 300px;

    position: fixed;
    right: 24px;
    bottom: 24px;
}

.chatbot-wrapper.chatbot-wrapper--sticky {
    position: absolute;
    bottom: -31px;
    right: 2px;
}

@media screen and (max-width: 320px) {
    .chatbot-wrapper {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        max-height: 90%;
    }
    .chatbot-wrapper.chatbot-wrapper--sticky {
        width: 100%;
    }
}

.chatbot-wrapper:not(.chatbot-wrapper--sticky) {
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.chatbot-wrapper.chatbot-wrapper--sticky.active {
    -webkit-box-shadow: 0 -4px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 -4px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 -4px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.chatbot-wrapper.active iframe {
    height: 500px;
    display: block;
}

.chatbot-head {
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: right;
    padding: 3px 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
}

.chatbot-action {
    display: inline-block;
    height: 15px;
    width: 15px;
    line-height: 22px;
    font-size: 0;
    margin-right: 6px;
    margin-bottom: 3px;
    cursor: pointer;
}

.chatbot-maximize {
    background-image: url(../pics/svg/maximize.svg);
}
.chatbot-minimize {
    background-image: url(../pics/svg/minimize.svg);
    display: none;
}
.chatbot-close {
    background-image: url(../pics/svg/chatbot_close.svg);
}

.chatbot-dummy-title {
    height: 30px;
    background-color: #0078d7;
    color: #fff;
    font-weight: 500;
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-sizing: content-box;
    padding: 8px 8px 0 8px;
}
