@media only screen and (max-width: 540px) {
    .chat-sidebar {
        display: none !important;
    }

    .chat-popup {
        display: none !important;
    }
}

/*  body {
    background-color: #e9eaed;
}*/

.chat-sidebar2 {
    width: 275px;
    position: fixed;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    border: 1px solid rgba(29, 49, 91, .3);
}

.chat-sidebar {
    width: 275px;
    background: #fff;
    z-index: 100;
    position: fixed;
    height: 80%;
    right: 0px;
    /*top: 63px;*/

    bottom: 0px;
    /*padding-top: 10px;*/

    padding-bottom: 10px;
    border: 1px solid rgba(29, 49, 91, .3);
}

.chatBox {
    overflow: scroll;
    height: 92%;
}

.sidebar-name {
    padding: 4px 10px;
    /* padding-right: 10px; */
    text-align: left;
    margin-bottom: 0px;
    border-bottom: 1px solid lightsteelblue;
    font-size: 12px;
}

/*.sidebar-name span
{
   padding-left: 5px;
}*/

.sidebar-name a {
    display: block;
    /* height: 35px; */
    height: auto;
    text-decoration: none;
    color: inherit;
}

.sidebar-name:hover {
    background-color: #e1e2e5;
}

.sidebar-name img {
    width: 70px;
    height: 70px;
    vertical-align: middle;
    border-radius: 50%;
    border: 1px solid lightgray;
    object-fit: contain;
}

.popup-box {
    display: none;
    position: fixed;
    bottom: 0px;
    z-index: 10000;
    right: 220px;
    height: 360px;
    background-color: rgb(237, 239, 244);
    width: 300px;
    border: 1px solid rgba(29, 49, 91, .3);
}

.popup-box .popup-head {
    background-color: #005f9f;
    padding: 5px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    clear: both;
}

.popup-box .popup-head .popup-head-left {
    float: left;
    font-size: 12px;
    font-weight: normal;
    line-height: 30px;
}

.popup-box .popup-head .popup-head-right {
    float: right;
    opacity: 0.5;
}

.popup-box .popup-head .popup-head-right a {
    text-decoration: none;
    color: inherit;
}

.popup-box .popup-messages {
    height: 100%;
}

.chatiframe {
    height: 100%;
    width: 100%;
    border: 0px;
}

.status {
    position: relative;
    margin-left: 5px;
    color: #a8adb3;
}

.on:after {
    background: #62bf6e;
}

.off:after {
    background: #989190;
}

.off:after,
.on:after {
    content: '';
    left: -15px;
    top: 17px;
    position: absolute;
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.divUserList {
    font-size: 12px;
    /*font-weight: bold;*/

    margin-top: 5px;
    color: white;
}

.cursor {
    cursor: pointer;
}

.searchDiv input {
    padding: 0px 15px !important;
    margin: 0px;
}

.w100 {
    width: 100%;
    float: left;
}

.not_found {
    font-size: 12px;
    text-align: center;
    padding: 10px;
}

.chat_cnt {
    position: absolute;
    right: 30px;
    top: 11px;
    text-align: center;
    line-height: 8px;
    height: 16px;
    background: green;
    padding: 4px;
    width: auto;
    color: #fff;
}

.relative {
    position: relative;
}

.popup-head-left img {
    border: 1px solid lightgray;
    border-radius: 50%;
    margin: 0px 10px;
}

.chattabs {
    width: 100%;
    float: left;
}

.chattab {
    width: 49%;
    float: left;
    text-align: center;
    font-size: 12px;
    padding: 5px;
    cursor: pointer;
    background: #efefef;
}

.chattabs .active {
    background: #eccba0;
}
