﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');



#main {
  margin-top: 70px;
  padding: 0px 0px;
  transition: all 0.3s;
  min-height: calc(100vh - 103px);
}

#main .card:last-child {
  margin-bottom: 0;
}



.modal-title {
  font-weight: 500 !important;
}

button.btn-close {
  background-size: 35%;
}

.modal-backdrop.show {
  background-color: #435971 !important;
}



.body-loginBG {}

.login-wrapper {
  align-items: flex-start;
}

.login-wrapper {
  display: flex;
  flex-basis: 100%;
  /*min-height: 100vh;*/
  width: 100%;
  height: calc(100vh - 0px);
}

.login-wrapper .login-inner {
  height: calc(100vh - 0px);
  background: transparent linear-gradient(153deg, #000000C2 0%, #343434AB 48%, #000000BF 100%) 0% 0% no-repeat padding-box;
}

.login-wrapper .login-inner {
  width: 100%;
}



.loginContainer {
  padding: 30px 24px;
  border-radius: 0px;
  color: #fff;
  ;
  -webkit-box-shadow: -4px 0px 13px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -4px 0px 13px -5px rgba(0, 0, 0, 0.75);
  box-shadow: -4px 0px 13px -5px rgba(0, 0, 0, 0.75);
  height: calc(100vh - 0px);
  overflow: hidden;
}

.chatloginbg {
  background-image: url("../images/bg_ptrn.jpg");
  background-repeat: repeat;
}

.chatboxheader {
  background-image: url("../images/chatboxbg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  min-height: 170px;
}

.chatboxbody {
  color: #212121;
  position: relative;
  height: calc(100vh - 320px);
  overflow-y: scroll;
  overflow: hidden;
  margin: 10px 25px;
}

.logo-bottom {
  bottom: 10px;
}
.smallbot img{    width: 80px;
  position: absolute; 
  right: 16px;
  bottom: 0px;}


  @keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

.botalign {
  position: absolute;
  bottom: 0px;animation: heartbeatm 3s infinite alternate;

  right: 42px;
  text-align: right;
}



.botalign img {
  max-width: 30%;
}

.chat-btn-close {
  position: absolute;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  opacity: 1;
  top: 2px;
  right: 0px;
  font-size: 50px;
  color: #cc0000;
}

.msger {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 867px;
  margin: 25px 0px 0px 0px;
  height: calc(100% - 25px);

}

.msger-header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: var(--border);
  background: #eee;
  color: #666;
}

.msger-chat {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  width: 100%;
}

.msger-chat::-webkit-scrollbar {
  width: 6px;
}

.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}

.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}

.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

.msg:last-of-type {
  margin: 0;
}

.msg-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background: #ddd;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}

.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.msg-info-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 2px;
}

.msg-info-name {
  margin-right: 10px;
  font-weight: bold;
}

.msg-info-time {
  font-size: 0.85em;
}

.left-msg .msg-bubble {
  border-bottom-left-radius: 0;
}

.left-msg .msg-text {
  background: #e3e5e8;
  padding: 10px;
  border-radius: 10px;
  margin-right: 40px;
}

.right-msg {
  flex-direction: row-reverse;
}

.right-msg .msg-bubble {
  background: var(--right-msg-bg);
  color: #212121;
  border-bottom-right-radius: 0;
}

.right-msg .msg-text {
  background: #cee2f3;
  padding: 10px;
  border-radius: 10px;
  margin-left: 40px;
  line-height: 18px;
  font-size: .9rem;
}

.right-msg .msg-img {
  margin: 0 0 0 10px;
}

.msger-inputarea {
  display: flex;
  padding: 10px 30px 10px 25px;
  border-top: var(--border);

}

.msger-inputarea textarea {
  border: 1px solid #d5d6d8;
  border-radius: 10px 0px 0px 10px;
  width: 100%;
}

.msger-inputarea * {
  padding: 10px;
  border: none;
  font-size: 1em;
}

.msger-input {
  flex: 1;
  background: #ddd;
}

.msger-send-btn {
  margin-left: 0px;
  background: #9e2d2e;
  color: #fff;
  font-weight: bold;
  border-radius: 0px 10px 10px 0px;
  cursor: pointer;
  transition: background 0.23s;
}

.msger-send-btn:hover {
  background: #b03b3c;
}

.login-wrapper {
  /* The image used */
  background-image: url("../images/bgmain.png");
  /* Full height */
  height: 100%;
  /* Center and scale the image nicely */
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f1f1f1
}

a:link,
a:visited {
  color: #444;
  text-decoration: none;
  transition: all .4s ease-in-out
}



.credit {
  background: #fff;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 20px
}

/* CSS Multiple Whatsapp Chat */
#whatsapp-chat {
  position: fixed; 
  border-radius: 0px;
  -webkit-box-shadow: -4px 0px 13px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -4px 0px 13px -5px rgba(0, 0, 0, 0.75);
  box-shadow: -4px 0px 13px -5px rgba(0, 0, 0, 0.75);
  bottom: 0px;
  right: 0px;
  overflow: hidden;
  z-index: 99;
  animation-name: showchat;
  animation-duration: 1s;
  transform: scale(1);
  height:calc(100% - 0px);
}

a.blantershow-chat {
  background: rgb(184,0,0);
background: linear-gradient(180deg, rgba(184,0,0,1) 20%, rgba(145,0,0,1) 100%);
  color: #fff;
  position: fixed;
  z-index: 98;
  bottom: 25px;
  right: 30px;
  font-size: 15px;
  padding: 10px 100px 10px 20px;
  border-radius: 30px;
  box-shadow: 0 1px 15px rgba(32, 33, 36, .28)
}

a.blantershow-chat i {
  transform: scale(1.2);
  margin: 0 10px 0 0
}

.header-chat {
  background: linear-gradient(to right top, #6f96f3, #164ed2);
  color: #fff;
}

.header-chat h3 {
  margin: 0 0 10px
}

.header-chat p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0
}

.info-avatar {
  position: relative
}

.info-avatar img {
  border-radius: 100%;
  width: 50px;
  float: left;
  margin: 0 10px 0 0
}

.info-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
}

a.informasi {
  padding: 20px;
  display: block;
  overflow: hidden;
  animation-name: showhide;
  animation-duration: 2.5s
}

a.informasi:hover {
  background: #f1f1f1
}

.info-chat span {
  display: block
}

#get-label,
span.chat-label {
  font-size: 12px;
  color: #888
}

#get-nama,
span.chat-nama {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #222
}

#get-label,
#get-nama {
  color: #fff
}

span.my-number {
  display: none
}

.blanter-msg {
  color: #444;
  padding: 20px;
  font-size: 12.5px;
  text-align: center;
  border-top: 1px solid #ddd
}

textarea#chat-input {
  border: none;
  font-family: 'Arial', sans-serif;
  width: 100%;
  height: 20px;
  outline: none;
  resize: none
}

a#send-it {
  color: #555;
  width: 40px;
  margin: -5px 0 0 5px;
  font-weight: 700;
  padding: 8px;
  background: #eee;
  border-radius: 10px
}

.first-msg {
  background: #f5f5f5;
  padding: 30px;
  text-align: center
}

.first-msg span {
  background: #e2e2e2;
  color: #333;
  font-size: 14.2px;
  line-height: 1.7;
  border-radius: 10px;
  padding: 15px 20px;
  display: inline-block
}

.start-chat .blanter-msg {
  display: flex
}

#get-number {
  display: none
}

a.close-chat {
  position: absolute;
  top: 5px;
  right: 15px;
  color: #fff;
  font-size: 30px
}

@keyframes showhide {
  from {
    transform: scale(.5);
    opacity: 0
  }
}

@keyframes showchat {
  from {
    transform: scale(0);
    opacity: 0
  }
}

@media screen and (max-width:480px) {
  #whatsapp-chat {
    width: auto;
    left: 5%;
    right: 5%;
    font-size: 80%
  }
}

.hide {
  display: none;
  animation-name: showhide;
  animation-duration: 1.5s;
  transform: scale(1);
  opacity: 1
}

.show {
  display: block;
  animation-name: showhide;
  animation-duration: 1.5s;
  transform: scale(1);
  opacity: 1
}

#record-button {
  background-color: #ffffff;  
}
#record-option{
  background-color: #ffffff;  
  
 }

.red-record {
  color: red!important;
  background-color: #ffffff;  

}

.typing-dots {
  display: inline-block;
  vertical-align: middle;
  height: 1em;
}
.typing-dots span {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin: 0 0.1em;
  background: #bbb;
  border-radius: 50%;
  opacity: 0.4;
  animation: typing-bounce 1s infinite;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing-bounce {
  0%, 80%, 100% { opacity: 0.4; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-0.3em); }
}