﻿h2 {
  font-weight: 700;
}

h3 {
  font-weight: 700;
}

.student-next-lesson-container {
  display: flex;
  flex-direction: row;
  padding: 2rem;
  background-color: rgba(0, 191, 141, 0.25);
  border-radius: 2rem;
  height: 100%;
}

.student-next-lesson-container img {
  width: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
  margin-left: auto;
}
@media (max-width: 768px) {
  .student-next-lesson-container img {
    display: none;
  }
}
@media (min-width: 768px) {
  .student-next-lesson-container img {
    display: block;
  }
}

.student-next-lesson-details {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.student-next-lesson-details h3 {
  margin-bottom: 0.75rem;
}

.student-next-lesson-block {
  text-align: start;
  margin-right: 0.5rem;
}
@media (min-width: 992px) {
  .student-next-lesson-block {
    font-size: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .student-next-lesson-block {
    font-size: 1.4rem;
  }
}
@media (min-width: 1400px) {
  .student-next-lesson-block {
    font-size: 1.5rem;
  }
}

.student-next-lesson-block i {
  margin-right: 0.75rem;
  color: #008e76;
}

.btn-student-start-next-lesson {
  margin-top: auto;
  max-width: 300px;
  width: 100%;
}

.student-remaining-lessons-container {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: #00bf8d;
  border-radius: 2rem;
  height: 100%;
}

.student-remaining-lessons-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.student-upcoming-lesson {
  flex-direction: row;
  padding: 1rem;
  border-radius: 1rem;
  border: solid 1px #008e76;
  align-items: center;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .student-upcoming-lesson {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .student-upcoming-lesson {
    display: flex !important;
  }
}

.student-upcoming-lesson .group-name-text {
  max-width: 220px;
  font-size: 0.8rem;
}

.student-upcoming-lesson-mobile {
  flex-direction: row;
  padding: 1rem;
  border-radius: 1rem;
  border: solid 1px #008e76;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: space-between;
}
@media (max-width: 576px) {
  .student-upcoming-lesson-mobile {
    display: flex;
  }
  .student-upcoming-lesson-mobile span {
    font-size: 0.75rem !important;
  }
  .student-upcoming-lesson-mobile a,
  .student-upcoming-lesson-mobile button {
    font-size: 0.8rem !important;
  }
}
@media (max-width: 768px) {
  .student-upcoming-lesson-mobile {
    display: flex;
  }
}
@media (min-width: 768px) {
  .student-upcoming-lesson-mobile {
    display: none;
  }
}

.student-upcoming-lesson-mobile .group-name-text {
  font-size: 0.65rem !important;
}
@media (max-width: 350px) {
  .student-upcoming-lesson-mobile .group-name-text {
    max-width: 145px;
  }
}
@media (min-width: 350px) {
  .student-upcoming-lesson-mobile .group-name-text {
    max-width: 160px;
  }
}
@media (min-width: 370px) {
  .student-upcoming-lesson-mobile .group-name-text {
    max-width: 180px;
  }
}
@media (min-width: 400px) {
  .student-upcoming-lesson-mobile .group-name-text {
    max-width: 210px;
  }
}
@media (min-width: 430px) {
  .student-upcoming-lesson-mobile .group-name-text {
    max-width: 240px;
  }
}

.student-no-upcoming-lesson {
  display: flex;
  flex-direction: row;
  padding: 1rem;
  border-radius: 1rem;
  border: solid 1px #008e76;
  align-items: center;
  margin-bottom: 1rem;
}
.student-no-upcoming-lesson h5 {
  margin: 0;
  font-weight: 700;
}
@media (max-width: 768px) {
  .student-no-upcoming-lesson h5 {
    font-size: 0.8rem;
  }
}
@media (min-width: 768px) {
  .student-no-upcoming-lesson h5 {
    font-size: 1.5rem;
  }
}

.student-upcoming-lesson-date i {
  margin-right: 0.75rem;
  color: #008e76;
}

.student-upcoming-lesson-time-popover {
  font-size: 0.8rem;
  border: solid 1px #04aa8a;
  border-radius: 0.5rem;
}

.student-upcoming-lesson-time-popover .popover-arrow::before, .student-upcoming-lesson-time-popover .popover-arrow::after {
  color: #04aa8a;
  border-top-color: #04aa8a !important;
  /*border-right-color: $green2 !important;
  border-bottom-color: $green2 !important;
  border-left-color: $green2 !important;*/
}

.student-upcoming-lesson-time-popover .popover-body {
  padding: 0.25rem 0.5rem;
}

@media (max-width: 992px) {
  .student-upcoming-lesson-datetime {
    display: none;
  }
  .student-upcoming-lesson-date {
    font-size: 1rem;
    width: 210px;
  }
  .student-upcoming-lesson-time {
    font-size: 1.25rem;
    width: 250px;
  }
}
@media (min-width: 992px) {
  .student-upcoming-lesson-date {
    font-size: 1.25rem;
    width: 30%;
  }
  .student-upcoming-lesson-time {
    font-size: 1.25rem;
    width: 30%;
  }
}
@media (min-width: 1200px) {
  .student-upcoming-lesson-date {
    font-size: 1.25rem;
    width: 40%;
  }
  .student-upcoming-lesson-time {
    font-size: 1.25rem;
    width: 30%;
  }
}
@media (min-width: 1400px) {
  .student-upcoming-lesson-date,
  .student-upcoming-lesson-time {
    font-size: 1.25rem;
    width: 30%;
  }
}
.student-upcoming-lesson-btn-container {
  display: flex;
  justify-content: end;
  flex-grow: 1;
  width: auto;
}
.student-upcoming-lesson-btn-container a,
.student-upcoming-lesson-btn-container button {
  width: 100%;
  max-width: 300px;
}

.student-upcoming-lesson-btn-container-mobile {
  display: flex;
  justify-content: end;
  flex-grow: 1;
  width: auto;
}
@media (max-width: 576px) {
  .student-upcoming-lesson-btn-container-mobile a,
  .student-upcoming-lesson-btn-container-mobile button {
    width: 130px;
  }
}
@media (min-width: 576px) {
  .student-upcoming-lesson-btn-container-mobile a,
  .student-upcoming-lesson-btn-container-mobile button {
    width: 160px;
  }
}

.student-upcoming-lesson {
  display: flex;
  flex-direction: row;
  padding: 1rem;
  border-radius: 1rem;
  border: solid 1px #008e76;
  align-items: center;
  margin-bottom: 1rem;
}
