#chat-box-body {
    z-index: 9999;
    position: relative;
}

#chat-box-body #chat-circle {
    position: fixed;
    bottom: 20px;
    right: 10px;
    cursor: pointer;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.2), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    transform: scale(1);
}

.btn-circle.btn-lg {
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    border-radius: 100%;
}

.theme-primary .btn-warning {
    background-color: #ffa800;
    border-color: #ffa800;
    color: #ffffff;
}

.waves-circle {
    text-align: center;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    -webkit-mask-image: none;
}

.waves-circle {
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    z-index: 1;
    transition: .3s ease-out;
}

.btn-lg {
    font-size: 1.286rem;
    padding: 18px 32px;
}

.btn-circle {
    width: 45px;
    height: 45px;
    line-height: 45px;
    padding: 0;
    border-radius: 100%;
}

.btn {
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: inherit;
    padding: 8px 16px;
    font-size: 1.1rem;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.btn---primary{
    background: #fff!important;
    color: #f9591d!important;
    border: 1px solid #f9a919;
    border-radius: 20px;
}

.btn---primary:hover, .btn---primary:active{
    background: #f9a919!important;
    color: #fff!important;
}

.l-h-70 {
    line-height: 5rem!important;
}

#chat-overlay {
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: none;
}

.font-size-24 {
    font-size: 1.7142857143rem!important;
}

#chat-icon-svg{
    width: 32px;
    height: 32px;
    margin-top: 14px;
    fill: #ffffff;
}

.chat-box {
    display: none;
    background: #ffffff;
    position: fixed;
    right: 30px;
    bottom: 50px;
    width: 325px;
    max-width: 85vw;
    max-height: 100vh;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 30px 0 rgba(82, 63, 105, 0.2);
    box-shadow: 0 0 30px 0 rgba(82, 63, 105, 0.2);
}

.chat-box-toggle {
    cursor: pointer;
}

.theme-primary .btn-danger {
    background-color: #f64e60;
    border-color: #f64e60;
    color: #ffffff;
}

button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
    cursor: pointer;
}

.chat-box-body {
    position: relative;  
    height:370px;  
    height:auto;
    border-bottom: 1px solid #ebedf3;
    border-top: 1px solid #ebedf3;
    overflow: hidden;
}
.chat-box-body:after {
    content: "";
    background-image: url('https://www.radatime.co.id/catalog/view/theme/new_look_2015/stylesheet/ravi/bg-ravi.jpg');
    /* opacity: 0.5; */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height:100%;
    position: absolute;
    z-index: -1;   
}

.chat-logs {
    padding: 15px;
    height: 475px;
    overflow-y: scroll;
}

.chat-msg {
    clear: both;
}

.cm-msg-text {
    background: #fff;
    padding: 10px 15px 10px 15px;
    color: #666;
    float: left;
    margin-top: 10px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
}

.mx-10 {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.chat-msg.self > .cm-msg-text {
    float: right;
    background: #f9a919;
    color: white;
}

.chat-box-header{
    padding: 15px !important;
}

.badge-dot.badge-sm {
    width: 6px;
    height: 6px;
}

.badge:empty {
    display: inline-block;
    vertical-align: inherit;
}

.theme-primary .badge-primary {
    background-color: #6993ff;
    color: #ffffff;
}

.badge {
    font-weight: normal;
}

.badge-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 100%;
    vertical-align: middle;
}

.badge-sm {
    line-height: 1.2;
    padding-top: 1px;
    padding-bottom: 2px;
    font-size: 75%;
}

.font-size-18 {
    font-size: 1.2857142857rem!important;
}

.text-dark {
    color: #475f7b !important;
    font-family: serif;
}

.text-muted {
    color: #6c757d !important;
}

.font-size-12 {
    font-size: 0.8571428571rem!important;
}

.theme-primary .btn-danger {
    background-color: #f64e60;
    border-color: #f64e60;
    color: #ffffff;
}

.button-close{
    font-size: 22px;
    position: fixed;
    top: 1px;
    right: 16px;
}

.chat-msg.user div > .msg-avatar img {
    border-radius: 10px;
    float: left;
}

.avatar-lg {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 1.286rem;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 100% !important;
    text-transform: uppercase;
}

.chat-msg.self div > .msg-avatar img {
    border-radius: 10px;
    float: right;
}

.loading-bubble{
    width: 50px;
    height: 15px;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 9px;
  margin-left: -22px;
  margin-top: -13px;
  text-align: center;
}

.spinner > div {
  width: 9px;
  height: 9px;
  background-color: #f9a919;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1400ms ease-in-out infinite;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

/* .modal-backdrop {
    z-index: 9999;
} */

.ravi-modal {
    max-width: 90%;
    margin: 1.75rem auto;
}

.close-tes {
    position: absolute;
    top: -50px;
    right: -70px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-tes:hover,
.close-tes:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}