#topbar {
  padding: 0px;
  margin: 0px;
}
.wrapper {
  display: flex;
}

/* sidebar */
#sidebar {
  min-width: 250px;
  max-width: 250px;
  min-height: 100vh;
  background: #2e353d;
  color: #fff;
  transition: all 0.3s;
}
#topbar-prd {
  background: #00c851;
    margin-bottom: 0px;
}
#sidebar .glyphicon, #sidebar .fa-solid, #sidebar .fas, #sidebar .far {
  margin-right: 20px;
}
#sidebar .sidebar-header {
  padding: 10px;
  text-align: center;
  background: #13181e;
}
#sidebar ul.components {
  padding: 5px 0;
  border-bottom: 1px solid #555555;
}
#sidebar ul p {
  color: #fff;
  padding: 10px;
}
#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
  color: #fff;
}
#sidebar ul li a:hover {
  color: #23282e;
  background: #fff;
}
#sidebar ul li.active > a, a[aria-expanded="true"] {
  color: #fff;
  background: #23282e;
}
#sidebar.active {
  margin-left: -250px;
}

/* content */
#content {
  width: 100%;
}
#content .navbar {
  color: #fff;
  background: #23282e;
}
#content .navbar .page-title {
  margin: 0px 20px !important;
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
}
#content .navbar .page-title .back {
  margin-right: 10px !important;
  display: flex !important;
  align-items: center !important;
}
#content .navbar .page-title a {
  color: #33abf9 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
}
#content .navbar .page-title span {
  display: inline-block !important;
}
#content .navbar ul.page-menu {
  display: flex !important;
  align-items: center !important;
  padding: 0px !important;
  margin: 0px !important;
  list-style: none !important;
}
#content .navbar .page-menu li {
  display: flex !important;
  align-items: center !important;
  padding: 0px 15px !important;
}
#content .navbar .page-menu li form {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
#content .navbar .page-menu .glyphicon, #content .navbar .page-menu .fa-solid, #content .navbar .page-menu .fas {
  margin-right: 6px !important;
  display: inline-block !important;
}
#content .navbar .page-menu a {
  color: #fff !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  transition: opacity 0.15s ease-in-out !important;
}
#content .navbar .page-menu a span {
  display: inline-block !important;
}
#content .navbar .page-menu a:hover {
  opacity: 0.8 !important;
  color: #33abf9 !important;
  text-decoration: none !important;
}
#content-body {
  margin: 0px 20px;
}

/* filter */
form.filter {
  margin-bottom: 30px;
}

/* table */
table.list {
  margin: 0px;
}
table.list td a {
  color: #000;
}
table.list td a:hover {
  color: dodgerblue;
}
table.list td.icon {
  width: 35px;
}

/* link */
a.disabled {
  pointer-events: none;
  opacity: 0.5;
}
a.tag {
  text-decoration: none;
}
a.tag:hover {
  text-decoration: underline;
}
input#import-file {
  display: none;
}

/* details */
div.details {
  padding: 10px 10px;
}
div.details dl {
  padding: 3px 0px;
}
div.details dd {
  padding-top: 3px;
}
div.details .channels span {
  margin: 0px 5px;
}

.channel_items {
    margin-left: 35px;
}

/* Automatically map legacy Glyphicon icons to FontAwesome 6 equivalents */
.glyphicon {
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
}

.glyphicon-ok-sign::before {
  content: "\f058"; /* fa-circle-check */
  color: #00c851 !important;
}
.glyphicon-remove-sign::before {
  content: "\f057"; /* fa-circle-xmark */
  color: #ff4444 !important;
}
.glyphicon-minus-sign::before {
  content: "\f056"; /* fa-circle-minus */
  color: #ffbb33 !important;
}
.glyphicon-search::before {
  content: "\f002"; /* fa-magnifying-glass */
}
.glyphicon-calendar::before {
  content: "\f073"; /* fa-calendar-days */
}

/* chart */
.datetimepicker-short {
  width: 170px;
}
.datetimepicker-wrapper {
  margin: 10px 0px;
}
.datetimepicker-input {
  padding: 0px;
}
.datetimepicker-button {
  padding: 0px;
}
.chart-wrapper {
  position: relative;
  margin: 10px 0px;
  border-bottom: 1px solid #dfdfdf;
}
.chart-wrapper-wave {
  position: relative;
  height: 300px;
  margin: 10px 0px;
  border-bottom: 1px solid #dfdfdf;
}
.zoom-selector {
  margin-top: 10px;
  position: absolute;
  top: 0px;
}
.zoom-selector button {
  width: 70px;
}
.active {

}
.chart {
  height: 300px;
}
.chart-evaluation {
  height: 500px;
}
.chart-loading {
  position: absolute;
  top: 120px;
  width: 100%;
  text-align: center;
}

/* pager */
.pager {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin: 30px 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  gap: 8px !important;
}
.pager li {
  display: inline-block !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pager li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  background-color: #fff;
  color: #23282e;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.pager li a:hover {
  background-color: #23282e;
  color: #fff;
  border-color: #23282e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.pager li a.disabled, .pager li a:disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: #f8f9fa;
  border-color: #e9ecef;
  box-shadow: none;
}
.pager span {
  font-weight: 600;
  color: #495057;
  margin: 0 15px;
  font-size: 0.95rem;
}

/* table */
.table-loading {
  margin-top: 80px;
  width: 100%;
  text-align: center;
}

.table-row-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
}

@media (max-width: 768px) {
}
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

panel-title > a, a[aria-expanded="true"] {
  background: #f5f5f5;
  color: #f98d00;
}

/* spacing */
/* margin-top large */
.spacing-mt-l {
  margin-top: 15px;
}

/* margin-bottom large */
.spacing-mb-l {
  margin-bottom: 15px;
}

/* json format */
.json-indent {
    margin: 0;
    padding-left: 30px;
}

/* filtering */
.btn-filter {
    color: #333;
    background-color: #87CEFA;
    border-color: #ccc;
}

/* bootstrap-datetimepicker-widget styling overrides for Bootstrap 5 and FontAwesome 6 */
.bootstrap-datetimepicker-widget .collapse {
    display: none;
    height: auto !important;
    overflow: visible !important;
}
.bootstrap-datetimepicker-widget .collapse.in,
.bootstrap-datetimepicker-widget .collapse.show {
    display: block !important;
}
.bootstrap-datetimepicker-widget {
    background-color: var(--bs-body-bg, #ffffff) !important;
    border: 1px solid var(--bs-border-color, #dee2e6) !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem !important;
    z-index: 9999 !important;
    color: var(--bs-body-color, #212529) !important;
}
.bootstrap-datetimepicker-widget table td span {
    border-radius: 0.25rem !important;
}
.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
    background-color: var(--bs-light, #f8f9fa) !important;
    cursor: pointer;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: var(--bs-primary, #0d6efd) !important;
    color: #fff !important;
}
.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: var(--bs-primary, #0d6efd) !important;
}
/* Ensure navigation buttons have a clean look and padding */
.bootstrap-datetimepicker-widget a[data-action] {
    padding: 6px 0 !important;
    color: var(--bs-primary, #0d6efd) !important;
}
.bootstrap-datetimepicker-widget a[data-action]:hover {
    color: var(--bs-primary-border-subtle, #0a58ca) !important;
}
/* Ensure standard select tags with class form-control or form-select render a beautiful Bootstrap 5 dropdown chevron */
select.form-control, select.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.25rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}


