.overflow_hidden {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  width: 6px;
  height: 6px;
  background-color: rgba(0, 0, 0, 0.5);
}

.toggle {
  display: none;
}

.bulk_tf_up_hd {
  /*position: inherit !important;*/
  position: relative !important;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  left: 0;
  z-index: 999;
}

.header .btn_exit {
  cursor: pointer;
  width: 120px;
  height: 35px;
  padding: 0 20px;
  border-color: var(--violet_P);
  color: var(--violet_P);
  font-weight: 500;
  font-size: 14px;
}

/* hw: media 추가 */
@media (max-width: 768px){
  .header .btn_exit {
    width: 64px;
    padding: 0 10px;
    margin-left: -20px;
  }
}

.header .btn_violet_edit {
  cursor: pointer;
  padding: 0;
  border: 1px solid var(--violet_P);
  color: var(--violet_P);
  border-radius: 5px;
}

.header .right_btns {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 1rem;
  background-color: white;
}

.header .right_btns .help_ic_wrap {
  background-color: var(--violet_K);
  font-size: 14px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  gap: 4px;
  padding: 0 8px;
  width: 100px;
  text-align: center;
  word-break: break-all;
  color: white;
}

@media (max-width: 1023px) {
  .header .right_btns {
    display: none;
  }
}

.header .right_btns input[type=button],
.header .right_btns button[type=button] {
  width: 120px;
  height: 35px;
  font-weight: 500;
  font-size: 14px;
}

.header .right_btns .attached_add {
  line-height: 35px;
  font-size: 14px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 0 8px;
  gap: 3px;
  text-align: center;
  word-break: break-all;
  }

  .header .template_subject_wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.header .template_subject {
  font-size: 20px;
  font-weight: 500;
}

.main {
  display: flex;
  flex-direction: column;
  /*height: calc(100% - 60px);*/
  /*min-height: 500px;*/
}

.main .mainArea {
  overflow: hidden;
}

.main_confrim{
  height: calc(100% - 60px);
}

.main_editor{
  height: calc(100% - 138px);
  top: 60px;
}
.main_editor .temp_detail_page{
  position: relative;
}

.main .docu_wrap {
  flex: 1;
}

@media (max-width: 1023px) {
  .main .docu_wrap {
    width: 100%;
  }
}

.main .docu_wrap .docu_area .temp_detail_page {
  justify-content: center;
}

.main .docu_wrap .docu_bg {
  display: flex;
  justify-content: center;
}

.main .docu_wrap .docu_bg .remote_wrap {
  /*overflow-x: auto;*/
  margin-bottom: 7rem;
  position: relative;
  z-index: 1;
}

.main .docu_wrap .docu_bg .remote_wrap > p {
  margin-top: 68px;
  font-weight: 500;
  font-size: 14px;
  color: var(--second_05);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page_title_wrap > p {
  /*display: flex;*/
  display: grid;
  justify-content: center;
  align-items: center;
  /*margin-top: 20px;*/
  font-weight: 500;
  font-size: 14px;
  color: var(--second_05);
  padding: 1rem 0;
}

.mainContainer_wrap {
  top: 0 ;
  left: calc((100% - 796px) / 2) ;
  width: 796px ;
  /*top: 0 !important;*/
  /*left: calc((100% - 796px) / 2) !important;*/
  /*width: 796px !important;*/
}

.main .docu_wrap .docu_bg .remote_wrap .docu_board {
  background-color: white;
  width: 682px;
  height: 890px;
  overflow: hidden;
  /*background: center/cover url("/imgs/sample.jpg") no-repeat;*/
  padding: 2rem;
}

.main .docu_wrap .docu_bg .remote_wrap .remote,
.page_btn_body {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  margin-left: -60px;
  z-index: 100;
  background: var(--violet_P);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  width: 60px;
  height: 90px;
  font-size: 14px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.2);
  border: 3px solid white;
}

.page_btn_body {
  position: absolute;
  left: calc((100% - 792px) / 2);
  margin-left: -70px;
}

#viewerContainer {
  top: 0 !important;
}

.pdfViewer {
  padding-bottom: 0 !important;
}

.pdfViewer .page {
  margin-top: 0 !important;
}

.inkEditor {
  outline: unset !important;
}

.main .docu_wrap .docu_bg .remote_wrap .remote > span,
.page_btn_body > span {
  position: relative;
  z-index: 10;
}

.main .docu_wrap .docu_bg .remote_wrap .remote::before,
.page_btn_body::before {
  content: "";
  position: absolute;
  z-index: 1;
  background: var(--violet_P);
  right: -10px;
  width: 14px;
  height: 14px;
  transform: rotate(225deg);
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  stroke-linecap: round;
  box-shadow: -6px 6px 8px rgba(0, 0, 0, 0.1);
}

.main .docu_wrap .docu_bg .remote_wrap .remote img,
.page_btn_body > img {
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.main .docu_wrap .docu_bg .remote_wrap .remote img:last-child,
.page_btn_body > img:last-child {
  transform: rotate(-180deg);
}

.main .docu_page_area {
  width: 220px;
  height: 100%;
  background-color: white;
  padding: 2rem;
  position: fixed;
  right: 0;
  top: 100px;
  border-left: 1px solid var(--second_03);
}

@media (max-width: 1023px) {
  .main .docu_page_area {
    display: none;
  }
}

.main .docu_page_area_mod {
  width: 220px;
  height: 100%;
  background-color: white;
  padding: 2rem;
  position: fixed;
  right: 0;
  top: 108px;
  border-left: 1px solid var(--second_03);
}

@media (max-width: 1023px) {
  .main .docu_page_area_mod {
    display: none;
  }
}

.tool_bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background-color: var(--second_03);
  /*height: 48px;*/
  height: 30px;
  padding: 0 1rem;
  position: fixed;
  width: 100%;
  z-index: 99;
}

.tool_bar .prev_next_btn_wrap {
  display: flex;
}

.tool_bar .div_line {
  color: var(--second_04);
}

.tool_bar .icons_btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool_bar .dropdown_wrap,
.tool_bar .icons_btns {
  width: 47px;
  height: 38px;
}

.tool_bar .dropdown_wrap_mo {
  display: none;
}
/* 230908 모바일 기준 파일 첨부란 섹션 css 추가 */
.section_wrap_mo{display: none;}
@media (max-width: 1023px){
  /* 230912 모바일 기준 파일 추가 첨부 스크롤 영역 추가 */
  .section_wrap_mo{
    display: block;
    width: 100%;
    max-height: 120px;
    overflow-y: auto;
    /*position: absolute;*/
    /*bottom: 78px;*/
    min-height: 40px;

    position: relative;
    z-index: 20000;
  }
  .section_wrap_mo::-webkit-scrollbar {
    width:4px;
  }
  .section_wrap_mo::-webkit-scrollbar-thumb {
    background: #00000077;
  }
  .section_wrap_mo::-webkit-scrollbar-track {
    background: rgba(0,0,0,.2);  /*스크롤바 뒷 배경 색상*/
  }

  .section_wrap_mo .sample_mo,
  .section_wrap_mo .report_add_mo{
    padding: 0 16px;
    line-height: 40px;
    font-weight: 400;
  }
  .section_wrap_mo .sample_mo{
    background: #e6e6e6;
    font-size: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #9e9e9e;
  }
  .section_wrap_mo .sample_mo> .sign_svg{
    width: 15px;
    height: 15px;
  }
  .section_wrap_mo .sample_mo>a{
    display: inline-block;
    color: var(--violet_P);
    cursor: pointer;
  }

  .section_wrap_mo .report_add_mo{
    background: #808080;
    color: #f6f6f6;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .section_wrap_mo .report_add_mo .txt-box .text{
    display: inline-block;
  }
  .section_wrap_mo .report_add_mo .txt-box .first-text{
    padding-right: 21px;
    position: relative;
  }
  .section_wrap_mo .report_add_mo .txt-box .first-text::before{
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 16px;
    background: #f6f6f6;
    top: 50%;
    transform: translateY(-50%);
    right: 9px;
  }
  .section_wrap_mo .report_add_mo .txt-box .file-add{
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-left: 5px;
  }
  .section_wrap_mo .report_add_mo button{
    width: 28px;
    height: 28px;
    background: #555;
    border-radius: 5px;
  }
  .section_wrap_mo .report_add_mo button .sign_svg{
    width: 20px;
    height: 20px;
  }
  .section_wrap_mo .report_add_mo button.close .sign_svg{
    width: 18px;
    height: 18px;
    /*margin-right: 6px;*/
    background: none;
  }
}
/* // 230912 모바일 기준 파일 추가 첨부 스크롤 영역 추가 */
/* //230908 모바일 기준 파일 첨부란 섹션 css 추가 */

@media (max-width: 1023px) {
  .tool_bar .dropdown_wrap,
  .tool_bar .icons_btns {
    display: none;
  }
}

.tool_bar .ctr_sign_m_bar {
  display: none;
}

@media (max-width: 1023px) {
  .tool_bar .ctr_sign_m_bar {
    display: block;
  }
}

.tool_bar .dropdown {
  width: 100%;
  user-select: none;
  position: relative;
}

.tool_bar .dropdown .dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 38px;
  text-align: center;
  color: #333;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
}

.tool_bar .dropdown .dropdown-btn > p {
  display: inline-block;
  position: relative;
  margin-left: 15px;
  text-align: center;
  user-select: none;
  pointer-events: none;
  margin-right: 6px;
}

.tool_bar .dropdown .dropdown-btn i {
  color: #6f7070;
  line-height: 1.5;
  float: right;
  pointer-events: none;
}

.tool_bar .dropdown .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 6px;
  border-radius: 5px;
  font-weight: 500;
  color: #333;
  width: 100%;
  overflow: hidden;
  display: none;
  width: 86px;
}

.tool_bar .dropdown .dropdown-content .dropdown-item {
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.tool_bar .dropdown .dropdown-content .dropdown-item:hover {
  background: var(--violet_bg);
  color: var(--violet_P);
}

.tool_bar .dropdown .dropdown-content.activedrop {
  display: block;
}

.cont_select .btn_select {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

.cont_select .list_item {
  overflow-y: auto;
  height: 120px;
  background-color: white;
}

.cont_select .list_item::-webkit-scrollbar {
  width: 2px;
}

.cont_select .list_item::-webkit-scrollbar-thumb {
  background-color: var(--second_04);
  border-radius: 5px;
}

.cont_select .list_item::-webkit-scrollbar-track {
  background-color: var(--second_03);
  border-radius: 5px;
}

.cont_select .list_item li button {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}

.cont_select .list_item li button:hover {
  border-radius: 5px;
  transition: all 0.3s ease-out;
  background-color: var(--violet_bg);
  color: var(--violet_P);
}

.share_selec > ul.list_item {
  margin-top: 10px;
}

.pop_sharing {
  display: flex;
  justify-content: space-between;
}

.pop_sharing .selectBox_wrap {
  display: flex;
  width: 400px;
}

.pop_sharing .selectBox_wrap .cont_select_2 {
  flex: 0.3 !important;
}

.pop_sharing .selectBox_wrap .cont_select_1,
.pop_sharing .selectBox_wrap .cont_select_2 {
  flex: 1;
  display: flex;
  position: relative;
}

.pop_sharing .selectBox_wrap .cont_select_1 #selec_1,
.pop_sharing .selectBox_wrap .cont_select_1 #selec_2,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_1,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_2 {
  border: 1px solid var(--second_03);
  border-radius: 5px;
  width: 400px !important;
  height: 42px;
  text-align: left;
  padding-left: 1rem;
}

.pop_sharing .selectBox_wrap .cont_select_1 #selec_1,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_1 {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.pop_sharing .selectBox_wrap .cont_select_1 #selec_1:focus,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_1:focus {
  border: 1px solid var(--violet_P);
  outline: 3px solid var(--violet_D);
}

.pop_sharing .selectBox_wrap .cont_select_1 #selec_2,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_2 {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.pop_sharing .selectBox_wrap .cont_select_1 #selec_2:focus,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_2:focus {
  border: 1px solid var(--violet_P);
  outline: 3px solid var(--violet_D);
}

.pop_sharing .selectBox_wrap .cont_select_1 #selec_1.on,
.pop_sharing .selectBox_wrap .cont_select_1 #selec_2.on,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_1.on,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_2.on {
  background: url("/imgs/_02-4.svg") center right 14px no-repeat;
}

.pop_sharing .selectBox_wrap .cont_select_1 #selec_1.on + #selec_1_li,
.pop_sharing .selectBox_wrap .cont_select_1 #selec_2.on + #selec_2_li,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_1.on + #selec_1_li,
.pop_sharing .selectBox_wrap .cont_select_2 #selec_2.on + #selec_2_li {
  display: block;
}

.pop_sharing .selectBox_wrap .cont_select_1 .list_item_doble,
.pop_sharing .selectBox_wrap .cont_select_2 .list_item_doble {
  border-radius: 5px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--second_03);
  display: none;
  text-align: left;
  position: absolute;
  background-color: white;
}

.pop_sharing .selectBox_wrap .cont_select_1 .list_item_doble li button,
.pop_sharing .selectBox_wrap .cont_select_2 .list_item_doble li button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.pop_sharing .selectBox_wrap .cont_select_1 .list_item_doble li button:hover,
.pop_sharing .selectBox_wrap .cont_select_2 .list_item_doble li button:hover {
  border-radius: 5px;
  transition: all 0.3s ease-out;
  background-color: var(--violet_bg);
  color: var(--violet_P);
}

.pop_sharing .selectBox_wrap .cont_select_1 .list_item_doble li .user_list_add,
.pop_sharing .selectBox_wrap .cont_select_2 .list_item_doble li .user_list_add {
  justify-content: space-between;
}

.pop_sharing button.pop_sharing_add_btn {
  background-color: var(--violet_P);
  color: white;
  width: 74px;
  height: 42px;
  border-radius: 5px;
  padding: 0 1rem;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: inherit;
}

.slide_thum_wrap {
  margin-top: 1.4rem;
}

.slide_thum_wrap .slide_thum {
  width: 160px;
  height: 108px;
  background-color: var(--second_03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide_thum_wrap .slide_thum:hover {
  border: 2px solid var(--violet_P);
  position: relative;
}

.slide_thum_wrap .slide_thum:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 6px;
  width: 20px;
  height: 20px;
  background: center/cover url("/imgs/stepper_icon_on.svg") no-repeat;
}

.slide_thum_wrap .slide_thum .thum_view {
  height: 80px;
}

.slide_thum_wrap .slide_thum .thum_foot {
  background-color: var(--second_01);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.slide_thum_wrap .slide_thum .thum_foot .num {
  color: var(--second_06);
  font-size: 13px;
}

.slide_thum_wrap .slide_thum .thum_foot .icons_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn_add_page {
  width: 100%;
  height: 35px;
  padding: 0;
  margin-top: 1.4rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--second_05);
  cursor: pointer;
}

.btn_default_mod {
  display: inline-block;
  width: 140px;
  height: 50px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--violet_P);
  box-shadow: inherit;
  text-align: center;
  cursor: pointer;
}

.btn_default_mod:focus {
  outline: inherit;
}

.btn_violet_mod {
  cursor: pointer;
  background-color: var(--violet_P);
  color: var(--white);
  padding: 0 14px;
  border-radius: 5px;
  font-weight: 600;
  height: 50px;
  font-size: 16px;
}

.btn_violet_mod:hover {
  transition: 0.3s;
  background-color: var(--violet_PL);
}

.btn_violet_mod:active {
  transition: 0.3s;
  background-color: var(--violet_K);
}

.hd_bar {
  background-color: white;
}

.stamp_ic,
.sign_ic {
  cursor: pointer;
  background: #1ea6e3;
  display: inline-block;
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  border: 3px solid white;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
}

.txtareawrap {
  position: relative;
  transition: 0.3s ease;
}

.txtarea {
  background: #ccefff;
  border: 2px solid #1ea6e3;
  border-radius: 3px;
  padding: 6px 12px;
  position: relative;
  width: 120px;
  height: 36px;
  font-family: pretendard, sans-serif;
  font-size: 15px !important;
  color: var(--second_10);
  resize: none;
}

.txtarea::placeholder {
  font-size: 15px !important;
  color: var(--second_10);
}

.txtarea:focus {
  background: #c2e3f2;
  outline: 4px solid #ccefff;
  resize: auto;
}

.speechBubble {
  display: flex;
  position: absolute;
  top: -50px;
  z-index: 10;
}

.speechBubble img {
  position: relative;
}

.speechBubble .txt_option {
  position: absolute;
  z-index: 999;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  word-break: keep-all;
  display: flex;
  gap: 10px;
}

.speechBubble .txt_option > a {
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.speechBubble .txt_option > a:not(:last-child)::after {
  content: "|";
  position: relative;
  left: 5px;
  color: var(--second_03);
}

.speechBubble {
  display: none;
}

.speechBubble.on {
  display: inline-block;
}

.editElem > img {
  pointer-events: none;
}

.check_area {
  background: white;
  border: 1px dashed dodgerblue;
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 190px;
  padding: 20px 0 20px 20px;
}

.check_area .checkbox_wrap {
  display: block;
  position: relative;
}

.check_area .checkbox_wrap > input[type=checkbox] {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px dashed dodgerblue;
  visibility: visible;
}

.check_area .checkbox_wrap::before {
  display: inline-block;
  background: gray;
  font-size: 4px;
  width: 12px;
  height: 12px;
  padding: 2px;
  content: attr(data-value);
  color: white;
  text-align: center;
  position: absolute;
  left: -10px;
  top: -7px;
  border-radius: 50%;
  z-index: 2;
}

.radio_area {
  background: white;
  border: 1px dashed dodgerblue;
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 190px;
  padding: 20px 0 0px 20px;
}

.radio_area .radio {
  display: block;
  position: relative;
}

.radio_area .radio > input[type=radio] + label {
  margin: 0 0 !important;
}

.radio_area .radio::before {
  display: inline-block;
  background: gray;
  font-size: 4px;
  width: 12px;
  height: 12px;
  padding: 2px;
  content: attr(data-value);
  color: white;
  text-align: center;
  position: absolute;
  left: -10px;
  top: -10px;
  border-radius: 50%;
  z-index: 2;
}

.category_add {
  border: 1px solid var(--second_03);
  color: var(--second_05);
  border-radius: 5px;
}

.selectBoxWrapper {
  border: 1px dashed dodgerblue;
  display: inline-block;
  min-width: 100px;
  padding: 10px;
  border-radius: 5px;
  background: #ccefff;
}

.selectBoxWrapper .selectBoxObj > select {
  padding: 10px 20px;
  border: 1px solid var(--second_04);
  border-radius: 5px;
}

.selectBoxWrapper .selectBoxObj > select:focus {
  outline: 3px solid #1ea6e3;
}

.selectBoxWrapper .selectBoxObj > select > option {
  background: white;
}

.report_add {
  color: var(--violet_P);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report_add textarea {
  background: var(--second_01);
  font-family: pretendard;
  font-size: 15px;
  color: var(--second_06);
  /*height: 100px;*/
}

.report_add button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attachment_file_name {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.attachment_file_name.attach_file_content {
  height: fit-content;
  min-height: 50px;
}

.mouse-cursor {
  cursor: pointer;
}

.txt-ellipse2 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  /*overflow: hidden;*/
  text-overflow: ellipsis;
  word-break: break-all;
  text-align: left;
  white-space: normal;
  /*-webkit-line-clamp: 2;*/
  overflow-y: scroll;
}

.attachment_file_name:nth-of-type(3) div {
  /*color: blue;*/
}

.attachment_file_name div {
  display: flex;
  align-items: center;
  gap: 4px;
  /*color: red;*/
}

.attachment_file_name div:first-child {
  display: flex;
  align-items: center;
}

.attachment_file_name div:first-child img {
  width: 18px;
  opacity: 1;
}

.attachment_file_name span {
  display: flex;
  align-items: center;
}

.attachment_file_name span:last-child img {
  width: 18px;
}

.attachment_file_name span:last-child img:last-child {
  opacity: 0.2;
}

/*****************************************************************************************************
*****************************************************************************************************
****************************              By Soft Dev           *************************************
*****************************************************************************************************
*****************************************************************************************************/
.toolbarButton.btnGoPrivous,
.toolbarButton.btnGoNext {
  display: flex;
  justify-content: center;
  align-content: center;
  margin: 0;
  width: 24px;
  height: 24px;
}

.toolbarButton.btnGoPrivous::before,
.toolbarButton.btnGoNext::before {
  -webkit-mask-image: unset !important;
  mask-image: unset !important;
  opacity: 0;
  cursor: pointer;
}

.toolbarButton.btnGoPrivous[disabled],
.toolbarButton.btnGoNext[disabled] {
  opacity: 0.2;
  cursor: unset;
}

.toolbarButton.btnGoPrivous:hover,
.toolbarButton.btnGoNext:hover {
  background-color: unset;
}

.toolbarButton.btnGoNext {
  transform: rotate(180deg);
}

.toolbarField.customEditor {
  border: unset;
  background-color: unset;
}

.baseJustifyCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

input.toolbarField.customEditor,
span.toolbarField.customEditor {
  padding: 0 !important;
  width: 20px !important;
  height: fit-content;
  text-align: center !important;
}

input.toolbarField.customEditor:focus {
  outline: unset !important;
  border: unset !important;
}

.tool_panels,
.palette_panels {
  display: block;
  overflow: auto;
  padding-bottom: 40px;
  z-index: 100000;
}

.page_btn_body::before {
  z-index: -1;
}

/*.contract_edit {*/
/*  height: calc(100% - 150px);*/
/*}*/

/**
 * datepicker customizing
 */
.air-datepicker.-inline- {
  margin-top: 1px;
}

/**
 * Editor form Customizing
 */
select.form-control {
  appearance: none;
  border: 1px solid var(--second_03);
  height: 50px;
  color: var(--second_05);
  background-color: #fff;
}

select.form-control:hover {
  border: 1px solid var(--violet_P);
  outline: 3px solid var(--violet_D);
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #eee;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  bottom: 3px;
  left: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--violet_P);
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 50px;
}

.slider.round:before {
  border-radius: 50%;
}

/********************************** 서명 모달 ******************************/

/* 레이어 팝업 */

.layer_popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 300;
}

.layer_popup .popupBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
}

.layer_popup .popupBox .titleBox {
  position: relative;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  background-color: #3d435d;
}

.layer_popup .popupBox .titleBox > img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  height: 16px;
}

.layer_popup .popupBox .titleBox span {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.3rem;
  color: #fff;
}

.layer_popup .popupBox .titleBox .xBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  display: block;
}


.layer_popup .popupBox .popup_main {
  background-color: #fff;
  text-align: center;
}

.layer_popup .popupBox .popup_main .fileBox {
  overflow: hidden;
  box-sizing: border-box;
  padding: 20px;
  width: 100%;
}


.layer_popup .popupBox .popup_main .fileBox figcaption {
  margin-top: 10px;
  font-size: 1rem;
  color: #505050;
  opacity: 0.5;
}

.layer_popup .popupBox .popup_main .fileBox .volume {
  float: right;
  margin-top: 10px;
  font-size: 13px;
  color: #7c7c7c;
}

.layer_popup .popupBox .popup_main .fileBox input {
  display: none;
}

.layer_popup .popupBox .popup_main .fileBox label {
  display: block;
  margin: 41px auto 0;
  border-radius: 3px;
  width: 187px;
  height: 33px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 33px;
  color: #fff;
  background-color: #8ea3b9;
  text-align: center;
  cursor: pointer;
}

.layer_popup .popupBox .popup_main .fileBox label:hover {
  background-color: #3d435d;
}

.layer_popup .popupBox .popup_main .fileBox .infoBox {
  margin-top: 15px;
  width: 100%;
}

.layer_popup .popupBox .popup_main .fileBox .infoBox.attached {
  position: relative;
  height: 33px;
  line-height: 33px;
  text-align: center;
  background-color: #f4f4f4;
}

.layer_popup .popupBox .popup_main .fileBox .infoBox .file-info {
  font-size: 1rem;
  color: #464646;
  opacity: 0.5;
}


.layer_popup .popupBox .popup_main .fileBox .infoBox .file_xBtn {
  position: absolute;
  top: 2px;
  right: 10px;
  display: none;
}


.layer_popup .popupBox .popup_main .fileBox .infoBox.attached .file-info {
  font-size: 1.2rem;
  opacity: 1;
}

.layer_popup .popupBox .popup_main .fileBox .infoBox.attached .file_xBtn {
  display: block;
}

.layer_popup .popupBox .popup_main .fileBox .file-info2 {
  display: block;
  margin-top: 20px;
  font-size: 1rem;
  color: #464646;
}

.layer_popup .popupBox .popup_main .fileBox .file-info2_m {
  display: none;
}

.layer_popup .popupBox .popup_main .btnBox {
  padding: 20px 0;
  width: 100%;
  background-color: #f7f7f7;
}

.layer_popup .popupBox .popup_main .btnBox a {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
  border-radius: 3px;
  width: 105px;
  height: 33px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 33px;
  color: #fff;
  background-color: #b8b8b8;
}

.layer_popup .popupBox .popup_main .btnBox a.active {
  background-color: #ff7062
}

.layer_popup .popupBox .popup_main .add_list .top_btn {
  display: block;
  margin-bottom: 15px;
  border-radius: 3px;
  width: 100%;
  height: 40px;
  font-size: 1rem;
  line-height: 40px;
  text-align: center;
  color: #fff;
  background-color: #ff7062;
}

.layer_popup .popupBox .popup_main .add_list {
  box-sizing: border-box;
  border-top: 1px solid #ddd;
  padding: 15px 20px;
  width: 100%;
  background-color: #fff;
  text-align: left;
}

.layer_popup .popupBox .popup_main .add_list li {
  box-sizing: border-box;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 100%;
}

.layer_popup .popupBox .popup_main .add_list li:last-child {
  margin-bottom: 0;
}

.layer_popup .popupBox .popup_main .add_list li .list_title {
  position: relative;
  box-sizing: border-box;
  padding: 15px 20px;
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  color: #464646;
  background-color: #f4f4f4;
}

.layer_popup .popupBox .popup_main .add_list li .list_title .list_xBtn {
  position: absolute;
  top: 13px;
  right: 15px;
}

.layer_popup .popupBox .popup_main .add_list li .list_title .list_xBtn img {
  width: 14px;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts {
  box-sizing: border-box;
  padding: 5px 20px;
  width: 100%;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table {
  width: 100%;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table th {
  vertical-align: middle;
  width: 30%;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td {
  /*width: 70%;*/
  vertical-align: middle;
  padding: 3px 0;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .inputBox {
  border: 1px solid #ddd;
  border-radius: 2px;
  width: 100%;
  height: 30px;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .inputBox input {
  display: block;
  box-sizing: border-box;
  border: none;
  padding: 5px 10px;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  color: #464646;
  background-color: transparent;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .phoneBox {
  border: 1px solid #ddd;
  border-radius: 2px;
  width: 100%;
  height: 30px;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .phoneBox select {
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  border: none;
  padding: 5px 10px;
  width: 70px;
  height: 100%;
  font-size: 0.85rem;
  color: #464646;
  background-image: url(../img/icon_select_down.png);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .phoneBox input {
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  border: none;
  padding: 5px;
  width: 75px;
  height: 100%;
  font-size: 0.85rem;
  text-align: center;
  color: #464646;
  background-color: transparent;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .phoneBox span {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.85rem;
  color: #464646;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .dateBox {
  width: 100%;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .dateBox input {
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 5px 0;
  width: 130px;
  height: 30px;
  font-size: 0.85rem;
  text-align: center;
  color: #464646;
  background-color: transparent;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .dateBox img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  width: 20px;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .dateBox .time {
  width: 50px;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .dateBox span {
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  color: #464646;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .checkBox {
  overflow: hidden;
  text-align: center;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .checkBox:after {
  content: "";
  display: block;
  clear: both;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .checkBox input {
  display: none;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .checkBox input + label {
  float: left;
  display: block;
  box-sizing: border-box;
  margin-right: 18px;
  border: 1px solid #ddd;
  border-radius: 2px;
  width: 70px;
  height: 30px;
  font-size: 0.85rem;
  line-height: 30px;
  color: #464646;
  background-color: #f4f4f4;
  cursor: pointer;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .checkBox input + label:last-of-type {
  margin-right: 0;
}

.layer_popup .popupBox .popup_main .add_list li .list_conts table td .checkBox input + label:hover,
.layer_popup .popupBox .popup_main .add_list li .list_conts table td .checkBox input:checked + label {
  border-color: #ff7062;
  color: #fff;
  background-color: #ff7062;
  cursor: pointer;
}

.layer_popup .popupBox .popup_main .add_list .add_btn {
  display: block;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 0;
  width: 100%;
  background-color: #f4f4f4;
  text-align: center;
}

.layer_popup .popupBox .popup_main .message {
  box-sizing: border-box;
  padding: 15px 20px 20px;
  width: 100%;
  background-color: #f3f3f3;
}

.layer_popup .popupBox .popup_main .message .message_title {
  padding-left: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #464646;
  text-align: left;
}

.layer_popup .popupBox .popup_main .message .inputBox {
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  width: 100%;
  height: 40px;
}

.layer_popup .popupBox .popup_main .message .inputBox input {
  display: block;
  box-sizing: border-box;
  border: none;
  padding: 5px 10px;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  color: #464646;
  background-color: #fff;
}

.layer_popup .popupBox .popup_main .halfBox {
  overflow: hidden;
  box-sizing: border-box;
  padding: 20px;
  width: 100%;
}

.layer_popup .popupBox .popup_main .halfBox:after {
  content: "";
  display: block;
  clear: both;
}

.layer_popup .popupBox .popup_main .halfBox .half {
  float: left;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 20px 0;
  width: 48%;
  background-color: #f4f4f4;
  text-align: center;
}

.layer_popup .popupBox .popup_main .halfBox .half:last-child {
  float: right;
}

.layer_popup .popupBox .popup_main .halfBox .half .imgBox {
  width: 100%;
  height: 70px;
  background-position: center;
  background-repeat: no-repeat;
}

.layer_popup .popupBox .popup_main .halfBox .half .img01 {
  background-image: url(../img/img_sign_before.png);
}

.layer_popup .popupBox .popup_main .halfBox .half .img02 {
  background-image: url(../img/img_sign_after.png);
}

.layer_popup .popupBox .popup_main .halfBox .half .text {
  margin-top: 20px;
  font-size: 1rem;
  color: #464646;
}

.layer_popup .popupBox .popup_main .halfBox .half .btn {
  display: inline-block;
  margin-top: 10px;
  width: 110px;
  height: 33px;
  font-size: 1rem;
  line-height: 33px;
  text-align: center;
  background-color: #b8b8b8;
  color: #fff;
}

.layer_popup .popupBox .popup_main .halfBox .half:hover .img01 {
  background-image: url(../img/img_sign_before_on.png);
}

.layer_popup .popupBox .popup_main .halfBox .half:hover .img02 {
  background-image: url(../img/img_sign_after_on.png);
}

.layer_popup .popupBox .popup_main .halfBox .half:hover .btn {
  color: #fff;
  background-color: #ff7062;
}

.layer_popup .popupBox .popup_main .completeBox {
  box-sizing: border-box;
  padding: 30px 0 50px;
  width: 100%;
  background-color: #fff;
  text-align: center;
}

.layer_popup .popupBox .popup_main .completeBox img {
}

.layer_popup .popupBox .popup_main .completeBox .text {
  margin-top: 20px;
  font-size: 1rem;
  color: #464646;
}

.layer_popup .popupBox .popup_main .completeBox .btn {
  display: inline-block;
  box-sizing: border-box;
  margin-top: 15px;
  border-radius: 3px;
  width: 190px;
  height: 33px;
  font-size: 1rem;
  line-height: 33px;
  text-align: center;
  background-color: #ff7062;
  color: #fff;
}

#member_setting .popupBox .popup_main .btnBox {
  padding: 20px 0 30px;
  background-color: #fff;
}

#member_setting .popupBox .popup_main .btnBox a.next_btn {
  background-color: #ff7062
}

#signature_add .popupBox,
#stamp_add .popupBox,
#document_upload .popupBox,
#image_add .popupBox {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  width: 640px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
}

#signature_add .popupBox,
#stamp_add .popupBox {
  height: 95%;
}

#image_add .popupBox {
  height: 83%;
}

#document_upload .popupBox {
  height: fit-content;
}

#signature_add .popupBox:after,
#stamp_add .popupBox:after,
#document_upload .popupBox:after,
#image_add .popupBox:after {
  background: unset;
}

#signature_add .popupBox .popup_main,
#stamp_add .popupBox .popup_main,
#document_upload .popupBox .popup_main,
#image_add .popupBox .popup_main {
  border-radius: 10px;
  padding-bottom: 30px;
  width: 100%;
  height: 100%;
}

#document_upload .popupBox .popup_main {
  padding-bottom: 0;
}

/* -- added by shkim  */
#signature_add .popupBox .popup_main .tabBox4,
#stamp_add .popupBox .popup_main .tabBox4,
#image_add .popupBox .popup_main .tabBox4 {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  border-radius: 10px 10px 0 0;
  padding: 0 1rem;
  width: 100%;
}

#signature_add .popupBox .popup_main .tabBox4,
#stamp_add .popupBox .popup_main .tabBox4 {
  height: 82px;
  background-color: var(--violet_bg);
}

#image_add .popupBox .popup_main .tabBox4 {
  height: 22px;
  background-color: var(--white);
}

#signature_add .popupBox .popup_main .tabBox4 a,
#stamp_add .popupBox .popup_main .tabBox4 a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  padding: 15px 0;
  width: 25%;
  height: 50px;
  font-size: 16px;
  font-weight: 700;
  color: var(--second_06);
  text-align: center;
}

#signature_add .popupBox .popup_main .tabBox4 a.active,
#stamp_add .popupBox .popup_main .tabBox4 a.active {
  color: var(--violet_P);
  background-color: var(--white);
}

/* -- end added by shkim  */
/* added by shkim */
#signature_add .popupBox .popup_main .my,
#stamp_add .popupBox .popup_main .my {
  display: none;
}

#signature_add .popupBox .popup_main .my .inputArea,
#stamp_add .popupBox .popup_main .my .inputArea {
  overflow: hidden;
  box-sizing: border-box;
  padding: 40px 75px 30px;
  width: 100%;
}

#signature_add .popupBox .popup_main .my .inputArea:after,
#stamp_add .popupBox .popup_main .my .inputArea:after {
  content: "";
  display: block;
  clear: both;
}

#signature_add .popupBox .popup_main .my .inputArea .inputBox,
#stamp_add .popupBox .popup_main .my .inputArea .inputBox {
  float: left;
  box-sizing: border-box;
  border: 1px solid #ddd;
  width: -webkit-calc(100% - 80px);
  width: -moz-calc(100% - 80px);
  width: calc(100% - 80px);
  height: 40px;
}

#signature_add .popupBox .popup_main .my .inputArea .inputBox input,
#stamp_add .popupBox .popup_main .my .inputArea .inputBox input {
  display: block;
  box-sizing: border-box;
  border: none;
  padding: 5px 20px;
  outline: none;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  text-align: left;
  color: #666;
  background-color: transparent;
}

#signature_add .popupBox .popup_main .my .inputArea .btn,
#stamp_add .popupBox .popup_main .my .inputArea .btn {
  float: right;
  display: block;
  width: 70px;
  height: 40px;
  font-size: 1rem;
  line-height: 40px;
  text-align: center;
  color: #fff;
  background-color: #3d435d;
}

#signature_add .popupBox .popup_main .my .radioBox,
#stamp_add .popupBox .popup_main .my .radioBox {
  overflow: hidden;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  padding: 0;
  width: 100%;
}

#signature_add .popupBox .popup_main .my .radioBox input,
#stamp_add .popupBox .popup_main .my .radioBox input {
  display: none;
}

#signature_add .popupBox .popup_main .my .radioBox input + label,
#stamp_add .popupBox .popup_main .my .radioBox input + label {
  display: block;
  float: left;
  box-sizing: border-box;
  border: 1px solid var(--second_03);
  border-radius: 6px;
  width: 100%;
  height: 100px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

#signature_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(1),
#signature_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(2),
#signature_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(3),
#signature_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(4),
#stamp_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(1),
#stamp_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(2),
#stamp_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(3),
#stamp_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(4) {
  margin-top: 0;
}

#signature_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(4n),
#stamp_add .popupBox .popup_main .my .radioBox input + label:nth-of-type(4n) {
  margin-right: 0;
}

#signature_add .popupBox .popup_main .my .radioBox input + label:hover,
#stamp_add .popupBox .popup_main .my .radioBox input + label:hover,
#signature_add .popupBox .popup_main .my .radioBox input:checked + label,
#stamp_add .popupBox .popup_main .my .radioBox input:checked + label {
  border: 2px solid #ff7062;
}

/* end added by shkim */


#signature_add .popupBox .popup_main .tabBox,
#stamp_add .popupBox .popup_main .tabBox {
  display: table;
  box-sizing: border-box;
  border-bottom: 2px solid #ddd;
  width: 100%;
  padding: 0 75px;
}

#signature_add .popupBox .popup_main .tabBox a,
#stamp_add .popupBox .popup_main .tabBox a {
  position: relative;
  display: table-cell;
  padding: 15px 0;
  width: 34%;
  font-size: 1.2rem;
  text-align: center;
  color: #808080;
}

#signature_add .popupBox .popup_main .tabBox a.active,
#stamp_add .popupBox .popup_main .tabBox a.active {
  font-weight: 500;
  color: #ff7062;
}

#signature_add .popupBox .popup_main .tabBox a.active:before,
#stamp_add .popupBox .popup_main .tabBox a.active:before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff7062;
}

#signature_add .popupBox .popup_main .tabView,
#stamp_add .popupBox .popup_main .tabView,
#document_upload .popupBox .popup_main .tabView,
#image_add .popupBox .popup_main .tabView {
  overflow: auto;
  padding: 0 2rem 2rem;
}

#signature_add .popupBox .popup_main .tabView,
#signature_add .popupBox .popup_main .tabView,
#stamp_add .popupBox .popup_main .tabView {
  height: calc(100% - 82px - 90px - 18px);
}

#image_add .popupBox .popup_main .tabView {
  height: calc(100% - 22px - 90px - 18px);
}

#document_upload .popupBox .popup_main .tabView {
  height: calc(100% - 22px - 90px - 18px);
}

#signature_add .popupBox .popup_main .tabView input,
#stamp_add .popupBox .popup_main .tabView input,
#document_upload .popupBox .popup_main .tabView input,
#image_add .popupBox .popup_main .tabView input {
  margin-top: 2px;
}
#signature_add .popupBox .popup_main .modal_title,
#stamp_add .popupBox .popup_main .modal_title,
#document_upload .popupBox .popup_main .modal_title,
#image_add .popupBox .popup_main .modal_title {
  margin-top: 2rem;
  margin-left: 2rem;
  padding: 1rem 0;
  font-size: 20px;
  text-align: left;
}
#signature_add .popupBox .popup_main .draw,
#stamp_add .popupBox .popup_main .draw {
  width: 100%;
  box-sizing: border-box;
}

#signature_add .popupBox .popup_main .draw .canvas,
#stamp_add .popupBox .popup_main .draw .canvas {
  position: relative;
  box-sizing: border-box;
  border: 1px solid #ddd;
  width: 100%;
  height: 50%;
  min-height: 230px;
  background-color: #f1f1f1;
}

#signature_add .popupBox .popup_main .draw .canvas span,
#stamp_add .popupBox .popup_main .draw .canvas span {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  font-size: 1rem;
  text-align: center;
  color: #999;
}

#signature_add .popupBox .popup_main .draw .canvas canvas,
#stamp_add .popupBox .popup_main .draw .canvas canvas {
  width: 100%;
  height: 100%;
}

#signature_add .popupBox .popup_main .draw .eraser,
#stamp_add .popupBox .popup_main .draw .eraser {
  margin: 10px 0;
  text-align: right;
}

#signature_add .popupBox .popup_main .draw .eraser a,
#stamp_add .popupBox .popup_main .draw .eraser a {
  padding: 10px 0;
  font-size: 14px;
  color: var(--violet_P);
  text-decoration: underline;
}

#signature_add .popupBox .popup_main .draw .eraser a img,
#stamp_add .popupBox .popup_main .draw .eraser a img {
  margin-right: 5px;
}

#signature_add .popupBox .popup_main .make,
#stamp_add .popupBox .popup_main .make {
  display: none
}

#signature_add .popupBox .popup_main .make .inputArea,
#stamp_add .popupBox .popup_main .make .inputArea {
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

#signature_add .popupBox .popup_main .make .inputArea:after,
#stamp_add .popupBox .popup_main .make .inputArea:after {
  content: "";
  display: block;
  clear: both
}

#signature_add .popupBox .popup_main .make .inputArea .inputBox,
#stamp_add .popupBox .popup_main .make .inputArea .inputBox {
  float: left;
  box-sizing: border-box;
  border: 1px solid #ddd;
  width: -webkit-calc(100% - 80px);
  width: -moz-calc(100% - 80px);
  width: calc(80% - 80px);
  height: 40px;
}

#signature_add .popupBox .popup_main .make .inputArea .inputBox input,
#stamp_add .popupBox .popup_main .make .inputArea .inputBox input {
  display: block;
  box-sizing: border-box;
  outline: none;
  border: none;
  padding: 5px 20px;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  text-align: left;
  color: #666;
  background-color: transparent;
}

#signature_add .popupBox .popup_main .make .inputArea .btn,
#stamp_add .popupBox .popup_main .make .inputArea .btn {
  float: right;
  display: block;
  width: 70px;
  height: 40px;
  font-size: 1rem;
  line-height: 40px;
  text-align: center;
  color: #fff;
  background-color: #3d435d;
}

#signature_add .popupBox .popup_main .make .radioBox,
#stamp_add .popupBox .popup_main .make .radioBox {
  overflow: hidden;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin-top: 1rem;
  padding: 0;
  width: 100%;
  font-size: 20px;
}

#signature_add .popupBox .popup_main .make .radioBox input,
#stamp_add .popupBox .popup_main .make .radioBox input {
  display: none;
}

#signature_add .popupBox .popup_main .make .radioBox input + label,
#stamp_add .popupBox .popup_main .make .radioBox input + label {
  display: block;
  float: left;
  box-sizing: border-box;
  word-break: break-word;
  margin-top: 10px;
  margin-right: 2%;
  border: 1px solid var(--second_03);
  border-radius: 6px;
  padding: 0 5px;
  width: 100%;
  height: 100px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* 한글용 폰트 */
#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_1,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_1 {
  font-family: 'Nanum Pen Script', cursive;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_2,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_2 {
  font-family: 'NanumBarunpen', sans-serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_3,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_3 {
  font-family: "RIDIBatang", sans-serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_4,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_4 {
  font-family: 'NanumSquare', sans-serif !important;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_5,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_5 {
  font-family: 'Black Han Sans', sans-serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_6,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_6 {
  font-family: 'BMEULJIRO', sans-serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_7,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_7 {
  font-family: 'BMYEONSUNG', sans-serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_ko_8,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_ko_8 {
  font-family: 'Dovemayo-Bold', sans-serif;
}

/* 영어용 폰트 */
#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_1,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_1 {
  font-family: 'Arapey', serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_2,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_2 {
  font-family: 'Arsenal', sans-serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_3,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_3 {
  font-family: 'Cookie', cursive;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_4,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_4 {
  font-family: 'DM Sans', sans-serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_5,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_5 {
  font-family: 'Nothing You Could Do', cursive;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_6,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_6 {
  font-family: 'Pacifico', cursive;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_7,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_7 {
  font-family: 'Allura', cursive;
}

#signature_add .popupBox .popup_main .make .radioBox input + label#font_en_8,
#stamp_add .popupBox .popup_main .make .radioBox input + label#font_en_8 {
  font-family: 'Domine', serif;
}

#signature_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(1),
#signature_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(2),
#signature_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(3),
#signature_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(4),
#stamp_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(1),
#stamp_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(2),
#stamp_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(3),
#stamp_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(4) {
  margin-top: 0
}

#signature_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(4n),
#stamp_add .popupBox .popup_main .make .radioBox input + label:nth-of-type(4n) {
  margin-right: 0
}

#signature_add .popupBox .popup_main .make .radioBox input + label:hover,
#stamp_add .popupBox .popup_main .make .radioBox input + label:hover,
#signature_add .popupBox .popup_main .make .radioBox input:checked + label,
#stamp_add .popupBox .popup_main .make .radioBox input:checked + label {
  border: 2px solid #ff7062;
  cursor: pointer;
}

#signature_add .popupBox .popup_main .make .radioBox label p,
#stamp_add .popupBox .popup_main .make .radioBox label p {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

#signature_add .popupBox .popup_main .make .error,
#stamp_add .popupBox .popup_main .make .error {
  padding: 6px 0 20px 186px;
  text-align: left;
  font-size: 12px;
  color: #ff7062;
}

#signature_add .popupBox .popup_main .upload,
#stamp_add .popupBox .popup_main .upload,
#document_upload .popupBox .popup_main .upload,
#image_add .popupBox .popup_main .upload {
  display: none;
  box-sizing: border-box;
  width: 100%;
}

#document_upload .popupBox .popup_main .upload,
#image_add .popupBox .popup_main .upload {
  display: block;
}

#signature_add .popupBox .popup_main .upload .uploadBox,
#stamp_add .popupBox .popup_main .upload .uploadBox {
  text-align: center;
}

#signature_add .popupBox .popup_main .upload .uploadBox input,
#stamp_add .popupBox .popup_main .upload .uploadBox input {
  display: none;
}

#signature_add .popupBox .popup_main .upload .uploadBox input + label,
#stamp_add .popupBox .popup_main .upload .uploadBox input + label {
  display: inline-block;
  margin-top: 1rem;
  border-radius: 5px;
  padding: 10px 16px;
  width: 120px;
  color: #fff;
  background-color: var(--violet_P);
  text-align: center;
  cursor: pointer
}

#signature_add .popupBox .popup_main .upload .uploadBox p,
#stamp_add .popupBox .popup_main .upload .uploadBox p {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #666;
}

#signature_add .popupBox .popup_main .upload .imgView,
#document_upload .popupBox .popup_main .upload .imgView,
#stamp_add .popupBox .popup_main .upload .imgView,
#image_add .popupBox .popup_main .upload .imgView {
  position: relative;
  box-sizing: border-box;
  border: 2px solid var(--second_03);
  border-radius: 5px;
  padding: 2rem;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--second_01);
}

#signature_add .popupBox .popup_main .upload .imgView .file_title,
#stamp_add .popupBox .popup_main .upload .imgView .file_title,
#document_upload .popupBox .popup_main .upload .imgView .file_title,
#image_add .popupBox .popup_main .upload .imgView .file_title {
  font-size: 16px;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: left;
}

#signature_add .popupBox .popup_main .upload .imgView .drop_file_wrap,
#stamp_add .popupBox .popup_main .upload .imgView .drop_file_wrap,
#document_upload .popupBox .popup_main .upload .imgView .drop_file_wrap,
#image_add .popupBox .popup_main .upload .imgView .drop_file_wrap {
  border: 3px dotted #ddd;
  border-radius: 5px;
  padding-bottom: 1.4rem;
  background-color: white;
}

#signature_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop,
#stamp_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop,
#document_upload .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop,
#image_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop {
  text-align: center;
  padding: 2rem 0 0;
  border-radius: 5px;
}

#signature_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > img,
#stamp_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > img,
#document_upload .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > img,
#image_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > img {
  height: 40px;
}

#signature_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > p,
#stamp_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > p,
#document_upload .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > p,
#image_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop > p {
  padding: 1rem;
}

#signature_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment,
#stamp_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment,
#document_upload .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment,
#image_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment {
  position: relative;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#signature_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment span,
#stamp_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment span,
#document_upload .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment span,
#image_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment span {
  position: absolute;
  display: inline-block;
  background-color: white;
  padding: 0 10px;
}
#signature_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment hr,
#stamp_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment hr,
#document_upload .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment hr,
#image_add .popupBox .popup_main .upload .imgView .drop_file_wrap .my_com_file_drop .or_comment hr {
  position: absolute;
  border: none;
  height: 1px;
  width: 40%;
}
#signature_add .popupBox .popup_main .upload .file_desc,
#stamp_add .popupBox .popup_main .upload .file_desc,
#image_add .popupBox .popup_main .upload .file_desc {
  margin: 1rem 0 2rem;
  font-size: 15px;
  text-align: left;
}

#document_upload .popupBox .popup_main .upload .file_desc {
  margin: 1rem 0 0;
  font-size: 15px;
  text-align: left;
}

#signature_add .popupBox .popup_main .upload .controlBox,
#stamp_add .popupBox .popup_main .upload .controlBox,
#image_add .popupBox .popup_main .upload .controlBox {
  overflow: hidden;
  padding: 10px 0;
  text-align: left;
}

#signature_add .popupBox .popup_main .upload .controlBox li,
#stamp_add .popupBox .popup_main .upload .controlBox li,
#image_add .popupBox .popup_main .upload .controlBox li {
  display: inline-block;
  vertical-align: middle;
}

#signature_add .popupBox .popup_main .upload .controlBox li:nth-child(2),
#stamp_add .popupBox .popup_main .upload .controlBox li:nth-child(2),
#image_add .popupBox .popup_main .upload .controlBox li:nth-child(2) {
  padding: 0 35px;
}

#signature_add .popupBox .popup_main .upload .controlBox li p,
#stamp_add .popupBox .popup_main .upload .controlBox li p,
#image_add .popupBox .popup_main .upload .controlBox li p {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #464646;
}

#signature_add .popupBox .popup_main .upload .controlBox li span,
#stamp_add .popupBox .popup_main .upload .controlBox li span,
#image_add .popupBox .popup_main .upload .controlBox li span {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  border-radius: 2px;
  cursor: pointer;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity,
#image_add .popupBox .popup_main .upload .controlBox li .opacity {
  display: inline-block;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  margin-top: 10px;
  width: 190px;
  height: 25px;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-webkit-slider-runnable-track,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-webkit-slider-runnable-track,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-webkit-slider-runnable-track {
  display: inline-block;
  vertical-align: middle;
  outline: none;
  margin-top: -5px;
  border-radius: 5px;
  border: none;
  width: 190px;
  height: 10px;
  background: #ddd;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-webkit-slider-thumb,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-webkit-slider-thumb,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -2px;
  border-radius: 10px;
  width: 30px;
  height: 15px;
  background: #ff7062;
  cursor: pointer;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-moz-range-track,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-moz-range-track,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-moz-range-track {
  display: inline-block;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  border-radius: 5px;
  width: 190px;
  height: 10px;
  background: #ddd;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-moz-range-thumb,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-moz-range-thumb,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #4CAF50;
  cursor: pointer;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-track,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-track,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-track {
  display: inline-block;
  vertical-align: middle;
  border-color: transparent;
  border-width: 10px;
  width: 190px;
  height: 10px;
  color: transparent;
  background: transparent;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-fill-lower,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-fill-lower,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-fill-lower {
  border-radius: 5px;
  background: #ddd;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-fill-upper,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-fill-upper,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-fill-upper {
  border-radius: 5px;
  background: #ddd;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-thumb,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-thumb,
#image_add .popupBox .popup_main .upload .controlBox li .opacity::-ms-thumb {
  border: none;
  border-radius: 10px;
  width: 30px;
  height: 15px;
  background: #ff7062;
  cursor: pointer;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity:focus::-ms-fill-lower,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity:focus::-ms-fill-lower,
#image_add .popupBox .popup_main .upload .controlBox li .opacity:focus::-ms-fill-lower {
  background: #ddd;
}

#signature_add .popupBox .popup_main .upload .controlBox li .opacity:focus::-ms-fill-upper,
#stamp_add .popupBox .popup_main .upload .controlBox li .opacity:focus::-ms-fill-upper,
#image_add .popupBox .popup_main .upload .controlBox li .opacity:focus::-ms-fill-upper {
  background: #ddd;
}

#signature_add .popupBox .popup_main .upload .controlBox li .rotate,
#stamp_add .popupBox .popup_main .upload .controlBox li .rotate,
#image_add .popupBox .popup_main .upload .controlBox li .rotate {
  display: inline-block;
  vertical-align: middle;
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 130px;
  height: 35px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 35px;
  text-align: center;
  color: #555;
  background-color: #f4f4f4;
}

#signature_add .popupBox .popup_main .upload .controlBox li .rotate img,
#stamp_add .popupBox .popup_main .upload .controlBox li .rotate img,
#image_add .popupBox .popup_main .upload .controlBox li .rotate img {
  height: 14px;
  margin-right: 5px;
}

#signature_add .popupBox .popup_main .bottom_btn_flex,
#stamp_add .popupBox .popup_main .bottom_btn_flex,
#document_upload .popupBox .popup_main .bottom_btn_flex,
#image_add .popupBox .popup_main .bottom_btn_flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 0;
}

#signature_add .popupBox .popup_main .submit,
#stamp_add .popupBox .popup_main .submit,
#document_upload .popupBox .popup_main .submit,
#image_add .popupBox .popup_main .submit {
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--violet_P);
  border-radius: 0 0 0 10px;
  width: 100%;
  max-width: 100%;
  height: 50px;
  font-size: 14px;
  color: #fff;
  background-color: var(--violet_P);
}

#signature_add .popupBox .popup_main .submit.xBtn,
#stamp_add .popupBox .popup_main .submit.xBtn,
#document_upload .popupBox .popup_main .submit.xBtn,
#image_add .popupBox .popup_main .submit.xBtn {
  border-right: unset;
  border-radius: 0 0 10px 0;
  background-color: var(--violet_PL);
}

#signature_add .popupBox .popup_main .submit:hover,
#stamp_add .popupBox .popup_main .submit:hover,
#document_upload .popupBox .popup_main .submit:hover,
#image_add .popupBox .popup_main .submit:hover {
  transition: 0.3s;
  background-color: var(--violet_PL);
}


#signature_add .popupBox .popup_main .make .inputArea .selectBox,
#stamp_add .popupBox .popup_main .make .inputArea .selectBox {
  /*display: inline-block;*/
  float: left;
  vertical-align: middle;
  box-sizing: border-box;
  margin-right: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 20%;
  height: 40px;
}

#signature_add .popupBox .popup_main .make .inputArea .selectBox select,
#stamp_add .popupBox .popup_main .make .inputArea .selectBox select {
  display: block;
  box-sizing: border-box;
  border: none;
  padding: 5px 12px;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  font-weight: 500;
  color: #464646;
  background-image: url(../img/icon_select_down_02.png);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-color: transparent;
}

#modal-window {
  z-index: 10001 !important;
}

#signature_add .popupBox .popup_main .tabView .pagination,
#stamp_add .popupBox .popup_main .tabView .pagination {
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 0;
  bottom: 10px;
}
#signature_add .popupBox .popup_main .tabView .pagination button,
#stamp_add .popupBox .popup_main .tabView .pagination button {
  width: 26px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
#signature_add .popupBox .popup_main .tabView .pagination button:focus,
#stamp_add .popupBox .popup_main .tabView .pagination button:focus {
  background-color: var(--white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.content_list_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin-top: 20px;
}

.content_list_wrap .img_wrap {
  border-radius: 6px;
  width: 100%;
  height: auto;
  padding: 12px;
  border: 1px solid var(--second_03);
  display: flex;
  justify-content: center;
}

#stamp_add .img_edit_area,
#document_upload .img_edit_area,
#image_add .img_edit_area {
  display: flex;
  justify-content: space-between;
}

#stamp_add .img_edit_area .img_canvas,
#image_add .img_edit_area .img_canvas {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--second_03);
  width: 408px;
  height: 164px;
}

#stamp_add .img_edit_area .img_edit_btn,
#image_add .img_edit_area .img_edit_btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

#stamp_add .img_edit_area .img_edit_btn > input[type=button],
#image_add .img_edit_area .img_edit_btn > input[type=button] {
  padding: 0;
  width: 120px;
  height: 35px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--second_06);
}

#stamp_add .img_edit_area .img_edit_btn > input[type=button]:focus,
#image_add .img_edit_area .img_edit_btn > input[type=button]:focus {
  border: 1px solid var(--violet_P);
  outline: 3px solid var(--violet_D);
  color: var(--violet_P);
}

.pay_method_pop_contain .pay_method_pop_body.attached_popup {
  height: calc(100% - 68px - 51px) !important;
}

.pay_method_pop_contain .pay_method_pop_body.attached_popup .addsection {
  padding-bottom: 1.5rem;
}

.attached_add_button_content {
  margin: 20px auto;
  width: 100%;
  max-width: calc(100% - 40px);
}

#attachedAddBtn {
  margin: 1.5rem;
  width: 100%;
  max-width: calc(100% - 3rem);
}

#sidebarContainer {
  position: fixed !important;
  top: 58px !important;
  left: calc(100% - 218px) !important;
  z-index: 100000 !important;
}

#thumbnailView {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  height: calc(100vh - 138px) !important;
}

[dir="ltr"] #sidebarContent {
  bottom: 42px !important;
}

.attached_files .popupBox .titleBox {
  background-color: white;
}

.layer_popup.attached_files .popupBox,
.attache_upload_files.attached_files .popupBox {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  width: 450px;
}

.attached_files .popupBox .closebtn,
.attache_upload_files .popupBox .closebtn {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
  cursor: pointer;
}

.attached_files .popupBox::after,
.attache_upload_files .popupBox::after {
  display: none;
  background: unset;
}

.attached_files .popupBox h1.pay_method_tit {
  font-size: 20px;
  text-align: center;
  padding: 2rem 0 12px;
}

#receiver_name_id {
  padding: 20px 20px 0;
  font-size: 14px;
  color: #6e7680;
  font-weight: 600;
  text-align: left;
}

#confirm_btn {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: inherit;
  width: 100%;
  text-align: center;
}

#confirm_btn a {
  display: block;
  color: var(--white);
  padding: 1rem;
  width: 100%;
  background-color: var(--violet_P);
}
.attached_files .popup_main {
  overflow-y: auto;
  padding: 0 !important;
  height: calc(100% - 68px - 51px) !important;
  text-align: left !important;
}

.layer_popup.attached_files .popupBox .popup_main .add_list {
  padding: 0;
}

.layer_popup.attached_files .popupBox .popup_main .add_list .recInfo {
  padding: 1.5rem;
  color: var(--second_06);
}

.layer_popup.attached_files .popupBox .popup_main .add_list .recInfo li {
  font-size: 14px;
  font-weight: 600;
}
.layer_popup.attached_files .popupBox .popup_main .add_list .recInfo:nth-child(even) {
  background-color: var(--white);
}

.layer_popup.attached_files .popupBox .popup_main .add_list .recInfo:nth-child(odd) {
  background-color: #f7f7f7;
}

.layer_popup.attached_files .popupBox .popup_main .add_list li {
  border: unset;
}

.layer_popup.attached_files .popupBox .popup_main .add_list li .list_conts {
  padding: 0;
}

.layer_popup .popupBox h1:not(.pay_method_tit) {
  padding: unset;
  color: var(--second_06);
}

.layer_popup .popup_main ul.input_li li input {
  width: 100%;
  height: 38px;
  margin-top: 10px;
}

#thumbnailView {
  position: relative !important;
  height: fit-content !important;
}

#attachedFilesContent > .section_wrap {
  padding: 1rem;
}

#after section {
  padding: 1rem;
}

#receiver_stamp_upload,
#receiver_sign_upload {
  display: block !important;
}





@media (max-width: 570px) {
  #stamp_add .popupBox,
  #document_upload .popupBox,
  #image_add .popupBox {
    width: 90%;
    left: 5%;
    top: 50%;
    transform: translate(0, -50%);
    min-height: 420px;
    max-height: 70%;
  }

  #signature_add .popupBox{
    width: 90%;
    left: 5%;
    top: 50%;
    transform: translate(0, -50%);
  }

  #signature_add .popupBox .popup_main,
  #stamp_add .popupBox .popup_main,
  #document_upload .popupBox .popup_main,
  #image_add .popupBox .popup_main {
    padding-bottom: 30px;
  }

  #signature_add .popupBox .popup_main .tabBox,
  #stamp_add .popupBox .popup_main .tabBox {
    padding: 0 20px;
  }

  #signature_add .popupBox .popup_main .draw,
  #stamp_add .popupBox .popup_main .draw {
    padding: 20px 20px 0;
  }

  #signature_add .popupBox .popup_main .draw .canvas,
  #stamp_add .popupBox .popup_main .draw .canvas {
    min-height: 150px;
  }

  #signature_add .popupBox .popup_main .make .inputArea,
  #stamp_add .popupBox .popup_main .make .inputArea {
    padding: 20px
  }

  #signature_add .popupBox .popup_main .make .radioBox,
  #stamp_add .popupBox .popup_main .make .radioBox {
    padding: 20px
  }

  #signature_add .popupBox .popup_main .make .radioBox input + label,
  #stamp_add .popupBox .popup_main .make .radioBox input + label {
    background-size: 70%
  }

  #signature_add .popupBox .popup_main .upload,
  #stamp_add .popupBox .popup_main .upload,
  #document_upload .popupBox .popup_main .upload,
  #image_add .popupBox .popup_main .upload {
    padding: 20px 20px 0
  }

  #signature_add .popupBox .popup_main .upload .imgView,
  #stamp_add .popupBox .popup_main .upload .imgView,
  #document_upload .popupBox .popup_main .upload .imgView,
  #image_add .popupBox .popup_main .upload .imgView {
    /*height: 120px;*/
  }

  #signature_add .popupBox .popup_main .upload .imgView img,
  #stamp_add .popupBox .popup_main .upload .imgView img,
  #document_upload .popupBox .popup_main .upload .imgView img,
  #image_add .popupBox .popup_main .upload .imgView img {
    max-width: 90%;
  }

  #signature_add .popupBox .popup_main .upload .controlBox,
  #stamp_add .popupBox .popup_main .upload .controlBox,
  #image_add .popupBox .popup_main .upload .controlBox {
    padding: 20px 0 0
  }

  #signature_add .popupBox .popup_main .upload .controlBox li,
  #stamp_add .popupBox .popup_main .upload .controlBox li,
  #image_add .popupBox .popup_main .upload .controlBox li {
    display: block;
  }

  #signature_add .popupBox .popup_main .upload .controlBox li:nth-child(2),
  #stamp_add .popupBox .popup_main .upload .controlBox li:nth-child(2),
  #image_add .popupBox .popup_main .upload .controlBox li:nth-child(2) {
    padding: 15px 0;
  }

  #signature_add .popupBox .popup_main .upload .controlBox li p,
  #stamp_add .popupBox .popup_main .upload .controlBox li p,
  #image_add .popupBox .popup_main .upload .controlBox li p {
    width: 40px;
  }

  #signature_add .popupBox .popup_main .upload .controlBox li .rotate,
  #stamp_add .popupBox .popup_main .upload .controlBox li .rotate,
  #image_add .popupBox .popup_main .upload .controlBox li .rotate {
    margin-left: 55px;
    width: 110px;
  }
}
.section_wrap.report_add {
  color: #d93838;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section_wrap.report_add textarea {
  background: var(--second_01);
  font-family: pretendard;
  font-size: 15px;
  color: var(--second_06);
  /*height: 100px;*/
}
.section_wrap.report_add button,
.section_wrap.report_add label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section_wrap.report_add .attached_add {
  outline: none;
  font: message-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
}

.attachment_file_name {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.attachment_file_name :nth-of-type(3) div{
  /*color: #d93838;*/
}
.attachment_file_name div {
  display: flex;
  align-items: center;
  gap: 4px;
  /*color: var(--violet_P);*/
}
.attachment_file_name div :first-child {
  display: flex;
  align-items: center;
}
.attachment_file_name div :first-child img {
  width: 18px;
  opacity: 1;
}
.attachment_file_name span {
  display: flex;
  align-items: center;
}
.attachment_file_name span  :last-child img {
  width: 18px;
}
.attachment_file_name span  :last-child img  :last-child {
  opacity: 0.2;
}
.report_add p{
  padding-bottom: 20px;
  padding-top: 20px;
}