@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600);

/* *********************** */
/* *** Native Elements *** */
/* *********************** */

button:focus, input:focus {
  outline:0 !important;
  box-shadow: none !important;
}

button:hover {
  cursor:pointer;
}

/* ************************ */
/* *** Global (Chatbox) *** */
/* ************************ */

#wpcb {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
}

#wpcb-chatbox {
  border:1px solid #e6e6e6;
  background:#fff;
  margin-top:15px;
  display: flex;
  flex-direction: column;
  height: 90vh;
}

/* *************************** */
/* *** Left Part (Sidebar) *** */
/* *************************** */


#wpcb-left {
  display: flex;
  flex-direction: column;
  border-right:1px solid #e6e6e6;
  width:100%;
}

#wpcb-bot {
  border-bottom:0px;
  padding-top:35px;
}

#wpcb-bot p {
  text-align:center;
}

#wpcb img.wpcb-bot-avatar {
  width:80px;
  height:80px;
  border-radius:100%;
  margin-bottom:10px;
}

#wpcb img.wpcb-bot-avatar-square {
  width:80px;
  height:80px;
  padding:0;
  margin:0;
}

#wpcb p.wpcb-avatar {
  text-align:center;
  margin:0px;
  margin-bottom:7px;
}

#wpcb-bot p.wpcb-name {
  font-size:18px;
  display: block;
  margin-bottom:5px;
}

#wpcb-bot p.wpcb-bio {
  color:#aaa;
  font-size:14px;
}

#wpcb-bot p.wpcb-status {
  color:#42b72a;
  margin-bottom:20px;
  font-size:16px;
}

#wpcb span.wpcb-online-badge {
  display: inline-block;
  height:10px;
  width:10px;
  background:#42b72a;
  border-radius:100%;
}

#wpcb #wpcb-conversation-top span.wpcb-online-badge {
  margin-left:15px !important;
}

.wpcb-widget {
  padding:35px;
}

/* ********************************* */
/* *** Right Part (Conversation) *** */
/* ********************************* */

#wpcb-right {
  display: flex;
  flex-direction: column;
  width:100%;
}

/* **** ABOVE CONVERSATION **** */

#wpcb-conversation-top {
  border-bottom:1px solid #e6e6e6;
}

#wpcb-conversation-top #wpcb-to-field {
  padding: 20px 0;
  font-size:15px;
  height:47px;
}

#wpcb-conversation-top #wpcb-to-field span.wpcb-to-label {
  color:#999;
  font-size:15px;
}

#wpcb-conversation-top #wpcb-to-field span.wpcb-to-name {
  color:#000;
  font-weight: bold;
}

/* **** CONVERSATION **** */

#wpcb-main-conversation {
  padding: 0 35px 40px;
  width:100%;
  overflow-y:scroll;
  flex:2;
  height:2000px;
}

#wpcb-main-conversation img {
  max-width:100%;
}

/* **** USER FIELDS INTRODUCTION **** */

#wpcb-user-field {
  width:100%;
  height:auto;
}

#wpcb div#wpcb-choices a, #wpcb .wpcb-promote a {
  text-decoration: none !important;
  border-bottom:0px !important;
}

#wpcb-user-field .wpcb-count {
  font-size:.8em;
  color:#999;
}


/* **** USER FIELDS **** */

#wpcb-user-field input[type=text], 
#wpcb-user-field input[type=tel], 
#wpcb-user-field input[type=number],
#wpcb-user-field input[type=email]
{
  width: 100%;
  height: 40px;
  padding: 0 10px;
  color: #1a1a1a;
  outline: none;
  border-radius:5px;
  background-color: #eceff1;
  border:1px solid #e6e6e6;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size:14px;
}

#wpcb-user-field #wpcb-choices
{
  text-align:center;
  padding:8px 0 20px 0;
}

#wpcb-user-field #wpcb-choices button 
{
  margin-right:10px;
}

#wpcb-user-field .wpcb-button-send {
  background:white;
  color:#0084ff;
  border:0;
  outline:0;
}

#wpcb-user-field .wpcb-button-send:hover {
  border:0;
  outline:0;
}

#wpcb-user-field #wpcb-waiting-for-label {
  text-align:center;
  color:#757575;
  font-style:italic;
  font-size:14px;
}

#wpcb-user-field #wpcb-waiting-for-label, #wpcb-user-field #wpcb-choices {
  min-height:60px;
}


input.wpcb-global-input {
  background:white !important;
  border:0 !important;
}

input.wpcb-global-input::placeholder {
  color:#c8c8c8 !important;
}

/* **** USER CHOICE BUTTONS **** */

.btn-answer {
  margin:4px 0; 
  display:inline-block;
}

.btn-answer span.count{
    display: none;
}

.btn-answer button {
  font-size:14px;
  color:#0084ff;
  background:white;
  border: 1px solid #0084ff;
  border-radius:1.3em;
  padding:5px 14px;
}

.btn-answer button:hover {
  color:white;
  background:#0084ff;
}

/* **** NICE BAR TO DELIMITE STUFF **** */

#wpcb-main-conversation #wpcb-conversation-start,
#wpcb-your-reply-bar {
    position: relative;
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

#wpcb-main-conversation #wpcb-conversation-start span, 
#wpcb-your-reply-bar span {
    font-size: 14px;
    display: inline-block;
    color: #999;
}

#wpcb-main-conversation #wpcb-conversation-start span:before, #wpcb-your-reply-bar span:before { left: 0; }
#wpcb-main-conversation #wpcb-conversation-start span:after, #wpcb-your-reply-bar span:after { right: 0; }

#wpcb-main-conversation #wpcb-conversation-start span:before, #wpcb-main-conversation #wpcb-conversation-start span:after,
#wpcb-your-reply-bar span:before, #wpcb-your-reply-bar span:after {
    position: absolute;
    top: 10px;
    display: inline-block;
    width: 20%;
    height: 1px;
    content: '';
    background-color: #e6e6e6;
}

/* **** CONVERSATION BUBBLES **** */

.wpcb-bubble {
    font-size:14px;
    display: inline-block;
    clear: both;
    margin-bottom: 8px;
    padding: 8px 14px;
    vertical-align: top;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 1.3em;
}

.wpcb-bubble:before {
    position: absolute;
    top: 19px;
    display: block;
    width: 8px;
    height: 6px;
    content: '\00a0';
    -moz-transform: rotate(29deg) skew(-35deg);
    -ms-transform: rotate(29deg) skew(-35deg);
    -webkit-transform: rotate(29deg) skew(-35deg);
    transform: rotate(29deg) skew(-35deg);
}

.wpcb-bubble.bot {
    float: left;
    color: #000;
    background-color: #f1f0f0;
    -webkit-align-self: flex-start;
    align-self: flex-start;
    max-width:80%;
}

.wpcb-bubble.human {
    float: right;
    color: #fff;
    background-color: #0084ff;
    align-self: flex-end;
    max-width:60%;
}

.wpcb-bubble.bot a {
  color:#0084ff;
  text-decoration: underline !important;
}

/* ******************* */
/* *** Footer Part *** */
/* ******************* */

#wpcb-footer {
  margin:5px 0;
}

#wpcb-footer p.wpcb-promote {
  background:#F6F6F6;
  color:#888888;
  text-align:left;
  font-size:12px;
  padding:3px 10px;
  border-radius:1.3em;
  display: inline-block;
}

#wpcb-footer p.wpcb-promote a {
  color:#0084ff;
  text-decoration: underline;
}

/* ****************** */
/* *** Animations *** */
/* ****************** */

@-webkit-keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
@-webkit-keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
@-moz-keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
@-ms-keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
@-moz-keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
@-webkit-keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
@-o-keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
@keyframes uil-ellipsis {
  0% {
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    left: 0px;
    opacity: 1;
  }
  12.5% {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  25% {
    left: 0px;
  }
  37.5% {
    left: 70px;
  }
  50% {
    left: 70px;
  }
  62.5% {
    left: 140px;
  }
  75% {
    left: 140px;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  87.5% {
    left: 140px;
    -ms-transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }
  100% {
    left: 140px;
    opacity: 0;
  }
}
.uil-ellipsis-css {
  background: none;
  clear:both;
  float:left;
}
.uil-ellipsis-css .ib {
  width: 100%;
  height: 100%;
  -ms-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
.uil-ellipsis-css .circle {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 70px;
  opacity: 0;
  -ms-animation: uil-ellipsis 1s linear infinite;
  -moz-animation: uil-ellipsis 1s linear infinite;
  -webkit-animation: uil-ellipsis 1s linear infinite;
  -o-animation: uil-ellipsis 1s linear infinite;
  animation: uil-ellipsis 1s linear infinite;
}
.uil-ellipsis-css .circle > div {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  margin: 0px;
}
.uil-ellipsis-css .circle:nth-of-type(2n+1) > div {
  background: #5e5e5e;
}
.uil-ellipsis-css .circle:nth-of-type(2n) > div {
  background: #808a80;
}
.circle:nth-of-type(1) {
  -ms-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  -o-animation-delay: 0s;
  animation-delay: 0s;
}
.circle:nth-of-type(2) {
  -ms-animation-delay: 0.25s;
  -moz-animation-delay: 0.25s;
  -webkit-animation-delay: 0.25s;
  -o-animation-delay: 0.25s;
  animation-delay: 0.25s;
}
.circle:nth-of-type(3) {
  -ms-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  -o-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.circle:nth-of-type(4) {
  -ms-animation-delay: 0.75s;
  -moz-animation-delay: 0.75s;
  -webkit-animation-delay: 0.75s;
  -o-animation-delay: 0.75s;
  animation-delay: 0.75s;
}
