
.sticky {
    position: -webkit-sticky;
    position: sticky;
    z-index: 51;
}

.chat.sticky.box {
    transition: height 0.15s ease-out;
    margin-left: 50%;
    margin-right: 5%;
    bottom: 5%;
    width: auto;
}

.chat.toggle {
    float: right;
    color: rgba(23, 145, 202, 0.8);
}

.chat.title {
    margin: 0%;
    height: 100%;
    vertical-align: center;
}
.chat.btn-floating.toggle {
    width: 90px !important;
    height: 90px !important;
}

.chat.material-icons {
    font-size: 2.8rem !important;
    line-height: 90px !important;
}

#status-badge {
    transition: all 0.5s ease;
    border-radius: 10px;
    height: 100%;
}

.chat.messages {
    margin: 0%;
    height: auto;
    padding-left: 12px;
    padding-right: 12px;
}

.chat.input {
    margin: 0%;
    height: auto;
}

#chat-area {
    width: 100%;
    max-width: 100%;
    min-height: 5px;
    max-height: 300px;
    overflow-y: auto;
}

#textarea-chat-message {
    width: 100%;
    margin: 0%;
    max-height: 80px;
    overflow-y: auto;
}

.chat.card {
    border: 2px solid #2196f3;
}

.full-size {
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
    overflow: hidden;
}

.flex {
   display: flex;
   flex-direction: row;
}

.chat.btn.send {
    width: 100%;
}

.chat.message {
    width: fit-content;
    padding: 12px;
    overflow: auto;
    align-content: center;
    border-radius: 10px;
    white-space: nowrap;
}

.chat.message.user {
    margin-left: 8%;
    margin-right: 5%;
    float: right;
    background-color: #2196f3;
    color: white;
}

.chat.link {
    color: rgba(0, 121, 178, 1) !important;
}

.chat.logo {
    width: 80px;
    height: 80px;
    margin-left: 10px;
    margin-right: 10px;
}

.chat.logo.user {
    border: 3px solid deepskyblue;
}

.chat.logo.other {
    border: 3px solid silver;
}

.chat.message.other {
    margin-left: 5%;
    margin-right: 8%;
    background-color: silver;
}

.chat.name.other {
    margin-left: 5px;
}

.chat.row.line {
    margin-left: 12px;
    margin-right: 12px;
}

.chat.hour.other {
    float: right;
}

.chat.hour.user {
    width: 100%;
    margin-right: 10px;
}

.chat.row.bubble.user {
    float: right;
}

.chat.row.bubble.other {
    float: left;
}

.chat.row.line.other {
    margin-left: auto;
}

.visible {
    display: flex;
}

.invisible {
    display: none;
}

#banner-chat {
    width: 100%;
    color: white;
    text-align: center;
    font-size: 18px;
    transition: all 0.5s ease;
}

.no-margin-bottom {
    margin-bottom: 0;
}
.no-padding {
    padding: 0;
}
/* chatbot automatique css */

/* chatbot automatique css */


#chat-bot {
  position: fixed;
  bottom: 10px;
  right: 60px;
  z-index: 999;
  height: auto;
  float: right;
}
#chat-bot .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  color: #ffffff;
  background: #dc143c;
  width: 50px;
  height: 50px;
  float: right;
  border-radius: 10px;
  padding: 10px 15px;
  transition: 0.3s all;
  box-shadow: 0 30px 50px #0000000d;
  overflow: hidden;
}
#chat-bot .icon:hover {
  box-shadow: 0 5px 20px rgb(209 231 221);
}
#chat-bot .icon .user {
  visibility: hidden;
  margin-left: -100px;
}
#chat-bot .icon.expanded {
  width: 270px;
  justify-content: space-between;
}
#chat-bot .messenger.expanded {
  visibility: visible;
  height: 430px;
  width: 470px;
}
#chat-bot .icon.expanded .user {
  visibility: visible;
  margin-left: 0;
  transition: 0.5s;
}

#chat-bot .messenger {
  background-color: #fff;
  border: 1px solid #0f513238;
  box-shadow: 0 30px 50px #0000000d;
  padding: 10px;
  margin-bottom: 10px;
  height: 390px;
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.7s;
  width: 0;
  height: 0;
  visibility: hidden;
}
#chat-bot .chatroom {
  height: 290px;
  overflow-y: scroll!important;
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
}
/* chat-bot	 end */
 #peekobot-container {
    border: 1px solid hsl(0, 0%, 90%);
    border-radius: 12px;
    padding: 1rem 1rem 2rem 1rem;
    height: 42vh;
    position: relative;
    bottom: 0;  
  }
  #peekobot-inner {
      height: 100%;
      overflow-y: scroll;
      overflow-x: hidden;
      scroll-behavior: smooth;
      position: relative;
      scrollbar-width: none;
      -ms-overflow-style: none;
  }
  #peekobot-inner::-webkit-scrollbar { 
      display: none;  /* Chrome Safari */
  }
  
  .chat-response,
  .chat-ask {
      opacity: 0;  /* Set to activated to show */
      transform: translateY(-50%); /* Set to activated to move down */
      transition: all 0.3s 0.3s;
      border-radius: 12px;
      background-color: hsl(0, 0%, 90%);
      padding: 0.5rem 0.7rem;
      line-height: 1.4;
      color: black;
      width: 80%;
      margin-bottom: 0.5rem;
  }
  .chat-response {
      margin-left: 26px;
      position: relative;
  }
  .chat-response:before {
      display: block;
      content: '';
      width: 24px;
      height: 24px;
      position: absolute;
      left: -26px;
      top: 6px;
      background-color: rgb(85, 174, 238);
      background-repeat: no-repeat;
      background-size: 100%;
      border-radius: 100%;
  }
  .chat-ask {
    background-color: hsl(207, 96%, 55%);
    margin-right: 0;
    margin-left: auto;
    color: hsl(0, 0%, 100%);
  }
  .choices {
    opacity: 0; /* Set to active to show */
    transform: translateY(-50%); /* Set to activated to move down */
    transition: all 0.3s 0.3s;
    transition: opacity 0.3s 0.3s;
    margin-top: 0.5rem;
    margin-left: 22px;
  }
  .choice {
    display: inline-block;
    outline: none;
    border: 1px solid hsl(0, 0%, 0%);
    padding: 0.3rem 0.8rem;
    background-color: hsl(0, 0%, 100%);
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  .choice:disabled {
    color: hsl(0, 0%, 80%);
    border-color: hsl(0, 0%, 80%);
  }
  .activated {
    opacity: 1;
    transform: translateY(0);
  }
  .restart {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    outline: none;
    font-size: 12px;
    color: hsl(0, 0%, 50%);
    box-shadow: none;
    border: 1px solid hsl(0, 0%, 60%);
    border-radius: 1rem;
    background: hsl(0, 0%, 100%);
    padding: 0.2rem 0.5rem;
    cursor: pointer;
  }  
  @media (max-height: 900px) { 
    #peekobot-container{
    height: 53vh
    }
   }
