.minimum-sidebar {
  position: fixed;
  width: 4%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: white;
  border-right: 5px solid black;
  z-index: 10000;
}

.minimum-sidebar__icon {
  width: 100%;
  margin: 30% 0;
  text-align: center;
}

.minimum-sidebar__icon:hover .balloonPopUp {
  display: block;
}

.minimum-sidebar__icon .toggle {
  width: 100%;
  cursor: pointer;
}

.minimum-sidebar__icon .toggle img {
  width: 50%;
}

.sidebar {
  position: fixed;
  width: 320px;
  height: 100vh;
  top: 0;
  left: calc(4% - 320px);
  padding-top: 6vh;
  background-color: #f6f9fd;
  border: 1px solid #606060;
  scrollbar-width: none;
  transition: left 0.5s, right 0.5s;
  z-index: 11;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar--lesson {
  overflow-y: auto;
  padding-bottom: 6vh;
}

.sidebar--lesson.experience {
  background-color: #fff263;
}

.sidebar--lesson.beginner {
  background-color: #80deea;
}

.sidebar--lesson.basic {
  background-color: #fbc02d;
}

.sidebar--lesson.advanced {
  background-color: #aeea00;
}

.sidebar--lesson.extra {
  background-color: #c49000;
}

.sidebar--lesson .lessonlist-title {
  text-align: center;
  margin-top: 10%;
  font-size: 2rem;
}

.sidebar--guide {
  background-color: white;
  left: -320px;
}

.sidebar--compact ~ .minimum-sidebar {
  display: none;
}

.sidebar--pg {
  color: #eee;
  background-color: #606060;
  overflow-y: auto;
}

#sidebar-toggle:checked + .sidebar {
  left: 4%;
}

#sidebar-toggle:checked + .sidebar--compact {
  left: 0;
}

.lesson-list {
  width: 96%;
  padding-top: 10%;
  padding-bottom: 10%;
  margin-left: -3px;
  padding-left: 16px;
}

.filelist p.file_name {
  display: inline;
  padding-left: 2rem;
}

.filelist .menu-wrapper {
  position: relative;
  display: inline-block;
}

.filelist .menu-wrapper__btn {
  cursor: pointer;
}

.filelist .menu-wrapper__btn div#background_div {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

.filelist .menu-wrapper .menu-content {
  display: none;
  background-color: #eee;
  position: absolute;
  top: 2rem;
  right: -8rem;
  width: 12rem;
  padding: 1rem;
  border-radius: 5px;
  animation: fade-in 0.3s linear;
  font-size: 0.8rem;
  z-index: 100;
  box-shadow: 0px 2px 4px 0px #171717;
}

.filelist .menu-wrapper .menu-content__item {
  list-style-type: none;
  color: #131313;
  cursor: pointer;
  line-height: 2rem;
}

.filelist .menu-wrapper .menu-content__item .draft-pg {
  margin: 0;
  color: black;
}

.filelist .menu-wrapper .menu-content__item .draft-pg i {
  margin-right: 0.5rem;
}

.filelist .menu-wrapper .menu-content__item button {
  border: none;
  background: none;
  cursor: pointer;
}

.filelist .menu-wrapper .menu-content__item button i {
  margin-right: 0.5rem;
  width: 1rem;
}

.filelist .menu-wrapper .menu-content__item a {
  text-decoration: none;
  color: #000;
}

.filelist .menu-wrapper .menu-content__item a i {
  margin-right: 0.5rem;
  width: 1rem;
  text-align: center;
}

.filelist .menu-wrapper .menu-content.open {
  display: block;
}

.filelist .menu-wrapper .menu-btn {
  transition: all 0.5s;
}

.filelist .menu-wrapper .menu-btn.open {
  transform: rotate(90deg);
  color: orange;
}

.filelist .namelist__item {
  position: relative;
  width: 100%;
  height: 2rem;
  line-height: 2rem;
}

.filelist .namelist__item div.publish_toggle {
  padding: 0;
  margin-left: 1rem;
  height: 2rem;
  width: 10%;
  display: block;
  float: left;
}

.filelist .namelist__item div.publish_toggle span {
  display: block;
  height: 100%;
  width: 100%;
}

.filelist .namelist__item input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.filelist .namelist__item input[type="radio"]:checked + label {
  background-color: #333;
}

.filelist .namelist__item .editor-tab-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  cursor: pointer;
}

.filelist .namelist__item .editor-tab-label span {
  padding-left: 2rem;
}

.filelist .namelist__item .file_name_copy {
  margin-left: 2rem;
  visibility: hidden;
}

.filelist .namelist__item .image_filename {
  margin-left: 2rem !important;
}

.filelist .namelist__item button {
  border: none;
  background: none;
  cursor: pointer;
}

.filelist .namelist__item > button {
  position: relative;
  padding-left: 0.5rem;
  color: #eee;
  cursor: pointer;
  max-width: 70%;
  overflow: auto;
  white-space: nowrap;
  text-align: left;
}

.filelist .namelist__item--empty {
  background: #fbc658;
  width: 90%;
  margin: auto;
  border-radius: 4px;
  font-size: 0.8rem;
  padding: 0.4rem;
  font-weight: bold;
  color: #fff;
}

.filelist form {
  margin-top: 1rem;
}

.filelist__folder {
  padding-left: 1rem;
}

.filelist__file {
  padding-left: 1rem;
}

.draft-delete-modal {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.5);
}

.draft-delete-modal .modal-wrapper {
  position: absolute;
  margin: auto;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 20rem;
  z-index: 2001;
  transform: translate3d(-50%, -50%, 0);
}

.draft-delete-modal .modal-wrapper__icon {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

.draft-delete-modal .modal-wrapper__icon i {
  font-size: 2em;
  position: static;
  left: unset;
  top: unset;
  transform: unset;
}

.draft-delete-modal .modal-wrapper .modal-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
}

.draft-delete-modal .modal-wrapper .modal-msg__txt .main-msg {
  font-size: 2rem;
}

.draft-delete-modal .modal-wrapper .modal-msg__txt .sub-msg {
  font-size: 1rem;
}

.draft-delete-modal .modal-wrapper .modal-msg .btn-wrapper {
  display: flex;
  margin-top: 50px;
}

.draft-delete-modal .modal-wrapper .modal-msg .btn-wrapper__no-btn {
  width: 45%;
  margin: auto;
  background: #131313;
  border-bottom: solid 2px #3f3f3f;
}

.draft-delete-modal .modal-wrapper .modal-msg .btn-wrapper__yes-btn {
  width: 45%;
  margin: auto;
  background: #df1014;
  border-bottom: solid 2px #b80f12;
}

.img-list {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.5);
}

.img-list .modal-wrapper {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 80%;
  height: 80%;
  z-index: 2001;
  background-color: #fff;
  overflow: auto;
}

.img-list .modal-wrapper__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 100;
  cursor: pointer;
}

.img-list .modal-wrapper__icon i {
  font-size: 2em;
  position: static;
  left: unset;
  top: unset;
  transform: unset;
}

.img-list .modal-wrapper .modal-msg {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img-list .modal-wrapper .modal-msg__txt {
  text-align: center;
  margin-bottom: 16px;
}

.img-list .modal-wrapper .modal-msg__txt .main-msg {
  font-size: 2rem;
  margin-right: 24px;
  font-weight: bold;
}

.img-list .modal-wrapper .modal-msg__txt .sub-msg {
  font-size: 1rem;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper .add-img__form {
  float: left;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper .add-img__form img {
  height: 64vh;
  width: 50vw;
  object-fit: contain;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper .add-img__form p {
  font-size: 1.6rem;
  text-align: center;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper .add-img__list-item {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper .add-img__btn {
  position: absolute;
  font-size: 1.5rem;
  bottom: 0;
  right: 5%;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper form.add-img {
  width: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: column;
  flex-direction: column;
  max-height: 800px;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper form.add-img .btn-wrapper {
  width: calc(94% / 3);
  margin: 1%;
  border-radius: 24px;
  overflow: hidden;
  border: solid 2px #000;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper form.add-img .btn-wrapper img {
  width: 100%;
}

.img-list .modal-wrapper .modal-msg .btn-wrapper form.add-img .btn-wrapper span {
  font-size: 1rem;
  line-height: 2;
}

.lesson-setting-icon {
  width: 100%;
  position: absolute;
  margin: auto;
  bottom: 10%;
  left: 0;
}

.lesson-setting-icon i {
  font-size: 2.5rem;
}

.lesson-setting-icon img {
  width: 50%;
}

.beginner-icon img {
  width: 1.6rem;
}

#lessonlist .lesson-table {
  color: #eee;
}

#lessonlist .lesson-table__package {
  margin-left: 1rem;
}

#lessonlist .lesson-table__section {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

#lessonlist .lesson-table__item {
  margin-bottom: 0.5rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #eee;
}

#lessonlist .lesson-table__item .lesson-title {
  margin-left: 1rem;
  cursor: pointer;
}

#lessonlist .lesson-table__item .lesson-tree-title {
  display: none;
  margin-left: 2rem;
  animation: fade-in 0.3s;
  cursor: pointer;
}

#lessonlist .lesson-table__item .lesson-tree-title.in-lesson::after {
  position: relative;
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  font-weight: 900;
  left: 0.3rem;
  display: inline-block;
  transition: all 0.3s;
}

#lessonlist .lesson-table__item .lesson-tree-title.open {
  display: block;
}

#lessonlist .lesson-table__item .active::after {
  transform: rotate(90deg);
}

#lessonlist .lesson-table__item .lesson-drill-title {
  display: none;
  margin-left: 2rem;
  cursor: pointer;
  animation: fade-in 0.3s;
}

#lessonlist .lesson-table__item .lesson-drill-title::after {
  position: relative;
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  font-weight: 900;
  left: 0.3rem;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s;
}

#lessonlist .lesson-table__item .lesson-drill-title.open {
  display: block;
}

#lessonlist .lesson-table__item .lesson-drill-block {
  position: relative;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  display: none;
  animation: fade-in 0.3s;
}

#lessonlist .lesson-table__item .lesson-drill-block.active {
  display: block;
}

#lessonlist .lesson-table__item a {
  color: #eee;
}

#lessonlist .lesson-table__item.active {
  background: #131313;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

#lessonlist .main-card {
  border-radius: 0px 30px 30px 0px;
}

.publish_toggle {
  position: relative;
}

.publish_toggle input {
  display: none;
}

.publish_toggle label {
  width: 2rem;
  height: 1rem;
  box-sizing: border-box;
  border: 3px solid;
  float: left;
  border-radius: 100px;
  position: absolute;
  cursor: pointer;
  transition: 0.3s ease;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  background: #eee;
}

.publish_toggle input[type="checkbox"]:checked + label {
  background: orange;
}

.publish_toggle input[type="checkbox"]:checked + label:before {
  left: calc(1rem - 1px);
}

.publish_toggle label:before {
  transition: 0.3s ease;
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  margin: auto;
  left: -2px;
  top: 0;
  bottom: 0;
  box-sizing: border-box;
  border: 3px solid;
  color: #5f5f5f;
  border-radius: 100px;
  background: #5f5f5f;
}

.area-change-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}

.area-change-wrapper .area-change-content {
  display: flex;
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 32vw;
  height: 18vw;
  background-color: #fff;
  z-index: 100000;
}

.area-change-wrapper .area-change-close-wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -3rem;
  right: -3rem;
  font-size: 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #fcd59b;
  text-align: center;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
}

.area-change-wrapper .area-change-close {
  z-index: 10000000;
}

.area-change-wrapper #area-change-list-left,
.area-change-wrapper #area-change-list-right {
  width: 16vw;
  height: 18vw;
}

.area-change-wrapper #area-change-list-left div,
.area-change-wrapper #area-change-list-right div {
  position: relative;
  flex: 50%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  border: solid 5px orange;
  background-color: #fff;
  color: orange;
  cursor: pointer;
}

.area-change-wrapper #area-change-list-left div.sortable-chosen,
.area-change-wrapper #area-change-list-right div.sortable-chosen {
  color: #fff;
  background-color: orange;
}

.area-change-wrapper .sortable-handle {
  position: absolute;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  left: 0.5rem;
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 3px orange solid;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
}

.area-change-wrapper.open {
  display: block;
}
