@import url('icomoon-style.css');
/* Button holder div */
div.bholder {
  width: 100%;
  border: 1px solid black;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: 100%;
}
/* Tools button undo redo */
div.mtoolbutton {
  height: 52px;
  border: 1px solid black;
}
/* Buttons */
div.mbuttonpop {
  border-top: 1px solid black;
}
/* Close div */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover, .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.wpProQuiz_questionListItem .myBtn {
  background-color: none !important;
}
/* All buttons styling */
.bholder button {
  background-color: white;
  border: 1.5px solid grey;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  cursor: pointer;
  text-align: center;
  -webkit-transition: color .2s ease-in, background-color .2s ease-in, -webkit-box-shadow .2s ease-in;
  -moz-transition: color .2s ease-in, background-color .2s ease-in, -moz-box-shadow .2s ease-in;
  transition: color .2s ease-in, background-color .2s ease-in, box-shadow .2s ease-in;
  font-family: STIXGeneral;
  height: 2em;
  line-height: 2em;
  padding: 0;
  width: 100px;
  text-align: center;
  box-sizing: border-box;
  margin: 3px;
  text-decoration: none;
  color: #000;
}
/* mathquil span div */
.input {
  width: 800px !important;
  font-size: 30px !important;
}
button.mqtools, button.pmqtools {
  /* background-color: white !important;
  border-radius: none !important;
  width: 20px !important;
  border: 1px solid black !important; */
  transform: scale(1);
  display: inline-block;
  border: 1px solid #000;
  max-width: 100px;
  width: 40px;
  height: 40px;
  padding: 0;
  min-width: auto;
  box-sizing: border-box;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px;
  background: #FFF;
}
button.mqtools:hover {
  background: #296e8b;
  border-radius: 50%;
  color: #FFF;
}
button.pmqtools:hover {
  background: #296d8a;
  border-radius: 50%;
}
button.mqtools img {
  height: 22px;
  width: auto;
}
button.pmqtools img {
  height: 22px;
  width: auto;
}
/* Draging div */
.mqdrag {
  background-color: white !important;
}
.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList span {
  margin-right: 0;
}
div.mtoolbutton {
  height: 52px;
  display: flex;
  justify-content: left;
  align-items: center;
  background: #ececec;
  border-bottom: 0;
}
.learndash-wrapper .calc_mathquil span.mq-root-block {
  margin-right: 0;
  /* height: 60px; */
  padding: 16px 5px;
  box-sizing: border-box;
}
.learndash-wrapper .calc_mathquil_popup span.mq-root-block {
  margin-right: 0;
  /* height: 60px; */
  padding: 16px 5px;
  box-sizing: border-box;
}
.bholder button {
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-family: sans-serif;
  width: 29%;
  background: #f7f7f7;
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.bholder button:hover {
  background: #f6f6f6;
  color: black !important;
}
.bholder button img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
div.bholder {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.column__left {
  width: 44%;
  box-sizing: border-box;
  padding: 4px;
  border-right: 1px solid #ccc;
}
.column__right {
  width: 56%;
  box-sizing: border-box;
  padding: 4px;
}
.rowRighgtclm {
  width: 100%;
  padding-top: 4px;
  border-top: 1px solid #CCC;
  padding-bottom: 4px;
}
.column__right > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.column__fullWidth {
  width: 100%;
  border-top: 1px solid #ccc;
  padding: 4px;
}
.bholder .column__right button {
  width: 16.4%;
}
.bholder .column__fullWidth button {
  width: 10.45%;
}
/* --------- Extra ---- */
button.mqtools, button.pmqtools {
  width: 35px;
  height: 35px;
}
button.mqtools img {
  height: auto;
  width: 50%;
}
button.pmqtools img {
  height: auto;
  width: 50%;
}
.calc_mathquil {
  width: 100%;
}
.calc_mathquil_popup {
  width: 100%;
}
.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList[data-type="essay"] {
  width: 100%;
  max-width: 1024px;
}
/*.column__left {
  width: 30%;
}
.column__right {
  width: 70%;
}*/
.bholder .column__right button {
  height: 35px;
  line-height: 35px;
  font-size: 26px;
  font-weight: 600;
  color: #000;
}
button.rallyinput {
  background-color: transparent !important;
  border: 1px solid grey;
}
button.prallyinput {
  background-color: transparent !important;
  border: 1px solid grey;
}
#blank {
  background-color: transparent;
  border: solid 1px #f7f7f7;
  border-color: #ccc;
  pointer-events: none;
}
/* The math editor popups */
.rally-drop-show {
  display: none;
}
.rally-drop-show {
  position: absolute;
  bottom: 0;
  height: auto;
  width: 100%;
  z-index: 1000000;
  background-color: rgb(255, 255, 255);
  padding-top: 10px;
  box-shadow: 5px 2px 5px;
}
.rally-drop-show-inside {
  /* width: 98%; */
  width: 46%;
  margin: auto;
}
.pmqclose {
  position: relative;
  left: 642px;
}
.bholder button .icon-fraction {
  font-size: 30px;
}
button.mqtools, button.pmqtools {
  font-size: 40px;
}
button.mqtools .icon-delete {
  font-size: 32px;
}
.pmqclose.pmqclose.pmqclose {
  font-size: 22px;
}
/* ------------------------ */
@media screen and (min-width:1300px) {
  .rally-drop-show {}
  .rally-drop-show .column__left {
    width: 40%;
  }
  .rally-drop-show .column__right {
    width: 60%;
  }
  .rally-drop-show .bholder button {
    width: 22%;
  }
  .rally-drop-show .bholder .column__right button {
    width: 12%;
  }
  body.rallyDropPopup__show ul.s-quest {
    margin-bottom: 210px !important;
  }
}
/* body.rallyDropPopup__show{
  margin-top: -200px;
} */
.rally-drop-show .bholder button {
  height: 35px;
  line-height: 35px;
}
body.rallyDropPopup__show ul.s-quest {
  margin-bottom: 310px !important;
}
.pmqclose {
  position: absolute;
  left: inherit;
  right: 5px;
}
div.mtoolbutton {
  position: relative;
}
@media only screen and (min-width:768px) and (max-width:1024px) {
  .rally-drop-show .column__left {
    width: 34%;
  }
  .rally-drop-show .column__right {
    width: 65%;
  }
}
/* Desktop view SFT 01-05-2024 */
@media only screen and (min-width:655px) and (max-width:1605px) {
  .rally-drop-show-inside {
    width: 100% !important;
  }
}
/* Button width */
.rally-drop-show .bholder .column__left > button {
  width: 30%;
}
/* ================= Notes css ========================== */
.rally_custom_noted {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  border: 0;
  padding: 4px 10px;
  margin: 0;
  color: #ffffff;
  cursor: pointer;
  box-shadow: none;
}
.rally_custom_noted i {
  font-size: 26px;
  line-height: 1;
}
.rally_custom_noted span {
  font-size: 12px;
  line-height: 1;
}
.rally_custom_noted:hover, .rally_custom_noted:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.rally_custom_noted:hover i, .rally_custom_noted:hover span {
  opacity: 0.8;
}
ol#rally_quiz_start_btn .rally_review_notes_data {
  display: flex;
  flex-direction: column;
}
/* ====== Table ====== */
.rallyny_apply_filter_btn {
  border: 1px solid rgb(61, 151, 169) !important;
  color: rgb(61, 151, 169) !important;
}
.rallyny_apply_filter_btn:hover {
  background-color: rgb(61, 151, 169);
  color: #fff !important;
}
.rallyny_notes_report_wrapper {
  width: 100%;
  max-width: 90%;
  margin: 40px auto;
  /* padding: 18px 30px 25px; */
  box-sizing: border-box;
  /* border: 1px solid #222; */
  /* border-radius: 16px; */
  background: #fff;
}
.rallyny_notes_filters {
  display: grid;
  grid-template-columns:
    minmax(80px, 1.5fr) minmax(80px, 1.5fr) minmax(50px, 0.8fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 40px;
}
/* Main DataTables wrapper. */
#rallyny_notes_table_wrapper {
  width: 100%;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}
/* Length dropdown area. */
#rallyny_notes_table_wrapper .dataTables_length {
  margin-bottom: 22px;
  font-size: 15px;
  color: #222;
}
/* Length select. */
#rallyny_notes_table_wrapper .dataTables_length select {
  min-width: 75px;
  height: 38px;
  margin: 0 6px;
  padding: 4px 30px 4px 10px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #fff;
  color: #222;
  outline: none;
}
/* Table container. */
.rallyny_notes_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #333 !important;
  /* border-radius: 14px !important; */
  overflow: hidden;
  background: #fff;
  font-size: 15px;
}
/* Remove old teal header. */
.rallyny_notes_table thead th {
  padding: 14px 16px !important;
  background: #fff !important;
  color: #222 !important;
  background-color: rgb(61, 151, 169) !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid #333 !important;
  border-right: 1px solid #333 !important;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
}
/* Last heading. */
.rallyny_notes_table thead th:last-child {
  border-right: 0 !important;
}
/* Body cells. */
.rallyny_notes_table tbody td {
  padding: 13px 16px !important;
  background: #fff !important;
  color: #222;
  border-top: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid #333 !important;
  border-right: 1px solid #333 !important;
  vertical-align: middle;
}
/* Remove right border from last cell. */
.rallyny_notes_table tbody td:last-child {
  border-right: 0 !important;
}
/* Remove bottom border from last row. */
.rallyny_notes_table tbody tr:last-child td {
  border-bottom: 0 !important;
}
/* No striped backgrounds. */
.rallyny_notes_table tbody tr:nth-child(even), .rallyny_notes_table tbody tr:nth-child(odd) {
  background: #fff !important;
}
/* Row hover. */
.rallyny_notes_table tbody tr:hover td {
  background: #f8f8f8 !important;
}
/* View Notes / Edit button. */
.rallyny_notes_table .rallyny_view_notes_btn, .rallyny_notes_table .rallyny_edit_btn {
  padding: 7px 13px;
  border: 1px solid rgb(61, 151, 169) !important;
  ;
  border-radius: 7px;
  /* background: rgb(61, 151, 169) !important; */
  color: #222;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
/* Button hover. */
.rallyny_notes_table .rallyny_view_notes_btn:hover, .rallyny_notes_table .rallyny_edit_btn:hover {
  background: rgb(61, 151, 169) !important;
  ;
  color: #fff;
}
/* DataTables search box. */
#rallyny_notes_table_wrapper .dataTables_filter {
  margin-bottom: 20px;
}
/* Search input. */
#rallyny_notes_table_wrapper .dataTables_filter input {
  height: 38px;
  margin-left: 8px;
  padding: 6px 12px;
  border: 1px solid #333;
  border-radius: 8px;
  outline: none;
  background: #fff;
}
/* Table info. */
#rallyny_notes_table_wrapper .dataTables_info {
  padding-top: 18px;
  font-size: 14px;
  color: #444;
}
/* Pagination wrapper. */
#rallyny_notes_table_wrapper .dataTables_paginate {
  padding-top: 15px;
}
/* Pagination buttons. */
#rallyny_notes_table_wrapper .dataTables_paginate .paginate_button {
  min-width: 34px;
  margin: 0 3px;
  padding: 7px 11px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #222 !important;
  cursor: pointer;
}
/* Current page. */
#rallyny_notes_table_wrapper .dataTables_paginate .paginate_button.current {
  border-color: #222 !important;
  background: #222 !important;
  color: #fff !important;
}
/* Pagination hover. */
#rallyny_notes_table_wrapper .dataTables_paginate .paginate_button:hover {
  border-color: #222 !important;
  background: #222 !important;
  color: #fff !important;
}
/* Sorting icons - make them darker/subtle. */
.rallyny_notes_table thead .sorting::before, .rallyny_notes_table thead .sorting::after, .rallyny_notes_table thead .sorting_asc::before, .rallyny_notes_table thead .sorting_asc::after, .rallyny_notes_table thead .sorting_desc::before, .rallyny_notes_table thead .sorting_desc::after {
  opacity: 0.5 !important;
  color: #222 !important;
}
/* Responsive table. */
@media (max-width: 900px) {
  #rallyny_notes_table_wrapper {
    overflow-x: auto;
  }
  .rallyny_notes_table {
    min-width: 950px;
  }
}
/* Responsive. */
@media (max-width: 800px) {
  .rallyny_notes_filters {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
  }
  .rallyny_notes_table_wrapper {
    overflow-x: auto;
  }
  .rallyny_notes_table {
    min-width: 750px;
  }
}
@media (max-width: 550px) {
  .rallyny_notes_filters {
    grid-template-columns: 1fr;
  }
  .rallyny_apply_filter_btn {
    width: 100%;
  }
}
/* ========================= View Notes Popup ======================= */
/* Popup overlay. */
.rallyny_notes_popup_overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999999;
}
/* Popup. */
.rallyny_notes_popup {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
/* Close button. */
.rallyny_notes_popup_close {
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
/* Popup title. */
.rallyny_notes_popup_title {
  margin: 0 35px 25px 0;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}
/* Question section. */
.rallyny_notes_popup_question {
  margin-bottom: 25px;
}
/* Question text. */
.rallyny_notes_popup_question_text {
  margin-top: 8px;
  padding: 12px 15px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
}
/* popup title color */
.pt-instruction-popup-title {
  color: black !important;
}
/* popup reset button */
.pt-instruction-popup-reset {
  background-color: black !important;
  border-color: none !important;
  color: white !important;
}
/* popup reset button */
.pt-instruction-popup-reset:focus {
  background-color: black !important;
  border-color: 1px solid #303030 !important;
  color: white !important;
}
/* Notes content. */
.rallyny_notes_popup_note_text {
  margin-top: 8px;
  padding: 15px;
  min-height: 100px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.6;
}
/* ========================= END ================================= */
.sft-rally-ela-rich-editor-wrapper {
  width: 100%;
}
.sft-rally-ela-rich-editor-wrapper .richText-editor {
  resize: vertical !important;
  overflow: auto !important;
  min-height: 100px !important;
  max-height: 700px;
}
.bholder .saveall-btn {
  display: flex;
  gap: 3px;
  margin-top: 3px;
  padding: 4px 4px 0px 4px !important;
}
.saveall-btn img {
  filter: brightness(0) invert(1) !important;
}
.bholder .before-save-all {
  background-color: #496376 !important;
  border: 1px solid #f1f1f1;
}
/* ======================= Notes Table UI Enhancement (Satvik) ============================ */
.dataTables_length label {
  margin-top: 60px;
}
div#ny-grading-question-table_filter label {
  margin: 0 4px 4px 0 !important;
}
/* Filter adjust. */
.ny-question-table-filter:has(.nynote_all_group) div {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 262px;
  border: none;
}
.ny-question-table-filter:has(.nynote_all_group) select {
  width: 100%;
  padding: 10px 40px 10px 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 0;
  background-color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.ny-question-table-filter:has(.nynote_all_group) div::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 65%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666666;
  pointer-events: none;
}
/* Filter adjust. */
.ny-question-table-filter {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 30px;
}