/* NEW CONTACT BUTTON */
a.im-contact2 {transition: 0.2s; position: relative; width: auto; display: inline-flex; text-decoration:none; background:var(--mb-color-primary, #0d9ecc); color: #fff; border-radius: 4px;padding: 9px 10px; line-height:1.4; font-size: 15px;border:none; font-weight: bold;text-align:center;flex-direction: column; align-items: center; align-content: center;}
a.im-contact2:hover {background:var(--mb-color-primary-hover, #056786); color: #fff;text-decoration:none!important;}
a.im-contact2.im-disabled {opacity:0.75;cursor:help;}
a.im-contact2.im-disabled:hover {background:var(--mb-color-primary, #0d9ecc);}
a.im-contact2.im-hooked {margin:6px 0 20px 0;}
#sidebar a.im-contact2.im-hooked, #item-side a.im-contact2.im-hooked, .side a.im-contact2.im-hooked, #side-right a.im-contact2.im-hooked {width:100%;}
a.im-contact2 > span {margin:2px 0;display:flex;align-items: center; flex-direction: row; flex-wrap: nowrap; justify-content: center;gap: 6px;}
a.im-contact2 > span > svg {width:20px;height:20px;}
a.im-contact2 .im-contact-limit-note {display:block;margin:3px 0 0;font-size:11px;font-weight:600;line-height:1.25;opacity:.85;}

/* STYLE V2 */
.im-table-row .im-del-mes-box {position:absolute;width:32px;height:28px;right:-32px;left:auto;top:0px;margin:0;padding:0 0 0 4px;}
.im-table-row.im-from .im-del-mes-box {left:-32px;right:auto;padding:0 4px 0 0;}
.im-table-row .im-del-mes-box > a {width:28px;height:28px;padding:0;text-align:center;font-size:16px;color:#888;border-radius:5px;transition:0.1s;display:none;}
.im-table-row .im-del-mes-box > a i {line-height:28px;}
.im-table-row .im-del-mes-box > a:hover {background:rgba(0,0,0,0.1);}
.im-table-row:hover .im-del-mes-box > a {display:block;}
.im-limits-info {display:inline-block;width:100%;margin:0 0 16px 0;padding:10px;border:1px solid #ccc;border-radius:5px;border-left:4px solid #2196F3;background:#fff;}

/* PAGINATION */
.im-pagination {float:left;clear:both;width:100%;background:transparent;padding:15px 0;margin:15px 0 0 0;border-top:none;position:relative;z-index:2;text-align:center;}
.im-pagination a {text-decoration:none;display:inline-block;float:none;margin:0 2px;text-decoration:none;background:#fff;padding:6px 3px;min-width:32px;height:32px;line-height:18px;color:#444;font-weight:normal;border-radius:4px;border:1px solid rgba(0,0,0,0.15);font-size:14px;text-align:center;}
.im-pagination span {display:inline-block;text-decoration:none;float:none;margin:0 4px;padding:6px 3px;height:32px;line-height:18px;color:#999;font-weight:normal;font-size:14px;text-align:center;}
.im-pagination a:hover, .im-pagination a.im-active {background:#333;color:#fff;text-decoration:none;}


.im-html {float:left;clear:both;width:100%;}
body .im-html.im-file-create-thread {
  --im-blue: #0d63ff;
  --im-blue-2: #2387ff;
  --im-ink: #07122d;
  --im-muted: #667085;
  --im-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
}
body .im-threads .im-table-row.im-unread:before {display:none;}
body .im-threads .im-table-row.im-unread {border-left: 3px solid #4182c3; background: #f0f5fb;padding-left:10px;}
body .im-threads-exist a .im-title, body .im-threads-exist a .im-from-to strong {font-weight:600;}
body .im-threads-exist a .im-pms, body .im-threads-exist a .im-time {font-style:normal;font-size:14px;}
body .im-threads-exist a .im-title, body .im-threads-exist a .im-from-to, body .im-threads-exist a .im-from-to strong {font-size:14px;}
body .im-threads-exist a {border-radius:0px;padding:13px 15px;border:none;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,0.1);margin:0 0 5px 0;}
body .im-file-create-thread h2.im-head {display: block; text-align: left; width: 70%; float: left; margin: 5px 3% 20px 0; font-weight: 600; font-size: 28px; line-height: 32px; color: #111;}
body form#im-create-thread-form {float:left;clear:none;box-shadow: 0 1px 3px rgba(0,0,0,0.2); display: block; border-radius: 6px; padding: 20px 25px 30px 25px; margin: 0px 0 20px; background: #fff;width:70%;margin-right:3%;}
!body .im-theme-alpha form#im-create-thread-form {box-shadow:none;border:none;}
body .im-file-create-thread .im-error-list.error-list {float:left;clear:left;width:70%;margin:0 3% 0 0;}
body .im-file-create-thread .im-label {margin:0 0 2px 0;font-size:14px;}
body #im-create-thread-form .im-input {max-width:320px;margin-bottom:8px;padding: 10px 8px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.15); box-shadow: none; line-height: 18px;height:38px;}
body #im-create-thread-form  #im-message  {padding: 10px 8px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.15); box-shadow: none; line-height: 18px;overflow-y:auto;}
body #im-create-thread-form .im-textarea {height:120px;}
body #im-create-thread-form button.im-button-green {height:38px;padding:9px 16px;border:none!important;line-height:22px;font-size:14px;font-weight:bold;border-radius:5px;}
body #im-create-thread-form .im-attachment {margin:0 0 0 10px;}
body #im-create-thread-form .im-attachment .im-att-box .im-wrap {height:38px;padding:11px 14px;}
body .im-file-create-thread h3.im-head {margin:10px 0 5px 0;font-size:14px;font-weight:600;}
body .im-messages .im-message-extra.im-box-gray .im-col-10 {width:100%;}
body .im-messages .im-message-extra.im-box-gray {position:relative;padding:10px 44px 10px 0!important;margin:0;border:none;background:transparent;text-align:left;}
body .im-messages .im-message-extra.im-box-gray im-col-10 {width:100%:}
body .im-messages .im-message-extra a.im-download {float:left;width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:14px;}
body .im-messages .im-message-extra a.im-download .im-att-icon {display:none;}
body .im-messages .im-message-extra a.im-download > i {display:inline-block!important;margin-right:6px;float:left;line-height:14px;}
body .im-messages .im-message-extra a.im-hide > span {display:none!important;}
body .im-messages .im-message-extra a.im-hide > i {display:block!important;}
body .im-messages .im-message-extra a.im-hide {transition:0.1s;position:absolute;width:32px;height:32px;padding:6px;text-align:center;font-size:14px;color:#666;border-radius:4px;top:1px;right:0;}
body .im-messages .im-message-extra a.im-hide i {line-height:20px;}
body .im-messages .im-message-extra a.im-hide:hover {background:#f0f0f0;}
body .im-messages .im-message-extra .im-col-14.im-align-right {position:initial;}

body .im-table-row > div.no-img {padding-left:56px;}
body .im-profile-img {border-radius:5px;box-shadow:0 2px 6px rgba(0,0,0,0.2);padding:0;border:0;background:#f0f0f0;}
body .im-block .im-table-row {background:#fff;padding:1px 0;margin:0;border-radius:0px;box-shadow:none;overflow:hidden;border:none;border-bottom:1px solid #ddd;}
body .im-block .im-table-row .im-col-22 {padding-left:3px;}
body .im-block .im-table-head + .im-table-row {border-top:1px solid #ddd;font-size:14px;}
body .im-block .im-table-row .im-align-left {font-size:14px;font-weight:600;}
body .im-table-head {border-bottom:none;font-weight:bold;}
body .im-block .im-remove-block {padding:8px;height:32px;width:32px;line-height:16px;text-align:center;border-radius:4px;font-size:14px;margin:-8px 0;transition:0.1s;display:inline-block;color:#666;}
body .im-block .im-remove-block i {line-height:16px;}
body .im-block .im-remove-block:hover {background:#e0e0e0;}
body .im-block .im-table-head {padding:0;white-space:nowrap;}
body .im-threads .im-line {float:left;clear:both;}
body .im-threads .im-title a {float:left;}
body .im-threads .im-title.im-recipient a {float:none;color:#000;text-decoration:underline;display:inline;font-size:13px;}
body .im-threads .im-title.im-recipient a:hover {color:#000;text-decoration:none;}
body .im-threads .im-table-head {font-weight:bold;color:#555;font-size:13px;border:none;padding:0;white-space:nowrap;}
body .im-threads .im-table-head > div, body .im-block .im-table-head > div {padding-left:3px;padding-right:3px;}
body .im-block .im-table-head {font-weight:bold;color:#555;font-size:13px;border:none;padding:0;white-space:nowrap;}
body .im-threads .im-title a.im-block-thread {padding:2px;line-height:16px;}
body .im-threads .im-table-row {margin:0 0 10px 0;border-radius:0px;border:none;overflow:hidden;padding:0 0 10px 0;background:#fff;border-bottom:1px solid #ddd;}
body .im-threads .im-table-head + .im-table-row {padding-top:10px;border-top:1px solid #ddd;}
body .im-block .im-table-head strong {line-height: 18px;}
body .im-threads .im-special i {font-size:16px;}
body .im-threads .im-special a {transition:0.1s;display:inline-block;width:34px;height:34px;text-align:center;padding:8px 5px;border-radius:4px;margin:-8px 0;}
body .im-threads .im-special a:hover {background:#e0e0e0;color:#666;}
body .im-threads .im-special a:hover i {color:#666;}
body .im-threads .im-title a {font-weight:600;font-size:14px;}
body .im-threads .im-time {font-style:normal;}
body .im-vertical {display:none;}
body .im-messages .im-message-content .im-align-left {font-size:14px;}
body .im-table-row .im-horizontal {top: -6px; right: auto; left: -70px; width: 56px; height: 56px;margin:0;}
body .im-table-row .im-horizontal .right {width: 56px; height: auto; padding: 0; border: none; border-radius: 8px; background: #f6f6f6; box-shadow: 0 2px 8px rgba(0,0,0,0.25);}
body .im-table-row .im-horizontal .right img {opacity:1;border-radius:6px;width:100%;height:auto;}
body .im-table-row.im-from .im-horizontal {right:-70px;border-radius:6px;left:auto;padding:0;}
body .im-table-row.im-from .im-horizontal .right {left:auto;border-radius:6px;}
body .im-messages .im-table-row {min-width:100px;max-width:85%;background: #fff!important; border-radius: 8px;margin:0 0 35px 70px; width: auto; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 1px 3px rgba(0,0,0,0.1);padding:12px 18px 2px 18px;border-top-left-radius:0;}
body .im-messages .im-table-row.im-from {margin-left:0;margin-right:70px;border: 1px solid rgba(0,0,0,0.1);border-radius:6px;border-top-right-radius:0;}
body .im-messages .im-date {font-style:normal;font-size:10px;line-height:14px;color:#aaa;position: absolute; top: calc(100% + 5px); right: 2px;width:auto;}
body .im-messages .im-date > span {font-size:10px;}
body .im-messages .im-from .im-date {right:auto;left:2px;}
body .im-messages .im-date:before {display:none;}
body .im-messages .im-date > i.fa-check {margin-left:2px;display:inline-block;line-height:14px;font-size:11px;}
body .im-table-row > div.im-line {padding:0;margin:0 0 10px 0;}
body .im-table-row > div.im-line.im-box-empty {display:none;}
body .im-table-row > div.im-line.im-name-top {margin:0;padding:0;display:initial;}
body .im-table-row > div.im-line.im-name-top .im-name {display:none;}
!body .im-table-row > div.im-line br + br {display:none;}
body .im-file-messages > h2.im-head {display:none;}
body .im-alt-head {display:block!important;float:left;clear:both;width:100%;padding:0;margin:0 0 30px 0;}
body .im-alt-head .im-head2 {width: 100%;float:left;margin:0;font-weight: 600;font-size: 26px; line-height: 28px; color: #111;position:relative;padding-right:110px;}
body .im-alt-head .im-head2 > span {display:inline-block;width:100%;}
body .im-alt-head .im-head2 > em {margin:4px 0 0 0;display:inline-block;width:100%;font-size:15px;line-height:18px;color:#888;font-weight:normal;}
a.im-remove-thread {position:absolute;right:0;top:0;font-size:14px;padding:6px 8px;text-decoration:none;line-height:18px;font-weight:bold;color:#444;background:#e0e0e0;border-radius:4px;transition:0.1s;max-height:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
a.im-remove-thread i {margin-right:4px;display:inline-block;}
a.im-remove-thread:hover {background:#d0d0d0;color:#333;text-decoration:none;}
body .im-alt-head .im-subhead2 {width: 100%;float:left; clear:both;font-size:15px;color:#999;line-height:16px;margin:5px 0 0 0;}
.im-table.im-messages {float:left;width:68%;margin:0 5% 0px 0;clear:left;}
.im-table.im-messages.im-errors {padding:0;}
.im-table .im-err {margin:8px 0 0 0;float:left;clear:both;width:100%;padding:10px 12px;font-size:14px;line-height:18px;border:1px solid rgba(0,0,0,0.1);background: #ffd7d7; color: #590000;}
.im-empty.flashmessage {float:left;clear:none;width:68%;margin:0 0 16px 0;}
body .im-file-messages #im-error-list {float:left;width:68%;margin:0 5% 0 0;clear:left;}
body .im-row.im-item-related {float:right;width:27%;background:#fff; border: none;padding:0;border-radius:6px;margin:0;clear:left;}
body #im-message-form {padding:0;background:transparent;border:none;position:relative;width:68%;margin:20px 5% 20px 0;}
body #im-message {padding:15px 115px 15px 50px;overflow-y:hidden;font-size:14px;border-radius:6px;border:1px solid rgba(0,0,0,0.1);max-height:455px;box-shadow:0 1px 5px rgba(0,0,0,0.1);line-height:18px;height:50px;min-height:50px;width:100%;max-width:100%;min-width:100%;}
body #im-message-form img.im-logged-user-img {position:absolute;top:7px;left:8px;width:34px;height:34px;object-fit:cover;border-radius:100px;box-shadow:0 1px 3px rgba(0,0,0,0.25);z-index:3;}
body #im-message-form button:not(.im-button-alt) {display:none;}
body #im-message-form button.im-button-alt {display:block!important;position:absolute;right:7px;top:7px;height:36px;line-height:18px;border:none!important;border-radius:6px;padding:9px 5px;width:44px;text-align:center;font-size:15px;font-weight:bold;}
body #im-message-form button.im-button-alt i {text-align:center;line-height:16px;font-size:16px;}
body #im-message-form button.im-button-alt i:before {font-weight:400;}
body #im-message-form button.im-button-alt.btn-disabled, body #im-message-form button.im-button-alt:disabled {opacity:0.5;cursor:wait;}
!body #im-message-form button.im-button-alt.btn-disabled i:before {content:"\f1ce";}
body #im-message-form .im-attachment {position:absolute;right:58px;top:7px;height:36px;margin:0;overflow:hidden;width:auto;}
body .im-attachment .im-att-box .im-status .im-wrap span {max-width: 100px; overflow: hidden; display: inline-block; white-space: nowrap; text-overflow: ellipsis;}
body .im-attachment .im-att-box .im-status .im-wrap span .im-def-text {display:none;}
body .im-attachment .im-att-box .im-wrap {padding:10px 10px;background:#ddd;border-radius:6px;color:#444;transition:0.1s;height:36px;}
body .im-attachment .im-att-box .im-wrap:hover {background:#d0d0d0;}
body .im-attachment .im-att-box .im-status i {font-size:16px;line-height:16px;text-align:center;margin:0;}
body .im-attachment .im-att-box .im-status {color:#666;}

body .im-item-related {box-shadow: 0 1px 3px 0 rgba(0,0,0,0.20);width:100%;}
body .im-item-related .im-item-resource {width:100%;max-width:100%;padding:0;position:relative;margin: 0; overflow: hidden; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom: 1px solid #eee;}
body .im-item-related .im-item-resource img {background-size: cover; width: 100%; max-height: 100%; padding:0;border:none;max-width: 100%; transition: 0.2s; overflow: hidden; background-position: center center;}
body .im-item-related .im-item-resource img:hover {transform: scale(1.1); max-height: 100%; overflow: hidden;}
body .im-item-related .im-item-resource + div.im-col-21 {box-shadow: 0 0px 1px 0 rgba(0,0,0,0.2); float: left; width: 100%; padding: 14px 2px; margin-top: -10px; z-index: 3; position: relative; background: #fff; border-radius: 6px;}
body .im-item-related .im-line {float: left; font-size: 14px; clear: both; font-weight: normal; color: #363433; margin: 0px 0 8px 0; padding: 0 10px 0 10px; height: 18px; white-space: nowrap; width: 100%; overflow: hidden; word-break: break-all; text-overflow: ellipsis;}
body .im-item-related .im-line a {color: #363433;font-weight:normal;font-size:14px;}
body .im-item-related .im-item-price {max-width: 100%; float: left; clear: both; font-weight: bolder; color: #000; margin: 0; padding: 0 5px 0 10px; position: relative; font-size: 17px; line-height: 20px;}
body .im-item-related .im-line.im-item-location {display:none;}

.im-show-older {cursor:pointer;float:left;font-weight:bolder;clear:both;width:100%;padding:12px;font-size:14px;line-height:16px;background:#e4e4e4;border-radius:8px;color:#444;text-align:center;margin:-20px 0 20px 0;transition:0.1s;}
.im-show-older:hover {background:#e8e8e8;}

#im-message {scrollbar-width:thin;scrollbar-color: #9e9e9e rgba(0,0,0,0.05);}
#im-message::-webkit-scrollbar {box-shadow: none;height: 5px;background:rgba(0,0,0,0.05);}
#im-message::-webkit-scrollbar-thumb {border-radius:100px;background-color: rgba(0,0,0,0.3);background-clip: initial;box-shadow: none;}
#im-message::-webkit-scrollbar-thumb:hover {background-color: rgba(0,0,0,0.6);}
#im-message::-webkit-scrollbar-corner {background: rgba(0,0,0,0.05);}
#im-message::-webkit-scrollbar-track { background: transparent; }

.im-threads .im-table-head > div {padding-top:6px;padding-bottom:6px;}
.im-empty-v2 {float:left;clear:both;width:100%;margin:0 0 10px 0;padding:30px 20px;background:#eee;border-radius:5px;text-align:center;font-size:15px;color:#888;}
.im-recipient.im-only-mobile {display:none;}


@media screen and (max-width: 1200px) {
  .im-messages .im-message-extra a.im-download {max-width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
  .im-threads .im-col-2.c3 {color: transparent; overflow: hidden;}
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .im-messages .im-table-row {width:85%;margin-bottom:35px;}
  .im-vertical {display:none;}
}

@media screen and (max-width: 767px) {
  body .im-alt-head .im-head2 {padding-right:36px;}
  a.im-remove-thread {width:32px;height:32px;padding:9px;text-align:center;}
  a.im-remove-thread span {display:none;}
  a.im-remove-thread i {margin:0;}
  
  body #im-create-thread-form button.im-button-green {width:auto;}
  .im-threads-exist a .im-pms, .im-threads-exist a .im-time {display:none;}
  .im-threads-exist a .im-title {width:60%;}
  .im-threads-exist a .im-from-to {width:40%;}
  .im-table-head {display:none;}
  .im-threads .im-special {display:none;}
  .im-table-row .im-from-to {width:40%;}
  body .im-table-row > div.im-col-12 {width:60%;}
  .im-row.im-item-related {display:none;}
  body .im-file-messages #im-error-list, body .im-table.im-messages, body #im-message-form, .im-empty.flashmessage {width:100%;margin-right:0;}


  .im-button-green {width:100%;clear:both;}
  .im-messages .im-table-row {width:80%;margin-bottom:35px;}
  .im-vertical {display:none;}
  .im-table-row .im-horizontal, .im-table-row.im-from .im-horizontal {padding:0;top:-1px;background:transparent;}
  .im-table-row .im-horizontal .right {-webkit-border-radius: 30px; -webkit-border-top-left-radius: 0px; -moz-border-radius: 30px; -moz-border-radius-topleft: 0px; border-radius: 30px; border-top-left-radius: 0px;}
  .im-table-row.im-from .im-horizontal .right {-webkit-border-radius: 30px; -webkit-border-top-right-radius: 0px; -moz-border-radius: 30px; -moz-border-radius-topright: 0px; border-radius: 30px; border-top-right-radius: 0px;}
  .im-messages .im-table-row {padding:6px 0;margin:0 0 10px 0;}
  .im-item-related .im-item-resource {width:20%;max-width:20%;}
  .im-item-related .im-col-21 {width:80%;}

  .im-messages {padding:0;}
  .im-messages .im-message-extra a.im-hide {display:block;position:absolute;left:0;bottom:0;}
  .im-table-row .im-align-right, .im-table-head > div.im-align-right, .im-align-right {position:initial;}
  .im-messages .im-message-extra a.im-hide {margin:0;color:transparent;text-shadow:none;font-size:1px;overflow:hidden;width:24px;height:24px;top:55px;}
  .im-messages .im-message-extra a.im-hide:before {font-size:14px;text-align:center;width:24px;height:24px;line-height:24px;border-radius:3px;background:#00BCD4;color:#fff;font-family:"FontAwesome","Font Awesome 5 Free";text-indent:0;float:left;display:block;}
  .im-messages .im-message-extra a.im-hide:last-child {left:-29px;}
  .im-messages .im-message-extra a.im-hide:first-child {left:-55px;}
  .im-messages .im-message-extra a.im-hide:first-child:last-child {left:-40px;}
  .im-messages .im-message-extra a.im-hide:last-child:before {content:"\f127";}
  .im-messages .im-message-extra a.im-hide:first-child:before {content:"\f014";}
  .im-messages .im-message-extra.im-box-gray {padding:5px 8px!important}
  .im-messages .im-message-extra.im-box-gray .im-col-10 {width:100%;}
  .im-messages .im-message-extra a.im-download {max-width:100%;}
  .im-textarea {margin-bottom:10px;height:90px;}

  body h2.im-head {margin:-16px -16px 20px -16px;width:calc(100% + 32px);}
}

@media screen and (max-width: 490px) {
  body #im-create-thread-form button.im-button-green {width:100%;margin-bottom:10px;}
  body #im-create-thread-form .im-attachment {width:100%;margin:0}
  body #im-create-thread-form .im-attachment .im-att-box .im-wrap {width:100%;text-align:center;}
  body .im-attachment .im-att-box .im-status i {float: none; display: inline-block; vertical-align: -1px;}
  body .im-attachment .im-att-box .im-status {width:100%;}

  .im-table-row .im-from-to {display:none;}
  body .im-table-row > div.im-col-12 {width:100%;}
  body .im-messages .im-message-extra a.im-download {width:110px;}
  .im-recipient.im-only-mobile {display:inline-block;}
  .im-threads .im-item > a:after {content:",";}
  body .im-threads .im-item a, body .im-threads .im-item {color:#444;font-size:13px;line-height:16px;}
  body .im-threads .im-item a {border-bottom:1px dashed #ddd;display:inline-block;}
  body .im-threads .im-item a:hover {border-bottom:1px solid #aaa;}
}

@media screen and (max-width: 420px) {
  .im-threads-exist a .im-title {width:100%;}
  .im-threads-exist a .im-from-to {display:none;}

}

@media screen and (max-width: 360px) {
  body #im-message {height:85px;}
}

/* ------------ END OF STYLE V2 --------------- */


/* BLOCKS */
.im-block {float:left;clear:both;width:100%;margin-top:25px;}
.im-block .im-remove-block {font-size:16px;}
.im-block .im-remove-block:hover {color:#222;}
.im-block .im-table-row.im-empty {background:#f9f9f9;padding:20px;color:#999;}
.im-block .im-table-head strong {float:left;line-height:34px;}
.im-block .im-table-head form {float:left;margin-left:15px;}
.im-block .im-table-head form input[type="text"] {float: left; height: 34px!important; padding: 0 6px!important; line-height: 24px; margin: 0px 5px; width: 180px;}
.im-block .im-table-head form button[type="submit"] {float:left;height:24px!important;padding:0 6px!important;line-height:24px;margin:-3px 0 -3px 4px;border: 1px solid #03a9f4; background: #03a9f4; color: #fff;}
.im-block .im-table-head form button[type="submit"]:hover {background: #0695d6; border-color: #0695d6;}
.im-block .im-table-head form button i {font-size:14px;color:#fff;}
.im-threads .im-title a.im-block-thread {margin-left:3px;color:#888;font-weight:500;display:none;}
.im-threads .im-title a.im-block-thread:hover, .im-threads .im-title a.im-block-thread.active {color:#D32F2F;}
.im-threads .im-title a.im-block-thread.active, .im-table-row:hover .im-title a.im-block-thread {display:inline-block;}


.im-profile-img {position:absolute;left:3px;width:43px;height:auto;-webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px;}
.im-profile-img.im-img-def {opacity:0.6;}
.im-profile-img.im-is-offer {opacity:1;color:#fff;font-weight:bold;letter-spacing:-0.5px;font-size:11px;line-height:12px;height:43px;padding:9px 1px;text-align:center;background:#007ea7;box-shadow:0 0 0 3px rgba(0, 126, 167, 0.50);}
.im-vertical {position:absolute;left:50%;margin-left:-1px;height:100%;width:2px;background:#eee;top:0;display:block;}
.im-vertical .bot {position:absolute;bottom:-3px;left:-9px;background:#fff;border:3px solid #ddd;width:20px;height:20px;-webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px;}
.im-table-row .im-horizontal {padding:3px 0;position:absolute;top:-28px;right:-55px;width:50px;display:block;overflow:visible;background:#fff;-webkit-border-radius: 30px; -webkit-border-bottom-left-radius: 0; -moz-border-radius: 30px; -moz-border-radius-bottomleft: 0; border-radius: 30px; border-bottom-left-radius: 0;}
.im-table-row .im-horizontal .right {float:left;display:block;width:50px;height:50px;border:1px solid #ddd;background:#fff;padding:2px;-webkit-border-radius: 30px; -webkit-border-bottom-left-radius: 0; -moz-border-radius: 30px; -moz-border-radius-bottomleft: 0; border-radius: 30px; border-bottom-left-radius: 0;}
.im-table-row .im-horizontal .right img {opacity:0.5;float:left;width:100%;height:100%;-webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px;}
.im-table-row .im-horizontal span {padding:0;}
.im-table-row.im-from .im-horizontal {left:-55px;right:auto;-webkit-border-radius: 30px; -webkit-border-bottom-right-radius: 0; -moz-border-radius: 30px; -moz-border-radius-bottomright: 0; border-radius: 30px; border-bottom-right-radius: 0;}
.im-table-row.im-from .im-horizontal .right {border-color:#2196F3;left:-55px;right:auto;-webkit-border-radius: 30px; -webkit-border-bottom-right-radius: 0; -moz-border-radius: 30px; -moz-border-radius-bottomright: 0; border-radius: 30px; border-bottom-right-radius: 0;}
.im-table-row.im-from .im-horizontal .right img {opacity:0.75;}

.im-attachment {float:left;width:auto;clear:both;margin:4px 0 0 12px;clear:none!important;}
.im-attachment .im-att-box {float:left;width:100%;clear:both;margin:0;position:relative;}
.im-attachment .im-att-box input {cursor:pointer;opacity:0;padding:5px;position:absolute;top:0;left:0;z-index:0;background:transparent;}
.im-attachment .im-att-box .im-status {float:left;width:auto;cursor:pointer;padding:0;color:#00BCD4;position:relative;z-index:2;}
.im-attachment .im-att-box:hover .im-status .im-wrap span {text-decoration:underline;}
.im-attachment .im-att-box .im-wrap {float:left;width:auto;cursor:pointer;padding:5px 0 5px 2px;position:relative;z-index:2;}
.im-attachment .im-att-box .im-status i {float:left;cursor:pointer;font-size:16px;line-height:16px;width:18px;text-align:left;}
.im-attachment .im-att-box .im-status .im-wrap span {font-size:13px;cursor:pointer;line-height:16px;font-weight:500;}
.im-attachment .im-text {float:left;width:100%;clear:both;margin:1px 0;font-size:12px;color:#999;line-height:13px;}

.im-user-account-count {position: absolute; font-size: 9px; padding: 2px 4px; line-height: 12px; text-align: center; font-weight: bold; height: 16px; min-width: 16px; margin-left: 3px; border-radius: 5px; color: #fff; background: #333;}


/* CONTACT BUTTON */
.im-contact {float:left;display:inline-block;width:auto;margin:10px 15px 10px 0;color:#fff;padding:10px 46px 10px 10px;height:52px;background:#2196F3;border:1px solid #2196F3;position:relative;overflow:hidden;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
.im-contact:hover {color:#fff;text-decoration:none;}
.im-contact:after {position:absolute;display:block;background:#fff;content:".";text-indent:-9999px;width:50px;height:100px;right:-15px;top:-20px;-ms-transform: rotate(7deg); -webkit-transform: rotate(7deg); transform: rotate(7deg);}
.im-contact .im-top {float:left;clear:both;width:100%;font-weight:bold;font-size:14px;line-height:15px;}
.im-contact:hover .im-top {text-decoration:underline;}
.im-contact .im-bot {float:left;clear:both;width:100%;font-weight:500;font-size:11px;line-height:15px;}
.im-contact i {position: absolute; top: 15px; right: 7px; font-size: 20px; color: #2196F3; z-index: 2;}
.im-contact:hover i {color:#1C76BD;}


/* ERROR LIST FOR VALIDATION */
.im-error-list.error-list {padding:0px;list-style-type:none;color:#D27C82;font-size:13px;position:relative;margin:0;}
.im-error-list.error-list li { background:#FFE2E4;padding:8px 10px 8px 30px;margin:0 0 3px 0;clear:both;border-left:1px solid #FFE2E4;border-right:1px solid #FFE2E4;position:relative;border-left: solid 3px #D27C82;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;overflow:hidden;}
.im-error-list.error-list li:before { position: absolute; top: 50%; margin-top: -10px; display: block; height: 20px; line-height: 20px; width: 20px; color: #D27C82; left: 8px; font-family: "FontAwesome","Font Awesome 5 Free"; content: "\f059"; font-size: 18px; }
.im-error-list.error-list li:last-child {margin-bottom:10px;}
.im-error-list.error-list li label {margin:0;font-size:14px;}


/* PAGINATION */
!#im-pagination {width:100%;display:inline-block;margin:50px 0 10px 0;text-align:center;}
!#im-pagination .im-pagination-inside > span {font-size:12px;line-height:13px;display:inline-block;margin-right:15px;font-weight:500;color:#999;}
!#im-pagination .im-pagination-inside > a.im-page-active {font-weight:bold;border:1px solid #008abd;text-align:center;line-height:28px;width:30px;height:30px;display:inline-block;color: #fff; background-color: #00aff0; -webkit-box-shadow: none; box-shadow: none;text-decoration:none;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
!#im-pagination .im-pagination-inside > a {border:1px solid #ddd;text-decoration:none;text-align:center;line-height:28px;width:30px;height:30px;display:inline-block;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
!#im-pagination .im-pagination-inside > a:hover {color: #fff; background-color: #00aff0; border-color: #008abd; -webkit-box-shadow: none; box-shadow: none;text-decoration:none;}


/* HEADER LINK */
#im-link {position:relative;}
#im-link > a {font-weight:bold;}
#im-link #im-thread-wrap {display:none;position:absolute;top:calc(100% - 3px);left:0;width:300px;min-height:100px;}
#im-link:hover #im-thread-wrap {display:block;}
#im-link .im-t-unread {display:inline-block;margin-left:4px;margin-right:8px;text-decoration:none;padding:0 3px;background:#F44336;color:#fff;font-weight:bold;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}
#im-link .im-thread-list {z-index:9999;color:#333;position:absolute;top:7px;left:0;width:300px;border:1px solid #ddd;background:#fff;font-size:12px;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#im-link .im-thread-list:before {content: ""; border:6px solid;border-color: transparent transparent #ddd transparent; position: absolute; top: -12px; left: 15px;}
#im-link .im-thread-list .im-entry {position:relative;margin:0;padding:4px 6px;background:#fff;border-bottom:1px solid #eee;border-top:1px solid #fff;}
#im-link .im-thread-list .im-entry:after {font-family:"FontAwesome","Font Awesome 5 Free";content:"\f1db";position:absolute;right:6px;top:4px;color:#ccc;font-size:8px;}
#im-link .im-thread-list .im-entry:hover {background:#E2EBF3!important;}
#im-link .im-thread-list .im-entry.im-unread {background:#f8f8f8;}
#im-link .im-thread-list .im-entry.im-unread:after {content:"\f111";color:#aaa;}
#im-link .im-thread-list .im-row {margin:0;}
#im-link .im-thread-list .im-img {padding-right:8px;}
#im-link .im-thread-list .im-img img {border:1px solid #ddd;padding:1px;background:#fff;width:auto;height:auto;max-width:100%;max-height:56px;}
#im-link .im-thread-list .im-name {margin-top:1px;font-size:12px;color:#000;font-weight:bold;height:18px;line-height:17px;overflow:hidden;}
#im-link .im-thread-list .im-text {font-size:11px;font-weight:500;color:#333;line-height:13px;margin:1px 0;height:14px;overflow:hidden;}
#im-link .im-thread-list .im-text .fa {color:#bbb;margin-right:2px;font-size:9px;}
#im-link .im-thread-list .im-time {font-size:10px;font-weight:500;color:#999;font-style:italic;height:18px;overflow:hidden;line-height:17px;}
#im-link .im-show-all {font-size:12px;padding:8px 0;text-align:center;}
#im-link .im-show-all a {color:#999!important;text-decoration:none!important;line-height:16px!important;font-size:12px;}
#im-link .im-show-all a:hover {text-decoration:underline;color:#00BCD4!important;}



/* ITEM RELATED TO THREAD */
.im-row.im-item-related {margin:5px 0 30px 0;padding-bottom:20px;border-bottom:1px solid #ddd;background:#f0f0f0;padding:10px;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
.im-item-related, .im-item-related *:not(i) {box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}
.im-item-related a {color:#2EACCE;font-size:12px;font-weight:bold;text-decoration:none;}
.im-item-related a:hover {text-decoration:underline;}
.im-item-related .im-line {padding:2px 8px;font-size:12px;color:#999;}
.im-item-related .im-item-price {font-weight:bold;font-size:14px;color:#000;}
.im-item-related .im-item-resource {width:auto;max-width:12.5%;padding-right:5px;}
.im-item-related .im-item-resource img {width:auto;height:auto;max-width:100%;max-height:66px;border:1px solid #ddd;padding:2px;background:#fff;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}


/* OFFER */
.im-row.im-offer {margin:0 0 20px 0;padding:15px 40px 15px 15px;position:relative;background:#e2f7ff;color:#333;border:1px solid #007ea7;border-left-width:5px;font-size:14px;border-radius:6px;text-decoration:none;}
.im-row.im-offer:hover {background:#d6eff9}
.im-row.im-offer:after {position:absolute;right:10px;transition:0.15s;top:calc(50% - 12px);width:24px;text-align:center;line-height:24px;font-family:"FontAwesome","Font Awesome 5 Free";content:"\f105";font-weight:900;font-size:24px;color:#007ea7;}
.im-row.im-offer:hover:after {right:6px;}


/* THREADS LIST */
.im-threads {font-size:13px;}
.im-threads .im-table-row {padding:8px 0;position:relative;}
.im-threads .im-table-row.im-is-offer {background:#ffedab;}
.im-threads .im-table-row.im-unread:before {color:#fff;font-size:13px;line-height:24px;text-align:center;display:block;font-family:"FontAwesome","Font Awesome 5 Free";content:"\f070";position:absolute;left:-24px;width:24px;height:24px;background:#F44336;top:0;}
!.im-threads .im-table-row.im-unread:after {display:block;font-family:"FontAwesome","Font Awesome 5 Free";content:".";text-indent:-9999px;position:absolute;left:0px;width:1px;height:70%;background:#F44336;top:0;}
.im-threads .im-line {padding:2px;}
.im-threads .im-title a {font-size:13px;font-weight:bold;}
.im-threads .im-item a {font-size:12px;text-decoration:none;color:#888;}
.im-threads .im-item a:hover {color:#333;}
.im-threads .im-from-to {font-size:13px;color:#000;}
.im-threads .im-time {font-size:12px;color:#888;font-style:italic;}
.im-threads .im-special {padding:20px 5px;line-height:18px;}
.im-threads .im-special i {font-size:14px;line-height:18px;}
.im-threads .im-small {font-size:9px;}
.im-threads .im-flag-yes i {color:#F44336;}
.im-threads .im-flag-no i {color:#bbb;}
.im-threads .im-notify-yes i {color:#F44336;}
.im-threads .im-notify-no i {color:#bbb;}



/* CREATE THREAD */
#im-create-thread-form {padding:12px;border:1px solid #eee;background:#f0f0f0;display:inline-block;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#im-create-thread-form .im-input {clear:both;}
#im-create-thread-form .im-textarea {margin-top:0px;}

/* List of existing threads - on CREATE THREAD page */
.im-threads-exist {margin:0 0 15px 0;display:inline-block;width:100%;clear:both;}
.im-threads-exist a {font-size:12px;padding:10px;background:#fff;border:1px solid #ddd;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;margin:0 0 8px 0;}
.im-threads-exist a:hover {background:#f4f8fb;}
.im-threads-exist a .im-title {color:#2EACCE;text-decoration:none;line-height:18px;font-size:12px;}
.im-threads-exist a .im-title:hover {color:#2EACCE;text-decoration:underline;}
.im-threads-exist a .im-from-to {color:#333;font-weight:500;line-height:18px;font-size:12px;}
.im-threads-exist a .im-pms {color:#999;font-weight:500;font-style:italic;font-size:11px;line-height:18px;}
.im-threads-exist a .im-time {color:#999;font-weight:500;font-style:italic;font-size:11px;line-height:18px;}



/* LIST OF MESSAGES */
.im-messages {font-size:14px;position:relative;padding-top:20px;}
.im-messages .im-table-row {position:relative;font-size:13px;background:#fdfdfd!important;margin:0 0 25px 0;padding:12px 8px;width:47%;float:left;border:1px solid #e8e8e8;box-shadow:1px 1px 5px rgba(0,0,0,0.08);-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;-webkit-border-top-right-radius: 0px; -moz-border-radius-topright: 0px; border-top-right-radius: 0px;}
.im-messages .im-table-row.hidden {display:none;}
.im-messages .im-table-row.im-from {background:#fff!important;border-color:#2196F3;float:right;-webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;-webkit-border-top-left-radius: 0px; -moz-border-radius-topleft: 0px; border-top-left-radius: 0px;}
.im-messages .im-table-row.im-from:before {color:#2EACCE;right:16px;left:auto;line-height:18px;}
.im-messages .im-name {line-height:18px;color:#111;}
.im-messages .im-name span.im-identifier {font-size:11px;color:#fff;background:#555;padding:0 3px;line-height:16px;display:inline-block;font-weight:600;}
.im-messages .im-table-row.im-from .im-name span.im-identifier {background:#F44336;}
.im-messages .im-date {font-size:10px;line-height:18px;color:#bbb;}
.im-messages .im-message-content {margin:8px 0;}
.im-messages .im-message-extra {text-align:right;margin-bottom:-3px;margin-top:8px;height:18px;}
.im-messages .im-message-extra.im-box-gray {padding:10px 8px 4px 8px!important;margin-top:15px;height:auto;background:#fdfdfd;border-top:1px solid #eee;-webkit-border-bottom-right-radius: 3px; -webkit-border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -moz-border-radius-bottomleft: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}
.im-messages .im-message-extra a.im-hide {color:#F44336;font-size:11px;font-weight:500;text-decoration:underline;display:none;float:right;margin-left:10px;}
.im-messages .im-message-extra a.im-hide:hover {text-decoration:none;}
.im-messages .im-table-row:hover .im-message-extra a.im-hide {display:block;}
.im-messages .im-message-extra a.im-download {font-size:11px;text-decoration:none;float:left;}
.im-messages .im-message-extra a.im-download:hover {text-decoration:underline;}
.im-messages .im-att-icon {margin-right:5px;vertical-align:-3px;}

/* New message form - on MESSAGE LIST page */
#im-message-form {float:left;width:100%;margin:20px 0 30px 0;clear:both;width:100%;padding:12px;border:1px solid #eee;background:#f0f0f0;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#im-message-form .im-file, #im-create-thread-form .im-file {background: #fff;width:auto;max-width:100%;min-width:0; border: 1px solid #ddd; padding: 3px; float: right; font-size: 12px; margin: 2px 0 1px 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
.im-textarea {color:#333;margin:0 0 15px 0;height:175px;outline:none;width:100%;padding:5px;font-size:13px;line-height:16px;border:1px solid #ddd;background:#fff;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none; border-radius: 0px;}
.im-textarea:focus, .im-textarea:active {border-color:#eaa867;}
.im-input {color:#333;margin:0;outline:none;width:100%;max-width:220px;padding:5px;font-size:13px;line-height:16px;border:1px solid #ddd;background:#fff;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none; border-radius: 0px;}
.im-input:focus, .im-input:active {border-color:#eaa867;}
.im-label {margin:5px 0 2px 0;font-size:13px;color:#333;width:100%;clear:both;display:inline-block;}



/* TABLE */
.im-table {display:inline-block;width:100%;clear:both;}
.im-table-head {display:inline-block;width:100%;clear:both;border: none; font-weight: normal; vertical-align: top; border-bottom: solid 1px #a0d0eb;color:#555;font-size:12px;}
.im-table-head > div {padding:8px;text-align:center;}
.im-table-row {display:block;width:100%;clear:both;float:left;background:#fff;font-size:12px;border-bottom:1px solid #EAEDEF;padding:4px 0;}
.im-table-row:nth-child(odd) {background:#FCFDFE;}
.im-table-row:hover {background:#f4f8fb;}
.im-table-row > div {overflow:hidden;padding:8px;text-align:center;}
.im-table-row > div.no-img {padding-left:56px;}
.im-table-row > div.im-line {overflow:hidden;padding:2px 8px;text-align:center;}
.im-table-row > div.im-line .im-unsafe-info {float:left;clear:both;width:auto;max-width:100%;border-radius:4px;text-align:left;letter-spacing:-0.2px;padding:4px 6px;font-size:13px;line-height:15px;background: #ffdbdb; color: #600000; border: 1px solid rgba(0, 0, 0, 0.1); margin: 0 0 12px 0;}
.im-table-row > div a {text-decoration:underline;color:#2EACCE;}
.im-table-row > div a:hover {text-decoration:none;}
.im-table-row > div.im-red {color:#F44336;}
.im-table-row .im-align-left, .im-table-head > div.im-align-left, .im-align-left {text-align:left;}
.im-table-row .im-align-right, .im-table-head > div.im-align-right, .im-align-right {text-align:right;}
.im-table-row .im-align-center, .im-table-head > div.im-align-center, .im-align-center {text-align:center;}
.im-table-row.im-table-row-summary {font-weight:bold;background:#E3F0FD;color:#000;border-bottom-color:#DDE2E4;}
.im-table-row.im-table-row-summary:nth-child(odd) {background:#EDF4FB}
.im-row-empty {text-align:center;padding:30px 25px 20px 25px;}
.im-row-empty i {color: #dedede; display: block; clear: both; font-size: 80px; text-shadow: #fff 1px 1px 0;}
.im-row-empty span {text-align: center; display: block; color: #999;font-size:14px;}


@media screen and (max-width: 767px) {
  .im-table-head > div.im-col-2 {display:none;}
}



/* BASE STYLES */
.im-i {font-style:italic;}
.im-u {text-decoration:underline;}
.im-b {font-weight:bold;}
.im-gray {color:#888;}
.im-row {width:100%;display:inline-block;margin:5px 0;clear:both;}
h2.im-head {font-size:20px;color:#363A41;display:inline-block;width:100%;padding:0;margin:0 0 25px 0;font-weight:bold;}
h3.im-head {font-size:16px;color:#363A41;display:inline-block;width:100%;padding:0;margin:50px 0 15px 0;font-weight:bold;}
.im-body {box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;font-size:14px;line-height:18px;}


/* Buttons */
.im-button-white {outline:none;box-shadow:none;display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 6px 8px; font-size: 13px; line-height: 17px; height:31px;border-radius: 3px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;color: #363A41!important; background-color: #fff; border-color: #DEDEDE;}
.im-button-white:hover {color: #fff; background-color: #00aff0; border-color: #008abd; -webkit-box-shadow: none; box-shadow: none;}
.im-button-green, .im-body #uniform-undefined {text-shadow:none;background-position:0;float:left;outline:none;box-shadow:none;display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; font-weight:600;cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 8px 10px; font-size: 13px; line-height: 16px; height:34px;border-radius: 3px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;color: #ffffff!important; background-color:var(--mb-color-primary, #0d9ecc); border-color:var(--mb-color-primary, #0d9ecc);}
.im-button-green:hover, .im-body #uniform-undefined:hover {color: #fff; background-position:0;background-color:var(--mb-color-primary-hover, #056786); border-color:var(--mb-color-primary-hover, #056786); -webkit-box-shadow: none; box-shadow: none;}
.im-button-red {outline:none;box-shadow:none;display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 6px 8px; font-size: 13px; line-height: 17px; height:31px;border-radius: 3px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;color: #ffffff!important; background-color: #E08F95; border-color: #da7b82;}
.im-button-red:hover {color: #fff; background-color: #d5676f; border-color: #cd4b55; -webkit-box-shadow: none; box-shadow: none;}
.im-body .uploader {float:right;margin:1px 0 0 0;width:auto;display:none;}



div[class^="im-col-"] {float:left;position:relative;}
.im-col-1 {width:4.16667%}
.im-col-2 {width:8.33333%}
.im-col-3 {width:12.5%}
.im-col-4 {width:16.66667%}
.im-col-5 {width:20.83333%}
.im-col-6 {width:25%}
.im-col-7 {width:29.16667%}
.im-col-8 {width:33.33333%}
.im-col-9 {width:37.5%}
.im-col-10 {width:41.66667%}
.im-col-11 {width:45.83333%}
.im-col-12 {width:50%}
.im-col-13 {width:54.16667%}
.im-col-14 {width:58.33333%}
.im-col-15 {width:62.5%}
.im-col-16 {width:66.66667%}
.im-col-17 {width:70.83333%}
.im-col-18 {width:75%}
.im-col-19 {width:79.16667%}
.im-col-20 {width:83.33333%}
.im-col-21 {width:87.5%}
.im-col-22 {width:91.66667%}
.im-col-23 {width:95.83333%}
.im-col-24 {width:100%}



/* TRIPOPAL PREMIUM MESSAGES LIST */
body .im-html.im-file-threads {
  --tp-msg-primary: #2563eb;
  --tp-msg-secondary: #4f46e5;
  --tp-msg-bg: #f4f7fb;
  --tp-msg-text: #0f172a;
  --tp-msg-muted: #64748b;
  --tp-msg-border: #e2e8f0;
  float: none;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.1), transparent 30%),
    var(--tp-msg-bg);
  color: var(--tp-msg-text);
}

body .im-file-threads *,
body .im-file-threads *:before,
body .im-file-threads *:after {
  box-sizing: border-box;
}

body .im-file-threads .tp-msg-page {
  width: 100%;
  max-width: 860px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 72px;
}

body #user-main .im-file-threads h1,
body #user-main .im-file-threads h2,
body #user-main .im-file-threads h3 {
  margin: 0;
}

body .im-file-threads .tp-msg-header {
  position: static;
  z-index: 30;
  width: 100%;
  margin: 0;
  padding: 24px 18px 22px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 0 0 28px 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body .im-file-threads .tp-msg-header h1 {
  margin: 0;
  color: var(--tp-msg-text);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

body .im-file-threads .tp-msg-header p {
  margin: 8px 0 0;
  color: var(--tp-msg-muted);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

body .im-file-threads .tp-msg-section-title {
  margin: 24px 18px 13px;
  color: var(--tp-msg-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

body .im-file-threads .tp-chat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
}

body .im-file-threads .tp-chat-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body .im-file-threads .tp-chat-card:hover {
  background: #fff;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

body .im-file-threads .tp-chat-card:active {
  transform: scale(0.98);
}

body .im-file-threads .tp-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}

body .im-file-threads .tp-avatar-wrap img,
body .im-file-threads .tp-offer-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(79, 70, 229, 0.16));
  color: var(--tp-msg-primary);
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

body .im-file-threads .tp-online {
  position: absolute;
  right: -1px;
  bottom: 4px;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 2px 5px rgba(34, 197, 94, 0.25);
}

body .im-file-threads .tp-online.is-offline {
  background: #94a3b8;
  box-shadow: 0 2px 5px rgba(148, 163, 184, 0.25);
}

body .im-file-threads .tp-chat-content {
  min-width: 0;
}

body .im-file-threads .tp-chat-content h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  overflow: hidden;
  color: var(--tp-msg-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.22;
}

body .im-file-threads .tp-title-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .im-file-threads .tp-chat-content p {
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--tp-msg-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .im-file-threads .tp-is-unread .tp-chat-content h3 {
  padding-right: 58px;
}

body .im-file-threads .tp-time {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.2;
  text-align: end;
  text-overflow: ellipsis;
}

body .im-file-threads .tp-unread-indicator {
  position: absolute;
  top: 17px;
  right: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--tp-msg-primary);
  font-size: 29px;
  line-height: 1;
}

body .im-file-threads .tp-unread-indicator > i {
  display: block;
  line-height: 1;
}

body .im-file-threads .tp-unread {
  position: absolute;
  top: -7px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tp-msg-primary), var(--tp-msg-secondary));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

body .im-file-threads .tp-block-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 14px;
}

body .im-file-threads .tp-block-card,
body .im-file-threads .tp-empty-blocks {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body .im-file-threads .tp-block-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  margin: 0 14px;
  padding: 14px;
  color: var(--tp-msg-text);
  font-size: 15px;
  font-weight: 700;
}

body .im-file-threads .tp-block-icon,
body .im-file-threads .tp-remove-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #94a3b8;
  text-decoration: none;
}

body .im-file-threads .tp-remove-block {
  border: 0;
  padding: 0;
  color: #ef4444;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}

body .im-file-threads .tp-remove-block:hover {
  background: #fee2e2;
  transform: translateY(-1px);
}

body .im-file-threads .tp-empty-blocks {
  margin: 0 14px;
  padding: 34px 18px;
  text-align: center;
}

body .im-file-threads .tp-empty-blocks i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: #eef2f8;
  color: #94a3b8;
  font-size: 34px;
}

body .im-file-threads .tp-empty-blocks strong {
  display: block;
  margin: 20px 0 0;
  color: var(--tp-msg-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

body .im-file-threads .tp-empty-blocks p {
  margin: 10px 0 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.4;
}

body .im-file-threads .im-pagination {
  float: none;
  margin: 18px 0 0;
  padding: 0 14px;
}

body .im-file-threads .im-pagination a,
body .im-file-threads .im-pagination span {
  border-radius: 12px;
}

body .im-file-threads .im-limits-info {
  float: none;
  width: auto;
  margin: 18px 14px 0;
  border-color: var(--tp-msg-border);
  border-left-color: var(--tp-msg-primary);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

@media screen and (max-width: 767px) {
  body .im-html.im-file-threads {
    width: 100%;
    margin: 0;
  }

  body .im-file-threads .tp-msg-page {
    max-width: none;
    padding-bottom: 68px;
  }

  body .im-file-threads .tp-msg-header {
    padding: 22px 16px 20px;
  }

  body .im-file-threads .tp-msg-header h1 {
    font-size: 30px;
  }

  body .im-file-threads .tp-chat-card {
    grid-template-columns: 58px minmax(0, 1fr) 10px;
    min-height: 106px;
    padding: 14px 5px 14px 14px;
    border-radius: 24px;
  }

  body .im-file-threads .tp-avatar-wrap,
  body .im-file-threads .tp-avatar-wrap img,
  body .im-file-threads .tp-offer-avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  body .im-file-threads .tp-chat-content h3 {
    font-size: 15px;
  }

  body .im-file-threads .tp-chat-content p {
    font-size: 13px;
  }

}

/* Compact threads list: reduce the messages inbox by roughly 20%. */
body .im-file-threads .tp-msg-page {
  max-width: 688px;
  padding-bottom: 58px;
}

body .im-file-threads .tp-msg-header {
  padding: 19px 14px 18px;
  border-radius: 0 0 22px 22px;
}

body .im-file-threads .tp-msg-header h1 {
  font-size: 26px;
}

body .im-file-threads .tp-msg-header p {
  margin-top: 6px;
  font-size: 11px;
}

body .im-file-threads .tp-msg-section-title {
  margin: 19px 14px 10px;
  font-size: 10px;
}

body .im-file-threads .tp-chat-list {
  gap: 13px;
  padding: 0 13px;
}

body .im-file-threads .tp-chat-card {
  grid-template-columns: 51px minmax(0, 1fr);
  gap: 11px;
  min-height: 90px;
  padding: 13px;
  border-radius: 19px;
}

body .im-file-threads .tp-avatar-wrap,
body .im-file-threads .tp-avatar-wrap img,
body .im-file-threads .tp-offer-avatar {
  width: 51px;
  height: 51px;
  border-radius: 14px;
}

body .im-file-threads .tp-offer-avatar {
  font-size: 18px;
}

body .im-file-threads .tp-online {
  bottom: 3px;
  width: 13px;
  height: 13px;
  border-width: 2px;
}

body .im-file-threads .tp-chat-content h3 {
  gap: 6px;
  font-size: 13px;
}

body .im-file-threads .tp-is-unread .tp-chat-content h3 {
  padding-right: 46px;
}

body .im-file-threads .tp-chat-content p {
  margin-top: 6px;
  font-size: 11px;
}

body .im-file-threads .tp-time {
  margin-top: 5px;
  font-size: 10px;
}

body .im-file-threads .tp-unread-indicator {
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  font-size: 20px;
}

body .im-file-threads .tp-unread {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  font-size: 9px;
}

body .im-file-threads .tp-block-list {
  gap: 10px;
  padding: 0 11px;
}

body .im-file-threads .tp-block-card {
  grid-template-columns: 35px minmax(0, 1fr) 34px;
  gap: 10px;
  margin: 0 11px;
  padding: 11px;
  font-size: 12px;
}

body .im-file-threads .tp-block-card,
body .im-file-threads .tp-empty-blocks {
  border-radius: 19px;
}

body .im-file-threads .tp-block-icon,
body .im-file-threads .tp-remove-block {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

body .im-file-threads .tp-empty-blocks {
  margin: 0 11px;
  padding: 27px 14px;
}

body .im-file-threads .tp-empty-blocks i {
  width: 69px;
  height: 69px;
  font-size: 24px;
}

body .im-file-threads .tp-empty-blocks strong {
  margin-top: 16px;
  font-size: 14px;
}

body .im-file-threads .tp-empty-blocks p {
  margin-top: 8px;
  font-size: 11px;
}

body .im-file-threads .im-pagination {
  margin-top: 14px;
  padding: 0 11px;
}

body .im-file-threads .im-pagination a,
body .im-file-threads .im-pagination span {
  border-radius: 10px;
  font-size: 11px;
}

body .im-file-threads .im-limits-info {
  margin: 14px 11px 0;
  border-radius: 14px;
  font-size: 12px;
}

@media screen and (max-width: 767px) {
  body .im-file-threads .tp-msg-page {
    padding-bottom: 54px;
  }

  body .im-file-threads .tp-msg-header {
    padding: 18px 13px 16px;
  }

  body .im-file-threads .tp-msg-header h1 {
    font-size: 24px;
  }

  body .im-file-threads .tp-chat-card {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 85px;
    padding: 11px;
    border-radius: 19px;
  }

  body .im-file-threads .tp-avatar-wrap,
  body .im-file-threads .tp-avatar-wrap img,
  body .im-file-threads .tp-offer-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  body .im-file-threads .tp-chat-content h3 {
    font-size: 12px;
  }

  body .im-file-threads .tp-is-unread .tp-chat-content h3 {
    padding-right: 42px;
  }

  body .im-file-threads .tp-unread-indicator {
    top: 2px;
    right: 13px;
  }

  body .im-file-threads .tp-chat-content p {
    font-size: 10px;
  }
}

/* Compact blocked-user disclosure */
body .im-file-threads .tp-blocked-users-wrap {
  display: flow-root;
  clear: both;
  padding: 17px 14px 24px;
  border-top: 8px solid #f0f4fa;
  background: #f8faff;
}

body .im-file-threads.tp8-inbox-page .tp8-thread-list {
  padding-bottom: 0;
}

body .im-file-threads .tp-blocked-users-section-title {
  margin: 0 3px 10px;
  color: #52658d;
  font-size: 11px;
  letter-spacing: 0.08em;
}

body .im-file-threads .tp-blocked-users {
  float: none !important;
  clear: both;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

body .im-file-threads .tp-blocked-users-toggle {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 12px 13px;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: var(--tp-msg-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body .im-file-threads .tp-blocked-users-toggle:hover {
  background: #fbfdff;
}

body .im-file-threads .tp-blocked-users-toggle:focus {
  outline: none;
}

body .im-file-threads .tp-blocked-users-toggle:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(37, 99, 235, 0.28);
}

body .im-file-threads .tp-blocked-users-icon,
body .im-file-threads .tp-blocked-users-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

body .im-file-threads .tp-blocked-users-icon {
  width: 42px;
  height: 42px;
  background: #edf4fc;
  color: #8ea4c2;
  font-size: 18px;
}

body .im-file-threads .tp-blocked-users-summary {
  display: block;
  min-width: 0;
}

body .im-file-threads .tp-blocked-users-title-line {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
}

body .im-file-threads .tp-blocked-users-title {
  overflow: hidden;
  color: #0b1733;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .im-file-threads .tp-blocked-users-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f0f2f5;
  color: #7b8799;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

body .im-file-threads .tp-blocked-users-status {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #75839a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .im-file-threads .tp-blocked-users-chevron {
  width: 34px;
  height: 34px;
  background: #f3f7fc;
  color: #8194af;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}

body .im-file-threads .tp-chevron-up {
  display: none;
}

body .im-file-threads .tp-blocked-users.is-expanded .tp-chevron-down {
  display: none;
}

body .im-file-threads .tp-blocked-users.is-expanded .tp-chevron-up {
  display: inline-block;
}

body .im-file-threads .tp-blocked-users.is-expanded .tp-blocked-users-chevron {
  background: #eaf2fc;
  color: var(--tp-msg-primary);
}

body .im-file-threads .tp-blocked-users-panel {
  display: grid;
  float: none;
  width: 100%;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.26s ease, visibility 0s linear 0.26s;
}

body .im-file-threads .tp-blocked-users.is-expanded .tp-blocked-users-panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.26s ease, visibility 0s linear 0s;
}

body .im-file-threads .tp-blocked-users-panel-inner {
  float: none;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

body .im-file-threads .tp-blocked-users-panel-content {
  float: none;
  width: 100%;
  border-top: 1px solid #eef2f7;
  padding: 12px 13px 13px;
}

body .im-file-threads .tp-blocked-users .tp-block-list {
  display: grid;
  float: none;
  width: 100%;
  gap: 8px;
  padding: 0;
}

body .im-file-threads .tp-blocked-users .tp-block-card {
  float: none;
  width: 100%;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #edf1f6;
  border-radius: 14px;
  box-shadow: none;
}

body .im-file-threads .tp-block-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: #e9eef5;
  color: #73839b;
  place-items: center;
}

body .im-file-threads .tp-block-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .im-file-threads .tp-block-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body .im-file-threads .tp-block-copy strong,
body .im-file-threads .tp-block-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .im-file-threads .tp-block-copy strong {
  color: #14213d;
  font-size: 13px;
  line-height: 1.3;
}

body .im-file-threads .tp-block-copy small {
  color: #8290a5;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

body .im-file-threads .tp-block-card form {
  margin: 0;
}

body .im-file-threads .tp-unblock-user {
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c9d5e5;
  border-radius: 10px;
  background: #fff;
  color: #315c9e;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

body .im-file-threads .tp-unblock-user:hover {
  border-color: #9db2d0;
  background: #f6f9fd;
}

body .im-file-threads .tp-unblock-user:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.2);
  outline-offset: 2px;
}

body .im-file-threads .tp-blocked-users-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 11px 2px 0;
  color: #7b889d;
  font-size: 10px;
  line-height: 1.4;
}

body .im-file-threads .tp-blocked-users-note i {
  margin-top: 1px;
  color: #4f6689;
}

body .im-file-threads .tp-block-empty {
  padding: 13px 12px;
  border-radius: 14px;
  background: #f8fafc;
  text-align: center;
}

body .im-file-threads .tp-block-empty strong {
  display: block;
  color: var(--tp-msg-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

body .im-file-threads .tp-block-empty p {
  margin: 5px 0 0;
  color: #8491a5;
  font-size: 11px;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  body .im-file-threads .tp-blocked-users-wrap {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  body .im-file-threads .tp-blocked-users-panel,
  body .im-file-threads .tp-blocked-users-chevron {
    transition: none;
  }
}



/* TRIPOPAL PREMIUM CHAT VIEW */
html.im-chat-page-root,
html.im-chat-page-root body.im-chat-page {
  height: 100%;
  overflow: hidden!important;
}

html.im-chat-page-root {
  background: #eef4fb;
}

body.body-ua.im-chat-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(52, 136, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%)!important;
}

body.im-chat-page #header,
body.im-chat-page .header,
body.im-chat-page footer,
body.im-chat-page #footer,
body.im-chat-page .breadcrumb,
body.im-chat-page .flash-box,
body.im-chat-page #navi-bar {
  display: none!important;
}

body .im-html.im-file-messages {
  --im-blue: #0d63ff;
  --im-blue-2: #2387ff;
  --im-ink: #07122d;
  --im-muted: #667085;
  --im-line-soft: rgba(15, 23, 42, 0.08);
  --im-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
  --im-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
  --im-chat-vh: 100vh;
  --im-chat-header-offset: 60px;
  /* The WebView already keeps the page above Android's system navigation
     area. Re-applying the reported inset here creates a large empty strip
     below the composer on /im-messages/ pages. */
  --im-chat-bottom-inset: 0px;
  float: none;
  max-width: 860px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 18px 118px;
  background:
    radial-gradient(circle at 18% 0%, rgba(52, 136, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  color: var(--im-ink);
  box-sizing: border-box;
}

body.im-chat-page .im-html.im-file-messages {
  position: fixed;
  inset: var(--im-chat-header-offset) 0 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: calc(var(--im-chat-vh) - var(--im-chat-header-offset));
  min-height: 0;
  max-height: calc(var(--im-chat-vh) - var(--im-chat-header-offset));
  margin: 0;
  padding: 14px 16px 0;
  overflow: hidden;
}

body.im-chat-page #menu-cover {
  z-index: 90;
}

body.im-chat-page #side-menu {
  z-index: 100;
}

@supports (height: 100dvh) {
  body .im-html.im-file-messages {
    --im-chat-vh: 100dvh;
  }
}

body .im-file-messages *,
body .im-file-messages *:before,
body .im-file-messages *:after {
  box-sizing: border-box;
}

body .im-file-messages > h2.im-head {
  display: none;
}

body .im-alt-head.im-chat-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: grid!important;
  grid-template-columns: 56px 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 86px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--im-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body .im-chat-back,
body .im-chat-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #06102a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body .im-chat-back:hover,
body .im-chat-menu:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.13);
  color: #06102a;
  text-decoration: none;
}

body .im-chat-menu {
  grid-column: 4;
  justify-self: end;
  position: static;
  max-height: none;
  margin: 0;
}

body .im-chat-menu span {
  display: none;
}

body .im-chat-avatar {
  position: relative;
  width: 58px;
  height: 58px;
}

body .im-chat-avatar img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

body .im-chat-avatar span {
  position: absolute;
  right: -2px;
  bottom: 4px;
  width: 17px;
  height: 17px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #13b66b;
  box-shadow: 0 2px 5px rgba(19, 182, 107, 0.28);
}

body .im-chat-avatar span.is-offline {
  background: #94a3b8;
  box-shadow: 0 2px 5px rgba(148, 163, 184, 0.25);
}

body .im-alt-head .im-head2.im-chat-title {
  width: auto;
  min-width: 0;
  float: none;
  padding: 0;
  margin: 0;
  color: var(--im-ink);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
}

body .im-alt-head .im-head2.im-chat-title > span {
  display: block;
  overflow: hidden;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .im-alt-head .im-head2.im-chat-title > em {
  margin-top: 5px;
  color: #9b4a42;
  font-size: 13px;
  line-height: 1.25;
}

body .im-alt-head.im-chat-header .im-subhead2 {
  grid-column: 3;
  width: auto;
  float: none;
  clear: none;
  min-width: 0;
  margin: -22px 0 0;
  color: var(--im-muted);
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body .im-row.im-item-related {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  float: none;
  clear: both;
  width: 100%;
  min-height: 142px;
  margin: 0 0 28px;
  padding: 18px 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--im-shadow-soft);
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
}

body .im-row.im-item-related:after {
  content: "\f105";
  grid-column: 3;
  grid-row: 1;
  color: #06102a;
  font-family: "FontAwesome","Font Awesome 5 Free";
  font-size: 30px;
  line-height: 1;
  justify-self: end;
}

body .im-item-related .im-item-resource {
  grid-column: 1;
  width: 126px;
  max-width: 126px;
  height: 106px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}

body .im-item-related .im-item-resource img,
body .im-item-related .im-item-resource img:hover {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  padding: 0;
  border: 0;
  border-radius: 18px;
  transform: none;
}

body .im-item-related .im-item-resource + div.im-col-21 {
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

body .im-item-related .im-line {
  float: none;
  clear: none;
  width: 100%;
  height: auto;
  margin: 0 0 8px;
  padding: 0;
  color: var(--im-muted);
  font-size: 15px;
  line-height: 1.28;
  white-space: normal;
  word-break: normal;
}

body .im-item-related .im-item-title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--im-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body .im-item-related .im-item-price {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 7px 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--im-blue), var(--im-blue-2));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(13, 99, 255, 0.28);
}

body .im-item-related .im-line.im-item-location {
  display: block;
  overflow: hidden;
  color: #6b7280;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .im-item-related .im-line.im-item-location:before {
  content: "\f041";
  margin-right: 7px;
  color: #596174;
  font-family: "FontAwesome","Font Awesome 5 Free";
}

body .im-table.im-messages {
  display: flex;
  flex-direction: column;
  float: none;
  clear: both;
  width: 100%;
  margin: 0;
  padding: 8px 0 18px;
}

body.im-chat-page .im-table.im-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
}

body .im-day-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 8px 0 28px;
  color: #667085;
  font-size: 15px;
  font-weight: 700;
}

body .im-day-divider:before,
body .im-day-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.12), transparent);
}

body .im-day-divider span {
  padding: 9px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

body .im-messages .im-table-row {
  display: block;
  position: relative;
  float: none;
  clear: both;
  width: auto;
  min-width: 0;
  max-width: min(72%, 520px);
  margin: 0 0 30px 66px;
  padding: 18px 20px 30px;
  border: 0;
  border-radius: 0 22px 22px 22px;
  background: rgba(255, 255, 255, 0.94)!important;
  box-shadow: var(--im-shadow-soft);
}

body .im-messages .im-table-row.im-from {
  align-self: flex-end;
  margin: 0 66px 30px auto;
  border: 0;
  border-radius: 22px 0 22px 22px;
  background: linear-gradient(135deg, #095eff 0%, #148cff 100%)!important;
  color: #fff;
  box-shadow: 0 16px 32px rgba(13, 99, 255, 0.26);
}

body .im-messages .im-table-row:hover {
  background: rgba(255, 255, 255, 0.98)!important;
}

body .im-messages .im-table-row.im-from:hover {
  background: linear-gradient(135deg, #095eff 0%, #148cff 100%)!important;
}

body .im-table-row .im-horizontal,
body .im-table-row.im-from .im-horizontal {
  position: absolute;
  top: 14px;
  left: -56px;
  right: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  overflow: visible;
}

body .im-table-row.im-from .im-horizontal {
  left: auto;
  right: -56px;
}

body .im-table-row .im-horizontal .right,
body .im-table-row.im-from .im-horizontal .right {
  display: block;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

body .im-table-row .im-horizontal .right img,
body .im-table-row.im-from .im-horizontal .right img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
}

body .im-table-row > div.im-line {
  margin: 0;
  padding: 0;
  overflow: visible;
  text-align: left;
}

body .im-table-row > div.im-line.im-name-top .im-name {
  display: none;
}

body .im-messages .im-message-content {
  margin: 0;
}

body .im-messages .im-message-content .im-align-left {
  float: none;
  width: 100%;
  color: var(--im-ink);
  font-size: 17px;
  line-height: 1.48;
  text-align: left;
}

body .im-messages .im-from .im-message-content .im-align-left,
body .im-messages .im-from .im-message-content .im-align-left a {
  color: #fff;
}

body .im-messages .im-date {
  position: absolute;
  right: 18px;
  bottom: 10px;
  top: auto;
  left: auto;
  width: auto;
  color: #8791a3;
  font-size: 12px;
  line-height: 1;
  font-style: normal;
}

body .im-messages .im-date > span {
  font-size: 10px;
}

body .im-messages .im-from .im-date {
  right: 18px;
  left: auto;
  color: rgba(255, 255, 255, 0.88);
}

body .im-messages .im-date > i.fa-check {
  margin-left: 6px;
  color: inherit;
  font-size: 12px;
}

body .im-table-row > div.im-line.im-message-extra {
  margin-top: 10px;
}

body .im-messages .im-message-extra.im-box-gray {
  padding: 8px 0 0!important;
  background: transparent;
}

body .im-messages .im-from .im-message-extra a {
  color: #fff;
}

body .im-table-row .im-del-mes-box {
  top: 6px;
}

body .im-file-messages #im-error-list,
body .im-table.im-messages.im-errors,
body .im-empty.flashmessage {
  float: none;
  clear: both;
  width: 100%;
  margin: 0 0 16px;
}

body #im-message-form {
  position: fixed!important;
  left: 0!important;
  right: 0!important;
  bottom: 0!important;
  z-index: 9998;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 12px;
  float: none;
  clear: both;
  width: 100%;
  margin: 24px 0 0;
  padding: 16px 16px calc(16px + var(--im-chat-bottom-inset));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--im-shadow);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

body.im-chat-page #im-message-form {
  position: relative!important;
  left: auto!important;
  right: auto!important;
  bottom: auto!important;
  flex: 0 0 auto;
  width: calc(100% + 32px);
  margin: 0 -16px;
  max-height: 34vh;
}

body #im-message-form img.im-logged-user-img {
  position: static;
  grid-column: 1;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.13);
}

body #im-message-form .im-input-wrap {
  position: relative;
  grid-column: 2;
  min-width: 0;
}

body #im-message {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 58px;
  height: 58px;
  max-height: 140px;
  margin: 0;
  padding: 18px 52px 16px 24px;
  border: 1px solid var(--im-line-soft);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03), 0 6px 18px rgba(15, 23, 42, 0.06);
  color: var(--im-ink);
  font-size: 16px;
  line-height: 22px;
  resize: none;
}

body #im-message::placeholder {
  color: #7b8497;
  opacity: 1;
}

body #im-message:focus {
  border-color: rgba(13, 99, 255, 0.32);
  box-shadow: 0 0 0 4px rgba(13, 99, 255, 0.08), 0 6px 18px rgba(15, 23, 42, 0.06);
}

body #im-message-form .im-emoji-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  color: #667085;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

body #im-message-form button:not(.im-button-alt) {
  display: none;
}

body #im-message-form button.im-button-alt {
  position: static;
  grid-column: 3;
  display: inline-flex!important;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0!important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--im-blue), #1b76ff);
  box-shadow: 0 14px 24px rgba(13, 99, 255, 0.32);
  color: #fff!important;
  font-size: 23px;
}

body #im-message-form button.im-button-alt i {
  font-size: 22px;
  line-height: 1;
}

body #im-message-form .im-attachment {
  position: absolute;
  right: 86px;
  top: 27px;
  z-index: 2;
}

body .im-attachment .im-att-box .im-wrap {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(13, 99, 255, 0.08);
  color: var(--im-blue);
}

body .im-attachment .im-att-box .im-wrap:hover {
  background: rgba(13, 99, 255, 0.14);
}

@media screen and (max-width: 767px) {
  body .im-html.im-file-messages {
    width: calc(100% + 30px);
    min-height: 100vh;
    margin: -15px -15px 0;
    padding: 14px 16px 104px;
  }

  body.im-chat-page .im-html.im-file-messages {
    width: 100%;
    height: calc(var(--im-chat-vh) - var(--im-chat-header-offset));
    min-height: 0;
    max-height: calc(var(--im-chat-vh) - var(--im-chat-header-offset));
    margin: 0;
    padding: 12px 12px 0;
  }

  body .im-alt-head.im-chat-header {
    top: 8px;
    grid-template-columns: 48px 52px minmax(0, 1fr);
    gap: 10px;
    min-height: 76px;
    padding: 12px;
    border-radius: 22px;
  }

  body .im-chat-back,
  body .im-chat-menu {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 22px;
  }

  body .im-chat-avatar,
  body .im-chat-avatar img {
    width: 52px;
    height: 52px;
  }

  body .im-chat-avatar img {
    border-radius: 16px;
  }

  body .im-alt-head .im-head2.im-chat-title {
    font-size: 21px;
  }

  body .im-alt-head.im-chat-header .im-subhead2 {
    margin-top: -18px;
    font-size: 13px;
  }

  body .im-row.im-item-related {
    grid-template-columns: 96px minmax(0, 1fr) 16px;
    gap: 12px;
    min-height: 122px;
    margin-bottom: 5px;
    padding: 14px;
    border-radius: 24px;
  }

  body .im-item-related .im-item-resource {
    width: 96px;
    max-width: 96px;
    height: 94px;
    border-radius: 16px;
  }

  body .im-item-related .im-item-resource img,
  body .im-item-related .im-item-resource img:hover {
    border-radius: 16px;
  }

  body .im-item-related .im-item-title a {
    font-size: 16px;
  }

  body .im-item-related .im-item-price {
    padding: 6px 10px;
    border-radius: 11px;
    font-size: 15px;
  }

  body .im-item-related .im-line.im-item-location {
    font-size: 13px;
  }

  body .im-day-divider {
    margin-bottom: 24px;
    gap: 12px;
    font-size: 14px;
  }

  body .im-messages .im-table-row {
    max-width: calc(100% - 76px);
    margin-left: 54px;
    margin-bottom: 28px;
    padding: 8px 28px 28px;
    border-radius: 0 20px 20px 20px;
  }

  body .im-messages .im-table-row.im-from {
    margin-right: 54px;
    border-radius: 20px 0 20px 20px;
  }

  body .im-table-row .im-horizontal,
  body .im-table-row.im-from .im-horizontal {
    left: -50px;
    width: 40px;
    height: 40px;
  }

  body .im-table-row.im-from .im-horizontal {
    left: auto;
    right: -50px;
  }

  body .im-table-row .im-horizontal .right,
  body .im-table-row.im-from .im-horizontal .right,
  body .im-table-row .im-horizontal .right img,
  body .im-table-row.im-from .im-horizontal .right img {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  body .im-messages .im-message-content .im-align-left {
    font-size: 16px;
    line-height: 1.45;
  }

  body #im-message-form {
    position: fixed!important;
    left: 0!important;
    right: 0!important;
    bottom: 0!important;
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr) 54px;
    gap: 10px;
    padding: 12px 12px calc(12px + var(--im-chat-bottom-inset));
    border-radius: 0;
  }

  body.im-chat-page #im-message-form {
    position: relative!important;
    left: auto!important;
    right: auto!important;
    bottom: auto!important;
    width: calc(100% + 24px);
    margin: 0 -12px;
    max-height: 36vh;
  }

  body #im-message-form img.im-logged-user-img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  body #im-message {
    min-height: 54px;
    height: 54px;
    padding: 16px 44px 14px 18px;
    border-radius: 20px;
    font-size: 15px;
  }

  body #im-message-form .im-emoji-icon {
    right: 15px;
    font-size: 23px;
  }

  body #im-message-form button.im-button-alt {
    width: 54px;
    height: 54px;
  }

  body #im-message-form .im-attachment {
    display: none;
  }
}

/* Compact chat view: reduce the premium messaging page by roughly 20%. */
body.im-chat-page .im-html.im-file-messages {
  padding: 11px 13px 0;
}

body.im-chat-page .im-alt-head.im-chat-header {
  top: 8px;
  grid-template-columns: 45px 46px minmax(0, 1fr);
  gap: 10px;
  min-height: 69px;
  margin-bottom: 18px;
  padding: 11px 13px;
  border-radius: 19px;
}

body.im-chat-page .im-chat-back,
body.im-chat-page .im-chat-menu {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  font-size: 19px;
}

body.im-chat-page .im-chat-avatar,
body.im-chat-page .im-chat-avatar img {
  width: 46px;
  height: 46px;
}

body.im-chat-page .im-chat-avatar img {
  border-radius: 14px;
}

body.im-chat-page .im-chat-avatar span {
  bottom: 3px;
  width: 14px;
  height: 14px;
  border-width: 2px;
}

body.im-chat-page .im-alt-head .im-head2.im-chat-title {
  font-size: 19px;
}

body.im-chat-page .im-alt-head .im-head2.im-chat-title > em {
  margin-top: 4px;
  font-size: 10px;
}

body.im-chat-page .im-alt-head.im-chat-header .im-subhead2 {
  margin-top: -18px;
  font-size: 12px;
}

body.im-chat-page .im-row.im-item-related {
  grid-template-columns: 101px minmax(0, 1fr) 19px;
  gap: 13px;
  min-height: 114px;
  margin-bottom: 22px;
  padding: 14px 18px 14px 14px;
  border-radius: 21px;
}

body.im-chat-page .im-row.im-item-related:after {
  font-size: 24px;
}

body.im-chat-page .im-item-related .im-item-resource {
  width: 101px;
  max-width: 101px;
  height: 85px;
  border-radius: 14px;
}

body.im-chat-page .im-item-related .im-item-resource img,
body.im-chat-page .im-item-related .im-item-resource img:hover {
  border-radius: 14px;
}

body.im-chat-page .im-item-related .im-line {
  margin-bottom: 6px;
  font-size: 12px;
}

body.im-chat-page .im-item-related .im-item-title a {
  font-size: 16px;
}

body.im-chat-page .im-item-related .im-item-price {
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 14px;
}

body.im-chat-page .im-table.im-messages {
  padding: 6px 0 14px;
}

body.im-chat-page .im-table.im-messages {
  padding-bottom: 19px;
}

body.im-chat-page .im-day-divider {
  gap: 13px;
  margin: 6px 0 22px;
  font-size: 12px;
}

body.im-chat-page .im-day-divider span {
  padding: 7px 13px;
  border-radius: 11px;
}

body.im-chat-page .im-messages .im-table-row {
  max-width: min(72%, 416px);
  margin: 0 0 24px 53px;
  padding: 14px 16px 24px;
  border-radius: 0 18px 18px 18px;
}

body.im-chat-page .im-messages .im-table-row.im-from {
  min-width: 96px;
  margin: 0 53px 24px auto;
  border-radius: 18px 0 18px 18px;
}

body.im-chat-page .im-table-row .im-horizontal,
body.im-chat-page .im-table-row.im-from .im-horizontal {
  top: 11px;
  left: -45px;
  width: 35px;
  height: 35px;
}

body.im-chat-page .im-table-row.im-from .im-horizontal {
  left: auto;
  right: -45px;
}

body.im-chat-page .im-table-row .im-horizontal .right,
body.im-chat-page .im-table-row.im-from .im-horizontal .right,
body.im-chat-page .im-table-row .im-horizontal .right img,
body.im-chat-page .im-table-row.im-from .im-horizontal .right img {
  width: 35px;
  height: 35px;
  border-radius: 11px;
}

body.im-chat-page .im-messages .im-message-content .im-align-left {
  font-size: 14px;
  line-height: 1.42;
}

body.im-chat-page .im-messages .im-date {
  right: 14px;
  bottom: 8px;
  font-size: 10px;
  white-space: nowrap;
}

body.im-chat-page .im-messages .im-date > span {
  font-size: 8px;
  white-space: nowrap;
}

body.im-chat-page .im-messages .im-from .im-date {
  right: 14px;
}

body.im-chat-page .im-messages .im-date > i.fa-check {
  margin-left: 5px;
  font-size: 10px;
}

body.im-chat-page #im-message-form {
  grid-template-columns: 38px minmax(0, 1fr) 46px;
  gap: 10px;
  width: calc(100% + 26px);
  margin: 0 -13px;
  padding: 13px 13px calc(13px + var(--im-chat-bottom-inset));
}

body.im-chat-page #im-message-form img.im-logged-user-img {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

body.im-chat-page #im-message {
  min-height: 46px;
  height: 46px;
  max-height: 112px;
  padding: 14px 42px 13px 19px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 18px;
}

body.im-chat-page #im-message-form .im-emoji-icon {
  right: 14px;
  font-size: 20px;
}

body.im-chat-page #im-message-form button.im-button-alt {
  width: 46px;
  height: 46px;
  font-size: 18px;
}

body.im-chat-page #im-message-form button.im-button-alt i {
  font-size: 18px;
}

body.im-chat-page #im-message-form .im-attachment {
  right: 69px;
  top: 22px;
}

body.im-chat-page .im-attachment .im-att-box .im-wrap {
  width: 29px;
  height: 29px;
  padding: 7px;
}

@media screen and (max-width: 767px) {
  body.im-chat-page .im-html.im-file-messages {
    padding: 10px 10px 0;
  }

  body.im-chat-page .im-alt-head.im-chat-header {
    top: 6px;
    grid-template-columns: 38px 42px minmax(0, 1fr);
    gap: 8px;
    min-height: 61px;
    padding: 10px;
    border-radius: 18px;
  }

  body.im-chat-page .im-chat-back,
  body.im-chat-page .im-chat-menu {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 17px;
  }

  body.im-chat-page .im-chat-avatar,
  body.im-chat-page .im-chat-avatar img {
    width: 42px;
    height: 42px;
  }

  body.im-chat-page .im-chat-avatar img {
    border-radius: 13px;
  }

  body.im-chat-page .im-alt-head .im-head2.im-chat-title {
    font-size: 17px;
  }

  body.im-chat-page .im-alt-head.im-chat-header .im-subhead2 {
    margin-top: -14px;
    font-size: 10px;
  }

  body.im-chat-page .im-row.im-item-related {
    grid-template-columns: 77px minmax(0, 1fr) 13px;
    gap: 10px;
    min-height: 98px;
    margin-bottom: 4px;
    padding: 11px;
    border-radius: 19px;
  }

  body.im-chat-page .im-item-related .im-item-resource {
    width: 77px;
    max-width: 77px;
    height: 75px;
    border-radius: 13px;
  }

  body.im-chat-page .im-item-related .im-item-resource img,
  body.im-chat-page .im-item-related .im-item-resource img:hover {
    border-radius: 13px;
  }

  body.im-chat-page .im-item-related .im-item-title a {
    font-size: 13px;
  }

  body.im-chat-page .im-item-related .im-item-price {
    padding: 5px 8px;
    border-radius: 9px;
    font-size: 12px;
  }

  body.im-chat-page .im-item-related .im-line.im-item-location {
    font-size: 10px;
  }

  body.im-chat-page .im-day-divider {
    gap: 10px;
    margin-bottom: 19px;
    font-size: 11px;
  }

  body.im-chat-page .im-messages .im-table-row {
    max-width: calc(100% - 61px);
    margin-left: 43px;
    margin-bottom: 22px;
    padding: 6px 22px 22px;
    border-radius: 0 16px 16px 16px;
  }

  body.im-chat-page .im-messages .im-table-row.im-from {
    min-width: 92px;
    margin-right: 43px;
    border-radius: 16px 0 16px 16px;
  }

  body.im-chat-page .im-table-row .im-horizontal,
  body.im-chat-page .im-table-row.im-from .im-horizontal {
    left: -40px;
    width: 32px;
    height: 32px;
  }

  body.im-chat-page .im-table-row.im-from .im-horizontal {
    left: auto;
    right: -40px;
  }

  body.im-chat-page .im-table-row .im-horizontal .right,
  body.im-chat-page .im-table-row.im-from .im-horizontal .right,
  body.im-chat-page .im-table-row .im-horizontal .right img,
  body.im-chat-page .im-table-row.im-from .im-horizontal .right img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  body.im-chat-page .im-messages .im-message-content .im-align-left {
    font-size: 13px;
    line-height: 1.4;
  }

  body.im-chat-page #im-message-form {
    grid-template-columns: 34px minmax(0, 1fr) 43px;
    gap: 8px;
    width: calc(100% + 20px);
    margin: 0 -10px;
    padding: 10px 10px calc(10px + var(--im-chat-bottom-inset));
  }

  body.im-chat-page #im-message-form img.im-logged-user-img {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  body.im-chat-page #im-message {
    min-height: 43px;
    height: 43px;
    padding: 13px 35px 11px 14px;
    border-radius: 16px;
    font-size: 12px;
  }

  body.im-chat-page #im-message-form .im-emoji-icon {
    right: 12px;
    font-size: 18px;
  }

  body.im-chat-page #im-message-form button.im-button-alt {
    width: 43px;
    height: 43px;
  }
}



/* RTL */
html[dir="rtl"] .im-body, html[dir="rtl"] .im-html, html[dir="rtl"] .im-table, html[dir="rtl"] .im-messages, html[dir="rtl"] .im-threads {direction:rtl;}
html[dir="rtl"] div[class^="im-col-"] {float:right;}
html[dir="rtl"] .im-button-green, html[dir="rtl"] .im-body #uniform-undefined {float:right;}
html[dir="rtl"] body #im-create-thread-form button.im-button-green {clear:none;}
html[dir="rtl"] body #im-create-thread-form .im-attachment {margin-right:10px;margin-left:0;margin-bottom:10px;}
html[dir="rtl"] body form#im-create-thread-form {float:right;clear:none;margin-left:20px;margin-right:0;}
html[dir="rtl"] body .im-row.im-item-related {float:left;}
html[dir="rtl"] body .im-file-create-thread .im-error-list.error-list {float:right;clear:right;}
html[dir="rtl"] #user-main .user-custom-box h2 {float:right;text-align:right;width:100%;}
html[dir="rtl"] body .im-attachment .im-att-box .im-status i {float:right;margin-left:2px;transform:scaleX(-1);}
html[dir="rtl"] .im-contact {float:right;margin-left:15px;margin-right:0;padding-left:46px;padding-right:10px;text-align:right;}
html[dir="rtl"] .im-contact .im-top, html[dir="rtl"] .im-contact .im-bot {float:right;}
html[dir="rtl"] .im-contact i {left:7px;right:auto;}
html[dir="rtl"] .im-contact:after {left:-15px;right:auto;transform:rotate(-7deg);}
html[dir="rtl"] .im-input, html[dir="rtl"] body .im-input, html[dir="rtl"] .im-input, html[dir="rtl"] #im-create-thread-form .im-input, html[dir="rtl"] body #im-message {float:right;}
html[dir="rtl"] body .im-file-create-thread h2.im-head, html[dir="rtl"] h2.im-head {text-align:right;}
html[dir="rtl"] body .im-file-messages #im-error-list, html[dir="rtl"] .im-table.im-messages, html[dir="rtl"] body #im-message-form {float:right;clear:right;margin-left:5%;margin-right:0;}
html[dir="rtl"] .im-empty.flashmessage {float:right;clear:none;}
html[dir="rtl"] body .im-messages .im-table-row {margin-left:0;margin-right:70px;}
html[dir="rtl"] body .im-messages .im-table-row.im-from {margin-left:70px;margin-right:0;}
html[dir="rtl"] .im-messages .im-table-row {float:right;border-radius:2px 0 2px 2px;}
html[dir="rtl"] .im-messages .im-table-row.im-from {float:left;border-radius:0 2px 2px 2px;}
html[dir="rtl"] body .im-table-row .im-horizontal {left:auto;right:-70px;}
html[dir="rtl"] body .im-table-row.im-from .im-horizontal {left:-70px;right:auto;}
html[dir="rtl"] body #im-message {padding-left:115px;padding-right:15px;}
html[dir="rtl"] body #im-message-form button {float:left;}
html[dir="rtl"] body #im-message-form button.im-button-alt {float:left;left:7px;right:auto;}
html[dir="rtl"] body #im-message-form button.im-button-alt i {transform:scaleX(-1);}
html[dir="rtl"] body .im-messages .im-from .im-date {right:2px;left:auto;}
html[dir="rtl"] .im-table-row .im-del-mes-box {left:-32px;right:auto;padding-right:4px;padding-left:0;}
html[dir="rtl"] .im-table-row.im-from .im-del-mes-box {right:-32px;left:auto;padding-left:4px;padding-right:0;}
html[dir="rtl"] .im-attachment .im-att-box .im-status {float:right;}
html[dir="rtl"] body #im-message-form .im-attachment {left:58px;right:auto;}
!html[dir="rtl"] .im-table-row .im-align-left, html[dir="rtl"] .im-table-head > div.im-align-left, html[dir="rtl"] .im-align-left {text-align:right;}
html[dir="rtl"] body .im-messages .im-message-extra.im-box-gray {padding-right:0px!important;padding-left:44px!important;text-align:right;}
html[dir="rtl"] body .im-messages .im-message-extra a.im-download {float:right;}
html[dir="rtl"] body .im-messages .im-message-extra a.im-download > i {float:right;margin-left:6px;margin-right:0;}
html[dir="rtl"] body .im-messages .im-message-extra a.im-hide {left:0;right:auto;}

/* State-changing message controls are POST forms; preserve the former link styling. */
.im-delete-message-form,
.im-delete-attachment-form {display:inline;margin:0;padding:0;}
.im-table-row .im-del-mes-box > .im-delete-message-form > button {
  width:28px;height:28px;padding:0;text-align:center;font-size:16px;color:#888;
  border:0;border-radius:5px;background:transparent;transition:0.1s;display:none;cursor:pointer;
}
.im-table-row .im-del-mes-box > .im-delete-message-form > button i {line-height:28px;}
.im-table-row .im-del-mes-box > .im-delete-message-form > button:hover {background:rgba(0,0,0,0.1);}
.im-table-row:hover .im-del-mes-box > .im-delete-message-form > button {display:block;}
body .im-messages .im-message-extra .im-delete-attachment-form > button.im-hide {
  transition:0.1s;position:absolute;width:32px;height:32px;padding:6px;text-align:center;
  font-size:14px;color:#F44336;border:0;border-radius:4px;background:transparent;
  top:1px;right:0;cursor:pointer;display:none;
}
body .im-messages .im-table-row:hover .im-delete-attachment-form > button.im-hide {display:block;}
body .im-messages .im-delete-attachment-form > button.im-hide > span {display:none!important;}
body .im-messages .im-delete-attachment-form > button.im-hide > i {display:block!important;line-height:20px;}
body .im-messages .im-delete-attachment-form > button.im-hide:hover {background:#f0f0f0;}
html[dir="rtl"] body .im-alt-head .im-head2 {padding-left:110px;padding-right:0;}
html[dir="rtl"] body .im-threads .im-line, html[dir="rtl"] body .im-threads .im-title a, html[dir="rtl"] .im-block .im-table-head strong {float:right;}
html[dir="rtl"] body .im-table-row > div.no-img {padding-right:56px;padding-left:8px;}
html[dir="rtl"] .im-profile-img {right:3px;left:auto;}
html[dir="rtl"] .im-threads .im-title a.im-block-thread {margin-right:3px;margin-left:0;}
html[dir="rtl"] body .im-block .im-table-row .im-col-22 {padding-left:8px;padding-right:3px;text-align:right;}
html[dir="rtl"] .im-table.im-body {direction:ltr;}
html[dir="rtl"] .im-table.im-body > div, html[dir="rtl"] .im-table.im-body > span {direction:rtl;}
html[dir="rtl"] .im-table-head > div.im-align-left {text-align:right;}
html[dir="rtl"] .im-user-account-count {margin-left:0;margin-right:3px;}
html[dir="rtl"] .im-limits-info {border:1px solid #ccc;border-right:4px solid #2196F3;}


/* Conversation safety actions */
body.im-chat-page .im-alt-head.im-chat-header {
  grid-template-columns: 45px 46px minmax(0, 1fr) 45px;
}

body.im-chat-page .im-chat-actions {
  position: relative;
  grid-column: 4;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  z-index: 85;
}

body.im-chat-page .im-chat-actions .im-chat-menu {
  position: relative;
  grid-column: auto;
  margin: 0;
  box-shadow: none;
  background: transparent;
}

body.im-chat-page .im-chat-actions .im-chat-menu:hover,
body.im-chat-page .im-chat-actions .im-chat-menu:focus-visible {
  background: #f2f6fb;
  box-shadow: none;
  outline: 2px solid rgba(13, 99, 255, 0.25);
  outline-offset: 2px;
}

body.im-chat-page .im-chat-actions-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -5px;
  z-index: 90;
  width: 224px;
  padding: 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.2);
}

body.im-chat-page .im-chat-actions-menu[hidden],
body.im-chat-page .im-report-dialog[hidden] {
  display: none!important;
}

body.im-chat-page .im-chat-action {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #162033;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

body.im-chat-page .im-chat-action:hover,
body.im-chat-page .im-chat-action:focus-visible {
  background: #f3f6fa;
  color: #07122d;
  text-decoration: none;
  outline: none;
}

body.im-chat-page .im-chat-action > i {
  flex: 0 0 23px;
  width: 23px;
  color: #3c4658;
  font-size: 20px;
  text-align: center;
}

body.im-chat-page .im-chat-action-report,
body.im-chat-page .im-chat-action-report > i {
  color: #e02d38;
}

body.im-chat-page .im-chat-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

body.im-chat-page .im-report-dialog {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 18, 45, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

body.im-report-dialog-open {
  overflow: hidden;
}

body.im-chat-page .im-report-dialog-card {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100% - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 18, 45, 0.3);
}

body.im-chat-page .im-report-close-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f5f9;
  color: #475467;
  cursor: pointer;
}

body.im-chat-page .im-report-dialog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: #fff0f1;
  color: #e02d38;
  font-size: 21px;
}

body.im-chat-page .im-report-dialog-card h3 {
  width: auto;
  margin: 0 44px 8px 0;
  color: #07122d;
  font-size: 22px;
  line-height: 1.2;
}

body.im-chat-page .im-report-dialog-card > p {
  margin: 0 0 22px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

body.im-chat-page #im-report-form {
  display: block;
  width: 100%;
  min-width: 0;
}

body.im-chat-page #im-report-form label {
  display: block;
  margin: 0 0 7px;
  color: #253047;
  font-size: 13px;
  font-weight: 700;
}

body.im-chat-page #im-report-form label:not(:first-of-type) {
  margin-top: 16px;
}

body.im-chat-page #im-report-form label span {
  color: #98a2b3;
  font-weight: 500;
}

body.im-chat-page #im-report-form select,
body.im-chat-page #im-report-form textarea {
  display: block;
  float: none;
  clear: both;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid #d7dde6;
  border-radius: 12px;
  background: #fff;
  color: #101828;
  font-family: inherit;
  font-size: 14px;
  box-shadow: none;
}

body.im-chat-page #im-report-form select {
  height: 46px;
  padding: 0 12px;
}

body.im-chat-page #im-report-form textarea {
  min-height: 108px;
  padding: 12px;
  line-height: 1.45;
  resize: vertical;
}

body.im-chat-page #im-report-form select:focus,
body.im-chat-page #im-report-form textarea:focus {
  border-color: #0d63ff;
  outline: 3px solid rgba(13, 99, 255, 0.13);
}

body.im-chat-page .im-report-actions {
  display: flex;
  clear: both;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin-top: 22px;
}

body.im-chat-page .im-report-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
  cursor: pointer;
}

body.im-chat-page .im-report-cancel {
  border: 1px solid #d7dde6;
  background: #fff;
  color: #344054;
}

body.im-chat-page .im-report-submit {
  border: 1px solid #d92d38;
  background: #d92d38;
  color: #fff;
}

body.im-chat-page .im-report-submit:hover {
  background: #b4232d;
}

body.im-chat-page .im-chat-feedback {
  position: absolute;
  top: 88px;
  left: 50%;
  z-index: 95;
  width: min(calc(100% - 32px), 620px);
  transform: translateX(-50%);
  pointer-events: none;
}

body.im-chat-page .im-chat-notice {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #a6f4c5;
  border-radius: 12px;
  background: #ecfdf3;
  color: #067647;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  pointer-events: auto;
}

body.im-chat-page .im-chat-notice-error {
  border-color: #fecdca;
  background: #fef3f2;
  color: #b42318;
}

@media screen and (max-width: 767px) {
  body.im-chat-page .im-alt-head.im-chat-header {
    grid-template-columns: 38px 42px minmax(0, 1fr) 38px;
  }

  body.im-chat-page .im-chat-actions-menu {
    right: -3px;
    width: 210px;
  }

  body.im-chat-page .im-report-dialog {
    align-items: center;
    padding: 12px;
  }

  body.im-chat-page .im-report-dialog-card {
    width: 100%;
    max-height: calc(100% - 24px);
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px;
  }

  body.im-chat-page .im-report-dialog-card h3 {
    margin-right: 0;
    font-size: 18px;
  }

  body.im-chat-page .im-report-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  }

  body.im-chat-page .im-report-actions button {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  body.im-chat-page .im-chat-feedback {
    top: 76px;
  }
}

html[dir="rtl"] body.im-chat-page .im-chat-actions-menu {
  right: auto;
  left: -5px;
}

html[dir="rtl"] body.im-chat-page .im-chat-action {
  text-align: right;
}

html[dir="rtl"] body.im-chat-page .im-report-close-icon {
  right: auto;
  left: 15px;
}

@media (prefers-reduced-motion: reduce) {
  body.im-chat-page .im-report-dialog {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
