
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #CCC !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #CCC !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #CCC !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #CCC !important;
}

html, body {
  user-select: none;
  -webkit-user-select: none; /* iOS, Safari */
  -ms-user-select: none;     /* IE/Edge */
  overflow: hidden; /* 브라우저의 기본 refresh 기능 막기 위해... 아직 다른 오작동이 있느지 확인 안됨 */
  position: fixed;  /* 브라우저의 기본 refresh 기능 막기 위해... 아직 다른 오작동이 있느지 확인 안됨 */
  width: 100%;      /* 브라우저의 기본 refresh 기능 막기 위해... 아직 다른 오작동이 있느지 확인 안됨 */
}

#toolbarContainer {
  display: none;
}
input {
  background-color: transparent;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

body {
  background-color: #f8f8f8 !important;
  font-family: 'Noto Sans KR', sans-serif;
  color: black;
}

* {
  box-sizing: border-box;
  scrollbar-width: auto
/*      scrollbar-width: thin; /*for firefox*/*/
  scroll-behavior: smooth;  /* 페이지 내 모든 스크롤을 부드럽게 설정 */
}

*:hover::-webkit-scrollbar {
    width: .3em;
    height: 0;
}

::-webkit-scrollbar {
   width: 0.25em;
   height: 0;
   display: none;
}

::-webkit-scrollbar-button {
    background: #EBEBEB;
    height: 0;
}

::-webkit-scrollbar-track-piece {
    background: #EBEBEB;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #909B93;
    border-radius: 5px;
}

/** {
  overflow: -moz-scrollbars-none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}*/

body {
/*  font-family: "Noto Sans CJKKR", sans-serif;*/
  font-family: "pretendard";
  color: rgb(25, 25, 25);
  -webkit-tap-highlight-color: transparent;
  margin: 0px auto;
  background-color: rgb(238, 238, 238);
  overflow-y: scroll;
  font-size: inherit;
  -webkit-font-smoothing: antialiased;
}

.body-container {
  height: calc(var(--vh, 1vh) * 100); position: relative; min-width: 300px; max-width: 1280px; margin: 0px auto; background-color: rgb(255, 255, 255); display: flex; flex-direction: column;
}

.top-wrap {
  position: absolute; top: 1px; left: 0; width: auto; max-width: 3rem;padding: 0 20px;z-index: 100;
}

.main-wrap {
  flex: 1 1 auto; overflow: auto; display: flex; flex-direction: column; position: relative;  padding-top: 0px;  padding-left: 0; width: 100%; 
}

.main-inner-wrap {
  flex: 1 1 auto; overflow: auto; display: flex; flex-direction: column;
}

.main-top-wrap {
  position: relative; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; padding: 15px 20px 15px 20px; gap: 1rem; border-bottom: 1px solid #F8F8F8; 
}

.main-option-wrap {
  position: relative; padding: 0 20px;
}

.main-client-wrap {
  position: relative; flex: 1 1 auto; width: 100%;  padding: 0 20px; background-color: white; overflow: auto; display: flex; flex-direction: column;
}

.main-body {
  flex: 1 1 auto; display: flex; flex-direction: column; overflow-y: auto;
}

.page-title {
  color: #888; padding-left: 30px; cursor: pointer;
}

.page-nav-wrap {
  display: flex; align-items: center; justify-content: end; gap: 1.5rem;
}

.step-guide {
  font-size: 0.9rem; color: #333; font-weight: 500;
}

@media (max-width: 850px) {
  :root { font-size: 15px; }
  .main-wrap { padding-left: 0px; }
  .body-container .main-wrap { padding-top: 0; }
  .main-inner-wrap { padding: 0; }
  .main-client-wrap { width: 100vw; height: calc(100vh - 141px); } 
}

@media (max-width: 767px) {
  :root { font-size: 13.5px; }
  .page-nav-wrap { width: 100%; }
}

@media (max-width: 575px) {
  .main-top-wrap { flex-direction: column; padding: 8px; gap: 0.5rem; }
  .page-title { margin-right: auto; }

  .main-option-wrap { position: relative; padding: 0 10px; }

  .main-client-wrap { padding: 0 8px; }  
  .btns-wrap { row-gap: 0.25rem; column-gap: 0.75rem; }
}

.checkmenu-wrap {
  position: fixed; top: 13%; right: 13%; background-color: #fff; padding: 0 15px; border-radius: 0.3rem;  border: 1px solid #dfdfdf; box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25); z-index: 10; display: none;
}

.checkmenu-wrap .check-menu-btn {
  display: inline-block; font-size: 0.9rem; color: white; margin: 1rem 0.2rem; padding: 0.375rem 1rem; border-radius: 0.35rem; background-color: #4878be; border: none; cursor: pointer;
}

.check-menu-btn:hover {
  background-color: #5d98ee;
}

.grade-name.er0:after, .grade-name.er1:after, .grade-name.er2:after { font-size: 0.7rem; position: absolute; top: 0.75rem; margin-left: 0.5rem; color: #BBB; }
div.grade-name.er0:after, div.grade-name.er1:after, div.grade-name.er2:after { top: 0.75rem; }
span.grade-name.er0:after, span.grade-name.er1:after, span.grade-name.er2:after { top: 0.45rem; }
.grade-name.er0:after { content: '09개정'; }
.grade-name.er1:after { content: '15개정'; }
.grade-name.er2:after { content: '22개정'; }

#save-complete-wrap { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80vw; max-height: 90vh; border-radius: 5px; max-width: 500px; z-index: 100; padding: 0.5rem; text-align: center; 
                      background: white; border: 1px solid #CCC; }
#save-complete-wrap .img-wrap { padding: 0 3rem; }
#save-complete-wrap .img-wrap img { width: -webkit-fill-available; max-width: 350px; } 

#save-complete-back-drop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: black; opacity: 0.5; z-index: 99; display: none; }
