.modal h1 {
  font-size: 22px;
}

.modal-content {
  border-radius: 15px !important;
  border: none !important;
}

.modal-footer-center {
  justify-content: center;
  padding-bottom: 40px !important;
}

.modal-footer-center .main-btn {
  margin-top: 30px !important;
}

.subject-fail-img {
  width: 200px;
  margin-top: 20px;
}

/* 중복된 과목 모달 */
.modaltype02 {
  --bs-modal-width: 1024px;
}

.modaltype02 .modal-header,
.modaltype02 .modal-footer {
  border: none;
}

.modaltype02 .modal-footer {
  padding-bottom: 50px;
  justify-content: center !important;
}

.modaltype02 .modal-body {
}

.modaltype02 h1 {
  font-size: 30px;
  text-align: center;
  font-weight: 600;
}

.h1-sub-p {
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
}

.duplicate-ul {
  margin-top: 60px;
}

.duplicate-ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-top: 24px;
}

.duplicate-ul li:nth-child(1) {
  margin-top: 0;
}

.duplicate-ul li div {
  margin-right: 20px;
}

.duplicate-ul li div:last-child {
  margin-right: 0;
}

.duplicate-ul-name {
  font-weight: 700;
}

/* 과목 추가 신청이 완료 되었습니다! */
.subject-success {
  --bs-modal-width: 800px;
}

.subject-success h1 {
  font-size: 30px;
  text-align: center;
  font-weight: 600;
}

.subject-success .modal-header,
.subject-success .modal-footer {
  border: none;
}

.subject-success .modal-footer {
  padding-bottom: 50px;
  justify-content: center !important;
}

.success-people {
  text-align: center;
  margin-top: 20px;
}

/* 부정시 모달 */
.subject-fail {
  --bs-modal-width: 600px;
}

.subject-fail h1 {
  font-size: 30px;
  text-align: center;
  font-weight: 600;
}

.subject-fail .modal-header,
.subject-fail .modal-footer {
  border: none;
}

.subject-fail .modal-footer {
  padding-bottom: 50px;
  justify-content: center !important;
}

.subject-fail .main-btn {
  margin-top: 0 !important;
}

.success-people {
  text-align: center;
  margin-top: 20px;
}

/* 전체 시간표 확인하기 */
.serve-timetable01 {
  --bs-modal-width: 1580px !important;
}

.serve-timetable01 .timetableContent-list {
  margin-top: 20px;
}

.table-infoDiv-div-ul {
  max-height: 200px;
  overflow-y: scroll;
}

/* Webkit 브라우저용 스크롤바 */
.table-infoDiv-div-ul::-webkit-scrollbar {
  width: 5px; /* 스크롤바 너비 */
}

.table-infoDiv-div-ul::-webkit-scrollbar-track {
  background: #f1f1f1; /* 스크롤바 트랙 배경 */
  border-radius: 5px;
}

.table-infoDiv-div-ul::-webkit-scrollbar-thumb {
  background: #c0c0c0; /* 스크롤바 핸들 */
  border-radius: 5px;
}

.table-infoDiv-div-li {
  margin-top: 5px;
}

.table-infoDiv-div-li:nth-child(1) {
  margin-top: 0;
}

.table-infoDiv-div {
  width: 100%;
  background-color: #fff;
  border-radius: 4px;
  padding: 6px 10px;
}

.table-infoDiv-div p {
  font-size: 14px;
  word-break: keep-all;
  line-height: 21px;
  text-align: center;
}

.table-infoDiv-div p:nth-child(2) {
  font-size: 12px;
  font-weight: 300;
}

.serve-timetable01 .modal-footer {
  border-top: none;
}

/* 과목 추가 신청하기 */
.serve-timetable-apply {
  --bs-modal-width: 1580px !important;
}

.serve-timetable-apply .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.serve-timetable-apply .modal-footer {
  border-top: none;
}

.serve-timetable-apply .stepContainer-infobox {
  margin-top: 0;
}

/* 숙제 관련 */
.homeworkmodal .commentDiv {
  margin-top: 0;
}

.homeworkmodal .modal-dialog {
  max-width: 1100px;
}

.homeworkmodal .modal-header {
  align-items: self-start !important;
  border: none;
  padding: 30px;
  padding-bottom: 10px;
}

.homeworkmodal .modal-header h1 {
  margin-top: 6px;
  font-weight: 600;
  font-size: 26px !important;
}

.homeworkmodal .modal-body {
  padding: 30px;
  padding-top: 0;
}

.homeworkmodal-content {
  border-top: 2px solid #000;
  padding-top: 40px;
}

.homeworkimgbox {
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-top: 6px;
  padding: 50px 40px;
}

.upload-btn-p {
  font-size: 24px;
  color: #828282;
  margin-top: 20px;
}

.upload-btn-p span {
  font-size: 18px;
}

.upload-btn-p:hover {
  color: #005197;
}

#image-preview {
  width: 100%;
  overflow: hidden;
}

.add-photo-btn {
  position: relative;
  font-size: 24px;
  font-weight: 500;
  color: #005197;
  width: 130px;
  height: 34px;
  margin: 0 auto;
  margin-top: 30px;
  left: -30px;
}

.add-photo-btn:after {
  content: '';
  display: block;
  position: absolute;
  right: -15px;
  top: 3px;
  width: 28px;
  height: 28px;
  background-image: url('/images/serve/add-photo-btn.png');
}

.homeworkmodal .allimgDelete {
  display: flex;
  justify-content: end;
  margin-top: 36px;
}

.homeworkmodal .allimgDelete button {
  display: flex;
  align-items: center;
}

.homeworkmodal .allimgDelete button:hover {
  color: #fa2d2d;
}

.homeworkmodal .allimgDelete button span {
  margin-left: 4px;
}

.homeworkmodal .imgbox {
  position: relative;
  margin-top: 20px;
  width: 680px;
  margin: 20px auto 0;
}

.homeworkmodal .imgbox img {
  width: 100%;
}

.homeworkmodal .imgbox:nth-child(1) {
  margin-top: 0;
}

.homeworkmodal .delete-btn {
  position: absolute;
  right: 0;
  top: 0;
}

.homeworkmodal .delete-btn img {
  width: 21px !important;
  height: 21px !important;
}

.homeworkmodal .modal-footer {
  border: none;
}

.homeworkmodal .modal-footer button {
  margin-top: 0 !important;
}

.homeworkbut-blue-span {
  color: #2e8bf9;
}

/* 다시 제출필요 */
.homeworkbut-retry-span {
  display: inline-block;
  font-size: 16px;
  color: #ff2b2b;
  padding: 6px 8px;
  background-color: #ffefef;
  border-radius: 3px;
  margin-right: 8px;
}
