.sidebar {
  background: #fefdf9;
  height: 100%;
  position: relative;
  -webkit-box-shadow: 0 0 3px #c7c3be;
  box-shadow: 0 0 3px #c7c3be;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -o-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  font: 16px 'AvenirNextLTPro-Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  z-index: 0;
}
.sidebar i[class^='icon-'],
.sidebar i[class*='icon-'] {
  font-size: 18px;
  color: #c7c3be;
}
.sidebar i[class^='icon-']:hover,
.sidebar i[class*='icon-']:hover {
  color: #454442;
}
.sidebar-body {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -o-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  color: #524e47;
}
.sidebar-footer {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -o-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  padding: 0 12px;
  background: #fefdf9;
}
.sidebar-last-saved {
  display: inline-block;
  font-size: 12px;
  color: #c7c3be;
  line-height: 30px;
}
.sidebar-last-saved:before {
  content: 'last saved ';
}
.sidebar-last-saved:after {
  content: ' ago';
}
.sidebar-course-title-container {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -o-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  line-height: 26px;
  font-weight: bold;
  position: relative;
  padding: 12px 24px;
}
.sidebar-course-title-edit-icon {
  position: absolute;
  right: 5px;
  top: 16px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: opacity 200ms ease-in-out;
  -moz-transition: opacity 200ms ease-in-out;
  -o-transition: opacity 200ms ease-in-out;
  -ms-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
}
.sidebar-course-title-container:hover .sidebar-course-title-edit-icon {
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.sidebar-course-title {
  color: #524e47;
  font-size: 18px;
  cursor: pointer;
}
.sidebar-course-title[contenteditable=true] {
  outline: 1px solid #e4e3e0;
  cursor: text;
  background: #fff;
}
.sidebar-course-title:hover:not([contenteditable=true]) {
  color: #35968a;
}
input.sidebar-course-title-input {
  font: 18px 'AvenirNextLTPro-Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
}
.sidebar-course-title-options-toggle {
  position: absolute;
  left: 6px;
  top: 13px;
  cursor: pointer;
}
.sidebar-course-title-options-dropdown {
  position: absolute;
  top: 30px;
  left: 5px;
  right: 5px;
}
.sidebar-course-title-options-dropdown-list {
  position: relative;
  z-index: 1002;
  background: #fff;
  padding: 10px 20px;
  top: 8px;
  -webkit-box-shadow: 0 0 3px #c7c3be;
  box-shadow: 0 0 3px #c7c3be;
  font-size: 14px;
  font-weight: normal;
}
.sidebar-lesson-title {
  font-size: 16px;
  line-height: 26px;
  white-space: nowrap;
  padding: 7px 7px 7px 30px;
  background-color: #fff;
  border-top: 1px solid #f2f1ed;
}
.sidebar-lesson-title:hover {
  color: #7c7975;
}
.sidebar-lesson-editable .sidebar-lesson-title,
.sidebar-lesson-disabled .sidebar-lesson-title {
  padding-right: 28px;
}
.sidebar-lesson-title-readonly {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
input.sidebar-lesson-title-input {
  font: 16px 'AvenirNextLTPro-Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 26px;
}
input.sidebar-course-title-input,
input.sidebar-lesson-title-input {
  border: none;
  background: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: 1px solid #c7c3be;
  outline-offset: 0;
  padding: 1px;
  margin: -1px;
  width: 100%;
  background: #fff;
}
.sidebar-section-title {
  font-size: 12px;
  line-height: 26px;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 42px;
  padding-right: 7px;
  cursor: pointer;
}
.sidebar-section-title:first-child {
  border-top: 1px solid #f2f1ed;
}
.sidebar-section-title:last-child {
  padding-bottom: 7px;
}
.sidebar-section-title:hover {
  color: #7c7975;
}
.sidebar-lesson {
  font-size: 16px;
  position: relative;
  -webkit-transition: background 120ms ease-in-out;
  -moz-transition: background 120ms ease-in-out;
  -o-transition: background 120ms ease-in-out;
  -ms-transition: background 120ms ease-in-out;
  transition: background 120ms ease-in-out;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.sidebar-lesson:before {
  content: '';
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-left: 0px solid #c7c3be;
}
.sidebar-lesson:last-child {
  border-bottom: 1px solid #f2f1ed;
}
.sidebar-lesson-drag-handle,
.sidebar-lesson-delete-button,
.sidebar-lesson-edit-button {
  position: absolute;
  top: 11px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: opacity 200ms ease-in-out;
  -moz-transition: opacity 200ms ease-in-out;
  -o-transition: opacity 200ms ease-in-out;
  -ms-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
}
.sidebar-lesson-hovered .sidebar-lesson-drag-handle,
.sidebar-lesson-hovered .sidebar-lesson-delete-button,
.sidebar-lesson-hovered .sidebar-lesson-edit-button {
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.sidebar-lesson-drag-handle {
  left: 9px;
  cursor: move;
}
.sidebar-lesson-edit-button {
  margin-right: -2px;
  right: 9px;
}
.sidebar-lesson-delete-button {
  left: 9px;
  display: none;
}
.sidebar-lesson.sidebar-lesson-editing .sidebar-lesson-edit-button,
.sidebar-lesson.sidebar-lesson-editing .sidebar-lesson-delete-button {
  opacity: 1;
  -ms-filter: none;
  filter: none;
  display: block;
  z-index: 1000;
}
.sidebar-lesson.sidebar-lesson-editing .sidebar-lesson-drag-handle {
  display: none;
}
.sidebar-lesson-lock {
  display: none;
}
.sidebar-lesson.sidebar-lesson-disabled .sidebar-lesson-lock {
  display: block;
  position: absolute;
  top: 12px;
  right: 9px;
}
.sidebar-lesson.sidebar-lesson-disabled {
  opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  cursor: default;
}
.sidebar-lesson.sidebar-lesson-disabled .sidebar-lesson-drag-handle,
.sidebar-lesson.sidebar-lesson-disabled .sidebar-lesson-delete-button,
.sidebar-lesson.sidebar-lesson-disabled .sidebar-lesson-edit-button {
  display: none;
}
.sidebar-lesson-title,
.sidebar-section-title {
  -webkit-transition: color 250ms;
  -moz-transition: color 250ms;
  -o-transition: color 250ms;
  -ms-transition: color 250ms;
  transition: color 250ms;
}
.sidebar-lesson-title:hover,
.sidebar-section-title:hover {
  background-color: #f8f7f1;
}
.sidebar-section-title.sidebar-toc-active {
  color: #524e47;
}
.sidebar-section-title.sidebar-toc-progressed {
  background-color: #f8f7f1;
}
.sidebar-lesson.sidebar-toc-active:before {
  border-left-width: 5px;
  -webkit-transition: border 250ms;
  -moz-transition: border 250ms;
  -o-transition: border 250ms;
  -ms-transition: border 250ms;
  transition: border 250ms;
}
.sidebar-lesson.sidebar-toc-active .sidebar-lesson-title {
  color: #524e47;
}
.sidebar-lesson.sidebar-toc-progressed .sidebar-lesson-title {
  background-color: #f8f7f1;
}
.sidebar-dragging-some-lesson .sidebar-lesson-drag-handle,
.sidebar-dragging-some-lesson .sidebar-lesson-delete-button,
.sidebar-dragging-some-lesson .sidebar-lesson-edit-button {
  display: none;
}
.sidebar-lesson-dragging {
  height: 0;
  overflow: hidden;
  border: none;
}
.sidebar-lesson-drag-image {
  position: fixed;
  opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  z-index: 1000000;
  pointer-events: none;
}
.sidebar-lesson-drop-target {
  border-bottom: 2px solid #3e9287;
  position: absolute;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}
.sidebar-add-lesson {
  display: block;
  line-height: 26px;
  padding: 7px 7px 7px 30px;
  text-decoration: none;
}
.sidebar-add-lesson:hover {
  color: #385455;
}
.sidebar-placeholder-text {
  color: #c7c3be;
}
.sidebar-scrollbar {
  -webkit-overflow-scrolling: touch;
  scrollbar-track-color: #fefdf9;
  scrollbar-base-color: #eae9e7;
  scrollbar-arrow-color: #fefdf9;
  scrollbar-face-color: #eae9e7;
  scrollbar-3dlight-color: #eae9e7;
  scrollbar-highlight-color: #eae9e7;
  scrollbar-shadow-color: #eae9e7;
  scrollbar-dark-shadow-color: #eae9e7;
}
.sidebar-scrollbar:hover {
  scrollbar-base-color: #c7c3be;
  scrollbar-arrow-color: #eae9e7;
  scrollbar-face-color: #c7c3be;
  scrollbar-3dlight-color: #c7c3be;
  scrollbar-highlight-color: #c7c3be;
  scrollbar-shadow-color: #c7c3be;
  scrollbar-dark-shadow-color: #c7c3be;
}
.sidebar-scrollbar::-webkit-scrollbar {
  height: 9px;
  width: 9px;
}
.sidebar-scrollbar::-webkit-scrollbar-button:start:decrement,
.sidebar-scrollbar::-webkit-scrollbar-button:end:increment {
  background: transparent;
  display: none;
}
.sidebar-scrollbar::-webkit-scrollbar-track-piece {
  background: #fefdf9;
}
.sidebar-scrollbar::-webkit-scrollbar-thumb:vertical,
.sidebar-scrollbar::-webkit-scrollbar-thumb:horizontal {
  display: block;
  height: 50px;
  background-color: #eae9e7;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  -ms-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.sidebar-scrollbar:hover::-webkit-scrollbar-thumb:vertical,
.sidebar-scrollbar:hover::-webkit-scrollbar-thumb:horizontal {
  background-color: #c7c3be;
}
