/*
 * Copyright (C) 2018 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2025 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/* Legacy variables. Discontinue to use these: */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Convert font-size from px to rem with px fallback
 * @param $size - the value in pixel you want to convert
 * e.g. p {@include fontSize(12px);}
 * courtesy of https://github.com/stubbornella/oocss/blob/master/oocss/src/components/utils/_fontSize.scss
 */
/*
 * Copyright (C) 2017 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2014 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2025 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/* Legacy variables. Discontinue to use these: */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2012 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Convert font-size from px to rem with px fallback
 * @param $size - the value in pixel you want to convert
 * e.g. p {@include fontSize(12px);}
 * courtesy of https://github.com/stubbornella/oocss/blob/master/oocss/src/components/utils/_fontSize.scss
 */
/*
 * Copyright (C) 2019 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.file-select-item {
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: relative;
  outline: none;
}
.file-select-item::before {
  content: "";
  pointer-events: none;
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0; /* stylelint-disable-line property-disallowed-list */
  right: 0; /* stylelint-disable-line property-disallowed-list */
  border: 0.125rem solid #2B7ABC;
  border-radius: 0.375rem;
  transition: all 0.2s;
  opacity: 0;
  transform: scale(0.95);
}
.file-select-item:focus::before {
  opacity: 1;
  transform: scale(1);
}
.file-select-item:hover {
  background-color: #2B7ABC;
  color: #FFFFFF;
}

.file-select-item-selected {
  background-color: #E0EBF5;
  font-weight: bold;
}

/*
 * Copyright (C) 2018 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.steps-main {
  width: 100%;
  position: absolute;
  right: 0px;
  transition: all 0.5s linear;
}

.steps-main-status-label {
  animation: 1s ease 0s normal forwards 1 fadein;
  position: absolute;
  right: 140px;
  top: 4px;
}

.steps-container-collapsed {
  transition: all 0.5s linear;
  position: absolute;
  right: 8px;
  width: 120px;
}
.steps-container-collapsed .step-item-label {
  visibility: hidden;
}
.steps-container-collapsed .progressionContainer {
  visibility: hidden;
}

.steps {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.step {
  margin: -32px 0 0;
  padding: 0;
  min-width: 0.0625rem;
  flex: 1;
}

.step-expanded:last-of-type {
  flex: 0.5;
}
.step-expanded:first-of-type {
  flex: 0.5;
}

.progressionContainer {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
}

.progression {
  flex: 1;
  height: 0.0625rem;
  background: #4A5B68;
}

.completeProgression {
  position: absolute;
  display: block;
  width: 100%;
  height: 0.125rem;
  offset-inline-start: 0;
  top: calc(50% - 0.0625rem);
  background: #02672D;
  transition: transform 0.2s;
  transform-origin: left center;
}

[dir=rtl] .completeProgression {
  transform-origin: right center;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*
 * Copyright (C) 2018 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
@keyframes pulse {
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.step-item-step {
  display: block;
}

.step-item-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25;
}

.pinLayout {
  display: flex;
  align-items: center;
}

.step-item-pin {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4A5B68;
  border-radius: 100%;
  position: relative;
}

.complete .step-item-pin {
  font-size: 0.75rem; /* sets the icon size bc we need smaller than theme can provide */
  background: #02672D;
}

.unavailable .step-item-label {
  font-weight: 700;
}
.unavailable .step-item-pin {
  border-color: #AE1B1F;
  border-style: solid;
  border-width: 2px;
  background: #FFFFFF;
}

.button .step-item-label {
  font-size: 0.875rem;
}
.button .step-item-pin {
  border-color: #4A5B68;
  border-style: solid;
  border-width: 1px;
  background: #FFFFFF;
}

.in-progress .step-item-label {
  font-weight: 700;
  color: #273540;
}
.in-progress .step-item-pin {
  background: #FFFFFF;
  border: 0.125rem solid #02672D;
  /* if pin is complete, it pulses - should we make this an opt-in prop? */
  position: relative;
}
.in-progress .step-item-pin::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem; /* stylelint-disable-line property-disallowed-list */
  right: -0.5rem; /* stylelint-disable-line property-disallowed-list */
  border-width: 0.125rem;
  border-style: solid;
  border-color: #02672D;
  border-radius: 100%;
  /* set initial properties to animate in the pulse animation */
  opacity: 0;
  transform: scale(0.5);
  /* animation */
  animation-name: pulse;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-out;
}

.placement--first .pinLayout {
  justify-content: flex-start;
}
.placement--first .step-item-label {
  text-align: start;
}

.placement--last .pinLayout {
  justify-content: flex-end;
}
.placement--last .step-item-label {
  text-align: end;
}

.placement--interior .pinLayout {
  justify-content: center;
}
.placement--interior .step-item-label {
  text-align: center;
  margin-inline-start: auto;
  margin-inline-end: auto;
  max-width: 50%; /* makes all text labels equal width (first and last are reduced by flex: 0.5 rule above) */
}

/*
 * Copyright (C) 2018 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.assignment-student-submission-tracker,
.selected-submission-grade {
  line-height: normal;
}

@media (min-width: 768px) {
  .assignment-student-header {
    top: 0px;
    position: sticky;
  }
}
.assignment-student-header {
  padding-bottom: 12px;
  right: 0px;
  background-color: white;
  z-index: 100;
}

#assignment-student-header-content {
  flex-wrap: wrap;
  gap: 12px;
}
@media only screen and (min-width: 992px) {
  #assignment-student-header-content {
    flex-wrap: nowrap;
    gap: 36px;
  }
}

.steps-container {
  margin-bottom: 3.75rem;
}

.a2-toggle-details-container {
  margin-bottom: 1.5rem;
}

.points-text {
  font-weight: 300;
}

/*
 * Copyright (C) 2019 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.textarea-action-button-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 5px 0;
}

.textarea-action-buttons {
  text-align: end;
}

.svg-placeholder-container {
  text-align: center;
}

.comment-row-container {
  display: flex;
}

.comment-text-comment-container {
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.load-more-comments-button-container {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

/*
 * Copyright (C) 2011 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.react-rubric {
  border-collapse: collapse;
  page-break-inside: avoid;
}

.react-rubric table {
  width: 100%;
  height: 100%;
}

.react-rubric th.rubric-criteria {
  width: 8rem;
}

.react-rubric th.rubric-points {
  width: 6rem;
}

.react-rubric .react-rubric-cell {
  width: 100%;
}

.react-rubric thead {
  background-color: #F2F4F4;
}

.react-rubric td, .react-rubric th {
  border: 1px solid #E8EAEC;
  padding: 7px 10px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.react-rubric th {
  padding-bottom: 14px;
}

.react-rubric th[scope=col] {
  white-space: nowrap;
  text-overflow: ellipsis;
}

.react-rubric th.rubric-title {
  background-color: #FFFFFF;
  border-top: 1px solid #E8EAEC;
  border-left: 1px solid #E8EAEC;
  border-right: 1px solid #E8EAEC;
  padding: 5px;
  font-weight: bold;
}

.react-rubric .description-header {
  height: 100%;
  vertical-align: text-top;
}
.react-rubric .description-header .long-description button {
  margin: 0;
  padding: 0;
}

.react-rubric .assessment-comments {
  margin-top: 10px;
  margin-bottom: 6px;
  margin-left: 0px;
  margin-right: 0px;
}

.react-rubric .react-rubric-break-words {
  word-wrap: break-word; /* for IE support */
  overflow-wrap: break-word;
}

.react-rubric .rubric-criterion td {
  vertical-align: top;
  height: 100%;
}

.react-rubric .rating-description {
  padding-bottom: 0.5em;
}

.react-rubric td.ratings {
  padding: 0;
  vertical-align: middle;
}

.react-rubric .ratings .rating-points {
  white-space: nowrap;
}

.react-rubric .rubric-freeform {
  padding: 5px;
}

.react-rubric .edit-freeform-comments-large {
  min-width: 15rem;
  padding: 1rem;
}

.react-rubric .edit-freeform-comments-small {
  padding: 0.75rem;
}

.react-rubric .rating-tier {
  padding: 7px 10px;
  border-left: 1px solid #E8EAEC;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  position: relative;
  overflow: hidden;
  overflow-wrap: break-word;
}

.react-rubric .rating-tier .rating-footer {
  padding-bottom: 1rem;
}

.react-rubric .rating-tier.selected .shader {
  width: 100%;
  height: 0.3em;
  position: absolute;
  bottom: 0;
  left: 0;
}
.react-rubric .rating-tier.selected .shader .triangle {
  width: 0;
  height: 0;
  border-left: 0.7em solid transparent;
  border-right: 0.7em solid transparent;
  border-bottom: 1em solid;
  position: relative;
  margin: 0 auto;
  bottom: 0.7em;
}
.react-rubric .rating-tier.selected .exceedsMasteryShader {
  background-color: #02672D;
}
.react-rubric .rating-tier.selected .exceedsMasteryShader .triangle {
  color: #02672D;
}
.react-rubric .rating-tier.selected .meetsMasteryShader {
  background-color: #02672D;
}
.react-rubric .rating-tier.selected .meetsMasteryShader .triangle {
  color: #02672D;
}
.react-rubric .rating-tier.selected .nearMasteryShader {
  background-color: #CF4A00;
}
.react-rubric .rating-tier.selected .nearMasteryShader .triangle {
  color: #CF4A00;
}
.react-rubric .rating-tier.selected .wellBelowMasteryShader {
  background-color: #E62429;
}
.react-rubric .rating-tier.selected .wellBelowMasteryShader .triangle {
  color: #E62429;
}

.react-rubric .rating-tier.assessing:hover {
  background-color: #ad9;
  cursor: pointer;
}

.rating-all-footer {
  border-top: 1px solid #E8EAEC;
}
.rating-all-footer .error-message {
  color: #AE1B1F;
  line-height: 1.75;
}
.rating-all-footer .error-message i {
  margin: 0 0.5rem;
}

.react-rubric .graded-points {
  white-space: nowrap;
  text-align: end;
}

/*
 * Copyright (C) 2016 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
code,
pre {
  font-family: OpenDyslexicMono, Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 0.75rem;
  border-radius: 6px;
  background-color: #F2F4F4;
  border: 1px solid #E8EAEC;
}

code {
  padding: 0.125rem 0.25rem;
  color: #C71F23;
}

pre {
  color: #273540;
  display: block;
  padding: 9px;
  margin: 0 0 12px;
  line-height: 1.2;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre;
  white-space: pre-wrap;
}
pre.prettyprint {
  margin-bottom: 24px;
}
pre code {
  padding: 0;
  color: inherit;
  background-color: transparent;
  border: 0;
}

/*
 * Copyright (C) 2022 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.emoji-mart,
.emoji-mart * {
  box-sizing: border-box;
  line-height: 1.15;
}

.emoji-mart {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 16px;
  display: inline-block;
  color: #222427;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
}

.emoji-mart .emoji-mart-emoji {
  padding: 6px;
}

.emoji-mart-bar {
  border: 0 solid #d9d9d9;
}

.emoji-mart-bar:first-child {
  border-bottom-width: 1px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.emoji-mart-bar:last-child {
  border-top-width: 1px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.emoji-mart-anchors {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 6px;
  line-height: 0;
}

.emoji-mart-anchor {
  position: relative;
  display: block;
  flex: 1 1 auto;
  color: #858585;
  text-align: center;
  padding: 12px 4px;
  overflow: hidden;
  transition: color 0.1s ease-out;
  margin: 0;
  box-shadow: none;
  background: none;
  border: none;
}

.emoji-mart-anchor:focus {
  outline: 0;
}

.emoji-mart-anchor:hover,
.emoji-mart-anchor:focus,
.emoji-mart-anchor-selected {
  color: #464646;
}

.emoji-mart-anchor-selected .emoji-mart-anchor-bar {
  bottom: 0;
}

.emoji-mart-anchor-bar {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #464646;
}

.emoji-mart-anchors i {
  display: inline-block;
  width: 100%;
  max-width: 22px;
}

.emoji-mart-anchors svg,
.emoji-mart-anchors img {
  fill: currentColor;
  height: 18px;
  width: 18px;
}

.emoji-mart-scroll {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 270px;
  padding: 0 6px 6px 6px;
  will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */
}

.emoji-mart-search {
  margin-top: 6px;
  padding: 0 6px;
  position: relative;
}

.emoji-mart-search input {
  font-size: 16px;
  display: block;
  width: 100%;
  padding: 5px 25px 6px 10px;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  outline: 0;
}

.emoji-mart-search input,
.emoji-mart-search input::-webkit-search-decoration,
.emoji-mart-search input::-webkit-search-cancel-button,
.emoji-mart-search input::-webkit-search-results-button,
.emoji-mart-search input::-webkit-search-results-decoration {
  /* remove webkit/blink styles for <input type="search">
   * via https://stackoverflow.com/a/9422689 */
  -webkit-appearance: none;
}

.emoji-mart-search-icon {
  position: absolute;
  top: 7px;
  right: 11px;
  z-index: 2;
  padding: 2px 5px 1px;
  border: none;
  background: none;
}

.emoji-mart-category .emoji-mart-emoji span {
  z-index: 1;
  position: relative;
  text-align: center;
  cursor: default;
}

.emoji-mart-category .emoji-mart-emoji:hover:before {
  z-index: 0;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
  border-radius: 100%;
}

.emoji-mart-category-label {
  z-index: 2;
  position: relative;
  position: sticky;
  top: 0;
}

.emoji-mart-category-label span {
  display: block;
  width: 100%;
  font-weight: 500;
  padding: 5px 6px;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.95);
}

.emoji-mart-category-list {
  margin: 0;
  padding: 0;
}

.emoji-mart-category-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.emoji-mart-emoji {
  position: relative;
  display: inline-block;
  font-size: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.emoji-mart-emoji-native {
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
}

.emoji-mart-no-results {
  font-size: 14px;
  text-align: center;
  padding-top: 70px;
  color: #858585;
}

.emoji-mart-no-results-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.emoji-mart-no-results .emoji-mart-category-label {
  display: none;
}

.emoji-mart-no-results .emoji-mart-no-results-label {
  margin-top: 0.2em;
}

.emoji-mart-no-results .emoji-mart-emoji:hover:before {
  content: none;
}

.emoji-mart-preview {
  position: relative;
  height: 70px;
}

.emoji-mart-preview-emoji,
.emoji-mart-preview-data,
.emoji-mart-preview-skins {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.emoji-mart-preview-emoji {
  left: 12px;
}

.emoji-mart-preview-data {
  left: 68px;
  right: 12px;
  word-break: break-all;
}

.emoji-mart-preview-skins {
  right: 30px;
  text-align: right;
}

.emoji-mart-preview-skins.custom {
  right: 10px;
  text-align: right;
}

.emoji-mart-preview-name {
  font-size: 14px;
}

.emoji-mart-preview-shortname {
  font-size: 12px;
  color: #888;
}

.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,
.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,
.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {
  margin-left: 0.5em;
}

.emoji-mart-preview-emoticon {
  font-size: 11px;
  color: #bbb;
}

.emoji-mart-title span {
  display: inline-block;
  vertical-align: middle;
}

.emoji-mart-title .emoji-mart-emoji {
  padding: 0;
}

.emoji-mart-title-label {
  color: #999A9C;
  font-size: 26px;
  font-weight: 300;
}

.emoji-mart-skin-swatches {
  font-size: 0;
  padding: 2px 0;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background-color: #fff;
}

.emoji-mart-skin-swatches.custom {
  font-size: 0;
  border: none;
  background-color: #fff;
}

.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch {
  width: 16px;
  padding: 0 2px;
}

.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after {
  opacity: 0.75;
}

.emoji-mart-skin-swatch {
  display: inline-block;
  width: 0;
  vertical-align: middle;
  transition-property: width, padding;
  transition-duration: 0.125s;
  transition-timing-function: ease-out;
}

.emoji-mart-skin-swatch:nth-child(1) {
  transition-delay: 0s;
}

.emoji-mart-skin-swatch:nth-child(2) {
  transition-delay: 0.03s;
}

.emoji-mart-skin-swatch:nth-child(3) {
  transition-delay: 0.06s;
}

.emoji-mart-skin-swatch:nth-child(4) {
  transition-delay: 0.09s;
}

.emoji-mart-skin-swatch:nth-child(5) {
  transition-delay: 0.12s;
}

.emoji-mart-skin-swatch:nth-child(6) {
  transition-delay: 0.15s;
}

.emoji-mart-skin-swatch.selected {
  position: relative;
  width: 16px;
  padding: 0 2px;
}

.emoji-mart-skin-swatch.selected:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background-color: #fff;
  border-radius: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.emoji-mart-skin-swatch.custom {
  display: inline-block;
  width: 0;
  height: 38px;
  overflow: hidden;
  vertical-align: middle;
  transition-property: width, height;
  transition-duration: 0.125s;
  transition-timing-function: ease-out;
  cursor: default;
}

.emoji-mart-skin-swatch.custom.selected {
  position: relative;
  width: 36px;
  height: 38px;
  padding: 0 2px 0 0;
}

.emoji-mart-skin-swatch.custom.selected:after {
  content: "";
  width: 0;
  height: 0;
}

.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover {
  background-color: #f4f4f4;
  border-radius: 10%;
}

.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom {
  width: 36px;
  height: 38px;
  padding: 0 2px 0 0;
}

.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after {
  opacity: 0.75;
}

.emoji-mart-skin-text.opened {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  color: #888;
  font-size: 11px;
  padding: 5px 2px;
  width: 95px;
  height: 40px;
  border-radius: 10%;
  background-color: #fff;
}

.emoji-mart-skin {
  display: inline-block;
  width: 100%;
  padding-top: 100%;
  max-width: 12px;
  border-radius: 100%;
}

.emoji-mart-skin-tone-1 {
  background-color: #ffc93a;
}

.emoji-mart-skin-tone-2 {
  background-color: #fadcbc;
}

.emoji-mart-skin-tone-3 {
  background-color: #e0bb95;
}

.emoji-mart-skin-tone-4 {
  background-color: #bf8f68;
}

.emoji-mart-skin-tone-5 {
  background-color: #9b643d;
}

.emoji-mart-skin-tone-6 {
  background-color: #594539;
}

/* For screenreaders only, via https://stackoverflow.com/a/19758620 */
.emoji-mart-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/*
 * Dark mode styles
 */
.emoji-mart-dark {
  color: #fff;
  border-color: #555453;
  background-color: #222;
}

.emoji-mart-dark .emoji-mart-bar {
  border-color: #555453;
}

.emoji-mart-dark .emoji-mart-search input {
  color: #fff;
  border-color: #555453;
  background-color: #2f2f2f;
}

.emoji-mart-dark .emoji-mart-search-icon svg {
  fill: #fff;
}

.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before {
  background-color: #444;
}

.emoji-mart-dark .emoji-mart-category-label span {
  background-color: #222;
  color: #fff;
}

.emoji-mart-dark .emoji-mart-skin-swatches {
  border-color: #555453;
  background-color: #222;
}

.emoji-mart-dark .emoji-mart-anchor:hover,
.emoji-mart-dark .emoji-mart-anchor:focus,
.emoji-mart-dark .emoji-mart-anchor-selected {
  color: #bfbfbf;
}

.emoji-picker input {
  box-sizing: border-box;
  height: 100%;
}
.emoji-picker button.emoji-mart-emoji span {
  cursor: pointer;
}
.emoji-picker .emoji-mart-category-label {
  margin-bottom: 2px;
}
.emoji-picker .emoji-mart-preview-skins {
  cursor: pointer;
}

.emoji-trigger {
  opacity: 0.5;
}
.emoji-trigger.opaque {
  opacity: 1;
}
.emoji-trigger:focus-within {
  opacity: 1;
}
.emoji-trigger:hover {
  opacity: 1;
}

.emoji-quick-picker {
  display: flex;
  align-items: center;
}
.emoji-quick-picker button {
  line-height: 1;
  transition: all 0.1s ease-in-out;
}
.emoji-quick-picker button:focus-within {
  transform: scale(1.8);
}
.emoji-quick-picker button:hover {
  transform: scale(1.8);
}
.emoji-quick-picker span {
  width: 20px;
}

/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.turnitin_score_container_caret {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  content: "";
  border-width: 4px;
  border-color: transparent;
  border-style: solid;
  left: -8px;
  margin-top: -4px;
}
.turnitin_score_container_caret.none_score {
  border-right-color: #0d5bed;
}
.turnitin_score_container_caret.acceptable_score {
  border-right-color: #007010;
}
.turnitin_score_container_caret.warning_score {
  border-right-color: #746801;
}
.turnitin_score_container_caret.problem_score {
  border-right-color: #9b5003;
}
.turnitin_score_container_caret.failure_score {
  border-right-color: #a03536;
}
.turnitin_score_container_caret.submission_error, .turnitin_score_container_caret.submission_pending {
  border-right-color: #666666;
}

.turnitin_score_container {
  position: relative;
  margin-left: 10px;
}

.turnitin_similarity_score,
.turnitin_similarity_score:link,
.turnitin_similarity_score:visited,
.turnitin_similarity_score:active,
.turnitin_similarity_score:hover,
.turnitin_similarity_score:focus {
  display: inline-block;
  white-space: nowrap;
  border-radius: 3px;
  padding: 2px 4px;
  font-weight: bold;
  color: #000000;
  font-size: 12px;
  font-size: 0.75rem;
  text-decoration: none;
}
.turnitin_similarity_score.none_score,
.turnitin_similarity_score:link.none_score,
.turnitin_similarity_score:visited.none_score,
.turnitin_similarity_score:active.none_score,
.turnitin_similarity_score:hover.none_score,
.turnitin_similarity_score:focus.none_score {
  background-color: #0d5bed;
}
.turnitin_similarity_score.acceptable_score,
.turnitin_similarity_score:link.acceptable_score,
.turnitin_similarity_score:visited.acceptable_score,
.turnitin_similarity_score:active.acceptable_score,
.turnitin_similarity_score:hover.acceptable_score,
.turnitin_similarity_score:focus.acceptable_score {
  background-color: #007010;
}
.turnitin_similarity_score.warning_score,
.turnitin_similarity_score:link.warning_score,
.turnitin_similarity_score:visited.warning_score,
.turnitin_similarity_score:active.warning_score,
.turnitin_similarity_score:hover.warning_score,
.turnitin_similarity_score:focus.warning_score {
  background-color: #746801;
}
.turnitin_similarity_score.problem_score,
.turnitin_similarity_score:link.problem_score,
.turnitin_similarity_score:visited.problem_score,
.turnitin_similarity_score:active.problem_score,
.turnitin_similarity_score:hover.problem_score,
.turnitin_similarity_score:focus.problem_score {
  background-color: #9b5003;
}
.turnitin_similarity_score.failure_score,
.turnitin_similarity_score:link.failure_score,
.turnitin_similarity_score:visited.failure_score,
.turnitin_similarity_score:active.failure_score,
.turnitin_similarity_score:hover.failure_score,
.turnitin_similarity_score:focus.failure_score {
  background-color: #a03536;
  color: #FFFFFF;
}
.turnitin_similarity_score.submission_error, .turnitin_similarity_score.submission_pending,
.turnitin_similarity_score:link.submission_error,
.turnitin_similarity_score:link.submission_pending,
.turnitin_similarity_score:visited.submission_error,
.turnitin_similarity_score:visited.submission_pending,
.turnitin_similarity_score:active.submission_error,
.turnitin_similarity_score:active.submission_pending,
.turnitin_similarity_score:hover.submission_error,
.turnitin_similarity_score:hover.submission_pending,
.turnitin_similarity_score:focus.submission_error,
.turnitin_similarity_score:focus.submission_pending {
  background-color: #666666;
  color: #273540;
}
.turnitin_similarity_score.pending_score,
.turnitin_similarity_score:link.pending_score,
.turnitin_similarity_score:visited.pending_score,
.turnitin_similarity_score:active.pending_score,
.turnitin_similarity_score:hover.pending_score,
.turnitin_similarity_score:focus.pending_score {
  background-image: url(/dist/images/turnitin_submission_pending-010535f0b1.png);
  width: 10px;
  height: 10px;
}

.turnitin_score_container {
  position: relative;
  margin-left: 10px;
}

.turnitin_resubmit_container {
  text-align: right;
}

.turnitin-comments {
  font-size: 0.8em;
}

/*
 * Copyright (C) 2023 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */
.Sticker__Container {
  background: none;
  border: none;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
  overflow: hidden;
  position: relative;
  padding: 0;
}
.Sticker__Container.small {
  height: 60px;
  width: 60px;
}
.Sticker__Container.medium {
  height: 80px;
  width: 80px;
}
.Sticker__Container.large {
  height: 125px;
  width: 125px;
}

.Sticker__ShinyContainer {
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  overflow: hidden;
}
.Sticker__ShinyContainer:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-30deg);
  transition: 0.3s;
}
.Sticker__ShinyContainer:hover:before, .Sticker__ShinyContainer:focus-within:before {
  background: rgba(255, 255, 255, 0.2);
}
.Sticker__ShinyContainer.small:before {
  left: -86px;
}
.Sticker__ShinyContainer.small:hover:before, .Sticker__ShinyContainer.small:focus-within:before {
  left: 86px;
}
.Sticker__ShinyContainer.medium:before {
  left: -115px;
}
.Sticker__ShinyContainer.medium:hover:before, .Sticker__ShinyContainer.medium:focus-within:before {
  left: 115px;
}
.Sticker__ShinyContainer.large:before {
  left: -140px;
}
.Sticker__ShinyContainer.large:hover:before, .Sticker__ShinyContainer.large:focus-within:before {
  left: 140px;
}

.StickerOverlay__Container {
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  overflow: hidden;
  position: relative;
}

.Sticker__Overlay {
  transition: opacity 0.2s ease-in-out;
  background-color: rgba(32, 33, 36, 0.75);
  bottom: 0;
  height: 40%;
  left: 0;
  right: 0;
  opacity: 0;
  position: absolute;
}
.Sticker__Overlay.showing {
  opacity: 1;
}

.StickerSearch__images {
  margin: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-flow: row wrap;
}

.ModalSticker__Container {
  margin: 12px;
}

.ModalSticker {
  height: 100px;
  width: 100px;
  border: none;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
  position: relative;
}

.ModalSticker__Checkmark {
  position: absolute;
  top: 0;
  left: 0;
}

#assignments_2 {
  max-width: 1000px;
}

#assignments-student-footer {
  position: fixed;
  bottom: 0;
  min-height: 60px;
  right: 10px;
  left: 10px;
}
@media (min-width: 768px) {
  #assignments-student-footer {
    margin-left: 80px;
  }
}
#assignments-student-footer {
  box-sizing: border-box;
  padding: 0;
  border-top: 1px solid gray;
  text-align: right;
  z-index: 999;
  background: blue;
}

#comments-tray {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

#content-wrapper {
  padding-bottom: 60px;
}

#textarea-emoji-container {
  position: relative;
}

body.is-masquerading-or-student-view #assignments-student-footer {
  bottom: 50px;
  right: 3px;
}
body.is-masquerading-or-student-view #comments-tray {
  bottom: 50px;
}
body.is-masquerading-or-student-view #content-wrapper {
  padding-bottom: 110px;
}

.webcam-countdown-container {
  position: absolute;
  inset: 0;
  font-size: 10rem;
  color: #FFFFFF;
  line-height: 1;
  text-shadow: #273540 3px 3px 10px;
}

.emoji-picker-container {
  position: absolute;
  bottom: 0;
  right: 0;
}

body.is-masquerading-or-student-view #enhanced-rubric-assessment-tray div[class*=-tray__content] {
  padding-bottom: 50px !important;
}