@charset "utf-8";



/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */



html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}

button:focus {outline:0;}

ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* { margin: 0; padding: 0; -webkit-tap-highlight-color: rgba(0,0,0,0); box-sizing: border-box;}



/* --- Defaults --- */



html{

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 


}

body { 
  
  
  font: 15px/30px "Avenir Medium", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;

  letter-spacing: 1px;

  color: #22222a;
  background-color: #f8fafb;
  
  -webkit-font-smoothing: antialiased;

}

#main-container {

  position: absolute;

  width: 100%;
  height: 100%;

}

#input-container{
  
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 110px;
  background-color: #fff;

  -webkit-box-shadow: 0px -1px 0px 0px rgba(34,34,42,0.05);
  -moz-box-shadow: 0px -1px 0px 0px rgba(34,34,42,0.05);
  box-shadow: 0px -1px 0px 0px rgba(34,34,42,0.05);

}

#bot-container{

  width: 100%;
  max-width: 640px;
  margin: auto;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 90px;
  padding-bottom: 200px;
}

#bot-content{

  display: block;
  width: 100%;

}

.message-container{
  width: 100%;
  white-space: nowrap;
}


.bot-face{
  float: left;
  width: 46px;
  height: 46px;
  margin-right: 15px;
  background-color: #8adc54;
  border-radius: 100%;

  background: #8adc54 url(../images/bot-face.png) no-repeat center;
  background-size: 45px 45px;

  opacity: 0;
}

.empty-face{
  float: left;
  width: 46px;
  height: 46px;
  margin-right: 15px;
}

.message-bubble{
  float: left;
  display: inline-block;
  min-height: 60px;
  max-width: 440px;
  padding: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #fff;

  white-space: normal;

  opacity: 0;

  -webkit-box-shadow: 0px 1px 0px 0px rgba(34,34,42,0.08);
  -moz-box-shadow: 0px 1px 0px 0px rgba(34,34,42,0.08);
  box-shadow: 0px 1px 0px 0px rgba(34,34,42,0.08);
  
}

.message-bubble.left.single{

  float: left;
  border-radius: 3px 12px 12px 12px;

  margin-bottom: 30px;

}

.message-bubble.left.top{

  float: left;
  border-radius: 3px 12px 3px 3px;

  margin-bottom: 5px;

}

.message-bubble.left.middle{

  float: left;
  border-radius: 3px 3px 3px 3px;

  margin-bottom: 5px;

}

.message-bubble.left.bottom{

  float: left;
  border-radius: 3px 3px 12px 3px;

  margin-bottom: 30px;

}

.message-bubble.right.single{

  float: right;
  text-align: right;
  border-radius: 12px 3px 12px 12px;

  color: #88888a;

  margin-bottom: 30px;

}

.message-bubble.right.top{

  float: right;
  text-align: right;
  border-radius: 12px 3px 3px 3px;

  color: #88888a;

  margin-bottom: 5px;

}

.message-bubble.right.middle{

  float: right;
  text-align: right;
  border-radius: 3px 3px 3px 3px;

  color: #88888a;

  margin-bottom: 5px;

}

.message-bubble.right.bottom{

  float: right;
  text-align: right;
  border-radius: 3px 3px 3px 12px;

  color: #88888a;

  margin-bottom: 30px;

}

#input-content{

  max-width: 640px;
  width: 100%;
  margin: auto;
  padding-top: 25px;
  padding-left: 111px;
  padding-right: 111px;
}


#message-input {
    
  outline: none;
  box-sizing: border-box;

  width: 100%;
  height: 60px;

  margin: auto;

  border: none;
  
  background: #fff;
  color: #22222a;

  font: 15px "Avenir Medium", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.5px;


}

.emoji{
  font-size: 18px;
}

.grey{
  color: #88888a;
}


.clear-both{
  clear: both;
}

.hidden{
  visibility: hidden;
}

#bot-msg-btn{
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: #8adc54;
}



@media screen and (max-width: 640px) {

  .message-bubble{
  
    max-width: 100%;
  }

  #input-content{

  
  width: 100%;
  
  padding-left: 30px;
  padding-right: 30px;
  }

}



