/* =========================================================
   custom_clean.css – Projekt: disko / JomSocial
   Struktur:
   1) Globale Regeln
   2) Joomla-spezifische Regeln
   3) JomSocial
   4) Andere Extensions
   ========================================================= */

/* =========================================================
   1) GLOBALE REGELN
   - Typografie, Farben, Buttons, Layout
   ========================================================= */


body .k-ui-joomla .com_docman .k-toolbar {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
    margin: 0 auto 16px;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Buttons in der Toolbar */
body .k-ui-joomla .com_docman .k-toolbar .btn {
    border-radius: 4px !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    border: 1px solid transparent !important;
}

/* Dokument hinzufügen – Primär */
body .k-ui-joomla .com_docman .k-toolbar .btn-success {
    background: #22c55e !important;
    border-color: #16a34a !important;
    color: #fff !important;
}

/* Hochladen – Sekundär (blau) */
body .k-ui-joomla .com_docman .k-toolbar .btn-secondary {
    background: #3b82f6 !important;
    border-color: #2563eb !important;
    color: #fff !important;
}

/* Löschen – Danger */
body .k-ui-joomla .com_docman .k-toolbar .btn-danger {
    background: #ef4444 !important;
    border-color: #dc2626 !important;
    color: #fff !important;
}

body .k-ui-joomla .com_docman .k-toolbar .btn:hover {
    filter: brightness(0.95);
}

/*Dokumentenliste*/

/* Tabelle als Card in der Mitte */
body .k-ui-joomla .com_docman table.table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    font-size: 13px;
}

/* Header */
body .k-ui-joomla .com_docman table.table thead tr {
    background: #f8f8f8;
}

body .k-ui-joomla .com_docman table.table thead th {
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
}

/* Zeilen */
body .k-ui-joomla .com_docman table.table tbody tr {
    border-bottom: 1px solid #f1f1f1;
}
body .k-ui-joomla .com_docman table.table tbody tr:last-child {
    border-bottom: none;
}

body .k-ui-joomla .com_docman table.table td {
    padding: 10px;
    vertical-align: middle;
}

/* Checkbox-Spalte schmal und zentriert */
body .k-ui-joomla .com_docman table.table th:first-child,
body .k-ui-joomla .com_docman table.table td:first-child {
    width: 32px;
    text-align: center;
}

/* Titel-Spalte hervorheben */
body .k-ui-joomla .com_docman table.table td:nth-child(2) a {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
}
body .k-ui-joomla .com_docman table.table td:nth-child(2) a:hover {
    text-decoration: underline;
}

/* Datumsspalte rechtsbündig */
body .k-ui-joomla .com_docman table.table td:nth-last-child(2) {
    text-align: right;
    white-space: nowrap;
    color: #777;
}

/* Bearbeiten / Löschen kompakter */
body .k-ui-joomla .com_docman table.table td:last-child .btn {
    padding: 3px 8px !important;
    font-size: 12px !important;
}
body .k-ui-joomla .com_docman table.table td:last-child .btn + .btn {
    margin-left: 4px;
}

/*Titelspalte angleichen*/

body .k-ui-joomla .com_docman .label,
body .k-ui-joomla .com_docman .badge {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    background: #1d4ed8;
    color: #fff;
}

/*Toolbar einrahmen*/

body .k-ui-joomla .com_docman .k-toolbar {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    padding: 10px 18px;
    margin: 0 auto 16px;
    max-width: 1100px;
}

/*Dokumentenliste*/

body .k-ui-joomla .com_docman table.table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e5e5;
    font-size: 13px;
}

/* Kopfzeile */
body .k-ui-joomla .com_docman table.table thead tr {
    background: #f8f8f8;
}
body .k-ui-joomla .com_docman table.table thead th {
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
}

/* Zeilen */
body .k-ui-joomla .com_docman table.table tbody tr {
    border-bottom: 1px solid #f1f1f1;
}
body .k-ui-joomla .com_docman table.table tbody tr:last-child {
    border-bottom: none;
}
body .k-ui-joomla .com_docman table.table td {
    padding: 10px;
    vertical-align: middle;
}

/* Checkbox-Spalte */
body .k-ui-joomla .com_docman table.table th:first-child,
body .k-ui-joomla .com_docman table.table td:first-child {
    width: 32px;
    text-align: center;
}

/* Titel-Spalte */
body .k-ui-joomla .com_docman table.table td:nth-child(2) a {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
}
body .k-ui-joomla .com_docman table.table td:nth-child(2) a:hover {
    text-decoration: underline;
}

/*Filterbox*/

/* Filter-Container als Card */
body .k-ui-joomla .com_docman .docman_table_layout--filtered_table form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 20px 10px;
    margin: 0 auto 16px;
    max-width: 1100px;
}

/*Nach Dokumenten suchen*/

body .k-ui-joomla .com_docman .docman_table_layout--filtered_table form .k-collapsible__header {
    font-size: 15px;
    font-weight: 600;
    padding: 6px 0 12px;
    color: #333;
}
/*Inpufelder u. Dropdowns*/

/* Standard-Inputs */
body .k-ui-joomla .com_docman input[type="text"],
body .k-ui-joomla .com_docman select,
body .k-ui-joomla .com_docman .k-select {
    width: 100%;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    border: 1px solid #dcdcdc !important;
    box-shadow: none !important;
    background: #fafafa !important;
    margin-bottom: 14px;
}

/* Placeholder */
body .k-ui-joomla .com_docman ::placeholder {
    color: #999;
}

/*Suche/Zurücksetzen-Bereich angleichen*/

/* Button "Suche" als primärer Button */
body .k-ui-joomla .com_docman button[type="submit"],
body .k-ui-joomla .com_docman .btn-primary {
    background: #3b82f6 !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    border: none !important;
    font-size: 13px !important;
}

/* Reset als Ghost-Button */
body .k-ui-joomla .com_docman .btn-default {
    background: #f0f0f0 !important;
    color: #555 !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    border: none !important;
    font-size: 13px !important;
    margin-left: 6px;
}

/*"X" Schließen-Button rechts oben modernisieren*/

body .k-ui-joomla .com_docman .k-icon-close,
body .k-ui-joomla .com_docman .k-collapsible__action {
    font-size: 18px;
    opacity: 0.5;
    transition: 0.2s;
}

body .k-ui-joomla .com_docman .k-icon-close:hover,
body .k-ui-joomla .com_docman .k-collapsible__action:hover {
    opacity: 1;
    cursor: pointer;
}

body .k-ui-namespace.com_docman + .t3-sidebar-right,
body .k-ui-namespace.com_docman ~ .t3-sidebar-right {
    border-left: none !important;
}


/*Funkionierende Version*/

/*body.userLoggedIn.com_docman .t3-sidebar {
    border-left: none !important;
}*/

/* Cards Linien wegnehmen */

/* Docman: Rahmen der Cards entfernen damit Sidebar-Trennlinie sauber wirkt */
body.com_docman .docman_table_layout,
body.com_docman .docman_table_row,
body.com_docman .docman_table_cell {
    border: none !important;
}

/* Nur im Suchformular ("Nach Dokumenten suchen") die Table-Linien entfernen */
body .k-ui-joomla .com_docman form.k-grid-controller .table > tbody > tr > td,
body .k-ui-joomla .com_docman form.k-grid-controller .table > tbody > tr > th,
body .k-ui-joomla .com_docman form.k-grid-controller .table > thead > tr > td,
body .k-ui-joomla .com_docman form.k-grid-controller .table > thead > tr > th {
    border-top: none !important;
    border-bottom: none !important;
}

/* "Nach Dokumenten suchen" – Bootstrap .well in Docman entschärfen */
body .k-ui-joomla .com_docman .well {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-color: #e5e5e5;      /* optional: etwas dezenterer Rand */
}

/* Docman: vertikale Trennlinie der Sidebar ausblenden, 2. funktionierende Version*/
/*body .k-ui-joomla + .t3-sidebar {
    border-left: none !important;
}*/

/* Globale T3-Sidebar-Linie deaktivieren – wir steuern die Linie jetzt über Module, 3. funktionierende Version */
/*body.userLoggedIn .t3-sidebar {
    border-left: none !important;
}*/




body .k-ui-joomla .com_docman .k-toolbar {
  
 border: none;
    
}



/*.table > tbody > tr > td{
  border-top: 1px solid #dddddd;
}*/

body .k-ui-joomla .com_docman .table > tbody > tr:first-child > td,
body .k-ui-joomla .com_docman .table > tbody > tr:first-child > th {
    border-top: none !important;
}



/* 1.1 Typografie */
body {
  font-family: "InterVariable", system-ui, sans-serif;
  line-height: 1.5;
}

.emphasis {
  font-style: italic;
}

/* =========================================================
   3.1 JomSocial – T3 Stacking-Context-Fix (A-014)
   .t3-content erzeugt durch position:relative + z-index:10 einen
   Stacking Context, der .joms-postbox-dropdown (z-index:2001) unter
   dem body-level .joms-reactions (z-index:2000) gefangen haelt.
   Aufloesen, damit das Postbox-Dropdown wieder ueber den Reactions liegt.
   ========================================================= */
.com_community .t3-content {
  z-index: auto;
}

/* =========================================================
   3.2 JomSocial – Mitglieder-/Freundesliste
   Kontext: <ul class="joms-list--friend"> … </ul>
   ========================================================= */

/* Liste als Spalte mit Abstand zwischen den Einträgen */
ul.joms-list--friend {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Card-Layout pro Eintrag */
ul.joms-list--friend .joms-list__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.9rem; /* kompakter */
  border-radius: 14px;
  border: 1px solid #eef2f4;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: 0.15s;
  min-height: 70px;
  margin-bottom: 0.5%;
}

ul.joms-list--friend .joms-list__item:hover {
  background: #fdfdfd;
  border-color: #e3e8ef;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

/* Avatar */
ul.joms-list--friend .joms-list__avatar .joms-avatar img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 8px; /* statt 50% → weiche Ecken */
  object-fit: cover;
  border-color: #ffffff;
}

ul.joms-list--friend .joms-list__avatar {
  margin-bottom: 0px !important;
}

/* Textblock */
ul.joms-list--friend .joms-list__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem; /* vorher 0.25 */
}

/* Username */
/*ul.joms-list--friend .joms-text--username {
  font-size: 1.1rem; /* minimal kleiner */
  /*font-weight: 600;
  margin: 0;
}*/

/* Link um den Namen */
ul.joms-list--friend .joms-list__body > a {
  text-decoration: none;
}
ul.joms-list--friend .joms-list__body > a:hover .joms-text--username {
  text-decoration: underline;
}

/* Details-Zeile (Profilinfo, Freunde, Distanz, Last Login, …) */
ul.joms-list--friend .joms-list__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.45rem; /* vorher 0.25/0.75 */
  font-size: 0.82rem; /* minimal kleiner */
  color: #6b7280;
  margin: 0 !important;
  padding: 0;
}

ul.joms-list--friend .joms-list__details span,
ul.joms-list--friend .joms-list__details p {
  margin: 0 !important;
  padding: 0;
  font-size: 0.86rem;
  color: #6b7280;
}

/* Freunde-Zahl leicht betont */
ul.joms-list--friend .joms-list__details span.joms-text--title strong {
  font-weight: 500;
  color: #4b5563;
}

/* Distanz */
ul.joms-list--friend .joms-list__distance {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: #64748b;
}

ul.joms-list--friend .joms-list__distance .joms-icon {
  width: 14px;
  height: 14px;
}

/* Actions rechts (Cog + Kontakt-Button) */
ul.joms-list--friend .joms-list__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem; /* kleinerer Abstand */
  margin-left: auto;
}

/* Dropdown-/Kontakt-Button als Icon-Kachel (mit Tooltip per JS) */
ul.joms-list--friend .joms-list__button--dropdown > a.joms-button--neutral {
  display: inline-block;
  width: 30px; /* vorher 38 */
  height: 30px;
  line-height: 30px;
  border-radius: 4px;
  border: 1px solid #d5dde2;
  font-size: 0;
  padding: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: 0.15s;
  background: #f3f1f1;
}

ul.joms-list--friend
  .joms-list__button--dropdown
  > a.joms-button--neutral:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

/* Icon im Button */
ul.joms-list--friend
  .joms-list__button--dropdown
  > a.joms-button--neutral
  .joms-icon {
  width: 16px; /* vorher 18 */
  height: 16px;
  margin: 0;
  color: #0e7c66;
}

/* Mobile */
@media (max-width: 900px) {
  ul.joms-list--friend .joms-list__item {
    flex-direction: column;
    align-items: flex-start;
  }

  ul.joms-list--friend .joms-list__actions {
    margin-left: 0;
    align-self: flex-end;
  }
}

/* Username in Members/Friends-Liste gezielt überschreiben */
.joms-page ul.joms-list--friend .joms-list__body > a .joms-text--username {
  font-size: 1rem;
  font-weight: 600 !important;
  color: #0f172a !important; /* statt Standard-Link-Blau */
  margin: 0 !important;

}

/* Link um den Namen neutralisieren */
ul.joms-list--friend .joms-list__body > a {
  text-decoration: none !important;
  color: inherit !important;
}

ul.joms-list--friend .joms-list__body > a:hover .joms-text--username {
  text-decoration: underline;
}

/* Icon-Farbe im Kontakt-Button überschreiben */
ul.joms-list--friend .joms-list__button--dropdown .joms-icon,
ul.joms-list--friend .joms-list__button--dropdown .joms-icon use {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  color: #0e7c66 !important;
  fill: #0e7c66 !important; /* wichtig für SVG */
}

/* Icon im Button: wirklich mittig */
ul.joms-list--friend .joms-list__button--dropdown .joms-icon {
  transform: translateX(-0.5px); /* ViewBox-Offset leicht ausgleichen */
}

/* Container selbst */
ul.joms-list--friend .joms-list__details {
  display: block !important; /* kein extra Flex nötig für eine Zeile */
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
}

/* Alle Kinder in der Details-Zeile */
ul.joms-list--friend .joms-list__details p,
ul.joms-list--friend .joms-list__details span,
ul.joms-list--friend .joms-list__details .joms-text--title {
  display: inline !important; /* kein Block-Layout, keine Einrückung */
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
}

/* Sicherheitshalber: kein linker Rand irgendwo */
ul.joms-list--friend .joms-list__details * {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Altes JomSocial-Ribbon in der Mitgliederliste ausblenden */
ul.joms-list--friend .joms-ribbon__wrapper {
  display: none;
}

/* Modernes Empfohlen-Badge neben dem Namen */
ul.joms-list--friend .joms-list__item:has(.joms-ribbon__wrapper) .joms-text--username {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Badge */
ul.joms-list--friend .joms-list__item:has(.joms-ribbon__wrapper) .joms-text--username::after {
  content: "Empfohlen";
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.03em;

  padding: 0.12rem 0.55rem;
  border-radius: 999px;

  background: #f8f9fa;      /* heller, cleaner */
  border: 1px solid #e2e8f0; /* dünner, moderner Border */
  color: #475569;            /* dezentes Grau */

  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* Avatare in der Mitgliederliste – einheitliche Größe & Form */
ul.joms-list--friend .joms-list__avatar .joms-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 14px;      /* „rund-eckig“, wie im Mockup */
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
}

ul.joms-list--friend .joms-list__avatar img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px !important; /* matcht Mockup */
  object-fit: cover;
}


/* Avatar-Größe in der Mitgliederliste erzwingen (Container + Bild) */
ul.joms-list--friend .joms-list__avatar,
ul.joms-list--friend .joms-list__avatar .joms-avatar,
ul.joms-list--friend .joms-list__avatar .joms-avatar img {
  width: 56px !important;
  height: 56px !important;
}

/* Form & Zuschnitt */
ul.joms-list--friend .joms-list__avatar .joms-avatar,
ul.joms-list--friend .joms-list__avatar .joms-avatar img {
  border-radius: 12px !important;
  object-fit: cover;
  border: none !important;
  box-shadow: none !important;
}

/* Card-Grundlayout */
.joms-list__item {
    position: relative;
    overflow: visible;
}

/* Dropdown selbst: bleibt an der richtigen Stelle und ganz oben */
.joms-list__item .joms-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2000;
}

/* Wenn Card aktiv oder Fokus im Button/Dropdown: nach vorne holen */
.joms-list__item:hover,
.joms-list__item:focus-within {
    z-index: 100;
}



/*Hauptseite*/


/* Drei-Spalten-Layout: Mitte betonen */
/*.joms-body {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 260px; /* links – mitte – rechts */
    /*grid-column-gap: 24px;
}*/

/* Sidebars dezenter machen */


/* LINKE JomSocial-SIDEBAR – ruhig & flach */
.joms-sidebar .joms-module {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 18px;
    margin-bottom: 8px;
}

/* Überschriften nur leicht betonen */
.joms-sidebar .joms-module h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #777;
    margin: 0 0 6px;
}

/* dünne Linie unter dem Titel statt „Boxen“ */
.joms-sidebar .joms-module h3::after {
    content: "";
    display: block;
    margin-top: 4px;
    height: 1px;
    width: 32px;
    background: #e0e0e0;
}

/* Rechte T3-SIDEBAR ebenfalls flach */
.t3-sidebar-right .t3-module {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 18px;
    margin-bottom: 12px;
    font-size: 13px;
}

.t3-sidebar-right .t3-module .module-title,
.t3-sidebar-right .t3-module h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #777;
    margin: 0 0 6px;
    font-family: 'InterVariable';
}

.t3-sidebar-right .t3-module .module-title::after,
.t3-sidebar-right .t3-module h3::after {
    content: "";
    display: block;
    margin-top: 4px;
    height: 1px;
    width: 32px;
    /*background: #e0e0e0;*/
}



/
/*Stream-Bereich*/

/* etwas Luft zur linken Sidebar */
.joms-main {
    padding-left: 10px;
}

/* Composer & Posts wie Karten */
.joms-main .joms-stream__composer,
.joms-main .joms-stream__item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0,0,0,.03);
    padding: 16px 20px;
    margin-bottom: 16px;
}

/* „Teile etwas mit der Community…“ – Textfeld etwas lesbarer */
.joms-main textarea,
.joms-main #status-update {
    font-size: 15px;
    color: #333;
}


/*T3 sidebar-right joms-sidebar*/

.joms-sidebar .joms-module,
.t3-sidebar-right .t3-module {
    padding-bottom: 12px;
    margin-bottom: 6px;
}

/* T3-Sidebar Modules */

body.userLoggedIn .t3-sidebar .module-ct, body.userLoggedIn .t3-sidebar .joms-list li {
  font-size:12px !important;
}

.mod_docman_icons {padding-left:14px;}
.t3-module a:hover, .t3-module a:focus, .t3-module a.active, .t3-module a.active-state {color:#333333}


body.userLoggedIn .t3-sidebar .t3-module a {color: #333333}
body.userLoggedIn .t3-sidebar .t3-module .module_document {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0px 0px 6px 0;
}

body.userLoggedIn .t3-sidebar .t3-module .module_document:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.00);
}

.k-ui-namespace .mod_docman.mod_docman--documents ul li
 {
    margin-bottom: 0px !important;
  }

  .k-ui-namespace .mod_docman.mod_docman--documents ul li{
    margin-bottom: 4px;
  }

#mod1562 .module-ct {padding-bottom:0px !important}


/* Docman */



/* Gesamter Docman-Bereich im JomSocial-Style */

 .k-ui-joomla .k-ui-ltr .k-ui-namespace .com_docman .docman_table_layout .docman_table_layout--filtered_table{background: #000000}


body .k-ui-joomla .com_docman {
    background: #f5f5f5 !important;
    padding: 20px 0 40px;
}

body .k-ui-joomla .com_docman .k-toolbar {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
    margin: 0 auto 16px;
    max-width: 1100px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Buttons */
body .k-ui-joomla .com_docman .k-toolbar .btn {
    border-radius: 4px;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid transparent;
}

/* Primärbutton */
body .k-ui-joomla .com_docman .k-toolbar .btn-success {
    background: #22c55e;
    border-color: #16a34a;
    color: #fff;
}

/* Sekundärbutton (blau) */
body .k-ui-joomla .com_docman .k-toolbar .btn-secondary {
    background: #3b82f6;
    border-color: #2563eb;
    color: #fff;
}

/* Danger */
body .k-ui-joomla .com_docman .k-toolbar .btn-danger {
    background: #ef4444;
    border-color: #dc2626;
    color: #fff;
}

body .k-ui-joomla .com_docman .k-toolbar .btn:hover {
    filter: brightness(0.95);
}

body .k-ui-joomla .com_docman table.table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    font-size: 13px;
}



.guestnosidebar .t3-sidebar .t3-sidebar-right {
display:none !important;
}

/*.joms-sidebar ul.joms-list--friend .joms-list__body > a h4.joms-text--username {
  font-size: 13px !important;
  font-weight: inherit !important;
  color: inherit !important;
  margin: 0 !important;
}*/


/*ul.joms-list--friend .joms-list__body > a .joms-text--username {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin: 0 !important;
}*/

/* Sidebar ausschließen */
/*.joms-sidebar ul.joms-list--friend .joms-list__body > a .joms-text--username {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  margin: inherit !important;
}*/

/* DEBUG: Muss sichtbar werden, wenn der Selector trifft */
.joms-sidebar #joms-app--4701 .joms-text--username{
  font-size: 13px !important;
  outline: 3px solid red !important;
  background: yellow !important;
}

#joms-app--4701 h4.joms-text--username{
  font-size: 13px !important;
  font-weight: 400 !important;   /* oder inherit, je nach Wunsch */
  margin: 0 !important;
  line-height: 1.2 !important;
}

/*#joms-app--4701 .joms-list__body .joms-text--username
 {
  font-size: 12px;
  font-family: "InterVariable" !important;
  font-weight:400;
}*/

/* =========================================================
   3.3 JomSocial – Event-Form Action Row (A-016)
   custom.css zentriert global ".joms-page form .joms-form__group
   button[type=submit]" (Registrierung). Im Event-Form sollen
   "Abbrechen" und "Speichern/Erstellen" nebeneinander liegen.
   ========================================================= */
.joms-page form .joms-form__group--actions button[type="submit"] {
  display: inline-block;
  margin: 0 !important;
}
