html {
  user-select: none;
}

a {
  color: black;
}

a.active,
a:active,
a:focus,
a:hover {
  text-decoration: none;
  cursor: pointer;
}

/*Dialogs*/

dialog {
  border: .05rem solid #dadee4
}

dialog::backdrop {
  background-color: transparent;
  backdrop-filter: blur(5px);
}

.centred {
  border-radius: 15px;
  box-shadow: 0 0.01rem 0.5rem rgba(48, 55, 66, .3);
  top: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

.panel-main {
  min-width: 520px;
  min-height: 300px;
}

.panel-main .panel-header {
  background-color: #3a903a;
  color: #fff;
  text-align: center;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}

#startBtn {
  border-radius: 5px;
  padding: 0px 10px;
}

.panel .panel-body {
  padding: 0.8rem .8rem;
}

#errorUserDialog {
  width: 260px;
  height: 130px;
}

#tableContent {
  display: contents;
}

#delRow, #PageDown {
  border-bottom-right-radius: 5px;
}

#addRow, #PageUp {
  border-bottom-left-radius: 5px;
}

.bar-item {
  height: calc(100vh - 68px);
}

.conf-tree,
.attr-menu {
  background-color: #f1f1f1;
}

.conf-tree {
  padding-right: 30px;
  border-right: 1px solid #3a903a;
  z-index: 1;
  position: absolute;
}

.attr-menu {
  text-align: center;
}

.main-content {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.form-label-attr {
  min-width: 175px;
  text-align: end;
  width: 175px;
  text-wrap: wrap;
  font-size: .7rem;
}

.controlSection {
  position: absolute;
  bottom: 0;
  height: 47px;
}

.modal-container .modal-body {
  padding: 0 0.8rem;
}

.form-checkbox {
  min-height: 14px;
  margin-top: 5px;
}

.tabSection {
  position: absolute;
  bottom: 0;
  height: 47px;
}

.tab {
  border-bottom: 0px;
}

.tab .tab-item-global {
  flex: 0 0 auto;
  border-left: 1px solid #f7f7f7;
  ;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  background-color: #dddddd;
  color: #0c0c0c;
}

.tab .tab-item-global a {
  color: inherit;
  display: block;
  padding: 0.6rem 0.4rem 0.6rem 0.4rem;
  text-decoration: none;
}

.tab .tab-item-global a.active,
.tab .tab-item-global.active a {
  background: #ffffff;
  color: #0c0c0c;
}

.tab.tab-block .tab-item {
  width: 100px;
  /*border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;*/
  border-bottom: 1px solid #dddddd;
  background-color: #dddddd;
  color: #0c0c0c;
  border-left: 1px solid #fff;
}

.tab .tab-item a.active,
.tab .tab-item.active a {
  background: #ffffff;
  color: #0c0c0c;
}

.groupTitle {
  color: #3a683a;
  font-size: 16px;
  width: -webkit-fill-available;
  border-bottom: 0.5px solid #3a683a;
}

.divider-vert[data-content]::after,
.divider[data-content]::after {
  background: #fff;
  color: #3b683b;
  content: attr(data-content);
  display: inline-block;
  font-size: 16px;
  padding: 0 .4rem;
  transform: translateY(-.65rem);
}

.divider[data-content] {
  margin: .8rem 0;
  padding-left: 40px;
}

thead th:first-child {
  border-top-left-radius: 10px;
}

thead th:last-child {
  border-top-right-radius: 10px;
}

.context-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  list-style: none;
  margin: 0;
  z-index: 1000;
}

.context-menu li {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
}

.context-menu li:hover {
  background-color: #f0f0f0;
}

ol li, ul li {
   margin-top: .0; 
}

.dropdown-content {
  display: none;
  border: 1px solid #bcc4cf;
  border-radius: 5px;
  position: absolute;
  background-color: #f9f9f9;
  min-width: fit-content;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  max-height: 242px;
  overflow-y: auto;
  margin-left: 175px;
  margin-top: 27px;
}

th, td {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: .7rem;
}

/* ------------------- Встроенное в платформу Окно ------------------- */
.window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 580px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title-bar {
  background-color: #51b151;
  color: white;
  padding: 5px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.controls button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

.content {
  padding: 10px;
}

#taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #333;
  display: flex;
  align-items: center;
  padding: 5px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.taskbar-item {
  color: white;
  margin-right: 10px;
  padding: 5px 10px;
  background-color: #555;
  border-radius: 3px;
  cursor: pointer;
}

.inactive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
}

#save img {
  width: 20px;
  filter: invert(1);
  margin-top: 2px;
}

.menu-item a:hover {
  background: blanchedalmond;
  padding: 0 5px;
  border-radius: 10px;
}

/*
.menu-item label {
  display: none;
}

.menu-item:hover label {
  display: inline-block; 
}
*/