.metrics {
  position: relative;
  display: inline-block;
}

.metrics .widget {
  position: absolute;
  left: 50%;
  transform: translateX(-85%);
  margin-top: 20px;
  margin-left: 20px;
  width: 350px;
  z-index: 3;
}

.metrics .widget:after {
  position: absolute;
  left: 80%;
  transform: translateX(-65%);
  top: -10px;
  width: 0;
  height: 0;
  content: '';
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #2E2D7A;
}

.metrics .m-badge .number {
  font-size: 18px;
  color: #222080;
  font-weight: 700;
  text-align: center;
}

.metrics .widget > .body {
  box-shadow: 0 3px 6px #00000029;
  border-radius: 4px 4px 0 4px;
  padding: 10px 18px;
  background: #2E2D7A no-repeat padding-box;
  color: white;
  font-size: 12px;
  height: inherit;
}

.metrics .widget > .body > div {
  opacity: 0;
  height: inherit;
  overflow: hidden;
}

.metrics .widget > .body .charts {
  margin-top: 10px;
  opacity: 0;
}

.metrics .widget > .body .charts .uk-slidenav {
  background-color: #bbbbca;
  color: #49494f;
  padding: 5px 10px;
  border-radius: 50%;
}

.metrics .widget > .footer {
  background: #FFFFFF;
  box-shadow: 0 3px 6px #00000029;
  border-radius: 0 0 4px 4px;
  font-size: 11px;
  padding: 5px 10px;
  color: rgba(126, 126, 126, 0.80);
  display: inline-block;
  float: right;
  position: relative;
  z-index: -1;
  transform: translateY(-80px);
}

.metrics .widget .footer > *:first-child {
  margin-right: 10px;
  line-height: 33px;
  vertical-align: middle;
}

.metrics .widget .number {
  color: currentColor;
  font-weight: 700;
  font-size: 18px;
}

.metrics .uk-grid-divider>:not(.uk-first-column)::before {
  border-left: 1px solid #ffffff;
}

.metrics ul.uk-slider-items > li {
  background-color: white;
}

.metrics .uk-table {
  color: #1a1a1a;
}

.metrics .uk-table th  {
  color: rgba(26, 26, 26, 0.8);
}
