.noHover {
  pointer-events: none;
}

#reset.button {
  width: 100%;
  padding: var(--s-1);
  background-color: #0f9b88;
  color: white;
}

#reset.button,
.demo__options-panel {
  margin-top: var(--s0);
}

.demo__rhs-panel {
  background-color: var(--neutral-color850);
  min-width: 360px;
}

.fa {
  margin-right: 4px;
}

#event-date {
  text-align: right;
  font-size: 11pt;
  margin-bottom: 4px;
}

#event-description {
  font-size: 10pt;
}

#tooltip {
  border-radius: var(--border-radius);
}

#tooltip .wrapper {
  background-color: var(--neutral-color900);
  color: white;
  max-width: 300px;
  border-radius: var(--border-radius);
}

#event-entity1,
#event-entity2 {
  font-size: 12pt;
}

#tooltip .fa-user,
.fa-user-secret,
.fa-radiation,
.fa-fire,
.fa-window-maximize,
.fa-server {
  margin-right: 4px;
  padding-left: 2px;
}

#event-status {
  display: none;
}

/**
  Table styling
  **/
table {
  border-radius: var(--border-radius);
  color: white;
}

table thead tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

table thead th {
  text-align: left;
  font-size: 14px;
  background-color: var(--neutral-color800);
}

table tbody {
  height: calc(100vh - 18rem);
  overflow-y: scroll;
  display: block;
  color: var(--neutral-color100);
  font-size: 10pt;
  border-radius: var(--border-radius);
}

table tbody::-webkit-scrollbar {
  width: 8px;
}

table tbody::-webkit-scrollbar-thumb {
  background: var(--neutral-color600);
  display: block;
  border-radius: var(--border-radius);
  background-color: var(--neutral-color600);
}

table tbody::-webkit-scrollbar-track {
  background-color: var(--neutral-700);
  border-radius: var(--border-radius);
}

/** background behind scrollbar **/
table tbody::-webkit-scrollbar-track-piece {
  background-color: var(--neutral-color800);
  border-bottom-right-radius: var(--border-radius);
}

.table-row {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: var(--neutral-color700);
  color: white;
}

.table-row:hover {
  background-color: var(--neutral-color600);
}

.table-row-selected {
  background-color: #151617;
  color: white;
}

table tr {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

table th,
table td {
  vertical-align: middle;
  padding: var(--s-2) 0px var(--s-2) 0px;
}

table th:nth-child(1),
table td:nth-child(1) {
  width: 30%;
  text-align: center;
}

thead th:nth-child(1) {
  text-align: left;
  padding-left: 14px;
}

table th:nth-child(2),
table td:nth-child(2) {
  padding-right: 20px;
  width: 70%;
}

table th:nth-child(2) {
  margin-left: -4px;
}

/**
  Rounded table edges
  **/
thead th:first-child,
thead tr:first-child {
  border-top-left-radius: var(--border-radius);
}

thead th:last-child,
thead tr:last-child {
  border-top-right-radius: var(--border-radius);
}

table tbody tr:last-child {
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

/** hide the square edges behind **/
tbody.alertsTableBody tr:last-child td:first-child {
  border-radius: var(--border-radius);
}

tbody.alertsTableBody tr:last-child td:last-child {
  border-bottom-right-radius: var(--border-radius);
}

.severity-span-table {
  padding: 4px 0px 4px 0px;
  text-align: center;
  border-radius: var(--border-radius);
  letter-spacing: 0.01rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 10pt;
  display: inline-block;
  width: 72%;
}

#lhs-container {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -ms-flex-positive: 1;
      flex-grow: 1;
  width: 100%;
  overflow: hidden;
}

#timeline {
  margin: 0;
  height: 100%;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-negative: 1;
      flex-shrink: 1;
  -ms-flex-preferred-size: 0;
      flex-basis: 0;
  min-height: auto;
}

.alert-info-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 0px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-negative: 1;
      flex-shrink: 1;
  pointer-events: none;
}

.alert-info-panel-container {
  -ms-flex-item-align: center;
      align-self: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.alert-description-container,
.alert-details-container {
  width: 50%;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-top: var(--s-4) 0px var(--s-4) 0px;
}

#alert-description,
#alert-time-range {
  font-size: 11pt;
}

#alert-icon {
  justify-self: center;
  font-size: 20pt;
  -ms-flex-item-align: center;
      align-self: center;
}

.alert-icon-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: var(--s0);
}

.alert-headings-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#alert-name,
#alert-entities {
  font-weight: bold;
  font-size: 12pt;
}

#alert-entities,
#alert-time-range {
  margin-right: var(--s0);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#alert-description {
  font-size: 11pt;
}

.panel-icon {
  font-size: 14pt;
  margin-top: 2px;
  padding: 2px 2px 0px 4px;
}

.alert-description-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 8px;
}

.alert-details-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.alert-details-inner-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.alert-info-panel-animation-open {
  -webkit-animation-name: alert-info-panel-animation-open;
          animation-name: alert-info-panel-animation-open;
  -webkit-animation-duration: 0.8s;
          animation-duration: 0.8s;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
}

.reverse-animation {
  animation-direction: reverse;
}

.canvas-animation-close {
  -webkit-animation-name: canvas-animation-open;
          animation-name: canvas-animation-open;
  -webkit-animation-duration: 0.8s;
          animation-duration: 0.8s;
}

@media (min-width: 1024px) and (max-width: 1128px) {
  #alert-name {
    font-size: 10pt;
  }

  #alert-entities {
    font-size: 8.5pt;
  }
  .panel-icon {
    font-size: 8pt;
    margin-top: 2px;
  }

  #alert-description,
  #alert-time-range {
    font-size: 8pt;
  }

  #alert-icon {
    font-size: 12pt;
  }

  .alert-description-container,
  .alert-details-container {
    gap: 4px;
  }
}

@media (min-width: 1232px) and (max-width: 1376px) {
  #alert-name {
    font-size: 12pt;
  }

  #alert-entities {
    font-size: 12pt;
  }

  #alert-description,
  #alert-time-range {
    font-size: 10pt;
  }

  #alert-icon {
    font-size: 16pt;
  }

  .alert-description-container {
    gap: 8px;
  }
}

@media (min-width: 1128px) and (max-width: 1232px) {
  #alert-name {
    font-size: 10pt;
  }

  #alert-entities {
    font-size: 10pt;
  }
  .panel-icon {
    font-size: 11pt;
  }

  #alert-description,
  #alert-time-range {
    font-size: 9pt;
  }

  #alert-icon {
    font-size: 16pt;
  }

  .alert-description-container {
    gap: 8px;
  }
}

@media screen and (max-width: 1024px) {
  .demo__rhs-panel {
    display: none;
  }
}

@media screen and (min-height: 800px) {
  #reset.button {
    margin-top: var(--s1);
  }

  .demo__options-panel {
    margin-top: var(--s1);
  }
}

@-webkit-keyframes alert-info-panel-animation-open {
  from {
    height: 0;
  }
  to {
    height: 80px;
  }
}

@keyframes alert-info-panel-animation-open {
  from {
    height: 0;
  }
  to {
    height: 80px;
  }
}

@-webkit-keyframes canvas-animation-open {
  from {
    height: 100%;
  }
  to {
    height: 99%;
  }
}

@keyframes canvas-animation-open {
  from {
    height: 100%;
  }
  to {
    height: 99%;
  }
}
