.lesson-schedule-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; }

.lesson-schedule {
  min-width: 480px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px; }

.schedule-header {
  display: flex;
  border-bottom: 1px solid #ccc;
  background: #f5f5f5; }

.schedule-time-header {
  width: 60px;
  min-width: 60px;
  padding: 8px 0; }

.schedule-col-header {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  border-left: 1px solid #ccc; }
  .schedule-col-header:last-child {
    flex: 0 0 100px;
    min-width: 100px; }

.schedule-body {
  display: flex;
  position: relative;
  padding-top: 10px; }

.schedule-time-column {
  width: 60px;
  min-width: 60px; }

.schedule-time-slot {
  height: 48px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateY(-8px); }

.schedule-day-column {
  flex: 1;
  position: relative;
  height: 480px;
  border-left: 1px solid #ccc;
  background-image: repeating-linear-gradient(to bottom, transparent, transparent 23px, transparent 23px, transparent 47px, #e0e0e0 47px, #e0e0e0 48px);
  background-size: 100% 48px; }
  .schedule-day-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(to bottom, transparent, transparent 23px, #ccc 23px, transparent 24px);
    background-size: 100% 48px;
    pointer-events: none;
    -webkit-mask-image: repeating-linear-gradient(to right, black 0px, black 4px, transparent 4px, transparent 8px);
    mask-image: repeating-linear-gradient(to right, black 0px, black 4px, transparent 4px, transparent 8px); }

.schedule-lessons {
  position: relative;
  height: 100%;
  padding: 0 2px; }

.schedule-lesson {
  position: absolute;
  left: 2px;
  right: 2px;
  border-radius: 4px;
  padding: 6px 8px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  box-sizing: border-box;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff; }
  .schedule-lesson.schedule-lesson-private {
    background-color: #607D8B; }
  .schedule-lesson.schedule-lesson-group {
    background-color: #2196F3; }

.schedule-lesson-label {
  line-height: 1.3;
  word-break: break-all; }

.schedule-lesson-time {
  font-size: 12px;
  font-weight: 500;
  opacity: 1;
  margin-top: 2px; }

.schedule-day-column[data-day="sunday"] {
  flex: 0 0 100px;
  min-width: 100px; }

.schedule-sunday-note {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  padding: 16px 8px;
  text-align: center;
  line-height: 1.6; }

@media (max-width: 767px) {
  .lesson-schedule {
    min-width: 340px; }

  .schedule-time-header,
  .schedule-time-column {
    width: 40px;
    min-width: 40px; }

  .schedule-col-header {
    font-size: 11px;
    padding: 8px 2px; }
    .schedule-col-header:last-child {
      flex: 0 0 70px;
      min-width: 70px; }

  .schedule-time-slot {
    font-size: 10px;
    padding: 0 2px; }

  .schedule-lesson {
    font-size: 9px;
    padding: 2px 3px;
    line-height: 1.1; }

  .schedule-lesson-label {
    line-height: 1.1; }

  .schedule-lesson-time {
    font-size: 8px;
    margin-top: 1px;
    line-height: 1.1; }

  .schedule-day-column[data-day="sunday"] {
    flex: 0 0 70px;
    min-width: 70px; }

  .schedule-sunday-note {
    font-size: 10px;
    padding: 6px 2px;
    line-height: 1.3; } }
