p.nosheets,
p.sharedwith {
  text-align: left;
}

.slim-body {
  width: 830px;
  margin: 0 auto;
}

.report-tr tr {
  border: none;
}

.report-td td {
  padding-right: 10px;
  border: none !important;
  text-align: left;
}

/* table titles */
.report-h2 {
  margin-top: 25px;
  width: 100%;
}

.report-h4 {
  font-size: 15px;
  font-weight: 500;
  padding-top: 5px;
}

/*style if access as a parent */
.sharedwith {
  margin-bottom: 0px;
  margin-top: 10px;
  opacity: 0 /* default */;
  animation: fadeInUp 2s ease 0.5s forwards;
}

/* grades upt to 2.9 */
#bad {
  background: #fea868;
}
/* grades 3.0 - 4.0 */
#notbad {
  background: #fed768;
}
/* grades >= 4.0 */
#good {
  background: #98fb98;
}
/* no grade */
#no_grade {
  background: whitesmoke;
  padding-left: 0px !important;
}

/* message if no grades added in this semester */
.nosheets {
  padding: 20px;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 400px;
  opacity: 0; /*default */
  animation: fadeInUp22 2s ease 0.5s forwards;
}

.nofeedback {
  padding: 20px;
  border: solid 1px;
  border-color: lightgray;
  border-radius: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 400px;
}

/* feedbackarea */
#autosave_report {
  display: none; /* hidden by default */
  background: white;
  color: #5682b2;
  border: solid 1px #5682b2;
  border-radius: 30px;
  font-size: 12px;
  position: fixed;
  top: 100px;
  z-index: 9999999999999999;
  padding: 10px;
  padding-right: 30px;
  padding-left: 30px;
  left: 48.5%;
  text-align: center;
  font-size: 14px;
  left: 50%;
  transform: translateX(-50%);
}

/* general animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 15%, 0);
    transform: translate3d(0, 15%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp22 {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 15%, 0);
    transform: translate3d(0, 15%, 0);
  }
  to {
    opacity: 0.5;
    -webkit-transform: none;
    transform: none;
  }
}

/* people animation - common */

.peopleanimation-container {
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: 830px;
}

.peopleanimation {
  width: 100%;
  height: 100%;
  justify-content: left !important;
  display: inline-grid;
}
.container3 {
  max-width: 550px;
  margin-left: -5%;
}

.peopleanimation-svg {
  width: 70%;
  height: auto;
}

/* people animation - animations */

/* ---Person 1--- */
/* Left Leg */
#p1-leg-left {
  animation: p1-move-left-leg 2s infinite alternate;
  transform-origin: top left;
  transform-box: fill-box;
}

@keyframes p1-move-left-leg {
  from {
    transform: rotateZ(0deg);
  }

  to {
    transform: rotateZ(-5deg);
  }
}

/* Both Hands */
#p1-hand-left,
#p1-hand-right {
  animation: p1-move-hands 1s infinite alternate;
  transform-origin: top left;
  transform-box: fill-box;
}

@keyframes p1-move-hands {
  from {
    transform: rotateZ(-5deg);
  }

  to {
    transform: rotateZ(5deg);
  }
}

/* ---Person 2--- */
/* Left Leg */
#p2-leg-left {
  animation: p2-move-left-leg 1s infinite alternate;
  transform-origin: top right;
  transform-box: fill-box;
}

@keyframes p2-move-left-leg {
  from {
    transform: rotateZ(0deg);
  }

  to {
    transform: rotateZ(10deg);
  }
}

/* Both Hands */
#p2-hand-left,
#p2-hand-right {
  animation: p2-move-hands 3s infinite alternate;
  transform-origin: top right;
  transform-box: fill-box;
}

@keyframes p2-move-hands {
  from {
    transform: rotateZ(-5deg);
  }

  to {
    transform: rotateZ(5deg);
  }
}

/* ---Both Person--- */
/* Head */
#p1-head,
#p2-head {
  animation: p1-p2-move-head 2s infinite alternate;
  transform-origin: bottom;
  transform-box: fill-box;
}

@keyframes p1-p2-move-head {
  from {
    transform: rotateZ(0deg);
  }

  to {
    transform: rotateZ(10deg);
  }
}

/* competence range */
.report-competence {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.report-competence-div {
  width: 300px;
  flex-shrink: 0;
}

.report-competence-bar {
  position: relative;
  width: 100%;
  height: 12px;
  background: #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.report-competence-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--fill-width, 0%);
  height: 100%;
  background: var(--fill-color, green);
  border-radius: 6px;
  transition: width 0.3s;
}

.report-bold {
  font-weight: bold;
}

.report-competence > .report-bold {
  flex-basis: auto;
}

.report-italic {
  font-style: italic;
}

.report-small {
  font-size: 0.8em;
}

.report-selfgrade {
  max-width: fit-content;
  min-width: 300px;
}

.report-selfgrade p {
  margin: 0 !important;
}

@media (max-width: 480px) {
  .report-competence {
    gap: 0.5rem;
  }

  .report-competence > .report-bold {
    flex-basis: 100%;
  }
}

/* hover feedback */
#report-shared-title:hover,
.report-card-heading:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* cards & structure */
.report-card-item {
  margin-bottom: 20px;
}

.report-card-header {
  border-top: solid 1px lightgray;
  padding-top: 20px;
}

.report-header-sub {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.report-sheet {
  margin-bottom: 10px;
  border-top: solid lightgray 1px;
  padding: 10px;
  margin-left: 20px;
}

/* feedback bubbles */
.local_report_feedbacks {
  margin-top: 20px;
}

.edu-rremovtxt {
  display: flex;
  border: none !important;
}

#edu_userimg,
#edu_firstname,
#edu_lastname {
  margin-bottom: 0px !important;
}

#edu_user {
  width: fit-content !important;
  max-width: 150px;
}

.edu_commentfield {
  position: relative;
  padding: 10px 20px;
  background: white;
  border-radius: 0 15px 15px 15px;
  margin: 10px 0 10px 40px;
  min-width: 70%;
  word-wrap: break-word;
  color: #1d2125;
  display: flex;
  border: solid 2px #5682b2;
}

.edu-arrow-left {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 12px 0;
  border-color: transparent #5682b2 transparent transparent;
  position: absolute;
  margin-left: -31.5px;
  margin-top: -12px;
}

/* feedback area */
.report-feedback-area {
  text-align: center;
  margin-bottom: 10px;
  border-top: solid lightgray 1px;
  padding: 10px;
}

.DIVqrCode {
  text-align: center !important;
}

.qr-code-body {
  text-align: left !important;
}

.table-parent-name {
  margin-bottom: 30px;
  width: 100%;
}

.report-add-emailadress {
  margin-bottom: 20px;
}

#report-name-td a:hover #report-fa-search-plus {
  color: white !important;
  -webkit-text-fill-color: #5682b2 !important;
  -webkit-text-stroke-color: white !important;
  -webkit-text-stroke-width: 1px;
}

#report-fa-search-plus {
  -webkit-text-fill-color: white;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: gray;
}

.reportDivFeedback {
  margin-top: 10px;
  margin-bottom: 10px;
}

.report-lettergradefield {
  width: 40px !important;
  display: block;
  text-align: center;
  border-radius: 5px;
}

.report_print_button {
  padding: 10px;
}

.report_tr {
  text-align: left !important;
}

img#img_feedback {
  margin-top: -20px;
}
img#img_grades {
  margin-top: -10px;
}

.grade-bold {
  font-size: 12px;
}

@media (min-width: 576px) {
  .col-sm-2.col-form-label.report {
    flex: 0 0 38%;
    max-width: 38%;
  }
  .col-sm-10.report {
    flex: 0 0 62%;
    max-width: 62%;
  }
}

div > .form-group:last-child {
  margin-bottom: 0 !important;
}
