/*
 * Component: Info Box
 * -------------------
 */
.info-box {
  display: block;
  min-height: 90px;
  background: #fff;
  width: 100%;
  box-shadow: @box-boxshadow;
  .border-radius(2px);
  margin-bottom: 15px;
  small {
    font-size: 14px;
  }
  .progress {
    background: rgba(0, 0, 0, .2);
    margin: 5px -10px 5px -10px;
    height: 2px;
    &,
    & .progress-bar {
      .border-radius(0);
    }
    .progress-bar {
      background: #fff;
    }
  }
  &.info-box-tasks {
    border: 1px solid @box-border-color;
    border-left: 4px solid @light-blue;
    .info-box-icon {
      background: none;
    }
    .info-box-content {
      margin-top: 15px;
    }
    .tasks-list-ctn {
      padding: @box-padding;
    }
  }
}

.info-box-icon {
  .border-radius(2px; 0; 2px; 0);
  display: block;
  float: left;
  height: 90px;
  width: 90px;
  text-align: center;
  font-size: 45px;
  line-height: 90px;
  background: rgba(0, 0, 0, 0.2);
  > img {
    max-width: 100%;
  }
  .dui-svg-icon {
    width: 60px;
    height: 60px;
    vertical-align: text-bottom;
  }
}

.info-box-content {
  padding: 5px 10px;
  margin-left: 90px;
}

.info-box-number {
  display: block;
  font-weight: bold;
  font-size: 18px;
}

.progress-description,
.info-box-label,
.tasks-prog-text,
.info-box-text {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-box-text {
  text-transform: uppercase;
}

.info-box-more {
  display: block;
}

.progress-description {
  margin: 0;
}

.info-box-label {
  font-weight: 600;
  color: #777;
}

.info-box-title {
  display: block;
  font-size: 20px;
  color: @light-blue;
}

.tasks-prog {
  .clearfix();
  padding: 5px 10px;
  margin-top: 15px;
  background-color: lighten(@light-blue, 50%);
  > div {
    float: left;
  }
  .tasks-prog-chart {
    padding-top: 5px;
  }
  .tasks-prog-text {
    padding: 5px 10px;
    margin-left: 20px;
    p {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 0;
      span {
        color: @black;
      }

      & + p {
        margin-top: 5px;
      }
    }
  }

  .tasks-prog-arrow {
    float: right;
    font-size: 40px;
    padding-right: 5px;
    color: #777;
    cursor: pointer;
    &.collapsed {
      .ion-ios-arrow-up:before {
        content: "\f3d0";
      }
    }
  }
}

.tasks-prog-total {
  padding: 5px 10px;
  color: @light-blue;
  border-bottom: 1px dotted @box-border-color;
  p {
    font-size: 16px;
    margin: 0 0 0 90px;
    font-weight: 600;
    span {
      color: @black;
    }
  }
}

.info-box-footer {
  .clearfix();
  .border-radius(0; 0; @box-border-radius; @box-border-radius);
  border-top: 1px solid @box-border-color;
  padding: @box-padding 0;
  background-color: @box-footer-bg;
}