a.breadcumb-title:hover {
    color: #7b7d82;
}

button.color-chatbox:hover {
    background-color: #2f3e9c;
    opacity: 80%;
}

.badge-count {
    background-color: #007bff;
    color: white;
    padding: 10px 6px;
    text-align: center;
    border-radius: 5px;
    font-size: 11px;
    float: right;
    margin: 35px 0;
}

.bg-pic {
    background-color: none;
    background-image: url("../images/undraw-login.svg");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 55vw;
    position: relative;
}

.bi-check-all,
.time-msg {
    float: right;
    margin: 4px 0 0px 4px;
}

.color-chatbox {
    background-color: #2f3e9c;
}

.color-blue {
    color: #007bff;
}

.chatbox-form-slide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: slideToLeft 0.4s ease-in-out;
}

.chatbox-form-out {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: -1;
    animation: slideToRight 0.4s ease-in-out;
}

/* .chip-ended-chat {
  display: inline-block;
  position: relative;
  padding: 0 15px;
  height: 28px;
  font-size: 12px;
  line-height: 28px;
  border-radius: 25px;
  background-color: #f1f1f1;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 20px auto 10px auto;
} */

.chip-divider-chat {
    display: inline-block;
    position: relative;
    padding: 0 15px;
    height: 28px;
    font-size: 12px;
    line-height: 28px;
    border-radius: 25px;
    background-color: #f1f1f1;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 20px auto 10px auto;
  }

.d-inline {
    display: inline;
}

.d-none {
    display: none;
}

.floating-btn {
    width: 100px;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0 30px 20px 0;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translate(0, -5%);
}

.logout-btn {
    color: white;
    opacity: 80%;
}

.logout-btn:hover {
    color: white;
    opacity: 100%;
}

.phone-country {
    position: absolute;
    z-index:3;
    width: 40px;
    height: 35px;
    margin-left: 51px;
    border: none;
    background-color: transparent;
    border-right: #ccd1d7 solid 1px;
}

.read-status {
    float: right;
}

.record {
    animation-name: pulse;
	animation-duration: 1.5s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.right-header-button {
    margin-top: -20px;
    margin-right: 20px;
}

.right-header-button i{
    padding: 0 -10px 0 -10px;
}

.right-header-button .glyphicon-user{
    font-size: 10px;
}

.sound-btn {
    padding: 0;
}

.sound-btn sup {
    margin-left: -5px;
}

.time-msg {
    font-size: 11px;
}

/* MODAL PREVIEW  SECTION */
.close-preview {
  position: absolute;
  top: 15px;
  right: 10px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 10000;
}

.close-preview:hover,
.close-preview:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.modal-img-preview {
    display: none;
    position: fixed;
    z-index: 1000;
    padding: 30px 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow: none;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* .modal-content {
    cursor: zoom-in;
    margin: auto;
    display: block;
    height: 330px;
    max-width: auto;
    max-height: auto;
    object-fit: contain;
} */

/* STYLE IN LIB INTERNATIONAL PHONE NUMBER */
ul.iti__country-list {
    font-size: 11px;
    max-width: 230px;
}

.iti--allow-dropdown {
    width: 100% !important;
}

/* ===== CHAT, LIVECHAT & REGISTER SECTION ===== */
.chat-form-popup,
.register-form-popup {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0 30px 0 0;
    border: 3px solid #f1f1f1;
    z-index: 999;
    border: none;
}

.chat-form-popup .card,
.register-form-popup .card,
.register-form-popup .card-header  {
    border-radius: 15px;
}

.chat-form-popup .card-header,
.register-form-popup .card-header,
.livechat-form-popup .card-header {
    height: 50px;
    color: #fff;
}

.chat-form-popup .card .card-block,
.livechat-form-popup .card .card-block {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 10px;
}

.register-form-popup .card-header .title,
.chat-form-popup .card-header .title,
.livechat-form-popup .card-header .title {
    font-weight: normal;
    list-style-type: none;
    text-transform: uppercase;
    font-size: 8px;
    padding-top: 3px;
    line-height: 10px;
}

.card-header > div img.img-logo,
.chat-form-popup .chat-wrapper .icon img,
.livechat-form-popup .chat-wrapper .icon img{
    margin: auto 10px auto 0px;
}

.chat-form-popup .card-header .circle-icon,
.register-form-popup .card-header .circle-icon,
.livechat-form-popup .card-header .circle-icon{
    max-height: 25px;
    max-width: 25px;
    border-radius: 50%;
}

/* ===== LIVECHAT FORM SECTION ===== */
.livechat-form-popup {
    display: block;
    position: fixed;
    border: 3px solid #f1f1f1;
    z-index: 999;
    border: none;
}

.livechat-form-popup .card {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.livechat-form-popup .card .card-block.card-block-list {
    max-height: calc(100% - 60px);
}

.livechat-form-popup .card .card-block.card-block-chatbox {
    max-height: calc(100% - 130px);
}

.livechat-form-popup .card-header .circle-btn-end {
    max-width: 25px;
    border-radius: 45%;
    border: 0px;
    background-color: #fff;
}

.livechat-form-popup .card-header .circle-btn-end i{
    color: red;
}

/* ===== CHAT FORM SECTION ===== */
.chat-form-popup {
    display: none;
}

.chat-form-popup .card {
    width: 380px;
    height: 586px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-form-popup .card .card-block {
    max-height: calc(100% - 130px);
}

.chat-form-popup .card .card-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.chat-form-popup .card-header .circle-btn-end {
    max-width: 25px;
    border-radius: 45%;
    border: 0px;
    background-color: #fff;
}

.chat-form-popup .card-header .circle-btn-end i{
    color: red;
}

/* ===== CHATBOX SECTION ===== */
.chat-wrapper .form .inbox {
    width: 100%;
    display: flex;
}

.chat-wrapper .form .user-inbox {
    justify-content: flex-end;
    margin: 13px 0;
    padding-right: 10px;
}

.chat-wrapper .form .inbox .icon {
    height: 40px;
    width: 40px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-size: 18px;
    background: #007bff;
    margin-right: 10px;
}

.chat-wrapper .form .inbox .icon img {
    height: 25px;
    width: 25px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-size: 18px;
}

.chat-wrapper .form .inbox .msg-header {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    height: auto;
    margin-left: 3px;
}

.form .inbox .msg-header p {
    color: #fff;
    background: #007bff;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
}

.form .user-inbox .msg-header p {
    color: #333;
    background: #e7e7e7;
}

.form .inbox .msg-header p.img-content {
    max-width: 350px;
}

.form .user-inbox .msg-header p .chat-content,
.form .bot-inbox .msg-header p .bot-chat-content {
    padding-right: 10px;
}
.chat-content {
    white-space: pre-wrap; 
    word-wrap: break-word;
}
.msg-header p img.chat-content {
    max-width:100%;
    max-height:350px;
    width: auto;
    height: auto;
    cursor: pointer;
}

.message-info,
.time-msg {
    display: block;
    padding: 0px;
}

/* ===== TYPING FIELD SECTION ===== */
.typing-field {
    display: flex;
    position: fixed;
    height: 80px;
    width: 100%;
    margin-left: -10px;
    padding: 0 10px;
    justify-content: space-evenly;
    background: #f7f9fa3a;
    border-radius: 0 0 5px 5px;
}

.typing-field .input-data {
    height: 50px;
    width: 100%;
    margin: 20px 0;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.typing-field .input-data input {
    height: 100%;
    width: 100%;
    outline: none;
    border: 1px solid transparent;
    padding: 0 130px 0 15px;
    border-radius: 5px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
}

.typing-field .input-data .input::placeholder {
    color: #999999;
    transition: all 0.3s ease;
}

.typing-field .input-data .input:focus::placeholder {
    color: #bfbfbf;
}

.typing-field .input-data button,
.typing-field .input-data label {
    position: absolute;
    top: 50%;
    height: 70%;
    width: 35px;
    font-size: 16px;
    /* cursor: pointer; */
    outline: none;
    opacity: 1;
    pointer-events: auto;
    border: none;
    background-color: #fff;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.typing-field button#send-btn,
.typing-field span#voice-message {
    display: none;
}


.typing-field button#pause-voice-btn,
.typing-field button#start-voice-btn {
    right: 55px;
    border-radius: 8px;
}

.typing-field button#record-symbol {
    right: 100px;
    border-radius: 8px;
    cursor: auto;
}

.typing-field button#delete-voice-btn {
    right: 155px;
    border-radius: 8px;
}

.typing-field .input-data button#send-btn,
.typing-field .input-data button#voice-btn,
.typing-field .input-data button#send-voice-btn {
    right: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

button.btn-icon i,
label#upload-btn i {
    color: #8b8b8b;
}

label#upload-btn span {
    width: 35px;
    padding: 6px 5px;
    border: none;
    cursor: pointer;
}

.typing-field .input-data label#upload-btn {
    right: 70px;
}

.typing-field .input-data button.btn-icon:hover {
    background: #f8fafa;
}

/* AUDIO SECTION */
.msg-header p.audio-content audio {
    max-width:100%;
    max-height:350px;
}

audio::-webkit-media-controls-panel {
    width:350px;
}

audio::-webkit-media-controls-time-remaining-display {
    display: none;
}

.audioPlayer {
    border-radius: 10px;
    -webkit-appearance:none;
    background-color:rgb(241,243,244);
}

/* ===== REGISTER FORM SECTION ===== */
.register-form-popup {
    display: none;
}

.register-form-popup .card {
    min-height: auto;
    width: 380px;
}

.register-form-popup .card .card-block {
    background-color: white;
    max-height: auto;
}

.register-form-popup .register-wrapper {
    min-height: 320px;
    max-height: 320px;
    overflow-y: auto;
    padding: 0 40px;
}

.register-wrapper form .form-control {
    margin-bottom: 20px;
}

.register-wrapper form input.form-control {
    background-color: #f3f2f9;
    border-radius: 5px;
    width: 100%;
}

.register-wrapper form button.form-control {
    background-color: #2f3e9c;
    color: white;
    border-radius: 7px;
    margin-top: 20px;
    font-size: 13px;
}

.highlight-chat {
    background: aliceblue;
}

/* ===== SCROLLBAR SECTION ===== */
::-webkit-scrollbar {
    width: 5px;
    border-radius: 25px;
}

::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #ddd;
}
::-webkit-scrollbar-thumb:hover{
    width: 10px;
    background: #ccc;
}

/* ANIMATION SECTION */
@keyframes slideToLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes slideToRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse{
	0%{
		box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3);
	}
	65%{
		box-shadow: 0px 0px 5px 5px rgba(173,0,0,.3);
	}
	90%{
		box-shadow: 0px 0px 5px 5px rgba(173,0,0,0);
	}
}
