@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 {
  margin-top:15px;
  display: flex;
  flex-direction: column;
  height: 90vh;
}

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

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

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

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

/* **** 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-to-field {
  padding: 20px 0;
  height:47px;
  font-size:15px;
}

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

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

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

#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: 60%;
  height: 60px;
  margin: auto;
  padding: 0 10px;
  color: #1a1a1a;
  outline: none;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #eceff1;
  border: 1px solid #e6e6e6;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
}

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

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

#wpcb-user-field .wpcb-button-send {
  background:#868e96;
  color:white;
}

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

#wpcb-user-field #wpcb-waiting-for-label {
  text-align:center;
  color:#fff;
  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;
  font-size:14px !important;
}

input.wpcb-global-input::placeholder {
  color:#c8c8c8 !important;
  font-size:14px;
}

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

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

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

.btn-answer button {
  font-size:16px;
  background:white;
  border:0px;
  border-radius:1.3em;
  padding:7px 16px;
  color:black !important;
}

.btn-answer button:hover {
    -webkit-animation: bounceSimple .25s ease;
    animation: bounceSimple .25s ease;
}

@-webkit-keyframes bounceSimple {
    0%, 100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9)
    }
}
@keyframes bounceSimple {
    0%, 100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9)
    }
}


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

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

#wpcb-your-reply-bar {
  border:0;
  color:transparent;
}

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

#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: 25%;
    height: 1px;
    content: '';
    background-color: #fff;
}

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

.wpcb-bubble {
    font-size:22px;
    display: inline-block;
    clear: both;
    margin-bottom: 8px;
    padding: 14px 18px;
    vertical-align: top;
}

.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;
    font-weight: 300;
    background-color: #ffffff;
    -webkit-align-self: flex-start;
    align-self: flex-start;
    -moz-border-radius: 30px 30px 30px 5px;
    -webkit-border-radius: 30px 30px 30px 5px;
    border-radius: 30px 30px 30px 5px;
}

.wpcb-bubble.human {
    float: right;
    color: #fff;
    border:1px solid #ffffff;
    margin-bottom:15px;
    align-self: flex-end;
    max-width:60%;
    font-weight: 400;
    -moz-border-radius: 30px 30px 5px 30px;
    -webkit-border-radius: 30px 30px 5px 30px;
    border-radius: 30px 30px 5px 30px;
}

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

div.wpcb-small-avatar {
  position: relative;
  bottom:0;
}

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

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

#wpcb-footer p.wpcb-promote {
  color:white;
  text-align:center;
  font-size:12px;
  padding:3px 10px;
}

#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;
}
