body {
  overflow: hidden visible;
}
.signal-view {
  /* min-height: 50vh; */
  overflow: auto;
}

table.dataTable tbody td.element-name:first-child {
  min-width: 350px;
  max-width: 450px;
}

table.dataTable tbody td {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

#timer-form {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  /* background-color: white; */
  z-index: 2;
  padding: 5px 0 5px !important;
}

#timer-form form {
  position: relative;
  z-index: 5;
  /* padding-left: 126px; */
  width: 100%;
  justify-content: center;
}
@media (min-width: 1280px) {
  #timer-form form {
    width: 100%;
  }
}
#timer-form .form-inline div:first-child {
  padding-left: 0;
}
#timer-back {
  position: absolute;
  left: -100vw;
  width: 200vw;
  top: 0;
  height: 49px;
  background: var(--light);
  z-index: 2;
}

.timer-form {
  margin-top: 10px;
  margin-bottom: 10px;
}

.timer-form div {
  padding-right: 10px;
}
#timer-form .form-inline {
  justify-content: center;
}
.affix {
  top: 0px;
  /*left: 0px;*/
  position: fixed;
  background-color: white;
  /*box-shadow: 10px 10px 10px black;*/
  width: 100%;
  z-index: 99;
}

.affix-top {
  position: relative;
}

.affix-bottom {
  position: fixed;
  background-color: blue;
}
#signals-dygraph-canvas {
  margin-top: 10px;
}
.signals-dygraph-canvas {
  margin-top: 10px;
}
.dygraph-legend {
  width: auto;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid rgba(231, 231, 231, 0.8);
  background-color: rgba(255, 255, 255, 0.9) !important;
  position: relative;
  z-index: 2;
}
#svr-dygraph {
  margin-bottom: 100px;
}

.svr-dygraph {
  margin-bottom: 100px;
}

#timestamp-type-toggle {
  margin-left: 25vw;
  display: flex;
  padding: 5px;
  position: relative;
}
.timestamp-type-toggle {
  margin-left: 25vw;
  display: flex;
  padding: 5px;
  position: relative;
}
.timestamp-type-toggle__title {
  text-align: right;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.7;
}
.timestamp-type-toggle__background {
  position: absolute;
  width: 150vw;
  height: 45px;
  background-color: #f8f9fb;
  left: -500px;
  top: -2px;
  z-index: -1;
}

#graphs .dygraph-legend,
#vue_graphs .dygraph-legend,
.graphs .dygraph-legend {
  width: 140px;
}
#graphs .dygraph-legend span,
#vue_graphs .dygraph-legend span,
.graphs .dygraph-legend span {
  display: none;
}

.dygraph-legend > span {
  padding: 0px 2px 0px 2px;
}

.dygraph-legend > span.highlight {
  border: 1px dotted #999;
}

.dygraph-axis-label-y {
  font-size: 85%;
  /*color: #777;*/
}

.loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 10vw;
  height: 100%;
  background-color: white;
  z-index: 999;
}

#graphs,
#vue_graphs,
.graphs {
  margin-bottom: 30px;
}
.event-profile__content {
  padding: 0;
}
#signals-meta-table,
.signals-meta-table {
  width: 100% !important;
}
#signals-meta-table th,
.signals-meta-table th {
  width: auto !important;
}

#signals-meta-table_wrapper,
.signals-meta-table_wrapper {
  padding: 0;
}

.wh-graph-signal-name {
  position: relative;
  line-height: inherit;
  flex: 0 0 170px;
  height: 100%;
  font-size: 12px;
  width: 170px;
}

.wh-graph-signal-name ul {
  list-style-type: none;
  margin-top: 10px;
}

.wh-graph-signal-name ul li {
  margin-bottom: 3px;
  position: relative;
  white-space: nowrap;
}

.wh-graph-signal-name ul li div,
.osc-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.remove-btn {
  position: absolute;
  right: -20px;
  top: -5px;
  z-index: 1;
  float: none !important;
}
@media (min-width: 1800px) {
  .remove-btn {
    left: 180px;
  }
}
.legend-data-object-name {
  width: 100%;
}

.osc-label-container {
  display: flex;
  justify-content: space-between;
}
.legend-sv-signal-labels span:first-child {
  text-decoration: line-through;
}
.osc-label {
  text-decoration: none !important;
}
.osc-value {
  text-decoration: none;
  position: absolute;
  right: -31px;
  background-color: white;
  padding: 0 5px;
}
.legend-sv-time-label {
  text-align: right;
  margin-top: 5px;
}
