/* Loader */
.loading {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.482);
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #1c1d1f;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#main-nav {
  z-index: 999;
}

.bottom-dweller {
	position: sticky;
  margin-top: 40px;
  margin-bottom: 100px;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: white;
	padding: 10px;
	text-align: center;
}

.bottom-dweller .time {
  position: static;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
}

#wrapper-footer {
  display: none;
}

.content-section {
	height: 100vh;
  overflow: auto;
}

.chapter-section {
	height: 100vh;
	border-left: 1px solid gray;
	padding: 0;
}

.chapter-section .course-header {
	padding: 10px;
	font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chapter-section .course-header button{
  background-color: transparent;
  border: none;
}

.chapter-section .chapter:hover {
	background-color: #f7f7f7;
}

.chapter-section .chapter button {
	/* background-color: rgba(195, 195, 195, 0.627); */
  background-color: #f7f9fa;
  color: #242527;
	width: 100%;
	border-radius: 0;
	padding: 17px 10px;
  border-top: 1px solid #e9ecee;
  border-bottom: 1px solid #e9ecee;
}

.chapter-section .chapter button:focus {
	outline: none;
	border: none;
	box-shadow: none;
}

.chapter-section .chapter .btn.collapsed .fa.fa-chevron-up {
  display: none;
}

.chapter-section .chapter .btn.collapsed .fa.fa-chevron-down {
  display: inline-block;
}

.chapter-section .chapter .btn .fa.fa-chevron-down {
  display: none;
}

.chapter-section .chapter .btn .fa.fa-chevron-up {
  display: inline-block;
}

.chapter-section .chapter .assessment {
	padding: 15px;
  cursor: pointer;
}

.chapter-section .chapter .assessment.active {
  background-color: #f4f2f2;
}

.chapter-section .chapter .assessment.disabled {
  color: #9e9a9a;
  background-color: #fff;
  cursor: not-allowed;
  pointer-events: none;
}

.chapter-section .chapter .assessment:not(.disabled):hover {
	background-color: #d2d7db;
}



.chapter-section .chapter .assessment span {
	margin-left: 10px;
}

.content-section {
	padding: 0;
  position: relative;
}

.content-section #quizOverlay {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-section #content {
	width: min(700px, 90%);
  margin: 0 auto;
}

.content-section #content.video-completed {
	display: flex;
  justify-content: center;
  /* align-items: center; */
  height: 100%;
  padding-top: 20px;
}

.content-section #content .multiple-choice {
  display: flex;
  align-items: baseline;
  padding-left: 15px;
}

.content-section #content .multiple-choice label {
  font-weight: lighter;
}

.content-section #content .qa {
  display: flex;
  align-items: center;
}

.content-section #content .qa i, .content-section #content .multiple-choice i {
  margin-left: 10px;
  display: none;
}

.content-section #content .qa.correct .fa-check {
  display: inline-block;
}

.content-section #content .qa.incorrect .fa-times {
  display: inline-block;
} 

.content-section #content input[type='text'] {
	width: min(400px, 90%);
	padding: 7px 10px;
	border-radius: 5px;
  border: 1px solid #ccc;
}

.content-section #content .qa.incorrect input {
  border: 1px solid red;
}

.content-section #content .qa.correct input {
  border: 1px solid green;
}

.content-section #content .multiple-choice.incorrect label {
  color: red;
}

.content-section #content .multiple-choice.correct label {
  color: green;
}

.content-section #content .multiple-choice.correct .fa-check {
  display: inline-block;
}

.content-section #content .multiple-choice.incorrect .fa-times {
  display: inline-block;
} 

.content-section #content .question {
  margin: 30px 0 20px;
  font-weight: bold;
}

.content-section #content .question p {
  display: inline-block;
  margin-bottom: 0;
}

.content-section #embedVideo {
  display: none;
}


.content-section #embedVideo.show {
	height: 450px;
  display: block;
}

.content-section #embedVideo.show.expand {
	height: 500px;
}

.content-section #videoDesc {
  padding: 20px;
}

/* Handle Video Overlay */
.content-section .video {
  position: relative;
}

.content-section .video.first-play #overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  cursor: pointer;

  font-size: 3.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.content-section .video.first-play #overlay .playButton {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(190, 190, 190, 0.525);
}

.content-section .video.first-play #overlay .playButton .fa-play {
  transform: translateX(7px);
}

.content-section .video.first-play .playing#overlay:hover .playButton {
  display: flex !important;
}

.content-section .video.first-play .playing#overlay:hover .fa-pause {
  display: block !important;
}


.chapter-expand-btn {
  position: fixed;
  right: 0;
  top: 200px;
  padding: 10px;
  border: 1px solid white;
  border-right: none;
  transform: translateX(120px);
  cursor: pointer;
  transition: all 0.3s;
  color: white;
  background-color: black;
  z-index: 1000;
}

.chapter-expand-btn:hover {
  transform: translateX(0);
}

.chapter-expand-btn i {
  font-size: 1.5rem;
}

.chapter-expand-btn span {
  margin-left: 10px;
}

#actionBtn {
  padding: 5px 35px;
  font-size: 1.5rem;
}

#actionBtn:disabled {
  cursor: not-allowed;
}

.question-help-btn {
  border: none;
  background-color: transparent;
  color: #27b1d9;
  font-weight: normal;
}

#helpVideo {
  height: 450px;
  max-height: 500px;
  border: 0;
  width: 100%;
}

.wpst-sticker-note {
  background-color: #fff2bf !important;
}