#chatbot {
    position: absolute;
    bottom: 0px;
    background: #fafafb;
    border-top: 1px solid #ddd;
}

    #chatbot .chat-area {
        padding-top: 1em;
        overflow: hidden;
        margin: 0;
        font-weight: 100;
        width: 380px;
    }

        #chatbot .chat-area::-webkit-scrollbar-track {
            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
            background-color: #F5F5F5;
        }

        #chatbot .chat-area::-webkit-scrollbar {
            width: 10px;
            background-color: #F5F5F5;
        }

        #chatbot .chat-area::-webkit-scrollbar-thumb {
            background-color: #407FFF;
            background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.5, transparent), to(transparent));
        }

        #chatbot .chat-area .message {
            display: inline-block;
            white-space: normal;
            max-width: 60%;
            border-radius: 10px;
            padding: .5em;
            margin-top: 0px !important;
            margin-bottom: 5px !important;
            font-size: .8em;
        }

        #chatbot .chat-area .message-out {
            float: right;
            background: #407FFF;
            color: white;
        }

        #chatbot .chat-area .message-in {
            float: left;
            background: #F1F0F0;
            color: black;
        }

        #chatbot .chat-area .chat-inputs {
            display: flex;
            justify-content: space-between;
            margin: 0 auto 2em auto;
        }

    #chatbot #messages {
        overflow: auto;
        padding: 0em 1em;
        height: 127px;
    }
    
        #chatbot #messages::-webkit-scrollbar {
            /*display: none;*/
        }

    /* Hide scrollbar for IE, Edge and Firefox */
    #chatbot #messages {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }
    #chatbot  #person2-form {
    width: 100%;
}

    #chatbot .input-icons form input[type="image"] {
        position: relative;
        width: 40px;
        top: 14px;
    }

    #chatbot .icon-send {
        right: 40px;
        box-shadow: 0 0 1px #000000;
        border-radius: 25px;
    }

    #chatbot .icon-micro {
        /*box-shadow: 0 0 1px #000000;*/
        margin-top: 14px;
        border-radius: 25px;
    }

    #chatbot .icon-language {
        right: 0px !important;
        box-shadow: 0 0 1px #000000;
        border-radius: 25px;
    }

    #chatbot .input-field {
        border: none;
        margin-left: 20px;
        width: calc(100% - 50px);
        padding: 8px;
        font-size: 14px;
    }

        #chatbot .input-field:focus {
            outline: none;
        }

    #chatbot .input-icons {
        background: #f5f5f5;
        padding-bottom: 12px;
        width: 100%;
        display: flex;
    }

    #chatbot #icon-micro {
        position: relative;
        float: right;
    }


    #chatbot #micro-animation {
        display: none;
        position: absolute;
        bottom: 120px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        background-color: #f44336;
        color: #fff;
        font-size: 30px;
        padding: 15px;
        line-height: 1;
        border-radius: 50%;
        animation: pulse 1s cubic-bezier(0, 0, 0, 0) 0.3s infinite;
        text-align: center;
    }

        #chatbot #micro-animation img {
            text-shadow: 0 2px 10px #b52217;
            animation: changeSize 1s cubic-bezier(0, 0, 0, 0) 0s infinite;
        }

    #chatbot .azomi-bot::before {
        content: url(img/izomi.png);
        float: left;
        margin-right: 10px;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #fddcda;
    }

    25% {
        box-shadow: 0 0 0 10px #fddcda;
    }

    50% {
        box-shadow: 0 0 0 20px #fef2f2;
    }

    75% {
        box-shadow: 0 0 0 30px #fef2f1;
    }

    100% {
        box-shadow: 0 0 0 40px #fff;
    }
}

@keyframes changeSize {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.8);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
#chatbot {
    background: transparent;
    border-top: 0px solid #ddd;
    width: 100%;
}

    #chatbot #messages {
        height: 310px;
        padding: 15px;
    }

@media only screen and (max-width: 500px) {
    #chatbot #messages {
        height: 210px;
    }
}

#chatbot .chat-area {
    width: 100%;
}



#chatbot .input-field {
    border: none;
    margin-left: 5px;
    padding: 5px;
    font-size: 14px;
}

#chatbot .input-icons {
    padding-bottom: 8px;
}