@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* Widget Base */

.widget {
  box-sizing: border-box;
}
.widget * {
  box-sizing: border-box;
}
/* Flex Container */

.flex-container {
  display: flex;
  align-items: center;
}
/* Widget Box */

.small-box {
  width: 100%;
  background-color: #882e82;
  border-radius: 3px;
  color: white;
  position: relative;
  min-height: 120px;
  margin-left: 4px;
  margin-right: 4px;
  margin-top: 8px;
  overflow: hidden;
}
.small-box.color1 {
  background-color: #882e82;
}
.small-box.color2 {
  background-color: #41a940;
}
.small-box.color3 {
  background-color: #c8006e;
}
.small-box.color4 {
  background-color: #243741;
}
.small-box.color5 {
  background-color: #666666;
}
.small-box.color6 {
  background-color: #cbcbc9;
}
.small-box.color7 {
  background-color: white;
}
.small-box .box-label-main {
  display: inline-block;
  font-size: 48px;
  font-weight: bold;
  position: relative;
  top: 8px;
  margin-bottom: 16px;
}
.small-box .box-label-secondry {
  position: relative;
  text-align: left;
  margin-left: 8px;
}
.small-box .box-icon {
  display: inline-block;
  color: rgba(255, 255, 255, 0.2);
  font-size: 70px;
  transition: 0.3s;
  position: relative;
  top: 8px;
}
.small-box:hover .box-icon {
  font-size: 78px;
  color: rgba(255, 255, 255, 0.3);
}
.small-box .box-more-info {
  background-color: rgba(255, 255, 255, 0.3);
  padding-top: 4px;
  padding-bottom: 4px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
}
.small-box .box-more-info a {
  color: white;
  text-decoration: none;
}
.small-box .box-loading {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  top: 0;
  left: 0px;
  border-radius: 3px;
  display: none;
}
.small-box .box-loading i {
  font-size: 48px;
  position: relative;
  top: 50%;
  line-height: 0px;
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
.small-box .small-box-summary {
  transition: 2s;
  position: relative;
}
.small-box .small-box-detail {
  display: none;
  transition: 2s;
}
.small-box.detail .small-box-summary {
  display: none;
}
.small-box.detail .small-box-detail {
  display: block;
}
/* Badge */

.badge {
  text-align: center;
  border-radius: 3px;
  color: white;
  background-color: #882e82;
  display: inline-block;
  padding-left: 4px;
  padding-right: 4px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
.badge.priority-low {
  background-color: #31ad00;
}
.badge.priority-medium {
  background-color: #db8a1a;
}
.badge.priority-high {
  background-color: #db2901;
}
.badge.priority-normal {
  background-color: #00a1ff;
}
.badge.inverted {
  color: #882e82;
  background-color: rgba(255, 255, 255, 0.9);
}
.badge.inverted.priority-low {
  color: #31ad00;
}
.badge.inverted.priority-medium {
  color: #db8a1a;
}
.badge.inverted.priority-high {
  color: #db2901;
}
.badge.inverted.priority-normal {
  color: #00a1ff;
}
/* Notification bar */

.status-indicator {
  top: -22px;
  height: 18px;
  box-sizing: border-box;
  position: absolute;
  left: 0px;
  right: 0px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  padding: 0px;
  vertical-align: middle;
  padding: 0px 1px 4px 1px !important;
  z-index: 999;
}
.status-indicator .statusTable {
  height: 100%;
  width: 100%;
  border: 0;
}
.status-indicator .statusTable td {
  border: 0;
  width: 100%;
}
/* Glyph Icon Tiles */

.glyph-icon-tile {
  cursor: pointer;
  color: white;
  margin-bottom: 2px;
  height: 75px;
  width: 90px;
  position: relative;
  border-radius: 2px;
}
.glyph-icon-tile div i {
  font-size: 36px;
  margin-top: 8px;
  transition: all 0.3s;
}
.glyph-icon-tile:hover div i {
  font-size: 40px;
  margin-top: 6px;
}
.glyph-icon-tile span {
  color: white;
  position: absolute;
  bottom: 4px;
  left: 4px;
}
/* Material Card */

.material-card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.material-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.material-card .content {
  padding: 2px 16px;
  height: 100px;
  position: relative;
}
