.min-vh-80{
    height: 80vh;
}

.min-vh-50{
    height: 50vh;
}

.chonky-toolbarWrapper{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.chonky-baseButton, .chonky-baseButton:not(.chonky-iconOnlyButton){
    background-color:#16ccf7;
    padding: 10px;
    border-radius: 10px;
    margin-right: 10px;
}

button[title="Create a folder"]{
    background-color: #0d6efd !important;
    color: #fff;
}

button[title="Actions"]{
    background-color: #ffc009 !important;
    color: #fff;
}

button[title="Upload files"]{
    background-color: #1a8753 !important;
    color: #fff;
}

.preview-modal{
    height: 600px;
}

.MuiPaper-root.MuiMenu-paper{
   top: 200px !important;
}

.MuiMenu-list .chonky-baseButton, .MuiBreadcrumbs-li .chonky-baseButton{
    background-color: #fff;
}

.chonky-searchFieldContainer{
    width: 25% !important;
    height: 100px
}

.modal.show .modal-dialog{
    margin-top: 5%;
}

.css-1ex1afd-MuiTableCell-root{
    /* border: none !important; */
}

.css-y8ay40-MuiTableCell-root{
    /* border: none !important; */
}

.clients-list{
    border-bottom: 1px solid #ccc;
}

button[title="Reload"]{
    background-color: #1ccbf4;
    padding: 10px;
    border-radius: 5px;
    margin-right: 10px;
}

.overlay-mask {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    position: absolute;
}

.overlay-mask .fa-spin {
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.modal.show .preview-modal{
    margin-top: 0 !important;
}    

div[class^="previewFile"]{
    background-color: transparent !important;
}

.delete-icon{
    height: 20px;
    width: 20px;
    border: 1px solid red;
    background-color: red;
    color: #fff;
    border-radius: 50px;
    padding-top: 1px;
    text-align: center;
}


span[class^="gridFileEntryName-"]{
    display: inline-block;
    overflow: hidden;
    word-break: break-all;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 165px;
}

.sidebaricon{
    color: #fff;
    position: absolute;
    left: 20px;
}

.clients{
    border: 1px solid #ccc;
    max-height: 70vh;
    overflow: auto;
    border-radius: 4px;
}

input[name="searchTerm"]{
    padding: 10px 14px 11px 14px;
}

.css-1d3z3hw-MuiOutlinedInput-notchedOutline{
    top: 0 !important;
}

div[role="listitem"]{
    cursor: pointer;
}



/* sidebar */

#body-overlay {
    width: 100vw;
    height: 100vh;
    display: none;
    position: fixed;
    z-index: 3;
    top: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

#sidebar {
    position: absolute;
    z-index: 9;
    width: 300px;
    min-height: 100vh;
    margin-left: -300px;
    background: #111214;
    border-right: 1px solid #ccc;
    color: #fff;
    transition: all 0.4s;
}

#sidebarClose{
    float: right;
    color: #005086;
    cursor: pointer;
    height: 40px;
    width: 40px;
    background-color: #fff;
    line-height: 40px;
    border-radius: 5px;
    text-align: center;
}

#sidebar.active {
    margin-left: 0px;
}

.login-form-container{
    min-height: 400px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #005086;
}

.last-menu-items{
    padding-left:0;
}

ul{
    list-style: none;
}

#sidebar ul.components {
    padding: 20px 0px;
    min-height: 80vh;
    /* border-bottom: 1px solid #47748b; */
}

ul p {
    padding: 10px;
    font-size: 15px;
    display: block;
    color: #fff;
}

ul li a {
    padding: 10px;
    font-size: 1.1em;
    text-decoration: none;
    display: block;
    padding-left: 20px;
    color: #fff;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #318fb5;
}


#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
    background: #318fb5;
}

p{
    margin-bottom: 5px !important;
}

.bottom-menus{
    position: absolute;
    bottom: 0;
    width: 100%;
}

.user-profile-img{
    height: 50px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 0 20%;
    box-shadow: 1px 2px 2px;
}

.sidebaricon{
    cursor: pointer;
}

.mobile-client-heading{
    flex-basis: 25%
}

.mobile-client-content{
    flex-basis: 75%;
    overflow-wrap: break-word;
    width: 75%;
}

.MuiListItemIcon-root.chonky-icon svg{
    height: 15px;
    width: 20px;
}

#sms-history-sidebar{
    position: absolute;
    height: 100vh;
    overflow: auto;
    background-color: #000;
    border: none;
    display: none;
    z-index: 9;
    width: 35%;
    right: 0;
}

#sms-history-sidebar.active {
    display: block;
}

#sms-history-sidebar-close{
    cursor: pointer;
    color: #fff;
}

/* sidebar ends */


/* chat ui start */

.inbox_people {
  background: #f8f8f8 none repeat scroll 0 0;
  float: left;
  overflow: hidden;
  width: 40%; border-right:1px solid #c4c4c4;
}
.inbox_msg {
  border: 1px solid #c4c4c4;
  clear: both;
  overflow: hidden;
}
.top_spac{ margin: 20px 0 0;}


.recent_heading {float: left; width:40%;}

.recent_heading h4 {
  color: #05728f;
  font-size: 21px;
  margin: auto;
}

.chat_ib h5{ font-size:15px; color:#464646; margin:0 0 8px 0;}
.chat_ib h5 span{ font-size:13px; float:right;}
.chat_ib p{ font-size:14px; color:#989898; margin:auto}
.chat_ib {
  float: left;
  padding: 0 0 0 15px;
  width: 88%;
}

.chat_people{ overflow:hidden; clear:both;}
.chat_list {
  border-bottom: 1px solid #c4c4c4;
  margin: 0;
  padding: 18px 16px 10px;
}
.inbox_chat { height: 550px; overflow-y: scroll;}

.active_chat{ background:#ebebeb;}

.received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
 }
 .received_withd_msg p {
  background: #ebebeb none repeat scroll 0 0;
  border-radius: 3px;
  color: #646464;
  font-size: 14px;
  margin: 0;
  padding: 10px;
  width: 100%;
}
.time_date {
  color: #747474;
  display: block;
  font-size: 12px;
}

.sms_status{
    color: #747474;
    display: block;
    font-size: 12px;
    text-transform: capitalize;
}

.received_withd_msg { width: 57%;}
.mesgs {
  padding: 30px 5px 0 5px;
  width: 100%;
}

 .sent_msg p {
  background: #05728f none repeat scroll 0 0;
  border-radius: 3px;
  font-size: 14px;
  margin: 0; color:#fff;
  padding: 10px;
  width:100%;
}
.outgoing_msg{ overflow:hidden; margin:26px 0 26px;}
.sent_msg {
  float: right;
  width: 50%;
}

.messaging { padding: 0 0 50px 0;}
.msg_history {
  height: 50vh;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #454444;
  border-radius: 10px;
  margin-top: 10px;
}

.send-sms-btn{
    float: right;
}

.blink_me {
    animation: blinker 1s linear infinite;
    color: #fff;
}

.text-white{
    color: #ffff;
}

.sync-messages{
    border: 1px solid #fff !important;
    text-transform: capitalize !important;
    color: #fff !important;    
}

.smstextarea{
    border: none !important;
}

.sms-history-icon{
    height: 25px !important;
    width: 25px !important;
    border-radius: 50px;
    background-color: #34b4eb;
    padding:5px;
    margin-bottom: 5px;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* chat ui end */

@media screen and (max-width: 3250px) and (min-width: 2000px){
    .msg_history{
        height: 60vh;
    }
}

@media screen and (max-width: 1540px) and (min-width: 1367px){
    .clients{
        max-height: 65vh;
    }
    .msg_history{
        height: 45vh;
    }
}

@media screen and (max-width: 1366px) and (min-width: 1100px){
    .msg_history{
        height: 40vh;
    }
}

@media screen and (max-width: 992px) {
    .container {
       width: 100% !important;
    }
 }

@media screen and (max-width: 767px) {
    #sms-history-sidebar{
        width: 100%;
    }

    .msg_history{
        border: 1px solid #f8f8f8;
        border-radius: 5px;
    }

    .received_withd_msg{
        width: 90%;
    }

    .sent_msg{
        width: 80%;
    }

    .mesgs{
        padding: 10px 0px 0 5px;
    }

    .preview-modal{
        height: 400px;
        width: '100%';
    }

    .fa-rotate-right{
        font-size: 24px;
    }

    .sidebaricon{
        left: 10px;
    }

    /* .modal-body{
        padding-left: 5px !important;
        padding-right: 5px !important;
    } */
    
    .chonky-toolbarLeft{
        margin-top: 20px;
        position: relative;
    }
    .chonky-toolbarRight{
        flex-wrap: wrap !important;
        position: relative;
        width: 100%;
    }    

    .chonky-toolbarLeft .chonky-infoContainer{
        position: absolute;
        top: 30px;
        left: -10px;
    }
    .chonky-toolbarRight .chonky-baseButton{
        margin-top: 5px;
    }
    .chonky-toolbarWrapper{
        margin-top: 0;
        margin-bottom: 3rem;
    }
    .chonky-searchFieldContainer{
        width: 70% !important;
    }
    .chonky-chonkyRoot{
        border: none !important;
    }
    button[title="Switch to Grid view"]{
        position: absolute;
        right: 0;
        bottom: -52px;
    }
    button[title="Switch to List view"]{
        position: absolute;
        right: 22px;
        bottom: -52px;
    }
    .modal.show .modal-dialog{
        margin-top: 30% !important;
    }
    .MuiPaper-root.MuiMenu-paper{
        top: 160px !important;
    }
     nav.navbar{
        padding: 10px;
    }
}

@media screen and (max-width: 576px){
    .chonky-toolbarRight .chonky-baseButton .MuiButton-label{
        font-size: 11px;
    }
    button{
        font-size: 13px !important;
    }
    .heading{
        font-size: 19px;
    }
    label{
        font-size: 13px;
    }
    .MuiBreadcrumbs-li .MuiButtonBase-root{
        margin-right: 0px;
        padding: 0;
    }
    .chonky-navbarContainer{
        margin-bottom: 10px;
    }
    button[title="Reload"]{
        position: absolute;
        right: 45px;
        bottom: -45px;
    }

    button[title="Switch to Grid view"] .svg-inline--fa, button[title="Switch to List view"] .svg-inline--fa {
        height: 2em !important;
    }

    .min-vh-80{
        height: 90vh;
    }

    .overlay-mask .fa-spin{
        left: 40%;
    }
}