.mini-chat-container {
    max-width: 370px;
    width: calc(100% - 7vh);
    height: calc(100% - 50px);
    min-height: 320px;
    max-height: 590px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20000;
}

.mini-chat-menu {
    width: 60px;
    height: 60px;
    background: #253878;
    cursor: pointer;
    position: fixed;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 21px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: transform .16s linear, opacity .08s linear, -webkit-transform .16s linear;
    z-index: 10000;
}

.mini-chat-menu.show {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.mini-chat-menu:active {
    transition-timing-function: ease-out;
    transform: translateY(10%);
}

.mini-chat-pane {
    width: inherit;
    height: calc(100% - 75px);
    min-height: 250px;
    max-height: 520px;
    position: relative;
    box-shadow: 0 5px 40px rgba(0, 0, 0, .16);
    border-radius: 8px;
    overflow: hidden;
    z-index: 10000;
    opacity: 1;
    display: none;
}

.mini-chat-pane:focus {
    background: black;
}

.mini-chat-pane.show {
    display: block;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.mini-chat-iframe {
    display: none;
}

.mini-chat-iframe.show {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.mini-chat-menu-icon {
    position: absolute;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    display: block;
}

@keyframes fadeIn {
    0% { opacity: 0; bottom: -10px; }
    100% { opacity: 1; bottom: 0px; }
}
