﻿body {
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
    line-height: 1.8;
    font-weight: normal;
}

.mainChatScreen {
    display: flex;
}

    .mainChatScreen .chat-list-user {
        height: calc(100vh);
        min-width: 400px;
        background: #a3b9ee;
        width: 400px;
    }

    .mainChatScreen .chat-area {
        height: calc(100vh - 0px);
        width: 100%;
        transition: all 0.5s;
    }

.header-chat-list {
    padding: 34px 20px;
    display: flex;
    justify-content: space-between;
    background: #333;
    color: #fff;
}

.mainChatScreen .chat-list-user .chatlist {
    height: calc(100vh - 115px);
    overflow-y: auto;
}

.invitelistbox {
    width: 100%;
    text-align: right;
    padding: 10px;
    background: #3d5693;
}

.btn-advisor {
    background: #333;
    color: #fff;
}

ul {
    padding: 0;
}

.mainChatScreen .chat-list-user .chatlist ul li {
    display: flex;
    position: relative;
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: 1px solid #d1d1d1;
}

.mainChatScreen .participant {
    display: flex;
    position: relative;
    padding: 0 0 8px 0px;
} 


.mainChatScreen .chat-list-user .chatlist ul li .avatar-img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    position: relative;
}

.mainChatScreen .participant .avatar-img {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    position: relative;
}

.mainChatScreen .chat-list-user .chatlist ul li .avatar-img img {
    width: 45px;
    height: 45px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
}

.mainChatScreen .participant .avatar-img img {
    width: 45px;
    height: 45px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-img.online img {
    border: 3px solid #0dae0d;
}

.avatar-img.offline img {
    border: 3px solid #c0b7b7;
}

.mainChatScreen .chat-list-user .chatlist ul li .avatar-img span {
    display: block;
    border: 2px solid #fff;
    width: 12px;
    .mainChatScreen .chat-list-user .chatlist ul li .users-list-body p height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

.mainChatScreen .chat-list-user .chatlist ul li .users-list-body {
    line-height: 1.2;
    color: #333;
    width:100%;
    
}

    .mainChatScreen .chat-list-user .chatlist ul li .users-list-body div {
        /*max-width: 200px;*/
    }

    .mainChatScreen .chat-list-user .chatlist ul li .users-list-body h5 {
        font-size: 16px;
        margin: 0;
        font-weight: bold;
        margin-top: 3px;
    }

    .mainChatScreen .chat-list-user .chatlist ul li .users-list-body p {
        font-size: 13px;
        margin-top: 4px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin-bottom: 0;
        color: #aaa;
    }

.mainChatScreen .participant .users-list-body p {
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: -6px 0 0 0;
    color: #aaa;
}

.advisors-box {
    display: flex;
    padding: 14px 10px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

    .advisors-box .avatar-img {
        width: 50px;
        height: 50px;
        margin: 0 15px;
        position: relative;
    }

        .advisors-box .avatar-img img {
            width: 45px;
            height: 45px;
            -o-object-fit: cover;
            object-fit: cover;
            border-radius: 50%;
        }

    .advisors-box .users-list-body {
        line-height: 1.2;
        color: #333;
    }

.addchatlist {
    position: absolute;
    right: 30px;
    top: 30%;
}

    .addchatlist span {
        display: block;
        background: #ddd;
        width: 30px;
        text-align: center;
        height: 30px;
        font-size: 20px;
        line-height: 1.5;
        border-radius: 50%;
    }

.advisors-box .users-list-body h5 {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
    margin-top: 3px;
}

.advisors-box .users-list-body p {
    font-size: 13px;
    margin-top: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 0;
    color: #333;
}

.chat-header {
    position: fixed;
    /*right: 0;
    left: 400px;*/
    width: 100%;
}

.chat-area .user-info-chat-head {
    background: #d7e1fa;
    padding: 10px;
    border-bottom: 1px solid #d7e1fa;
    display: flex;
    justify-content: space-between;
}

.btn.btn-logout {
    border: 1px solid #8eb1d9;
    background: #8eb1d9;
}

.chat-area .user-info-chat-head .chat-option > ul {
    display: flex;
    align-items: center;
}

ul,
li {
    list-style: none;
    margin: 0;
}

.company {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    /*line-height: 10px;*/
    margin-right: 10px
}

.user-info-chat-head .user {
    display:block!important;
    align-items: center;
    flex-grow: 1!important;
}

.settingBar {
    background: #f3f3f3;
    padding: 7px 20px;
    position: fixed;
    left: 400px;
    right: 0;
    top: 58px;
    z-index: 12;
}

    .settingBar .user {
        float: left;
    }

        .settingBar .user .img-agent {
            width: 65px;
            border: 4px solid green;
            display: block;
            border-radius: 50%;
        }

.mainChatScreen .chat-area .user .avatar {
    margin-right: 8px;
}

.mainChatScreen .chat-area .user {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.settingBar ul {
    display: flex;
    justify-content: end;
    margin-top: 9px;
}

.timer {
    font-size: 18px;
    margin-bottom: 0;
    /*font-weight: 600;*/
    position: absolute;
    bottom: -8px;
    left: 70px;
}

    .timer .button {
        padding: 5px 10px;
        margin: 0px 12px 0 10px;
    }

.button {
    background-color: #004A7F;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: Arial;
    font-size: 17px;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
    -webkit-animation: glowing 1500ms infinite;
    -moz-animation: glowing 1500ms infinite;
    -o-animation: glowing 1500ms infinite;
    animation: glowing 1500ms infinite;
}

    .button:hover {
        color: #fff !important;
    }

@-webkit-keyframes glowing {
    0% {
        background-color: #B20000;
        -webkit-box-shadow: 0 0 3px #B20000;
    }

    50% {
        background-color: #FF0000;
        -webkit-box-shadow: 0 0 30px #FF0000;
    }

    100% {
        background-color: #B20000;
        -webkit-box-shadow: 0 0 3px #B20000;
    }
}

@-moz-keyframes glowing {
    0% {
        background-color: #B20000;
        -moz-box-shadow: 0 0 3px #B20000;
    }

    50% {
        background-color: #FF0000;
        -moz-box-shadow: 0 0 10px #FF0000;
    }

    100% {
        background-color: #B20000;
        -moz-box-shadow: 0 0 3px #B20000;
    }
}

@-o-keyframes glowing {
    0% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }

    50% {
        background-color: #FF0000;
        box-shadow: 0 0 10px #FF0000;
    }

    100% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }
}

@keyframes glowing {
    0% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }

    50% {
        background-color: #FF0000;
        box-shadow: 0 0 10px #FF0000;
    }

    100% {
        background-color: #B20000;
        box-shadow: 0 0 3px #B20000;
    }
}

.btn.btn-end-chat {
    border: 1px solid #333;
    background: #333;
    color: #fff;
    margin: 4px 0 0 13px;
}

.mainChatScreen .chat-area .user-chat-input {
    background: #f3f3f3;
    padding: 5px 20px;
}

    .mainChatScreen .chat-area .user-chat-input .chat-form {
        display: flex;
    }

        .mainChatScreen .chat-area .user-chat-input .chat-form .form-group {
            width: 100%;
            position: relative;
        }

            .mainChatScreen .chat-area .user-chat-input .chat-form .form-group .form-control {
                height: 57px;
                border: 0px !important;
                padding-right: 132px;
            }

.button-sends {
    position: absolute;
    display: flex;
    top: 9px;
    right: 13px;
}

.mainChatScreen .chat-area .user-chat-input .chat-form button {
    margin: 0 5px;
    width: 40px;
    height: 40px;
    background: #DBDBDB;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #282828;
    font-size: 20px;
    font-weight: bold;
    border: 0;
}

    .mainChatScreen .chat-area .user-chat-input .chat-form button.sendicon {
        background: #323232 !important;
        color: #fff !important;
    }

.chat-section {
    margin-top: 137px;
    height: calc(100vh - 214px);
    overflow: auto;
}

.stickynav {
    display: none;
}

.user-chat .user .avatar img {
    width: 50px;
}

.mainChatScreen .chat-area .chat-section .user {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

    .mainChatScreen .chat-area .chat-section .user .avatar {
        margin-right: 8px;
    }

        .mainChatScreen .chat-area .chat-section .user .avatar img {
            display: block;
            border-radius: 50%;
        }

.mainChatScreen .chat-area .chat-section .user-message {
    width: 70%;
}

    .mainChatScreen .chat-area .chat-section .user-message .text-content {
        background: #d7e1fa;
        padding: 9px 35px;
        border-radius: 8px;
        font-size: 14px;
        margin: 12px 0;
        display: inline-block;
    }

.user-message span.time {
    position: absolute;
    bottom: -11px;
    color: #8e8e8e;
    font-size: 13px;
    left: 0px;
}

.mainChatScreen .chat-area .chat-section .outgoing-massage {
    margin: 15px 0;
    display: inline-block;
    width: 100%;
}

    .mainChatScreen .chat-area .chat-section .outgoing-massage .user-message {
        float: right;
        text-align: right;
    }

        .mainChatScreen .chat-area .chat-section .outgoing-massage .user-message .text-content {
            background: #8eb1d9;
            color: #333;
            font-weight: 500;
            border-radius: 8px;
        }

.outgoing-massage .user-message span.time {
    right: 0px;
    left: auto;
}

.user-message {
    position: relative;
    margin-bottom: 10px;
}

#chat {
    padding: 50px 15px;
}

.invitelistbox {
    width: 100%;
    text-align: right;
    padding: 10px;
    background: #3d5693;
}

.advisorsListTab {
    margin-top: 46px;
}

.advisorsListTabHeight {
    height: calc(100vh - 137px);
}

.closemenu,
.menu {
    display: none;
}

.menuoverlay {
    left: -100%;
}

@media (max-width:991px) {
    .sidebar {
        position: fixed;
        z-index: 150;
        transition: all 0.5s;
        left: -400px;
    }

        .sidebar.open {
            left: 0;
        }

    .menuoverlay {
        position: fixed;
        left: -100%;
        width: 100%;
        top: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 15;
        transition: all 0.5s;
    }

        .menuoverlay.openm {
            left: 0;
        }

    .chat-header,
    .settingBar {
        left: 0;
    }

    .stickynav {
        display: block;
        width: 100%;
        background: #b6c7f2;
        position: fixed;
        z-index: 12;
    }

        .stickynav #myTab {
            display: flex;
            justify-content: center;
        }

    .nav-link {
        color: #333;
    }

    .modal.show .modal-dialog {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 auto;
        max-width: 100%;
    }

    .modal-body .advisorsList {
        height: calc(100vh - 300px);
        overflow: auto;
    }

    .settingBar ul {
        margin: 0;
    }

    .chat-section {
        margin-top: 114px;
        height: calc(100vh - 191px);
        overflow: auto;
    }

    .closemenu {
        display: block;
        padding: 4px;
        position: absolute;
        font-size: 18px;
        line-height: 1;
        border-radius: 50%;
        height: 32px;
        width: 32px;
        border: 0;
        top: 8px;
        right: 9px;
        opacity: 0.5;
    }

    .menu {
        display: block;
    }
}

@media(max-width:400px) {
    .mainChatScreen .chat-list-user {
        right: 0;
        width: 100%;
        min-width: auto;
    }
}

.menu {
    float: left;
    padding: 8px;
    border: 0;
    box-shadow: 1px 1px 5px #d5d5d5;
    border-radius: 4px;
    margin-top: 5px;
}

    .menu span {
        width: 25px;
        height: 2px;
        display: block;
        margin-bottom: 4px;
        background: #333;
    }

        .menu span:last-child {
            margin: 0;
        }

.accordion-button span {
    display: block;
    width: 20px;
    height: 20px;
    background: #cd0000;
    text-align: center;
    border-radius: 50%;
    font-size: 10px;
    padding: 4px;
    color: #fff;
    margin-right: 7px;
}

.btnadd {
    background: #ee9420;
    color: #fff;
    border-radius: 4px;
    border: 0;
    width: 38px;
    font-size: 20px;
    margin-left: auto;
}

.accordion-button::after {
    display: none;
}

.accordion-body {
    padding: 0;
}

.accordion-button {
    background-color: #88a0db;
}

    .accordion-button:not(.collapsed) {
        color: #0c63e4;
        background-color: #3d5693;
        box-shadow: none;
        color: #fff;
    }

.timeDiv {
    margin-left: auto;
    text-align: right;
}

    .timeDiv .timer {
        font-size: 14px;
    }

    .timeDiv .btn {
        font-size: 12px;
        padding: 0 6px;
        color: red;
        border: 1px solid;
        font-weight: bold;
    }


.accordion-header {
    cursor:pointer;
}

#btnwait {
    display: none;
}
