﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", serif;
  color: #0d0e13;
  transition: background 1s ease-in-out;
  background: #5f6970;
}
h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
div,
span,
ul,
li {
  font-family: "Montserrat", serif;
  color: #0d0e13;
}
button,
select,
input,
td,
th {
  font-family: "Montserrat", serif;
}

/* header */
header {
  display: flex;
  justify-content: space-between;
}
header .nav {
  text-align: left;
  margin: 0;
}
header .nav a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 60px;
  transition: 150ms;
  padding: 0 15px;
  text-transform: uppercase;
}
header .nav a:hover {
  color: #fff;
  background: transparent;
}
header .nav a:focus {
  color: #fff;
  background: transparent;
}
/*header .nav .active a{color:#a3e635; background: #fff}*/
header .nav li {
  line-height: 60px;
  display: inline-block;
  margin-left: 24px;
}
header .nav li:first-child {
  margin-left: 0px;
}
header div {
  vertical-align: middle;
}
body.mini-navbar.isnavbar .container {
  width: auto !important;
}
header .dental_header {
  height: 60px;
  position: relative;
  display: flex;
}

.navbar-usermenu {
  background-color: #fff !important;
  height: -webkit-fill-available;
} /* цвет фона меню*/
.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li {
  font-weight: 500;
  font-size: 15px;
}
.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li.nav-top {
  background: #16171f !important;
}
.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li > a:hover,
.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li > a:focus {
  background: #a3e635 !important;
  color: #0d0e13 !important;
}
.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li > a {
  color: #0d0e13 !important;
} /*цвет текста неактивных кнопок*/
.navbar-usermenu.navbar-static-side
  .sidebar-collapse
  .nav
  > li.nav-top
  .nav-toast
  .nav-toast-inner
  table
  td.uperc {
  color: #0d0e13 !important;
}
.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li.active {
  border-left: 3px solid #a3e635;
  background: #eaeaea;
} /*выделенный пункт меню*/
.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li.active > a {
  color: #0d0e13 !important;
}
.widgets .widget .widget-right {
  width: calc(100% - 75px) !important;
}

.navbar-usermenu.navbar-static-side .sidebar-collapse .nav > li > a i {
  padding: 18px 0;
}

/* header */
.top_header_line {
  height: 150px;
  background-color: #fff;
}
.icons {
  display: flex;
  justify-content: flex-end;
}

.lang {
  display: flex;
  align-items: center;
  height: 60px;
  justify-content: flex-end;
}

.lang_change {
  margin-left: auto;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 60px;
}

.lang_change:hover {
  color: #fff;
}

a.support {
  width: 20px;
  margin-left: 30px;
  display: flex;
  align-items: center;
  filter: contrast(1);
}

.top_header_line .icon {
  font-size: 14px;
  margin-right: 30px;
}

.top_header_line .icon:hover {
  color: #0d0e13;
}

.ge-header {
  height: 60px;
  background-color: #a3e635;
  color: #fff;
  z-index: 6;
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
}
.top-border {
  height: 0px;
  width: 100%;
  background: none;
  margin-bottom: 15px;
}

.header_image {
  background-image: url("/images/2025/02/03/ctt-header.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 150px;
}

.header_image img {
  height: 100%;
}

.header_logo {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: left;
}

.header_logo img {
  width: 228px;
}

.about_expo {
  margin-left: 50px;
  width: 350px;
}

.about_expo p {
  color: #fff;
  line-height: 21px;
}

.about_expo .date_expo {
  margin-bottom: 0;
}

.sp-pagebuilder-row,
.sppb-row {
  margin: 0;
}
.sp-top_sec-wrapper {
  display: none;
}

.ctt-button {
  background-color: #a3e635;
  color: #fff;
  text-decoration: none;
  padding: 5px 12px;
  font-size: 12px;
  display: inline-block;
}
.ctt-button:hover {
  background-color: #a3e635;
  color: #fff;
  text-decoration: none;
}

/* footer */
.footer {
  background-color: #5f6970;
}

.footer .footer-box {
  display: flex;
  gap: 40px;
  border-top: 0px solid #a3e635;
  padding: 65px 0 80px;
  line-height: 1.55;
}

.footer .block3 {
  width: calc(25% - 30px);
}

.footer .block3 > img {
  width: 200px;
  padding-top: 20px;
}

.footer p,
.footer div,
.footer li,
.footer a,
.footer h4 {
  color: #fff;
}

.footer h4 {
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.footer a:hover {
  color: #fff;
}

.footer ul {
  margin: 0 0 10px;
}

.footer li {
  list-style: none;
  line-height: 1.55;
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 300;
}

.footer .social_icons {
  margin-top: 30px;
  display: flex;
  font-size: 14px;
}

.footer .social_icons a {
  width: 25px;
  height: 25px;
  border-radius: 100%;
  margin-right: 8px;
  color: #091c23;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer .copyright {
  color: #fff;
  margin-top: 21px;
  font-size: 12px;
  font-weight: 300;
}
.footer .copyright a {
  color: #fff;
}
.footer .copyright a:hover {
  color: #fff;
}

@media screen and (max-width: 992px) {
  .footer {
    padding: 0 15px;
  }

  .footer .footer-box {
    flex-wrap: wrap;
  }

  .footer .block3 {
    width: calc(50% - 20px);
  }
  .header_image {
    left: 10px;
    top: 45px;
    width: 230px;
    height: 65px;
  }
  .top_header_line .text {
    bottom: 14px;
    left: 10px;
    right: 10px;
  }
}

#company_view .company_image img,
#exposition_view .company_image img {
  width: 100%;
}

/* *** СКРЫТЬ ВИДЖЕТ ЧАТА ТЕХПОДДЕРЖКИ *** */

#cleversite_clever_container {
  opacity: 0;
  max-width: 1px !important;
  max-height: 1px !important;
  right: -90px;
}

#jvlabelWrap {
  /* для пк версии */
  opacity: 0;
  max-width: 1px !important;
  max-height: 1px !important;
  right: -90px;
}

.__jivoMobileButton {
  /* для мобильной версии */
  width: 1px;
  height: 1px;
  opacity: 0;
  right: -100px !important;
}
#cleversite_clever_button {
  display: none;
}

button#cleversite_chat {
  display: none;
}

button#cleversite_call {
  display: none;
}

/* ***** Cкрыть кнопку связаться ***** */
#user_view .button_message > a:first-child {
  display: none;
}

/* ***** Cкрыть кнопку наверх ***** */
#yt-totop {
  display: none;
}

/* ***** Cкрываем пункты администрирования компании ***** */
/* .company_publish, .editTerminal, .trackList, .linkToEvent {
	display: none;
} */

.expo_exh_inner.catalog .short_opis {
  /* Скрыть краткое описание в каталоге */
  display: none !important;
}

.sp-pagebuilder-row,
.sppb-row {
  margin: 0;
}
.body-innerwrapper {
  padding: 0;
}

/* Цвета бренда для кнопок, модулей, экспозиции и админ панели */

.expo-tools .expo-tools-container-bar .btn-wrapper button.btn:hover {
  background: #a3e635 !important; /* цвет бренда */
  color: #fff;
}

.rexc > .span4:hover {
  border-color: #a3e635 !important; /* цвет бренда */
}

.module.module_admin .mod-inner > div ul.madmin-menu li a:hover {
  background-color: #a3e635 !important; /* цвет бренда */
}

.module.module_admin
  .mod-inner
  > div
  ul.madmin-menu
  li
  a:not(.nohover-adminblock-dop):hover {
  background-color: #a3e635 !important;
}

.module.module_admin .mod-inner > div ul.madmin-menu li.active a {
  color: #fff;
  background-color: #a3e635 !important; /* цвет бренда */
}

.module.mgray .mod-inner .mmembers .members-container .mmember .avatar:hover {
  border-color: #a3e635 !important; /* цвет бренда */
}

.btn-success:hover,
.btn-green:hover {
  background: #a3e635 !important; /* цвет бренда */
  color: #fff !important;
}
.btn-primary:hover {
  background: #a3e635 !important; /* цвет бренда */
  color: #fff !important;
}

.btn:hover {
  background: #a3e635 !important; /* цвет бренда */
  color: #fff !important;
}

.dropdown-menu li a:hover {
  background: #a3e635; /* цвет бренда */
}

span.title.ng-scope.ng-binding.editable:hover {
  color: #a3e635 !important; /* цвет бренда */
}

.btn-primary:hover {
  background: #a3e635 !important; /* цвет бренда */
  color: #fff !important;
}

#nextend-accordion-menu dl.level1 > dt:hover {
  background-color: #a3e635; /* цвет бренда */
  color: #fff;
}

#nextend-accordion-menu dl.level2 > dt:hover {
  background-color: #a3e635; /* цвет бренда */
  color: #fff;
}

#nextend-accordion-menu dl dt.active {
  background-color: #a3e635; /* цвет бренда */
  color: #fff !important;
}

#serv_item
  .cmitems
  .cmitem-box
  .cmitem
  .cmitem_header
  .labellist
  .label-primary {
  background-color: #a3e635; /* цвет бренда */
}

.checkbox label:after {
  color: #a3e635; /* цвет бренда */
}

.visitors_page a .exc_image:hover {
  border-color: #a3e635 !important; /* цвет бренда */
}

.active_button {
  background-color: #a3e635;
}

.favoritecomp {
  color: #a3e635;
}

.expo_exh_inner.s4 .rexc > .span3:hover {
  border-color: #a3e635 !important;
}

.btn-set-expo:hover {
  background: #a3e6354f !important;
}

.btn-set-expo.active {
  background: #a3e6354f !important;
}

#listForm .expo-tools .expo-tools-select-display-mode .btn.active {
  background: #a3e635 !important;
}
.partner_bar {
  background-color: #a3e635 !important;
  color: #a3e635 !important;
}

.btn.btn-white.active {
  background: #a3e635 !important;
  color: #fff !important;
}

.btn.btn-white.active i {
  color: #fff !important;
}
.btn.btn-white.active:hover {
  background: #a3e635 !important;
  color: #fff !important;
}

.btn.btn-white.active:hover i {
  color: #fff !important;
}

@media screen and (max-width: 992px) and (min-width: 768px) {
  .container {
    width: 100%;
  }
}
@media screen and (max-width: 992px) {
  .lang {
    left: 0;
    top: 0;
  }
  .lang_change {
    height: 22px;
  }
}

@media screen and (max-width: 767px) {
  body.mini-navbar.isnavbar .container {
    margin-left: 0px !important;
  }
  header .nav li {
    line-height: 40px;
    display: inline-block;
    margin-left: 10px;
  }
  .icons {
    margin-right: 15px;
  }
}
/* checkbox 

.burger-checkbox {
  display: none;
}
.burger-checkbox:checked ~ .dental_header {
  transform: translate(0, 0); 
}
.burger-checkbox:checked ~ .burger-btn {
  position: absolute;
}
.burger-checkbox:checked ~ .burger-btn .burger-icon{
  background: transparent;
}
.burger-checkbox:checked ~ .burger-btn .burger{
  background: transparent !important;
}
.burger-checkbox:checked ~ .burger-btn .burger-icon::before, .burger-checkbox:checked ~ .burger-btn .burger-icon::after {
  top: 0;
}
.burger-checkbox:checked ~ .burger-btn .burger::before, .burger-checkbox:checked ~ .burger-btn .burger::after {
  top: 0;
}
.burger-checkbox:checked ~ .burger-btn .burger-icon::after {
  transform: rotate(-45deg);
}
.burger-checkbox:checked ~ .burger-btn .burger-icon::before {
  transform: rotate(45deg);
}
.burger-checkbox:checked ~ .burger-btn .burger::after {
  transform: rotate(-45deg);
}
.burger-checkbox:checked ~ .burger-btn .burger::before {
  transform: rotate(45deg);
}*/

#tab_desc_flat .span12.company_image {
  display: none;
}

/* Рекламные баннеры */
.ctt-banners {
  display: grid;
  grid-template-columns: 1fr;
  width: 550px;
  margin: 0 auto 15px;
  grid-gap: 15px;
}
.ctt-banners img {
  border-radius: 7px;
  width: 100%;
}

.diplom-banner {
  display: none !important;
}

.service-box__image-box {
  display: none;
}

.btn.btn-white.user_button[data-val="2"] {
  display: none;
}

@media screen and (max-width: 768px) {
  .ctt-banners {
    width: 100%;
  }
}

/* Рекламный баннер  - start */
.banner-container {
  background-color: #84cc16;
  padding: 0px;
  border-radius: 5px;
  margin-bottom: 15px !important;
}
.banner-container h3 {
  color: #fff;
  padding: 20px;
  text-align: center;
  padding-bottom: 0px;
  margin: 0px;
}
.banner-container p {
  font-size: 18px;
  color: #fff;
}
.banner-container a {
  color: #c8ff4d;
}
.row-banner {
  display: flex;
  flex-direction: column;
  margin: 0px;
}
.cell-banner {
  border: 0px solid #000;
  margin: 5px;
  padding: 10px;
  text-align: center;
}
.cell-banner {
  color: #fff;
}
.how-it-works-circle-1 {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 100%;
  top: 50px;
  left: 0px;
  z-index: 1;
  opacity: 15%;
}
.how-it-works-circle-2 {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 100%;
  top: 0px;
  left: 900px;
  z-index: 0;
  opacity: 15%;
}
.how-it-works-circle-3 {
  display: none;
}
.main-color {
  background-color: #fff;
}
.row-small {
  width: 25%;
  vertical-align: bottom;
  display: flex;
  align-items: flex-end;
}
.row-big {
  width: 50%;
}
.banner-button {
  margin: 10px;
  width: 310px;
  white-space: normal;
  word-break: break-all;
  background: #fff;
  margin-right: 0px;
  line-height: 16px;
  color: #000 !important;
  border-radius: 0px;
  border: 14px solid #fff;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  border-radius: 5px;
}
.img-banner {
  display: inline-block;
}

@media screen and (min-width: 600px) {
  .row-banner {
    flex-direction: row;
  }
}

@media screen and (max-width: 700px) {
  .banner-container {
    width: auto;
    text-align: center;
  }
  .banner-container h3 {
    font-size: 16px;
    line-height: 24px;
  }
  .banner-container p {
    font-size: 16px;
    margin: 0 auto 10px;
  }
  .cell-banner .row-small {
    display: none !important;
  }
  .how-it-works-circle-1 {
    display: none;
  }
  .how-it-works-circle-2 {
    display: none;
  }
  .img-banner {
    display: none !important;
  }
  .row-big {
    width: 100%;
  }
  .row-small {
    width: auto;
    display: none !important;
  }
  .how-it-works-circle-3 {
    display: block;
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 100%;
    top: 50px;
    left: 0px;
    z-index: 0;
    opacity: 15%;
  }
}
/* Рекламный баннер  - end */
/* Блок диплома - start */
.diplom-row-big {
  width: 70%;
}
.diplom-row-small {
  width: 30%;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
}
.diplom-banner {
  display: flex;
  flex-direction: row;
  margin: 0px;
  padding: 5px 25px !important;
  border-radius: 7px;
  background: #a3e635 !important;
  margin-bottom: 15px;
}
.diplom-row-big h3,
.diplom-row-big p {
  color: #fff;
}

@media screen and (max-width: 700px) {
  .diplom-banner {
    display: block;
    width: auto;
    text-align: center;
    padding: 5px !important;
  }
  .diplom-banner p {
    font-size: 16px;
    margin: 0 auto 10px;
  }
  .diplom-row-big {
    width: 100% !important;
  }
  .diplom-row-small {
    width: 100% !important;
  }
  .row-small {
    width: auto;
    display: none !important;
  }
  .expo_exh_inner.catalog .exh_name {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
    max-width: 377px;
    text-align: left;
  }
  a.support {
    width: 20px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    filter: contrast(1);
  }
  .header_image {
    left: 10px;
    top: 45px;
    width: 100%;
    height: auto;
    padding-left: 30px;
  }
  .about_expo {
    margin: 0 50px;
    width: 350px;
  }
}
/* Блок диплома - end */

/**
 * @package    JJ_Shoutbox
 * @updated    2026-03-24
 * @version    2.0 - Modern & Responsive
 */

:root {
  --sb-primary: #a3e635;
  --sb-primary-dark: #84cc16;
  --sb-success: #a3e635;
  --sb-danger: #e10600;
  --sb-warning: #c8ff4d;
  --sb-dark: #2b2d42;
  --sb-gray: #8d99ae;
  --sb-light: #edf2f4;
  --sb-white: #ffffff;
  --sb-border-radius: 12px;
  --sb-border-radius-sm: 8px;
  --sb-transition: all 0.2s ease;
  --sb-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --sb-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.jjshoutbox {
  margin: auto;
  width: 100%;
  max-width: 100%;
  background: #fff0;
  border-radius: var(--sb-border-radius);
  overflow: hidden;
}

.jjshoutbox img {
  display: inline;
  max-width: 100%;
  height: auto;
}

.jjshoutbox > div,
.jjshoutbox textarea,
.jjshoutbox input {
  box-sizing: border-box;
}

.jjshoutboxform {
  margin: 0 auto;
  padding: 16px;
  background: var(--sb-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.jjshoutboxform textarea {
  width: 100%;
  margin: 0;
  resize: vertical;
  border: 2px solid #e0e4e8;
  border-radius: var(--sb-border-radius-sm);
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  transition: var(--sb-transition);
  background: var(--sb-white);
}

.jjshoutboxform textarea:focus {
  outline: none;
  border-color: #a3e63569;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.jjshoutboxform .fullwidth {
  margin-top: 12px;
  color: var(--sb-white);
  float: right;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #a3e635;
  border: none;
  cursor: pointer;
  transition: var(--sb-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jjshoutboxform .fullwidth:hover {
  background: var(--sb-primary-dark);
  transform: scale(1.05);
}

.jjshoutboxform table {
  width: 100%;
}

.jjshoutboxform td {
  padding: 8px 4px;
}

.jjshoutboxform a {
  color: var(--sb-gray);
  text-decoration: none;
  transition: var(--sb-transition);
}

.jjshoutboxform a:hover {
  color: #a3e635;
}

.jjshoutboxform .mass_delete {
  margin-top: 20px;
}

.jjshoutboxform .mass_delete input {
  margin-top: 0;
}

.jjshoutboxform p {
  margin: 8px 0;
}

/* ===== Сообщения чата - современный дизайн ===== */

.jjshout_message {
  background: var(--sb-white);
  border-radius: var(--sb-border-radius);
  margin-bottom: 12px;
  padding: 0;
  transition: var(--sb-transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.jjshout_message:hover {
  box-shadow: var(--sb-shadow-hover);
  border-color: rgba(67, 97, 238, 0.2);
}

/* Заголовок сообщения */
.shout-header {
  padding: 12px 12px 8px 12px;
  background: linear-gradient(to bottom, #fafbfc, #ffffff);
  border-bottom: 1px solid #f0f2f5;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Аватар */
.shout-header .avatar {
  float: none;
  margin: 0;
  order: 1;
  flex-shrink: 0;
}

.img_avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sb-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: var(--sb-transition);
}

.img_avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Имя пользователя */
.jjshout_msg_name {
  order: 2;
  font-weight: 600;
  font-size: 0.95em;
  color: var(--sb-dark);
  background: linear-gradient(135deg, var(--sb-dark) 0%, #3a3f5e 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.2px;
}

/* Время */
.post_time {
  order: 3;
  font-size: 0.7em;
  color: var(--sb-gray);
  margin-left: auto;
  background: var(--sb-light);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

/* Иконка копирования */
.fa-files-o {
  order: 4;
  color: var(--sb-gray);
  font-size: 0.8em;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: var(--sb-transition);
}

.fa-files-o:hover {
  color: #a3e635;
  background: rgba(67, 97, 238, 0.1);
}

/* Действия с сообщением */
.shout-actions {
  order: 5;
  display: flex;
  gap: 4px;
  align-items: center;
  opacity: 0.6;
  transition: var(--sb-transition);
}

.jjshout_message:hover .shout-actions {
  opacity: 1;
}

.shout-actions form {
  margin: 0;
  display: inline-flex;
  gap: 4px;
}

.shout-remove {
  background: none !important;
  border: none !important;
  padding: 4px 6px !important;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--sb-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shout-remove img {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: var(--sb-transition);
}

.shout-remove:hover {
  background: rgba(239, 71, 111, 0.1) !important;
}

.shout-remove:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(27%) sepia(87%) saturate(3000%)
    hue-rotate(340deg) brightness(95%) contrast(90%);
}

/* Блок пользователя (выпадающее меню) */
.wrap-block-user {
  position: relative;
  display: inline-block;
}

.wrap-block-user .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 6px;
  transition: var(--sb-transition);
  color: var(--sb-gray);
  text-decoration: none;
}

.wrap-block-user .dropdown-toggle i {
  font-size: 14px;
}

.wrap-block-user .dropdown-toggle:hover {
  background: rgba(67, 97, 238, 0.1);
  color: #a3e635;
}

/* Выпадающее меню */
.wrap-block-user .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 1000;
  min-width: 160px;
  padding: 8px 0;
  margin: 4px 0 0;
  font-size: 13px;
  text-align: left;
  list-style: none;
  background-color: var(--sb-white);
  background-clip: padding-box;
  border: none;
  border-radius: var(--sb-border-radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
}

.wrap-block-user.open .dropdown-menu {
  display: block;
}

.wrap-block-user .dropdown-menu li button {
  width: 100%;
  padding: 8px 16px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--sb-transition);
  color: var(--sb-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wrap-block-user .dropdown-menu li button i {
  width: 18px;
  font-size: 14px;
}

.wrap-block-user .dropdown-menu li button:hover {
  background: var(--sb-light);
  color: #a3e635;
}

/* Тело сообщения */
.jjbodymsg {
  padding: 12px;
  cursor: pointer;
  transition: var(--sb-transition);
}

.jjbodymsg:hover {
  background: rgba(67, 97, 238, 0.02);
}

.jjbodymsg p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.5;
  color: var(--sb-dark);
  word-wrap: break-word;
}

/* Стили для вопроса докладчику */
.quest-speaker {
  position: relative;
  padding-left: 24px;
}

.quest-speaker b {
  color: #a3e635;
  font-weight: 600;
}

/* Ответ на сообщение */
.jjshout_message span.reply {
  display: block;
  margin: 8px 12px 12px 52px;
  padding: 10px 12px;
  background: var(--sb-light);
  border-left: 3px solid #a3e635;
  border-radius: var(--sb-border-radius-sm);
  font-size: 0.85em;
  color: var(--sb-gray);
}

.jjshout_message span.reply-fio {
  font-weight: 600;
  color: #a3e635;
  margin-bottom: 4px;
  display: block;
}

/* Скрытые поля */
.jjshout_message input[type="hidden"] {
  display: none;
}

/* Адаптивность для сообщений */
@media (max-width: 768px) {
  .shout-header {
    padding: 10px 10px 6px 10px;
    gap: 6px;
  }

  .img_avatar {
    width: 32px;
    height: 32px;
  }

  .jjshout_msg_name {
    font-size: 0.9em;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .post_time {
    font-size: 0.65em;
    padding: 2px 6px;
  }

  .shout-actions {
    opacity: 0.8;
  }

  .shout-remove img {
    width: 12px;
    height: 12px;
  }

  .jjbodymsg {
    padding: 10px;
  }

  .jjbodymsg p {
    font-size: 0.9em;
  }

  .jjshout_message span.reply {
    margin-left: 10px;
    margin-right: 10px;
    padding: 8px 10px;
    font-size: 0.8em;
  }

  .quest-speaker {
    padding-left: 20px;
  }

  .quest-speaker::before {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .shout-header {
    padding: 8px 8px 4px 8px;
    gap: 4px;
  }

  .img_avatar {
    width: 28px;
    height: 28px;
  }

  .jjshout_msg_name {
    font-size: 0.85em;
    max-width: 120px;
  }

  .post_time {
    font-size: 0.6em;
    padding: 2px 4px;
  }

  .fa-files-o {
    font-size: 0.75em;
    padding: 2px;
  }

  .shout-remove img {
    width: 10px;
    height: 10px;
  }

  .jjbodymsg {
    padding: 8px;
  }

  .jjbodymsg p {
    font-size: 0.85em;
  }

  .jjshout_message span.reply {
    margin: 6px 8px 8px 8px;
    padding: 6px 8px;
  }

  .quest-speaker {
    padding-left: 18px;
  }

  .quest-speaker::before {
    font-size: 12px;
  }
}

/* RTL поддержка для сообщений */
html[dir="rtl"] .shout-header {
  flex-direction: row-reverse;
}

html[dir="rtl"] .post_time {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .quest-speaker {
  padding-left: 0;
  padding-right: 24px;
}

html[dir="rtl"] .quest-speaker::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .jjshout_message span.reply {
  border-left: none;
  border-right: 3px solid #a3e635;
  margin-left: 12px;
  margin-right: 52px;
}

html[dir="rtl"] .wrap-block-user .dropdown-menu {
  right: auto;
  left: 0;
  text-align: right;
}

html[dir="rtl"] .wrap-block-user .dropdown-menu li button {
  text-align: right;
}

@media (max-width: 768px) and (dir: rtl) {
  .jjshout_message span.reply {
    margin-right: 10px;
    margin-left: 10px;
  }
}

/* Анимация появления сообщения */
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jjshout_message {
  animation: messageSlideIn 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Стили для выделения при ответе */
.jjshout_message.reply-highlight {
  background: linear-gradient(
    135deg,
    rgba(67, 97, 238, 0.05),
    rgba(67, 97, 238, 0.02)
  );
  border-left: 3px solid #a3e635;
  animation: pulseHighlight 1s ease;
}

@keyframes pulseHighlight {
  0%,
  100% {
    border-left-color: #a3e635;
  }
  50% {
    border-left-color: rgba(67, 97, 238, 0.5);
  }
}

/* Стили для заблокированных пользователей */
.jjshout_message.muted .jjshout_msg_name {
  opacity: 0.6;
  text-decoration: line-through;
}

.jjshout_message.blocked {
  opacity: 0.7;
  filter: grayscale(0.3);
}

/* Оптимизация для touch устройств */
@media (hover: none) and (pointer: coarse) {
  .shout-actions {
    opacity: 1;
  }

  .shout-remove,
  .wrap-block-user .dropdown-toggle,
  .fa-files-o {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .jjshout_message span.reply {
    margin-left: 12px;
    margin-right: 12px;
  }
}

/* Стилизация скроллбара */
.jjshoutboxoutput::-webkit-scrollbar {
  width: 6px;
}

.jjshoutboxoutput::-webkit-scrollbar-track {
  background: var(--sb-light);
  border-radius: 10px;
}

.jjshoutboxoutput::-webkit-scrollbar-thumb {
  background: var(--sb-gray);
  border-radius: 10px;
}

.jjshoutboxoutput::-webkit-scrollbar-thumb:hover {
  background: #a3e635;
}

/* Сообщение */
.jjshout_message {
  background: var(--sb-white);
  border-radius: var(--sb-border-radius-sm);
  margin-bottom: 12px;
  padding: 12px;
  transition: var(--sb-transition);
  border: 1px solid #eef2f6;
  position: relative;
}

.jjshout_message:hover {
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.12);
}

/* Заголовок сообщения */
.jjshoutboxoutput .shout-header {
  font-family: inherit;
  font-size: 0.85em;
  font-weight: 600;
  margin: 0 0 8px 0;
  padding: 0 0 0 5px;
  line-height: 1.4;
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 7px !important;
}

/* Имя пользователя */
.user_name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  font-weight: 600;
  color: var(--sb-dark);
}

/* Время публикации */
.post_time {
  font-size: 0.75em;
  font-weight: normal;
  color: var(--sb-gray);
  margin-left: auto;
}

/* Аватар */
.avatar {
  float: left;
  margin: 0 12px 8px 0;
}

.img_avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Тело сообщения */
.jjshoutboxoutput div p {
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0;
  padding: 0 0 0 5px;
  color: var(--sb-dark);
}

.jjbodymsg {
  cursor: pointer;
}

/* Действия с сообщением (кнопки) */
.jjshoutboxoutput .shout-actions {
  position: absolute;
  top: 4px;
  right: -13px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: var(--sb-transition);
}

.jjshout_message:hover .shout-actions {
  opacity: 1;
}

.jjshoutboxoutput input[type="submit"],
.shout-actions .shout-remove,
.jj-shout-edit {
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: var(--sb-border-radius-sm);
  transition: var(--sb-transition);
  color: var(--sb-gray);
}

.jjshoutboxoutput input[type="submit"]:hover,
.shout-actions .shout-remove:hover,
.jj-shout-edit:hover {
  background: var(--sb-light);
  color: var(--sb-danger);
}

/* Ответ на сообщение */
.jjshout_message span.reply {
  display: block;
  font-size: 0.8em;
  border-left: 3px solid #a3e635;
  padding-left: 10px;
  margin: 10px 0 8px 52px;
  color: var(--sb-gray);
}

.jjshout_message span.reply-fio {
  display: block;
  font-weight: 600;
  color: #a3e635;
  margin-bottom: 4px;
}

.jj-shout-check .user-name {
  font-size: 14px !important;
}

/* ===== Контейнер ответа ===== */
#reply-container .wrap-reply-inp {
  border-left: 3px solid #a3e635;
  margin: 8px 12px;
  padding-left: 12px;
  background: var(--sb-light);
  border-radius: var(--sb-border-radius-sm);
  color: var(--sb-gray);
  font-size: 0.85em;
  padding: 8px 12px;
}

#reply-container .reply-close {
  float: right;
  cursor: pointer;
  padding-left: 12px;
  font-size: 16px;
  color: var(--sb-danger);
}

#reply-container .reply-fio-inp {
  font-weight: 600;
  color: #a3e635;
}

/* ===== Кнопки и элементы управления ===== */
.send_btn {
  margin-left: -5px;
  font-size: 18px;
}

#charsLeft {
  font-size: 11px;
  color: var(--sb-gray) !important;
  line-height: 1;
  display: none;
}

/* ===== Смайлики ===== */
.jj_smiley {
  border: none;
  cursor: pointer;
  display: inline-block;
  margin: 4px;
  padding: 4px;
  border-radius: var(--sb-border-radius-sm);
  transition: var(--sb-transition);
}

.jj_smiley:hover {
  background: var(--sb-light) !important;
  transform: scale(1.1);
}

.jjshoutboxform .dropdown-menu,
.jjshoutboxform .uk-dropdown {
  padding: 8px !important;
  max-width: 280px;
  border-radius: var(--sb-border-radius);
  box-shadow: var(--sb-shadow-hover);
  border: none;
}

.jjshoutboxform .dropdown-menu li,
.jjshoutboxform .uk-dropdown li {
  float: left;
  padding: 0 4px;
  min-height: 32px;
  list-style: none;
}

/* ===== BBCode панель ===== */
.bbcode-form {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: var(--sb-light);
  border-radius: var(--sb-border-radius-sm);
}

.bbcode-form p {
  font-weight: 600;
  margin-bottom: 8px;
}

.bbcode-form input {
  width: 100%;
  min-height: 40px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--sb-border-radius-sm);
}

.jj-bold {
  font-weight: bold !important;
}

.jj-italic {
  font-style: italic !important;
}

.jj-underline {
  text-decoration: underline !important;
}

/* ===== Модальное окно ===== */
.winmessagemodal_overlay {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2001;
  transition: 0.3s all;
}

.winmessagemodal {
  opacity: 0;
  visibility: hidden;
  width: 90%;
  max-width: 500px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2030;
  box-shadow: var(--sb-shadow-hover);
  text-align: center;
  padding: 0;
  border-radius: var(--sb-border-radius);
  background-color: var(--sb-white);
  transition: 0.3s all;
  overflow: hidden;
}

.winmessagemodal.active,
.overlay.active,
.winmessagemodal_overlay.active {
  opacity: 1;
  visibility: visible;
}

#winmessagemodal.type-dialogues .modal_title1_dialog {
  background: linear-gradient(135deg, var(--sb-danger) 0%, #e10600 100%);
  color: var(--sb-white);
  font-weight: 700;
  padding: 20px;
  font-size: 24px;
}

#winmessagemodal.type-dialogues .modal__title {
  padding: 24px;
}

#winmessagemodal.type-dialogues button {
  color: var(--sb-white) !important;
  font-size: 14px;
  font-weight: 600;
  background-color: #a3e635 !important;
  text-transform: uppercase;
  border: none !important;
  text-align: center;
  transition: var(--sb-transition);
  border-radius: var(--sb-border-radius-sm) !important;
  padding: 12px 24px;
  margin: 8px;
}

#winmessagemodal.type-dialogues button:hover {
  background-color: var(--sb-primary-dark) !important;
  transform: translateY(-2px);
}

/* ===== Система чеков и времени ===== */
.jj-shout-check {
  background: var(--sb-white);
  border-radius: var(--sb-border-radius);
  padding: 12px;
  margin: 8px 0;
}

.jj-shout-check .jj-td-your-time {
  padding: 8px;
  font-size: 12px;
  text-align: center;
}

.jj-shout-check .jj-your-time {
  text-decoration: underline;
  cursor: default;
  font-weight: 500;
}

.jj-shout-check .jj-time-upl {
  font-weight: bold;
  color: #a3e635;
}

.jj-shout-check .jj-td-icon {
  width: 36px;
  padding: 8px;
  text-align: center;
}

.jj-shout-check .jj-td-icon i {
  cursor: pointer;
  font-size: 18px;
  transition: var(--sb-transition);
}

.jj-shout-check .jj-refresh-check i:hover {
  transform: scale(1.1);
  color: #a3e635;
}

.jj-shout-check .jj-check-list {
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  gap: 8px;
}

.jj-shout-check .jj-check-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sb-light);
  transition: var(--sb-transition);
}

.jj-shout-check .jj-check-item.active {
  background: var(--sb-success);
  box-shadow: 0 0 0 2px rgba(6, 214, 160, 0.3);
}

.jj-shout-check .jj-check-item.old:not(.active) {
  background: var(--sb-danger);
  box-shadow: 0 0 0 2px rgba(239, 71, 111, 0.3);
}

/* ===== Блок пользователя и выпадающее меню ===== */
.wrap-block-user {
  position: relative;
}

.wrap-block-user ul.dropdown-menu {
  padding: 4px 0;
  border-radius: var(--sb-border-radius-sm);
  box-shadow: var(--sb-shadow-hover);
  border: none;
  min-width: 150px;
}

.wrap-block-user ul.dropdown-menu > li button {
  background: none;
  border: 0;
  margin: 0;
  width: 100%;
  padding: 8px 16px;
  text-align: left;
  transition: var(--sb-transition);
  font-size: 13px;
}

.wrap-block-user ul.dropdown-menu > li button:hover {
  background: var(--sb-light);
  color: #a3e635;
}

/* ===== Иконки и индикаторы ===== */
.jjshout_message .avatar ~ i.mdi-volume-off,
.jjshout_message .avatar ~ i.fa-lock {
  color: var(--sb-danger);
  padding-right: 6px;
  font-size: 12px;
}

.jjshout_message .jjshout_msg_name + i.fa-files-o {
  color: var(--sb-gray);
  font-size: 0.85em;
  cursor: pointer;
  padding-left: 6px;
  margin-right: 0px;
  transition: var(--sb-transition);
}

.shout-actions .shout-remove {
  background: #fff;
  width: 50% !important;
  height: 50% !important;
  border-radius: 0;
  line-height: 20px;
}

.jjshout_message .jjshout_msg_name + i.fa-files-o:hover {
  color: #a3e635;
}

/* ===== Ошибки и уведомления ===== */
.jjshoutbox .jj_error {
  color: var(--sb-danger);
  font-weight: bold;
  font-size: 13px;
}

.jjshoutbox .jj-shout-error {
  display: none;
  margin-top: 12px;
}

.floodingmessage {
  text-align: justify;
  color: #fff !important;
  vertical-align: middle;
  display: table-cell;
  font-size: 13px;
  line-height: 1.4;
  padding-top: 8px;
  display: none;
}

.floodingmessage_visible {
  display: block !important;
}

#floodingmessage .fa-exclamation-triangle {
  margin-right: 12px;
  font-size: 18px;
}

/* ===== Кнопка NMO ===== */
.wrapper-btn-nmo {
  margin-bottom: 8px;
}

.wrapper-btn-nmo .btn-nmo {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--sb-danger) 0%,
    #e10600 100%
  ) !important;
  color: white !important;
  font-weight: bold !important;
  border-radius: var(--sb-border-radius-sm) !important;
  padding: 10px;
  border: none;
  transition: var(--sb-transition);
}

.wrapper-btn-nmo .btn-nmo:hover {
  transform: translateY(-2px);
  box-shadow: var(--sb-shadow);
}

/* ===== История чата ===== */
.jj-shout-history.modal-body {
  max-height: 400px;
  overflow-y: auto;
}

.jj-shout-history > div {
  background-color: var(--sb-light);
  border: 1px solid #e3e3e3;
  border-radius: var(--sb-border-radius-sm);
  margin-bottom: 16px;
  padding: 12px;
  transition: var(--sb-transition);
}

.jj-shout-history > div:hover {
  box-shadow: var(--sb-shadow);
}

.jj-shout-history .avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* ===== Адаптивность (Mobile First) ===== */
@media (max-width: 768px) {
  .jjshoutboxoutput {
    width: 100%;
    max-height: 600px;
    height: 600px !important;
    padding: 8px;
  }

  .jjshout_message {
    padding: 10px;
    margin-bottom: 10px;
  }

  .jjshoutboxoutput .shout-header {
    font-size: 0.8em;
    flex-wrap: wrap;
  }

  .user_name {
    max-width: 150px;
    font-size: 0.9em;
  }

  .post_time {
    font-size: 0.7em;
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }

  .img_avatar {
    width: 32px;
    height: 32px;
  }

  .avatar {
    margin: 0 8px 8px 0;
  }

  .jjshoutboxoutput .shout-actions {
    opacity: 1;
    top: 8px;
    right: 8px;
  }

  .jjshoutboxoutput .shout-actions button {
    padding: 2px 6px;
  }

  .jjshoutboxform {
    padding: 12px;
  }

  .jjshoutboxform textarea {
    font-size: 16px; /* Предотвращает масштабирование на iOS */
    padding: 10px;
  }

  .jjshoutboxform .fullwidth {
    width: 40px;
    height: 40px;
  }

  .jjshout_message span.reply {
    margin-left: 40px;
    font-size: 0.75em;
  }

  .winmessagemodal {
    width: 95%;
    max-width: 95%;
    padding: 0;
  }

  #winmessagemodal.type-dialogues .modal_title1_dialog {
    font-size: 20px;
    padding: 16px;
  }

  .jj-shout-check .jj-check-list {
    flex-wrap: wrap;
  }

  .jj-shout-check .jj-check-item {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .jjshoutboxoutput {
    max-height: 350px;
  }

  .user_name {
    max-width: 120px;
  }

  .jjshoutboxoutput .shout-header {
    padding-right: 60px;
  }

  .jjshout_message span.reply {
    margin-left: 0;
  }

  .avatar {
    float: none;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
  }

  .jjshoutboxoutput div p {
    font-size: 0.9em;
    padding-left: 0;
  }

  .img_avatar {
    width: 28px;
    height: 28px;
  }

  .jjshoutboxform .fullwidth {
    width: 36px;
    height: 36px;
  }

  .send_btn {
    font-size: 16px;
  }
}

/* ===== RTL поддержка ===== */
html[dir="rtl"] .jjshoutboxoutput .shout-header {
  padding: 0 5px 0 35px;
}

html[dir="rtl"] .jjshoutbox .btn-group .btn {
  min-width: 26px;
  margin-bottom: 5px;
}

html[dir="rtl"] .jjshoutboxoutput div p {
  text-align: right;
  padding: 0 5px 0 0;
}

html[dir="rtl"] .jjshoutboxoutput .shout-actions {
  left: 12px;
  right: auto;
}

html[dir="rtl"] .avatar {
  float: right;
  margin: 0 0 8px 12px;
}

html[dir="rtl"] .jjshout_message span.reply {
  border-left: none;
  border-right: 3px solid #a3e635;
  padding-left: 0;
  padding-right: 10px;
  margin: 10px 52px 8px 0;
}

/* ===== Анимации ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jjshout_message {
  animation: fadeIn 0.3s ease;
}

/* ===== Утилиты ===== */
.center-block {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.jjshoutbox-audio {
  display: none;
}

#noguest {
  color: #c8ff4d;
  font-weight: bold;
}

.tospeakerpostcolor {
  background: #c8ff4d;
}

.tospeakerpostlabel {
  color: #333;
}

#jjshoutboxoutput {
  background: #fdfdfd00;
  border-color: #fff !important;
  border-width: 0px;
  border-radius: 12px 12px 0 0;
}

.control-label.tospeakerpostlabel::before {
  color: #333 !important;
}

/* ===== FIX MOBILE CHAT ===== */
@media (max-width: 768px) {
  /* Убираем переносы в шапке */
  .jjshoutboxoutput .shout-header {
    flex-wrap: nowrap !important;
    align-items: center;
  }

  /* Имя */
  .user_name,
  .jjshout_msg_name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ВРЕМЯ — фикс как на десктопе */
  .post_time {
    width: auto !important;
    margin-left: auto !important;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* КНОПКА КОПИРОВАТЬ */
  .fa-files-o {
    position: static !important;
    margin-left: 6px;
    flex-shrink: 0;
  }

  /* ДЕЙСТВИЯ (удалить и т.д.) */
  .jjshoutboxoutput .shout-actions {
    position: static !important;
    margin-left: 6px;
    opacity: 1;
  }

  /* ЧТОБ НЕ РАЗЪЕЗЖАЛОСЬ */
  .shout-header > * {
    flex-shrink: 0;
  }

  /* текст пусть ужимается */
  .user_name,
  .jjshout_msg_name {
    flex-shrink: 1;
  }
}

/* ===== EXTRA FIX ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ===== */
@media (max-width: 480px) {
  .jjshoutboxoutput .shout-header {
    gap: 4px;
  }

  .post_time {
    font-size: 0.6em;
  }

  .fa-files-o {
    font-size: 0.7em;
  }
}

.jjshoutboxoutput .shout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.shout-header .avatar {
  flex-shrink: 0;
}

.user_name,
.jjshout_msg_name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post_time {
  width: auto !important;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.fa-files-o {
  margin-left: 6px;
  flex-shrink: 0;
}

.jjshoutboxoutput .shout-actions {
  position: static !important;
  display: flex;
  gap: 4px;
  margin-left: 6px;
  opacity: 1;
  flex-shrink: 0;
}

.jjshoutboxoutput .shout-actions[style],
.jjshoutboxoutput .shout-actions {
  top: auto !important;
  right: auto !important;
}

@media (max-width: 768px) {
  .img_avatar {
    width: 32px;
    height: 32px;
  }

  .user_name,
  .jjshout_msg_name {
    font-size: 0.9em;
  }

  .post_time {
    font-size: 0.65em;
  }

  .fa-files-o {
    font-size: 0.75em;
  }
}

@media (max-width: 480px) {
  .img_avatar {
    width: 28px;
    height: 28px;
  }

  .user_name,
  .jjshout_msg_name {
    font-size: 0.85em;
  }

  .post_time {
    font-size: 0.6em;
  }
}

.navbar-usermenu.navbar-static-side
  .sidebar-collapse
  .nav
  > li.nav-top
  .nav-toast
  .nav-toast-inner
  .nav-u-chart
  canvas {
  top: 45%;
  left: 44%;
}

canvas {
  height: 49px;
  width: 49px;
}

.span4.offset4.text-center.login-wrapper {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-radius: 7px;
  padding: 40px 10px !important;
  margin-bottom: 20px;
  margin-top: 100px;
}
