@charset "utf-8";

:root {
    --dark-blue: #053159;
    --semidark-blue: #4E6D89;
    --text-color: #06041F;
    --gray-color: #9BADBD;
    --light-gray-color: #EAF3FC;
    --green-color: #62C300;
    --red-color:  #FF5449;
    --top-menu-height: 60px;
    --light-green-color: #D0EDB3;
}
#inbox_form,
#root_message .msg-text
{ font-size: 16px; }

.dialog-wrap a.btn {
    min-height: 20px;
    max-width: 400px;
    overflow: hidden;
    padding: 5px 10px 5px 22px;
    position: relative;
}
.dialog-wrap a.btn img {
    left: 15px;
    position: absolute;
    top: 10px;
}

#folder_menu .dropdown-menu .btn-link {
    text-align: left;
    width: 100%;
}

#manInputFile {
    position: absolute;
    left: 0;
    top: 0;
}

#selected_group {
    display: inline-block;
}

#send_controll .popover {
    width: 260px;
}

.dialog-subject {
    font-size: 15px;
    font-weight: 600;
    padding: 10px 15px;
    margin: 0 0 10px 0;
   border-bottom: 1px solid rgba(6, 4, 31, 0.05);

}

.file_info {
    font-weight: normal;
    height: 25px;
    margin-top: 5px;
}
.file_info .icon-remove {
    opacity: 0;
    -webkit-transition: all 0.1s ease 0s;
    -moz-transition: all 0.1s ease 0s;
    -o-transition: all 0.1s ease 0s;
    transition: all 0.1s ease 0s;
}
.file_info:hover .icon-remove {
    opacity: 1;
}

.folder_icon {
    font-size: 18px;
}

.lamma240 {
    margin-top:50px;
}
@media (max-width: 1200px) {
    .lamma240 {  display:none;    }
}

.last_dialog_list  {
    border: 1px solid rgba(5, 49, 89, 0.2);
    font-size: 14px;
    font-weight: 400;
}
.last_dialog_list li a {

    overflow-x: hidden;
    word-wrap: break-word;
    padding: 12px 10px 10px 48px;
    position: relative;
    line-height: 1.4;
    border-bottom: 1px solid rgba(5, 49, 89, 0.2);
    color: rgba(81, 79, 98, 0.8);
}
.last_dialog_list li:last-child a {
    border-bottom-color: transparent;
}
.last_dialog_list li a .user {
    color: rgba(6, 4, 31, 0.8);
    font-weight: 600;
    position: relative;
     white-space: nowrap;
     display: block;
     text-overflow: ellipsis;
     overflow: hidden;
    line-height: 1.6;
 }


.last_dialog_list li a:hover {
    background: white;
    box-shadow: 0 0 5px 0 rgba(5, 49, 89, 0.2);

}

.last_dialog_list li.active a {
    background:  var(--dark-blue);
    color: white;
    color: rgba(255, 255, 255, 0.8)
}
.last_dialog_list li.unread a {
    background:   rgba(98, 195, 0, 0.2);
}
.last_dialog_list li.active a .user {
    color: white;
}

.last_dialog_list li a .avatar_div {
   position: absolute;
    top: 16px;
    left: 9px;
}
.last_dialog_list li  a .avatar_div img {
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 100%;
    height: 30px;
    width: 30px;
}

.last_dialog_list li  a .avatar_div .badge-ava::before {
    width: 40%;
    height: 40%;
    top: -3px;
    right: -3px
}

.last_dialog_list li a .li-dialog-subject {
    color: var(--semidark-blue);
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .7;
    display: block;
    margin-top: -3px;
    overflow: hidden;
}
.last_dialog_list li a .message-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.last_dialog_list li a .message-row .message-text {
    white-space: nowrap;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
}

.last_dialog_list li.unread a .message-row .message-text {
    color:  rgba(81, 79, 98, 1);
    font-weight: 500;
}
.last_dialog_list li  a .message-row i {
    font-style: normal;
    opacity: .66;
    flex-shrink: 0;
}


.last_dialog_list li a .count-unread {
    margin-top: -2px;
    margin-left: 2px;
    opacity: 0;
    transition: opacity 0.5s;
}
.last_dialog_list li a:hover .count-unread {
    opacity: 1;
}

.last_dialog_list li .date-time {
    float: right;
    display: inline-block;
    font-size: 12px;
}
.last_dialog_list li .status {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: no-repeat center center;
    background-size: contain;
}
.last_dialog_list li  .status.read { background-image: url(/pub/img/icons/status-read.svg); }
.last_dialog_list li  .status.unread { background-image: url(/pub/img/icons/status-unread.svg); }

.last_dialog_list_after {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(5, 49, 89, 0.2);
}
.last_dialog_list_after a {
    font-size: 16px;
    color: rgba(5, 49, 89, 0.7);
}

li.active > a span.badge{
    background-color: #F0F0F0;
    color: #333333;
    text-shadow: none;
}
.dialog-wrap {
    margin-bottom: 10px;
    padding: 0 5px; /** сверху и снизу паддинг ломает auto-scroll  js - $("#dialog_wrap").height() или типа того */
}

.msg_wrapp {
    position: relative;
    margin-bottom:25px;
    display: flex;
    align-items: start;
    gap: 5px;

}

.msg_wrapp[data-msg_type="inbox"] {
    justify-content: flex-start;
}
.msg_wrapp[data-msg_type="outbox"] {
    justify-content: flex-end;
}

.msg_wrapp dt { }


.msg_wrapp dt .popover {
    font-weight: normal;
}

.msg_wrapp dt .avatar_div  {
    height: 30px;
    width: 30px;
    top:0;
    left: 0;
    position: absolute;
}
.msg_wrapp[data-msg_type="outbox"] dt .avatar_div {
    left: auto;
    right: 0;
}

.msg_wrapp dt > a > img {
    border: 1px solid #DDDDDD;
    height: 40px;
    left: 0;
    position: absolute;
    width: 40px;
}

.msg_wrapp dt img { /* who is it ? */
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    height: 40px;
    left: 0;
    position: absolute;
    width: 40px;
}

.msg_wrapp dd {
    margin-left: 40px;
    word-wrap: break-word;
    border-radius: 5px;
    padding: 10px 15px 5px 20px;
    background-color: #eaf3fc;
    font-size: 14px;
    color: rgba(81, 79, 98, 1);
    display: inline-block;
    z-index: 1;
    position: relative;
    min-width: 25%;
    max-width: calc(100% - 45px);
}

.msg_wrapp dd small {
    color: #9BADBD;
    font-size: 12px;
}
.msg_wrapp[data-msg_type="inbox"] dd {
    margin-right: 10px;
    border-radius: 0 5px 5px 5px;
}
.msg_wrapp[data-msg_type="inbox"] dd:before {
    content: '';
    width: 40px;
    height: 27px;
    top: 0;
    left: -6px;
    display: block;
    position: absolute;
    background: #eaf3fc;
    border-radius: 5px 0 0 0;
    transform: skew(25deg, 0);
    z-index: -1;
}
.msg_wrapp[data-msg_type="outbox"] dd {
    border-radius: 5px 2px 5px 5px;
    margin-right: 45px;
    background-color:  white;
    border: 1px solid #cdd6de; /*rgba2rgb(RGB_background, RGBA_color) //  rgb(205,214,222) */
    margin-left: 10px;
    position: relative;

}

.msg_wrapp[data-msg_type="outbox"] dd:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 6px solid #cdd6de;
    border-right: 7px solid transparent;
    border-top: 11px solid #cdd6de;
    border-bottom: 10px solid transparent;
    right: -13px;
    top: -1px;
    border-radius: 0 4px 0 0;
}
.msg_wrapp[data-msg_type="outbox"] dd:after {

    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 6px solid #fff;
    border-right: 7px solid transparent;
    border-top: 10px solid #fff;
    border-bottom: 10px solid transparent;
    right: -12px;
    top: 0;
    border-radius: 0 2px 0 0;
}

.msg_wrapp[data-msg_type="outbox"][data-msg_unread]  dd .read-status {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: no-repeat center bottom;
    background-size: contain;

}

.msg_wrapp[data-msg_type="outbox"][data-msg_unread="false"] dd .read-status {
    background-image: url(/pub/img/icons/status-read.svg);
}

.msg_wrapp[data-msg_type="outbox"][data-msg_unread="true"] dd .read-status {
    background-image: url(/pub/img/icons/status-unread.svg);
}
.msg_wrapp dd .text-right { margin-right: -10px; }

.attachments-row {
    flex-wrap: wrap;
    display: flex;
    gap: 10px;
    margin-top:10px;
}

.attachments-row .files {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.dialog-wrap .attachments-row .btn-link {
    font-size: 14px;
    padding: 8px 15px 8px 35px;
    display: inline-block;
    border-radius: 50px;
    background: #86afed;
    color: #514F62 ;
    width: fit-content;
    max-width: 100%;

}
.dialog-wrap .attachments-row .btn-link:hover {
    text-decoration: none;
    background: #7aa4e1;
}
@media (max-width: 768px) {
    .dialog-wrap .attachments-row .btn-link   {
        display: inline-flex;
        flex-wrap: wrap;
        padding: 5px 7px;
    }
    .dialog-wrap .attachments-row .btn-link img {
        display: none;
    }
}
.dialog-wrap .attachments-row .btn-link span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    display: inline-block;
    color: white;
    margin-right: 2px;
}
/* XS */

.msg_img_wrap {
    font-size: 14px !important;
    position: relative;
    overflow: hidden;
    text-align: right;
     width: 165px;
    flex : 0 0 165px;
    padding: 0;
    border: none transparent 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.msg_img_wrap .dialog_img_preview {
    width: 100%;
    display: inline-block;
    background-position: center center;
    background-size: cover;
    aspect-ratio: 1;
    border-radius: 5px;
    border: 1px solid rgba(5, 49, 89, 0.1);

}
.msg_img_wrap .dialog_img_name_wrapper {
    display: block;
    text-align: left;
    width: 500px;
    color: #514F62;
    font-size: 12px;

}
.msg_img_wrap .dialog_img_size {
    background:  linear-gradient(90deg, rgba(255,255,255,0.2) 0%, white 10px);
    bottom: 1px;
    display: block;
    padding-left: 10px;
    position: absolute;
    right: 0;
    font-size: 12px;
}
.msg_wrapp[data-msg_type="inbox"] dd .msg_img_wrap .dialog_img_size {
    background:  linear-gradient(90deg, rgba(234, 243, 252, 0.2) 0%, rgba(234, 243, 252, 1) 10px);
}
.msg_img_wrap .dialog_img_name {
    word-wrap: normal;
}


.old_message_archive { opacity: .1; transition: all .5s ease 0s; }
    .dialog-Left-menu:hover  .old_message_archive { opacity: .4; }
    .dialog-Left-menu .old_message_archive:hover, .dialog-Left-menu .old_message_archive.active { opacity: 1; }

@media (max-width: 979px) {
    #submitFormMessage {
        margin-top: 50px;
    }

    .banner728x90 { display: none; }
}

@media (max-width: 767px) /* xsmall */ {
    table.messages-list { display:block; border: none }
    table.messages-list thead  { display:none }
    table.messages-list tbody  { display:block }
    table.messages-list tr  { display:block; border: none;   margin-bottom: 20px; position: relative; background-color: var(--light-gray-color)  !important;  padding: 10px; border-radius: 5px; }
    table.messages-list tr.info, table.messages-list tr.info td  { background-color: #d9edf7  !important; }
    table.messages-list  td { display:block; border:none !important; padding: 2px 0 !important; }
    table.messages-list  td.btns { display:inline-block;  }
    table.messages-list  td.opponent { display:inline-block;  }
    table.messages-list  td.subject { display:inline-block;  }
    table.messages-list  td.subject small { position: absolute; right: 5px; bottom:5px; background: rgba(245,245,245,.5);   }
    table.messages-list  td.folder { position: absolute; left: 1px; bottom:-1px; background: rgba(245,245,245,.5);    }
    table.messages-list  td.last-message { padding-bottom: 15px; margin-left: 34px; font-weight: bold;  }
    table.messages-list  td.last-message span { width:auto !important; padding-right: 10px;}
    table.messages-list  td.datetime { position: absolute; right: 5px; top:5px; background: rgba(245,245,245,.5); font-size: 12px;  }
    table.messages-list  td.checker  { position: absolute; top: 10px; right: 10px; }
    table.messages-list  td.answered  { display: none;  }
    table.messages-list  td.user-avatar  { position: absolute; top: 10px; left: 10px  }
    table.messages-list  td.user-name  { padding: 10px 10px 10px 40px  !important; min-height: 25px;   }

    .folder_icon { font-size: 14px; }

    table.table-folder-view.messages-list td { display: inline-block; padding: 3px;  font-size: 14px; }
    table.table-folder-view.messages-list td.subject  { display: block;  margin-left: 28px;  font-size: 16px; }
    table.table-folder-view.messages-list td.date  { float:right;  font-size: 12px;  }



}

img[src^="/img/avatars"], img[src^="/img/ava/"], img[src^="/avatars"] {
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
}

.target_message .bubble {
    background-color: #e6f0d8;
    padding: 15px;
    border-radius: 10px;
    position: relative;
}
.target_message .bubble::before {
    content: "";
    position: absolute;
    display: block;
    top: -20px;
    left: 35px;
    border-bottom: 10px solid #e6f0d8;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid transparent;
    height: 0;
    width: 0;
}

.target_message .btn-green {
    display: inline-block;
    padding: 10px 20px;
    background-color: #82b93c;
    color: #fff;
    border-radius: 10px;
}
.target_message .btn-red {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff3d3d;
    color: #fff;
    border-radius: 10px;
}

.dialog-view .user-card {
    position: relative;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    background-color: var(--dark-blue);
    color: #ffffff;
    box-shadow: 0 3px 5px 0 rgba(6, 4, 31, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
}
.dialog-view .user-card a {
  position: relative;
}
.dialog-view .user-card .user-status {
    display: none;
    color: #eee;
    font-size: 12px;
    text-decoration: none;
    margin-right: 19px;
    text-align: center;
}
.dialog-view .user-card .user-status:hover {
    opacity: 1 !important;
}
.dialog-view .user-card.user-inactive .user-status  {
    display: block;
}
.dialog-view .user-card.user-inactive.user-deleted .user-status  {
    color: var(--light-green-color);
    opacity: .75;
}
.dialog-view .user-card.user-inactive.user-blocked .user-status  {
    color: var(--red-color);
    opacity: .75;
}

.dialog-view .user-card .avatar_div {
    width: 70px;
    height: 70px;
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 19px
}

.dialog-view .user-card .avatar_div > img {
    aspect-ratio: 1;
    width: 70px;
    height: 70px;
}

.dialog-view .user-card .user-info {
    width: 100%;
}

.dialog-view .user-card .user-info .btn {
    display: inline-block;
    padding: 0;
    border-radius: 3px;
    background: transparent repeat url(/pub/img/icons/dots-gray.svg) center center;
    width: 36px;
    height: 18px;
}

.dialog-view .user-card .user-info .btn:hover {
    background-image: url(/pub/img/icons/dots-gray-hover.svg)
}

.dialog-view .user-card .user-name {
    font-size: 16px;
    font-weight: 800;
    padding-right: 3px;
}
.dialog-view .user-card .user-name .name {
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}


.dialog-view .user-card .user-name .user-login {
    font-size: 14px;
    color: rgba(155, 173, 189, 1)
}
.dialog-view .user-card .last-act-label {  font-size:  12px; font-weight: 400; color: var(--gray-color); margin-top: 3px; }

.dialog-view .user-card .verification { margin: 7px 0; }
.dialog-view .user-card .verification .pass-verify{  padding-left: 26px; color: var(--gray-color);  background: no-repeat left center; background-size: 22px; }
.dialog-view .user-card .verification .pass-verify.verified { background-image: url(/pub/img/icons/pass-verified.svg); }
.dialog-view .user-card .verification .pass-verify.verified.verified-sber-id {
    background-image: url(/pub/img/icons/sberId-ico.svg);
    background-size: 20px;
    height: 24px;
    line-height: 24px;
}
.dialog-view .user-card .verification .pass-verify.not-verified { background-image: url(/pub/img/icons/pass-not-verified.svg); }

.dialog-view .user-card .reviews  {  color: var(--gray-color); }
.dialog-view .user-card .reviews .prefix {  color: #ffffff; margin-right: 3px; }
.dialog-view .user-card .reviews .empty {  color: var(--gray-color) !important;  }
.dialog-view .user-card .reviews .positive {  color: var(--green-color); font-weight: 700; }
.dialog-view .user-card .reviews .negative {   color: var(--red-color); font-weight: 700; }


.message-form {
    background-color: var(--light-gray-color);
    transition: ease all .3s;
    padding: 18px 20px;
    border-radius: 5px;
    box-shadow: 0 -3px 5px 0 rgba(6, 4, 31, 0.10);
}
.message-form .controls-textarea {
    width: 100%;
}
.message-form .controls-textarea button {
    width: 100%;
    margin-top: 10px !important;
}
.message-form .input-file {
    padding: 0 5px 0 20px;
    background: url(/pub/img/icons/link-solid.svg) no-repeat left center;
    font-size: 14px;
}
.message-form .file-counter{
    font-size: 12px;
}
.message-form .file-list {
    font-size: 14px;
    color: var(--gray-color);
    font-weight: normal;
    margin-left: 0;
    padding-left: 20px
}
.message-form .file-list span {
    color: var(--text-color);
}
.message-form .file-list  li a > span.file-remove {
    display: inline-block;
    width: 17px;
    height: 15px;
    vertical-align: -2px;
    background: no-repeat center center url(/pub/img/icons/close-round.svg);
    background-size: contain;
    opacity: .2;
}
.message-form .file-list  li:hover  a > span.file-remove {
    opacity: .5;
}

/* SM and over */
@media (min-width: 769px) {

    .message-form .controls-textarea {
        position: relative;
        padding-right: 35px;
    }

    .message-form .controls-textarea .btn-send {
        position: absolute;
        bottom: 0;
        right: 0;
        background: transparent no-repeat url(/pub/img/icons/paper-plane-gray.svg) center center;
        width: 24px;
        height: 100%;

    }
    .message-form:hover .controls-textarea .btn-send {
         background-image: url(/pub/img/icons/paper-plane.svg);
        opacity: .5;
    }
    .message-form:hover .controls-textarea .btn-send:hover {  opacity: 1; }

    .message-form .controls-textarea button.span {
        display: none;
    }
}

    /** MISC  ELEMENTS **/

.dropdown-menu > li > a { font-size: 14px}

.nowrap { white-space: nowrap; }
.d-flex { display: flex }

.m-l-auto { margin-left: auto }
.m-r-auto { margin-right: auto; }
.m-x-auto {  margin-left: auto; margin-right: auto; }

/** not work in safari :( */
.grow-wrap {
    /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
    display: grid;
    max-width: 100%;
    overflow-x: auto;
}
.grow-wrap::after {
    /* Note the weird space! Needed to preventy jumpy behavior */
    content: attr(data-replicated-value) " ";

    /* This is how textarea text behaves */
    white-space: pre-wrap;

    /* Hidden from view, clicks, and screen readers */
    visibility: hidden;
}
.grow-wrap > textarea {
    /* You could leave this, but after a user resizes, then it ruins the auto sizing */
    resize: none !important;

    /* Firefox shows scrollbar on growth, you can hide like this. */
    overflow: hidden !important;
}
.grow-wrap > textarea,
.grow-wrap::after {
    /* Identical styling required!! */
    border: 1px solid #eeeeee;
    padding: 0.5rem;
    font: inherit;
    border-radius: 4px;

    /* Place on top of each other */
    grid-area: 1 / 1 / 2 / 2;
}

/* custom scrollbar */
.controls-textarea ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.controls-textarea ::-webkit-scrollbar-track {
    background-color: transparent;
}

.controls-textarea ::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
}

.controls-textarea ::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}


/* other cool  scrollbar */
.scroll-design::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

.scroll-design::-webkit-scrollbar-track {
    background-color: transparent;
}

.scroll-design::-webkit-scrollbar-thumb {
    background-color: #1f4d79;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.scroll-design::-webkit-scrollbar-thumb:hover {
    background-color: #145898;
}


.table-borderless tbody+tbody, .table-borderless td, .table-borderless th, .table-borderless thead th, .table-borderless.table>tbody>tr>td, .table-borderless.table>tbody>tr>th  {
    border: 0;
}

.clip,
.clip-1row {
    display: block;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis
}
.clip-2row {
    background: transparent;
    display: block;
    display: -webkit-box;
    max-height: 39px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.clip-3row {
    background: transparent;
    display: block;
    display: -webkit-box;
    max-height: 58px;
    line-height: 1.3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.clip-4row {
    background: transparent;
    display: block;
    display: -webkit-box;
    max-height: 78px;
    line-height: 1.3;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.clip-5row {
    background: transparent;
    display: block;
    display: -webkit-box;
    max-height: 98px;
    line-height: 1.3;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}
/** INBOX MODE */

.inbox-mode { font-size: 14px;  }
.inbox-mode .menu-column{
    padding-top: 35px;
    background-color: var(--light-gray-color);
    padding-bottom: calc(60px + 10vh);
}

.inbox-mode .menu-column .btn-inverse {
    background-color: transparent;
    color: var(--gray-color);
    border-color: var(--gray-color);
}
.inbox-mode .menu-column .btn-inverse:hover {
    background-color: var(--gray-color);
    color: white;
}
.inbox-mode .folder-name {
    width: 100%;
}

/* XS AND SM  */
@media (max-width: 991px) {

    .inbox-mode .menu-column {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        padding-top: 60px;
        width: 100%;
        max-width: 450px;
        height: 100%;
        overflow: auto;
        box-shadow: 3px -3px 5px 0 rgba(34, 60, 80, 0.2);
    }

    .inbox-mode .menu-column .dialog-Left-menu,
    .inbox-mode .menu-column .btn-block {
        max-width: 400px;
    }

    .inbox-mode .menu-column.active {
        display: block;
    }
    .inbox-mode .folder-name {
        cursor: pointer;
    }
    .inbox-mode .folder-name:hover {
        text-decoration: underline dotted 1px;
    }

}
/* LG and   */
@media (min-width:  1199px) {


}

.inbox-mode .dialog-Left-menu.nav-pills > li > a {
    font-weight: normal;
    font-size: 14px;
}

.dialog-Left-menu li {

    position: relative;
}


.dialog-Left-menu li > a.user-folder {

    color: #0088CC;
    float: right;
    padding: 2px 2px 0 2px;
    width: 22px;
    font-size: 12px !important;
    text-align: center;
    border-radius: 7px;
    border: 1px solid rgb(0 136 204 / 73%);
    opacity: 0;
    display: inline-block;

}
.dialog-Left-menu li:hover > a.user-folder  {
    opacity: 1;
    z-index: 10;
}
.dialog-Left-menu .dialog-Left-menu {
    margin-left: 15px;
}
.dialog-Left-menu .divider {
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 0;
}

.inbox-mode .folder-menu {

    padding: 10px 0 10px 0;
    margin-bottom: 10px;
    background: white;
    z-index: 5;
    font-size: 14px;
}
.inbox-mode .folder-menu .btn {
    font-size: 14px;
}
.inbox-mode .folder-menu .btn:not(.btn-link) {
    border-color: var(--light-green-color);
    background-color: var(--light-green-color);
    box-shadow: none;
    color: var(--text-color);
    background-image: none;
    border-radius: 5px;
    padding: 6px 10px;
}
.inbox-mode .folder-menu .btn.danger-button {
    border-radius: 50px; padding: 6px 10px;
    border: 1px solid var(--red-color);
    color: var(--red-color);
    background: white;
}
.inbox-mode .folder-menu .btn.danger-button:hover {

    color: white;
    background: var(--red-color);

}
/** MD and LG */
@media (min-width:   992px) {
    .inbox-mode .folder-menu {
        padding-left: 15px;
        margin-left: -15px;
        padding-right: 15px;
        margin-right: -15px;
        margin-bottom: 20px;
        box-shadow: 3px 3px 3px 0 #06041F1A;
        position: sticky;
        top: var(--top-menu-height)
    }
    .inbox-mode .folder-menu:after {
        content: '';
        display: block;
        width: 10px;
        height: 100%;
        position: absolute;
        background: white;
        right: -10px;
        top: 0;
    }
}
.inbox-mode tr {
    font-size: 14px;
    font-weight: 400;
}
.inbox-mode tr.message-unread {
    font-weight: 600;
}
.inbox-mode .messages-list  tr>td { vertical-align: middle; border-bottom: 1px solid var(--light-gray-color); padding-top: 9px; padding-bottom: 9px; }
.inbox-mode .messages-list tr input.select_message  { opacity: 0.2; transition: ease all .3s }
.inbox-mode .messages-list tr:hover input.select_message  { opacity: .75 }
.inbox-mode .messages-list tr input.select_message:checked {  opacity: 1; }
.inbox-mode .messages-list .date {  color: var(--gray-color); font-weight: normal !important; }

.inbox-mode.view-message h1 {
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    margin-top: 3rem;
}

.inbox-mode.view-message .delivered-date {
    color: var(--gray-color);
    display: block;
    font-size: 14px;

}

.inbox-mode.view-message .user-card {
    border-radius: 5px;
    background: #EAF3FC;
    padding: 5px;
    margin-bottom: 15px;
    box-shadow: 0 3px 5px 0 rgba(6, 4, 31, 0.10);
}

.inbox-mode.view-message .user-card .username {
    color: rgba(5, 49, 89, 0.50);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 142%; /* 19.88px */
}
.inbox-mode.view-message .user-card .username b {
    color: #06041F;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
}
.inbox-mode.view-message .user-card .username .oppSign {
    color:  rgba(5, 49, 89, 0.35);
    padding: 0 3px;
    font-size: 12px;
    border:  rgba(5, 49, 89, 0.35) 1px solid;
    border-radius: 50px;
    margin-left: 3px;
}
.inbox-mode.view-message .user-card .username .popover {
    color: rgba(5, 49, 89, 0.75);
}
.inbox-mode.view-message .user-card .last_act {margin: 0 5px;}
.inbox-mode.view-message .user-card button.mutton {

    opacity: .75;
    border-radius: 2px;
    border:none;
    padding:  0;
    box-shadow: none;

    width: 35px;
    height: 17px;
    display: inline-block;
    transition: ease all .5s;
    margin: 2px 10px;
    background: transparent no-repeat center center url(/pub/img/icons/menu-dots.svg);
}
.inbox-mode.view-message .user-card:hover button.mutton {
    opacity: 1;

}
.inbox-mode.view-message .user-card:hover button.mutton:hover { opacity:  1; }

.inbox-mode.view-message .root-message  {

    margin-top: 10px; min-height: 200px; max-height: 65vh; overflow-y: auto;
    border-left-width: 3px;
    padding-left: 12px;

}
.inbox-mode.view-message .root-message blockquote {
    font-size: 15px;
    border-left-width: 2px;
}
.inbox-mode.view-message .root-message blockquote .opponent-message {
    color: var(--semidark-blue);
}
.inbox-mode.view-message .root-message .target_message {
    margin-bottom: 15px;
}

.inbox-mode.view-message .root-message blockquote {

    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
}
.inbox-mode.view-message .root-message blockquote  .delimiter {
    padding-top:  10px;
    margin-top:  10px;
    border-top: 2px dotted var(--light-gray-color);
}

.inbox-mode.view-message .root-message blockquote > blockquote > blockquote > blockquote > blockquote > blockquote {
    padding-left: 0;
    border-left: 5px solid white;
    border-top: 1px solid var(--light-gray-color);
}

.inbox-mode .new-message-form {
    background: var(--light-gray-color);
    padding: 15px 15px;
    border-radius: 5px;
}
.inbox-mode .new-message-form .input-file {
    padding: 0 5px 0 20px;
    background: url(/pub/img/icons/link-solid.svg) no-repeat left center;
    font-size: 14px;
}
.inbox-mode .new-message-form  .file-list {
    margin: 20px 0 0 0;
    padding-left: 15px;
}
.inbox-mode .new-message-form  .file-list li {
    color: var(--text-color);
}
@media (min-width: 769px){

    .inbox-mode .new-message-form .controls-textarea {
        position: relative;
        padding-right: 35px;
    }
    .inbox-mode .new-message-form .btn-send {
        position: absolute;
        bottom: 0;
        right: 0;
        background: transparent no-repeat url(/pub/img/icons/paper-plane-gray.svg) center center;
        width: 24px;
        height: 100%;
    }
    .inbox-mode .new-message-form .btn-send:hover {
        background: transparent no-repeat url(/pub/img/icons/paper-plane.svg) center center;
    }
}
.dialog-mode .new-dialog { }
.dialog-mode .new-dialog label[for="to"] {
    display: none;
}

.dialog-mode .new-dialog .user-card {
    background-color: var(--dark-blue);
    border-radius: 5px;
    padding: 10px 20px;
    box-shadow: 0 3px 5px 0 rgba(6, 4, 31, 0.1);

}
.dialog-mode .new-dialog .user-card a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dialog-mode .new-dialog .user-card a .user-name {
    font-size: 14px;
    padding-right: 3px;
    color: rgba(155, 173, 189, 1);
}
.dialog-mode .new-dialog .user-card a .user-name b {
    color: white;
    font-size: 16px;
    font-weight: 800;
}
.dialog-mode .new-dialog .user-card a .avatar {
    font-size: 13px;
    color: var(--light-gray-color);
}
.dialog-mode .new-dialog .new-message-form   {  }
.dialog-mode .new-dialog .new-message-form .form-submit-button  { margin-top: 10px; border-radius: 50px;   }
.dialog-mode .new-dialog .new-message-form .body-textarea { resize: vertical; }
.dialog-mode .new-dialog .new-message-form ol { margin-top: 10px; }
.dialog-mode .new-dialog .drag-and-drop-handler  {
    opacity: .5;
    transition: ease all .2s;
    color: var(--dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
}
.dialog-mode .new-dialog .drag-and-drop-handler:hover  { opacity: 1;  }

.dialog-mode .new-dialog input[type=file] {
    width: 300px !important;
    max-width: 100%;
    color: #444;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--light-gray-color);
    margin: 3px 0;
    height: auto;
}
.dialog-mode .new-dialog input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: var(--semidark-blue);
    padding: 7px 15px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

.dialog-mode .new-dialog input[type=file]::file-selector-button:hover {
    background: #0d45a5;
}

.dialog-mode .sort-options {
    float: right;
}

.dialog-mode .sort-options .dropdown-header {
    color: var(--semidark-blue);
    opacity: .75;
    border-bottom: 1px solid var(--light-gray-color);
}
.dialog-mode .sort-options > .btn {
    padding: 3px 5px;
    border-color: var(--semidark-blue);
    color: var(--semidark-blue);
    background-image: none !important;
    opacity: .7;
}
.dialog-mode .sort-options > .btn:hover {
    padding: 3px 5px;
    background-color: var(--semidark-blue) !important;
    border-color: var(--semidark-blue);
    color: white;
    opacity: 1;
}
.dialog-mode .sort-options .dropdown-menu li >  a {
    font-size: 14px;
    padding: 5px 15px 5px 30px;
}
.dialog-mode .sort-options .dropdown-menu > .active > a {
    padding-left: 12px;
    background-image: none;
    background-color: transparent;
    color: black;
}
/** XS **/
@media (max-width: 767px)  {
    .dialog-mode .sort-options {
        float: none;
    }
    .dialog-mode .sort-options > .btn {

        font-size: 15px;
    }
    .dialog-mode .sort-options .dropdown-menu li >a {
        font-size: 16px;
    }
}
/** MD */
@media (min-width: 992px)  {

    .dialog-mode .sort-options {
        margin-top: 20px;
    }
}

@media (min-width: 480px) and (min-height: 480px) {
    .footer-element {
        position: fixed;
        bottom: 0;
        right: 0;
        background: white;
        z-index: 10;
        box-shadow: 0 -3px 3px 0 rgba(5, 49, 89, 0.1);
    }

    .footer-element .opener {
        display: none;
        color: #6e6e6e;
        position: absolute;
        left: -5px;
        top: -5px;
        background-color: rgba(255, 255, 255, 0.5);
    }

    .footer-element .closer {
        display: none;
        color: #6e6e6e;
        position: absolute;
        right: 5px;
        top: 0;
        background-color: rgba(255, 255, 255, 0.5);
    }

    .footer-element.open {
        width: 100%;
    }

    .footer-element.closed {
        width: 40px;
        height: 36px;
        overflow: hidden;
        border-radius: 5px 5px 0 0;
        right: 15px;
        box-shadow: 0 -2px 3px 0 rgba(5, 49, 89, 0.2);
    }

    .footer-element.closed footer {
        display: none
    }

    .footer-element.closed .opener {
        display: block;
        z-index: 50;
    }

    .footer-element.open .closer {
        display: block;
        z-index: 50;
    }
}