* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.main-content {
    min-height: 300px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.ui {
    margin: 0 auto;
    margin-top: 2em;
    height: 555px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 25px #3a9fc4;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
}

.ui .search input {
    outline: none;
    border: none;
    background: none;
}

.ui .search {
    position: relative;
}

.ui .search input[type=submit] {
    font-family: 'FontAwesome';
    position: absolute;
    right: 30px;
    top: 25px;
    color: white;
}

.ui .search input#txtSearch[type=search] {
    background-color: #696c75 !important;
    border-radius: 3px;
    padding: 10px 27px 10px 10px;
    width: 90%;
    box-sizing: border-box;
    margin: 15px 10px;
    color: #fff;
}

.ui .left-menu {
    width: 29%;
    box-sizing: content-box;
    padding-right: 1%;
    height: 100%;
    background: #434753;
}

.ui .left-menu--lg {
    width: 36%;
}

.ui .chat {
    width: 70%;
    height: 100%;
    background: #f1f5f8 !important;
}

.ui .chat .info {
    /*display: -webkit-inline-box;*/
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    vertical-align: 9px;
    width: calc(100% - 65px - 50px);
}

.ui .chat .info.group {
    /*display: -webkit-inline-box;*/
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    vertical-align: 9px;
    width: calc(100% - 65px - 90px);
}

.ui .chat .info.group .name button {
    border: 0;
    background-color: transparent;
}

.ui .chat .info.group .name button i.fa-check {
    color: #4CAF50;
}

.ui .chat .info.group .name button[disabled="disabled"] i.fa-check {
    color: #333;
}

.ui .chat .info.info--double {
    width: calc(100% - 90px - 175px);
}

.ui .chat .info .name {
    font-weight: 600;
    color: #434753;
    height: 50%;
}

.ui .chat .info .count {
    color: #6d738d;
}

.ui .avatar > img,
.ui .avatar > .img_avatar,
.ui .list-friends img,
.ui .list-friends .img_avatar {
    border-radius: 50%;
    border: 3px solid #696c75;
}

.ui .list-friends .img_avatar,
.ui .avatar > .img_avatar {
    display: inline-block;
    width: 50px;
    height: 50px;
    font-size: 25px;
    color: #ffcc80;
    text-align: center;
    vertical-align: middle;
    background: #e3e3e3;
}

.ui .list-friends .img_avatar > i,
.ui .avatar > .img_avatar > i {
    margin-top: 10px;
}

.ui .avatar > .img_avatar {
    margin: 10px 5px 10px 10px;
}

.ui .list-friends {
    list-style: none;
    font-size: 13px;
    height: 86%;
    overflow-y: auto;
}

.ui .list-friends.list-friends--no-search {
    height: calc(100% - 54px);
}

.ui .list-friends.list-friends--conversation {
    padding-top: 15px;
}

.ui .list-friends img,
.ui .list-friends .img_avatar {
    margin: 5px;
}

.ui .img-avatar--group {
    color: #a9a9a9 !important;
}

.ui .add-group {
    display: block;
    color: #fff;
    padding: 15px 0;
    margin-left: 10px;
    cursor: pointer;
}

.ui .add-group:hover {
    color: #2fb097;
}

.ui .list-friends > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 0 10px 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.ui .list-friends > li:hover,
.ui .list-friends > li.highlight {
    background: rgba(255, 255, 255, 0.15);
}

.ui .list-friends .info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.ui .list-friends .user {
    color: #fff;
    margin-top: 12px;
}

.ui .list-friends .group {
    color: #fff;
    margin-top: 20px;
}

.ui .list-friends .all {
    line-height: 60px;
    height: 100%;
    color: #fff;
}

.ui .list-friends .status {
    position: relative;
    margin-left: 14px;
    color: #a8adb3;
}

.ui .list-friends .email {
    position: relative;
    color: #a8adb3;
}

.ui .list-friends .off:after,
.ui .list-friends .on:after {
    content: '';
    left: -12px;
    top: 8px;
    position: absolute;
    height: 7px;
    width: 7px;
    border-radius: 50%;
}

.ui .list-friends .off:after {
    background: #fd8064;
}

.ui .list-friends .on:after {
    background: #62bf6e;
}

.ui .top {
    height: 70px;
    position: relative;
}

.ui .messages {
    height: calc(100% - 70px - 150px);
    list-style: none;
    border: 2px solid #fff;
    border-left: none;
    border-right: none;
    overflow: auto;
}

.ui .messages.message--no-input {
    height: calc(100% - 70px);
}

.ui .messages li {
    margin: 10px;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.ui .messages li:after {
    content: '';
    clear: both;
    display: block;
}

.ui .messages li .head {
    font-size: 13px;
}

.ui .messages li .name {
    font-weight: 600;
    position: relative;
}

.ui .messages li .name:after {
    content: '';
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    top: 6px;
}

.ui .messages li .time {
    color: #b7bccf;
}

.ui .messages li .message {
    margin-top: 20px;
    color: #fff;
    font-size: 15px;
    border-radius: 3px;
    padding: 20px;
    line-height: 25px;
    max-width: 500px;
    word-wrap: break-word;
    position: relative;
}

.ui .messages li .message:before {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    top: -12px;
    border-bottom: 12px solid #62bf6e;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.ui .messages li.from-friend .name {
    margin-left: 3px;
}

.ui .messages li.from-friend .message {
    background-color: #62bf6e !important;
    float: left;
}

.ui .messages li.from-friend .message:before {
    left: 16px;
    border-bottom-color: #62bf6e;
}

.ui .messages li.i .head {
    text-align: right;
}

.ui .messages li.i .name {
    margin-right: 2px;
}

.ui .messages li.i .thumb,
.ui .messages li.from-friend .thumb {
    width: 32px;
    height: 32px;
    margin-top: -3px;
    border-radius: 50%;
    border: 1px solid #e3e3e3;
}

.ui .messages li.i .message {
    background-color: #7bc4ef !important;
    float: right;
}

.ui .messages li.i .message:before {
    right: 16px;
    border-bottom-color: #7bc4ef;
}

.ui .write-form {
    height: 150px;
}

.ui .write-form textarea {
    height: 75px;
    margin: 17px 5% 5px;
    width: 90%;
    outline: none;
    padding: 15px;
    border: none;
    border-radius: 3px;
    resize: none;
}

.ui .write-form textarea:before {
    content: '';
    clear: both;
}

.ui .avatar > img {
    border-color: #62bf6e;
    margin: 10px 5px 10px 10px;
}

.ui .avatar {
    display: inline-block;
}

.ui .btn-refresh,
.ui .btn-print {
    background: transparent;
    border: none;
    padding: 5px 10px;
}

.ui .send {
    color: #7ac5ef;
    text-transform: uppercase;
    font-weight: 700;
    float: right;
    margin-right: 5%;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ui i.fa-file-o {
    margin-left: 15px;
}

.ui i.fa-picture-o,
.ui .upload-icon {
    margin-left: 5%;
}

.list-users {
    max-height: 300px;
    overflow: auto;
    margin-top: 5px;
}

.list-users_item {
    margin: 5px 0;
    padding: 0 15px;
    cursor: pointer;
}

.list-users_item--checked,
.list-users_item:hover {
    background: rgba(0, 0, 0, 0.15);
}

.list-users_checkbox {
    margin-top: 27px !important;
}

.list-users_avatar {
    margin: 9px 15px;
}

.list-users_info {
    margin-top: 11px;
}

.notify_new {
    background: green;
}

.ui .print-date {
    position: absolute;
    right: 45px;
    left: 0;
    visibility: hidden;
    top: 10px;
}

.print-screen.ui.one-conversation-message {
    display: none;
}

.print-screen.ui.list-conversation-message {
    display: none;
}

@media print {
    * {
        visibility: hidden;
    }

    a[href]:after {
        content: none !important;
    }

    header,
    footer,
    .chat-box {
        display: none !important;
    }

    .container.main-content-container.operr-nav-900-resolution,
    .main-container {
        padding: 0;
    }

    .print-screen * {
        visibility: visible;
        -webkit-print-color-adjust: exact;
    }

    .print-screen.ui .chat {
        width: 100%;
    }

    .print-screen.ui {
        height: auto;
        margin-top: 0;
    }

    .print-screen.ui.one-conversation-message {
        display: block;
    }

    .print-screen.ui.list-conversation-message {
        display: block;
    }
}