:root {
  --st-accent: #00D9CB;
  --st-secondary: #ff6440;
  --st-interest: #1477cc;
  --st-text-gray: #A3A3A3;
  --st-text-highlight: #5A5959;
  --st-gray-tint: #f6f6f6;
  --st-light-gray: #efefef;
  --st-light-link: #faff00;
  --st-green: #03CF0B;
  --st-orange: #FE6440;
  --st-purple: #AA40FE;
  --button-size: 1.5rem;
}

body {
  font-family: Quicksand, sans-serif;
  color: var(--st-text-gray);
}

.c-accent {
  color: var(--st-accent);
}

.c-interest {
  color: var(--st-interest);
}

.c-secondary {
  color: var(--st-secondary);
}

.b-secondary {
  background-color: var(--st-secondary);
}

.b-light-link {
  background-color: var(--st-light-link);
}

.c-light-link {
  color: var(--st-light-link);
}

.c-interest {
  color: var(--st-interest);
}

.b-accent {
  background-color: var(--st-accent);
}

.c-white {
  color: #ffffff;
}

.b-white {
  background-color: white;
}

.b-light-gray {
  background-color: var(--st-gray-tint);
}

.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  text-align: center;
  line-height: 120px;
  margin-top: 13px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.28);
  border: 2px solid rgb(255,255,255) ;
}

.grade {
  color: var(--st-accent);
  font-size: 74px;
}

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

.header-mid {
  padding-top: 38px;
  padding-left: 28px;
  padding-right: 28px;
  padding-bottom: 27px;
}

.notification {
  background: #f6f6f6;
  border-left: 4px solid var(--bs-info);
  padding-left: 10px;
  padding-right: 10px;
}

.notification .btn {
  background-color: transparent!important;
  font-size: 16px;
  color: var(--st-text-gray);
}

.notification .btn i {
  margin-right: 9px;
  padding: 3px;
  border-radius: 4px;
}

.block {
  margin-bottom: 15px;
  padding-top: 11px;
  padding-bottom: 11px;
  display: block;
}

.event {
  border-left-width: 0px;
  border-left-style: none;
  border-radius: 0px;
  background: var(--bs-orange);
}

.block-meta-box {
  width: 147.984px;
  margin-top: 34px;
}

#class_list ul {
  padding: 0;
  list-style: none;
}

#class_list {
  padding: 0;
}

#class_list li {
  margin-right: 20px;
  font-weight: bold;
}

#class_list a {
  text-decoration: none;
  color: inherit;
}

#class_list a.active {
  text-decoration: none;
  color: var(--st-accent);
}

.lesson-item .progress-detail {
  width: 25%;
  max-width: 200px;
}

.lesson-item .progress-detail .progress-bar {
  background-color: var(--st-accent);
}

#wrapper {
  min-height: 100vh;
  max-width: 800px;
  position: relative;
  /*padding-bottom: 88px;*/
}

.page-footer {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid var(--bs-gray-500);
}

/* BUTTONS */

.btn {
  margin-right: 20px;
  font-size: 18px;
  outline: none;
}

.btn.btn-primary {
  background-color: var(--st-accent);
  box-shadow: none;
  border: none;
}

.btn.btn-primary:hover {
  background-color: var(--st-green);
}

.btn.hollow {
  background: transparent;
  color: var(--st-accent);
  border: none;
  margin: 0px;
  margin-bottom: 10px;
}

.btn.hollow:hover {
  background: transparent;
}

.btn.hollow i {
  color: white;
  background: var(--st-accent);
  padding: 0;
  border-radius: 25px;
  width: 35px;
  line-height: 35px;
}

.btn.hollow:hover i {
  background-color: var(--st-secondary);
}

.btn:focus, .btn:active, input:focus, input:active {
  outline: none !important;
  box-shadow: none!important;
}

.btn i {
  margin-right: 10px;
}

.btn {
  border-radius: 24px;
  padding: 4px 15px;
}

.inline-link {
  font-size: inherit;
  padding: 5px;
}

span.input-group-text {
  color: var(--st-accent);
  background: transparent;
  border-style: none;
  position: absolute;
  height: 100%;
}

input::focus {
  border-bottom: solid thin var(--st-accent);
}

.input-group.login {
  border-radius: 38px;
  background: var(--bs-gray-100);
}

.input-group.login > .btn {
  border-bottom-left-radius: 24px!important;
}

/* Links */

a, .btn.btn-link {
  text-decoration: none;
  color: var(--bs-purple);
}

a.activity-item {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 5px;
  margin-bottom: 15px;
}

a.item:hover h3 {
  color: var(--st-interest);
}

.lesson-item .title {
  color: var(--st-accent);
}

.nav-tabs a.nav-link {
  border: none;
  font-weight: bold;
  color: var(--bs-nav-tabs-link-active-color);
}

.nav-tabs a.nav-link.active {
  color: var(--st-secondary);
  border: none;
}

/* Form */

.login .login-code {
  border: none;
  background: transparent;
  color: var(--st-text-highlight);
  font-size: 24px;
}

.login .loginText::focus {
  outline: none;
}

select.form-select {
  border: 2px solid var(--st-accent);
  /*border-radius: 38px;*/
}

.login-form-container {
  max-width: 600px;
}

input::focus {
  outline: none;
}

/* Video */

@media (min-width: 300px) {
  .video {
    height: 167px;
  }
}

@media (min-width: 576px) {
  .video {
    height: 269px;
  }
}

@media (min-width: 768px) {
  .video {
    height: 366px;
  }
}

@media (min-width: 992px) {
  .video {
    height: 513px;
  }
}

@media (min-width: 1200px) {
  .video {
    height: 395px;
  }
}

@media (min-width: 1400px) {
  .video {
    height: 470px;
  }
}

/* MISC */

.que-hide {
  display: none;
}

.page-header {
  min-height: 150px;
  border-bottom: 1px solid var(--bs-gray-500);
}

.accordion-button {
  background: none;
  font-size: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: transparent!important;
}

.accordion-body {
  padding-top: 25px;
  padding-bottom: 25px;
}

.picture-list img {
  max-width: 100%;
  height: auto;
}

.record-entry {
  margin-bottom: 30px;
}

@media (max-width: 765px) {
  header .profile-picture {
    display: none;
  }
}

/* Forms */

input[type=text], input[type=email], select.form-select {
  border: none;
  border-bottom: solid thin var(--st-accent);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  padding: 8px 20px;
}

footer .nav .btn {
  font-size: 1rem;
  color: var(--st-text-gray);
}

.lesson-head {
  background: var(--st-accent);
  color: #ffffff;
}

#upload-image {
  position: absolute;
  padding: 10px;
  color: var(--st-secondary);
  border-radius: 50%;
  background: var(--st-gray-tint);
  overflow: hidden;
  bottom: 3px;
  right: 5px;
  font-size: 20px;
  line-height: 20px;
  border: 2px solid var(--st-gray-tint) ;
}

#upload-image:hover {
  color: var(--st-light-gray);
  background: var(--st-secondary);
}

.file-upload {
  background: var(--st-accent);
  color: white;
  width: 219px;
  margin: 0px auto;
  padding: 20px;
  position: relative;
  border-radius: 13px;
}

#profile-image-display {
  width: 192px;
  height: 192px;
  position: relative;
  margin-top: -115px;
  border: 4px solid rgb(255,255,255);
  border-radius: 50%;
}

#profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.icon-input {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.page-alert {
  width: 70%;
  right: 10px;
  top: 50px;
  /*transform: translate(-50%);*/
  position: fixed;
  max-width: 500px;
  box-shadow: 0px 6px 11px 3px rgba(5,81,96,0.21);
  z-index: 100;
}

.image-list {
  padding: 0;
  list-style: none;
}

.image-list li {
  max-width: 25%;
}

.image-list img {
  max-width: 100%;
}

.image-link i {
  display: block;
  position: absolute;
  right: 8px;
  top: 8px;
  color: var(--st-secondary);
  font-size: 18px;
  opacity: 0;
  transition: all 0.5s ease-out;
  z-index: 1;
}

.image-link {
  display: block;
  position: relative;
}

.image-link:hover i {
  opacity: 1;
}

.image-meta {
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding: 5px;
  color: white;
  background: rgba(0,0,0,0.49);
  overflow: hidden;
}

.dash-action {
  display: block;
  max-width: 90%;
  background-color: var(--st-purple);
  margin: 10px auto;
  color: white;
  padding: 5px;
  text-align: center;
  border-radius: 19px;
  transition: all 0.5s;
}

@media (max-width: 650px) {
  .dash-action span {
    display: none;
  }
}

a.item.activity-item:hover .dash-action {
  background-color: var(--bs-cyan);
  color: white;
  box-shadow: 0px 0px 13px 2px rgba(13,202,240,0.52);
}

a.item:hover {
  background-color: rgba(133,139,140,0.05);
}

.dash-action.completed {
  background: var(--st-green);
}

@media (max-width: 768px) {
  .footer-nav .nav-item span {
    display: none;
  }
}

.notification-item {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.notification-action a {
  padding: 11px;
  background-color: var(--bs-orange);
  color: white;
  border-radius: 28px;
  margin-left: 10px;
}

.notification h5 {
  color: var(--bs-red);
}

.message p {
  margin-bottom: 0;
}

.notification.overdue {
  border-color: var(--bs-red);
}

.notification.overdue a.btn.btn-primary {
  color: var(--bs-red);
}

.event h1 i {
  font-size: smaller;
  margin-right: 10px;
}

.notification .toggle-trigger {
  width: 100%;
  display: block;
  text-align: start;
  padding: 11px;
}

@media (max-width: 768px) {
  .page-footer {
    position: fixed;
    width: 100%;
  }
}

.n-meta {
  font-size: 12px;
  color: var(--st-interest);
}

.picture-list a {
  display: block;
  padding: 0;
  max-width: 25%;
}

.picture-list {
}

main {
  position: relative;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  main {
    position: relative;
    padding-bottom: 100px;
  }
}

.correct .fas.fa-check.display-icon-large {
  color: var(--st-accent);
}

.display-icon-large {
  color: var(--bs-red);
  font-size: 48px;
  margin-right: 15px;
}

.selected {
  color: var(--bs-red);
}

.correct .selected {
  color: var(--st-accent);
}

.lesson-item.overdue {
  color: var(--bs-danger);
  padding-left: 20px;
  border-left: 4.5px solid var(--bs-red);
}

.overdue .title {
  color: var(--bs-red);
}

.upload-block {
  background: var(--bs-link-color);
  color: white;
  min-height: 150px;
  font-size: 1.5rem;
}

.activitity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 200px;
  grid-gap: 20px;
  min-height: 0;
  /*min-width: 0;*/
}

@media (min-width: 768px) {
  .activitity-list {
    /*display: grid;*/
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 220px;
    /*grid-gap: 20px;*/
  }
}

.activity:hover {
  color: white;
  transform: translate(-10px, -10px);
}

.activity {
  padding: 10px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--st-purple);
  color: white;
  transition: all 0.2s;
}

.activity-progress {
  min-width: 15%;
  min-height: 10px;
  background: greenyellow;
  position: absolute;
  bottom: 0;
  left: 0;
}

.activity-score {
  position: absolute;
  right: 0;
  bottom: 10px;
}

.meta {
  font-size: 14px;
}

.activity.active {
  background-color: var(--st-green);
}

.activity.main {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  background: linear-gradient(rgba(0,0,0,0.56), rgba(0,0,0,0.33)), url("../../assets/img/2.jpg");
  background-size: auto, cover;
}

.activity.overdue {
  background-color: var(--bs-danger);
}

.image-list.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.upload-icon {
  font-size: 26px;
  width: 50px;
  height: 50px;
  background: white;
  color: var(--st-purple);
  line-height: 50px;
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
}

@media (min-width: 576px) {
  .upload-icon {
    font-size: 26px;
    width: 50px;
    height: 50px;
    background: white;
    color: var(--st-purple);
    line-height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
  }
}

.upload-file-button {
  background-color: var(--st-purple);
  color: white;
  padding: 10px;
  position: relative;
}

.count {
  background: blue;
  color: white;
  padding: 5px;
  border-radius: 8px;
}

.upload-button {
  max-width: 180px;
  background: gray;
  color: white;
  padding: 5px;
  border-radius: 5px;
}

.item {
  margin-bottom: 50px;
}

.title {
  color: var(--st-purple);
}

.upload-file-button input {
  width: 100%;
  height: 100%;
  position: absolute;
  cursor:pointer;
  /* z-index: 2; */
  opacity: 0;
}

.image-list.grid div, .image-list.grid img {
  aspect-ratio: 1;
}

