/* import */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");
@import url("https://cdn.jsdelivr.net/npm/xeicon@2.3.3/xeicon.min.css");

/* CSS */
:root {
  /* 230711 */
  --point: #537eeb;
  --point-rgb: 83, 126, 235;
  --point-light: #eef3fd;
  --point-dark: #294daa;
  --point-border-light: #d7e1fa;
  --point-dark-light: #697698;
  --default-color: #3c4651;
  --nm-fz: 14px;
  --sm-fz: 12px;
  --ct-btn-h: 40px;
  --ct-form-h: 32px;
  --menu-disabled: #95999d;
  --hover-color: #f7f7f7;
  --page-title-h: 80px;
  --topbar-h: 80px;
  --leftside-w: 287px;
  --leftside-max-w: 288px;
  --condensed-width: 69px;
  --content-max-w: 1010px;
  --ct-padding: 24px;
  --card-margin: 40px;
  --scrollbar-bg: rgba(var(--ct-secondary-rgb), 0.25);
  --content-bg: #fafbfc;
  --ct-bdrad: 7px;
  --ct-form-w: 180px;
  --list-h: 45px;
  --ct-btnTest: 89px;
  --modal-w: 720px;
  --modal-full: 980px;
  --modal-full-right: 500px;
  --search-wrap-h: 57px;
  --form-disabled: #f6f7f7;
  --jstree-h: 40px;

  /* 80%로 할 경우 화면 배율(100%, 110% ...)에 따라 높이가 달라져서 px로 고정 */
  --modal-max-h: 895px;

  --board-img-margin: 7px;
  --board-img-max-w: 420px;

  /* step1 renewal */
  --step1-bottom-h: 116px;
  --step1-gap: 20px;
  --step1-ratio-box: 170px;
  --step1-ratio-gap: 12px;
  --step1-exclude-test: 215px;

  /* --table-num: 165px; */
  --table-num: 150px;
  --table-status: 100px;
  --table-action: 120px;
  --table-long: 190px; /* 학생개별코칭-학습기간 길이 기준 */
  --table-checkbox: 60px;
  --table-download: 90px;

  /* 바닥에 여백을 줘서 너무 딱 붙어있는 느낌이 들지 않게 하기 위한 용도 - 23.07.22 hyewon */
  --page-mg: 7px;

  /* margin */
  --ct-margin: 24px;
  --ct-mb-1: 0.375rem;
  --ct-mb-2: 0.75rem;
  --ct-mb-3: 1.5rem;

  /* pagination */
  --ct-page-h: calc(calc(34px + var(--ct-mb-3)) + var(--ct-margin));

  /* shadow */
  --ct-card-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  --ct-card-shadow: 0 0 5px rgba(0, 0, 0, 0.03);

  /* bg */
  --ct-modal-bg: rgba(var(--ct-dark-rgb), 0.7);

  /* table */
  --ct-table-pd: 10px;

  /* board */
  /* --ct-board-padding: 32px; */
  --ct-board-padding: 15px;
  --ct-board-title: 50%;
  --ct-board-title-12: 480px;
  --ct-board-height: 50px;

  /* hover color */
  --ct-primary-hover: #6169d0;
  --ct-secondary-hover: #5c636a;

  /* lighten color */
  --ct-primary-lighten: rgba(var(--ct-primary-rgb), 0.1);
  --ct-secondary-lighten: rgba(var(--ct-secondary-rgb), 0.1);
  --ct-success-lighten: rgba(var(--ct-success-rgb), 0.1);
  --ct-info-lighten: rgba(var(--ct-info-rgb), 0.1);
  --ct-danger-lighten: rgba(var(--ct-danger-rgb), 0.1);
  --ct-warning-lighten: rgba(var(--ct-warning-rgb), 0.1);
  --ct-orange-lighten: rgba(253, 126, 20, 0.1);

  --ct-danger-border-light: #f8d5dc;
  --ct-warning-border-light: #ffe7a2;
  --ct-success-border-light: #a9f5df;

  --ct-gutter-x: 24px;
  --ct-gutter-y: 0;
}

/* ### Reset CSS ### */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
textarea {
  resize: none;
}
label {
  font-size: var(--nm-fz);
}
em {
  font-style: normal;
}
pre {
  font-family: "Pretendard Variable";
}

/* ### Default CSS ### */
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-bg) transparent;
}
body {
  background: #f8f7f5;
  font-family: "Pretendard Variable";
  letter-spacing: -0.5px;
  font-size: var(--nm-fz);
  color: var(--default-color);
}
body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) {
  min-height: 100vh;
  max-height: 100vh;
}
a {
  font-size: var(--nm-fz);
  color: var(--default-color);
}
.resize-none {
  resize: none;
}
input[type="num"]::-webkit-inner-spin-button,
input[type="num"]::-webkit-outer-spin-button {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

/* 스크롤바 */
::-webkit-scrollbar {
  background: transparent;
  width: 7px;
  height: 7px;
  display: none;
}
::-webkit-scrollbar-thumb {
  border-radius: 30px !important;
  background: transparent;
}
::-webkit-scrollbar-button {
  display: none;
}
/* ::-webkit-scrollbar-button:end:increment {
    background: #fff;
    height: 4px;
} */

/* input[type=number] */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ### bootstrap ### */
/* --- display --- */
.search-d-none {
  display: none;
}
.custom-hide,
.search-d-none,
.d-none {
  opacity: 0;
  visibility: hidden;
}
.flex-column {
  flex-direction: column;
}
.flex-veritcal {
  flex-direction: row;
}
.gap-1 {
  gap: 5px !important;
}
.gap-2 {
  gap: 10px !important;
}
.o-auto {
  overflow: auto;
}
.ox-auto {
  overflow-x: auto;
}
.oy-auto {
  overflow-y: auto;
}
:is(.o-auto, .ox-auto, .oy-auto)::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

/* --- width & height --- */
.form-w {
  width: var(--ct-form-w) !important;
}
.form-h {
  height: var(--ct-form-h) !important;
  line-height: var(--ct-form-h);
}
.h-100 {
  height: 100%;
}
.btn-h {
  height: var(--ct-btn-h) !important;
  line-height: var(--ct-btn-h);
}

/* --- margin & padding --- */
.custom-card-mb {
  margin-bottom: var(--card-margin);
}
.custom-page-mg {
  padding-bottom: var(--page-mg) !important;
}

/* --- icon --- */
.dripicons-dots-3 {
  color: var(--ct-text-muted);
}

/* icon 안내 */
.custom-guide-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.custom-guide-icon i {
  font-weight: 400;
  color: var(--ct-text-muted);
}
.custom-guide-text {
  min-width: 225px;
  left: calc(100% + 7px);
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  border-radius: var(--ct-bdrad);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #fff;
  line-height: 1.25em;
  font-weight: 600;
  font-size: var(--sm-fz);
  color: var(--ct-text-muted);
  z-index: 10;
  display: none;
}
.custom-guide-icon:hover .custom-guide-text {
  display: block;
  position: absolute;
}

/* --- img --- */
img[class*="avatar"],
.custom-emoji {
  object-fit: cover;
}
.account-user-avatar,
.avatar-sm {
  width: 40px;
  height: 40px;
}
.custom-emoji {
  width: 20px;
}

/* --- background --- */
:is(.bg-point, .bg-secondary, .bg-success, .bg-danger),
:is(.bg-point, .bg-secondary, .bg-success, .bg-danger):hover {
  color: #fff;
}
.bg-point {
  background: var(--point);
}
.bg-point-light {
  background: var(--point-light);
  color: var(--point);
}
.bg-point-outline {
  background: #fff;
  border: 1px solid var(--point) !important;
  color: var(--point);
}
.bg-secondary-lighten {
  background: var(--ct-secondary-lighten) !important;
  color: var(--ct-secondary);
}
.bg-success-lighten {
  background: var(--ct-success-lighten) !important;
  color: var(--ct-success);
}
.bg-danger-lighten {
  background: var(--ct-danger-lighten) !important;
  color: var(--ct-danger);
}
.bg-info-lighten {
  background: var(--ct-info-lighten) !important;
  color: var(--ct-info);
}
.bg-warning-lighten {
  background: var(--ct-warning-lighten) !important;
  color: var(--ct-warning);
}
.bg-point-outline:hover,
.bg-point-light:hover {
  color: var(--point);
}
.bg-point-outline:hover {
  opacity: 0.8;
}
.bg-primary-lighten {
  background: var(--point-light) !important;
  color: var(--point);
}

/* --- text --- */
/* color */
.custom-text-point {
  color: var(--point);
}
.custom-must-fill {
  color: var(--ct-danger);
}

/* text-overflow */
[class*="custom-elps-"] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
}
.custom-elps-1 {
  -webkit-line-clamp: 1;
}
.custom-elps-2 {
  -webkit-line-clamp: 2;
}

/* guide */
.custom-guide {
  margin: 0 0 30px;
  padding: 14px;
  border-radius: var(--ct-bdrad);
  background: var(--point-light);
  border: 1px solid var(--point-border-light);
  font-weight: 400;
  font-size: 13px;
  color: var(--point-dark-light);
}

/* link */
.faq-link {
  text-decoration: underline;
  font-weight: 700;
}
.faq-link:hover {
  color: var(--default-color);
  opacity: 0.8;
}
.custom-guide .faq-link,
.custom-guide .faq-link:hover {
  color: var(--point-dark);
}
.custom-guide .faq-link {
  font-size: inherit;
}

/* --- cursor --- */
.cursor-pointer {
  cursor: pointer;
}
.cursor-none {
  pointer-events: none;
}

/* --- form --- */
.form-control,
.form-select {
  border-radius: var(--ct-bdrad) !important;
}
:is(input.form-control, select.form-select, span.form-select, .select2) {
  width: var(--ct-form-w);
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  padding-top: 0;
  padding-bottom: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form-control:disabled,
.form-control[readonly],
.form-select:disabled,
.form-select[readonly],
.form-check-input[disabled],
.form-check-input[readonly] {
  background: var(--form-disabled);
  border-color: var(--ct-border-color);
  text-align: left;
}
.form-check-input:disabled ~ .form-check-label,
.form-check-input[disabled] ~ .form-check-label {
  opacity: 0.75;
}
span.form-control {
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
  padding-top: 0;
  padding-bottom: 0;
}
div.form-control,
textarea.form-control,
pre.form-control {
  min-height: 100px;
  border-radius: var(--ct-bdrad);
  font-size: 14px;
  overflow: auto;
}
textarea.form-control::-webkit-scrollbar-thumb {
  background: var(--ct-light);
}
.form-select::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.form-check-input,
.form-check-input + label {
  cursor: pointer;
}
.form-check-input {
  width: 20px;
  height: 20px;
  margin: 0 4px 0 0;
  transform: translateY(-1px);
  vertical-align: middle;
  border-color: var(--ct-border-color);
}
.form-check-input:checked {
  background-color: var(--point);
}
.form-check-input:disabled,
input:disabled + label {
  opacity: 0.94;
}
.form-disabled {
  background: var(--form-disabled);
  border: 1px solid var(--ct-border-color);
  color: var(--ct-text-muted);
}
.form-range::-webkit-slider-runnable-track {
  /* background: var(--ct-light); */
  height: 6px;
}
.form-range::-webkit-slider-thumb,
.form-range:focus::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  transform: translateY(1px);
  background: var(--point);
  position: relative;
  z-index: 1;
}

/* --- CUSTOM form --- */
.custom-form-control,
.custom-form-select {
  position: relative;
  flex: 1;
}
.custom-form-select {
  height: 65px;
  padding: 31px 0 4px;
  border: 1px solid var(--ct-border-color);
  border-radius: var(--ct-bdrad);
}
:is(.custom-form-control, .custom-form-select) > span:not(.select2) {
  position: absolute;

  /* 100% - (border width + scrollbar width) */
  width: calc(100% - calc(2px + 14px));

  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px calc(0.9rem - calc(1px + 7px)) 0;
  background: #fff;
  border-radius: var(--ct-bdrad);
  font-size: 13px;
  color: var(--ct-text-muted);
  z-index: 1;
}
:is(.custom-form-control, .custom-form-select) > span.disabled {
  background: var(--form-disabled);
}
.custom-form-control .form-control,
.custom-form-select .form-select {
  width: 100%;
  font-size: 15px;
  color: var(--default-color);
}
.custom-form-control input.form-control {
  height: 65px;
}
.custom-form-control .form-control {
  padding-top: 37px !important;
  padding-bottom: 17px !important;
}
.custom-form-select select.form-select {
  background-position: right 0.9rem bottom 16px;
  border: none !important;
}
.custom-form-select .select2 {
  position: absolute;
  height: calc(65px - 2px);
  top: 0;
  left: 0;
  line-height: calc(65px + 22px);
  font-size: 15px;
}
.custom-form-select .select2-container .select2-selection--single {
  border: none;
}
.custom-form-select
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 12px;
}
.custom-form-control textarea.form-control {
  height: 130px;
}

/* CUSTOM select */
.form-select[readonly] + .select2 {
  pointer-events: none;
}
.form-select[readonly] + .select2.select2-container .select2-selection--single {
  background: var(--form-disabled);
}
.select2.select2-container {
  min-width: var(--ct-form-w);
}
.select2 > .selection {
  display: block;
  width: 100%;
  height: 100%;
}
.select2-container--default .select2-search--dropdown {
  display: none;
}
.select2-container .select2-selection--single {
  height: inherit;
  line-height: inherit;
  border-radius: var(--ct-bdrad);
  border-color: var(--ct-border-color);
}
.select2-container .select2-selection--single .select2-selection__rendered,
.select2-container .select2-selection--single .select2-selection__arrow {
  height: 100%;
  line-height: inherit;
}
.select2-container--open .select2-dropdown.select2-dropdown--below {
  top: 5px;
  border-top: 1px solid var(--ct-border-color);
}
.select2-container--default.select2-container--open.select2-container--below
  .select2-selection--multiple,
.select2-container--default.select2-container--open.select2-container--below
  .select2-selection--single {
  border-bottom-left-radius: var(--ct-bdrad);
  border-bottom-right-radius: var(--ct-bdrad);
}
.select2-container--open .select2-dropdown--below {
  border-radius: var(--ct-bdrad);
  overflow: hidden;
}
.select2-container--default .select2-results > .select2-results__options {
  max-height: 300px;
  padding: 7px;
}
.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.select2-container--default .select2-results__option[aria-selected="true"] {
  background: transparent;
  border-radius: var(--ct-bdrad);
  font-size: 14px;
  color: var(--default-color);
}
.select2-container--default
  .select2-results__option[aria-selected="true"]:not(
    .select2-results__option--selected
  ):hover {
  background: var(--hover-color);
  color: var(--default-color);
}
.select2-container--default .select2-results__option--selected,
.select2-container--default .select2-results__option--selected:hover {
  border-radius: var(--ct-bdrad);
  background: var(--point-light) !important;
  color: var(--point) !important;
}
.select2-container .select2-selection--single .select2-selection__arrow b {
  margin: 0;
  transform: scale(0.7) translate(-50%, -50%);
}

/* editor */
[class$="-editor"] {
  font-size: 15px;
}
.ql-toolbar.ql-snow {
  border-radius: var(--ct-bdrad) var(--ct-bdrad) 0 0;
  border-color: var(--ct-input-border-color);
}
#snow-editor > .ql-editor {
  font-family: "Pretendard Variable";
  font-size: var(--nm-fz);
}
.ql-container.ql-snow.custom-editor {
  border-radius: 0 0 var(--ct-bdrad) var(--ct-bdrad);
  border-color: var(--ct-input-border-color);
}

/* 2023-02-23 유병현 이미지 max-widhth %로 임시 */
.custom-editor img {
  /* TODO: px크기로 정할까 고민중 */
  /* max-width: 100% !important; */
  display: block;

  /* 게시판 detail과 동일한 max-width로 수정 - 게시판 detail 영역: 935px */
  /* max-width: 60% !important; */
  /* max-width: calc(935px * 0.6) !important; */
  max-width: var(--board-img-max-w) !important;

  /* 이미지 연속으로 붙을 경우를 위한 br 역할 */
  margin: 0 0 var(--board-img-margin);
}

/* --- btn --- */
.btn {
  padding: 0;
  box-shadow: none;
  border-radius: var(--ct-bdrad);
}
.btn:focus {
  box-shadow: none;
}
.custom-btn-wrap {
  height: 65px;
  padding: 0 var(--ct-padding);
  border-top: 1px solid var(--ct-border-color);
  background: #fff;
  position: relative;
  z-index: 1;
}
.custom-btn-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
[class*="custom-type-btn"] {
  display: inline-block;
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
  padding: 0;
  border-radius: var(--ct-bdrad) !important;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  box-shadow: none;
  text-align: center;
  font-weight: 500;
  font-size: var(--nm-fz);
}
.custom-type-btn1,
.custom-type-btnClose {
  width: 59px;
}
.custom-type-btn2 {
  width: 144px;
}
.custom-type-btnIcon {
  width: var(--ct-btn-h);
  font-size: 16px;
}
.custom-type-btnTag {
  padding: 0 4px;
  background: #fff;
  border-color: var(--ct-border-color);
  font-weight: 400;
  color: var(--ct-text-muted);
}
input.form-check-input:checked + .custom-type-btnTag,
.custom-type-btnTag.active,
.custom-type-btnTag.active:hover,
.custom-type-btnTag.active:focus {
  background: var(--point-light);
  border-color: var(--point);
  color: var(--point);
}
.custom-type-btnMore {
  background: #fff;
  border: 1px solid var(--ct-border-color);
  color: var(--ct-text-muted);
}
.custom-type-btnTag:hover,
.custom-type-btnMore:hover {
  color: var(--ct-secondary);
}

/* 탭버튼 - 출석, 개별코칭 학생 선택 등 */
.custom-nav {
  padding: 2px;
  background: var(--ct-secondary-lighten);
  border-radius: var(--ct-bdrad);
}
.custom-type-btnNav {
  width: 120px;
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  border-color: transparent;
  background-color: transparent;
  font-weight: 600;
  font-size: 13px;
  color: var(--ct-text-muted);
}
.custom-type-btnNav.nav-link.active:hover,
.custom-type-btnNav.nav-link.active {
  background: #fff;
  box-shadow: 0 2px 6px 0 rgb(0, 0, 0 / 50%);
  color: var(--default-color);
}
.custom-type-btnNav.nav-link:hover,
.custom-type-btnNav.nav-link:focus,
.custom-type-btnNav.nav-link.active:hover {
  color: var(--default-color);
}
.custom-type-btnNav.nav-link:hover {
  background: transparent;
  border-color: transparent;
  opacity: 0.8;
}
.custom-type-btnForm {
  width: var(--ct-form-w);
}
.btn.bg-plain,
[class*="custom-type-btn"].bg-plain,
.custom-type-btnClose {
  border: 1px solid var(--ct-border-color);
  background: #fff;
  color: var(--ct-secondary);
}
.btn.bg-plain:hover,
[class*="custom-type-btn"].bg-plain:hover,
.custom-type-btnClose:hover {
  border-color: var(--ct-gray-500);
}
.custom-type-btnTest {
  width: var(--ct-btnTest);
  box-shadow: none;
}
.custom-type-btnSearch {
  width: var(--ct-form-h);
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
}
.custom-type-btnSearch {
  background: var(--ct-secondary-lighten);
  color: var(--ct-secondary);
}
.custom-type-btnSearch:hover {
  background: rgba(var(--ct-secondary-rgb), 0.25);
}
.custom-search-filter [class*="custom-type-btn"] {
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  font-size: 13px;
}
[class*="custom-type-btn"].custom-type-btnMini {
  height: 20px;
  line-height: 20px;
  padding: 0 2px;
  border-radius: 4px;
  font-size: 12px;
  transition: 0.2s;
}

/* btn 색상 */
.btn-primary,
.btn-primary:focus,
.btn-primary:active {
  background: var(--point);
  border-color: var(--point);
}
.btn-primary:hover {
  background: var(--point-dark);
  box-shadow: none;
}
.custom-step1-btn,
.custom-step1-btn-selected {
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
  font-size: 13px;
}
.custom-step1-btn {
  border: 1px solid var(--ct-border-color);
  background: #fff;
  color: var(--ct-text-muted);
}
.custom-step1-btn:focus,
.custom-step1-btn-selected:focus,
.custom-step1-btn:hover,
.custom-step1-btn-selected {
  border-color: var(--point);
  background: var(--point-light);
  color: var(--point);
}
.custom-step1-btn-selected:hover {
  color: var(--point);
}

/* 스위치 버튼 */
input[data-switch] + label {
  width: 40px;
  height: 20px;
  border-radius: 100px;
}
input[data-switch] + label:after {
  width: 15px;
  height: 15px;
  top: 50%;
  transform: translateY(-50%);
}
input[data-switch]:checked + label:after {
  left: unset;
  right: 4px;
}

/* --- 채점 btn START --- */
/* correct-btn 기본 important 없는 bg-light로 설정 */
[class*="correct-btn"] {
  display: inline-block;
  width: var(--ct-form-h);
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  padding: 0;
  vertical-align: middle;
  border-radius: 5px;
  background-color: var(--ct-light);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ct-secondary);
  cursor: pointer;
}
.correct-btn.bg-success,
.correct-btn.bg-danger,
:is(.correct-btn-Y, .correct-btn-N).checked {
  color: #fff;
}
.correct-btn-Y.checked {
  background: var(--ct-success);
}
.correct-btn-N.checked {
  background: var(--ct-danger);
}
.disabled .correct-btn-Y.checked {
  background: rgba(var(--ct-success-rgb), 0.18);
  color: var(--ct-success);
}
.disabled .correct-btn-N.checked {
  background: rgba(var(--ct-danger-rgb), 0.18);
  color: var(--ct-danger);
}
.disabled [class*="correct-btn-"] {
  pointer-events: none;
}

/* 전체 취소 / 전체 정답 / 전체 오답 */
.custom-mark-btn-wrap [class*="custom-type-btn"] {
  width: 60px;
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}
.custom-mark-btn-wrap [class*="custom-type-btn"]:hover {
  opacity: 0.75;
}
.custom-mark-btn-wrap.disabled [class*="custom-type-btn"] {
  opacity: 0.45;
  pointer-events: none;
}
/* --- 채점 btn END --- */

/* --- badge --- */
.badge {
  height: 18px;
  line-height: 19px;
  padding: 0 7px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 11px;
}
.custom-badge {
  height: 22px;
  line-height: 22px;
  border-radius: 5px;
  text-align: center;
}

/* ### dropdown menu - topbar, leftSidebar ### */
.dropdown-menu {
  padding: 0;
  border-radius: var(--ct-bdrad);
}
.custom-dropdown-list,
.custom-dropdown-logout {
  padding: 7px;
}
.custom-dropdown-logout {
  border-top: 1px solid var(--ct-border-color);
}
.notification-list .topbar-dropdown-menu .dropdown-item.notify-item {
  padding: 7px;
  border-radius: var(--ct-bdrad);
  font-weight: 500;
  font-size: 14px;
}
.notification-list
  .topbar-dropdown-menu
  .custom-dropdown-logout
  .dropdown-item.notify-item {
  color: var(--ct-orange);
}
.notification-list .topbar-dropdown-menu .dropdown-item.notify-item:hover {
  background: var(--hover-color);
  color: var(--default-color);
}
.notification-list
  .topbar-dropdown-menu
  .custom-dropdown-logout
  .dropdown-item.notify-item:hover {
  background: var(--ct-orange-lighten);
  color: var(--ct-orange);
}
.topbar-dropdown-menu .dropdown-item i {
  margin-right: 4px;
  vertical-align: middle;
  font-size: 16px;
}

/* ### topbar ### */
.custom-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: var(--topbar-h);
  clear: both;
  background: #fff;
  border: 1px solid var(--ct-border-color);
  border-top: none;
  z-index: 100;
}

/* --- topbar 로고 --- */
.custom-topbar-logo {
  float: left;
  width: var(--leftside-w);
  max-width: var(--leftside-max-w);
  height: 100%;
  padding: 0 14px;
  transition: 0.2s;
  overflow: hidden;
}
.custom-topbar-logo a {
  margin-left: 7px;
  line-height: var(--topbar-h);
}
.custom-topbar-logo a img {
  width: 100px;
  object-fit: cover;
}
.custom-topbar-logo .button-menu-mobile {
  width: auto;
  height: var(--topbar-h);
  line-height: var(--topbar-h);
  margin: 0;
  font-size: 20px;
  color: var(--default-color);
}

/* --- topbar 메뉴 --- */
.custom-topbar-gnb,
.custom-topbar-menu {
  height: 100%;
}
.custom-topbar-gnb {
  float: left;
  width: calc(100% - calc(var(--leftside-w) + 68px));
}
body[data-leftbar-compact-mode="condensed"] .custom-topbar-gnb {
  width: calc(100% - calc(var(--condensed-width) + 68px));
}
.custom-topbar-menu .d-inline-block {
  width: 145px;
  height: 60px;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  text-align: center;
  transition: 0.15s;
}
.custom-topbar-menu .d-inline-block:not(:last-child) {
  margin-right: 8px;
}
.custom-topbar-menu .d-inline-block:hover {
  background: var(--ct-secondary-lighten);
}
.custom-topbar-menu .d-inline-block.custom-selected,
.custom-topbar-menu .d-inline-block.custom-selected:hover {
  background-color: var(--point-light);
}
.custom-topbar-menu .d-inline-block a {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--menu-disabled);
  transition: 0.15s;
}
.custom-topbar-menu .d-inline-block.custom-selected a,
.custom-topbar-menu .d-inline-block.custom-selected:hover a {
  color: var(--point);
}
.custom-topbar-menu i {
  font-size: 20px;
}
.custom-topbar-menu strong {
  display: block;
  margin: -2px 0 0;
  font-size: 13px;
}

/* --- topbar lnb --- */
.custom-topbar-lnb {
  float: right;
  padding: calc(calc(var(--topbar-h) - var(--ct-btn-h)) / 2) 14px;
}
.custom-topbar-lnb .custom-type-btn1 {
  width: 40px;
  font-size: 16px;
}
.custom-topbar-lnb .custom-type-btn1:hover {
  opacity: 0.8;
}

/* --- topbar condensed --- */
body[data-leftbar-compact-mode="condensed"] .custom-topbar-logo {
  width: var(--condensed-width);
}
body[data-leftbar-compact-mode="condensed"] .custom-topbar-logo a {
  display: none !important;
}

/* ### left sidebar(.leftside-menu) ### */
.custom-leftsidebar {
  float: left;
  width: var(--leftside-w);
  max-width: var(--leftside-max-w);
  height: calc(100vh - var(--topbar-h));
  background-color: #f8f8f9;
  border-right: 1px solid var(--ct-border-color);
  border-left: 1px solid var(--ct-border-color);
  transition: 0.2s;
  position: relative;
}
#leftside-menu-container {
  height: 100%;
}
.custom-leftsidebar .dropdown-toggle:hover,
.custom-side-nav .menuitem-active > a,
body[data-leftbar-theme="dark"] .custom-side-nav .menuitem-active > a,
.custom-leftsidebar-academy:hover {
  background-color: #ededed;
}

/* --- leftsidebar profile --- */
.custom-leftsidebar-profile {
  margin: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-leftsidebar .dropdown-toggle {
  padding: 7px;
  border-radius: var(--ct-bdrad);
  font-weight: 500;
  font-size: 15px;
  color: var(--default-color);
}
.custom-leftsidebar .account-user-avatar {
  margin-right: 4px;
  border-radius: 12px;
  border: 1px solid #eee;
}
.custom-leftsidebar .custom-left-profile-name {
  font-weight: 600;

  max-width: 100px;
}
.custom-leftsidebar .custom-left-profile-level {
  display: block;
  line-height: 1em;
  font-weight: 400;
  font-size: 13px;
  color: var(--ct-text-muted);
}
.custom-leftsidebar .custom-left-profile-level + .custom-supporters-member {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 92px;
  height: 32px;
  line-height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 3px 0 0;
  border-radius: 9px;
  word-break: keep-all;
  white-space: normal;
}
.custom-supporters-member-text {
  font-size: 14px;
}
.custom-supporters-member-icon {
  font-size: 19px;
}
.custom-leftsidebar .custom-supporters-member-condensed {
  display: none;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar
  .custom-left-profile-level
  + .custom-supporters-member {
  display: none;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar
  .custom-supporters-member-condensed {
  display: block;
  position: absolute;
  height: auto;
  line-height: unset;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 4px;
  font-size: 10px;
}

/* --- leftsidebar menu --- */
.custom-leftsidebar-menu {
  height: calc(
    100% -
      calc(calc(var(--condensed-width) + calc(14px + 14px)) + calc(54px + 14px))
  );
  overflow-y: auto;
  padding: 0 14px;
}
.custom-leftsidebar-menu::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
#topManagerLeftsidebar .custom-msg-added .custom-leftsidebar-menu {
  height: calc(
    100% -
      calc(calc(var(--condensed-width) + calc(14px + 14px)) + calc(54px + 74px))
  );
}
:is(
    .custom-side-nav .side-nav-item,
    body[data-leftbar-theme="dark"] .custom-side-nav .side-nav-item
  ):not(:last-child) {
  margin-bottom: 6px;
}
.custom-side-nav .side-nav-link,
body[data-leftbar-theme="dark"] .custom-side-nav .side-nav-link {
  /* 내부게시판 이름 길어져서 2줄 나올 경우 */
  display: flex;
  align-items: center;

  width: 100%;
  padding: 10px 7px;
  border-radius: var(--ct-bdrad);
  font-weight: 600;
  font-size: var(--nm-fz);
  color: var(--menu-disabled);
  position: relative;
}
.custom-side-nav .side-nav-link:hover,
body[data-leftbar-theme="dark"] .custom-side-nav .side-nav-link:hover {
  color: var(--default-color);
}
.custom-side-nav .side-nav-item.menuitem-active > a,
body[data-leftbar-theme="dark"]
  .custom-side-nav
  .side-nav-item.menuitem-active
  > a {
  /* flex 초기화 */
  display: block;

  color: var(--default-color) !important;
}
.custom-side-nav .side-nav-link .menu-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 7px;
}
.custom-side-nav .side-nav-link[aria-expanded="true"] .menu-arrow {
  transform: translateY(-50%) rotateX(180deg);
}
.custom-side-nav .side-nav-link i {
  margin-right: 6px;
  vertical-align: middle;
  font-weight: 400;
  font-size: 19px;
}
.custom-leftsidebar .academy-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  text-align: center;
}
.side-nav-item.side-nav-supportersMgt .side-nav-link .badge {
  height: 21px;
  line-height: unset;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}
.custom-side-nav .side-nav-second-level {
  margin: 5px 0 0;
}
.custom-side-nav .side-nav-second-level a {
  padding-left: 30px;
  border-radius: var(--ct-bdrad);
  font-size: 14px;
  color: var(--menu-disabled);
}
.custom-side-nav .side-nav-second-level a:hover {
  color: var(--default-color);
}
.custom-side-nav .side-nav-second-level .menuitem-active > a {
  background: transparent !important;
  font-weight: 600;
  color: var(--point) !important;
}
.custom-side-nav .side-nav-second-level a i {
  margin-right: 6px;
}

/* --- leftsidebar 알림 메세지 - 서포터즈 신청, 구독 만기 등 --- */
.custom-leftsidebar-alarmMsg {
  margin-bottom: 14px;
  padding: 0 14px;
  position: relative;
}
#topManagerLeftsidebar .custom-leftsidebar-alarmMsg {
  margin-bottom: 0;
}
.custom-leftsidebar-msg {
  padding: 7px;
  border-radius: 10px;
  font-weight: bold;
}
.custom-leftsidebar-supportersMsg .custom-leftsidebar-msg {
  background: rgba(var(--point-rgb), 0.17);
  border: 1px solid rgba(var(--point-rgb), 0.25);
  color: var(--point-dark-light);
}
.custom-leftsidebar-subscribeMsg .custom-leftsidebar-msg {
  background: rgba(var(--ct-warning-rgb), 0.15);
  border: 1px solid rgba(var(--ct-warning-rgb), 0.25);
  color: var(--ct-orange);
}
.custom-leftsidebar-supportersMsg .custom-leftsidebar-msg:hover {
  background: rgba(var(--point-rgb), 0.2);
  color: var(--point-dark);
}
.custom-leftsidebar-subscribeMsg .custom-leftsidebar-msg:hover {
  background: rgba(var(--ct-warning-rgb), 0.2);
  color: #e86e09 !important;
}
.custom-leftsidebar-msg-left .academy-icon {
  line-height: 38px;
  background: #fff;
}
.custom-leftsidebar-supportersMsg
  .custom-leftsidebar-msg-left
  .academy-icon
  img {
  width: 29px;
}
.custom-leftsidebar-subscribeMsg
  .custom-leftsidebar-msg-left
  .academy-icon
  img {
  width: 20px;
}
.custom-leftsidebar-msg-right {
  width: calc(100% - 40px);
  padding-left: 7px;
}
.custom-leftsidebar-msg-text {
  padding-right: 20px;
  line-height: 16px;
  word-break: keep-all;
}
.custom-leftsidebar-close-msg {
  position: absolute;
  top: 2px;
  right: 13px;
  font-size: 20px;
  color: #ffb673;
}

/* 서포터즈 신청하기, 구독 알림 메세지 둘 다 보여지는 경우 */
.custom-leftsidebar-supportersMsg ~ .custom-leftsidebar-subscribeMsg {
  margin: 10px 0 0;
}

/* 서포터즈 전용 메뉴 */
.custom-leftsidebar .custom-condensed-supporters-menu {
  display: none;
}

/* --- leftsidebar 학원 정보 --- */
.custom-leftsidebar-academyInfo {
  padding: 10px 14px;
  border-top: 1px solid var(--border-color);
}
.custom-leftsidebar-academy {
  padding: 7px;
  border-radius: var(--ct-bdrad);
}
.custom-leftsidebar-academy:hover {
  color: var(--default-color);
}
.custom-leftsidebar-academy span {
  display: inline-block;
  font-weight: 500;
}
.custom-leftsidebar-academy .academy-icon {
  margin-right: 4px;
  background: var(--point);
  font-size: 20px;
  color: #fff;
}
.custom-leftsidebar-academy .academy-icon i {
  line-height: 40px;
}
.custom-leftsidebar-academy .academy-text {
  font-size: 15px;
}

/* --- condensed leftsidebar --- */
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar {
  width: var(--condensed-width);
}
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar-menu {
  height: calc(100% - calc(calc(53px + calc(14px + 14px)) + 60px));
}
body[data-leftbar-compact-mode="condensed"]
  #topManagerLeftsidebar
  .custom-msg-added
  .custom-leftsidebar-menu {
  height: calc(100% - calc(calc(53px + calc(14px + 14px)) + calc(40px + 60px)));
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar
  :is(.account-user-avatar, .side-nav-link i, .academy-icon) {
  margin: 0;
  padding: 0;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar
  :is(
    .account-user-name,
    .custom-left-profile-level,
    .side-nav-link span,
    .academy-text
  ) {
  display: none;
}
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar .side-nav-link {
  padding: 7px;
  text-align: center;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar
  .dropdown-toggle,
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar-academy {
  padding: 0;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar
  .dropdown-toggle:hover {
  background: transparent;
}

/* submenu  */
body[data-leftbar-compact-mode="condensed"]
  .custom-side-nav
  .side-nav-second-level {
  margin: 0;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-side-nav
  .side-nav-second-level
  a {
  padding: 7px;
  text-align: center;
  color: var(--ct-border-color);
}
body[data-leftbar-compact-mode="condensed"]
  .custom-side-nav
  .side-nav-second-level
  a:hover {
  color: var(--default-color);
}
body[data-leftbar-compact-mode="condensed"]
  .custom-side-nav
  .side-nav-second-level
  a
  span {
  display: none;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-side-nav
  .side-nav-second-level
  a
  i {
  margin-right: 0;
}

/* leftsidebar 구독 만기 알림 메세지 */
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar-alarmMsg {
  position: relative;
}
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar-msg {
  padding: 0;
  background: transparent;
  border: none;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar-msg-left
  .academy-icon {
  border: 1px solid var(--ct-border-color);
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar-supportersMsg
  .custom-leftsidebar-msg-left
  .academy-icon {
  background: var(--point-light);
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar-subscribeMsg
  .custom-leftsidebar-msg-left
  .academy-icon {
  background: var(--ct-warning-lighten);
}
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar-msg-right {
  position: absolute;
  width: 170px;
  padding: 12px;
  top: 50%;
  left: 65px;
  transform: translateY(-50%);
  border-radius: 12px;
  z-index: 10;
}
body[data-leftbar-compact-mode="condensed"]
  [class*="custom-leftsidebar-supporters"]
  .custom-leftsidebar-msg-right {
  background: #e1eafe;
  display: none !important;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar-subscribeMsg
  .custom-leftsidebar-msg-right {
  background: #f9ecc7;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar-msg-right:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background: inherit;
}
body[data-leftbar-compact-mode="condensed"] .custom-leftsidebar-close-msg {
  top: 50%;
  right: calc(-170px - 15px);
  transform: translate(-50%, -50%);
  z-index: 100;
}

/* 서포터즈 */
body[data-leftbar-compact-mode="condensed"]
  .side-nav-item.side-nav-supportersMgt
  .side-nav-link
  .badge {
  display: none;
}
body[data-leftbar-compact-mode="condensed"]
  .custom-leftsidebar
  .custom-condensed-supporters-menu {
  display: block !important;
  position: absolute !important;
  width: 15px;
  height: 15px;
  line-height: 15px;
  top: -2px;
  right: -2px;
  background: var(--ct-warning);
  border-radius: 100%;
  font-size: 10px;
  color: #fff;
}

/* ### layout ### */
.wrapper {
  width: 100%;
  max-width: 1600px;
  height: 100vh;
  margin: 0 auto;
  padding: 80px 0 0;
  clear: both;
  overflow-x: auto;
  overflow-y: hidden;
}
.content-page {
  float: right;
  width: calc(100% - var(--leftside-w));
  max-width: calc(100% - var(--leftside-w));
  min-width: calc(100% - var(--leftside-max-w));
  height: 100vh;
  margin: 0;
  padding: 0;
  border-right: 1px solid var(--ct-border-color);
  transition: 0.2s;
}
body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg)
  .wrapper
  .content-page {
  min-width: calc(100% - var(--condensed-width));
  margin: 0;
}
.content,
.custom-container-fluid,
.custom-container-fluid > [class$="-wrap"] {
  height: 100%;
}
.content {
  height: calc(100vh - 80px);
  overflow-x: auto;
  overflow-y: hidden;
}
.content::-webkit-scrollbar {
  background: #fff;
}
.content::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-container-fluid {
  background: #fff;

  min-width: 1311px;

  /* 맥북 full 화면 크기 고려 */
  min-width: 1223px;
  min-width: var(--content-max-w);
}
.custom-page-title {
  background: #fff;
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-page-title-top,
.custom-page-title-menu {
  display: flex;
  align-items: center;
}
.custom-page-title-top {
  /* height: 107px; */
  padding: 50px var(--ct-padding) 20px;
  justify-content: space-between;

  height: var(--page-title-h);
  padding-top: 30px;
}
.custom-page-title-top > h4 > small {
  display: block;
  margin: 7px 0 0;
  font-weight: 500;
  font-size: 12px;
  color: var(--ct-text-muted);
}
.custom-page-title-top > h4 > small a {
  padding: 0 4px;
  line-height: 18px;
  transform: translateY(-1px);
  border: 1px solid var(--ct-border-color);
  font-weight: 700;
  font-size: inherit;
  transition: 0.2s;
}
.custom-page-title-top > h4 > small a:hover {
  background: rgba(var(--ct-secondary-rgb), 0.25) !important;
  color: var(--ct-secondary);
}
.custom-page-title-top > h4 .custom-guide-icon i {
  font-size: 26px;
}
.custom-toptitle-wrap .custom-page-title-top {
  padding-bottom: 27px;
}
.custom-page-title-top :is(h4, .custom-page-title-top-menu) {
  font-size: 30px;
}
.custom-page-title-top-menu {
  color: var(--ct-text-muted);
  color: var(--ct-border-color);
}
.custom-page-title-top-menu:not(:last-child) {
  margin-right: 18px;
}
.custom-page-title-top-menu:hover,
.custom-page-title-top-menu.active {
  color: var(--default-color);
}
.custom-page-title-menu {
  padding: 3px var(--ct-padding) 0;
  /* gap: 30px; */

  gap: 10px;
}
.custom-page-title-menuitem {
  padding: 0 0 10px;
  position: relative;
  cursor: pointer;
}
.custom-page-title-link {
  display: inline-block;
  min-width: 95px;
  padding: 0;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--menu-disabled);
}
.custom-page-title-menuitem .custom-page-title-link:hover,
.custom-page-title-menuitem.active .custom-page-title-link {
  color: var(--default-color);
}
.custom-page-title-menuitem .custom-page-title-link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--point);
  transition: 0.2s;
}
.custom-page-title-menuitem .custom-page-title-link:hover:before,
.custom-page-title-menuitem.active .custom-page-title-link:before {
  width: 100%;
}
/* .custom-page-subtitle-menu {
    height: var(--search-wrap-h);
    padding: 0 var(--ct-padding);
} */
.custom-page-inner {
  background: #fff;
}
.custom-one-wrap .custom-page-inner,
.custom-toptitle-wrap .custom-page-inner {
  height: calc(100vh - calc(var(--topbar-h) + calc(var(--page-title-h) + 1px)));
}
.custom-one-wrap .custom-page-inner {
  /* main, 통계 요약 */
  overflow-y: auto;
  padding: var(--ct-padding);
}
.custom-fulltitle-wrap .custom-page-inner {
  /* page-title-bottom 있는 경우 layout */
  height: calc(
    100vh - calc(var(--topbar-h) + calc(calc(var(--page-title-h) + 37px) + 1px))
  );
}
.custom-one-wrap .custom-page-inner:hover::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.card {
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.custom-card-title {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
h4.custom-card-title {
  font-size: 18px;
}
h4.custom-card-title span small {
  display: block;
  margin: 6px 0 0;
  font-weight: 400;
  font-size: 13px;
  color: var(--ct-text-muted);
}
h4.custom-card-title span small .badge {
  padding: 0 4px;
  transform: translateY(-1px);
  line-height: 18px;
  font-weight: 700;
}
.custom-card-title h4 {
  font-size: 20px;
}
.custom-card-title .arrow-none {
  font-size: 13px;
  color: var(--ct-text-muted);
}
.custom-card-title .arrow-none i {
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
  font-size: 16px;
}
.card-body {
  padding: 0;
  background: #fff;
  border: 1px solid var(--ct-border-color);
  border-radius: 12px;
}
.custom-search-wrap {
  height: var(--search-wrap-h);
  padding: 0 var(--ct-padding);
  background: var(--content-bg);
  border-bottom: 1px solid var(--ct-border-color);
  position: relative;
}
.custom-search-filter {
  padding: 14px var(--ct-padding);
  border-bottom: 1px solid var(--ct-border-color);
}

/* ### float ### */
.custom-float-row {
  clear: both;
}
.custom-float-row > [class*="custom-float"] {
  float: left;
}
.custom-float-2 {
  width: calc(100% / 2);
}
.custom-float-3 {
  width: calc(100% / 3);
}
.custom-float-4 {
  width: calc(100% / 4);
}

/* ### grid ### */
/* custom grid */
.custom-col-row {
  display: flex;
  gap: 24px;
}
.custom-col-12 {
  display: block;
  width: 100%;
}
.custom-col-11 {
  width: calc(calc(100% / 12) * 11);
}
.custom-col-10 {
  width: calc(calc(100% / 12) * 10);
}
.custom-col-9 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 9);
  width: calc(calc(100% / 12) * 9);
}
.custom-col-8 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 8);
  width: calc(calc(100% / 12) * 8);
}
.custom-col-7 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 7);
  width: calc(calc(100% / 12) * 7);
}
.custom-col-6 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 6);
  width: calc(calc(100% / 12) * 6);
}
.custom-col-5 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 5);
  width: calc(calc(100% / 12) * 5);
}
.custom-col-4 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 4);
  width: calc(calc(100% / 12) * 4);
}
.custom-col-3 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 3);
  width: calc(calc(100% / 12) * 3);
}
.custom-col-2 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 2);
  width: calc(calc(100% / 12) * 2);
}
.custom-col-1 {
  width: calc(calc(calc(100% - calc(24px * 11)) / 12) * 1);
  width: calc(calc(100% / 12) * 1);
}

/* ### list-type ### */
/* --- list-type1 --- // img + content - 학부모 상담 관리, 알림 목록 등 */
.custom-list-type1 {
  padding: 15px var(--ct-padding);
  display: flex;
  align-items: center;
  /* border-bottom: 1px solid var(--ct-table-border-color); */
  position: relative;
  cursor: pointer;
}
.custom-list-type1.active,
.custom-list-type1:hover {
  background: var(--hover-color);
}
.custom-list-type1-inner {
  /* custom-list-type1-btn과 함께 쓰이는 경우 사용 */
  width: 100%;
}
.custom-list-type1-img {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 12px;
  text-align: center;
  background: var(--point-light);
  border: 1px solid var(--ct-border-color);
}
.custom-list-type1-content {
  width: calc(100% - 40px);
  padding-left: 12px;
}
.custom-list-type1-title > :is(h4, strong) {
  font-weight: 600;
  font-size: 16px;
}
.custom-list-type1-title-date {
  margin-left: 4px;
  font-size: var(--sm-fz);
  color: var(--ct-text-muted);
}
.custom-list-type1-title .badge {
  margin-left: 4px;
}
.custom-list-type1-info {
  margin: 2px 0 0;
}
.custom-list-type1-info .text-muted {
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
}
.custom-list-type1-info .text-muted:not(:last-child):after {
  content: "·";
  padding: 0 5px;
}

/* 마우스 hover 시 버튼 보이게 하는것*/
.custom-list-type1-btn .custom-type-btnTest {
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  background: #fff;
  transition: 0.2s;
}
.custom-list-type1-btn .custom-type-btnTest:hover {
  opacity: 0.8;
}

/* ### input group ### */
.input-group-text {
  background: #fafbfc;
}
.custom-search-filter
  :is(.input-group-text, .form-control, .form-select, .select2) {
  height: 30px;
  line-height: 30px;
}
.custom-search-filter .input-group-text {
  border-radius: var(--ct-bdrad) 0 0 var(--ct-bdrad);
  font-size: 13px;
}
.custom-search-filter .input-group-text ~ *:last-child,
.custom-search-filter
  .input-group-text
  ~ *:last-child.select2-container
  .select2-selection--single {
  border-radius: 0 var(--ct-bdrad) var(--ct-bdrad) 0 !important;
}
.custom-search-filter .input-group-text ~ *:nth-child(2):not(:last-child) {
  border-radius: 0px !important;
}

/* ### table ### */
.table {
  table-layout: fixed;
  white-space: nowrap;
  word-break: keep-all;

  text-align: center;
}
.table > *:not(:first-child) {
  border-top: none;
}
.table :is(th, td) {
  height: var(--list-h);
  padding: 0;
  /* padding-left: 16px; */
  border-bottom: 1px solid var(--ct-table-border-color) !important;
  font-size: var(--nm-fz);
  color: var(--default-color);
}
.custom-list-table1 .table :is(th, td):not(:last-child) {
  border-right: 1px solid var(--ct-table-border-color);
}
.table :is(th, td):first-child {
  /* padding-left: var(--ct-padding); */
}
table.table-hover tbody tr:hover > *,
table.table-hover thead tr:hover > * {
  --ct-table-accent-bg: #fbfcfd;
}
.table thead:not(.table-dark) th {
  border-bottom-color: var(--ct-border-color) !important;
  font-weight: 600;
  color: var(--ct-secondary);
}
.table-light {
  --ct-table-bg: #fafbfc;
}
thead.table-light:hover {
  background: #fafbfc;
}
.table tbody td {
  border-top: none;
}
.table tbody.disabled tr:hover > * {
  background: transparent !important;
}
.table tr:hover td {
  background-color: #fbfcfd !important;
}
.table .action-icon:not(:last-child) {
  margin-right: 4px;
}
.table-action {
  width: var(--table-action);
}
.table :is(th, td).table-action.table-action-link {
  width: var(--table-action);
  padding-left: 16px;
  text-align: left;
}
.table .action-icon {
  color: #888;
  font-size: 18px;
}

/* --- CUSTOM table --- */
.table thead.custom-table-head th {
  background: var(--content-bg) !important;
}
.custom-table-checkbox {
  width: var(--table-checkbox);
  padding: 0;
  text-align: center;
}
.custom-table-download {
  width: var(--table-download);
}
.table :is(th, td).custom-table-download {
  text-align: center;
  padding-left: 0;
}
.custom-table-short {
  width: var(--table-action);
}
.custom-table-num {
  width: var(--table-num);
}
.custom-table-status {
  width: var(--table-status);
}
.custom-table-long {
  width: var(--table-long);
}
.custom-table-link {
  font-weight: 600;
  font-size: 13px;
  color: var(--point);
}
.custom-table-link:hover {
  color: var(--point-dark);
}

/* --- .custom-list-table2 --- */
.custom-list-table2 .table :is(th, td) {
  height: calc(var(--list-h) + 10px);
}
.custom-list-table2 .table th {
  border-top: 1px solid var(--ct-border-color);
}

.custom-list-table2 [class*="custom-type-btn"]:not(.custom-type-btnMini) {
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
}
/* .custom-list-table2 .custom-type-btnTest {} */

/* 이름(strong) & 전화번호(span) */
.custom-list-table2-name :is(strong, span) {
  display: block;
  line-height: 1.25em;
}
.custom-list-table2-name span {
  font-size: 13px;
  color: var(--ct-text-muted);
}

/* --- li table --- (사용 - 시중교재, 내신대비, 빠른 채점하기 우측 학생 목록) */
.custom-li-thead,
.custom-li-tbody .custom-li-tr {
  display: flex;
  align-items: center;
}
.custom-li-tr:hover {
  background: var(--hover-color);
}
.custom-li-th,
.custom-li-td {
  height: var(--list-h);
  line-height: var(--list-h);
  padding: 0 14px;
  text-align: center;
}
.custom-li-thead .custom-li-th {
  background: var(--content-bg);
  font-weight: 600;
  color: var(--ct-secondary);
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-li-tbody .custom-li-tr {
  border-bottom: 1px solid var(--ct-table-border-color);
}
.custom-li-tbody .custom-li-td {
  cursor: pointer;
}

/* ### datepicker ### */
.datepicker.datepicker-dropdown {
  z-index: 9999 !important;
}
.datepicker .next,
.datepicker .prev {
  color: var(--ct-text-muted);
}

.datepicker table tr td .active.disabled:hover[disabled],
.datepicker table tr td .active.disabled[disabled],
.datepicker table tr td .active:active,
.datepicker table tr td .active:hover,
.datepicker table tr td .active:hover.active,
.datepicker table tr td .active:hover.disabled,
.datepicker table tr td .active:hover:active,
.datepicker table tr td .active:hover:hover,
.datepicker table tr td .active:hover[disabled],
.datepicker table tr td .active[disabled],
.datepicker table tr td span.active.active,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled.disabled,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active.disabled:hover[disabled],
.datepicker table tr td span.active.disabled[disabled],
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active[disabled],
.datepicker table tr td.active.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.today,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today:hover {
  background: var(--point) !important;
  color: #fff;
}
.datepicker table tr td.day:not(.disabled) {
  font-weight: 600;
}
.datepicker table tr td span {
  font-weight: 600;
}
.datepicker table tr td span.disabled,
.datepicker table tr td span.disabled:hover {
  font-weight: 400;
  color: #cfd2d4;
  opacity: 1;
}
.datepicker table tr td span.new,
.datepicker table tr td span.old {
  font-weight: 400;
  font-size: 12px;
}

/* 2022-11-21 .old -> .disabled */
.datepicker td.disabled.day {
  text-decoration: line-through;
}
.daterangepicker {
  font-family: "Pretendard Variable";
}
.daterangepicker.opensright:before,
.daterangepicker.opensright:after {
  display: none !important;
}
.datepicker-dropdown.datepicker-orient-bottom:after {
  top: -5px !important;
}
.daterangepicker :is(select.monthselect, select.yearselect) {
  padding: 5px 2px;
  border: 1px solid var(--ct-input-border-color);
  border-radius: 0.25rem;
  font-size: 14px;
  color: var(--ct-form-select-color);
}
.daterangepicker :is(select.monthselect, select.yearselect):focus {
  outline: 2px solid var(--ct-input-border-color);
}
.daterangepicker .drp-buttons .btn {
  font-weight: 500;
}
.daterangepicker .drp-buttons .btn.btn-warning,
.daterangepicker .drp-buttons .btn.btn-warning:hover {
  background-color: var(--ct-secondary);
  border-color: var(--ct-secondary);
  box-shadow: 0 2px 6px 0 rgb(108 117 125 / 50%);
  color: #fff;
}
.datepicker table tr td.today:hover:hover {
  color: #fff;
}
.datepicker .datepicker-months table tr td span {
  height: 47px;
  line-height: 47px;
  border-radius: 100%;
}
.datepicker .datepicker-months table tr td span.month.focused:not(.active) {
  background: var(--point-light);
  color: var(--point);
}
.datepicker-dropdown td span {
  font-weight: bold;
  font-size: 14px;
}
.datepicker-dropdown td .disabled {
  font-weight: normal;
  font-size: 12px;
}

.datepicker tfoot :is(th, td) {
  border-radius: var(--ct-bdrad);
}
.datepicker tfoot tr th {
  /* 삭제 버튼 */
  padding-right: calc(calc(47px - 12px) / 2);
  text-align: right;
  font-weight: 500;
  font-size: 12px;
  color: var(--point);
  display: none !important;
}
.datepicker tfoot tr:hover th {
  background: transparent !important;
}

/* ### timepicker ### */
.bootstrap-timepicker-widget.timepicker-orient-top:after {
  top: -5px !important;
}
.bootstrap-timepicker-widget.timepicker-orient-bottom:before,
.bootstrap-timepicker-widget.timepicker-orient-bottom:after {
  /* bottom: unset !important;
    top: 0px !important;
    transform: rotateX(180deg);
    transform-origin: left top; */
}
.bootstrap-timepicker-widget.timepicker-orient-bottom:after {
  bottom: -5px !important;
}
.bootstrap-timepicker-widget.dropdown-menu.open {
  z-index: 9999 !important;
}
.bootstrap-timepicker-widget table td {
  height: auto;
  padding: 0;
}
.bootstrap-timepicker-widget table td a {
  height: 10px;
  padding: 0;
  color: var(--ct-text-muted);
}
.bootstrap-timepicker-widget table td a:hover {
  color: var(--default-color);
}
.bootstrap-timepicker-widget table td input {
  background: transparent;
  font-weight: 600;
  color: var(--default-color);
}
.bootstrap-timepicker-widget
  table
  td
  span[class*="custom-timepicker-"]
  input
  + span {
  font-size: 13px;
}

/* ### apexCharts ### */
.apex-charts text {
  font-family: "Pretendard Variable" !important;
}

/* ### jstree ### */
.jstree-wrap {
  height: 100%;
  overflow: auto;
  padding: 0;
}
.jstree-wrap::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.jstree-wrap a {
  font-weight: 500;
  font-size: 14px;
}
.jstree-container-ul > .jstree-node {
  /* depth 0 */
  margin: 0;
  padding: 0 var(--ct-padding);
}
.jstree-container-ul > .jstree-node .jstree-node {
  margin-left: 46px !important;
}
.jstree-default {
  padding: 2px 0 !important;
}
.jstree-default .jstree-wholerow {
  height: var(--jstree-h) !important;
}
.jstree-default .jstree-anchor {
  height: var(--jstree-h) !important;
  line-height: var(--jstree-h) !important;
  font-weight: 400;
}
.jstree-default .jstree-icon {
  background-image: url("/img/custom-32-2.png") !important;
  background-repeat: no-repeat !important;
}
.jstree-default .jstree-icon:empty {
  transform: translateY(15px);
  transform: translateY(8px);
}
i.jstree-icon.jstree-themeicon.dripicons-folder.jstree-themeicon-custom {
  display: none !important;
}
.jstree-default > .jstree-no-dots .jstree-closed > .jstree-ocl {
  background-image: url("/img/close-icon.png") !important;
  background-size: 80% !important;
  background-position: center center !important;
}
.jstree-default > .jstree-no-dots .jstree-open > .jstree-ocl {
  background-image: url("/img/open-icon.png") !important;
  background-size: 80% !important;
  background-position: center center !important;
}
.jstree-default .jstree-checkbox {
  background-image: url("/img/jstree-check-off.png") !important;
  background-size: 80% !important;
  background-position: center center !important;
}
.jstree-default.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox,
.jstree-default .jstree-checked > .jstree-checkbox {
  background-image: url("/img/jstree-check-on-point.png") !important;
  background-position: center center !important;
}
.jstree-default .jstree-anchor > .jstree-undetermined {
  background-image: url("/img/jstree-undetermined.png") !important;
  background-position: center center !important;
}
.jstree-default .jstree-wholerow-clicked, /* 클릭 시 배경 색깔 */
.jstree-default .jstree-leaf>.jstree-ocl {
  /* jstree 점선 */
  background: transparent !important;
}
.jstree-default .jstree-search {
  font-style: normal !important;
  color: var(--point) !important;
}
.jstree-default .jstree-wholerow-hovered {
  background: var(--hover-color) !important;
  border-radius: var(--ct-bdrad);
}

/* ### 목록 존재 여부 ### */
/* empty */
[class*="custom-empty-"] {
  text-align: center;
  font-weight: 400;
  color: var(--ct-text-muted);
}
.custom-empty-modal {
  display: block;
  padding: 50px 0 100px;
}
.custom-empty-table {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.custom-empty-table .custom-warning {
  display: block;
}

/* existing */
.custom-list-existing {
  height: 100%;
}

/* ### id, pw 오류 문구 안내 - Caps Lock, 비번 재확인 일치, 비번 안전도 ### */
.checkCapsLock,
.custom-isPwMatch,
.custom-pw-warning-box {
  font-weight: 600;
  font-size: 13px;
  margin-top: 3px;
}

/* ### custom scroll ### */
.custom-scroll {
  position: absolute;
  height: auto;
  overflow-x: auto;
  z-index: 10;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: #dadcde;
}
.custom-scroll-inner {
  height: 1px;
}

/* ----------------------------------------------------------------- */
/* ### main ### */
.custom-main-num-item {
  padding: var(--ct-padding);
}
.custom-main-num-item:hover {
  color: var(--default-color);
}
.custom-main-num-item:not(:last-child) {
  border-right: 1px solid var(--ct-border-color);
}
.custom-main-num-item-top,
.custom-main-num-item-bottom {
  display: block;
}
.custom-main-num-item-top {
  margin: 0 0 30px;
}
.custom-main-num-item-top span {
  margin-left: 4px;
  font-weight: 600;
  font-size: 15px;
}
.custom-main-num-item-bottom strong {
  display: block;
  margin: 0 0 -5px;
  font-size: 30px;
}
.custom-main-num-item-bottom strong > small {
  font-size: 14px;
}
.custom-main-num-item-bottom > span {
  font-size: var(--sm-fz);
  color: var(--ct-text-muted);
}
.custom-main-num-item-bottom > span b {
  margin: 0 4px;
  font-size: 18px;
}

/* ### 답변/댓글 - 학부모 상담 관리, 게시판 댓글 ### */
/* --- 댓글 등록 완료 --- */
.custom-comment-profile .account-user-avatar {
  width: 30px;
  height: 30px;
  margin-right: 6px;
  margin-right: 4px;
  border-radius: 7px;
  border: 1px solid var(--ct-table-border-color);
}
.custom-comment-user {
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.custom-comment-user .custom-comment-date {
  margin-left: 2px;
  font-size: var(--sm-fz);
  color: var(--ct-text-muted);
}
.custom-comment-text {
  width: calc(100% - 42px);
  margin: 0 0 0 42px;
  padding: 0.45rem 0.9rem;
  line-height: 1.5em;
  outline: none;
  border-radius: var(--ct-bdrad);
  border: 1px solid var(--ct-border-color);
  white-space: pre-wrap;
  font-size: 14px;
}
.custom-comment-text[readonly] {
  padding: 0;
  border-radius: 0px !important;
  border: none;
}

/* ### file ### */
.custom-dropzone {
  border: 2px dashed var(--ct-input-border-color);
  background: var(--ct-input-bg);
  border-radius: 6px;
  height: 150px;
  padding: 20px;
  position: relative;
  cursor: pointer;
}
.dropzone .custom-dropzone .dz-message {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.custom-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--ct-border-color);
  border-radius: 10px;
  background-color: #fff;
}
.custom-file:not(:last-child) {
  margin: 0 0 10px;
}
.custom-file-left {
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
}
.custom-file-left .custom-file-img {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 12px;
  text-align: center;
  background-color: var(--point-light);
  border: 1px solid var(--ct-border-color);
  overflow: hidden;
}
.custom-file-left .custom-file-img img:not(.custom-emoji) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.custom-file-left .custom-file-title {
  width: calc(100% - 40px);
  padding-left: 7px;
}
.custom-file-left .custom-file-name {
  display: -webkit-box;
  max-width: 99%;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  font-weight: 600;
  font-size: 13px;
}
.custom-file-left .custom-file-size {
  font-size: var(--sm-fz);
  color: var(--ct-text-muted);
}
.custom-file-right .custom-file-btn {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid var(--ct-border-color);
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
}
.custom-file-right .custom-file-btn:hover {
  color: var(--default-color);
  opacity: 0.8;
}

/* 파일 업로드 */
#uploadPreviewTemplate .card {
  border-radius: var(--ct-bdrad);
}
.custom-file-upload-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.custom-file-upload-item-left {
  width: calc(100% - calc(20px + 6px));
  display: flex;
  align-items: center;
  gap: 6px;
}
.custom-file-upload-item-left .avatar-sm + div {
  width: calc(100% - calc(40px + 6px));
}
.custom-file-upload-item-left .avatar-sm + div a:hover {
  color: var(--default-color);
}
.custom-file-upload-item-right {
  width: 20px;
}

/* ### 게시판 Start ### */
/* --- 공통 --- */
.custom-board-wrap .custom-page-title-menu {
  gap: 30px;
}
.custom-board-wrap .custom-page-title-link {
  min-width: unset;
}
.custom-board-info > * {
  display: inline-block;
  vertical-align: middle;
}
.custom-board-info > *:not(:last-child) {
  margin-right: 7px;
}

/* --- 게시판 목록 --- */
.custom-board-list.noItem {
  height: 100%;
}
.custom-board-list .custom-empty-table {
  display: none;
}
.custom-board-list.noItem .custom-empty-table {
  display: flex;
}
.custom-board-item {
  position: relative;
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-board-link {
  display: block;
  width: calc(100% - 37px);
  padding: 10px 0 10px 34px;
}
.custom-board-item:hover {
  background: var(--hover-color);
}
.custom-board-item:hover .custom-board-link {
  color: var(--default-color);
}

/* 공지글 */
.custom-board-item-notice {
  background-color: var(--hover-color);
}

/* 게시판 제목 */
.custom-board-item .custom-board-title {
  width: calc(
    100% -
      calc(
        180px + calc(110px + 30px) + calc(calc(var(--table-checkbox) + 7px) * 2)
      )
  );
  margin: 0 0 2px;
  font-size: 18px;
}
.custom-board-item .custom-board-title .custom-board-fileYn {
  margin-left: 2px;
  font-weight: 400;
  font-size: 16px;
  color: var(--ct-secondary);
}

/* 정보게시판 게시글 제목 */
.custom-board-item .board-badge + .board-subject {
  max-width: 455px;
}

/* 작성자 / 작성일 / 조회수 / 댓글 수 */
.custom-board-item .custom-board-info {
  display: flex;
  align-items: center;
  width: calc(
    180px + calc(110px + 30px) + calc(calc(var(--table-checkbox) + 7px) * 2)
  );
  text-align: right;
}
.custom-board-item .custom-board-info > *:not(:last-child) {
  margin-right: 0;
}
.custom-board-item .custom-board-writer {
  width: 180px;
  font-weight: 600;
  color: var(--ct-secondary);
}
.custom-board-item
  :is(.custom-board-date, .custom-board-view, .custom-board-comment) {
  color: var(--ct-text-muted);
}
.custom-board-item .custom-board-date {
  width: 110px;
  margin-left: 30px;
}
.custom-board-item :is(.custom-board-view, .custom-board-comment) {
  width: var(--table-checkbox);
  margin-left: 7px;
}

/* 게시판 목록 수정/삭제 버튼(공유 버튼은 기능이 없어서 삭제해둔 상태) */
.custom-board-btn-wrap:not(.custom-dropdown-wrap) {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 34px;
  background: #fff;
  border-radius: var(--ct-bdrad);
  border: 1px solid var(--ct-border-color);
}
.custom-board-btn {
  display: inline-block;
  width: var(--ct-form-h);
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  text-align: center;
  font-size: 18px;
}
.custom-board-btn:not(:last-child) {
  border-right: 1px solid var(--ct-border-color);
}
.custom-board-item .custom-board-edit {
  color: var(--ct-text-muted);
}
.custom-board-item .custom-board-delete {
  color: var(--ct-orange);
}

/* 게시판 목록 수정/삭제 버튼 - dropdown 형식 */
.custom-board-btn-wrap.custom-dropdown-wrap {
  width: 37px;
  text-align: center;
}
.custom-board-btn-wrap.custom-dropdown-wrap .dropdown .custom-board-edit {
  color: var(--ct-dropdown-link-color);
}
.custom-board-btn-wrap.custom-dropdown-wrap .dropdown .custom-board-edit:hover {
  background: var(--hover-color);
  color: var(--default-color);
}
.custom-board-btn-wrap.custom-dropdown-wrap
  .dropdown
  .custom-board-delete:hover {
  background: var(--ct-orange-lighten);
  color: var(--ct-orange);
}

/* --- 게시판 detail --- */
.custom-board-detail-wrap {
  height: calc(100vh - var(--topbar-h)) !important;
  background: #fff;
}
.custom-board-detail-inner,
.custom-board-detail-left,
.custom-board-detail-right {
  height: 100%;
}
.custom-board-detail-inner {
  height: calc(100% - 65px);
}
.custom-board-detail-left,
.custom-board-detail-right {
  overflow-y: auto;
}
.custom-board-detail-left::-webkit-scrollbar-thumb,
.custom-board-detail-right::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-bg);
}
.custom-board-detail-inner {
  display: flex;
}

/* 좌측 영역 */
.custom-board-detail-left {
  width: 75%;
  padding: var(--ct-padding);
  border-right: 1px solid var(--ct-border-color);
}
.custom-board-detail-content {
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-board-detail-content .board-type {
  display: block;
  margin: 0 0 7px;
  font-weight: 600;
  font-size: 16px;
  color: var(--point);
}
.custom-board-detail-content .custom-board-title {
  font-size: 28px;
  margin: 0 0 4px;
}
.custom-board-detail-content .custom-board-writer {
  font-weight: 600;
  color: var(--ct-secondary);
}
.custom-board-detail-content :is(.custom-board-date, .custom-board-view) {
  color: var(--ct-text-muted);
}
.custom-board-detail-content .custom-board-text {
  min-height: 250px;
  margin: 20px 0 0;
  padding-bottom: 25px;
}
.custom-board-detail-content .custom-board-text p {
  white-space: pre-wrap;
}
.custom-board-detail-content .custom-board-text img {
  display: block;
  margin: 0 0 var(--board-img-margin);
  /* max-width:100%은 화면이 너무 꽉 차보인다는 피드백으로 100% -> 60%으로 수정 */
  /* └ max-width %로 잡을 경우 detail화면과 write 화면간 차이가 좀 있어서 px로 고정 */
  max-width: var(--board-img-max-w) !important;
}
.custom-board-detail-comment {
  margin: 30px 0 0;
}
.custom-board-detail-comment-title {
  font-size: 18px;
}
.custom-board-detail-comment .custom-comment-action,
.custom-sub-comment-list {
  padding-left: 42px;
}
.custom-comment-action {
  margin: 4px 0 0;
}
.custom-board-detail-comment .custom-comment-action a {
  font-weight: 600;
  font-size: 13px;
  color: var(--point);
}
.custom-board-detail-comment .custom-comment-action a:not(:last-child) {
  margin-right: 7px;
}
.custom-comment-list {
  margin: 20px 0 0;
}
.custom-comment-list > .custom-comment-box:not(:first-child) {
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--ct-table-border-color);
}
.custom-sub-comment-list .custom-comment-box {
  margin: 15px 0 0;
}
.custom-sub-comment-list .custom-comment-box:last-child {
  margin-bottom: 0;
}

/* 댓글 공통 */
.custom-board-detail-left [id*="custom-"] textarea.form-control {
  min-height: unset;
}
.custom-board-detail-left .custom-comment-cancel-btn {
  border: 1px solid var(--ct-border-color);
  margin-right: 4px;
}
:is(.custom-comment-content, #custom-sub-comment-write)
  textarea:not(textarea[readonly]) {
  width: calc(100% - var(--ct-btnTest));
  height: 100px;
  border-radius: var(--ct-bdrad) 0 0 var(--ct-bdrad) !important;
  color: var(--default-color);
}
:is(.custom-comment-content, #custom-sub-comment-write)
  textarea::-webkit-scrollbar-thumb {
  background: var(--ct-light);
}
:is(.custom-comment-content, #custom-sub-comment-write)
  [class*="custom-type-btn"] {
  height: 100px;
  line-height: 100px;
  border-radius: 0 var(--ct-bdrad) var(--ct-bdrad) 0 !important;
  border-color: var(--point);
}

/* 댓글 등록 */
#custom-comment-write {
  margin: 25px 0 0;
  text-align: right;
}
#custom-comment-write textarea.form-control {
  height: 140px;
  margin: 0 0 12px;
}

/* 답글 등록 */
#custom-sub-comment-write {
  margin: 12px 0 0;
  padding-left: 42px;
  display: flex;
  align-items: center;
}

/* 우측 영역 */
.custom-board-detail-right {
  width: 25%;
}
.custom-board-detail-right .custom-board-file-title {
  padding: 18px var(--ct-padding) 10px;
  font-size: 14px;
}
.custom-board-detail-right .custom-board-file-list {
  padding: 0 var(--ct-padding) var(--ct-padding);
}
.custom-board-detail-right .custom-board-file-list .custom-empty-table {
  padding: 10px 0;
}

/* --- 게시판 글쓰기 --- */
.custom-board-write-wrap {
  position: fixed;
  width: 100%;
  height: 100vh !important;
  left: 0;
  top: 0;
  background: #fff;
  z-index: 1000;
}
.custom-board-write-inner {
  height: 100%;
}
.custom-board-write-head {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--ct-padding);
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-board-write-head h4 {
  font-size: 18px;
}
.custom-board-write-body {
  height: calc(100% - var(--topbar-h));
  clear: both;
}
.custom-board-write-body-left,
.custom-board-write-body-right {
  float: left;
  height: 100%;
  padding: var(--ct-padding);
  overflow-y: auto;
}
.custom-board-write-body-left {
  width: 80%;
}
.custom-board-write-body-right {
  width: 20%;
  background: #fdfdfd;
  overflow-y: auto;
}
.custom-board-write-body-right::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

/* 왼쪽 영역 */
.custom-board-write-body-left
  :is(#boardTitle, .ql-toolbar.ql-snow, #snow-editor > .ql-editor) {
  padding-left: 0;
  padding-right: 0;
}
.custom-board-write-body-left #boardTitle {
  display: block;
  width: 100%;
  height: var(--topbar-h);
  margin: 0 0 10px;
  border: none;
  border-radius: 0px !important;
  font-weight: 700;
  font-size: 28px;
  color: var(--default-color);
}
.custom-board-write-body-left .ql-toolbar.ql-snow {
  border-radius: 0px;
  border: none;
  border-top: 1px solid var(--ct-border-color);
}
.custom-board-write-body-left #snow-editor {
  height: calc(100% - calc(calc(80px + 10px) + 43px));
  border: none;
  overflow: auto;
}
.custom-board-write-body-left
  #snow-editor
  > .ql-editor::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

/* 오른쪽 영역 */
.custom-board-write-body-right
  > [class*="custom-board-write"]:not(:last-child) {
  margin: 0 0 20px;
}
.custom-board-write-body-right > [class*="custom-board-write"] h4 {
  margin: 0 0 7px;
  font-weight: 600;
  font-size: 14px;
}
.custom-board-write-body-right :is(.form-control, .form-select) {
  width: 100%;
}
.custom-board-write-body-right input.form-control[readonly] {
  background: #fff;
}

/* 파일 올리기 */
.custom-board-write-wrap .dropzone {
  min-height: unset;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0px;
  cursor: initial;
}
/* ### 게시판 End ### */

/* ### 선생님 정보 - 레벨 - 기타 & 4대보험 버튼 ### */
.custom-regist-form .input-group .form-select.custom-level-etc {
  width: 140px;
}
.custom-regist-form .input-group input.form-control.custom-level-etc {
  width: calc(100% - calc(140px + 89px + calc(5px * 2)));
}
.custom-insurance-btn-wrap .custom-type-btnTest {
  border: 1px solid var(--ct-border-color);
  color: var(--ct-text-muted);
}
.custom-insurance-btn-wrap
  input[type="checkbox"]:checked
  + .custom-type-btnTest {
  background: var(--point-light);
  border-color: var(--point);
  color: var(--point);
}

/* ### 출석체크 & 개별코칭학생 선택 ### */
/* --- 개별 선택 --- */
:is(.custom-attendance-regist-wrap, .custom-coach-select-student-wrap)
  .custom-student-list {
  padding: var(--ct-padding) var(--ct-padding) 0;
}
:is(.custom-attendance-regist-wrap, .custom-coach-select-student-wrap)
  .form-check-input {
  margin-top: 0;
  cursor: pointer;
}

/* 그룹별 선택 */
.custom-all-item-check {
  height: var(--list-h);
  margin: 0 0 8px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: var(--ct-bdrad);
  background: var(--hover-color);
  color: var(--default-color);
}

/* --- 학생 정보 --- */
.col-3[class*="-student"] .custom-student-item {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--ct-border-color);
  border-radius: var(--ct-bdrad);
  position: relative;
  cursor: pointer;
  transition: 0.1s;
}
.col-3[class*="-student"] .custom-student-item:hover {
  background-color: var(--hover-color);
}
:is(.custom-student-attendance-name, .custom-student-coach-name) {
  margin: 4px 0;
}

/* .custom-test-option */
.custom-test-option {
  margin: 0 0 25px;
}
.custom-test-option-title {
  margin: 0 0 8px;
  font-size: 16px;
}
.custom-test-option-title .custom-modal-title-guide {
  padding: 4px 0;
}
.custom-test-option .btn {
  flex: 1;
}

/* 문제 형식 */
.custom-test-option .custom-warning {
  margin: 7px 0 0;
  font-size: 13px;
}

/* ########### 문제만들기 Start ########### */
/* ### Step1 START ### */
.custom-create-test-wrap .custom-page-inner > [class*="col-"] {
  height: calc(100% - 65px);
}
.custom-create-test-top {
  height: calc(100% - var(--step1-bottom-h));
}
.custom-create-test-bottom {
  height: var(--step1-bottom-h);
  border-top: 1px solid var(--ct-border-color);
  background: #fff;
  position: relative;
  overflow: auto;
}
.custom-create-test-bottom::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-test-option-wrap {
  width: 100%;
  height: 100%;
  padding: calc(calc(var(--step1-bottom-h) - 84px) / 2) 20px;
  justify-content: space-between;
  gap: var(--step1-gap);
}
.custom-create-test-bottom:hover
  .custom-test-option-wrap::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

/* --- 상단 공통 --- */
.custom-create-test-top > [class*="col-12"] {
  height: 100%;
  display: flex;
}
.custom-create-test-top-left {
  width: 20%;
  height: 100%;
}
.custom-create-test-top-center {
  width: 45%;
  border-left: 1px solid var(--ct-border-color);
  border-right: 1px solid var(--ct-border-color);
}
.custom-create-test-top-right {
  width: 35%;
}
.custom-create-test-top-title {
  height: var(--list-h);
  line-height: var(--list-h);
  background: var(--content-bg);
  border-bottom: 1px solid var(--ct-border-color);
  text-align: center;
  font-weight: 700;
}
.custom-create-test-top-desc {
  height: calc(100% - var(--list-h));
  padding: var(--ct-padding);
  padding: 12px var(--ct-padding) 0;
  overflow-y: auto;
}
.custom-create-test-top-left::-webkit-scrollbar-thumb,
.custom-create-test-top-desc::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

/* --- 상단 좌측 --- */
.custom-create-test-top-left .custom-create-test-top-desc {
  padding: 13px 12px;
}
.custom-create-test-top-left .custom-list-type1 {
  padding: 7px;
  border-radius: var(--ct-bdrad);
}
.custom-create-test-top-left .custom-list-type1:not(:last-child) {
  margin: 0 0 7px;
}
.custom-create-test-top-left .custom-list-type1-img {
  line-height: 36px;
  filter: grayscale(1);
}
.custom-create-test-top-left
  :is(.custom-list-type1.clicked, .custom-list-type1.active)
  .custom-list-type1-img {
  filter: grayscale(0);
}
.custom-create-test-top-left .custom-list-type1-title > :is(h4, strong) {
  font-size: 14px;
}

/* --- 상단 가운데 --- */
.custom-create-test-top-desc.jstree-wrap {
  padding: 10px 12px 12px;
}

/* jstree 임시 */
.custom-create-test-top-desc
  .jstree-default
  > .jstree-container-ul
  > .jstree-node {
  padding: 0 7px;
  border-radius: var(--ct-bdrad);
}
.jstree-anchor.form-check-undetermined > i.jstree-checkbox {
  background-image: url(/img/jstree-undetermined.png) !important;
  background-position: center center !important;
}

/* --- 상단 우측 --- */
.custom-create-test-lastChildren {
  padding: 0 0 12px;
}

/* 전체 선택 */
.custom-create-test-lastChildren-title {
  height: var(--list-h);
  line-height: var(--list-h);
  margin: 0 0 10px;
  padding: 0 10px;
  border-radius: var(--ct-bdrad);
  background: var(--point-light);
  color: var(--point);
  position: relative;
}

/* 상단 우측 - 어코디언 */
.custom-create-test-lastChildren-accordion {
  padding: 0 0 5px;
}
.custom-create-test-lastChildren-accordion
  .custom-create-test-lastChildren-title
  .form-check-input {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  z-index: 10;
}
.custom-create-test-lastChildren-accordion
  .custom-create-test-lastChildren-title
  .form-check-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: calc(20px + 2px + 4px);
  cursor: pointer;
}
.custom-create-test-lastChildren-accordion
  .custom-create-test-lastChildren-title
  .custom-btn-accordion {
  font-size: 22px;
  color: var(--point);
}

/* 어코디언 닫힘 상태 */
.custom-create-test-lastChildren-accordion.accordion
  .custom-create-test-lastChildren-title
  .form-check-label
  .custom-btn-accordion {
  transform: rotateX(180deg);
}
.custom-create-test-lastChildren-accordion.accordion .book-toc-li {
  display: none;
}

/* 개별 항목 */
.custom-create-test-lastChildren-list {
  padding-left: 30px;
}
:is(.custom-worksheetStep-wrap, .custom-conceptStep-wrap)
  .custom-create-test-lastChildren-list {
  padding-left: 0;
}
.custom-create-test-lastChildren:not(:last-child) {
  margin: 0 0 16px;
}
.custom-create-test-lastChildren .custom-li-td {
  height: auto;
  line-height: unset;
  padding: 4px 0;
  padding-left: 30px;
  border-radius: var(--ct-bdrad);
  text-align: left;
}
.custom-create-test-lastChildren .custom-li-td:hover {
  background: var(--hover-color);
}
.custom-create-test-lastChildren-item:not(:last-child) {
  margin: 0 0 4px;
}
.custom-create-test-top-right label {
  display: inline-block;
  cursor: pointer;
}
.custom-create-test-lastChildren-subject {
  font-weight: 400;
}
.form-check-input.form-check-undetermined,
.custom-create-test-lastChildren .form-check-input.form-check-undetermined,
.custom-create-test-lastChildren
  .form-check-input.form-check-undetermined:checked {
  /* 유형 목록 - 유형이 전체 체크가 아닌 일부만 체크된 경우 해당 유형들의 소단원 체크 버튼 */
  background-image: url(/img/jstree-undetermined.png);
  background-size: 20px 20px;
  background-color: transparent;
  border-color: var(--ct-border-color);
}

/* --- 하단 공통 --- */
.custom-step1-bottom-right {
  width: calc(
    100% -
      calc(
        calc(
            calc(var(--step1-ratio-box) * 3) + calc(var(--step1-ratio-gap) * 2)
          ) + var(--step1-gap)
      )
  );
  vertical-align: top;
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--step1-gap);
}
.custom-create-test-bottom .custom-test-option {
  margin: 0;
}
.custom-create-test-bottom
  .custom-test-option-box
  .custom-test-option:not(:last-child) {
  margin: 0 0 20px;
}
.custom-create-test-bottom
  .custom-test-option-content
  :is(.form-select, .form-control, .select2) {
  width: 100%;
  min-width: unset;
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  font-size: 13px;
}
.custom-create-test-bottom .custom-test-option-title {
  margin: 0;
  font-size: 14px;
}
.custom-create-test-bottom .custom-test-option-box .custom-test-option-title {
  width: 100px;
  margin: 0;
}
.custom-create-test-bottom
  .custom-test-option-box
  .custom-test-option-title
  + .custom-test-option-content {
  width: calc(100% - 100px);
}
.custom-test-option-content .text-danger {
  margin: 4px 0 0;
  word-break: keep-all;
  font-size: 13px;
}
.custom-test-option-content [class*="custom-type-btn"] {
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  font-size: 13px;
}
.custom-create-test-bottom .custom-test-option .custom-step1-btn:hover,
.custom-create-test-bottom .custom-test-option .custom-step1-btn.active {
  border-color: var(--point);
  color: var(--point);
  background: var(--point-light);
}

/* --- 하단 좌측 --- */
.custom-step1-bottom-left.custom-test-option-chart
  > .custom-test-option-box.custom-chartjs-wrap {
  width: 250px;
  vertical-align: top;
  margin-right: 10px;
}

/* ■□■ 난이도 설정 ■□■ */
.custom-ratio-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--step1-ratio-gap);
}
.custom-ratio-wrap .custom-ratio-box {
  width: var(--step1-ratio-box);
  margin: 0;
  padding: 7px 10px 10px;
  border-radius: var(--ct-bdrad);
  position: relative;
}
.custom-ratio-wrap .custom-ratio-box:nth-child(1) {
  background: #e0e9ff;
}
.custom-ratio-wrap .custom-ratio-box:nth-child(2) {
  background: #f1f6fe;
}
.custom-ratio-wrap .custom-ratio-box:nth-child(3) {
  background: #fbfbfb;
}

/* 난이도 제목 */
.custom-ratio-wrap .custom-ratio-box .custom-emoji {
  position: absolute;
  top: 10px;
  right: 10px;
}
.custom-ratio-wrap .custom-ratio-box .form-check-label {
  margin: 0 0 12px;
}
.custom-ratio-wrap .custom-ratio-box .form-check-label span {
  font-weight: 400;
  font-size: 13px;
}
.custom-ratio-wrap .custom-ratio-box .form-check-label strong {
  font-weight: 700;
  font-size: 16px;
}

/* ~% 입력 */
.custom-ratio-wrap .custom-ratio-item {
  display: flex;
  align-items: center;
  position: relative;
}
.custom-create-test-bottom
  .custom-test-option
  .custom-ratio-wrap
  .form-control {
  display: inline-block;
  width: 59px;
  padding-right: 18px;
  text-align: left;
}
.custom-ratio-wrap .custom-ratio-item .custom-percent-text {
  margin-left: 4px;
  font-size: 13px;
}

/* --- 하단 우측 --- */
.custom-step1-bottom-right > .custom-test-option-box {
  width: calc(
    calc(
        calc(
            100% - calc(calc(var(--step1-gap) * 2) + var(--step1-exclude-test))
          ) / 10
      ) * 6
  );
}
.custom-step1-bottom-right > .custom-testType-wrap {
  width: calc(
    calc(
        calc(
            100% - calc(calc(var(--step1-gap) * 2) + var(--step1-exclude-test))
          ) / 10
      ) * 4
  );
}

/* ■□■ 하단 우측 - 문제 형식 ■□■ */
.custom-form-range-wrap {
  width: 100%;
  margin: 21px 0 0;
}
.custom-form-range-box {
  position: relative;
}
.custom-form-range-bg {
  position: absolute;
  left: 0;
  top: calc(50% - 3px);
  transform: translateY(-50%);
  width: 50%;
  height: 7px;
  border-radius: 100px;
  background: var(--point-light);
  background: #adc4ff;

  /* .custom-form-range-bg 보이고도 input[type=range] 클릭할 수 있게 하기 위함 */
  pointer-events: none;
}
.custom-form-range-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ct-text-muted);
}

/* ■□■ 기존 출제 학습지 제외 ■□■ */
.custom-create-test-bottom .custom-testExclude-wrap {
  width: var(--step1-exclude-test);
  padding: 15px;
  border-radius: var(--ct-bdrad);
  background: #f1f6fe;
}
.custom-create-test-bottom .custom-testExclude-wrap .custom-test-option-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  word-break: keep-all;
}
.custom-create-test-bottom
  .custom-testExclude-wrap
  .custom-test-option-title
  .custom-guide-text {
  min-width: 175px;
  left: unset;
  right: 0;
}
.custom-testExclude-wrap .custom-type-btnTest,
.custom-testExclude-wrap .custom-type-btnTest:hover {
  flex: unset;
  width: 113px;
  margin: 11px 0 0;

  width: 100%;
  background: var(--point);
  color: #fff;
}
.custom-step1-bottom-right .custom-exclude-workbook-text {
  font-weight: 400;
  font-size: 14px;
  text-align: right;
}
.custom-step1-bottom-right #exclude_workbook_cnt {
  font-weight: 700;
}
/* ### Step1 END ### */

/* ###  STEP2 renewal START ### */
.custom-worksheetStep-wrap.custom-worksheetStep2 {
  height: calc(100vh - var(--topbar-h)) !important;
}
.custom-worksheetStep-wrap.custom-worksheetStep2 > [class*="col-"] {
  height: 100%;
}
.custom-worksheetStep-wrap.custom-worksheetStep2 #proc-form {
  height: calc(100% - calc(var(--search-wrap-h) + 65px));
  padding: var(--ct-padding);
  clear: both;
}
.custom-worksheetStep-page,
.custom-worksheetStep-page-option {
  height: 100%;
  overflow-y: auto;
}
.custom-worksheetStep-page::-webkit-scrollbar-thumb,
.custom-worksheetStep-page-option:hover::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-worksheetStep-page {
  float: right;
  width: calc(80% - calc(var(--ct-padding) / 2));
}
.custom-worksheetStep-page-option {
  float: left;
  width: 20%;
  padding: var(--ct-padding);
  background: #fafafa;
  border-radius: 12px;
}

.custom-worksheetStep-page-list {
  border: 1px solid var(--ct-border-color);
  padding: 14px 20px;
}
.custom-worksheetStep-wrap.custom-worksheetStep2 #list-div {
  display: grid;
  grid-template-columns: repeat(2, calc(calc(100% - 32px) / 2));
  grid-gap: var(--ct-padding) 32px;
  padding: 15px 0 0;
  position: relative;
}
.custom-worksheetStep-wrap.custom-worksheetStep2 #list-div:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: var(--ct-border-color);
}

/* 제목 */
.custom-worksheetStep-page-title * {
  font-family: "NanumBarunGothic", sans-serif;
}
.custom-worksheetStep-page-title .custom-test-option {
  display: flex;
  align-items: center;
  gap: 7px;
}
.custom-worksheetStep-page-title .custom-test-option .form-control {
  height: auto;
  line-height: unset;
  padding: 0;
  border-radius: 0px !important;
  border: none;
  border-bottom: 2px dashed var(--point);
}
.custom-edit-worksheetTitle {
  width: 27px;
  height: 27px;
  line-height: 25px;
  border: 1px solid var(--ct-border-color);
  border-radius: var(--ct-bdrad);
  font-weight: 400;
  font-size: 15px !important;
  color: var(--ct-text-muted);
}

/* 학습지 제목 입력 */
.custom-test-option-title .title-type {
  font-size: 40px;
}
.custom-test-option-title :is(.custom-worksheetStep-text, #title) {
  font-size: 35px;
}
.custom-test-option-title #title {
  width: 460px;
}

/* subtitle */
.custom-test-option-subtitle :is(.custom-worksheetStep-text, #subtitle) {
  font-size: 20px;
}
.custom-test-option-subtitle #subtitle {
  width: 340px;
}

/* 시작 소단원 ~ 마지막 소단원 */
.custom-test-option-range
  :is(.custom-worksheetStep-text, #first_range, .last-range) {
  font-size: 15px;
}
.custom-test-option-range #first_range {
  width: 265px;
}
.custom-test-option-addRange {
  margin-left: 7px;
}
.custom-test-option-addRange label {
  font-family: "Pretendard Variable";
  font-weight: 400;
}

/* 날짜 & 이름 */
.custom-test-option-info {
  padding: 0 0 15px;
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-test-option-info .custom-test-option {
  margin: 0;
}
.custom-test-option-info .custom-worksheetStep-item {
  width: 200px;
  font-size: 13px;
}

/* 학원 이름 & 문항 수 */
.custom-worksheetStep-page-bottom {
  padding: 30px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "NanumBarunGothic", sans-serif;
  font-size: 13px;
}

/* 우측(태그, 추가 기능) */
.custom-worksheetStep-page-option .custom-test-option:last-child {
  margin: 0;
}

/* 추가 기능 */
.custom-test-option-additionalFunc .custom-test-option-title {
  margin: 0 0 10px;
}
.custom-test-option-additionalFunc .form-check-label {
  font-weight: 400;
}

/* 탭버튼(문제 설정 / 학습지 설정) */
.custom-testNav-wrap {
  height: 70px;
  padding: 0 var(--ct-padding);
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-type-btnTestNav,
.custom-type-btnTestNav:focus {
  width: 100px;
  background: #fff;
  border: 1px solid var(--ct-border-color);
  border-radius: 100px !important;
  color: var(--ct-text-muted);
}
.custom-type-btnTestNav:hover {
  color: var(--default-color);
}
.custom-type-btnTestNav.active,
.custom-type-btnTestNav.active:hover,
.custom-type-btnTestNav.active:focus {
  background: var(--point-light);
  border-color: var(--point);
  color: var(--point);
}

/* 기본정렬 / 문제섞기 / 즐겨찾는 문제 호출 */
.custom-worksheetStep2-left .custom-search-wrap [class*="custom-type-btn"] {
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  font-size: 13px;
}

/* 북마크 & 학습지 해설 미리보기 */
.custom-test-btn-bookmark {
  position: absolute;
  top: 14px;
  right: 14px;
}
.custom-test-btn-bookmark :is(.custom-step2-explain-preview, .btn) {
  height: 35px;
  line-height: 35px;
}

/* 학습지 미리보기(해설 미리보기) */
.custom-step2-explain-preview {
  width: 102px;
  font-size: 13px;
}

/* 북마크 */
.custom-test-btn-bookmark .btn {
  width: 35px;
  background: rgba(var(--ct-light-rgb), 0.75);
  color: var(--ct-text-muted);
}
.custom-test-btn-bookmark .btn:hover {
  color: var(--ct-secondary);
}
.custom-test-btn-bookmark .btn.checked {
  background: var(--point-light);
  color: var(--point);
}

/* 정답 & 해설 미리보기 */
:is(.custom-answer-div, .custom-explanation-div) {
  font-family: "NanumBarunGothic", sans-serif;
}
:is(.custom-answer-div, .custom-explanation-div) .text-highlight {
  padding: 4px;
  border-radius: 5px;
}
:is(.custom-answer-div, .custom-explanation-div)
  .text-highlight
  + [class*="-div"] {
  padding: 0 4px;
}
.custom-answer-div .text-highlight {
  background: rgba(10, 207, 151, 0.1);
  border: 1px solid rgba(10, 207, 151, 0.18);
}
.custom-explanation-div .text-highlight {
  background: #f7f7f7;
}

/* 문제 추가 / 교체 모달 */
#math-modal-div .custom-nav,
#math-modal-div .nav-link {
  width: 100%;
}
#math-modal-div .nav-item {
  width: 50%;
}

/* --- 기존 출제 문항 제외 modal --- */
.custom-worksheet-modal .modal-dialog-scrollable .modal-content {
  height: 100%;
}
.custom-worksheet-modal .modal-body {
  height: calc(100% - calc(55px + 65px + 2px));
  padding: 0;
}
.custom-worksheet-modal .modal-body .custom-table {
  height: 100%;
}
.custom-worksheet-modal :is(.table, .modal-tbody, .worksheet-modal-tr, td) {
  display: block;
  width: 100%;
}
.custom-worksheet-modal .table {
  text-align: left;
}
.custom-worksheet-modal .table td {
  height: 70px;
  border: none !important;
  padding: 0;
}
.custom-worksheet-modal .table tr:hover td,
.custom-worksheet-modal .table td:hover {
  background: transparent !important;
}
.worksheet-modal-label {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 calc(var(--ct-padding) / 2);
  border-bottom: 1px solid var(--ct-table-border-color);
  font-weight: 400;
  cursor: pointer;
}
.worksheet-modal-label:hover {
  background: #fafbfc;
}
.worksheet-modal-label > span {
  width: calc(100% - calc(calc(20px + 4px) + 7px));
}
.custom-excludeMathList-title .custom-td-test-amount {
  color: var(--point);
}
.custom-worksheet-modal-info {
  display: block;
  margin: 4px 0 0;
}
.custom-worksheet-modal-info .custom-td-test-date {
  font-size: 13px;
  color: var(--ct-text-muted);
}
.custom-worksheet-modal-info .badge {
  margin-left: 4px;
}

/* --- 문제 미리보기 모달 --- */
#worksheet-preview-modal-div .modal-dialog {
  max-width: 50%;
}
#worksheet-preview-modal-div.custom-worksheet-modal .modal-content {
  height: 95%;
  max-height: 95%;
}
#worksheet-preview-modal-div .modal-body {
  padding: 14px 0;
}
#worksheet-preview-modal-div .modal-body-inner {
  height: 100%;
  overflow-y: auto;
}
#worksheet-preview-modal-div .modal-body-inner::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
/* ### renewal Step2 END ### */
/* ########### 문제만들기 End ########### */

/* ### 학생 개별코칭 Start ### */
/* --- 기간 조회 --- */
.custom-coach-search-date :is(input.form-control, .form-select) {
  width: 120px;
}

/* --- 더보기 버튼 --- */
.custom-coach-wrap .worksheet-btn-tr {
  padding: 30px 0 var(--ct-padding);
}
.custom-coach-wrap .custom-type-btnMore {
  display: block;
  width: calc(100% - calc(var(--ct-padding) * 2));
  margin: 0 auto;
  font-size: var(--nm-fz);
}
/* ### 학생 개별코칭 End ### */

/* ### 프로필 Start ### */
.custom-profile-wrap {
  height: calc(100vh - var(--topbar-h)) !important;
  background: #fff;
}
.custom-profile-header {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: end;
  padding: 0 14px;
}
.custom-profile-body {
  height: calc(100% - 65px);
  overflow-y: auto;
}
.custom-profile-body::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-profile-wrap :is(input.form-control, .form-select, .select2) {
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
}

/* --- 프로필 사진 --- */
.custom-profile-thumb {
  padding: 40px var(--ct-padding) 0;
  text-align: center;
}
.custom-profile-img {
  display: inline-block;
  margin: 0 0 5px;
  position: relative;
}
.custom-profile-img img {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 47px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  object-fit: cover;
}

/* 프로필 변경 버튼 */
.custom-profile-camera {
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--ct-form-h);
  height: var(--ct-form-h);
  line-height: calc(var(--ct-form-h) - 2px);
  border-radius: 100%;
  background: #fff;
  border: 1px solid var(--ct-border-color);
  text-align: center;
  color: var(--default-color);
}
.custom-profile-camera .form-control {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0;
  opacity: 0;
  z-index: 1;
}

/* 프로필 삭제 */
.custom-remove-img .form-check-input {
  width: 18px;
  height: 18px;
}
.custom-remove-img label {
  display: inline-block;
  vertical-align: middle;
  color: var(--ct-secondary);
}

/* --- 프로필 정보 --- */
.custom-profile-desc {
  padding: 18px var(--ct-padding) 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.custom-profile-desc h4 {
  font-size: 32px;
}
.custom-profile-desc .custom-guide-icon {
  margin-left: 4px;
  text-align: left;
}
.custom-profile-desc .custom-guide-icon > i {
  font-size: 18px;
  color: var(--ct-text-muted);
}

/* --- 프로필 수정 --- */
.custom-profile-edit {
  max-width: 430px;
  margin: 0 auto;
  text-align: left;
}
.custom-profile-edit-title {
  padding: 0 0 8px;
  font-size: 22px;
}
.custom-profile-edit-option {
  margin: 15px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.custom-profile-edit-option > h4 {
  width: 112px;
  word-break: keep-all;
  font-weight: 600;
  font-size: 14px;
}
.custom-profile-edit-option > h4 + *,
.custom-profile-edit-option > .select2 {
  /* select2 width가 !important 되어있기 때문 */
  width: calc(100% - calc(112px + 12px)) !important;
}

/* 비밀번호 보기 */
.input-group-merge input.form-control {
  width: calc(100% - calc(var(--ct-btn-h) + 1px));
  border-radius: var(--ct-bdrad) 0 0 var(--ct-bdrad) !important;
}
.input-group-merge .input-group-text {
  width: var(--ct-btn-h);
  height: var(--ct-btn-h);
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0 var(--ct-bdrad) var(--ct-bdrad) 0;
  background: var(--hover-color);
  cursor: pointer;
}
.input-group-merge .input-group-text.show-password i:before {
  content: "\ecb7";
}

/* --- id, pw 오류 문구 안내 - Caps Lock, 비번 재확인 일치, 비번 안전도 --- */
.checkCapsLock,
.custom-isPwMatch,
.custom-pw-warning-box {
  font-weight: 600;
  font-size: 13px;
  margin-top: 3px;
}

/* --- 비밀번호 경고 문구 START --- */
.custom-pw-warning-box {
  margin-bottom: 10px;
}

/* 비밀번호 안전도 */
[class*=".custom-pw-security-"] {
  display: inline-block;
  vertical-align: middle;
}
.custom-pw-security-title {
  margin-right: 10px;
  color: var(--ct-text-muted);
  position: relative;
}
.custom-pw-security-title:before {
  content: "";
  position: absolute;
  width: 1px;
  height: 12px;
  top: 50%;
  transform: translateY(-50%);
  right: -7px;
  background: var(--ct-border-color);
}
.custom-security-bar {
  display: inline-block;
  width: 15px;
  height: 3px;
  margin-left: 3px;
  vertical-align: middle;
}
.custom-pw-security-low .custom-security-bar {
  background: var(--ct-danger);
}
.custom-pw-security-middle .custom-security-bar {
  background: var(--ct-warning);
}
.custom-pw-security-high .custom-security-bar {
  background: var(--ct-success);
}
/* --- 비밀번호 경고 문구 END --- */
/* ### 프로필 End ### */

/* ### modal ### */
.modal-dialog-scrollable .modal-content {
  max-height: var(--modal-max-h);
  margin-left: auto;
  margin-right: auto;
}
:is(.modal-header, .modal-body, .modal-footer) {
  padding-left: calc(var(--ct-padding) / 2);
  padding-right: calc(var(--ct-padding) / 2);
}
.modal-header,
.modal-footer {
  padding-top: 0;
  padding-bottom: 0;
}
.modal-header {
  height: 55px;
}
.modal-body {
  height: calc(100% - calc(55px + 65px));
  overflow-y: auto;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.modal-footer {
  height: 65px;
}
.modal-content {
  width: 88%;
  border-radius: var(--ct-bdrad);
}
.modal-title {
  font-size: 18px;
  color: var(--default-color);
}
.custom-modal-title-guide {
  display: block;
  line-height: 1em;
  font-weight: 400;
  font-size: 13px;
  color: var(--ct-text-muted);
}
.modal-body .table th {
  font-size: 16px;
}
.modal-body :is(.form-control, .form-select, .select2) {
  width: 100%;
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
  padding-top: 0;
  padding-bottom: 0;
  border-radius: var(--ct-bdrad);
}
.modal-body .custom-form-select .select2 {
  position: absolute;
  height: calc(65px - 2px);
  top: 0;
  left: 0;
  line-height: calc(65px + 22px);
  font-size: 15px;
}
.modal-body textarea.form-control {
  padding-top: 7px;
  line-height: 1.35em;
}
:is(.modal, .modal-body) :is(.form-label, h4.form-label) {
  font-size: 14px;
}
.modal .btn {
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
  padding-top: 0;
  padding-bottom: 0;
  font-size: var(--nm-fz);
}

/* --- small modal --- */
.custom-modal-small-wrap {
  left: 50%;
  transform: translateX(-50%);
}
.custom-modal-small-wrap .modal-dialog {
  max-width: 490px;
}
.custom-modal-small-wrap .custom-regist-bill-title > h4 {
  font-size: 15px;
}
.custom-type-btnTest + .custom-modal-small-btn-right {
  width: calc(100% - calc(5px + 89px));
}

/* --- 채점 모달 - 정답 상세 --- */
.answer-text,
.hidden-text {
  font-weight: 400;
  font-size: 15px;
}
.shown-detail.answer-scaleDown .hidden-text {
  font-size: 12px;
}
.shown-detail .answer-detailShow {
  font-weight: 400;
  color: var(--ct-secondary);
}

/* ### CUSTOM modal ### */
/* --- 옆으로 뜨는 modal --- */
.modal.fade[id*="-modal"] .modal-dialog.custom-slide-modal,
.modal.show[id*="-modal"] .modal-dialog.custom-slide-modal {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  max-width: var(--modal-w);
  height: 100%;
  margin: 0;
  background: #fff;
  z-index: 100000;
}
.custom-detail-form,
.custom-detail-box {
  width: 100%;
  height: 100%;
}
.custom-detail-box-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  max-width: var(--modal-w);
  height: 100%;
  background: #fff;
  transition: 0.4s;
  transition-delay: 0.2s;
}

/* 옆으로 뜨는 모달 head */
.custom-detail-head {
  height: 65px;
  border-bottom: 1px solid var(--ct-border-color);
  padding: 0 var(--ct-padding);
  position: relative;
}
.custom-detail-head > h4 {
  font-size: 18px;
}
.custom-detail-head .custom-close-modal {
  color: var(--ct-text-muted);
  font-size: 24px;
}

/* 옆으로 뜨는 모달 content */
.custom-detail-content {
  height: calc(100% - calc(65px * 2));
  padding: var(--ct-padding);
}
.modal[id*="-modal"] .custom-slide-modal .modal-content.custom-detail-form {
  height: 100%;
  border-radius: 0px;
}
.custom-detail-content.custom-authority-teacher {
  height: calc(100% - 65px);
}
.custom-regist-bottom {
  margin-top: var(--card-margin);
}
.custom-regist-title {
  height: var(--list-h);
  margin: 0 0 20px;
  padding: 0 7px;
  background: var(--hover-color);
  border-radius: var(--ct-bdrad);
}
.custom-regist-title h4 {
  font-size: 16px;
  color: var(--ct-secondary);
}
.custom-regist-title p {
  margin-left: 10px;
  font-size: var(--sm-fz);
}
.custom-regist-form h4.form-label {
  margin: 0 0 10px;
  font-weight: 400;
  font-size: var(--nm-fz);
}
.modal[id*="-modal"] .custom-slide-modal .custom-regist-form h4.form-label {
  font-weight: 700;
  font-size: 16px;
}
.custom-regist-form h4.form-label .custom-must-fill {
  margin-right: 2px;
}
.custom-regist-form :is(input.form-control, .form-select, .select2) {
  width: 100%;
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
  border-radius: var(--ct-bdrad) !important;
  font-size: var(--nm-fz);
}
.custom-regist-form .input-group :is(input.form-control, .form-select) {
  width: auto;
}
.custom-regist-form [class*="col-"] {
  margin: 0 0 30px;
}
.modal[id*="-modal"] .custom-slide-modal .custom-detail-box {
  position: relative;
}
.modal[id*="-modal"] .custom-slide-modal .custom-detail-box-inner {
  position: static;
  width: 100%;
  max-width: unset;
}

/* 옆으로 뜨는 모달 btn */
.custom-detail-content:hover::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-detail-btn {
  height: 65px;
  padding: 0 var(--ct-padding);
  border-top: 1px solid var(--ct-border-color);
}

/* 옆으로 뜨는 모달 fixed content */
.custom-detail-fixed {
  position: absolute;
  width: 100%;
  bottom: 65px;
  right: 0;
  z-index: 10;
}

/* --- full 사이즈 모달 .custom-slide-modal.full --- */
.modal.fade[id*="-modal"] .modal-dialog.custom-slide-modal.full,
.modal.show[id*="-modal"] .modal-dialog.custom-slide-modal.full {
  max-width: var(--modal-full);
}
.modal[id*="-modal"]
  .modal-dialog.custom-slide-modal.full
  .custom-detail-head
  > h4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal[id*="-modal"]
  .modal-dialog.custom-slide-modal.full
  .custom-detail-content-inner
  > [class*="-left"] {
  max-width: calc(100% - var(--modal-full-right));
}
.modal[id*="-modal"]
  .modal-dialog.custom-slide-modal.full
  .custom-detail-content-inner
  > [class*="-right"] {
  max-width: var(--modal-full-right);
}

/* ### print 모달 ### */
.custom-modal-print-title {
  margin: 5px 0 8px;
  font-weight: 600;
  font-size: 15px;
}
.custom-modal-print-title span {
  margin-left: 3px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ct-text-muted);
}
.custom-modal-print-option-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin: 0 0 22px;
}
.custom-modal-print-option-item {
  flex: 1;
}
.custom-modal-print-option-item label {
  display: block;
  position: relative;
}
.custom-modal-print-option-item input {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}
.custom-modal-print-option-item span {
  display: block;
  width: 100%;
  height: var(--ct-btn-h);
  line-height: var(--ct-btn-h);
  border-radius: var(--ct-bdrad);
  border: 1px solid var(--ct-input-border-color);
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  color: var(--ct-text-muted);
}
.custom-modal-print-option-item input:checked + span {
  border-color: var(--point);
  background: var(--point-light);
  color: var(--point);
}

/* ### 구독 취소 modal ### */
#subscribe-modal :is(.modal-content, #unsubscribeForm) {
  height: 100%;
}

/* --- 구독 취소 modal header --- */
.custom-unsubscribe-modal-inner .modal-header > strong {
  font-size: 18px;
}

/* --- 구독 취소 modal body --- */
.custom-unsubscribe-modal-inner .modal-body > strong {
  display: block;
  margin: 0 0 18px;
  font-weight: 800;
  font-size: 22px;
}
.custom-unsubscribe-item:not(:last-child) {
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--ct-table-border-color);
}
.custom-unsubscribe-item > strong {
  display: block;
  padding: 0 0 8px;
  font-weight: 600;
  font-size: 16px;
}
.custom-unsubscribe-item > strong span {
  display: block;
  line-height: 1.25em;
}
.custom-unsubscribe-item > strong span:not(:last-child) {
  margin: 0 0 2px;
}
.custom-unsubscribe-item > strong .text-muted {
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
  font-weight: 400;
  font-size: 13px;
}
.custom-unsubscribe-checkbox .form-checkbox-input {
  font-weight: 400;
  cursor: pointer;
}
.custom-unsubscribe-checkbox > .form-checkbox-input:first-child {
  margin-right: 13px;
}
.custom-unsubscribe-checkbox-item:not(:last-child) {
  margin: 0 0 6px;
}

/* 구독 취소 textarea */
.custom-unsubscribe-item > textarea.form-control {
  margin: 7px 0 0;
}

/* 구독 취소 사유 적는 input */
.custom-unsubscribe-modal-inner .custom-etc-input {
  margin: 10px 0 0;
}
.custom-unsubscribe-modal-inner .custom-etc-input strong {
  display: block;
  margin: 0 0 4px;
  font-weight: 500;
  color: var(--ct-secondary);
}

/* ### 학생/선생님 수정 ### */
#person-detail-modal .custom-regist-form-box-title {
  margin: 0 0 15px;
  font-size: 20px;
}
#person-detail-modal .custom-regist-form > [class*="col-"]:not(:last-child) {
  padding: 0 0 calc(30px - 13px);
}
#person-detail-modal
  .custom-regist-form
  > [class*="col-"]
  .row
  [class*="col-"] {
  margin: 0 0 13px;
}
#person-detail-modal .row [class*="col"] > strong {
  margin: 0 0 2px;
  font-weight: 500;
}
#person-detail-modal .row [class*="col"] > strong i {
  font-weight: 400;
}

/* ### 일괄 등록 ### */
#regist-massiveInfo-modal .custom-detail-content {
  overflow-y: auto;
}
.modal .custom-edit-info-guide {
  margin: 0 0 15px;
  padding: 14px;
  border-radius: var(--ct-bdrad);
  background: var(--point-light);
  border: 1px solid var(--point-border-light);
  font-weight: 400;
  font-size: 13px;
  color: var(--point-dark-light);
}
.modal :is(.custom-edit-info-item, .custom-edit-info-left) {
  display: flex;
}
.modal .custom-edit-info-item {
  align-items: flex-start;
  justify-content: space-between;
}
.modal .custom-edit-info-item:not(:last-child) {
  margin: 0 0 13px;
}
.modal .custom-edit-info-left {
  align-items: center;
  width: 40%;
  gap: 5px;
}
.modal .custom-edit-info-left .custom-list-type1-img {
  line-height: 37px;
}
.modal .custom-edit-info-left .form-label {
  margin: 0;
  font-weight: 700;
}
.modal .custom-edit-info-right {
  width: 60%;
}
.modal
  .custom-edit-info-right
  :is(input.form-control, select.form-select, span.form-select, .select2) {
  width: 100%;
  height: var(--ct-btn-h);
}
.modal .custom-edit-info-right .select2 {
  line-height: var(--ct-btn-h);
}
#regist-massiveInfo-modal .custom-empty-table {
  padding: 100px 0;
  background: #fafbfc;
  border-radius: var(--ct-bdrad);
}
.custom-regist-massiveInfo-title {
  margin: 0 0 22px;
}

/* --- 버튼 - 등록 양식 업로드 & 다운로드 버튼, 청구서 작성-추가입력 & 가져오기 버튼 --- */
:is(.custom-regist-massiveInfo-btn, .custom-regist-bill-btn)
  [class*="custom-type-btn"] {
  height: 32px;
  line-height: 32px;
  font-size: 13px;
}

/* 등록 양식 업로드 버튼 */
#registMassiveInfo {
  position: relative;
  overflow: hidden;
}
#registMassiveInfo input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* --- 일괄 등록 table --- */
.custom-modal-table :is(.table, thead, tbody, tr) {
  display: block;
  width: 100%;
}
.custom-modal-table .table tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.custom-modal-table .table :is(th, td) {
  border-bottom: none !important;
}
.custom-modal-table .table :is(th, td):first-child {
  padding-left: calc(var(--ct-padding) / 2);
  text-align: left;
}
.custom-modal-table .custom-table-studentName {
  width: calc(
    100% -
      calc(
        var(--table-action) + var(--table-num) + calc(68px + var(--ct-padding))
      )
  );
}
.custom-modal-table .custom-table-teacherName {
  width: calc(
    100% - calc(calc(var(--table-num) * 2) + calc(68px + var(--ct-padding)))
  );
}
.custom-modal-table .table-action {
  width: calc(68px + var(--ct-padding));
  padding: 0 calc(var(--ct-padding) / 2);
  text-align: center;
}

/* thead */
.custom-modal-table .table thead tr {
  margin: 0 0 6px;
}
.custom-modal-table .table thead th {
  display: block;
  height: auto;
}

/* tbody */
.custom-modal-table .table tbody tr {
  border: 1px solid var(--ct-border-color);
  border-radius: var(--ct-bdrad);
  overflow: hidden;
}
.custom-modal-table .table tbody tr:not(:last-child) {
  margin: 0 0 8px;
}
.custom-modal-table .table tbody td {
  display: flex;
  align-items: center;
}
.custom-modal-table .table tbody td:not(:first-child) {
  justify-content: center;
}

/* 프로필 */
.custom-table-name-left {
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 100%;
  text-align: center;
  font-size: 16px;
  color: #fff;
}

/* 수정/삭제 */
.custom-modal-table .table .action-icon {
  width: 30px;
  height: 30px;
  line-height: 30px;
  padding: 0;
  border-radius: var(--ct-bdrad);
  border: 1px solid var(--ct-border-color);
  font-size: 16px;
}
.custom-modal-table .table .action-icon.custom-action-del {
  color: var(--ct-orange);
}

/* --- #regist-massiveInfo-modal 중앙 모달 버전 --- */
.custom-regist-massiveInfo-item {
  padding: 0 0 20px;
}
.custom-regist-massiveInfo-item:not(:last-child) {
  margin: 0 0 15px;
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-regist-massiveInfo-item-title > span {
  font-size: 12px;
  color: var(--ct-text-muted);
}
.custom-regist-massiveInfo-item-title > strong {
  display: block;
  margin: 2px 0 10px;
  font-weight: 600;
  font-size: 16px;
}
.custom-regist-massiveInfo-item input[type="file"] {
  font-size: 14px;
  color: var(--default-color);
}

/* ### 청구서 작성 ### */
#regist-bill-modal .custom-detail-content {
  padding: 0;
}
#regist-bill-modal .custom-detail-content-inner {
  height: 100%;
}
.custom-regist-bill-left,
.custom-regist-bill-right {
  width: 100%;
  height: 100%;
  padding: var(--ct-padding);
}
:is(
    .custom-regist-bill-preview,
    .custom-regist-bill-right
  )::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-regist-bill-box [class*="custom-bill-box-step"] {
  display: block;
}
.custom-regist-bill-box .custom-bill-box-step {
  color: var(--ct-text-muted);
  font-size: 13px;
}
.custom-regist-bill-box .custom-bill-box-step-title {
  font-size: 24px;
}
.custom-regist-bill-title {
  margin: 0 0 10px;
}
.custom-regist-bill-title > h4 {
  font-size: 18px;
}

/* --- 미리보기 --- */
.custom-regist-bill-left {
  border-right: 1px solid var(--ct-border-color);
  background: #f1f2f3;
}
.custom-regist-bill-left .custom-regist-bill-box {
  height: 100%;
}
.custom-regist-bill-left .custom-regist-bill-title {
  margin: 0 0 20px;
  text-align: center;
}
.custom-regist-bill-left .custom-regist-bill-content {
  height: calc(100% - calc(20px + 20px));
}
.custom-regist-bill-preview {
  width: 90%;
  max-width: 375px;
  height: 100%;
  max-height: 667px;
  margin: 0 auto;
  border-radius: 12px;
  background: inherit;
  box-shadow:
    7px 7px 16px #dbdcdd,
    -7px -7px 16px #ffffff;
  overflow-y: auto;
}
.custom-regist-bill-preview-inner {
  padding: 30px var(--ct-padding) var(--ct-padding);
}

.custom-regist-bill-preview-title {
  margin: 0 0 40px;
}
.custom-regist-bill-preview-title > h4 {
  line-height: 1.3em;
  font-weight: 800;
  font-size: 30px;
}
.custom-regist-bill-preview-box {
  padding: calc(var(--ct-padding) / 2);
  background: #fff;
  border-radius: var(--ct-bdrad);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  position: relative;
}
.custom-regist-bill-preview-box:not(:last-child) {
  margin: 0 0 20px;
}
.custom-regist-bill-preview-img {
  position: absolute;
  top: -30px;
  right: calc(var(--ct-padding) / 2);
}
.custom-regist-bill-preview-img img {
  width: 60px;
}
.custom-regist-bill-preview-box > strong {
  display: block;
  margin: 0 0 15px;
  font-size: 18px;
}
.custom-regist-bill-preview-item {
  display: flex;
  align-items: flex-start;
}
.custom-regist-bill-preview-item:not(:first-child) {
  padding-top: 10px;
}
.custom-regist-bill-preview-item:not(:last-child) {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-regist-bill-preview-item > strong {
  width: 30%;
  font-weight: 600;
  font-size: 13px;
  color: var(--ct-text-muted);
}
.custom-regist-bill-preview-item > strong i {
  margin-right: 4px;
  font-weight: 400;
}
.custom-regist-bill-preview-item > span {
  width: 70%;
  text-align: right;
}
.custom-regist-bill-preview-item > span span {
  display: block;
  word-break: break-all;
  line-height: 1.45em;
}
.form-control.preview-bill-title,
.form-control.preview-bill-message {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0px !important;
}
.form-control.preview-bill-title {
  min-height: 20px;
  height: auto;
  text-align: right;
}
.preview-bill-title-placeholder {
  color: var(--ct-text-muted);
}
.form-control.preview-bill-message {
  min-height: unset;

  /* 3줄까지는 안정적으로 나오게 하기 위함 - 기존: 60px */
  height: 90px;
}
.form-control.preview-bill-message::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-form-control input:-webkit-autofill,
.custom-form-control input:-webkit-autofill:hover,
.custom-form-control input:-webkit-autofill:focus,
.custom-form-control input:-webkit-autofill:active {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}
.custom-form-control input:autofill,
.custom-form-control input:autofill:hover,
.custom-form-control input:autofill:focus,
.custom-form-control input:autofill:active {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* --- 청구서 작성 --- */
.custom-regist-bill-right {
  padding-bottom: calc(60px + var(--ct-padding));
  overflow-y: auto;
}
.custom-regist-bill-right .custom-regist-bill-box:not(:last-child) {
  margin: 0 0 30px;
}
#regist-bill-modal
  .custom-regist-bill-right
  .custom-regist-bill-content
  > .custom-form-control:not(:last-child) {
  margin: 0 0 10px;
}
#regist-bill-modal .custom-regist-bill-right .custom-form-control > span small {
  font-size: 10px;
}

/* 받는 사람이 두 명 이상인 경우 */
.custom-regist-bill-right .custom-receiver-num span {
  color: var(--point);
}
.custom-regist-bill-added .custom-form-control {
  padding: 37px 0.9rem 17px;
  border-radius: var(--ct-bdrad);
  border: 1px solid var(--ct-border-color);
}
.custom-regist-bill-userList {
  max-height: 115px;
  overflow-y: auto;
}
.custom-regist-bill-userList::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
#regist-bill-modal .custom-student-list .custom-student-item {
  min-width: 100px;
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  margin: 0 5px 5px 0;
  padding: 0 0 0 10px;
  border: 1px solid var(--ct-border-color);
  border-radius: 4px;
  font-size: 13px;
}
#regist-bill-modal .custom-student-item .custom-delete-student {
  font-size: 16px;
  color: var(--ct-secondary);
}

/* 청구 사유 및 전달 메세지 */
#regist-bill-modal .form-control:focus {
  box-shadow: 0 0 0 3px var(--point-light) !important;
}

/* --- 현재 포인트 / 발송 가능 건수 --- */
#regist-bill-modal .custom-detail-fixed {
  max-width: var(--modal-full-right);
}
#regist-bill-modal .custom-detail-fixed-inner {
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.03);
  background: #fff;
  border-top: 1px solid var(--ct-border-color);
  height: 60px;
}
#regist-bill-modal .custom-detail-fixed-inner .custom-regist-bill-box {
  flex: 1;
  margin: 0;
  padding: 0 var(--ct-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
#regist-bill-modal
  .custom-detail-fixed-inner
  .custom-regist-bill-box:not(:last-child):before {
  content: "";
  position: absolute;
  width: 1px;
  height: 10px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background: var(--ct-border-color);
}
.custom-regist-bill-point-title {
  line-height: 1em;
}
.custom-regist-bill-point-title > small {
  display: block;
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--ct-text-muted);
}
.custom-regist-bill-point-desc > strong {
  letter-spacing: -1px;
  font-size: 24px;
  color: var(--point);
}
.custom-regist-bill-point-desc > span {
  font-size: 16px;
}

/* ### text template ### */
.custom-text-template-wrap {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: var(--ct-bdrad);
}
.custom-text-template-top {
  height: var(--list-h);
  padding: 0 0.9rem;
  color: var(--default-color);
}
.custom-text-template-top i {
  font-size: 20px;
  color: var(--ct-text-muted);
}
.custom-text-template-bottom {
  padding: 0.9rem;
}
.custom-text-template-tooltip {
  margin: 0 0 5px;
}
.custom-text-template-month {
  height: 25px;
  line-height: 25px;
  padding: 0 15px;
  background: var(--point-light);
  border: 1px solid var(--point-border-light);
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  color: var(--point-dark-light);
  transition: 0.25s;
}
.custom-text-template-month:hover {
  background: #dfe6f3;
}
.custom-text-template-addList {
  height: 25px;
  line-height: 25px;
  font-size: 13px;
}
.custom-text-template-addList.disabled {
  opacity: 0.45;
  pointer-events: none;
}
.custom-text-template-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 7px 14px;
  border-radius: var(--ct-bdrad);
  background: var(--content-bg);
}
.custom-text-template-item:not(:last-child) {
  margin: 0 0 10px;
}
.custom-text-template-item input.form-control {
  width: 100%;
  height: 30px;
  padding: 0 !important;
  border: none;
  border-radius: 0px !important;
  background: transparent;
  font-size: 13px;
}
.custom-text-template-item input.form-control:read-only {
  display: none;
}
.custom-text-template-item .form-control-text {
  display: none;
}
.custom-text-template-item input.form-control:read-only + .form-control-text {
  display: block;
  max-width: calc(100% - calc(65px + 5px));
  height: 30px;
  line-height: 30px;
  padding: 0 7px !important;
  border-radius: 100px !important;
  background: var(--point-light);
  border: 1px solid var(--point-border-light);
  text-align: center;
  font-size: 13px;
  color: var(--point-dark-light);
  cursor: pointer;
}
.custom-text-template-btn button {
  font-size: 18px;
  color: var(--ct-secondary);
}

/* ### user 추가 modal ### */
/* 추가입력 */
#add-user-modal .custom-regist-bill-box {
  padding: 0 0 15px;
}
#add-user-modal .custom-regist-bill-box + .btn {
  margin: 5px 0 0;
}

/* 가져오기 */
#add-userList-modal .modal-dialog-scrollable .modal-content {
  height: var(--modal-max-h);
}
#add-userList-modal .custom-add-userList-box,
#add-userList-modal form#studentListModal {
  height: 100%;
}

/* ### 학생 학년/반 목록 */
:is(.custom-choose-search, .custom-choose-list)
  :is(.btn, input.form-control, .form-select, .select2) {
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
}

/* 선택 inner - 검색 옵션 있는 경우 */
.custom-choose-search {
  margin: 0 0 12px;
}
.custom-choose-search .custom-nav .nav-item {
  flex: 1;
  cursor: pointer;
}
.custom-choose-search .custom-nav .nav-item .nav-link {
  width: 100%;
}
.custom-choose-search.custom-notify-list-top
  :is(.form-select, .select2-container .select2-selection--single) {
  border-radius: var(--ct-bdrad) 0 0 var(--ct-bdrad) !important;
  border-right: none;
}
.custom-choose-search.custom-notify-list-top :is(.form-select, .select2) {
  width: 40% !important;
  height: var(--ct-form-h);
  line-height: var(--ct-form-h);
  border-radius: 0px !important;
}
.custom-choose-search.custom-notify-list-top .form-control {
  width: 60%;
  border-radius: 0 var(--ct-bdrad) var(--ct-bdrad) 0 !important;
}

/* 선택 inner - 검색 옵션 있는 경우 - 검색 버튼 있는 경우 - worksheetTemplateList의 학생 선택 모달 */
.custom-choose-search .vue-search-form {
  margin: 10px 0 0;
}
.custom-choose-search .vue-search-form :is(.custom-searchOpt, .select2) {
  width: 175px !important;
  min-width: unset;
  border-radius: var(--ct-bdrad) 0 0 var(--ct-bdrad) !important;
}
.custom-choose-search .vue-search-form .select2 {
  border: 1px solid var(--ct-border-color);
}
.custom-choose-search
  .vue-search-form
  .select2.select2-container
  .select2-selection--single {
  border: none;
}
.custom-choose-search .vue-search-form .custom-search-option-list {
  width: calc(100% - calc(175px + 32px));
}
.custom-choose-search .vue-search-form .form-control[name="searchKeyword"] {
  width: 100%;
  border-radius: 0 !important;
  border-left: none;
  border-right: none;
}
.custom-choose-search .vue-search-form .btn {
  width: var(--ct-form-h);
  border-radius: 0 var(--ct-bdrad) var(--ct-bdrad) 0 !important;
  border: 1px solid var(--ct-border-color);
}

/* --- 목록 --- */
.custom-choose-content {
  /* 검색 옵션 있는 경우 */
  /* height: calc(100% - calc(78px + 12px)); */

  /* 검색 옵션 없는 경우 */
  height: calc(100% - calc(36px + 12px));
}

/* 선택 inner - 전체 선택 있는 경우 */
.custom-choose-all {
  margin: 0 0 12px;
  position: relative;
}
.custom-choose-all small {
  font-size: 12px;
}

/* --- 선택 inner - 개별 선택 --- */
.custom-choose-each {
  height: calc(100% - 50px);
  overflow-y: auto;
}
.custom-choose-each::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-choose-each > * {
  position: relative;
}
.custom-choose-each > *:not(:last-child) {
  margin-bottom: 7px;
}
.custom-choose-each .form-check-input {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  z-index: 1;
}
.custom-choose-each .form-check-label {
  display: block;
  width: 100%;
  padding: 9px 4px 4px;
  padding-left: 37px;
  border-radius: var(--ct-bdrad);
  border: 1px solid var(--ct-border-color);
  cursor: pointer;
  position: relative;
  color: var(--ct-text-muted);
}
.custom-choose-each .form-check-label:hover {
  background: var(--hover-color);
}
.custom-choose-each .form-check-input:checked + .form-check-label {
  background: var(--point-light);
  border-color: var(--point);
  color: var(--point);
}
.custom-choose-each
  :is(
    .form-check-input:checked.form-check-input:disabled ~ .form-check-label,
    .form-check-input:checked.form-check-input[disabled] ~ .form-check-label
  ) {
  background: #eee;
}
.custom-choose-each
  :is(
    .form-check-input:disabled ~ .form-check-label,
    .form-check-input[disabled] ~ .form-check-label
  ) {
  pointer-events: none;
}
.custom-choose-each .custom-select-text .student-name {
  display: block;
  line-height: 1em;
  font-weight: 700;
  font-size: 14px;
}
.custom-choose-each .custom-student-group {
  line-height: 1.2em;
  font-weight: 400;
  font-size: 12px;
}
.student_exam_date {
  position: absolute;
  height: 22px;
  line-height: 22px;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  font-size: 13px;
}
.custom-choose-each
  .form-check-input:checked
  + .form-check-label
  .student_exam_date {
  background: var(--point) !important;
  color: #fff;
}
.custom-choose-each .custom-select-icon {
  font-weight: 400;
  font-size: 18px;
}
.custom-choose-each
  .form-check-input:checked
  + .form-check-label
  .custom-select-icon
  i:before {
  content: "\eb80";
}

/* --- 모달 버전일 때 학생 선택 css --- */
.custom-modal-small-wrap .custom-choose-list {
  height: calc(100% - calc(36px + 12px));
}
.custom-modal-small-wrap .custom-choose-list .tab-pane {
  height: 100%;
}
.custom-modal-small-wrap .custom-notify-list-bottom {
  height: calc(100% - calc(32px + 12px));
}
.custom-modal-small-wrap .custom-choose-each-wrap {
  height: calc(100% - calc(22px + 12px));
  overflow-y: auto;
}
.custom-modal-small-wrap .custom-choose-each-wrap::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
.custom-modal-small-wrap .custom-choose-each-wrap .custom-pagination-inner {
  padding-top: 1rem;
  padding-bottom: 0;
}

/* 선택한 학생 목록 */
.custom-student-list-box {
  height: 140px;
  margin: 12px 0 0;
  padding: 12px 12px calc(12px - 7px);
  border: 1px solid var(--ct-border-color);
  border-radius: var(--ct-bdrad);
  overflow-y: auto;
}
.custom-student-list-box::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

/* ### 학생 선택 모달 2 - 페이징 없는 버전 ### */
#add-classUserList-modal .modal-dialog-scrollable .modal-content {
  height: var(--modal-max-h);
}
#add-classUserList-modal.custom-modal-small-wrap
  :is(.custom-choose-list, .custom-choose-each) {
  height: 100%;
}

/* --- 선생님 선택 --- */
#add-classUserList-modal.custom-modal-small-wrap[data-type="teacher"]
  .custom-choose-search.custom-notify-list-top
  .form-control {
  width: 100%;
  border-radius: var(--ct-bdrad) !important;
}
#add-classUserList-modal.custom-modal-small-wrap[data-type="teacher"]
  .custom-choose-each-wrap {
  /* 전체 선택 없는 경우 height - 전체 선택 추가할 경우 불필요 */
  height: 100%;
}
#add-classUserList-modal.custom-modal-small-wrap[data-type="teacher"]
  .custom-choose-each
  .form-check-label {
  /* 학생 선택 목록과 높이 맞추기 위함 */
  /* min-height: 45px; */
}

/* ### 예약 발송 모달 ### */
#schedule-send-modal .custom-regist-bill-box {
  margin: 0 0 20px;
}

/* 정기발송 */
#schedule-send-modal .custom-regular-send label {
  margin: 0 0 10px;
  position: relative;
  cursor: pointer;
}
#schedule-send-modal .custom-regular-send label .form-check-input {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
}
#schedule-send-modal .custom-regular-send-text {
  height: var(--list-h);
  padding: 0 0.9rem 0 calc(20px + 0.9rem + 5px);
  border: 1px solid var(--ct-border-color);
  border-radius: var(--ct-bdrad);
  font-weight: 400;
}
#schedule-send-modal .custom-regular-send-text i {
  font-size: 16px;
  color: var(--ct-text-muted);
}
#schedule-send-modal
  .custom-regular-send
  label
  .form-check-input:checked
  + .custom-regular-send-text {
  border-color: var(--point);
  background: var(--point-light);
  font-weight: 600;
  color: var(--point);
}
#schedule-send-modal
  .custom-regular-send
  label
  .form-check-input:checked
  + .custom-regular-send-text
  i {
  font-weight: 400;
  color: inherit;
}

/* 예약 시간 */
#schedule-send-modal .bootstrap-timepicker-widget.dropdown-menu.open {
  /* height: 300px; */
}

/* 정기발송 문구 */
.custom-regular-send-guide {
  margin: 10px 0 0;
  padding: 0;
  border: none;
}
.custom-regular-send-guide-text {
  padding: 14px;
  border-radius: var(--ct-bdrad);
  background: var(--point-light);
  font-size: 16px;
  color: var(--point);
}

/* ### 포인트 충전 모달 ### */
#point-charge-modal .modal-content {
  height: 100%;
}
#point-charge-modal .modal-body {
  padding-bottom: 0;
}
#point-charge-modal .modal-body::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}
#point-charge-modal .custom-point-charge-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 9px 7px;
  border: 1px solid var(--ct-border-color);
  border-radius: var(--ct-bdrad);
  color: var(--ct-text-muted);
}
#point-charge-modal .custom-point-charge-item:not(:last-child) {
  margin: 0 0 7px;
}
#point-charge-modal .custom-point-charge-item.active {
  border-color: var(--point);
  color: var(--default-color);
}
#point-charge-modal .custom-point-charge-item > i {
  font-size: 18px;
}
#point-charge-modal .custom-point-charge-item.active > i {
  color: var(--point);
}
#point-charge-modal .custom-point-charge-item.active > i:before {
  content: "\eb80";
}
#point-charge-modal .custom-point-charge-item > span {
  display: block;
  text-align: left;
}
#point-charge-modal .custom-point-charge-item-title {
  font-size: 16px;
}
#point-charge-modal
  .custom-point-charge-item.active
  .custom-point-charge-item-title
  > span {
  color: var(--point);
}
#point-charge-modal
  .custom-point-charge-item.active
  .custom-point-charge-item-title
  b {
  color: var(--ct-red);
}
#point-charge-modal .custom-point-charge-item-subtitle {
  display: block;
  text-align: left;
  font-size: 13px;
  color: var(--ct-text-muted);
}
#point-charge-modal .modal-footer {
  border: none;
}

/* ### 청구서 detail modal ### */
#schedule-bill-detail-modal .custom-regist-bill-box:not(:first-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ct-border-color);
}
#schedule-bill-detail-modal .custom-regist-bill-box:not(:last-child) {
  margin: 0 0 20px;
}
#schedule-bill-detail-modal .custom-regist-bill-box:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* --- 예약유형 / 이름 / 금액(총합, 공급가액, 부가세) --- */
#schedule-bill-detail-modal
  .custom-bill-type-wrap
  :is(.custom-bill-type, .custom-bill-status) {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 13px;
}
#schedule-bill-detail-modal .custom-bill-type-wrap .custom-student-name {
  font-size: 16px;
}
#schedule-bill-detail-modal .custom-bill-type-wrap .custom-bill-status {
  display: none;
}
#schedule-bill-detail-modal .custom-bill-cost-wrap .custom-bill-cost-total {
  text-align: right;
  font-size: 24px;
}
#schedule-bill-detail-modal .custom-bill-cost-wrap .custom-bill-cost-detail {
  margin: 13px 0 0;
  padding: 10px 14px;
  border-radius: var(--ct-bdrad);
  background: var(--content-bg);
  color: var(--ct-text-muted);
}
#schedule-bill-detail-modal
  .custom-bill-cost-wrap
  .custom-bill-cost-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
#schedule-bill-detail-modal
  .custom-bill-cost-wrap
  .custom-bill-cost-detail-item:not(:last-child) {
  margin: 0 0 5px;
}
#schedule-bill-detail-modal
  .custom-bill-cost-wrap
  .custom-bill-cost-detail-item
  > strong {
  font-weight: 500;
}

/* --- 받는 사람 & 청구 내용 & 예약 정보 --- */
#schedule-bill-detail-modal .custom-bill-info-item {
  display: flex;
  align-items: center;
  position: relative;
}
#schedule-bill-detail-modal .custom-bill-info-item-textarea {
  align-items: flex-start;
}
#schedule-bill-detail-modal .custom-bill-info-item:not(:last-child) {
  margin: 0 0 10px;
}
#schedule-bill-detail-modal
  .custom-bill-info-item
  > span:not(.custom-bill-info-item-text, .custom-maxlength-wrap, .select2) {
  width: 125px;
  font-weight: 500;
  font-size: 13px;
  color: var(--ct-text-muted);
}
#schedule-bill-detail-modal .custom-bill-info-item > span i {
  font-weight: 400;
}
#schedule-bill-detail-modal
  .custom-bill-info-item
  > span
  ~ :is(.form-control, .form-select, .select2) {
  width: calc(100% - 100px) !important;
}
#schedule-bill-detail-modal
  .custom-bill-info-item
  > span
  ~ .select2
  .select2-selection {
  border-radius: var(--ct-bdrad);
}
#schedule-bill-detail-modal textarea.form-control {
  padding-bottom: 30px;
}
#schedule-bill-detail-modal .custom-bill-info-item-text {
  width: calc(100% - 125px);
  white-space: pre-wrap;
  font-weight: 400;
  font-size: 14px;
  color: var(--default-color);
  display: none;
}
#schedule-bill-detail-modal .custom-maxlength-wrap {
  position: absolute;
  bottom: 10px;
  right: 0.9rem;
  background: #fff;
  font-size: 13px;
  color: var(--ct-text-muted);
}

/* 예약 시간 */
#schedule-bill-detail-modal .bootstrap-timepicker-widget.dropdown-menu.open {
  left: 100px !important;
}

/* --- 버튼 --- */
#schedule-bill-detail-modal :is(.modal-footer > .btn) {
  display: none !important;
}
#schedule-bill-detail-modal .bg-danger-lighten:hover {
  background: rgba(var(--ct-danger-rgb), 0.2) !important;
  color: var(--ct-danger);
}

/* ### 청구서 발송 실패 사유 보기 모달 ### */
#send-stat-modal i {
  font-weight: 400;
}
#send-stat-modal .modal-body .custom-sendStat-wrap {
  padding: 0 0 20px;
}
#send-stat-modal .modal-body .custom-sendStat-wrap > strong {
  display: block;
  color: var(--ct-text-muted);
}
#send-stat-modal .modal-body .btn:hover {
  background: var(--point-dark);
  color: #fff;
}

/* ### 현금영수증 발급 모달 ### */
#cash-receipt-modal .custom-regist-bill-box {
  margin: 0 0 20px;
}

/* ### 포인트 환불 모달 ### */
#point-refund-modal .modal-content {
  /* 긴 모양으로 쓸 경우 max-height: 100% 대신 height: 100% 사용 */
  max-height: 100%;
}
#point-refund-modal .custom-regist-bill-box:not(:last-child) {
  margin: 0 0 25px;
}
.custom-refund-point-item > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.custom-refund-point-right {
  text-align: right;
}
.custom-refund-point-list > .custom-refund-point-item:not(:last-child) {
  border-bottom: 1px solid var(--ct-border-color);
}
.custom-refund-point-list > .custom-refund-point-item > span {
  height: 55px;
}
.custom-refund-point-list .custom-refund-total {
  font-weight: 700;
  font-size: 16px;
  color: var(--point);
}
.custom-refund-point-sublist {
  border-top: 1px solid var(--ct-border-color);
}
.custom-refund-point-sublist .custom-refund-point-item > span {
  padding-top: 9px;
  font-size: 13px;
  color: var(--ct-text-muted);
}
.custom-refund-guide {
  padding: 16px;
  padding-left: calc(16px + 20px);
  border-radius: var(--ct-bdrad);
  background: var(--content-bg);
}
.custom-refund-guide li {
  list-style: disc;
  font-size: 13px;
  color: var(--ct-secondary);
}
.custom-refund-guide li:not(:last-child) {
  margin: 0 0 4px;
}

/* ### 문제 정답/해설 상세보기 모달 START ### */
#mark-detail-modal .modal-dialog {
  max-height: 80%;
  height: 100%;
}
#mark-detail-modal .modal-content {
  max-height: 100%;
}
#mark-detail-modal .modal-body {
  padding-bottom: 0;
}
#mark-detail-modal .modal-body::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

/* content */
#mark-detail-modal .custom-mark-detail-box:not(:last-child) {
  margin: 0 0 30px;
}
#mark-detail-modal .custom-mark-detail-title {
  display: block;
  padding: 7px;
  border-radius: var(--ct-bdrad);
  font-size: 16px;
}
#mark-detail-modal .custom-mark-detail-title i {
  font-weight: 400;
  font-size: 18px;
}
#mark-detail-modal .hidden-detail {
  max-width: calc(320px + calc(18px + 7px));
  padding-left: calc(18px + 7px);
  white-space: pre-wrap;
  word-break: break-all;
}
#mark-detail-modal .hidden-detail > *:not(:last-child) {
  margin: 0 0 10px;
}
#mark-detail-modal :is(.hidden-img, .answer-img) {
  max-width: 100%;
}
#mark-detail-modal .hidden-text {
  font-family: "NanumBarunGothic", sans-serif;
  font-size: 13px;
  letter-spacing: 0px;
}
#mark-detail-modal .hidden-text.fs-3 {
  font-size: 15px !important;
}
#mark-detail-modal .hidden-img {
  max-width: 100%;
}

/* content - 정답 */
#mark-detail-modal .custom-mark-detail-answer .custom-mark-detail-title {
  margin: 0 0 12px;
  background: var(--ct-success-lighten);
  border: 1px solid rgba(var(--ct-success-rgb), 0.18);
}
#mark-detail-modal .custom-mark-detail-answer .custom-mark-detail-title i {
  color: var(--ct-success);
}

/* content - 해설 */
#mark-detail-modal .custom-mark-detail-explanation .custom-mark-detail-title {
  margin: 0 0 10px;
  background: var(--hover-color);
}
#mark-detail-modal .custom-mark-detail-explanation .custom-mark-detail-title i {
  color: var(--ct-warning);
}

/* footer */
#mark-detail-modal .modal-footer {
  border: none;
  padding-top: 0;
}
/* ### 문제 정답/해설 상세보기 모달 END ### */

/* ### Alert - swal ### */
.swal2-container {
  z-index: 10000 !important;
}
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
  background: rgba(var(--ct-secondary-rgb), 0.25) !important;
}
.swal2-popup {
  padding: 1.25em !important;
  border-radius: 13px !important;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.swal2-container.swal2-center > .swal2-popup {
  box-shadow: none !important;
}
.swal2-container.swal2-center *:not(i) {
  font-family: "Pretendard Variable" !important;
}
.swal2-container.swal2-center strong {
  display: block;
  margin: 0 0 10px;
  font-size: 20px;
}

/* --- alert text --- */
div:where(.swal2-container) div:where(.swal2-popup) {
  width: 500px !important;
  max-width: 100% !important;
}
.swal2-html-container {
  margin: 5px 0 8px !important;
}
.swal2-html-container .custom-alert-text {
  line-height: 1.35em;
  word-break: keep-all;
  font-weight: 400;
  font-size: 18px;
  color: var(--ct-secondary);
}
.swal2-html-container .text-muted {
  font-size: 14px;
}

/* alert badge */
.swal2-container.swal2-center .badge {
  height: 20px;
  line-height: 20px;
  vertical-align: middle;
  transform: translateY(-2px);
  font-weight: 600;
  font-size: 14px;
}
.swal2-container.swal2-center .badge.bg-secondary-lighten {
  color: var(--ct-secondary);
}

/* alert icon */
.custom-alert-icon {
  margin: 0 0 34px;
}
.custom-alert-icon-bg {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 100%;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
}
.custom-alert-icon-bg.bg-success-lighten {
  background: rgba(var(--ct-success-rgb), 0.1);
  color: var(--ct-success) !important;
}
.custom-alert-icon-bg.bg-danger-lighten {
  background: rgba(var(--ct-danger-rgb), 0.1);
  color: var(--ct-danger) !important;
}
.custom-alert-icon-bg.bg-point-light {
  background: var(--point-light);
  color: var(--point) !important;
  font-weight: 600 !important;
  font-size: 36px;
}
.custom-alert-icon-bg i {
  font-weight: 400;
}

/* --- alert btn --- */
.swal2-loader {
  display: none !important;
}
.swal2-actions {
  gap: 7px !important;
}
.swal2-popup .swal2-styled {
  width: 150px !important;
  height: 44px !important;
  line-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: 0.25s;
}
.swal2-popup .swal2-styled:focus {
  box-shadow: none !important;
}

/* 확인 버튼 */
.swal2-popup .swal2-styled.swal2-confirm {
  background: var(--point) !important;
  color: #fff !important;
  order: 2 !important;
}
.swal2-popup .swal2-styled.swal2-confirm:hover {
  background: var(--point-dark) !important;
}
.swal2-popup .swal2-styled.swal2-confirm.bg-danger {
  background: var(--ct-danger) !important;
}
.swal2-popup .swal2-styled.swal2-confirm.bg-danger:hover {
  background: #df3d5e !important;
}
.swal2-popup .swal2-styled.swal2-confirm.bg-success {
  background: var(--ct-success) !important;
}
.swal2-popup .swal2-styled.swal2-confirm.bg-success:hover {
  background: #0faa7e !important;
}
.swal2-popup .swal2-styled.swal2-deny {
  background: var(--ct-danger) !important;
  color: #fff !important;
  order: 1 !important;
}

/* 취소 버튼 */
.swal2-popup .swal2-styled.swal2-cancel {
  background: var(--ct-light) !important;
  font-weight: 400 !important;
  color: var(--ct-text-muted) !important;
}
.swal2-popup .swal2-styled.swal2-cancel:hover {
  background: var(--ct-border-color) !important;
}

/* 새로운 글 N 태그 */
.newTag {
  display: inline-flex !important;     /* 내부 글자 중앙 정렬 */
  align-items: center !important;
  justify-content: center !important;

  width: 14px !important;
  aspect-ratio: 1 / 1 !important;      /* 배율 변해도 항상 정원 */
  height: auto !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;        /* 원형 (예전 28px → 50%) */

  background: #ff2d55 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  line-height: 1 !important;            /* 폰트 라인박스 영향 제거 */
  vertical-align: middle !important;    /* inline 컨텍스트 보정 */
  margin-left: 6px !important;
  flex: 0 0 auto !important;            /* flex 컨텍스트 크기 왜곡 방지 */
}

/* #################### RESPONSIVE ##################### */
@media (max-height: 885px) {
  :is(#add-userList-modal, #add-classUserList-modal)
    .modal-dialog-scrollable
    .modal-content {
    height: 100%;
  }
}
@media (min-width: 1920px) {
  :root {
    --step1-bottom-h: 130px;
  }

  /* ### STEP 1 RENEWAL ### */
  /* --- 하단 --- */
  /* 공통 */
  .custom-test-option-wrap {
    padding: calc(calc(var(--step1-bottom-h) - 84px) / 2) 20px;
  }
}
@media (max-width: 1919.98px) {
  :root {
    --setp1-gap: 30px;
    --step1-ratio-box: 150px;
    --step1-ratio-gap: 7px;
  }
}
@media (max-width: 1485px) {
  /* ### 출석체크 & 개별코칭학생 선택 ### */
  :is(.custom-student-attendance-name, .custom-student-coach-name)
    > span:first-child {
    display: block;
  }
}
@media (max-width: 1300px) {
  :root {
    --step1-bottom-h: 116px;
    --step1-ratio-box: 120px;
  }

  /* ### STEP 1 RENEWAL ### */
  /* --- 하단 --- */
  /* ■□■ 공통 ■□■ */
  .custom-test-option-wrap {
    padding: 20px;
  }

  /* ■□■ 난이도 설정 ■□■ */
  .custom-ratio-wrap .custom-ratio-box {
    padding-top: 4px;
  }

  /* 난이도 제목 */
  .custom-ratio-wrap .custom-ratio-box .custom-emoji {
    top: 8px;
  }
  .custom-ratio-wrap .custom-ratio-box .form-check-label {
    margin-bottom: 4px;
  }

  /* ■□■ 하단 우측 - 난이도 선택 & 문제 수 ■□■ */
  .custom-step1-bottom-right
    .custom-test-option-box
    .custom-test-option:not(:last-child) {
    margin: 0 0 10px;
  }

  /* ■□■ 하단 우측 - 문제 형식 ■□■ */
  .custom-form-range-wrap {
    margin: 12px 0 0;
  }

  /* ■□■ 기존 출제 학습지 제외 ■□■ */
  .custom-testExclude-wrap .custom-type-btnTest,
  .custom-testExclude-wrap .custom-type-btnTest:hover {
    margin: 7px 0 0;
  }
}
@media (max-width: 1281px) {
  /* leftsidebar */
  .custom-leftsidebar-msg-text {
    font-size: 11px;
  }
  .custom-leftsidebar-msg-text br {
    display: none;
  }

  .custom-table {
    min-width: var(--content-max-w);
  }
  .modal .custom-table {
    min-width: unset;
  }
}
@media (max-width: 1200px) {
  :root {
    --step1-ratio-box: 105px;
    --step1-exclude-test: 220px;
  }

  /* ### 청구서 납부하기 ### */
  .custom-regist-bill-preview-img {
    top: calc(calc(45px / 2) * -1);
  }
  .custom-regist-bill-preview-img img {
    width: 45px;
  }
  .custom-regist-bill-preview-box > strong {
    margin: 0 0 10px;
    font-size: 16px;
  }
  .custom-regist-bill-preview-item strong {
    width: 47%;
  }
  .custom-regist-bill-preview-item strong i {
    margin-right: 2px;
  }
  .custom-regist-bill-preview-item strong + span {
    width: 53%;
  }

  /* ### 커뮤니티 ### */
  /* --- 게시글 제목 --- */
  /* 정보 게시판 게시글 제목 */
  .custom-board-item .board-badge + .board-subject {
    max-width: 190px;
  }
}
@media (max-width: 960px) {
  /* page-title */
  .custom-page-title-top :is(h4, .custom-page-title-top-menu) {
    font-size: 24px;
  }
  .custom-page-title-top-menu:not(:last-child) {
    margin-right: 12px;
  }
}
@media (max-width: 767.98px) {
  /* ### Alert - swal ### */
  div:where(.swal2-container) {
    padding: 30px !important;
  }

  /* alert text */
  .swal2-html-container .custom-alert-text {
    font-size: 14px;
  }

  /* alert icon */
  .custom-alert-icon {
    margin-bottom: 17px;
  }
  .custom-alert-icon-bg {
    width: 40px;
    height: 40px;
  }
  .custom-alert-icon-bg.bg-point-light {
    font-size: 17px;
  }

  /* alert 버튼 */
  .swal2-actions {
    margin-top: 15px;
  }
  .swal2-popup .swal2-styled {
    width: 120px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 15px !important;
  }
}

