.subNav {
  width: 80px;
  margin-top:  var(--sidebar-width);
  flex-shrink: 0;
  background-color: rgb(210, 225, 255);
  border-right: 1px solid rgba(50, 100, 225, 0.4);
  position: relative;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.subNav button {
  display: block;
  width: 100%;
  height: var(--sidebar-width);
  padding: 4px 0px;
  border: none;
  background: none;
  color: black;
  cursor: pointer;
  border-bottom: 1px solid rgba(50, 100, 225, 0.4);
  font-size: 11px;
  font-style: italic;
  position: relative;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: inherit;
  transition: all 0.3s ease;
}

.subNav button:hover {
  color: white;
  background: 
  linear-gradient(rgba(50, 100, 225, 1), rgb(74,119,230));
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.subNav button.active-button {
  color: white;
  background: 
  linear-gradient(rgba(50, 100, 225, 1), rgb(74,119,230));
  border-left: 1px Solid white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}

.courseTitle {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  color: white;
  padding: 2px 10px;
  display: flex;
  align-items: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  animation: slideIn 2s ease-in-out forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.courseHeaderInfo {
  display: flex;
  flex-direction: row;
}

.courseHeaderInfoList {
  font-weight: normal;
  line-height: 25px;
  position: relative;
  margin: 0px 5px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
  z-index: 2;
}

.courseHeaderInfoList ul {
  list-style: none;
  padding: 10px;
  font-size: 14px;
}

.instructorNameHeader {
  font-size: 16px;
  margin-bottom: 10px;
}

.course-header-button {
  padding: 3px;
  margin: 5px 1px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  color: black;
  background-color: white;
  border: 1px Solid black;
  cursor: pointer;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.course-header-button:hover {
  background-color: rgb(175, 175, 175);
}

.dropdown {
  position: relative;
  width: 85%;
  margin: 30px auto;
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(50, 100, 225, 0.8);
  overflow: visible;
}

.dropdown-heading {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  display: flex;
  color: white;
  background: 
  linear-gradient(rgba(50, 100, 225, 1), rgb(117,150,235));
  cursor: pointer;
  border: none;
  border-radius: 5px 5px 0 0;
  justify-content: space-between;
  width: 100%;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.dropdown-content {
  display: block;
    background: 
  linear-gradient(rgba(50, 100, 225, 1), rgb(117,150,235));
  /* background-color: rgb(240, 234, 214); */
}

.homeInfoTab {
  z-index: 3;
  width: 580px;
  height: auto;
  margin: 20px auto;
  padding: 0px 0px;
  border-radius: 15px;
  background-color: rgb(240, 234, 214);
  border-bottom: 3px solid rgb(50, 100, 225);
  position: relative;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.8);
}

.homeInfoTabTitle {
  font-size: 18px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  box-shadow: 2px 8px 15px rgba(0, 0, 0, 0.5);
  padding: 10px;
  text-align: center;
  color: white;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(135deg,
      rgba(50, 100, 225, 0.8) 60%,
      rgba(210, 225, 250) 100%);
}

.pdfContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pdf-viewer {
  position: relative;
}

.nav-button {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  font-size: 24px;
}

.nav-button.left {
  left: 10px;
}

.nav-button.right {
  right: 10px;
}

.page-info {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 2;
  transition: opacity 0.3s;
  opacity: 1;
}

.pdf-viewer:hover .page-info {
  opacity: 0;
}

.pdf-viewer .react-pdf__Page {
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pdf-viewer .react-pdf__Page canvas {
  border-radius: 15px;
}

.pdf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: auto;
}

.pdf-overlay-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  z-index: 1001;
}

.pdf-overlay-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  max-width: 800px;
  width: 90%;
  max-height: 95vh;
  overflow-y: auto;
  margin-top: 20px;
}

.pdf-header-overlay {
  text-align: center;
  margin-bottom: 20px;
}

.pdf-header-overlay h3,
.pdf-header-overlay h4 {
  color: rgb(50, 100, 225);
}

.pdfContainer-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-button-overlay {
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  padding: 10px;
}

.nav-button-overlay.left-overlay {
  margin-right: 10px;
}

.nav-button-overlay.right-overlay {
  margin-left: 10px;
}

.pdf-viewer-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pdf-page-container-overlay {
  margin-bottom: 10px;
}

.page-info-overlay {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 2;
  transition: opacity 0.3s;
  opacity: 1;
}

.pdf-viewer-overlay:hover .page-info-overlay {
  opacity: 0;
}

.editor-container {
  width: 100% !important;
}

.custom-editor .ql-container {
  height: 200px !important;
  color: black;
  background-color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0);
}

.editor-container {
  margin-top: 10px;
}

.rich-text-content {
  padding: 30px;
  border-radius: 0 0 15px 15px;
  background-color: #fff;
  overflow: auto;
}

.imageContainer {
  cursor: pointer;
  height: auto;
  border-radius: 0 0 15px 15px;
}

.image-wrapper {
  border-radius: 0 0 15px 15px;
  background-color: #fff;
  overflow: auto;
}

element.style {
  cursor: pointer;
  display: block;
  height: auto;
  border-radius: 0 0 15px 15px;
}

.custom-editor .ql-toolbar {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0);
  background-color: rgb(218, 215, 215);
}

.custom-editor .ql-container {
  border: 1px solid #ccc;
  border-top: none;
}

.confirm-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  z-index: 10000;
}

.confirm-dialog {
  width: 250px;
  background: rgb(240, 243, 253);
  padding: 25px;;
  border-radius: 10px;
  text-align: center;
  opacity: 0;
  transform: translateY(-150px);
  /* Animate dropping down */
  animation: dropDown 0.5s ease-out forwards;
}

@keyframes dropDown {
  from {
    opacity: 0;
    transform: translateY(-150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.confirm-dialog {
  font-style: italic;
  color: black;
}

.confirm-dialog-buttons {
  display: flex;
  margin-top: 30px;
  justify-content: center;
}

.confirm-dialog-buttons button{
  font-size: 12px;
  padding: 5px 10px;
  margin: 0px 2px;
  border-radius: 3px;
  background-color: rgba(50, 100, 225, 0.8);
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.confirm-dialog-buttons button:hover {
  background-color: rgba(50, 100, 225, 0.6);
  /* transform: scale(1.05);  */
}
