.host-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 250px;
  background-color: $white;
  border-radius: 3px;
  box-shadow: 0 12px 17px 0 rgba(47, 47, 91, 0.07), 0 3px 8px 0 rgba(0, 0, 0, 0.08), 0 -2px 0 0 rgba(32, 36, 50, 0.04);
  border: solid 1px rgba(73, 143, 226, 0.14);
  box-sizing: border-box;
  margin: 30px 7px 0;
  position: relative;
  text-align: center;
  max-width: 300px;

  &--online {
    border-top: 6px solid $success;

    .host-details__status,
    .host-details__hostname {
      color: $success;
    }
  }

  &--offline {
    border-top: 6px solid $alert;

    .host-details__status,
    .host-details__hostname {
      color: $alert;
    }
  }

  &--mia {
    border-top: 6px solid $text-dark;

    .host-details__status,
    .host-details__hostname {
      color: $text-dark;
    }
  }

  &__header {
    position: relative;
    border-bottom: solid 1px rgba(73, 143, 226, 0.16);
    height: 50px;
  }

  &__cta-host {
    @include position(absolute, 12px 5px null null);

    span {
      display: block;
      color: $text-medium;
      font-size: 13px;
      letter-spacing: 0;
    }
  }

  &__cta-host-icon {
    color: $link;
    font-size: 24px;
  }

  &__hostname {
    @include ellipsis(78%);
    font-size: 16px;
    line-height: 50px;
    font-weight: $bold;
    letter-spacing: -0.4px;
    text-align: center;
    clear: both;
    margin: 0;
  }

  &__details-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    list-style: none;
    margin: 0 auto;
    padding: 8px 0;
  }

  &__loader {
    flex-grow: 1;
    align-self: center;
    align-content: center;
    display: flex;
    align-items: center;
  }

  &__detail {
    font-size: 15px;
    line-height: 15px;
    color: #727083;
    padding: 0;
    margin: 5px 0 15px;
    text-align: center;

    .kolidecon {
      color: $text-dark;
      font-size: 23px;
      display: block;
      margin-bottom: 5px;
    }

    &--os {
      flex-basis: 49.5%;
      flex-grow: 1;
      border-right: solid 1px rgba(73, 143, 226, 0.16);
    }

    &--osquery {
      flex-basis: 49.5%;
      flex-grow: 1;
    }

    &--cpu,
    &--memory,
    &--uptime {
      flex-basis: 36%;
      border-right: solid 1px rgba(73, 143, 226, 0.16);
    }

    &--memory {
      flex-basis: 27%;
    }

    &--uptime {
      border: 0;
    }

    &--mac,
    &--ip {
      flex-basis: 100%;

      .kolidecon {
        display: inline;
        margin-right: 10px;
        margin-bottom: 0;
        vertical-align: middle;
      }
    }
  }
}
