.content__wrap {
  padding: 0.3rem !important;
}

/*
.mn--max .brand-img {
  display: none !important;
}

.mn--min .brand-img {
  display: block !important;
}*/

.brand-title {
  font-size: 15px !important;
}

.ql-toolbar {
  background: white !important;
  border: inherit !important;
}

.dselect-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.form-select {
  border-radius: 0 !important;
  height: 100%;
  text-align: left;
}

.block_element {
  margin: 0px;
  padding: 0px;
  color: black;
  font-size: 25px;
  position: absolute;
  cursor: grab;
  resize: both;
  overflow: hidden;
}

.background-visible {
  background: rgba(17, 211, 251, 0.6);
}

.form-check-label {
  cursor: pointer;
}

.inactive {
  opacity: 0.5;
  cursor: not-allowed;
}

.highlight {
  background-color: rgba(159, 204, 46, 0.1);
}

.button-group-10 {
  min-width: 12% !important;
}

input[type="checkbox"] {
  cursor: pointer;
}

.bg-blue {
  background: #24447f;
}

.bg-purple {
  background: #5c296b;
}

.bg-excel {
  background-color: #217346;
  color: #fff;
}

.bg-excel:hover,
.bg-excel:focus {
  background-color: #1a5f39;
}

.bg-pdf {
  background-color: #e2231a;
  color: #fff;
}

.bg-pdf:hover,
.bg-pdf:focus {
  background-color: #c71d15;
}

.cursor-pointer {
  cursor: pointer;
}

.bg-bd {
  background: var(--bs-body-bg) !important;
  color: var(--bs-card-title-color) !important;
}

.bg-bd-2 {
  background: var(--bs-body-bg) !important;
}

.dselect-tag {
  overflow-x: hidden;
}

.perc {
  float: left;
  margin: 0;
  padding: 0;
  width: 0%;
  text-align: center;
  overflow: hidden;
  vertical-align: middle;
  font-weight: bold;
  cursor: pointer;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit !important;
}

.gridjs-table {
  border-collapse: collapse;
  width: 100%;
}

.gridjs-table td,
.gridjs-table th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.gridjs-table tr {
  border-bottom: 1px solid black !important;
}

.gridjs-search input {
  width: 300px !important;
  border: 1px solid black;
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.gridjs-tr:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.overview-container {
  display: flex;
  flex-wrap: wrap;
}

.overview-machine-outer {
  padding: 2px;
  margin: 0;
  width: 40px;
}

.overview-status-row {
  display: flex;
  width: 100%;
  margin-top: 2px;
}

.overview-status {
  width: 50%;
  height: 3px;
}

.imgcont1 {
  overflow: auto;
  direction: rtl;
}

.frame {
  position: relative;
  height: 100px;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.canvas-container {
  background: yellow;
  height: 100px;
  width: 100%;
}

.graph-img {
  padding: 0;
  margin: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.selectiondiv {
  position: absolute;
  top: 0; /* budeme meniť len left/width */
  left: 0;
  height: 100%;
  display: none;
  background: rgba(100, 149, 237, 0.25); /* ľahký modrý závoj */
  outline: 2px solid #6495ed; /* obrys */
  z-index: 5000;
  pointer-events: none; /* aby overlay neblokoval udalosti myši na frame */
  user-select: none;
}

/* Základné nastavenia stromu */
#tree .tree-item {
    border-radius: 0;
    cursor: pointer;
}

/* Všetky kontajnery detí – základná čiara vľavo */
#tree .tree-children {
    border-inline-start: 1px solid var(--bs-border-color);
    padding-inline-start: .5rem;
    margin-inline-start: .25rem;
}

/* Hĺbka stromu – hrubšie čiary pri nižších úrovniach */
#tree .tree-children-l3 {
    border-inline-start-width: 2px;
}

#tree .tree-children-l4 {
    border-inline-start-width: 3px;
}

.sidebar__inner.scrollable-content {
    overflow: visible;
}

/* Sidebar vnútro ako flex column */
.sidebar__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Horný pásik – ostáva hore, bez scrollu */
.sidebar__stuck {
    flex: 0 0 auto;
}

/* Tu chceme scrollovať obsah (strom zariadení) */
.sidebar__wrap {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0; /* dôležité kvôli flexboxu, aby scroll fungoval */
}

th.gridjs-th[data-column-id="checkbox"] .gridjs-sort {
    display: none !important;
}
