@font-face {
  font-family: Cera Pro;
  font-weight: 400;
  src: url(../assets/CeraPro-6e898994.ttf)
}

@font-face {
  font-family: Cera Pro;
  font-weight: 500;
  src: url(../assets/CeraProMedium-68415c8e.otf)
}

@font-face {
  font-family: Cera Pro;
  font-weight: 600;
  src: url(../assets/CeraProBold-ca2bcc9e.otf)
}

*,
:before,
:after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb
}

html {
  line-height: 1.25;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  /* min-height: 100%;
  height: auto;
  height: 100%; */
  max-height: none;
}

body {
  margin: 0;
  line-height: inherit
}

hr {
  height: 2px;
  background-color: #000;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit
}

a {
  color: inherit;
  text-decoration: inherit
}

b,
strong {
  font-weight: bolder
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-size: 1em
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0
}

button,
select {
  text-transform: none
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none
}

:-moz-focusring {
  outline: auto
}

:-moz-ui-invalid {
  box-shadow: none
}

progress {
  vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px
}

::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

summary {
  display: list-item
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0
}

fieldset {
  margin: 0;
  padding: 0
}

legend {
  padding: 0
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0
}

textarea {
  resize: vertical
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af
}

button,
[role=button] {
  cursor: pointer
}

:disabled {
  cursor: default
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto
}

[hidden] {
  display: none
}

.mainpage {
  height: auto !important;
}

body,
html,
#root {
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  background-color: rgb(248 248 248);
  background-size: cover;
  width: 100%;
  min-height: 100%;
  height: 100% !important;
  max-height: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-weight: 500
}

h1 {
  font-size: 2.25rem;
  /*line-height: 2.5rem*/
}

h2 {
  font-size: 1.5rem;
  /*line-height: 2rem*/
}

h3 {
  font-size: 1.25rem;
  /*line-height: 1.75rem*/
}

h4 {
  font-size: 1.125rem;
  /*line-height: 1.75rem*/
}

#right-col > div {
  padding-bottom: 25px;
}

.btn-primary {
  --tw-text-opacity: 1;
  color: rgb(66 165 245 / var(--tw-text-opacity));
  background-color: #4fc3f74d
}

.btn-primary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(66 165 245 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(248 248 248 / var(--tw-text-opacity))
}

.btn-secondary {
  --tw-text-opacity: 1;
  color: rgb(248 248 248 / var(--tw-text-opacity));
  background-color: rgb(66 165 245 / var(--tw-text-opacity)); /*55ad95*/
}

.btn-secondary:hover {
  --tw-bg-opacity: 1;
  background-color: #42a2f5;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity))
}

#left-col {
  flex: 1;
  width: 20%;
  position: relative;
  overflow-y: scroll;
  word-break: break-word;
}

#right-wrapper {
  flex: 4;
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 100%;
}

#upper-right-col {
  flex: 1;
  /*overflow: hidden;*/
  word-break: break-word;
}

#right-col {
  flex: 9;
  /*height: 90%;
  width: 80%;*/
  overflow-y: auto;
  word-break: break-word;
}

.toolbar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.selectables {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 480px) {
  .selectables {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
}

select {
  min-width: 60px;
}

#subtopic-select {
  min-width: 300px;
  max-width: 600px;
  height: auto;
}

#topic-select {
  max-width: 100px;
}

#topic-list, .topic-label {
  display: block;
}

#topic-list label {
  padding-bottom: 0.5rem;
}

#appContainer{
  display: flex;
  height: 100%;
  position: relative;
}

#markscheme, #report, #modal {
  z-index: 9999;
}

#markscheme-box, #report-box{
  min-height: 100%;
  overflow-y: scroll;
}

.square-container {
  display: flex;
  flex-direction: column;
  /* min-height: 100%;
  height: 100%;
  max-height: none; */
  width: auto;
  background-color: #ffffff;
  align-items: left;
  margin: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 0;
  overflow: scroll; 
}

.specification {
  display: grid;
  align-items: flex-start;
  gap: 1em;
  margin: 10px;
}

.question, .t_qn_question_content, .card-body {
  display: flex;
  /*flex-direction: column;*/
  max-width: 100%;
  flex-wrap: wrap;
  gap: 1em;
  margin: 10px;
  box-sizing: border-box;
}

.marks {
  order: 1;
  margin-left: auto;
}
.question_part_label {
  order: -1;
}

.dark-mode {
  filter: invert(100%);
}

.btn-primary {
  font-weight: 500;
  border-radius: .25rem;
  padding: .25rem;
  -webkit-padding-end: .5rem;
  padding-inline-end: .5rem;
  -webkit-padding-start: .5rem;
  padding-inline-start: .5rem
}

.btn-secondary {
  font-weight: 500;
  border-radius: .25rem;
  padding: .25rem;
  -webkit-padding-end: .5rem;
  padding-inline-end: .5rem;
  -webkit-padding-start: .5rem;
  padding-inline-start: .5rem
}

.fixed {
  position: fixed
}

.left-0 {
  left: 0px
}

.right-0 {
  right: 0px
}

.top-0 {
  top: 0px
}

.m-0 {
  margin: 0
}

.me-2 {
  -webkit-margin-end: .5rem;
  margin-inline-end: .5rem
}

.me-auto {
  -webkit-margin-end: auto;
  margin-inline-end: auto
}

.ms-2 {
  -webkit-margin-start: .5rem;
  margin-inline-start: .5rem
}

.ms-auto {
  -webkit-margin-start: auto;
  margin-inline-start: auto
}

.mt-16 {
  margin-top: 4rem
}

.mt-2 {
  margin-top: .5rem
}

.mt-32 {
  margin-top: 8rem
}

.mt-4 {
  margin-top: 1rem
}

.flex {
  display: flex
}

.hidden {
  display: none
}

.h-full {
  height: 100%;
  max-height: none;
  min-height: 100%;
}

.w-1\/5 {
  width: 20%
}

.w-4\/5 {
  width: 80%
}

.w-full {
  width: 100%
}

.shrink {
  flex-shrink: 1
}

.flex-grow,
.grow {
  flex-grow: 1
}

.basis-0 {
  flex-basis: 0px
}

.cursor-pointer {
  cursor: pointer
}

.flex-col {
  flex-direction: column
}

.items-start {
  align-items: flex-start
}

.items-center {
  align-items: center
}

.justify-center {
  justify-content: center
}

.justify-between {
  justify-content: space-between
}

.justify-evenly {
  justify-content: space-evenly
}

.overflow-auto {
  overflow: auto
}

.rounded {
  border-radius: .25rem
}

.rounded-full {
  border-radius: 9999px
}

.border {
  border-width: 1px
}

.bg-black\/70 {
  background-color: #000000b3
}

.bg-gray-100 {
  background-color: rgb(248 248 248)
}

.bg-gray-400\/30 {
  background-color: #9ca3af4d
}

.bg-red-300\/30 {
  background-color: #fca5a54d
}

.bg-secondary\/30 {
  background-color: #4fc3f74d
}

.bg-white {
  background-color: rgb(255 255 255)
}

.p-0 {
  padding: 0
}

.p-2 {
  padding: .5rem
}

.p-3 {
  padding: .75rem
}

.p-4 {
  padding: 1rem
}

.pt-3 {
  padding-top: .75rem
}

.pt-5 {
  padding-top: 1.25rem
}

.text-center {
  text-align: center
}

.font-sans {
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif
}

.font-serif {
  font-family: Times New Roman, Times, ui-serif, Georgia, Cambria, serif
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem
}

.font-medium {
  font-weight: 500
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity))
}

.text-neutralVariant {
  --tw-text-opacity: 1;
  color: rgb(178 186 187 / var(--tw-text-opacity))
}

.text-primary {
  --tw-text-opacity: 1;
  color: rgb(66 165 245 / var(--tw-text-opacity))
}

.text-secondary {
  --tw-text-opacity: 1;
  color: rgb(79 195 247 / var(--tw-text-opacity))
}

@media (min-width: 768px) {
  .md\:h-3\/4 {
    height: 75%
  }

  .md\:w-1\/2 {
    width: 50%
  }

  .md\:w-3\/4 {
    width: 75%
  }
}

#landingPage {
  max-width: 1200px
}

:root {
  --choices-primary-color: rgb(66, 165, 245);
  --choices-primary-dark: #42a2f5;
  --choices-bg-color: #ffffff;
  --choices-bg-color-disabled: #eaeaea;
  --choices-bg-color-dropdown: #ffffff;
  --choices-text-color: #333333;
  --choices-keyline-color: #ccc;
  --choices-highlighted-color: rgba(66, 165, 245, 0.1);
  --choices-disabled-color: #eaeaea;
  --choices-item-disabled-color: #fff;
}

.choices {
  position: relative;
  overflow: visible;
  margin-bottom: 0;
  font-size: 14px;
  min-width: 600px;
  max-width: 1200px;
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  background-color: transparent;
}

.choices:focus {
  outline: 0;
}

.choices:last-child {
  margin-bottom: 0;
}

.choices.is-open {
  overflow: visible;
}

.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input {
  background-color: #eaeaea;
  cursor: not-allowed;
  -webkit-user-select: none;
  user-select: none;
}

.choices.is-disabled .choices__item {
  cursor: not-allowed;
}

.choices [hidden] {
  display: none !important;
}

.choices[data-type*=select-one] {
  cursor: pointer;
}

.choices[data-type*=select-one] .choices__inner {
  padding-bottom: 7.5px;
}

.choices[data-type*=select-one] .choices__input {
  display: block;
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  background-color: #ffffff;
  margin: 0;
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
}

.choices[data-type*=select-one] .choices__button {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
  padding: 0;
  background-size: 8px;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -10px;
  margin-right: 25px;
  height: 20px;
  width: 20px;
  border-radius: 10em;
  opacity: .25;
}

.choices[data-type*=select-one] .choices__button:hover,
.choices[data-type*=select-one] .choices__button:focus {
  opacity: 1;
}

.choices[data-type*=select-one] .choices__button:focus {
  box-shadow: 0 0 0 2px var(--choices-primary-color);
}

.choices[data-type*=select-one] .choices__item[data-placeholder] .choices__button {
  display: none;
}

.choices[data-type*=select-one]::after {
  content: "";
  height: 0;
  width: 0;
  border-style: solid;
  border-color: #333 transparent transparent;
  border-width: 5px;
  position: absolute;
  right: 11.5px;
  top: 50%;
  margin-top: -2.5px;
  pointer-events: none;
}

.choices[data-type*=select-one].is-open::after {
  border-color: transparent transparent #333;
  margin-top: -7.5px;
}

.choices[data-type*=select-multiple] .choices__inner,
.choices[data-type*=text] .choices__inner {
  cursor: text;
}

.choices[data-type*=select-multiple] .choices__button,
.choices[data-type*=text] .choices__button {
  position: relative;
  display: inline-block;
  margin: 0 -4px 0 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
  background-size: 8px;
  width: 8px;
  line-height: 1;
  opacity: .75;
  border-radius: 0;
}

.choices[data-type*=select-multiple] .choices__button:hover,
.choices[data-type*=select-multiple] .choices__button:focus,
.choices[data-type*=text] .choices__button:hover,
.choices[data-type*=text] .choices__button:focus {
  opacity: 1;
}

.choices__inner {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  background-color: #ffffff;
  padding: 5px 7.5px 0px 7.5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  min-height: 36px;
  max-height: 80px;
  overflow-y: auto;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.is-focused .choices__inner,
.is-open .choices__inner {
  border-color: var(--choices-primary-color);
  box-shadow: 0 0 0 0.2rem rgba(66, 165, 245, 0.25);
}

.is-open .choices__inner {
  border-radius: 4px 4px 0 0;
}

.is-flipped.is-open .choices__inner {
  border-radius: 0 0 4px 4px;
}

.choices__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.choices__list--single {
  display: inline-block;
  padding: 4px 16px 4px 4px;
  width: 100%;
}

.choices__list--single .choices__item {
  width: 100%;
}

.choices__list--multiple {
  display: inline;
}

.choices__list--multiple .choices__item {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  margin-right: 3px;
  margin-bottom: 3px;
  background-color: rgb(66, 165, 245);
  border: 1px solid rgb(66, 165, 245);
  color: #ffffff;
  word-break: break-all;
  box-sizing: border-box;
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  line-height: 1.2;
}

.choices__list--multiple .choices__item[data-deletable] {
  padding-right: 5px;
}

.choices__list--multiple .choices__item.is-highlighted {
  background-color: #42a2f5;
  border: 1px solid #42a2f5;
}

.is-disabled .choices__list--multiple .choices__item {
  background-color: #aaa;
  border: 1px solid #919191;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  display: none;
  z-index: 1000;
  position: absolute;
  width: auto;
  min-width: 100%;
  max-width: 1500px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-top: none;
  top: 100%;
  margin-top: -1px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
  word-break: break-all;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.choices__list--dropdown .choices__list,
.choices__list[aria-expanded] .choices__list {
  position: relative;
  max-height: 250px;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  background-color: #ffffff;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
  position: relative;
  padding: 8px 12px;
  font-size: 13px;
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.choices__list--dropdown .choices__item:last-child,
.choices__list[aria-expanded] .choices__item:last-child {
  border-bottom: none;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: rgba(66, 165, 245, 0.1) !important;
  color: #333333;
}

.choices__list--dropdown .choices__item--selectable[aria-selected="true"],
.choices__list[aria-expanded] .choices__item--selectable[aria-selected="true"] {
  background-color: rgba(66, 165, 245, 0.2);
  font-weight: 500;
}

.choices__list--dropdown .choices__item--selectable:after,
.choices__list[aria-expanded] .choices__item--selectable:after {
  display: none !important;
}

.is-active.choices__list--dropdown,
.is-active.choices__list[aria-expanded] {
  display: block;
}

.is-open .choices__list--dropdown,
.is-open .choices__list[aria-expanded] {
  border-color: #ccc;
}

.is-flipped .choices__list--dropdown,
.is-flipped .choices__list[aria-expanded] {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: -1px;
  border-radius: 4px 4px 0 0;
  border-top: 1px solid #ccc;
  border-bottom: none;
}

.choices__item {
  cursor: default;
}

.choices__item--selectable {
  cursor: pointer;
}

.choices__item--disabled {
  cursor: not-allowed;
  -webkit-user-select: none;
  user-select: none;
  opacity: .5;
}

.choices__heading {
  font-weight: 600;
  font-size: 12px;
  padding: 8px 10px;
  border-bottom: 1px solid #f7f7f7;
  color: gray;
  background-color: #f9f9f9;
}

.choices__button {
  text-indent: -9999px;
  appearance: none;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.choices__button:focus {
  outline: 0;
}

.choices__input {
  display: inline-block;
  vertical-align: baseline;
  background-color: #ffffff;
  font-size: 13px;
  margin-bottom: 3px;
  border: 0;
  border-radius: 0;
  max-width: 100%;
  padding: 2px 0 2px 2px;
  font-family: Cera Pro, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  color: #333333;
}

.choices__input:focus {
  outline: 0;
}

.choices__input::placeholder {
  color: #999999;
}

.choices__input::-webkit-search-cancel-button,
.choices__input::-webkit-search-decoration,
.choices__input::-webkit-search-results-button,
.choices__input::-webkit-search-results-decoration {
  display: none;
}

.choices__input::-ms-clear,
.choices__input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.choices__placeholder {
  opacity: .5;
  color: #999999;
}

@media (max-width: 480px) {
  .choices {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  
  .choices__list--dropdown,
  .choices__list[aria-expanded] {
    max-width: 100%;
  }
}