.patrol-home {
  height: 100%;
  padding: 12px;

  .patrol-home-top {
    width: 100%;
    background-color: #f5f5f5;
    padding: 5px;
    border: solid 1px #fcfcfc;
    line-height: 32px;
    box-shadow: 3px 3px 8px #CCC;
    font-size: 16px;

    .patrol-home-top-left {
      float: right;
      padding-right: 10px;
    }
  }

  .patrol-home-kb {
    display: flex;
    width: 100%;
    padding: 0px;
    margin-top: 6px;
    margin-bottom: 6px;

    .patrol-home-kb-item {
      width: 25%;
      height: 100%;
      margin: 1%;
      box-sizing: content-box;
      border: 1px solid;
      border-radius: 8px;
      background-color: #f5f5f5;

      .patrol-home-kb-info {
        border-radius: 8px 8px 0 0;
        display: flex;
        height: 82px;
        align-items: center;
        padding: 0 12px;

        > img {
          width: 50px;
          height: 50px;
        }

        .patrol-home-kb-details {
          flex: 1;
          text-align: right;
          color: white;
          font-size: 14px;

          .patrol-home-kb-value {
            font-size: 24px;
            line-height: 32px;
          }
        }
      }

      .patrol-home-kb-link {
        height: 40px;
        border-radius: 0px 0px 8px 8px;
        padding-bottom: 5px;
        display: flex;
        align-items: center;
        font-size: 14px;
        padding: 0 12px;

        a {
          width: 100%;
          display: block;
          color: inherit;
          text-decoration: none;

          .patrol-home-kb-link-arrow {
            float: right;
          }
        }
      }
    }
  }

  .patrol-home-chart {
    width: 100%;
    height: calc(100% - 250px);
    min-height: 400px;
  }
}
