
.blue_color_example {
  float: left;
  color: #FFFFFF;
  margin: 0 0 0.5em;
  margin-right: 2em;
  border-radius: 1em;
  padding: 0.5em 1em;
  /* background: #000000; */
  background: #1289fe;
  max-width: 75%;
  clear: both;
  position: relative;
}

.gray_color_example{
  float: left;
  color: #000000;
  margin: 0 0 0.5em;
  margin-right: 2em;
  border-radius: 1em;
  padding: 0.5em 1em;
  background: #e5e5ea;
  max-width: 75%;
  clear: both;
  position: relative;
}



/* the screen wrapper */
.phone {
  max-width: 300px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: table;

}

/* if i wanted the message headder */
/* .header {
  min-width: 300px;
  background-color: #f6f6f6;
  border-bottom: 1px solid #b2b2b2;
  color: #000000;
  font-weight: bold;
  padding-bottom: .5em;
  padding-top: .5em;
  margin-left: -.5em;
  margin-right: -.5em;
  margin-bottom: -2em;
  text-align: center;
  text-transform: capitalize;
  display: table;
} */


/* the way the of the screen background looks */
.messagebody {
  width: 300px;
  /* background-color: #FFFFFF; */
  display: table;
  padding-left: .5em;
  padding-right: .5em;
}

/* how the gray message looks */
.text {
  float: left;
  color: #000000;
  margin: 0 0 0.5em;
  border-radius: 1em;
  padding: 0.5em 1em;
  background: #e5e5ea;
  max-width: 75%;
  clear: both;
  position: relative;
}

.text::after {
  content: "";
  position: absolute;
  left: -.5em;
  bottom: 0;
  width: 0.5em;
  height: 1em;
  border-right: 0.5em solid #e5e5ea;
  border-bottom-right-radius: 1em 0.5em;
}

/* how a standard blue message looks */
.breply {
  float: right;
  color: #FFFFFF;
  margin: 0 0 0.5em;
  border-radius: 1em;
  padding: 0.5em 1em;
  /* background: #000000; */
  background: #1289fe;
  max-width: 75%;
  clear: both;
  position: relative;
}

.breply::after {
  content: "";
  position: absolute;
  right: -0.5em;
  bottom: 0;
  width: 0.5em;
  height: 1em;
  border-left-width: 0.5em;
  border-left-style:  solid;
  border-left-color: #1289fe;
  border-bottom-left-radius: 1em 0.5em;
}

/* how a standard gray message looks */
.greply {
  float: right;
  color: #FFFFFF;
  margin: 0 0 0.5em;
  border-radius: 1em;
  padding: 0.5em 1em;
  background: #35cb24;
  max-width: 75%;
  clear: both;
  position: relative;
}

.greply::after {
  content: "";
  position: absolute;
  right: -0.5em;
  bottom: 0;
  width: 0.5em;
  height: 1em;
  border-left: 0.5em solid #35cb24;
  border-bottom-left-radius: 1em 0.5em;
}


/* time stamps */
.time {
min-width: 295px;
color: #7B7C80;
font-size: .75em;
padding-bottom: .5em;
padding-top: .5em;
margin-left: -.5em;
margin-right: -.5em;
margin-bottom: -.5em;
text-align: center;
display: table;
}


/* typing bubble */
.typing-indicator {
  background-color: #e6e7ed;
  width: auto;
  border-radius: 1em;
  padding: .5em 1em;
  display: table;
  margin: 0 0 .5em;
  position: relative;
  overflow: hidden;
  text-align: left;
  clear: both;
}

    .typing-indicator::before,
    .typing-indicator::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -2px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: #e6e7ed;
    }

    .typing-indicator::after {
    height: 6px;
    width: 6px;
    left: -6px;
    bottom: -6px;
    }

    .typing-indicator span {
    height: 15px;
    width: 15px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
    }

    .typing-indicator span {
    height: .65em;
    width: .65em;
    /* float: left; */
    margin: .425em 0 .425em .25em;
    margin-left: 0.25em;
    background-color: #9e9ea1;
    display: inline-block;
    border-radius: 50%;
    opacity: .5;
    }

    .typing-indicator span:first-child {
    margin-left: 0;
    }

    .typing-indicator span:nth-child(1) {
    opacity: .85;
    }

    .typing-indicator span:nth-child(2) {
    opacity: .65;
    }

/* names */
.names {
  color: #7B7C80;
  font-size: .75em;
  padding-bottom: .5em;
  padding-top: 0;
  margin-left: .5em;
  margin-bottom: -2em;
  text-align: left;
  display: table;
  clear: both;
}

/* .my_name {
  color: #7B7C80;
  font-size: .75em;
  padding-bottom: .5em;
  padding-top: 0;
  margin-left: .5em;
  margin-bottom: -2em;
  text-align: right;
  display: table;
  clear: both;
} */



/*  me typing bubble */
.me_typing-indicator {
  background-color: #1289fe;
  width: auto;
  border-radius: 1em;
  padding: .5em 1em;
  display: table;
  margin: 0 0 .5em;
  position: relative;
  overflow: hidden;
  text-align: left;
  clear: both;
  float: right;
  max-width: 75%;

}

    .me_typing-indicator::before,
    .me_typing-indicator::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -2px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: #1289fe;
    }

    .me_typing-indicator::after {
    height: 6px;
    width: 6px;
    left: -6px;
    bottom: -6px;
    }

    .me_typing-indicator span {
    height: 15px;
    width: 15px;
    float: left;
    margin: 0 1px;
    background-color: #9E9EA1;
    display: block;
    border-radius: 50%;
    opacity: 0.4;
    }

    .me_typing-indicator span {
    height: .65em;
    width: .65em;
    /* float: left; */
    margin: .425em 0 .425em .25em;
    margin-left: 0.25em;
    background-color: #9e9ea1;
    display: inline-block;
    border-radius: 50%;
    opacity: .5;
    }

    .me_typing-indicator span:first-child {
    margin-left: 0;
    }

    .me_typing-indicator span:nth-child(1) {
    opacity: .85;
    }

    .me_typing-indicator span:nth-child(2) {
    opacity: .65;
    }
