* {
    box-sizing: border-box;
}

body {
    background-color: white;
    font-family: "Helvetica", "Roboto", sans-serif;
}

.chat_window {
    position: absolute;
    width: calc(100% - 20px);
    max-width: 1200px;
    height: 800px;
    border-radius: 10px;
    background-color: #fff;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
    background-color: white;
    overflow: hidden;
}

.top_menu {
    background-color: #fff;
    width: 100%;
    padding: 20px 0 15px;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}

    .top_menu .title {
        text-align: center;
        color: #bcbdc0;
        font-size: 20px;
    }

        .top_menu .title .icon_bot {   
                width: 60px;
                height: 60px;
                border-radius: 50%;  
                background-color: LightGray;
                position: relative;  
                margin: 0 auto;                                                                                               
        }


            .top_menu .title .icon_bot .bot {    
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;    
                    color: #000000;                                                                                            
            }

.messages {
    position: relative;
    list-style: none;
    padding: 20px 10px 0 10px;
    margin: 0;
    height: 600px;
    overflow: scroll;
    font-size: 10pt;
    font-weight: 300;    
}

    .messages .message {
        clear: both;
        overflow: hidden;
        margin-bottom: 20px;
        transition: all 0.5s linear;
        opacity: 0;
    }


        .messages .message.left .text_wrapper {
            background-color: LightGray;
            margin-left: 20px;
        }

            .messages .message.left .text_wrapper::after, .messages .message.left .text_wrapper::before {
                right: 100%;
                border-right-color: #ffe6cb;
            }

        .messages .message.left .text {
            color: #000000;
        }

        .messages .message.right .text_wrapper {
            background-color: #008cba;
            margin-right: 20px;
            float: right;
        }

            .messages .message.right .text_wrapper::after, .messages .message.right .text_wrapper::before {
                left: 100%;
                border-left-color: #c7eafc;
            }

        .messages .message.right .text {
            color: #FFFFFF;
        }

        .messages .message.appeared {
            opacity: 1;
        }

        .messages .message .text_wrapper {
            display: inline-block;
            padding: 20px;
            border-radius: 20px;
            width: calc(100% - 85px);
            min-width: 100px;
            position: relative;
        }

.bottom_wrapper {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 20px 20px;
    position: absolute;
    bottom: 0;
}

    .bottom_wrapper .message_input_wrapper {
        display: inline-block;
        height: 50px;
        border-radius: 25px;
        border: 1px solid #bcbdc0;
        width: calc(100% - 40px);
        position: relative;
        padding: 0 20px;
    }

        .bottom_wrapper .message_input_wrapper .message_input {
            border: none;
            height: 100%;
            box-sizing: border-box;
            width: calc(100% - 40px);
            position: absolute;
            outline-width: 0;
            color: gray;
        }

.message_template {
    display: none;
}
