  /* Fix user-agent */

  * {
    box-sizing: border-box;
}

html {
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

html,
input {
    font-family:
        "HelveticaNeue-Light",
        "Helvetica Neue Light",
        "Helvetica Neue",
        Helvetica,
        Arial,
        "Lucida Grande",
        sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
    word-wrap: break-word;
}

/* Pages */

.pages {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

.page {
    height: 100%;
    position: absolute;
    width: 100%;
}

/* Chat page */

.chat.page {
    display: none;
}

/* Font */

.messages {
    font-size: 150%;
}

.inputMessage {
    font-size: 100%;
}

/* Messages */

.chatArea {
    height: 100%;
    padding-bottom: 60px;
}

.messages {
    height: 95%;
    margin: 0;
    overflow-y: scroll;
    padding: 10px 20px 10px 20px;
}

.message-time{
    font-size: 11px;
    color: gray;
}
.chatInput{
    background: #FEAF26;
    position: absolute;
    width: 100%;
    height: 60px;
    bottom: 0px;
}
.message-text{
    font-size: 17px;
    color: #3c3c3c;
    text-align: justify;
}

.username {
    font-size: 20px;
    font-weight: 700;
    overflow: hidden;
    padding-right: 15px;
    text-align: right;
}

/* Input */

.inputMessage {
    bottom: 9px;
    height: 40px;
    left: 23px;
    outline: none;
    padding-left: 10px;
    position: absolute;
    right: 0;
    width: 96%;
    border: none;
    border-radius: 8px;
}

.typing {
    left:20px;
    position: absolute;
    bottom: 60px;
}

.total {
    position: absolute;
    bottom: 80px;
}