/*#__container-fluid {
    width: auto;
    height: 100% !important;
    margin-right: auto;
    margin-left: auto;
    z-index: 900000000000;
    position: absolute;
}*/

/*.__pd-chat-main-content {
    width: 100% !important;
    justify-content: flex-end;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    position: fixed;
    bottom: 150px;
    }*/

/*.__pd-chat-box-section {
    margin-top: 17px;
    width: 25.333333%;
}*/

#_pd_vidfy-theme-chat-area .__pd-chat-box-section{
    top: 5px;
}

/*.__pd-chat-box {
    padding-right: 15px;
    padding-left: 15px;
}*/

.__pd-chat-box {
    right: 40px;
    position: fixed;
    width: 350px;
    min-height: 250px;
    max-height: 600px;
    border-radius: 4px;
    overflow: visible;
    bottom: 140px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgba(0, 0, 0, 0.15) 0px 5px 30px 0px, rgba(0, 0, 0, 0.05) 0px 3px 3px 0px;
    display: block;
    z-index: 1050;
    height: calc(100% - 95px);
    opacity: 1;
    transform: translateY(0px);
}



.__pd-chat-box-card {
    height: 100%;
    border-radius: 15px !important;
    display: flex;
    flex-direction: column;
}

.__pd-msg_card_body {
    overflow-y: auto;
    background: white;
    flex: 1 1 auto;
    padding: 1.25rem;


    box-shadow:
    0 2.8px 2.2px rgba(0, 0, 0, 0.034),
    0 6.7px 5.3px rgba(0, 0, 0, 0.048),
    0 12.5px 10px rgba(0, 0, 0, 0.06),
    0 22.3px 17.9px rgba(0, 0, 0, 0.072),
    0 41.8px 33.4px rgba(0, 0, 0, 0.086),
    0 100px 80px rgba(0, 0, 0, 0.12);

}

.__pd-chat-card-header {
    border-radius: 6px 6px 0 0 !important;
    border-bottom: 0 !important;
    position: relative;
    background-color: #03aeef;
    padding: 1.25rem 1.25rem;
}

.__pd-chat-card-footer {
    padding: .75rem 1.25rem;
    border-radius: 0 0 6px 6px !important;
    border-top: 1px solid #efefef !important;
    background-color: white;

    /* added   */
    z-index: 9999;
}

.__pd-chat-card-footer .type-msg-group {
    display: flex;
    width: 100%;
    border-radius: 24px;
}

.__pd-chat-card-footer .msg-group-append {
    /*display: flex;*/
    /*margin-left: -1px;*/

    position: absolute;
    right: 25px;

}

.container {
    align-content: center;
}

.__pd-chat-card-footer .type_msg {
    border: 0 !important;
    color: black !important;
    height: 40px !important;
    overflow-y: hidden;
    width: 100%;
    padding: .550rem .75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    resize: none;
    letter-spacing: inherit;
    background: transparent;
}

.__pd-chat-card-footer .type_msg:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.__pd-chat-card-footer .attach_btn {
    border-radius: 25px 0 0 25px !important;
    background-color: #f9f9f9 !important;
    border: 0 !important;
    color: #ababab!important;
    cursor: pointer;
    width: 46px;
}

.__pd-chat-card-footer .send_btn {
    border: 0 !important;
    cursor: pointer;
    /*width: 46px;*/
}

.__pd-chat-card-footer .action_btns svg {
    cursor: pointer;
    color: #c4c4c4;
    padding: 4px;
    font-size: 30px;
}

.active {
    background-color: rgba(0, 0, 0, 0.3);
}

.__pd-chat-card-header .user_img {
    height: 70px;
    width: 70px;
    border: 1.5px solid #f5f6fa;
    border-radius: 50%;
}

.__pd-msg_card_body .user_img_msg {
    height: 40px;
    width: 40px;
    border: 1.5px solid #f5f6fa;
    border-radius: 50%!important;
}

.__pd-chat-card-header .chat-card-items .img_cont {
    position: relative;
    height: 70px;
    width: 70px;
}

.__pd-chat-card-header .online_icon {
    position: absolute;
    height: 15px;
    width: 15px;
    background-color: #4cd137;
    border-radius: 50%;
    bottom: 0.75em;
    right: -0.25em;
    border: 1.5px solid white;
}

.offline {
    background-color: #c23616 !important;
}

.__pd-chat-card-header .chat-card-items .user_info {
    /*margin-top: auto;*/
    /*margin-bottom: auto;*/
    /*margin-left: 15px;*/
    width: 100%;
}

.__pd-chat-card-header .chat-card-items .user_info span {
    font-size: 20px;
    color: #ffffff !important;
}

.__pd-chat-card-header .chat-card-items .user_info p {
    font-size: 14px !important;
    width: 100%;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 10px 0 0 !important;
}

.__pd-msg_card_body .sender-msg-section .msg_cotainer {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 70px;
    border-radius: 5px;
    float: right;
    background-color: #03aeef;
    padding: 12px 20px;
    color: white;
    position: relative;
    font-size: 13px;
    display: inline-block;
    max-width: 90%;
    overflow-wrap: break-word;
}

.__pd-msg_card_body .sender-msg-section .msg_cotainer a {
    text-decoration: underline !important;
    color: #ffffff !important;
}

.__pd-msg_card_body .sender-msg-section .msg_cotainer a:hover {
    text-decoration: none !important;
}

.__pd-msg_card_body .reciever-msg-section .msg_cotainer_send {
    margin-top: auto;
    margin-bottom: auto;
    /*margin-left: 30px;*/
    margin-right: 70px;
    border-radius: 5px;
    background-color: #f9f9f9;
    padding: 12px 20px;
    position: relative;
    font-size: 13px;
    display: inline-block;
    max-width: 90%;
    overflow-wrap: break-word;
}

.__pd-msg_card_body .reciever-msg-section .msg_cotainer_send a {
    color: #333333 !important;
    text-decoration: underline !important;
}

.__pd-msg_card_body .reciever-msg-section .msg_cotainer_send a:hover {
    text-decoration: none !important;
}
.__pd-msg_card_body .msg_time {
    /*position: absolute;*/
    display: block;
    padding: 5px;
    color: rgb(64 64 64 / 50%);
    font-size: 10px;
    margin-left: 70px;
}

.__pd-msg_card_body .msg_time_send {
    /*position: absolute;*/
    display: block;
    padding: 5px;
    color: rgb(64 64 64 / 50%);
    font-size: 10px;
}

.__pd-chat-card-header #action_menu_btn {
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.justify-content {
    justify-content: flex-end;
}

.__pd-chat-card-header .chat-card-items {
    display: flex !important;
}

.__pd-msg_card_body .sender-msg-section {
    margin-bottom: 1.5rem!important;
}

.sender-msg-section {
    width: 100%;
}

.msg_time_reciever_row {
    width: 100%;
}

.__pd-msg_card_body .reciever-msg-section {
    margin-bottom: 1.5rem!important;
    justify-content: flex-end!important;
}

.__pd-chat-card-footer .footer-btns {
    align-items: center;
    padding: .275rem .35rem;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    display: flex;
    text-align: center;
    white-space: nowrap;
}

.__pd-chat-main-content .__pd-chat-box-section .open-chatbox-btn {
    width: 60px;
    height: 60px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    color: #ffffff;
    cursor: pointer !important;
    bottom: 70px;
    z-index: 99999999;
    border-radius: 60px;
    position: fixed;
    transform: scale(1);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 7px;
    right: 40px;
    top: auto;
    transition: box-shadow 250ms ease 0s, opacity 0.4s ease 0s, scale 1000ms ease-in-out 0s, transform 0.2s ease-in-out 0s;
}

#togglePDMessageBtn ._pd_direct_message_chat_message_icon_text {
    bottom: 6px;
    color: white;
    color: white;
    /* display: block; */
    font-size: 14px;
    font-weight: 600;
    /* padding: 0px 20px 0px 54px; */
    /* white-space: nowrap; */
    position: relative;
    padding-left: 4px;
    bottom: 8px;
}

.open-chatbox-btn:focus {
    outline: none;
}

._pd_direct_messages_primary_color {
    /*background: linear-gradient(90deg, #0062CF 23%, rgb(0 18 21) 190%);*/
}

.primary-icon-color svg {
    color: #03aeef !important;
    font-size: 28px;
}

.msg_time_sender_row {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}

/*Own css*/
._pd_message_notification ._pd_count_badge {
    /*position: absolute;*/
    top: 5px;
    left: -10px;
    padding: 5px 10px;
    border-radius: 50%;
    background: red;
    color: white;
    position: absolute;
    font-size: 12px;
}

._pd_messenger_active {
    display: block !important;
}

#_pd_load_more_btn_area {
    text-align: center;
    font-size: 11px;
    text-decoration: underline;
    margin-bottom: 15px;
}
#_pd_load_more_btn_area svg {
    width: 20px;
    height: 20px;
}

#_pd_load_more_btn_area .disable_load_more {
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
    text-decoration: none;
}

._pd_start_conversation {
    text-align: center;
    margin-top: 50%;
    font-size: 12px;
}

._pd_start_conversation svg {
    width: 20px;
    height: 20px;
}

.__pd-chat-card-footer #_pd_message_form {
    width: 85% !important;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) and (orientation:portrait) {

    .__pd-chat-box{
        right: 20px;
    }

    .__pd-chat-main-content .__pd-chat-box-section .open-chatbox-btn{
        right: 20px;
    }
}
/* New improve css */
._pd_direct_messages_chat_icon {
    appearance: none;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 200px;
    bottom: 70px;
    display: block;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 0px;
    outline: none;
    padding: 0px;
    position: fixed;
    user-select: none;
    z-index: 9999999;
    background-color: rgb(0, 174, 239);
    border: none;
    color: white;
    cursor: pointer;
    min-width: 60px;
    /*transition: background-color 200ms linear 0s, transform 200ms linear 0s;*/
    -webkit-tap-highlight-color: transparent;
    height: 60px;
    line-height: 60px;
    right: 40px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 7px;
    transition: box-shadow 250ms ease 0s, opacity 0.4s ease 0s, scale 1000ms ease-in-out 0s, transform 0.2s ease-in-out 0s;
}

._pd_direct_messages_chat_icon_svg {
    -webkit-box-align: center;
    align-items: center;
    color: white;
    cursor: pointer;
    display: flex;
    height: 100%;
    -webkit-box-pack: center;
    justify-content: center;
    left: 0px;
    pointer-events: none;
    position: absolute;
    text-indent: -99999px;
    top: 0px;
    transition: opacity 80ms linear 0s, transform 160ms linear 0s;
    width: 60px;
    will-change: opacity, transform;
    opacity: 1 !important;
    transform: rotate(
        0deg
    ) scale(1) !important;
}

._pd_direct_messages_chat_icon_text {
    color: white;
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 0 17px 0 43px;
    white-space: nowrap;
}

._pd_direct_messages_chat_text_span {
    padding-left: 8px;
    letter-spacing: 1px;
}

._pd_message_notification_div {
    position: absolute;
    top: 5px;
    /* right: -15px; */
    background-color: red;
    color: #fff;
    padding: 3px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    text-align: center;
    left: -15px;
    font-size: 11px;
}
._pd_message_notification_div div {
    margin-top:-20px;
}
/* New end improve css */
