/*Custom What's App Widget Built for Tower Thermal - BF*/
#whatsapp-chat {
  position: fixed;
  background: #fff;
  width: 350px;
  border-radius: 10px;
  box-shadow: 0 1px 15px rgba(32,33,36,.28);
  bottom: 85px;
  right: 20px;
  overflow: hidden;
  z-index: 2147483000;
  animation: wa-slidein 0.4s ease-out;
  transform: translateY(0);
}

/* gradient + transition not natively supported yet, but by using a custom property, it is */
@property --wa_gradient {
  syntax: "<angle>";
  initial-value: 45deg;
  inherits: false;
}
	
/* Floating WhatsApp toggle button */
.wa-toggle {
  --wa_gradient: 45deg;
  background: linear-gradient(var(--wa_gradient), #23d923, #23ab23);
  color: #fff !important;
  position: fixed;
  z-index: 9998;
  bottom: 14px;
  right: 19px;
  font-size: 26px;
  padding: 18px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 15px rgba(32,33,36,.28);
  text-decoration: none;
  background-size: 200% 200%;
  transition: box-shadow 0.2s linear, --wa_gradient 0.2s linear;
}

/* Rotate the gradient smoothly on hover */
.wa-toggle:hover,
.wa-toggle:focus,
.wa-toggle:active {
  --wa_gradient: 180deg;
  color: #fff;
  box-shadow: 0 4px 25px rgba(32,33,36,.6);
  /*background: linear-gradient(var(--wa_gradient), #23d923, #23ab23);*/
}
	
	
.wa-toggle i { transform: scale(1.4); }

/* Header */

/* gradient + transition not natively supported yet, but by using a custom property, it is */
@property --wa_head_gradient {
  syntax: "<angle>";
  initial-value: 45deg;
  inherits: false;
}

#whatsapp-chat .wa-header {
  --wa_head_gradient: 45deg;
  background: linear-gradient(var(--wa_head_gradient), #23d923, #23ab23);
  color: #fff;
  padding: 20px;
  transition: --wa_head_gradient 0.2s ease-out;
}
#whatsapp-chat .wa-header:hover,
#whatsapp-chat .wa-header:focus,
#whatsapp-chat .wa-header:active {
    --wa_head_gradient: 180deg;
}
#whatsapp-chat .wa-header h3 { margin: 0 0 10px; }
#whatsapp-chat .wa-header p {
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 10px;
  color: white;
}

/* Avatar */
#whatsapp-chat .wa-avatar { position: relative; }
#whatsapp-chat .wa-avatar img {
  border-radius: 100%;
  width: 50px;
  float: left;
  margin: 0 10px 0 0;
}
#whatsapp-chat .wa-avatar:before {
  content: "\f232";
  z-index: 1;
  font-family: "Font Awesome 5 Brands";
  background: #23ab23;
  color: #fff;
  padding: 4px 5px;
  border-radius: 100%;
  position: absolute;
  top: 30px;
  left: 30px;
  width: 25px;
  height: 25px;
  line-height: 1em;
  text-align: center;
}

/* Contact list */
#whatsapp-chat .wa-contact {
  padding: 20px;
  display: block;
  overflow: hidden;
  animation: none;
  text-decoration: none;
}
#whatsapp-chat .wa-contact:hover { background: #f1f1f1; }

#whatsapp-chat .wa-info span { display: block; text-decoration: none; }
#whatsapp-chat .wa-chat-label { font-size: 12px; color: #888; }
#whatsapp-chat .wa-chat-name {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

/* dynamic label/name area inside header */
#whatsapp-chat #get-label,
#whatsapp-chat #get-nama { color: #fff; }

/* hide phone text in list */
#whatsapp-chat .wa-number { display: none; }

#whatsapp-chat .wa-msg {
  color: #444;
  padding: 20px;
  font-size: 12.5px;
  text-align: center;
  border-top: 1px solid #ddd;
}

/* Textarea fix: no scrollbar */
#whatsapp-chat textarea#chat-input {
  border: none;
  font-family: "Arial", sans-serif;
  width: 100%;
  height: 28px;        
  line-height: 1.4;
  outline: none;
  resize: none;
  overflow: hidden;
}

/* Send button */
#whatsapp-chat #send-it {
  color: #555;
  width: 50px;
  margin: -5px 0 0 5px;
  font-weight: 700;
  padding: 8px;
  background: #eee;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
}

/* First message bubble */
#whatsapp-chat .wa-first {
  background: #f5f5f5;
  padding: 30px;
  text-align: center;
}
#whatsapp-chat .wa-first span {
  background: #e2e2e2;
  color: #333;
  font-size: 14.2px;
  line-height: 1.7;
  border-radius: 10px;
  padding: 15px 20px;
  display: inline-block;
}

#whatsapp-chat .wa-start .wa-msg { display: flex; }
#whatsapp-chat #get-number { display: none; }
#whatsapp-chat .wa-close {
  position: absolute;
  top: 5px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
}

/* Slide animation */
@keyframes wa-slidein {
  from { transform: translateY(5%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media screen and (max-width:480px) {
  #whatsapp-chat {
    width: auto;
    left: 5%;
    right: 5%;
    font-size: 80%;
  }
}

#whatsapp-chat.wa-hide { display: none; }
#whatsapp-chat.wa-show { display: block; }
#whatsapp-chat .wa-hide { display: none; }
#whatsapp-chat .wa-show { display: block; }

#whatsapp-chat a,
.wa-toggle,
#whatsapp-chat .wa-contact,
#whatsapp-chat #send-it,
#whatsapp-chat .wa-close {
  text-decoration: none !important;
}
.wa-no-icon:before {
    content: none!important;
}
/*Header Text*/
.wa-head-home > h3 {
    color: white;
}

#chat-bot-frame-container.force-bot-open {
  display: block !important;
}