/* Rubrics iDevice */
.exe-rubrics-instructions {
  margin: 0.5em 0 2em 0;
}
.exe-rubrics-content {
  padding: 0 0.6em;
}
.exe-rubrics-authorship {
  margin-top: 0.75em;
  text-align: center;
  font-size: 0.9em;
  margin-bottom: 0;
}
.exe-rubrics-text-after {
  margin-top: 1.5em;
}
.exe-rubrics-strings {
  display: none !important;
}
/*NewEXE: change class */
.rubric caption {
  font-size: 1.05em;
}
.rubric .exe-rubrics-print {
  vertical-align: top;
  font-size: 0.8em;
  margin-left: 0.7em;
}
.rubric .exe-rubrics-print:hover,
.rubric .exe-rubrics-print:focus {
  opacity: 1;
}
.rubric td span {
  opacity: 0.8;
  margin-left: 3px;
  font-size: 0.9em;
}
.rubric td {
  position: relative;
}
.rubric td input[type="checkbox"] {
  position: absolute;
  right: 2px;
  bottom: 2px;
  margin: 0;
  width: 13px;
  height: 13px;
}
.rubric .exe-rubrics-calc {
  margin: 0.5em 0 0.25em;
  text-align: right;
}
.rubric .exe-rubrics-score-result {
  margin-left: 0.5em;
  font-weight: bold;
}
.rubric .exe-rubrics-actions {
  margin: 0.5em 0 0.25em;
  text-align: right;
}
.rubric .exe-rubrics-actions button {
  margin-left: 0.4em;
}
.rubric #exe-rubrics-header {
  margin-top: 1em;
  margin-bottom: 0.4em;
  display: grid;
  grid-template-columns: minmax(14em, 1fr) minmax(14em, 1fr) auto auto;
  gap: 0.35em 0.6em;
  align-items: center;
  width: 100%;
}
.rubric #exe-rubrics-header div {
  line-height: 1.8em;
  display: flex;
  gap: 0.35em;
  align-items: center;
  min-width: 0;
}
.rubric #exe-rubrics-header label {
  font-weight: bold;
}
.rubric #exe-rubrics-header input.form-control {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  margin: 0 !important;
  min-width: 0;
}
.rubric #exe-rubrics-header input[data-rubric-field="name"] {
  width: auto;
  flex: 1 1 18em;
}
.rubric #exe-rubrics-header input[data-rubric-field="activity"] {
  width: auto;
  flex: 1 1 16em;
}
.rubric #exe-rubrics-header input[data-rubric-field="score"] {
  width: 9.5em;
  flex: 0 0 9.5em;
}
.rubric #exe-rubrics-header input[data-rubric-field="date"] {
  width: 9.5em;
  flex: 0 0 9.5em;
}
.rubric #exe-rubrics-header div label:last-of-type {
  margin-left: 0;
}

@media (max-width: 1024px) {
  .rubric #exe-rubrics-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35em 0.6em;
  }

  .rubric #exe-rubrics-header div {
    flex: 1 1 14em;
  }

  .rubric #exe-rubrics-header input[data-rubric-field="score"],
  .rubric #exe-rubrics-header input[data-rubric-field="date"] {
    flex: 1 1 9.5em;
    max-width: 9.5em;
  }
}

@media (max-width: 700px) {
  .rubric #exe-rubrics-header div {
    flex: 1 1 100%;
  }

  .rubric .exe-rubrics-table-slot {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rubric table {
    min-width: 34rem;
    font-size: 0.92rem;
  }

  .rubric table th,
  .rubric table td {
    padding: 0.35rem 0.45rem;
    vertical-align: top;
  }

  .rubric caption {
    font-size: 0.98rem;
    text-wrap: balance;
  }
}

@media (max-width: 520px) {
  .rubric table {
    min-width: 30rem;
    font-size: 0.86rem;
  }

  .rubric table th,
  .rubric table td {
    padding: 0.3rem 0.35rem;
  }
}
.rubric table {
  margin-top: 0.2em;
}
.rubric .exe-rubrics-table-slot {
  width: 100%;
}
.rubric table tbody tr:hover > * {
  background-color: #fff1d6 !important;
}
.rubric #exe-rubrics-footer {
  margin-top: 0.9em;
}
.rubric textarea[data-rubric-field="notes"] {
  width: 100%;
  min-height: 3em;
  box-sizing: border-box;
}

.exe-rubrics-capture {
  background: #fff !important;
}

.exe-rubrics-capture .exe-rubrics-actions,
.exe-rubrics-capture .exe-rubrics-print {
  display: none !important;
}

.exe-rubrics-capture .btn,
.exe-rubrics-capture .form-control {
  background: #fff !important;
  color: #212529 !important;
  border-color: #ced4da !important;
}
