@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap");
@import url("https://cdn-uicons.flaticon.com/uicons-solid-rounded/css/uicons-solid-rounded.css");
* {
  transition: 0.3s ease;
}

@font-face {
  font-family: "OpenDyslexic";
  src: url("/assets/fonts/OpenDyslexic/OpenDyslexic-Regular.otf");
}
@font-face {
  font-family: "OpenDyslexic";
  src: url("/assets/fonts/OpenDyslexic/OpenDyslexic-Bold.otf");
  font-weight: bold;
}
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: var(--secondary) #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 1rem;
}

*::-webkit-scrollbar-track {
  background: var(--bg);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--secondary);
  border-radius: 0.5rem;
  border: none;
}

:root {
  font-size: 62.5%;
  --primary: #C0ED0C;
  --primary-alt: #D3F255;
  --secondary: #B73AD6;
  --secondary-alt: #6C2080;
  --bs-primary: #C0ED0C;
  --bs-secondary: #B73AD6;
  --bg: #F3F3F3;
  --bg-alt: #fafafa;
  --fg: #383838;
  --bs-light: #F3F3F3;
  --bs-dark: #383838;
  --font: "Sora", sans-serif;
  --light: #fafafa;
  --dark: #383838;
}

:root[preferred-font=regular] {
  --font: "Sora", sans-serif;
}

:root[preferred-font=dyslexic] {
  --font: "OpenDyslexic", monospace;
}

:root[data-theme=light] {
  --primary: #C0ED0C;
  --primary-alt: #D3F255;
  --secondary: #B73AD6;
  --bs-primary: #C0ED0C;
  --bs-secondary: #B73AD6;
  --bg: #F3F3F3;
  --bg-alt: #fafafa;
  --fg: #383838;
  --box-shadow-color: rgba(56, 56, 56, 0.25);
}

:root[data-theme=dark] {
  --secondary: #D3F255;
  --primary-alt: #B73AD6;
  --primary: #5ED8FF;
  --secondary-alt: #B73AD6;
  --bs-primary: #5ED8FF;
  --bs-secondary: #D3F255;
  --bg: #383838;
  --bg-alt: #848484;
  --fg: #F3F3F3;
  --box-shadow-color: rgba(250, 250, 250, 0.12);
}
:root[data-theme=dark] .btn-secondary, :root[data-theme=dark] .btn-primary {
  color: var(--bg);
}

body {
  overflow-x: hidden;
  font-size: 1.6em;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  font-weight: 700;
}

.modal-title {
  text-transform: uppercase;
}

.modal {
  background-color: var(--bg);
}
.modal .modal-content {
  background-color: inherit;
}

.btn-primary {
  border: none;
  background-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-alt);
}

.btn-secondary {
  border: none;
  background-color: var(--secondary);
}
.btn-secondary:hover {
  background-color: var(--secondary-alt);
}

@media screen and (max-width: 992px) {
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 5rem;
  }
  .header #accessibility-menu-control {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    height: 3.5rem;
    width: 3.5rem;
    color: var(--fg);
    margin: 1rem 0.5rem;
  }
  .header #accessibility-menu-control:hover {
    background-color: var(--fg);
    color: var(--bg);
  }
  .header a.logo {
    height: 100%;
  }
  .header a.logo img#logo-img-sm {
    height: 100%;
  }
  .header a.logo img#logo-img-lg {
    display: none;
  }

  nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
  }
  nav ul.nav {
    width: 100%;
    padding: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: var(--bg-alt);
    box-shadow: 0 -3px 80px 10px var(--box-shadow-color);
    border-top-left-radius: 1.5em;
    border-top-right-radius: 1.5em;
  }
  nav ul.nav li.nav-item a.nav-link {
    width: 100%;
    padding: 0.1em 1.5em;
    border-radius: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-alt);
    font-weight: 700;
    text-transform: capitalize;
    transition: 0.3s ease;
  }
  nav ul.nav li.nav-item a.nav-link:not(#active) span.nav-name {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
  }
  nav ul.nav li.nav-item a.nav-link:not(#active):hover > span.nav-name {
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: inline;
  }
  nav ul.nav li.nav-item a.nav-link .nav-icon {
    padding: 0.2em;
    font-size: 1.5em;
  }
  nav ul.nav li.nav-item a.nav-link#active {
    background-color: var(--primary);
  }
  nav ul.nav li.nav-item a.nav-link#active span.nav-name {
    opacity: 1;
    visibility: visible;
    display: inline;
  }
}
#dark-mode-toggler {
  display: inline-block;
  height: 2.1rem;
  width: 3.75rem;
  padding: 0.75rem;
  margin: 0 1rem;
  border-radius: 1.25rem;
  background-color: var(--primary);
}
#dark-mode-toggler > input[type=checkbox] {
  display: none;
}
#dark-mode-toggler .dark-mode-toggler {
  display: block;
  width: 1rem;
  height: 1rem;
  transition: 0.5s ease;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
#dark-mode-toggler .dark-mode-toggler #dark-mode-icon {
  display: none;
  color: var(--bg);
}
#dark-mode-toggler .dark-mode-toggler #light-mode-icon {
  display: inline;
  color: var(--bg);
}
#dark-mode-toggler > input[type=checkbox]:checked + .dark-mode-toggler {
  margin-left: 1.5rem;
}
#dark-mode-toggler > input[type=checkbox]:checked + .dark-mode-toggler #dark-mode-icon {
  display: inline;
  color: var(--bg);
}
#dark-mode-toggler > input[type=checkbox]:checked + .dark-mode-toggler #light-mode-icon {
  display: none;
  color: var(--bg);
}

.class-container .class-heading {
  padding-left: 2.5rem;
  margin-top: 1rem;
  font-size: 2em;
}
.class-container .class-heading::after {
  content: "";
  width: 30%;
  position: relative;
  top: 1.5rem;
  left: -28%;
  height: 0.5rem;
  background-color: var(--primary);
  display: inline-block;
}
.class-container .class-heading.class-heading-secondary::after {
  content: "";
  width: 30%;
  position: relative;
  top: 1.5rem;
  left: -28%;
  height: 0.5rem;
  background-color: var(--secondary);
  display: inline-block;
}
.class-container .class-list {
  padding: 2.5rem;
}
.class-container .class-list .card {
  transition: 0.5s ease;
  box-shadow: 0 -3px 100px 10px var(--box-shadow-color);
  margin: 2rem 0;
  border-radius: 2rem;
  padding: 1rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.class-container .class-list .card:hover {
  transform: translate(-0.25rem, -1rem);
}
.class-container .class-list .card .card-img {
  flex: 1;
}
.class-container .class-list .card .card-img img {
  width: 100%;
  border-radius: 2rem;
}
.class-container .class-list .card .card-body {
  flex: 2;
  margin-left: 1rem;
}
.class-container .class-list .card .card-body .card-subtitle {
  font-weight: 500;
}
.class-container .class-list .card .card-body .card-text {
  font-size: 1em;
}

.container {
  margin-bottom: 3.5em;
}

@-webkit-keyframes card-out {
  0% {
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  99% {
    -webkit-transform: translateY(100vh) scale(0);
    transform: translateY(100vh) scale(0);
    opacity: 0;
    display: flex;
  }
  100% {
    display: none;
  }
}
@keyframes card-out {
  0% {
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  99% {
    -webkit-transform: translateY(100vh) scale(0);
    transform: translateY(100vh) scale(0);
    opacity: 0;
    display: flex;
  }
  100% {
    display: none;
  }
}
.class-body.hide {
  -webkit-animation: card-out 1s ease-out both;
  animation: card-out 1s ease-out both;
}

.lesson.hide {
  -webkit-animation: card-out 1s ease-out both;
  animation: card-out 1s ease-out both;
}

.lesson.hidden {
  display: none;
}

.class-body.hidden {
  display: none;
}

@-webkit-keyframes card-in {
  0% {
    -webkit-transform: translateY(600px) rotateX(-30deg) scale(0);
    transform: translateY(600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(10vh) rotateX(0) scale(1);
    transform: translateY(10vh) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
    transform-origin: 50% 1400px;
    opacity: 1;
  }
}
@keyframes card-in {
  0% {
    -webkit-transform: translateY(600px) rotateX(-30deg) scale(0);
    transform: translateY(600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(10vh) rotateX(0) scale(1);
    transform: translateY(10vh) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
    transform-origin: 50% 1400px;
    opacity: 1;
  }
}
.lesson.show {
  -webkit-animation: card-in 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: card-in 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  padding: 2rem;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  box-shadow: 0 -3px 100px 10px var(--box-shadow-color);
  z-index: 200;
  position: absolute;
  bottom: 0;
  left: 0;
  min-height: 100vh;
  width: 100vw;
  transform: translate(0, 10vh);
  overflow-x: hidden;
}
.lesson.show article {
  height: 40vh;
  overflow-y: scroll;
}
.lesson.show .lesson-video {
  padding: 1rem;
  margin: 1rem auto;
  position: relative;
  width: 80%;
  height: 0;
  padding-bottom: 37%;
}
.lesson.show .lesson-video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 1rem;
}
.lesson.show .lesson-description {
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 -1px 50px 3px var(--box-shadow-color);
}
.lesson.show .ask-for-help {
  margin-top: 2rem;
}

.class-body.show {
  -webkit-animation: card-in 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: card-in 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  padding: 0;
  border-radius: 2rem;
  box-shadow: 0 -3px 100px 10px var(--box-shadow-color);
  z-index: 200;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  transform: translate(0, 10vh);
}
.class-body.show .class-body-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  border-radius: 2rem;
  padding: 2rem;
  margin: 0;
  background: linear-gradient(rgba(20, 20, 20, 0.35), rgba(20, 20, 20, 0.35)), url("../../assets/img/class_header_1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--light);
}
.class-body.show .class-body-header .back-button button {
  color: #F3F3F3;
}
.class-body.show .class-body-header .back-button button i {
  font-size: 2rem;
}
.class-body.show .class-body-header .back-button button:hover {
  color: var(--primary);
}
.class-body.show .class-body-header .class-body-header-details .class-title {
  font-weight: 500;
  color: var(--primary);
  font-size: 3rem;
}
.class-body.show .class-body-header .class-body-header-details .subject-name {
  font-weight: 700;
  text-transform: uppercase;
}
.class-body.show .class-body-header .class-body-header-details .teacher {
  font-weight: 600;
}
.class-body.show .class-body-header .class-body-header-details .teacher-details {
  font-weight: 400;
}
.class-body.show .class-body-body {
  flex: 3;
  padding: 2rem;
}
.class-body.show .class-body-body h3 {
  font-size: 3rem;
  text-align: center;
  margin: 1rem;
}
.class-body.show .class-body-body .class-topic {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 1rem;
}
.class-body.show .class-body-body ul {
  list-style-type: none;
}
.class-body.show .class-body-body ul li {
  margin: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 -1px 50px 3px var(--box-shadow-color);
}
.class-body.show .class-body-body ul li a i {
  color: var(--secondary);
  margin-right: 1.5rem;
}
.class-body.show .class-body-body ul li a h4 {
  display: inline-block;
}

.tts {
  display: block;
}

.tts-controls {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
}
.tts-controls div {
  margin: 1rem 0;
}
.tts-controls div.controls {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.tts-controls div span {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
}
.tts-controls div span i {
  padding-right: 1rem;
}
.tts-controls div span select {
  margin: 0.5rem 1rem;
}
.tts-controls button i {
  font-size: 2em;
}
.tts-controls .slider {
  margin: 0.5rem 1rem;
  -webkit-appearance: none;
  width: 100%;
  height: 1rem;
  border-radius: 5px;
  background: var(--primary);
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}
.tts-controls .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
}
.tts-controls .slider::-moz-range-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
}

.card {
  margin: 1rem;
  padding: 1rem;
  border-radius: 3rem;
  box-shadow: 0 -1px 50px 3px var(--box-shadow-color);
  background: var(--bg);
}

.btn {
  color: var(--fg);
}

.class-schedule h2 {
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  font-size: 2rem;
}
.class-schedule ul {
  list-style-type: none;
}
.class-schedule ul li.card {
  padding: 3rem;
}
.class-schedule ul li.card a {
  color: inherit;
  text-decoration: none;
  display: flex;
}
.class-schedule ul li.card a .class-info {
  flex: 2;
}
.class-schedule ul li.card a .class-join {
  flex: 1;
}

#hivepage {
  display: flex;
  flex-direction: column;
}
#hivepage #hive {
  padding: 1rem;
}
#hivepage #hive.hidden {
  display: none;
}
#hivepage #hive.show #hive-card {
  box-shadow: 0 -3px 80px 10px var(--box-shadow-color);
  border-radius: 3rem;
  border: none;
  outline: none;
  transition: 0.3s ease-out;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
  background: var(--primary);
  color: var(--dark);
  width: 100%;
  height: 25vh;
}
#hivepage #hive.show #hive-card:hover {
  transform: scale(0.9) rotate(-5deg);
  border-radius: 2.5rem;
}
#hivepage #hive.show #hive-card .hive-title {
  flex: 2;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#hivepage #hive.show #hive-card .hive-title h2 {
  font-size: 4em;
}
#hivepage #hive.show #hive-card .hive-pic {
  flex: 1;
  display: flex;
  align-items: center;
}
#hivepage #hive.show #hive-card .hive-pic > img {
  height: 15vh;
}
#hivepage #hive.show #message-list {
  display: flex;
  flex-direction: column;
}
#hivepage #hive.show #message-list .message {
  padding: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
#hivepage #hive.show #message-list .message.unread .message-details {
  font-weight: 800;
}
#hivepage #hive.show #message-list .message#pinned {
  color: var(--secondary);
}
#hivepage #hive.show #message-list .message.active .avatar::after {
  content: "";
  width: 10px;
  height: 10px;
  padding: 0;
  margin: 0;
  border-radius: 20px;
  display: block;
  background-color: var(--primary);
  position: relative;
  top: 1.2em;
  left: -1.2em;
}
#hivepage #hive.show #message-list .message .avatar {
  flex: 1;
  height: 5rem;
  width: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#hivepage #hive.show #message-list .message .avatar img {
  width: 100%;
  height: 100%;
}
#hivepage #hive.show #message-list .message .message-details {
  flex: 4;
  padding: 1rem;
  font-weight: 500;
}
#hivepage #hive.show #message-list .message .message-details .message-sender {
  font-weight: inherit;
  font-size: 2rem;
}
#hivepage #hive.show #message-list .message .message-details .message-preview {
  font-weight: inherit;
  font-size: 1.5rem;
}
#hivepage #messages.hidden {
  display: none;
}
#hivepage #messages.show {
  display: block;
  margin-bottom: 3rem;
}
#hivepage #messages.show .conversation-header {
  display: flex;
  flex-direction: row;
}
#hivepage #messages.show .conversation-header .btn {
  flex: 1;
  font-size: 2em;
}
#hivepage #messages.show .conversation-header h3 {
  flex: 11;
  font-size: 2em;
  text-align: right;
}
#hivepage #messages.show #messages-container .system-message {
  text-align: center;
  color: var(--secondary);
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
}
#hivepage #messages.show #messages-container .msg {
  padding: 1rem;
  margin: 1rem 0;
}
#hivepage #messages.show #messages-container .msg.tutor-msg .sender-details .sender {
  background: var(--primary);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}
#hivepage #messages.show #messages-container .msg.from-self-msg .sender-details .sender {
  background: var(--secondary);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}
#hivepage #messages.show #messages-container .msg.hive-help .sender-details .sender::before {
  content: "HIVE HELP";
  background: var(--primary);
  color: var(--dark);
  padding: 0.75rem 1rem;
  border-radius: 2rem;
  font-size: 1rem;
  margin-right: 1.2rem;
}
#hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details {
  border-radius: 2rem;
  padding: 2rem;
}
#hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details .help-subject, #hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details .help-lesson, #hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details .help-description {
  font-size: 1.2rem;
  display: inline-block;
}
#hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details .help-subject {
  font-weight: 700;
  text-transform: uppercase;
}
#hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details .help-lesson {
  font-weight: 600;
}
#hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details .help-lesson::before {
  content: " | ";
  padding-right: 1rem;
}
#hivepage #messages.show #messages-container .msg.hive-help .message-body .help-details .help-description {
  padding-top: 1rem;
}
#hivepage #messages.show #messages-container .msg .sender-details {
  padding: 1rem 0;
}
#hivepage #messages.show #messages-container .msg .sender-details .sender {
  font-weight: 600;
  font-size: 1em;
  margin-right: 1.5rem;
}
#hivepage #messages.show #messages-container .msg .sender-details .date, #hivepage #messages.show #messages-container .msg .sender-details .time {
  font-size: 1.4rem;
  padding-right: 0.5rem;
}
#hivepage #messages.show #messages-container .msg .message-controls {
  padding: 1rem 0;
}
#hivepage #messages.show #message-input-container {
  height: 5vh;
  display: flex;
  flex-direction: row;
  align-items: center;
}
#hivepage #messages.show #message-input-container .form-control {
  border: 2px solid var(--primary);
  background: var(--bg);
  flex: 4;
  height: 5vh;
}
#hivepage #messages.show #message-input-container .input-group-append {
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
#hivepage #messages.show #message-input-container .input-group-append .btn {
  flex: 1;
  font-size: 1em;
  width: 40%;
}

.msg-div {
  height: 70vh;
  overflow: auto;
  display: flex;
  flex-direction: column-reverse;
}

@media screen and (min-width: 992px) {
  .class-body.show {
    transform: none;
    display: flex;
    flex-direction: row;
  }
  .class-body.show .class-body-header {
    flex: 1;
  }
  .class-body.show .class-body-body {
    flex: 2;
  }

  .class-schedule .classes {
    display: flex;
    flex-direction: row;
  }
  .class-schedule .classes .card {
    flex: 1;
  }

  .classes-container {
    display: flex;
    flex-direction: row;
  }
  .classes-container .class-container {
    flex: 1;
    max-width: 50%;
  }

  #hivepage {
    display: flex;
    flex-direction: row;
  }
  #hivepage #hive {
    flex: 1;
    padding: 1rem;
  }
  #hivepage #hive.hidden {
    display: block;
  }
  #hivepage #hive #hive-card {
    box-shadow: 0 -3px 80px 10px var(--box-shadow-color);
    border-radius: 3rem;
    border: none;
    outline: none;
    transition: 0.3s ease-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    background: var(--primary);
    color: var(--dark);
    width: 100%;
    height: 25vh;
  }
  #hivepage #hive #hive-card:hover {
    transform: scale(0.9) rotate(-5deg);
    border-radius: 2.5rem;
  }
  #hivepage #hive #hive-card .hive-title {
    flex: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  #hivepage #hive #hive-card .hive-title h2 {
    font-size: 4em;
  }
  #hivepage #hive #hive-card .hive-pic {
    flex: 1;
    display: flex;
    align-items: center;
  }
  #hivepage #hive #hive-card .hive-pic > img {
    height: 15vh;
  }
  #hivepage #hive #message-list {
    display: flex;
    flex-direction: column;
  }
  #hivepage #hive #message-list .message {
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  #hivepage #hive #message-list .message.unread .message-details {
    font-weight: 800;
  }
  #hivepage #hive #message-list .message#pinned {
    color: var(--secondary);
  }
  #hivepage #hive #message-list .message.active .avatar::after {
    content: "";
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0;
    border-radius: 20px;
    display: block;
    background-color: var(--primary);
    position: relative;
    top: 1.2em;
    left: -1.2em;
  }
  #hivepage #hive #message-list .message .avatar {
    flex: 1;
    height: 5rem;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #hivepage #hive #message-list .message .avatar img {
    width: 100%;
    height: 100%;
  }
  #hivepage #hive #message-list .message .message-details {
    flex: 4;
    padding: 1rem;
    font-weight: 500;
  }
  #hivepage #hive #message-list .message .message-details .message-sender {
    font-weight: inherit;
    font-size: 2rem;
  }
  #hivepage #hive #message-list .message .message-details .message-preview {
    font-weight: inherit;
    font-size: 1.5rem;
  }
  #hivepage #messages {
    padding: 2rem;
    flex: 3;
    display: block;
    margin-bottom: 3rem;
  }
  #hivepage #messages.hidden {
    display: block;
  }
  #hivepage #messages .conversation-header {
    display: flex;
    flex-direction: row;
  }
  #hivepage #messages .conversation-header .btn {
    flex: 1;
    font-size: 2em;
  }
  #hivepage #messages .conversation-header h3 {
    flex: 11;
    font-size: 2em;
    text-align: right;
  }
  #hivepage #messages #messages-container .system-message {
    text-align: center;
    color: var(--secondary);
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
  }
  #hivepage #messages #messages-container .msg {
    padding: 1rem;
    margin: 1rem 0;
  }
  #hivepage #messages #messages-container .msg.tutor-msg .sender-details .sender {
    background: var(--primary);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
  }
  #hivepage #messages #messages-container .msg.from-self-msg .sender-details .sender {
    background: var(--secondary);
    color: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
  }
  #hivepage #messages #messages-container .msg.hive-help .sender-details .sender::before {
    content: "HIVE HELP";
    background: var(--primary);
    color: var(--dark);
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    font-size: 1rem;
    margin-right: 1.2rem;
  }
  #hivepage #messages #messages-container .msg.hive-help .message-body .help-details {
    border-radius: 2rem;
    padding: 2rem;
  }
  #hivepage #messages #messages-container .msg.hive-help .message-body .help-details .help-subject, #hivepage #messages #messages-container .msg.hive-help .message-body .help-details .help-lesson, #hivepage #messages #messages-container .msg.hive-help .message-body .help-details .help-description {
    font-size: 1.2rem;
    display: inline-block;
  }
  #hivepage #messages #messages-container .msg.hive-help .message-body .help-details .help-subject {
    font-weight: 700;
    text-transform: uppercase;
  }
  #hivepage #messages #messages-container .msg.hive-help .message-body .help-details .help-lesson {
    font-weight: 600;
  }
  #hivepage #messages #messages-container .msg.hive-help .message-body .help-details .help-lesson::before {
    content: " | ";
    padding-right: 1rem;
  }
  #hivepage #messages #messages-container .msg.hive-help .message-body .help-details .help-description {
    padding-top: 1rem;
  }
  #hivepage #messages #messages-container .msg .sender-details {
    padding: 1rem 0;
  }
  #hivepage #messages #messages-container .msg .sender-details .sender {
    font-weight: 600;
    font-size: 1em;
    margin-right: 1.5rem;
  }
  #hivepage #messages #messages-container .msg .sender-details .date, #hivepage #messages #messages-container .msg .sender-details .time {
    font-size: 1.4rem;
    padding-right: 0.5rem;
  }
  #hivepage #messages #messages-container .msg .message-controls {
    padding: 1rem 0;
  }
  #hivepage #messages #message-input-container {
    height: 5vh;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #hivepage #messages #message-input-container .form-control {
    border: 2px solid var(--primary);
    background: var(--bg);
    flex: 4;
    height: 5vh;
  }
  #hivepage #messages #message-input-container .input-group-append {
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  #hivepage #messages #message-input-container .input-group-append .btn {
    flex: 1;
    font-size: 1em;
    width: 40%;
  }

  .msg-div {
    height: 70vh;
    overflow: auto;
    display: flex;
    flex-direction: column-reverse;
  }
}
header {
  margin: 2rem;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 5rem;
}
header .header {
  flex: 2;
  display: flex;
  align-content: center;
  justify-content: space-betwen;
  width: 100%;
  height: 5rem;
}
header .header #accessibility-menu-control {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  height: 3.5rem;
  width: 3.5rem;
  color: var(--fg);
  margin: 1rem 0.5rem;
}
header .header #accessibility-menu-control:hover {
  background-color: var(--fg);
  color: var(--bg);
}
header .header a.logo {
  margin: 1rem 3rem;
  height: 3rem;
}
header .header a.logo img#logo-img-sm {
  display: none;
}
header .header a.logo img#logo-img-lg {
  display: inline-block;
  height: 100%;
}
header nav {
  flex: 1.5;
}
header nav ul.nav {
  width: 100%;
  padding: 1em;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
header nav ul.nav li.nav-item a.nav-link {
  width: 100%;
  padding: 0.5rem 1.5rem;
  margin: 1rem;
  border-radius: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--secondary-alt);
  font-weight: 700;
  text-transform: capitalize;
  transition: 0.3s ease;
}
header nav ul.nav li.nav-item a.nav-link .nav-icon {
  padding: 0.2em;
  font-size: 1em;
}
header nav ul.nav a.nav-link#active {
  background-color: var(--primary);
}

body.preloader-site {
  overflow: hidden;
}

.preloader-wrapper {
  height: 100%;
  width: 100%;
  background: #FFF;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999;
}

.preloader-wrapper .preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 120px;
}