/**************************CHAT*********************/
#dmchatpopup {
    position: fixed;
    z-index: 9999999;
    bottom: 0;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    left: unset;
    right: 0px;
    align-items: flex-end;
    display: flex;
}
.dmchat-bottom {
    display: flex;
    align-items: center;
    position: relative;
		animation: bounce 3s infinite;
	-webkit-animation: bounce 3s infinite;
	-moz-animation: bounce 3s infinite;
	-o-animation: bounce 3s infinite;
}
.dmchat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: .3s;
    margin-left: 10px;
    margin-right: 10px;
}
.dmchat-bottom-cta {
    margin: 0;
    position: absolute;
    background-color: #000;
    color: #fff;
    padding: 4px 12px; margin: 0;
    border-radius: 15px;
    font-size: 14px;
    font-family: Inter;
    font-weight: 400;
    opacity: 0;
    transition: .3s ease-in-out;
}
.dmchat-bottom-cta-right {
    right: 0;
    transform: translateX(-150%);
}
.dmchat-bottom-cta-right.selected {
    transform: translateX(-122%);  opacity: 1;
}

/**********************************/
.floating-message{
	border-radius: 2px 7px 7px; padding: 10px; font-size:0.86rem;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px 0px;
    background-color: rgb(247, 247, 247);  transition: all 0.2s ease-in;
	position: fixed; bottom: 120px; right: 38px; z-index: 999;
}
.floating_close{
	position:absolute; right:0; top:0;
}
.floating-message.hiden{
	height: 0px; overflow: hidden; transition: all 0.3s ease-in;
}
.chatbox {
    position: fixed; z-index: 99999;
    right: 30px; bottom: 115px;
    height: 400px;
    width: 70%; max-width: 360px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0px 14px 16px rgba(119, 119, 119, 0.2); transition: all 0.2s ease-in;
  }
  .chatbox.hiden{
    height: 0px; overflow: hidden; transition: all 0.3s ease-in;
  }
    @media (max-width: 420px){
        .chatbox {
            max-width: 300px;
        }
    }
  .chatbox .top-bar {
    width: 100%;
    height: 60px;
    background: #F9FBFF;
    border-radius: 10px 10px 0 0;
  }

  .chatbox .avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(to bottom left, #2FAC66 20%, #4ECF87 100%);
    border-radius: 50%;
    position: absolute;
    top: 11px;
    left: 15px;
    text-align: center;
    line-height: 30px;
  }
  .chatbox .avatar p {
    color: #F9FBFF;
    margin: 7px 12px;
  }

  .chatbox .name {
    position: absolute;
    top: 22px;
    color: #777777;
    font-size: 0.8em;
    font-weight: 700;
    left: 60px;
  }
.brand_name{
    font-size: 0.74rem; letter-spacing:1px;
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0; border-radius: 0 0 10px 10px;
}
  .chatbox  .chat-close {
    position: absolute;
    color: #A1E2D9;
    padding: 10px;
    top: 5px;
    right: -2px;
    cursor: pointer;
  }
  .chatbox .menu {
    position: absolute;
    right: 36px;
    top: 20px;
    width: 10px;
    height: 20px;
    cursor: pointer;
  }
  .chatbox .menu:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in;
  }
  .chatbox .dots {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #2FAC66;
    box-shadow: 0px 7px 0px #2FAC66, 0px 14px 0px #4ECF87;
  }
  .chatbox .voldemort{
    float: left;
    width: 100%;
  }
  .chatbox .middle {
    position: absolute;
    background: #F1F7F4;
    width: 100%;
    opacity: 1;
    top: 60px;
    height: 74%; overflow: auto;
  }
  .chatbox .middle .message-dm {
    background: rgba(0, 114, 135, .1);
    border: 2px solid rgba(0, 114, 135, .1);
    align-self: flex-start;
}

  .chatbox .incoming {
    width: 70%;
    padding: 10px 15px;
  }
  .chatbox .incoming .bubble {
    background: #6D6F71;
  }

  .chatbox .typing {
    float: left;
    width: 100%;
    padding: 10px; padding-top: 0;
  }
  .chatbox .typing .bubble {
    background: #eaeaea;
    padding: 8px 13px 9px 13px;
  }

  .chatbox .ellipsis {
    width: 5px;
    height: 5px;
    display: inline-block;
    background: #b7b7b7;
    border-radius: 50%;
    animation: bounce 1.3s linear infinite;
  }

  .one {
    animation-delay: 0.6s;
  }

  .two {
    animation-delay: 0.5s;
  }

  .three {
    animation-delay: 0.8s;
  }

  .chatbox .bubble {
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
    color: #F9FBFF;
    font-size: 0.7em;
    padding: 7px 10px 7px 12px;
    border-radius: 20px;
  }

  .lower {
    margin-top: 45px;
  }

  .outgoing {
    padding: 10px 15px;
    width: 70%; float: right;
  }
  .outgoing .bubble {
    background: #2FAC66;
    float: right;
  }
  .option-buttons-container{
    /*position: absolute; bottom: 0;  */
    width: 100%;
    margin-bottom: 14px;
    background: #f5f5f5;
    border-radius: 0 0 10px 10px;
    padding: 10px 0 10px;
    border-top: 1px solid #e9e3e3;
    border-bottom: 1px solid #e9e3e3;
  }
  .option-buttons-container .flex{
    display: flex; justify-content: space-around !important;
  }
  .option-buttons-container p{
    padding: 0; margin: 0; font-size: 0.7em;
  }
  .option-buttons-container button{
    border-radius: 15px; border: 1px solid rgb(209, 209, 209); padding: 4px 12px;
  }
  .chatbox .bottom-bar {
    position: absolute;
    width: 100%;
    height: 50px;
    bottom: 0;
    background: #F9FBFF;
    border-radius: 0 0 10px 10px;
  }

  .chatbox .left {
    left: 0px;
  }
  .chatbox .bottom-bar input {
    padding: 7px;
    width: 74%;
    left: 5%;
    position: absolute;
    border: 0;
    top: 13px;
    background: #F9FBFF;
    color: #79C7C5;
  }
  .chatbox .number-box input {
    padding: 7px;
    width: 63%;
    left: 27%;
    position: absolute;
    border: 0;
    top: 11px;
    background: #F9FBFF;
    color: #79C7C5;
  }
  .chatbox .number-box select {
    padding: 7px;
    width: 74%;
    left: 5%;
    position: absolute;
    border: 0;
    top: 13px;
    background: #F9FBFF;
    color: #79C7C5;
  }
  .chatbox .bottom-bar input::placeholder {
    color: #A1E2D9;
  }
  .chatbox .bottom-bar input:focus {
    color: #777777;
    outline: 0;
  }
  .chatbox .bottom-bar button {
    position: absolute;
    border: 0;
    font-size: 1em;
    color: #A1E2D9;
    top: 15px;
    opacity: 1;
    right: 17px;
    cursor: pointer;
    outline: 0; background: #FFF;
  }
  .chatbox .bottom-bar button:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
    color: #79C7C5;
  }
  @keyframes bounce {
    30% {
      transform: translateY(-2px);
    }
    60% {
      transform: translateY(0px);
    }
    80% {
      transform: translateY(2px);
    }
    100% {
      transform: translateY(0px);
      opacity: 0.5;
    }
  }


@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}	
	40% {-webkit-transform: translateY(-20px);}
	60% {-webkit-transform: translateY(-5px);}
}
 
@-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
	40% {-moz-transform: translateY(-20px);}
	60% {-moz-transform: translateY(-5px);}
}
 
@-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
	40% {-o-transform: translateY(-20px);}
	60% {-o-transform: translateY(-5px);}
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-20px);}
	60% {transform: translateY(-5px);}
}