::-webkit-scrollbar {
    width:4px;
    border-radius: 4px;   
}
::-webkit-scrollbar-thumb{
    background:#99999988;
    border-radius:10px
}

body {
    width: 100%;
    height: 100%;
    position: relative;
}

.wrapper .main-nav .scrollbar{

  overflow: auto;

  -ms-overflow-style: none;

  scrollbar-width: none;

}

html[data-menu-size=condensed] .wrapper .main-nav .scrollbar{

  overflow: unset;

}

.wrapper .main-nav .scrollbar::-webkit-scrollbar {

  display: none;

}

.system-login-pages {

    -webkit-box-align: center;

    -ms-flex-align: center;

    align-items: center;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    min-height: 100vh;

}

.account-pages {

    display: block;

    width: 100%;

}

.dataTables_wrapper table {

    border-collapse: collapse;

    display: table;

    margin: 0;

    max-width: 100%;

    overflow: auto;

    padding: 0;

    table-layout: fixed;

    text-align: left;

    border: 1px solid #eaedf1;

}

.dataTables_wrapper table thead tr th {

    border: 1px solid #eaedf1;

    color: rgb(93 113 134);

    background-color: rgba(238,242,247,0.75);

}

.dataTables_wrapper table tr td {

    border: 1px solid #eaedf1;

    padding: .85rem .85rem;

}

.dataTables_wrapper .dataTables_length {

    margin-bottom: 30px;

}

.dataTables_wrapper .dataTables_length select {

  border-color: #eaedf1;

  color:var(--bs-card-color);

}

.dataTables_wrapper .dataTables_filter input[type="search"] {

    border-color: var(--bs-input-border-color);

    background-color: var(--bs-secondary-bg);

    color: var(--bs-body-color);

    line-height: 1.5;

    padding: .5rem 1rem .5rem 1rem;

    border-radius: .25rem;

    font-size: .875rem;

    border: 1px solid #d2d6dc;

}

.dataTables_wrapper .dataTables_info {

    padding-top: 30px;

}

.dataTables_wrapper .dataTables_paginate {

    padding-top: 30px;

}

.dataTables_wrapper .dataTables_paginate .paginate_button {

    padding: 0;

    margin: 0 5px;

}

.select2-container .selection .select2-selection {
    border-color: var(--bs-input-border-color);
}

.select2-dropdown {
    border-color: var(--bs-input-border-color);
}

.select2-container--default .select2-selection--multiple {
    padding:.5rem 3rem .5rem 1rem;
}

span.astrik {
    color:red;
}

.dataTables_wrapper table {
        table-layout: unset; 
    }

    .dataTables_wrapper table thead tr th {
         padding: 15px 30px;
        white-space: nowrap;
    }

    .task-table-wrap, .dataTables_wrapper {
        overflow-x: auto;       
    }
    .card-body-icon img {
        height: 68px;
        object-fit: contain;
    }
    .card-body-icon {
         padding: 10px;
    background: #fff;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.inner-card-body {
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}
#spinner-overlay, .spinner-overlay {
display: flex; 
position: fixed; 
z-index: 9999; 
top: 0; 
left: 0; 
width: 100%; 
height: 100%;
 background: rgba(255,255,255,0.7);
 justify-content: center; 
align-items: center;
 
}









/* email css start here */



.message-list li {
    position: relative;
    display: block;
    height: 48px;
    line-height: 48px;
    cursor: default;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    background: #fff;
    margin-bottom: 1px;
    -webkit-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.message-list li .col-mail-1 {
    display: flex;
    -webkit-box-align: end;
    align-items: center;
    gap: 18px;
    width: 20%;
}

.message-list li .col-mail {    
    position: relative;
}

.message-list li .col-mail-2 {
    position: absolute;
    top: 0;
    left: 20%;
    right: 0;
    bottom: 0;
}


.message-list li .col-mail-1 .checkbox-wrapper-mail {
    margin-left: 18px;
    }


.message-list .checkbox-wrapper-mail {
    cursor: pointer;
    height: 20px;
    width: 20px;
    position: relative;
    display: inline-block;
    -webkit-box-shadow: inset 0 0 0 2px #8486a7;
    box-shadow: inset 0 0 0 2px #8486a7;
    border-radius: 3px;
}

.message-list .checkbox-wrapper-mail input {
    opacity: 0;
    cursor: pointer;
}

.message-list .checkbox-wrapper-mail label {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    cursor: pointer;
    background: var(--bs-body-color);
    opacity: 0;
    margin-bottom: 0 !important;
    -webkit-transition-duration: 50ms;
    transition-duration: 50ms;
}

.message-list .checkbox-wrapper-mail input:checked~label {
    opacity: 1;
}

.message-list li .col-mail-1 .title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 0;
    line-height: 50px;
        width: calc(100% - 125px);
}


.message-list {
    display: block;
    padding-left: 0;
}

.message-list li .col-mail-1 .important-toggle, .message-list li .col-mail-1 .star-toggle, .message-list li .col-mail-1 .trash-toggle {
    color: var(--bs-link-color);
    font-size: 20px;
    margin: 0 10px 0 10px;
    cursor: pointer;
}


.star {
    color: #bbb;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 24px;
}

.star.starred {
    color: #f7b500;
}

.offcanvas.hiding, .offcanvas.show, .offcanvas.showing {
    visibility: visible;
}


.message-list li .col-mail-2 .date {
    right: 0;    
    position: absolute;
    top: 0;
    background: #fff;
    width: 100px;
    padding-left: 10px;
}


.message-list li .col-mail-2 .subject {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.mail-read {
    width: 100% !important;
    max-width: 100% !important;
    z-index: 990 !important;
}

.position-absolute {
    position: absolute !important;
}

.compose-mail .modal-dialog {
    width: 600px !important;
}


.bx-reply:before {
    content: "\f5e3";
}
.bx-forward:before {
    content: "\f3d8";
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #1e84c4!important;
}

.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {
    position: absolute;
    margin-top: -9px;
    right: 0;
    top: 50%;
    width: 18px;
    left: auto;
} 

.chat-conversation-list .odd .chat-ctext-wrap {
    background-color: #1e84c4;
    color: #fff;
    border-radius: .15rem 0 .15rem .15rem;
}

.chat-conversation-list .chat-ctext-wrap {
    background: var(--bs-tertiary-bg);
    border-radius: 0 .15rem .15rem;
    display: inline-block;
    padding: .5rem 1rem;
    position: relative;
    max-width: 750px;
    margin-left: 10px;
}

.dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center {
    position: relative;
}


.chat-conversation-list li .chat-conversation-actions {
    opacity: 0;
    float: right;
}

.chat-conversation-list li {
    margin-bottom: 20px;
    position: relative;
    list-style: none;
}

.chat-conversation-list li .chat-conversation-text:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    border: solid transparent;
    height: 0;
    width: 0;
    border-top-color: #f8f9fa;
    border-width: 6px;
    margin-right: -1px;
    border-right-color: #f8f9fa;
}
.simplebar-content:after, .simplebar-content:before {
    content: " ";
    display: table;
}

.chat-conversation-list .odd .chat-conversation-text:first-child::before {
    border-color: transparent;
    border-left-color: #1e84c4;
    border-top-color: #1e84c4;
    right: 3px;
    left: auto;
}



.chat-conversation-list .odd .chat-conversation-text {
    float: right !important;
    text-align: right !important;
    margin-right: 10px;
    clear: both;
}

.simplebar-content li p{
    margin: 0;
}

.chat-conversation-list .odd .chat-conversation-text {
    float: right !important;
    text-align: right !important;
    margin-right: 10px;
    clear: both;
}

.chat-conversation-list li .chat-conversation-text {
    margin-bottom: .3125rem;
}

.simplebar-content-wrapper {
    direction: inherit;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    visibility: visible;
    overflow: auto;
    max-width: 100%;
    max-height: 100%;
    scrollbar-width: none;
}

.chat-conversation-list {
    height: 600px;
    overflow: auto;
}

.chat-setting-height {
    height: 508px;
    overflow: auto;
}
.simplebar-wrapper {
    overflow: auto;
}

.chat-search {
    display: table;
    width: 100%;
    padding-bottom: 1.25rem;
}


.mySwiper .swiper-slide {
    flex-shrink: 0;
    width: fit-content !important;
    height: 100%;
    position: relative;
    transition-property: transform;
}
.chat-user-status-box {
    display: flex;
}
.chat-user-status-box span {
    position: relative;
}


.chat-user-status-box span::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 2px;
    height: 11px;
    width: 11px;
    background-color: #1bb394;
    border: 2px solid #eaedf1;
    border-radius: 50%;
}





.chat-search .chat-search-box .search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.chat-search .chat-search-box {
    position: relative;
}
.app-chat-setting {
    overflow: auto;
}


.message-list li.unread a {
    font-weight: 600;
    color: #424e5a;
}

.message-list li:hover {
background-color: #eef2f7;
transition-duration: 50ms;
}

.hide-section {
    display:none;
}


#Contactoffcanvas .offcanvas-header {
  display: flex!important;
}
@media screen and (max-width:1399px) {
  .chat-conversation-list {
    height: 300px;
   
}

}
@media screen and (max-width:1140px) {

  .topbar {

      padding: 0 1.25rem;

  }

}

 @media (min-width: 1367px) and (max-width: 1599px) {
    .chat-conversation-list {
    height: 412px;
   
}

.chat-setting-height {
    height: 320px;
   
}
} 

 @media (min-width: 1600px) and (max-width: 1799px) {
  .chat-conversation-list {
    height: 517px;
   
}

.chat-setting-height {
    height: 425px;
   
}
 }

@media screen and (max-width:767px){

    .btn-secondary {
        white-space: nowrap;
    }

   .dataTables_wrapper table thead tr th {
    padding: 8px 18px 8px 8px;
}

    .btn-danger.btn-delete {
        margin: 4px 0;
    }

    .dataTables_wrapper table tr td {
        padding: 6px;
    }
  .dataTables_wrapper .dataTables_filter {

      margin-bottom: 30px;

  }

  .dataTables_wrapper .dataTables_length {

      margin-bottom: 10px;

  }
.inner-card-body {
    justify-content: space-between;
}
.card-body-icon {   
    width: 62px;
    height: 62px;
   
}
.card-body-icon img {
    height: 45px;

}

.inner-card-body {
    padding: 20px
}

 .inbox-rightbar>.btn-group {
        margin-bottom:10px;
    }
    .message-list li .col-mail-2 .date {
        text-align: right;
        padding-right: 10px;
        padding-left: 20px;
        width: 80px;
    }
    .chat-conversation-list, .chat-setting-height {
    height: auto;
   
}


}

@media (max-width: 992px){
  .message-list li .col-mail-1 {
    width: 30% !important;
    gap: 8px;
}

    .message-list li .col-mail-1 .title {
        left: 54%!important;
    }
    .message-list li .col-mail-2 {
        left: 32% !important;
    }
}

@media (min-width: 1399px) {
.chat-side-bar {
    overflow: hidden;
}
}
@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 800px;
    }
    
}

@media (max-width: 648px) {
    .email-container .inbox-leftbar {
        width:100%;
        float: none;
        margin-bottom: 21px;
        padding-bottom: 1.25rem
    }
 .message-list .checkbox-wrapper-mail{
        height: 14px;
        width: auto;
    }
    .email-container .inbox-rightbar {
        margin-left: 0;
        border: 0;
        padding-left: 0
    }
}


@media (min-width: 576px) {
    .modal-dialog {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: auto;
    }
   
}


