.vr {
  border-left: 1px solid #ceced4 !important;
}

.d-none {
  display: none !important;
}

table,
thead,
tr,
tbody,
th,
td {
  height: auto !important;
  vertical-align: middle !important;
}

.alert {
  width: 20% !important;
  z-index: 3000 !important;
}

.alert>.progress {
  height: 0.2rem !important;
}

.CodeMirror {
  border: 1px solid #d2d2d3 !important;
  border-radius: 8px !important;
  height: 300px !important;
}

td>.CodeMirror {
  border: none !important;
  height: 150px !important;
}

.td-content-500 {
  max-width: 500px !important;
  min-width: 500px !important;
}

.CodeMirror-scroll {
  overflow-y: auto !important;
  overflow-x: auto !important;
}

.delete-button {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  color: black;
  font-size: medium;
  margin-right: 10px;
}

.delete-button:hover {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  color: black;
  font-size: x-large;
}

.list-group-item {
  position: relative;
  padding: .75rem 1.25rem;
  background-color: #fff;
  border: none;
  border-radius: 15px;
}

.list-group-item:hover {
  background-color: rgb(213, 213, 213);
  color: black;
}

.customInput {
  border-top: none;
  margin: 5px;
  border-left: none;
  border-right: none;
  width: 100%;
  background-color: whitesmoke;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.successAlert {
  position: fixed !important;
  top: 90px !important;
  right: 20px;
  height: 40px !important;
  width: 550px !important;
  font: -webkit-small-control;
}

.successAlertBoard {
  position: fixed !important;
  top: 90px !important;
  right: 20px;
  height: 40px !important;
  width: 300px !important;
  font: -webkit-small-control;
}

.vh-1010 {
  height: 1010vh !important;
}

.grid-stack:not([readonly]) .grid-stack-item {
  border: 1px solid #ffffff;
  background-color: white;
}

.grid-stack:not([readonly]) .grid-selected-item {
  border: 1px dotted #355ccc;
  background-color: rgba(0, 123, 255, 0.04);
}

.grid-stack:not([readonly]) {
  overflow: auto;
  max-height: 1000vh !important;
  height: 1000vh !important;
  background-size: 20px 20px;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.grid-stack:not([readonly]):hover {
  cursor: pointer;
}

.grid-stack:not([readonly]) .grid-stack-item:hover {
  cursor: pointer;
}

.note-resizebar {
  display: none !important;
}

#content-wrapper {
  margin-left: 6.5rem;
}

#dataTable_wrapper>.row {
  margin-bottom: 10px !important;
}

div.dt-button-background {
  background: transparent !important;
}

div.dt-button-collection {
  font-size: 14px !important;
  padding: 4px 8px !important;
  min-width: 100px !important;
}

div.dt-button-collection .dt-button {
  padding: 3px 8px !important;
  border-bottom: 1px solid #ddd !important;
}

div.dt-button-collection .dt-button:last-child {
  border-bottom: none !important;
}

.btn {
  margin-right: 5px !important;
}

.tool-tip {
  position: absolute;
  top: -5px;
  left: 110%;
  padding: 5px 10px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  font-size: 12px;
  display: none;
  white-space: nowrap;
  z-index: 5000 !important;
}

.sticky {
  position: absolute;
}

.tagify {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tagify__tag {
  cursor: move;
}

.spinner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.expand-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  z-index: 10;
}

.expand-btn i {
  font-size: 16px;
  color: #666;
}

.expand-btn i:hover {
  color: #000;
}

.footer-popup {
  position: fixed;
  bottom: -500px;
  left: 0;
  width: 100%;
  height: 500px;
  background-color: #fff;
  border-top: 2px solid #ccc;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.3s ease-in-out;
}

.footer-popup.visible {
  bottom: 0;
}

.footer-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  background-color: #f8f9fa;
}

.footer-popup-close {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

.footer-popup-editor, .footer-popup>.CodeMirror {
  height: calc(100% - 70px) !important;
  width: 100%;
  overflow: hidden;
}