.td-system-status-table {
  margin-bottom: 35px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12) !important;
  border-radius: 3px;
  border: none !important;

  tr:nth-child(2n) td, table.wc_status_table tr:nth-child(2n) th {
    background: #fcfcfc;
  }

  th {
    padding: 10px 10px 10px 15px;
    font-weight: bold;
    border-color: #ececec !important;
  }

  td {
    padding: 10px;
    border-color: #ececec !important;
  }


  .td-system-status-inner-table-wrap {
    padding: 0;
  }
  .td-system-status-inner-table {
    width: 100%;
    border-bottom: 1px solid #ddd;

    .td-system-status-inner-table {
      border-bottom-width: 2px;
      border-bottom-color: #fff;
    }

    th th {
      border: 0;
    }

    &:last-child {
      border-bottom: 0;
    }
  }
  .td-system-status-inner-table-name {
    width: 40%;
  }
  .td-system-status-inner-table-video {
    width: 47%;

    .td-remote-value-data-container {
      padding-left: 0;
      padding-right: 0;

      .td-button-system-status-details {
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 300px;
      }
    }
  }
  .td-system-status-inner-table-time {
    width: 13%;
  }
}

.td-system-status-name {
  width: 200px;
  padding-left: 15px !important;
  vertical-align: middle !important;
}

.td-system-status-help {
  width:20px;
}

.td-system-status-status {
  width:50px;
  text-align: center;
  font-size:11px !important;
}

.td-theme-update-log {
  color: #58AD58;
}

.td-system-status-led {
  width: 12px;
  height: 13px;
  display: inline-block;
  text-align: center;
  line-height: 13px;
  cursor: pointer;
  position: relative;
  top: 2px;
}

.td-system-status-green {
  background-color: #58AD58;
}

.td-system-status-yellow {
  background-color:#F2E132;
}

.td-system-status-red {
  background-color: #f2483a;
}

.td-system-status-info {
  background-color:silver;
  color:white;
  font-size:11px;
}

.td-status-small-text {
  font-size:12px;
  color:#707070;
  font-style:italic;
}

/* TD log panel + TD remote cache panel */
.td-log-header-msg,
.td-log-header-more-data,
.td-remote-header-value {
  min-width: 200px;
}
.td-log-header_file,
.td-log-header_function {
  //min-width: 150px;
}
.td-log-header-timestamp,
.td-remote-header-expires,
.td-remote-header-timestamp {
  width: 82px;
}
.td-log-more-data-container,
.td-remote-value-data-container,
.td_log_more_data_container {
  position: relative;
}
.td_log_more_data {
  max-width: 500px;
}

// array-object viewer window
.td-array-viewer {
  width: 1000px;
  height: 600px;
  overflow: auto;
  position: absolute;
  left: 100px;
  top: -135px;
  background-color: #ffffff;
  z-index: 1;
  border: 1px solid #000000;
  padding: 5px 10px 5px 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  display: none;

  pre {
    white-space: pre-wrap;
    word-break: break-all;
  }

}

.td-array-viewer-visible {
  display: block;
}

// view details button
.td-button-system-status-details,
.td-button-system-status {
  display: inline-block;
  text-decoration: none;
  font-size: 12px;
  line-height: 27px;
  margin: -7px 0;
  padding: 0 8px;
  cursor: pointer;
  white-space: nowrap;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #555;
  color: #fff;
}
.td-button-system-status-details:hover,
.td-button-system-status:hover,
.td-button-ss-pressed  {
  background: #58AD58;
  color: #fff;
}
.td-button-system-status-details:focus,
.td-button-system-status:focus {
  color: #fff;
}
.td-button-system-status {
  margin-left: 10px;

  &.disabled {
    opacity: .4;
    pointer-events: none;
  }

}

// system status debug area
.td-debug-area {
  display: none;
}
.td-debug-area-reveal {
  display: block;
}

.widefat.td-cache-reset-table,
.widefat.td-video-reset-table {
  width: auto;

  .td-remote-cache-reset,
  .td-video-cache-reset{
    margin: 0;
  }
}

.td-video-table {
  .td-remote-value-data-container {
    padding: 10px;
  }

  .td-array-viewer {
    width: auto;
    height: auto;
    left: 200px;
    top: -150px;
  }

  .td-video-id-container,
  .td-video-id-details {
    display: inline-block;
  }

  .td-video-id-container {
    min-width: 100px;
  }

  .td-button-system-status-view {
    position: relative;
    margin-left: 0;
    transition: padding-right 0.3s;

    &:after {
      content: '';
      position: absolute;
      top: 50%;
      right: 8px;
      transform: translateY(-50%);
      width: 10px;
      height: 10px;
      margin-top: -6px;
      margin-left: -5px;
      transition: opacity 0.3s;
      border: 1px solid #fff;
      border-left-color: transparent;
      border-right-color: transparent;
      border-radius: 50%;
      -webkit-animation: fullspin 1s infinite ease-out;
      animation: fullspin 1s infinite ease-out;
      z-index: 2;
      opacity: 0;
    }

    &.td-button-system-status-view-loading {
      padding-right: 28px;

      &:after {
        opacity: 1;
      }
    }
  }

  .td-system-status-inner-table-videos-info {
    &:not(:empty) {
      margin-top: 10px;
    }
  }

  @-webkit-keyframes fullspin {
    0% {
      -webkit-transform: rotate(0);
      transform: rotate(0)
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg)
    }
  }

  @keyframes fullspin {
    0% {
      -webkit-transform: rotate(0);
      transform: rotate(0)
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg)
    }
  }
}

.widefat td {
   vertical-align: middle !important;
}

//white label
.td-theme-wl .td-system-status-table .td-status-small-text {
  display: none;
}