.chatbox {
    background:#07524d25;
    box-shadow: rgb(0 0 0 / 40%) 0px 0px 15px;
    height:400px;
    border-radius: 30px;
    padding: 10px 6px;
    position: fixed;
    bottom: 2rem;
    right: 0px;
    width: 300px;
    -webkit-transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 600ms cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 6000;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}


.chatbox .end_chat:hover, .chatbox #chat_minimize:hover {
    background: #07524d !important;
    border: 1px solid white;
    color: white;
}

.end_chat {
    stroke: #07524d;
}

.end_chat:hover {
    stroke: white;
}

.chatbox #chat_minimize {
    background: white;
    border-radius: 50%;
    padding: 2px 0;
    color: #07524d;
    margin-right: 6px;
}

.chatbox--tray {
    bottom: -300%;
}

.chatbox--closed {
    bottom: 0;
}

.chatbox .form-control:focus {
    border-color: #1f2836;
}

.chatbox__title,
.chatbox__body {
    border-bottom: none;
}

.chatbox__title {
    min-height: 50px;
    padding-right: 10px;
    background-color: #1f2836cc;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

.chatbox__title h5 {
    height: 50px;
    margin: 0 0 0 15px;
    line-height: 50px;
    position: relative;
    padding-left: 20px;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.chatbox__title h5 a {
    color: #fff;
    max-width: 195px;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatbox__title h5:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 6px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.chatbox__title__tray,
.chatbox__title__close {
    width: 24px;
    height: 24px;
    outline: 0;
    border: none;
    background-color: transparent;
    opacity: 0.5;
    cursor: pointer;
    -webkit-transition: opacity 200ms;
    transition: opacity 200ms;
}

.chatbox__title__tray:hover,
.chatbox__title__close:hover {
    opacity: 1;
}

.chatbox__title__tray span {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-bottom: 2px solid #fff
}

.chatbox__title__close svg {
    vertical-align: middle;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2px;
}

.chatbox__body,
.chatbox__credentials {
    border-top: 0;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.chatbox__credentials,
.chatbox--empty .chatbox__body,
.chatbox--empty .chatbox__message {
    display: none;
}

.chatbox__credentials .form-control {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.chatbox__body {
    overflow-y: auto;
}

.chatbox__body__message {
    position: relative;
    height: auto;
    min-height: 100px;
}

.chatbox__body__message p {
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
}

.chatbox__body__message--left p {
    margin-left: 15px;
    padding-left: 30px;
    text-align: left;
    padding-top: 25px;
}

.chatbox__body__message--left img {
    left: -5px;
}

.chatbox__body__message--right {
    height: auto !important;
    min-height: 100px;
}

.chatbox__body__message--right p {
    margin-right: 15px;
    padding-right: 30px;
    text-align: right;
}

.chatbox__body__message--right img {
    right: -5px;
}

.chatbox__message {
    padding: 15px;
    min-height: 50px;
    outline: 0;
    resize: none;
    border: none;
    font-size: 12px;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #fefefe;
}

.chatbox--empty {
    height: 262px;
}

.chatbox--empty.chatbox--tray {
    bottom: -212px;
}

.chatbox--empty.chatbox--closed {
    bottom: -262px;
}

.chatbox--empty .chatbox__credentials {
    display: block;
}

.chatbox_timing {
    position: absolute;
    right: 10px;
    font-size: 12px;
    top: 2px;
}

.chatbox_timing ul {
    padding: 0;
    margin: 0
}

.chatbox_timing ul li {
    list-style: none;
    display: inline-block;
    margin-left: 3px;
    margin-right: 3px;
}

.chatbox_timing ul li a {
    display: block;
    color: #747474
}

.ul_msg {
    padding: 10px !important;
}

.chatbox__body__message--right .ul_section_full {
    margin-right: 15px;
    padding-right: 30px;
    text-align: right;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    margin-bottom: 15px;
    padding-bottom: 5px;
    padding-top: 15px;
}

.chatbox__body__message--left .ul_section_full {
    margin-left: 15px;
    padding-left: 15px;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 5px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
    box-shadow: 1px 1px rgba(100, 100, 100, 0.1);
}

.ul_msg {
    padding: 0;
    margin: 0px
}

.ul_msg li {
    list-style: none;
    display: block
}

.ul_msg2 {
    padding: 0;
    margin: 0px;
    text-align: right;
}

.ul_msg2 li {
    list-style: none;
    display: inline-block;
    margin-right: 15px;
}

.chatbox__body__message--right .chatbox_timing {
    position: absolute;
    left: 10px;
    font-size: 12px;
    top: 2px;
}

.chatbox__body__message--right .ul_msg2 {
    text-align: left
}

.chatbox__body__message--right .ul_msg2 li {
    list-style: none;
    display: inline-block;
    margin-left: 15px;
    margin-right: 0px
}

.chatbox22 .form-control:focus {
    border-color: #DCDCDC;
}

.width50 {
    width: 50%;
    float: left;
    background: #ECECEC;
}


/*==Chat Box Ends==*/


/*==Message==*/

.message_check {
    padding-top: 10px;
}

.messsade_date {
    text-align: left;
    padding-top: 9px;
}

.messsade_date a {
    color: #000;
}

.padleftright0 {
    padding-left: 0px;
    padding-right: 0px;
}

.message_box_area {
    color: #000;
    cursor: pointer;
}

.create_m {
    border: 1px solid #ccc !important;
}

.fileinput-button {
    float: left;
    margin-right: 4px;
    overflow: hidden;
    position: relative;
}

.fileinput-button {
    background: none repeat scroll 0 0 #eeeeee;
    border: 1px solid #e6e6e6;
    margin-top: 15px;
}

.fileinput-button {
    float: left;
    margin-right: 4px;
    overflow: hidden;
    position: relative;
}

.fileinput-button input {
    cursor: pointer;
    direction: ltr;
    font-size: 23px;
    margin: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(-300px, 0px) scale(4);
}

.fileupload-buttonbar .btn,
.fileupload-buttonbar .toggle {
    margin-bottom: 5px;
}

.create_m:focus {
    border-color: #66afe9 !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
}

.col-lg-3.control-label {
    text-align: left;
}

#myBtn2:focus {
    border: none !important;
    outline: none !important;
}

.panel-footer {
    display: inline !important;
    margin-top: 10px;
}

.input-sm:focus {
    outline: none !important;
}

.bt_bg {
    transition-property: background, color;
    transition-duration: .5s;
}

.bt_bg:hover {
    color: #fff;
    background-color: rgba(102, 175, 233, .6);
}

.chat_set_height:focus {
    outline: none !important;
}

.chat-input {
    display: block;
}

.chat-info-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    text-align: center;
}

.chat-info-header h5 {
    font-size: 18px;
    font-weight: 700;
}

.chat-input {
    border: 1px solid #DDE2E5;
    width: 100%;
    padding: 8px;
    font-size: 13px;
    border-radius: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-input:focus {
    background-color: rgb(238, 238, 238);
    outline: none;
    border: 1px solid #ddd;
}

.chat-button {
    display: block;
    width: 100%;
    border: none;
    background-color: #E89B94;
    color: #fff;
    padding: 10px 0px;
    font-weight: 400;
    border-radius: 8px;
    font-size: 14px;
    outline: none !important;
}

#chat_info>div {
    height: auto !important;
}

.chat-info-body label {
    font-size: 12px;
}

.chat-info-body .iti.iti--allow-dropdown.iti--separate-dial-code {
    margin: 0px;
}

.upload_file,
#btn-input::-webkit-scrollbar,
.rating>input{
    display: none;
}

label.label {
    margin-bottom: 0px !important;
    height: 100% !important;
    padding: 8px 15px;
    border: 1px solid #ddd;
}

.chat-file-container {
    position: relative;
}

.chat-file-container>img {
    position: absolute;
    height: 100px;
    width: 100%;
    display: flex;
}

.chat {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat li {
    padding: 7px 3px;
    display: flex;
}

.chat li.left .chat-body {
    margin-left: 2px;
    width: 100%;
}

.chat li.right .chat-body {
    width: 100%;
}

.bg-body-info {
    background-color: #E89B94 !important;
    color: #fff !important;
}

.chat li .chat-body p {
    margin: 0;
    border-radius: 10px;
    color: #333;
    overflow-wrap: anywhere !important;
    margin: 0;
    overflow-wrap: anywhere !important;
    padding: 10px 15px;
    background: #f7f7f7;
    box-shadow: 0px 3px 5px 2px rgb(0 0 0 / 16%);
    font-size: 15px;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.panel-body {
    overflow-y: scroll;
    height: 250px;
}

.chat-body .header {
    background-color: #fff;
    display: flex;
}

.file-container {
    display: flex;
    width: 100% !important;
    justify-content: center;
}

.file-container a {
    font-size: 12px;
}

.file-container a svg {
    margin: 0px 8px;
}

.file-container.file {
    justify-content: left;
}

input:focus {
    outline: none !important;
}

#btn-chat:focus {
    outline: none !important;
}

#btn-input {
    overflow: auto !important;
    border: 0px;
    padding: 0px 7px;
    flex: 63% !important;
    width: 100%;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    padding-top: 12px;
    font-size: 12px;
    resize: none !important;
}

#btn-chat {
    background: transparent;
}

#myBtn,
#myBtn2{
    z-index: 5000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 7px 6px 1px rgb(0 0 0 / 16%);
    border: none;
    cursor: pointer;
    outline: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

#myBtn {
    right: -6px;
    margin: 15px 0px;
    bottom: 2rem;
    background-color: #07524D;
    opacity: 1;
    font-size: 35px;
    color: #fff;
}

#myBtn2 {
    background-color: #fff;
    font-size: 25px;
    color: #07524d;
    cursor: pointer;
    position: relative;
    padding: 0px !important;
}

.chatbox__body,
.chatbox__credentials {
    padding: 0px 5px;
}

.chat-body strong {
    font-size: 14px;
    margin-left: 4px;
}

#feedback-box .submit-feedback {
    height: 40px;
}

#feedback-box #feedback-sucess {
    color: #07524D;
}

#chat_box .left.clearfix {
    padding-left: 0px;
    text-align: right;
}

.chatbox .end_chat {
    border-radius: 50%;
    background: white;
    border: 1px solid #fff;
    cursor: pointer;
}

.chat-body .header small {
    color: #6c757d!important;
    flex: 70%;
    font-size: 10px;
    align-items: center;
    display: flex;
}

.chatbox__body::-webkit-scrollbar {
    width: 4px;
}

.chatbox__body::-webkit-scrollbar-track {
    border-radius: 8px;
}

.chatbox__body::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 10px;
}

.chatbox__body::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

#feedback-box .feedback-text {
    font-size: 14px;
}

.rating {
    border: none;
}


.rating>label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
}

.rating>.half:before {
    content: "\f089";
    position: absolute;
}

.rating>label {
    color: #ddd;
    float: right;
}

.rating>input:checked~label,
.rating:not(:checked)>label:hover,
.rating:not(:checked)>label:hover~label,
.rating>input:checked+label:hover,
.rating>input:checked~label:hover,
.rating>label:hover~input:checked~label,
.rating>input:checked~label:hover~label {
    color: #E89B94;
}

.chatbox #chat_close {
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 12px;
    background-color: transparent;
    padding: 0;
    width: 22px;
    height: 22px;
}

.chatbox #chat_minimize {
    display: inline-block;
    min-height: auto;
    background: white;
    border-radius: 50%;
    padding: 2px 0;
    color: #07524d;
    margin-right: 6px;
}
.bb_group {
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 6000;
    overflow: hidden;
}
#call-btn {
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E89B94;
    border-radius: 0px;
    text-align: center;
    font-size: 21px;
    color: #fff;
    border: none;
    cursor: pointer;
    outline: none !important;
    border-bottom: 1px solid #fff;
    position: relative;
    height: 50px;
    width: 100%;
    padding: 0px !important;
}
/*responsive*/
@media only screen and (max-width:600px) {
    .chatbox #chat_minimize {
        right: 42px !important;
        top: 7px !important;
    }
    .input-group {
        box-shadow: none !important;
        border-radius: 25px !important;
        width: 100% !important;
    }
    .panel-footer {
        margin-left: 0px !important;
        background: #f7f7f7;
        margin-top: 10px;
        padding: 10px;
    }
    #btn-input {
        border: 0px !important;
        background: transparent !important;
    }
    #file_upload_btn,
    #btn-chat {
        border: 0px !important;
    }
    .panel-footer .input-group {
        box-shadow: none !important;
        border-radius: 25px !important;
        padding: 0px 10px;
    }
    .chatbox {
        right: 0;
        left: 0;
        width: auto;
    }
    .chatbox.chatbox22 {
        bottom: 0;
        padding: 0px;
    }
    .chatbox.chatbox22.chatbox--tray {
        bottom: -300%;
    }
    #chat_info>div {
        height: 100% !important;
        overflow: auto;
    }
    .bb_group {
        bottom: 0;
        right: 0;
        width: 100%;
        background: #fff;
        display: flex;
        box-shadow: 0 9px 7px 4px rgb(0 0 0 / 20) !important;
        align-items: center;
        justify-content: space-around;
    }
    #call-btn {
        background: none !important;
        border: 0px;
        color: #07524D;
        width: 100px;
        height: 40px;
    }
    #myBtn,
    #myBtn2{
        background: none;
        box-shadow: none;
        margin: 0px;
        width: 100px;
        height: 40px;
    }

    #myBtn {
        color: #07524D;
    }
    #myBtn2 {
        color: #fff;
        color: #07524D;
        
    }
    .msg_button {
        top: -60px;
        right: 49px !important;
    }
    .msg_button::after {
        right: 10px !important;
        bottom: -24px !important;
        border-top-color: #fff !important;
        border: 12px solid;
        border-right-color: transparent !important;
        border-bottom-color: transparent !important;
        border-left-color: transparent !important;
    }
    #footer {
        margin-bottom: 40px !important;
    }
}