/*.mail-box .lg-side .right {border-right: 1px solid #eceff1;border-left: 1px solid #eceff1;}*/
.mail-box .lg-side .right img {
    width: 30px;
    height: 30px;
    border-radius: 50px;
}
   

 .container .left .people .person {
     position: relative;
     width: 100%;
     padding: 15px 5%;
     cursor: pointer;
}
     
}
 
 .container .left .people .person:hover {
    background-color: #f2f2f2;
}
 .container .left .people .person img {
     float: left;
     width: 40px;
     height: 40px;
     margin-right: 12px;
     border-radius: 50%;
     object-fit: cover;
}
 .container .left .people .person .name {
     font-size: 14px;
     line-height: 22px;
     color: #000;
     
     font-weight: 600;
}
  
 .container .left .people .person .preview {
     font-size: 14px;
     display: inline-block;
     overflow: hidden !important;
     width: 70%;
     white-space: nowrap;
     text-overflow: ellipsis;
     
}
  
 
 .container .left .people .person.active:after, .container .left .people .person:hover:after {
     display: none;
}

 .container .right .top {
     width: 100%;
     
     padding: 15px 29px;
     background-color: #eceff1;
}
 .container .right .top span {
     font-size: 15px;
     color: var(--grey);
}
 .container .right .top span .name {
     color: #000;
     
     font-weight: 600;
}

ul.people.shadow {height:700px;overflow-y:scroll;}
 .container .right .chat::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
 .container .right .chat {
         position: relative;
    display: none;
    overflow-y: scroll;
    -ms-overflow-style:none;scrollbar-width:none;
    padding: 0 35px 92px;
    border-width: 1px 1px 1px 0;
    border-style: solid;
    border-color: var(--light);
    height: 602px;
    justify-content: start;
    flex-direction: column;
}
 .container .right .chat.active-chat {
     display: block;
     display: flex;
}
 .container .right .chat.active-chat .bubble {
     transition-timing-function: cubic-bezier(0.4, -0.04, 1, 1);
}
 .container .right .chat.active-chat .bubble:nth-of-type(1) {
     animation-duration: 0.15s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(2) {
     animation-duration: 0.3s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(3) {
     animation-duration: 0.45s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(4) {
     animation-duration: 0.6s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(5) {
     animation-duration: 0.75s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(6) {
     animation-duration: 0.9s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(7) {
     animation-duration: 1.05s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(8) {
     animation-duration: 1.2s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(9) {
     animation-duration: 1.35s;
}
 .container .right .chat.active-chat .bubble:nth-of-type(10) {
     animation-duration: 1.5s;
}
 .container .right .write {
     
     height: 42px;
     
     border: 1px solid var(--light);
     background-color: #eceff1;
     
     
}
 .container .right .write input {
     font-size: 16px;
     float: left;
     width: 347px;
     height: 40px;
     padding: 0 10px;
     color: #000;
     border: 0;
     outline: none;
     background-color: #eceff1;
     
     font-weight: 400;
}
 .container .right .write .write-link.attach:before {
     display: inline-block;
     float: left;
     width: 20px;
     height: 42px;
     content: '';
     background-image: url('../images/attachment.png');
     background-repeat: no-repeat;
     background-position: center;
}
 .container .right .write .write-link.smiley:before {
     display: inline-block;
     float: left;
     width: 20px;
     height: 42px;
     content: '';
     background-image: url('../images/smiley.png');
     background-repeat: no-repeat;
     background-position: center;
}
 .container .right .write .write-link.send:before {
     display: inline-block;
     float: left;
     width: 20px;
     height: 42px;
     content: '';
     background-image: url('../images/send.png');
     background-repeat: no-repeat;
     background-position: center;
}
 .container .right .bubble {
     font-size: 16px;
     position: relative;
     display: inline-block;
     clear: both;
     margin-bottom: 32px;
     padding: 13px 14px;
     vertical-align: top;
     border-radius: 5px;
}

.container .right .bubble span.time {
    position: absolute;
    bottom: -20px;
    right: 0;
}
 .container .right .bubble:before {
     position: absolute;
     top: 19px;
     display: block;
     width: 8px;
     height: 6px;
     content: '\00a0';
     transform: rotate(29deg) skew(-35deg);
}
 .container .right .bubble.you {
     float: left;
     color: #000;
     background-color: #e9e9e9;
     align-self: flex-start;
     animation-name: slideFromLeft;
     min-width: 120px;
     text-align: left;
}
 .container .right .bubble.you:before {
     left: -3px;
     background-color: #e9e9e9;}
 .container .right .bubble.me {
     float: right;
     color: #000;
     background-color: #eceff1;
     align-self: flex-end;
     animation-name: slideFromRight;
}
 .container .right .bubble.me:before {
     right: -3px;
     background-color: #eceff1;
}
 .container .right .conversation-start {
     position: relative;
     width: 100%;
     margin-bottom: 27px;
     text-align: center;
}
 .container .right .conversation-start span {
     font-size: 14px;
     
}
 .container .right .conversation-start span:before, .container .right .conversation-start span:after {
     position: absolute;
     top: 10px;
     display: inline-block;
     width: 30%;
     height: 1px;
     content: '';
     background-color: var(--light);
}
 .container .right .conversation-start span:before {
     left: 0;
}
 .container .right .conversation-start span:after {
     right: 0;
}
 @keyframes slideFromLeft {
     0% {
         margin-left: -200px;
         opacity: 0;
    }
     100% {
         margin-left: 0;
         opacity: 1;
    }
}
 @-webkit-keyframes slideFromLeft {
     0% {
         margin-left: -200px;
         opacity: 0;
    }
     100% {
         margin-left: 0;
         opacity: 1;
    }
}
 @keyframes slideFromRight {
     0% {
         margin-right: -200px;
         opacity: 0;
    }
     100% {
         margin-right: 0;
         opacity: 1;
    }
}
 @-webkit-keyframes slideFromRight {
     0% {
         margin-right: -200px;
         opacity: 0;
    }
     100% {
         margin-right: 0;
         opacity: 1;
    }
}
 



















































/*custom add css*/
.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}
.msg-search {
    right: 41px;
    top: 0px;
}
 
.sidebar-toggle-btn  span.line {
    width: 28px;
    height: 3px;
    display: block;
    background: #888;
    margin-bottom: 4px;
    transition-duration: 0.5s;
    transition-delay: 0.5s;
}

.sidebar-toggle-btn {
    cursor: pointer;
}

.mobile-div {
    display: none;
}






/**/
.mail-box {
    border-collapse: collapse;
    border-spacing: 0;
    display: table;
    table-layout: fixed;
    width: 100%;
}
.mail-box aside {
    display: table-cell;
    float: none;
    height: 100%;
    padding: 0;
    vertical-align: top;
}
.mail-box .sm-side {
    /*background: none repeat scroll 0 0 #e5e8ef;*/
    border-radius: 4px 0 0 4px;
    width: 25%;
}
.mail-box .lg-side {
    background: none repeat scroll 0 0 #fff;
    border-radius: 0 4px 4px 0;
    width: 75%;
}
     

.mail-option {
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}
.mail-option .chk-all, .mail-option .btn-group {
    margin-right: 5px;
}
.mail-option .chk-all, .mail-option .btn-group a.btn {
    background: none repeat scroll 0 0 #fcfcfc;
    border: 1px solid #e7e7e7;
    border-radius: 3px !important;
    color: #afafaf;
    display: inline-block;
    padding: 5px 10px;
}
.inbox-pagination a.np-btn {
    background: none repeat scroll 0 0 #fcfcfc;
    border: 1px solid #e7e7e7;
    border-radius: 3px !important;
    color: #afafaf;
    display: inline-block;
    padding: 5px 15px;
}
.mail-option .chk-all input[type="checkbox"] {
    margin-top: 0;
}
.mail-option .btn-group a.all {
    border: medium none;
    padding: 0;
}
.inbox-pagination a.np-btn {
    margin-left: 5px;
}
.inbox-pagination li span {
    display: inline-block;
    margin-right: 5px;
    margin-top: 7px;
}
.fileinput-button {
    background: none repeat scroll 0 0 #eeeeee;
    border: 1px solid #e6e6e6;
}
.inbox-body .modal .modal-body input, .inbox-body .modal .modal-body textarea {
    border: 1px solid #e6e6e6;
    box-shadow: none;
}
.btn-send, .btn-send:hover {
    background: none repeat scroll 0 0 #00a8b3;
    color: #fff;
}
.btn-send:hover {
    background: none repeat scroll 0 0 #009da7;
}
.modal-header h4.modal-title {
    font-family: "Open Sans",sans-serif;
    font-weight: 300;
}
.modal-body label {
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
}
.heading-inbox h4 {
    border-bottom: 1px solid #ddd;
    color: #444;
    font-size: 18px;
    margin-top: 20px;
    padding-bottom: 10px;
}
.sender-info {
    margin-bottom: 20px;
}
.sender-info img {
    height: 30px;
    width: 30px;
}
.sender-dropdown {
    background: none repeat scroll 0 0 #eaeaea;
    color: #777;
    font-size: 10px;
    padding: 0 3px;
}
.view-mail a {
    color: #ff6c60;
}
.attachment-mail {
    margin-top: 30px;
}
.attachment-mail ul {
    display: inline-block;
    margin-bottom: 30px;
    width: 100%;
}
.attachment-mail ul li {
    float: left;
    margin-bottom: 10px;
    margin-right: 10px;
    width: 150px;
}
.attachment-mail ul li img {
    width: 100%;
}
.attachment-mail ul li span {
    float: right;
}
.attachment-mail .file-name {
    float: left;
}
.attachment-mail .links {
    display: inline-block;
    width: 100%;
}

.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;
}
.files .progress {
    width: 200px;
}
.fileupload-processing .fileupload-loading {
    display: block;
}
* html .fileinput-button {
    line-height: 24px;
    margin: 1px -3px 0 0;
}
* + html .fileinput-button {
    margin: 1px 0 0;
    padding: 2px 15px;
}
@media (max-width: 767px) {
.files .btn span {
    display: none;
}
.files .preview * {
    width: 40px;
}
.files .name * {
    display: inline-block;
    width: 80px;
    word-wrap: break-word;
}
.files .progress {
    width: 20px;
}
.files .delete {
    width: 60px;
}
}
ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}
 
    
 @media(max-width: 991px){
    .mobile-div{display:block;}
    .mail-box .sm-side{display:none;    /*transform: translateX(-240px);*/width:50%;position:absolute;background-color:#fff;top:0;z-index:9999;}
    .mail-box .lg-side{width:100%;}
    .sidebar-toggle-btn  i{font-size:25px;}
    ul.inbox-nav{padding:20px 0;}
    .mail-box .sm-side .user-head{background:#000!important;}
    .mail-box .sm-side .user-head h2{color:#fff;}
    .sidebar-toggle-btn i.icon__menu__close{position:absolute;top:12px;right:20px;color:#fff;}
    ul.inbox-nav li a{color:#fff;}
 }


@media(max-width: 767px){
    .mail-box .sm-side{width: 80%;}
}
