html, body {
    min-height: 100%;
    min-width: 600px;
    height: 100%;
    width: 100%;
    /*background: url(/assets/img/bg.jpg) repeat #fff;*/
    background: #fff;
    font-size: 13px;
}

body {
    color: #202025;
}

.full-height {
    height: 100vh;
    max-height: 100vh;
}
#chat-app-wrap {
    min-width: 1000px;
}
#chats-container {
    min-width: calc(20% - 110px);
}
#chats-container .list-group-flush {
    overflow: auto;
}
#chat-content .chat-container {
    overflow: hidden;
    overflow-y: auto;
}
#chat-content {
    min-width: calc(80% - 110px);
}
#chat-content .chat-block-left {
    min-width: calc(100% - 292px);
}
#chat-content .chat-block-right {
    min-width: 292px;
}
#chat-content .message {
    max-width: calc(100% - 100px);
}
#chat-content .message .m-date {
    right: -94px;
    bottom: 5px;
    position: absolute;
}
#chat-content .message.from-message .m-date {
    left: -100px;
    bottom: 5px;
    position: absolute;
    right: inherit;
}
#chat-content .message:after {
    opacity: 0;
    content: '\f0e0';
    font-family: "Font Awesome 5 Free";
    position: absolute;
    width: 20px;
    height: 20px;
    right: -25px;
    color: #000;
    top: 5px;
    transition: opacity 0.5s;
}
#chat-content .message.unread:after {
    opacity: 1;
}
#chat-content .message:before {
    display: none;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f2f4fb;
    top: 13px;
    position: absolute;
    left: -5px;
    z-index: 0;
    content: "";
}
#chat-content .message.from-message:before {
    border-right: none;
    border-left: 10px solid #f2f4fb;
    right: -5px;
    left: inherit;
}
#chat-content .row.showAvatar .message:before {
    display: block;
}
#chat-content .message.user-message {
    background-color: #c5c9ea;
}
#chat-content .message.user-message:before {
    border-right-color: #c5c9ea;
}
#chat-content .message.from-message {
    background-color: #dcedc8;
}
#chat-content .message.from-message:before {
    border-left-color: #dcedc8;
}
#chat-content .row .avatar {
    visibility: hidden;
}
#chat-content .row .avatar .avatar-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 14px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: transparent;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-pack: center;
    justify-content: center;
}
#chat-content .row .avatar.from-avatar .avatar-container {
    left: 0px;
}
#chat-content .row .avatar .avatar-container.a-letter {
    background-color: #cccccc;
    color: #fff;
    font-size: 23px;
    font-weight: bold;
    line-height: 38px;
    vertical-align: top;
}
#chat-content .row.showAvatar .avatar {
    visibility: visible;
}
#chat-content .sender {
    color: #949DB2;
    font-size: 11px;
}
#chat-content .info-table .avatar-container {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: transparent;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-pack: center;
    justify-content: center;
}
#chat-content .info-table .avatar-container.a-letter {
    background-color: #cccccc;
    color: #fff;
    font-size: 31px;
    line-height: 73px;
    vertical-align: top;
}
#chatgroup-container {
    width: 110px;
    background: #f3f4f5;
}
#chatgroup-container .chatGroup-link {
    opacity: 0.5;
    transition: opacity 0.5s;
}
#chatgroup-container .chatGroup-link * {
    color: #202025;
}
#chatgroup-container .chatGroup-link:hover, #chatgroup-container .chatGroup-link.active {
    opacity: 1;
    outline: none;
    box-shadow: none;
}
#chatgroup-container .chatGroup-link:hover *, #chatgroup-container .chatGroup-link.active * {
    color: #3CAA4E;
}
#chatgroup-container .chat-group-name {
    opacity: 1;
    transition: opacity 0.5s;
}
#chatgroup-container:hover .chat-group-name {
    opacity: 1;
}

a.chatGroup-link {
    position: relative;
}

a.chatGroup-link .unread {
    position: absolute;
    top: -6px;
    right: -6px;
}
a.chatGroup-link .count {
    position: absolute;
    bottom: -6px;
    right: -6px;
    top: inherit;
}
.unread.empty, .count.empty {
    display: none;
}
#chatgroup-container a.chatGroup-link .badge.badge-pill {
    color: #fff;
}

.file-input.theme-fas {
    display: none;
}
form.mass-notification-form .file-input.theme-fas {
    display: block;
}
.mejs__container {
    background-color: #17a2b8;
}

.chat-link:hover .chat-info {
    visibility: visible!important;
}
.chat-link small {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    color: #d8d8d8;
    font-size: 13px;
    height: 20px;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
}

.chat-message-input {
    overflow: hidden;
    resize: none;
}


/*#chat-content * {pointer-events: none;}*/
/*
.file-input.theme-fas {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 15px;
    width: 100vw;
    height: 100vh;
}

.file-input.theme-fas .file-preview {
    height: 100%;
}

.file-input.theme-fas .file-drop-zone {
    height: 98%;
}*/
.auth-wrapper {
    width: 800px;
}
.auth-form-wrapper {
    margin-top: -150px;
}
form.mass-notification-form .broadcast-all-toggle {
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px dashed;
    position: relative;
    left: 20px;
}
form.mass-notification-form .broadcast-all-toggle.active {
    color: red;
    border-bottom-color: red;
}

.user-search-block .close {
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0;
    transition: opacity 200ms ease;
}

/** STUFF **/
.disable-user-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.position-br {
    position: absolute;
    right: 0;
    bottom: 0;
}
.mejs__overlay-button {
    background-image: url("/assets/vendor/img/mejs-controls.svg");
}
.mejs__overlay-loading-bg-img {
    background-image: url("/assets/vendor/img/mejs-controls.svg");
}
.mejs__button > button {
    background-image: url("/assets/vendor/img/mejs-controls.svg");
}

.krajee-default.file-preview-frame .kv-file-content {
    width: 120px;
    height: 90px;
}
.krajee-default.file-preview-frame .kv-file-content .file-preview-other {
    width: 120px;
    height: 90px;
}
.krajee-default .file-other-icon {
    font-size: 5em;
}
.krajee-default .file-caption-info, .krajee-default .file-size-info {
    width: 120px;
}

.ekko-lightbox-nav-overlay {
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
}