/*     Card     */

.card {
  border-radius: 0px;
  background-color: $white-color;
  margin-bottom: 30px;
  -webkit-box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  -moz-box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  box-shadow: 0px 1px 15px 1px rgba(69, 65, 78, 0.08);
  border: 1px solid #eee;
  .card-header {
    padding: 15px 15px;
    background-color: $transparent-bg;
    border-bottom: 1px solid #ebedf2 !important;
  }
  .card-title {
    margin: 0;
    color: $body-text-color;
    font-size: 18px;
    font-weight: $font-weight-bold;
    line-height: 1.6;
  }
  .card-sub {
    display: block;
    margin: 5px 0 10px 0;
    font-size: .9rem;
    background: #f7f8fa;
    color: $body-text-color;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
  }
  .card-category {
    margin-top: 5px;
    font-size: 14px;
    font-weight: $font-weight-normal;
    color: #9A9A9A;
    margin-bottom: 0px;
  }
  label {
    font-size: 14px;
    font-weight: $font-weight-normal;
    color: #9A9A9A;
    margin-bottom: 0px;
  }
  .card-body {
    padding: 15px 15px 10px 15px;
  }
  .card-footer {
    background-color: $transparent-bg;
    line-height: 30px;
    border-top: 1px solid #ebedf2 !important;
    font-size: 14px;
  }
  .card-action {
    padding: 30px;
    background-color: $transparent-bg;
    line-height: 30px;
    border-top: 1px solid #ebedf2 !important;
    font-size: 14px;
  }
  .card-footer {
    hr {
      margin-top: 5px;
      margin-bottom: 5px;
    }
    .legend {
      display: inline-block;
    }
  }
}

.card-stats {
  .card-category {
    margin-top: 0px;
  }
  .icon-big {
    font-size: 3em;
    min-height: 64px;
  }
}

.card-tasks {
  .table {
    thead th {
      border-top: 1px solid #f4f4f4;
      background: #fafafa !important;
    }
    .form-check {
      padding: 0 0 0 0.75rem !important;
      label {
        margin-bottom: 0px !important;
      }
    }
    tbody td:first-child, thead th:first-child {
      padding-left: 15px;
      padding-right: 15px;
    }
    tbody td:last-child, thead th:last-child {
      padding-right: 15px;
    }
  }
  .card-body .table td {
    font-size: 14px;
    line-height: 1.8;
    .btn {
      font-size: 17px;
      opacity: 0.7;
      transition: all .3s;
    }
    &:hover .btn {
      opacity: 1;
    }
  }
}

.card-default, .card-primary, .card-info, .card-success, .card-warning, .card-danger {
  color: $white-color;
  border: 0px;
}

.card-default .card-header, .card-primary .card-header, .card-info .card-header, .card-success .card-header, .card-warning .card-header, .card-danger .card-header {
  border-bottom: $transparent-bg !important;
}

.card-default .card-category, .card-primary .card-category, .card-info .card-category, .card-success .card-category, .card-warning .card-category, .card-danger .card-category, .card-default .card-title, .card-primary .card-title, .card-info .card-title, .card-success .card-title, .card-warning .card-title, .card-danger .card-title, .card-default label, .card-primary label, .card-info label, .card-success label, .card-warning label, .card-danger label {
  color: $white-color;
}

.card-default .icon-big > i, .card-primary .icon-big > i, .card-info .icon-big > i, .card-success .icon-big > i, .card-warning .icon-big > i, .card-danger .icon-big > i {
  color: $white-color !important;
}

.card-default .card-footer, .card-primary .card-footer, .card-info .card-footer, .card-success .card-footer, .card-warning .card-footer, .card-danger .card-footer {
  border-top: $transparent-bg !important;
}

.card-default {
  background: $default-color;
}

.card-primary {
  background: $primary-color;
}

.card-info {
  background: $info-color;
}

.card-success {
  background: $success-color;
}

.card-warning {
  background: $warning-color;
}

.card-danger {
  background: $danger-color;
}

/*     Progress Card    */

.progress-card {
  margin-bottom: 25px;
}

/* Row Card No Padding */

.row-card-no-pd {
  margin-left: 0;
  margin-right: 0;
  background: $white-color;
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
  .card {
    margin-bottom: 0px;
    border-width: 0px;
    box-shadow: none;
    position: unset;
  }
  [class*=col-] .card:after {
    position: absolute;
    height: calc(100%);
    width: 1px;
    background: #eee;
    content: '';
    right: 0px;
    &:last-child {
      width: 0px;
    }
  }
}