.chatbox {
    position: relative;
    width: 100%;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border: 1px solid #dadada;
    display: inline-block;
    height: 100%;
    -webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.3);
    box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.3);
}
.chatboxTitle:not(.tooltip) {
    position: relative;
    margin: 0;
    background-color: #242a33;
    padding: 8px;
    width: 100%;
    height: 3em;
    border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
}

    .chatboxTitle span:not(.tooltip) {
        font-weight: 600;
        float: left;
        color: #f0f0f0;
        margin: 0.4em 2em 0 0;
    }

.chatbox bdo {
 
    float: right;
}

    .chatboxTitle div {
       float:left;
       margin-right:1em;
    }

    .chatboxTitle a {
        float: right;
        color: #f0f0f0;
        margin: 0;
    }

.chatboxBody {
    background-color: white;
    width: 100%;
    margin:0;
    position: relative;
    padding: 20px 10px;
}


.chatboxTitle nav {
    width: 70vw;
    height: 3rem;
    background: #3498db;
    background: linear-gradient(to right, #3498db, #57aae1);
    box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.1), 0 0 5px 0 rgba(255, 255, 255, 0.3);
    border-radius: 0.5em;
    box-sizing: border-box;
    padding: 0.5rem 3rem;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    outline: none;
}

.talkbubbleperson {
    position: relative;
    color:#3498db;
    font-size: 0.9em;
}

.talkbubble {
    position: relative;
    height: auto;
    padding: 10px;
    float: left;
    width: 65%;
    border-radius: 0px 15px 15px 0px;
    -moz-border-radius: 0px 15px 15px 0px;
    -webkit-border-radius: 0px 15px 15px 0px;
}

    .talkbubble:before {
        content: "";
        position: absolute;
        right: 100%;
        top: 12px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-right: 16px solid #f0f0f0;
        border-bottom: 8px solid transparent;
    }

.me {
    background: #fffcd8;
}

.you {
    background: #f0f0f0;
}

.me:before {
    border-right: 16px solid #fffcd8;
}

.you:before {
    border-right: 16px solid #f0f0f0;
}
