.page-dashboard {
  .metrics {
    margin-top: 0px;

    .metric-box {
      margin-bottom: 0px;
    }

    .metric {
      display: block;
      margin-bottom: 1px;
      font-size: 12px;
      color: $brand-info;
    }

    .metric-info {
      text-transform: uppercase;
      font-size: 12px;
      color: #aaa;
    }
  }

  .box {
    position: relative;
    border-radius: $border-radius-lg;

    .box-top,
    .box-bottom {
      height: 20px;
      padding: 6px 3px;
      font-size: 12px;
      line-height: 12px;
      text-align: center;
      font-weight: $display1-weight;
      .size-h5 {
        font-size: 12px;
        margin-left: 2px;
      }
      .material-icons {
        font-size: 12px;
        line-height: 12px;
      }
    }

    .box-bottom {
      border-top: 1px solid rgba(0,0,0,.15);
      @media only screen and (min-width: map-get($grid-breakpoints, md)) {
        padding-left: 5%;
        padding-right: 5%;
      }
    }

    .box-info {
      position: absolute;
      width: 100%;
      top: 50%;
      margin-top: -12px;
      text-align: center;

      span {
        height: 24px;
        display: inline-block;
        padding: 4px 10px;
        text-transform: uppercase;
        line-height: 14px;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,.15);
        font-size: 12px;
        color: $text-muted;
        border-radius: 1em;
        .material-icons {
          line-height: 12px;
          font-size: 12px;
        }
      }
    }
  }
}

// Dark theme
// --------------------------------------------------
.theme-gray,
.theme-dark {
  .box-info {
    .box-icon {
      .material-icons {
        color: rgba($theme_dark_text_color, .54);
      }
    }
    .box-num {
      color: rgba($theme_dark_text_color, .54);
    }
  }
}

.theme-gray {
  .page-dashboard {
    .box {
      .box-info {
        span {
          background-color: $theme_gray_page_bg;
        }
      }
    }
  }
}
.theme-dark {
  .page-dashboard {
    .box {
      .box-info {
        span {
          background-color: $theme_dark_page_bg;
        }
      }
    }
  }
}
