* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

button,
input[type=submit] {
  border: none;
  outline: none;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}

.app {
  overflow-x: hidden;
}

.header-spacing {
  margin-top: 8rem;
}

/*
  Margin
*/
.mt-spaced {
  margin-top: 3.5rem;
}

.mt-default {
  margin-top: 2rem;
}

.mt-half {
  margin-top: 1rem;
}

.mt-quarter {
  margin-top: 0.5rem;
}

.mb-spaced {
  margin-bottom: 3.5rem;
}

.mb-default {
  margin-bottom: 2rem;
}

.mb-half {
  margin-bottom: 1rem;
}

.mb-quarter {
  margin-bottom: 0.5rem;
}

.mr-default {
  margin-right: 2rem;
}

.mr-half {
  margin-right: 1rem;
}

.mr-quarter {
  margin-right: 0.5rem;
}

.ml-default {
  margin-left: 2rem;
}

.ml-half {
  margin-left: 1rem;
}

.ml-quarter {
  margin-left: 0.5rem;
}

.my-default {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.my-half {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-quarter {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mx-default {
  margin-left: 2rem;
  margin-right: 2rem;
}

.mx-half {
  margin-left: 1rem;
  margin-right: 1rem;
}

.mx-quarter {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-center {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

/*
  Padding
*/
.pt-default {
  padding-top: 2rem;
}

.pt-half {
  padding-top: 1rem;
}

.pt-quarter {
  padding-top: 0.5rem;
}

.pb-default {
  padding-bottom: 2rem;
}

.pb-half {
  padding-bottom: 1rem;
}

.pb-quarter {
  padding-bottom: 0.5rem;
}

.pr-default {
  padding-right: 2rem;
}

.pr-half {
  padding-right: 1rem;
}

.pr-quarter {
  padding-right: 0.5rem;
}

.pl-default {
  padding-left: 2rem;
}

.pl-half {
  padding-left: 1rem;
}

.pl-quarter {
  padding-left: 0.5rem;
}

.py-default {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-half {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-quarter {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.px-default {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-half {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-quarter {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Font Sizes */
html {
  font-size: 62.5%;
  color: #4b4f4a;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
}

input,
textarea,
ul,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Heading and body styles */
.main-heading {
  display: block;
  font-size: 3.4rem;
}

.sub-heading {
  font-size: 2rem;
}

.body {
  font-size: 1.8rem;
}

.center-text {
  text-align: center;
}

.bold {
  font-weight: bold;
}

.capitalise {
  text-transform: capitalize;
}

.font-green {
  color: #6bc637;
}

.font-grey {
  color: #4b4f4a;
}

.font-white {
  color: #fff;
}

.font-red {
  color: #fc3f3f;
}

.btn {
  display: inline-block;
  border-radius: 0.4rem;
  padding: 1rem 2rem;
  transition: all ease-in 0.15s;
}

.btn-sml {
  padding: 0.5rem 1rem;
}

.btn-block {
  display: block;
}

.btn-green {
  color: #fff;
  background: #6bc637;
}
.btn-green:hover {
  background: #448023;
}

.btn-red {
  color: #fff;
  background: #fc3f3f;
}
.btn-red:hover {
  background: #c93232;
}

.alt-btn {
  background: none;
  border-width: 1px;
  border-style: solid;
}

.alt-btn-green {
  border-color: #6bc637;
  color: #6bc637;
}
.alt-btn-green:hover {
  background: #6bc637;
  color: #fff;
}

.card {
  margin-bottom: 3.5rem;
  padding: 1rem;
  border-radius: 0.4rem;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}
.card button {
  width: 100%;
}

@media (min-width: 769px) {
  .card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: stretch;
  }
  .card-wrapper h1 {
    width: 80%;
    text-align: left;
  }
  .card {
    width: 80%;
  }
  .card button {
    width: auto;
  }
}
.category-modal-wrapper {
  max-width: 100%;
}
.category-modal-wrapper .category-input-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}
.category-modal-wrapper .category-input-wrapper label {
  display: none;
  margin-right: 10px;
}
@media (min-width: 1024px) {
  .category-modal-wrapper .category-input-wrapper label {
    display: block;
  }
}
.category-modal-wrapper .category-input-wrapper .input {
  flex: 1 1 auto;
}
.category-modal-wrapper .category-input-wrapper .btn {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.category-modal-wrapper ul {
  max-height: 40vh;
  overflow-y: scroll;
  list-style: none;
}
.category-modal-wrapper ul .category-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  flex-wrap: nowrap;
}
.category-modal-wrapper ul .category-item .btn-wrapper {
  white-space: nowrap;
}
.category-modal-wrapper ul .category-item .btn {
  width: 4rem;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
}

@media (max-width: 1170px) {
  .container {
    padding: 0 2rem;
  }
}
/* class applies to select element itself, not a wrapper element */
.custom-dropdown {
  display: block;
  color: #4b4f4a;
  line-height: 1.3;
  padding: 0.5rem 1rem;
  width: 100%;
  max-width: 100%; /* useful when width is set to anything other than 100% */
  margin: 0;
  border: none;
  border-bottom: 1px solid #6bc637;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  /* note: bg image below uses 2 urls. The first is an svg data uri for the arrow icon, and the second is the gradient. 
  	for the icon, if you want to change the color, be sure to use `%23` instead of `#`, since it's a url. You can also swap in a different svg icon or an external image reference

  */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236bc637%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(to bottom, #fff 0%, #fff 100%);
  background-repeat: no-repeat, repeat;
  /* arrow icon position (1em from the right, 50% vertical) , then gradient position*/
  background-position: right 0.7em top 50%, 0 0;
  /* icon size, then gradient */
  background-size: 0.65em auto, 100%;
}

/* Hide arrow icon in IE browsers */
.custom-dropdown::-ms-expand {
  display: none;
}

/* Hover style */
.custom-dropdown:hover {
  border-color: #56a02c;
}

/* Focus style */
.custom-dropdown:focus {
  /* It'd be nice to use -webkit-focus-ring-color here but it doesn't work on box-shadow */
  border-radius: 0.2rem;
  box-shadow: 0 0 1px 3px rgba(107, 198, 55, 0.7);
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #4b4f4a;
  outline: none;
}

/* Set options to normal weight */
.custom-dropdown option {
  font-weight: normal;
}

/* Support for rtl text, explicit support for Arabic and Hebrew */
*[dir=rtl] .custom-dropdown,
:root:lang(ar) .custom-dropdown,
:root:lang(iw) .custom-dropdown {
  background-position: left 0.7em top 50%, 0 0;
  padding: 0.6em 0.8em 0.5em 1.4em;
}

/* Disabled styles */
.custom-dropdown:disabled,
.custom-dropdown[aria-disabled=true] {
  color: #888e94;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
}

.custom-dropdown:disabled:hover,
.custom-dropdown[aria-disabled=true] {
  border-color: #aaa;
}

#fab {
  position: fixed;
  bottom: 0%;
  right: 2rem;
  height: 5rem;
  width: 5rem;
  border-radius: 50%;
  background: #6bc637;
  z-index: 5;
}
#fab > i {
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
}
#fab i {
  color: #fff;
  text-align: center;
}
#fab .actions-wrapper {
  position: absolute;
  bottom: 3rem;
  left: 0.5rem;
  width: -moz-max-content;
  width: max-content;
  text-align: right;
  padding-bottom: 2rem;
}
#fab .actions-wrapper .action-wrapper {
  position: relative;
  margin-bottom: 1rem;
  cursor: pointer;
}
#fab .actions-wrapper p {
  position: absolute;
  right: 100%;
  top: 0.55rem;
  display: inline-block;
  background: #fff;
  color: #6bc637;
  margin-right: 1rem;
  padding: 0.5rem;
  white-space: nowrap;
  border-radius: 0.2rem;
  box-shadow: 0 0 0.2rem rgba(51, 51, 51, 0.4), 0.1rem 0.1rem 0.3rem rgba(51, 51, 51, 0.5);
}
#fab .actions-wrapper .action {
  display: inline-block;
  width: 4rem;
  height: 4rem;
  background: #56a02c;
  border-radius: 50%;
  text-align: center;
}
#fab .actions-wrapper .action i {
  line-height: 4rem;
}
#fab .actions-wrapper .action:hover {
  background: #448023;
}
#fab .action-wrapper,
#fab .action,
#fab p {
  transition: all 0.4s ease-out;
}
#fab .action-wrapper {
  transform: translateY(3rem);
}
#fab .action {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
}
#fab p {
  opacity: 0;
  transform: scale(0);
}
#fab:hover .action-wrapper {
  transform: translateY(0);
}
#fab:hover .action {
  opacity: 1;
  transform: scale(1);
}
#fab:hover p {
  opacity: 1;
  transform: scale(1);
}

.file-upload-row {
  margin-bottom: 1.25rem;
}
.file-upload-row .del-btn {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.file-upload-row .del-btn i {
  margin-right: 1rem;
  font-size: 1.6rem;
}
.file-upload-row .del-btn,
.file-upload-row .upload-btn-wrapper {
  width: 100%;
  margin-right: 0;
  cursor: pointer;
}
.file-upload-row .file-info {
  width: 100%;
  text-align: center;
}
@media (min-width: 1024px) {
  .file-upload-row {
    display: flex;
    align-items: center;
    min-width: 61rem;
  }
  .file-upload-row .del-btn,
  .file-upload-row .upload-btn-wrapper {
    display: inline-table;
    width: auto;
    margin-right: 1rem;
    margin-bottom: 0rem;
  }
  .file-upload-row .file-info {
    display: inline-block;
    width: auto;
  }
}

.upload-btn-wrapper {
  display: table;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  margin-right: 2rem;
}
.upload-btn-wrapper button {
  display: inline-flex;
  align-items: center;
  width: 100%;
  border: none;
  font-size: 1.6rem;
}
.upload-btn-wrapper button i {
  margin-right: 1rem;
  font-size: 1.8rem;
}
.upload-btn-wrapper button:focus {
  outline: none;
}
.upload-btn-wrapper input#file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}
.upload-btn-wrapper:hover button {
  background: #56a02c;
}

.file-info-error {
  color: #fc3f3f;
}

.file-upload-reset {
  margin-right: 1rem;
  font-size: 2.1rem;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
}
.file-upload-reset:hover {
  color: #26282a;
}

.modal {
  position: fixed;
  z-index: 15;
  max-width: calc(100% - 4rem);
  width: calc(100% - 4rem);
  top: 50%;
  left: 50%;
  background: white;
  box-shadow: 0 0 0.5rem rgba(51, 51, 51, 0.4), 0.15rem 0.15rem 0.5rem rgba(51, 51, 51, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  transition: all ease-out 0.2s;
}
.modal,
.modal .modal-header {
  border-radius: 0.8rem;
}
.modal .modal-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  width: 100%;
  background: #6bc637;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: #fff;
  box-shadow: 0rem 0.15rem 0.15rem rgba(51, 51, 51, 0.4);
}
.modal .modal-header button {
  background: none;
  color: #fc3f3f;
  font-size: 2rem;
}
.modal.modal-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

@media (min-width: 769px) {
  .modal {
    width: auto;
  }
}
.question .question-info-wrapper {
  display: flex;
  flex-wrap: wrap;
}
.question .question-info-wrapper .exams {
  width: 100%;
}

@media (min-width: 769px) {
  .question .answer-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
  }
  .question .answer-wrapper p {
    margin-bottom: 0;
  }
  .question .question-info-wrapper .exams {
    width: auto;
    margin-top: 0;
  }
}
.question-modal-wrapper {
  max-height: 80vh;
  overflow-y: auto;
}
.question-modal-wrapper textarea {
  height: 10rem;
}
.question-modal-wrapper .form-row {
  margin-bottom: 1rem;
}
.question-modal-wrapper .form-row:nth-last-of-type(1) {
  margin-bottom: 0;
}
.question-modal-wrapper .form-row button {
  width: 100%;
}
.question-modal-wrapper .category-dropdown-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

@media (min-width: 769px) {
  .question-modal-wrapper {
    width: 80rem;
  }
  .question-modal-wrapper .form-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: stretch;
  }
  .question-modal-wrapper .form-row input[type=submit],
  .question-modal-wrapper .form-row button {
    width: -moz-fit-content;
    width: fit-content;
  }
  .question-modal-wrapper .form-row input[type=submit] {
    margin-right: 2rem;
    margin-bottom: 0;
  }
  .question-modal-wrapper .exams-radio-outer-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
  }
  .question-modal-wrapper .exams-radio-outer-wrapper label:nth-child(1) {
    margin-left: 0;
  }
  .question-modal-wrapper .exams-radio-outer-wrapper p {
    margin-bottom: 0;
    margin-right: 0;
  }
  .question-modal-wrapper .radio-wrapper {
    flex-wrap: nowrap;
    margin-bottom: 0;
    margin-left: 0;
  }
  .question-modal-wrapper .radio-wrapper .radio-input-wrapper {
    width: auto;
    margin-bottom: 0;
  }
}
#search {
  justify-self: center;
}
#search button {
  background: none;
  outline: none;
  border: none;
}
#search button i {
  color: #fff;
  font-size: 3rem;
}
#search .search-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: stretch;
  position: absolute;
  left: -2rem;
  top: 100%;
  width: 100vw;
  background: #fff;
  border: 0.2rem solid #6bc637;
  border-top: none;
  padding: 1rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.2s ease-out;
}
#search .search-wrapper.show-search {
  transform: scaleY(1);
}
#search .search-wrapper .input-wrapper {
  width: 100%;
}
#search .search-wrapper .input-wrapper input {
  width: 100%;
  border: none;
  color: #4b4f4a;
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-bottom: 0.1rem solid rgba(136, 142, 148, 0.6);
}
#search .search-wrapper .input-wrapper input:focus {
  outline: none;
}
#search .search-wrapper button i {
  display: inline-block;
  color: #fc3f3f;
}
#search .category-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

@media (min-width: 769px) {
  #search button i {
    font-size: 2.1rem;
  }
  #search .search-wrapper {
    width: 80%;
    left: 10%;
  }
}
#alerts {
  position: fixed;
  top: 6rem;
  z-index: 16;
  width: 100%;
}

.alert {
  width: 100%;
  border-radius: 0.3rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
  transform-origin: top;
  max-height: -moz-fit-content;
  max-height: fit-content;
  transition: all linear 0.6s;
  animation: alert-in-out 3s linear forwards;
}
.alert .alert-timer {
  height: 0.6rem;
  width: 100%;
  transform-origin: right;
  animation: alert-timer 1.8s linear 0.6s forwards;
}

.alert-success {
  background: #88d15f;
}
.alert-success .alert-timer {
  background: #56a02c;
}

.alert-warning {
  background: #ffa566;
}
.alert-warning .alert-timer {
  background: #e58039;
}

.alert-error {
  background: #fc6565;
}
.alert-error .alert-timer {
  background: #c93232;
}

@media (min-width: 769px) {
  #alerts {
    left: 50%;
    transform: translateX(-50%);
  }
  #alerts .alert {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
  }
}
@keyframes alert-in-out {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  20% {
    transform: scaleY(1);
    opacity: 1;
  }
  80% {
    transform: scaleY(1);
    opacity: 1;
  }
  to {
    transform: scaleY(0);
    opacity: 0;
  }
}
@keyframes alert-timer {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
.radio-input-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  color: #888e94;
  margin-left: 1rem;
  cursor: pointer;
}
.radio-input-wrapper input[type=radio],
.radio-input-wrapper input[type=checkbox] {
  display: none;
}
.radio-input-wrapper input[type=radio]:checked + .radio-check::before,
.radio-input-wrapper input[type=checkbox]:checked + .radio-check::before {
  transform: translate(-50%, -50%) scale(1);
}
.radio-input-wrapper .radio-check {
  display: inline-block;
  position: relative;
  z-index: -1;
  height: 2rem;
  width: 2rem;
  vertical-align: middle;
  margin-right: 0.4rem;
  border: 2px solid #888e94;
  border-radius: 50%;
}
.radio-input-wrapper .radio-check::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1rem;
  width: 1rem;
  background: #6bc637;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  transition: all 0.15s ease-out;
}
.radio-input-wrapper.form-error .radio-check {
  border-color: #fc3f3f;
}

.exams-radio-outer-wrapper p {
  margin-bottom: 1rem;
}

.radio-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-bottom: 5px;
}
.radio-wrapper .radio-input-wrapper {
  margin: 0 0 10px 15px;
  width: calc(50% - 15px);
}

@media (min-width: 769px) {
  .exams-radio-outer-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
  }
  .exams-radio-outer-wrapper label:nth-child(1) {
    margin-left: 0;
  }
  .exams-radio-outer-wrapper p {
    margin-bottom: 0;
    margin-right: 0;
  }
  .radio-wrapper {
    flex-wrap: nowrap;
    margin-bottom: 0;
    margin-left: 0;
  }
  .radio-wrapper .radio-input-wrapper {
    width: auto;
    margin-bottom: 0;
  }
}
.form-submit-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

.form-submit-row {
  width: 100%;
}
.form-submit-row input,
.form-submit-row textarea,
.form-submit-row a,
.form-submit-row button {
  width: 100%;
}
@media (min-width: 1024px) {
  .form-submit-row .form-input-50 {
    width: calc(50% - 5px);
  }
  .form-submit-row .form-input-50:first-child {
    margin-right: 10px;
  }
}

@media (max-width: 1024px) {
  .form-submit-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  .form-submit-row input:first-child,
  .form-submit-row button:first-child {
    margin-bottom: 1rem;
  }
}

.image-preview {
  display: block;
  max-width: 500px;
  max-height: 500px;
  margin-left: auto;
  margin-right: auto;
}

textarea {
  max-width: 100%;
}

.form-row input,
.form-row textarea {
  width: 100%;
}

.form-submit-row button {
  width: 100%;
}

.form-submit-row-50 button {
  width: 100%;
}
.form-submit-row-50 button:nth-child(1) {
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .form-submit-row-50 {
    display: flex;
    justify-content: center;
  }
  .form-submit-row-50 button {
    width: calc(50% - 10px);
  }
  .form-submit-row-50 button:nth-child(1) {
    margin-bottom: 0;
  }
  .form-submit-row-50 button:nth-child(2) {
    margin-left: 20px;
  }
}

.form-group {
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #6bc637;
  font-weight: bold;
}
.form-label.exams-form-label {
  margin-bottom: 1rem;
}
.form-label-hidden {
  display: none;
}

.form-label-required {
  margin-left: 0.5rem;
  color: #fc3f3f;
  font-weight: bold;
}

.input {
  display: block;
  position: relative;
  border: none;
  color: #4b4f4a;
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-bottom: 0.1rem solid rgba(136, 142, 148, 0.6);
  transition: all ease-out 0.2s;
}
.input:focus {
  outline: none;
  border-color: #6bc637;
}
.input.form-invalid {
  border-color: #fc3f3f;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100vw;
  background: #6bc637;
  box-shadow: 0.2rem 0 0.3rem rgba(51, 51, 51, 0.4);
}
nav .container {
  height: 100%;
}
nav .nav-wrapper {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
}
nav .nav-wrapper .nav-brand {
  height: 6rem;
}
nav .nav-wrapper .nav-brand .nav-brand-img {
  display: block;
  height: 100%;
}
nav .nav-wrapper .nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  padding: 5rem 2.5rem 3.5rem;
  transition: all 0.25s ease-out;
  transform-origin: top;
}
nav .nav-wrapper .nav-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  background: #6bc637;
  transform: translateX(-50%);
}
nav .nav-wrapper .nav-links .nav-link {
  flex-grow: 1;
  display: flex;
  position: relative;
  align-items: center;
  margin-bottom: 3rem;
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  transition: color 0.25s ease-out;
}
nav .nav-wrapper .nav-links .nav-link::before {
  content: "";
  z-index: -1;
  position: absolute;
  left: 50%;
  top: 50%;
  height: 4rem;
  width: 15rem;
  background: #fff;
  border-radius: 0.5rem;
  transform: translate(-50%, -50%) scaleY(0);
  transform-origin: center;
  transition: all 0.25s ease-out;
}
nav .nav-wrapper .nav-links .nav-link i {
  margin-right: 0.8rem;
  font-size: 2.1rem;
}
nav .nav-wrapper .nav-links .nav-link:last-of-type {
  margin-bottom: 0;
}
nav .nav-wrapper .nav-links .nav-link:hover {
  color: #6bc637;
}
nav .nav-wrapper .nav-links .nav-link:hover::before {
  transform: translate(-50%, -50%) scaleY(1);
}
nav .nav-wrapper .nav-links .nav-link.nav-link-active {
  color: #6bc637;
}
nav .nav-wrapper .nav-links .nav-link.nav-link-active::before {
  transform: translate(-50%, -50%) scaleY(1);
}
nav .nav-wrapper .nav-links .nav-link.nav-link-active:hover::before {
  background: #f2f2f2;
}
nav .nav-wrapper.nav-hidden .nav-links {
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
}
nav .nav-wrapper.nav-hidden .nav-links .nav-link::before {
  opacity: 0;
}
nav .nav-wrapper .login-link {
  grid-column: span 2;
  justify-self: end;
  margin-left: auto;
  color: #fff;
  font-size: 1.8rem;
}
nav .nav-wrapper .login-link i {
  font-size: 2.8rem;
}
nav .nav-wrapper .login-link span {
  display: none;
}
nav .nav-wrapper .burger {
  display: block;
  height: -moz-fit-content;
  height: fit-content;
  justify-self: flex-end;
}
nav .nav-wrapper .burger.no-search {
  grid-column: span 2;
}
nav .nav-wrapper .burger .burger-bar {
  width: 4.5rem;
  height: 0.4rem;
  background: #fff;
  border-radius: 0.2rem;
  transition: all 0.3s ease-out;
  transform-origin: center;
}
nav .nav-wrapper .burger .burger-bar:nth-of-type(1) {
  transform: translateY(-0.8rem);
}
nav .nav-wrapper .burger .burger-bar:nth-of-type(3) {
  transform: translateY(0.8rem);
}

@media (min-width: 769px) {
  nav .nav-wrapper {
    display: flex;
    padding: 0.2rem 0;
  }
  nav .nav-wrapper.nav-hidden .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  nav .nav-wrapper.nav-hidden .nav-links .nav-link::before {
    opacity: 1;
  }
  nav .nav-wrapper .nav-links {
    display: flex;
    position: relative;
    flex-direction: row;
    flex-grow: 2;
    padding: 0 7.5rem;
  }
  nav .nav-wrapper .nav-links::before {
    content: none;
  }
  nav .nav-wrapper .nav-links .nav-link {
    flex-grow: 0;
    margin-bottom: 0;
    margin-right: 7rem;
  }
  nav .nav-wrapper .nav-links .nav-link:last-of-type {
    margin-right: 0;
  }
  nav .nav-wrapper .login-link {
    display: flex;
    align-items: center;
    margin-left: 3.5rem;
  }
  nav .nav-wrapper .login-link.no-search {
    margin-left: auto;
  }
  nav .nav-wrapper .login-link i {
    font-size: 2.1rem;
  }
  nav .nav-wrapper .login-link span {
    display: inline-block;
  }
  nav .nav-wrapper .login-link i,
  nav .nav-wrapper .login-link span {
    vertical-align: middle;
  }
  nav .nav-wrapper .burger {
    display: none;
  }
}
.burger-menu-opening .burger-bar:nth-of-type(1) {
  animation: menu-opening-top 0.5s forwards;
  animation-fill-mode: forwards;
}
.burger-menu-opening .burger-bar:nth-of-type(2) {
  animation: menu-opening-middle 0.5s;
  animation-fill-mode: forwards;
}
.burger-menu-opening .burger-bar:nth-of-type(3) {
  animation: menu-opening-bottom 0.5s;
  animation-fill-mode: forwards;
}

.burger-menu-closing .burger-bar:nth-of-type(1) {
  animation: menu-closing-top 0.5s forwards;
  animation-fill-mode: forwards;
}
.burger-menu-closing .burger-bar:nth-of-type(2) {
  animation: menu-closing-middle 0.5s forwards;
  animation-fill-mode: forwards;
}
.burger-menu-closing .burger-bar:nth-of-type(3) {
  animation: menu-closing-bottom 0.5s forwards;
  animation-fill-mode: forwards;
}

@keyframes menu-opening-top {
  0% {
    transform: translateY(-0.8rem);
  }
  50% {
    transform: translateY(0.4rem);
  }
  100% {
    transform: translateY(0.4rem) rotate(-45deg);
  }
}
@keyframes menu-closing-top {
  0% {
    transform: translateY(0.4rem) rotate(-45deg);
  }
  50% {
    transform: translateY(0.4rem);
  }
  100% {
    transform: translateY(-0.8rem);
  }
}
@keyframes menu-opening-middle {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes menu-closing-middle {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
@keyframes menu-opening-bottom {
  0% {
    transform: translateY(0.8rem);
  }
  50% {
    transform: translateY(-0.4rem);
  }
  100% {
    transform: translateY(-0.4rem) rotate(45deg);
  }
}
@keyframes menu-closing-bottom {
  0% {
    transform: translateY(-0.4rem) rotate(45deg);
  }
  50% {
    transform: translateY(-0.4rem);
  }
  100% {
    transform: translateY(0.8rem);
  }
}
@media (min-width: 1025px) {
  .min-page-height {
    min-height: calc(100vh - 6rem);
  }
  .min-page-height-header {
    min-height: calc(100vh - 46.4rem);
  }
}
@media (max-width: 1024px) {
  .min-page-height {
    min-height: calc(100vh - 6rem);
  }
  .min-page-height-header {
    min-height: calc(100vh - 6rem);
  }
}
@media (max-width: 768px) {
  .min-page-height-header,
  .min-page-height {
    min-height: unset;
  }
}
.spinner-wrapper.spinner-wrapper-full-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  width: 100%;
}

.sk-circle {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  position: relative;
}

.sk-circle .sk-child {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-circle .sk-child:before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #6bc637;
  border-radius: 100%;
  animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}

.sk-circle .sk-circle2 {
  transform: rotate(30deg);
}

.sk-circle .sk-circle3 {
  transform: rotate(60deg);
}

.sk-circle .sk-circle4 {
  transform: rotate(90deg);
}

.sk-circle .sk-circle5 {
  transform: rotate(120deg);
}

.sk-circle .sk-circle6 {
  transform: rotate(150deg);
}

.sk-circle .sk-circle7 {
  transform: rotate(180deg);
}

.sk-circle .sk-circle8 {
  transform: rotate(210deg);
}

.sk-circle .sk-circle9 {
  transform: rotate(240deg);
}

.sk-circle .sk-circle10 {
  transform: rotate(270deg);
}

.sk-circle .sk-circle11 {
  transform: rotate(300deg);
}

.sk-circle .sk-circle12 {
  transform: rotate(330deg);
}

.sk-circle .sk-circle2:before {
  animation-delay: -1.1s;
}

.sk-circle .sk-circle3:before {
  animation-delay: -1s;
}

.sk-circle .sk-circle4:before {
  animation-delay: -0.9s;
}

.sk-circle .sk-circle5:before {
  animation-delay: -0.8s;
}

.sk-circle .sk-circle6:before {
  animation-delay: -0.7s;
}

.sk-circle .sk-circle7:before {
  animation-delay: -0.6s;
}

.sk-circle .sk-circle8:before {
  animation-delay: -0.5s;
}

.sk-circle .sk-circle9:before {
  animation-delay: -0.4s;
}

.sk-circle .sk-circle10:before {
  animation-delay: -0.3s;
}

.sk-circle .sk-circle11:before {
  animation-delay: -0.2s;
}

.sk-circle .sk-circle12:before {
  animation-delay: -0.1s;
}
@keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}
#error-404 form div:nth-child(3) {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
}
#error-404 img {
  width: auto;
  height: 15rem;
}
#error-404 .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}
#error-404 .btn {
  width: 20rem;
}
#error-404 a.btn {
  padding: 0.7rem 1rem;
}
#error-404 .links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
  width: 35rem;
}

@media (max-width: 768px) {
  #error-404 form div:nth-child(3) {
    flex-direction: column;
    justify-content: center;
  }
  #error-404 form input[type=submit] {
    margin-bottom: 1rem;
  }
  #error-404 form,
  #error-404 .form-input,
  #error-404 .links,
  #error-404 .btn {
    width: 100%;
  }
  #error-404 .container {
    height: 100vh;
  }
}
#home {
  position: relative;
  z-index: 1;
}
#home .card-wrapper > .btn-wrapper {
  margin-bottom: 2rem;
}
#home .card-wrapper > .btn-wrapper button {
  display: block;
  width: 100%;
  margin-bottom: 3.5rem;
}

@media (min-width: 769px) {
  #home .card-wrapper > .btn-wrapper {
    display: flex;
    width: 80%;
    margin-bottom: 5rem;
  }
  #home .card-wrapper > .btn-wrapper button {
    display: inline-block;
    align-self: justify-start;
    margin-left: 0;
    margin-bottom: 0;
    width: auto;
  }
  #home .card-wrapper > .btn-wrapper button:nth-of-type(1) {
    margin-right: 2rem;
  }
}
.upload-errors {
  padding-left: 2rem;
}
.upload-errors li {
  margin-bottom: 1rem;
}
.upload-errors li:last-of-type {
  margin-bottom: 0;
}

#images .card-wrapper > .btn-wrapper {
  margin-bottom: 2rem;
}
#images .card-wrapper > .btn-wrapper button {
  display: block;
  width: 100%;
  margin-bottom: 3.5rem;
}
#images .card .revision-image-preview {
  max-width: 100%;
  height: auto;
}
@media (min-width: 769px) {
  #images .card-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }
  #images .card-wrapper > h1 {
    width: 100%;
  }
  #images .card-wrapper > .btn-wrapper {
    display: flex;
    width: 100%;
    margin-bottom: 5rem;
  }
  #images .card-wrapper > .btn-wrapper button {
    align-self: justify-start;
    margin-left: 0;
    margin-bottom: 0;
    width: auto;
  }
  #images .card-wrapper > .btn-wrapper button:nth-of-type(1) {
    margin-right: 2rem;
  }
  #images .card {
    display: flex;
    width: 100%;
  }
  #images .card .revision-image-preview {
    max-width: 200px;
  }
  #images .card .image-details-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 2rem;
  }
  #images .card .image-details-wrapper .btn-wrapper {
    display: flex;
    margin-top: auto;
    margin-bottom: 1rem;
  }
  #images .card .image-details-wrapper .btn-wrapper button {
    width: 135px;
    margin-right: auto;
    margin-bottom: 0;
  }
  #images .card .image-details-wrapper .btn-wrapper button:nth-of-type(1) {
    margin-right: 2rem;
  }
  #images .card i {
    align-self: center;
    margin-left: auto;
    margin-right: 2rem;
    font-size: 2.1rem;
  }
}

@media (min-width: 1025px) {
  #edit-revision-image,
  #delete-image {
    min-width: 610px;
  }
  #edit-revision-image {
    min-height: 225px;
  }
}
#login .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: stretch;
  height: 100vh;
}
#login .container img {
  height: 12.5rem;
}
#login .container input {
  width: 80vw;
  margin-bottom: 1rem;
}

@media (min-width: 769px) {
  #login .container input {
    width: 40rem;
  }
}
