/* #### 계약서 미리보기 모달 #### */
.sign_area {
  position: relative;
  display: inline-block;
}

.sign_area .w_signnature {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.sign_area.nm {
  margin-left: 25px;
}

.sign_area img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 300%; */
  /* height: 300%; */
  object-fit: contain;
  /* max-width: 130px; */
  /* max-height: 100px; */
}

.sign_area .w_signnature img {
  width: 300% !important;
  height: 300% !important;
  max-width: 110px !important;
  max-height: 100px !important;
}

.modal_contract .modal__inner {
  overflow-y: hidden;
  height: 85vh;
  padding: 80px 70px 80px 80px;
  width: 100%;
  max-width: 1000px;
}

.modal-contract__wrap {
  height: calc(100% - 72px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}

.contract_review h3.contract_title {
  font-size: 24px;
  font-weight: 500;
  line-height: 33px;
  margin-bottom: 50px;
}

.contract_cnts .cont_div {
  margin-bottom: 32px;
}

.contract_cnts p.co_p {
  font-size: 15px;
  font-weight: 400;
  line-height: 27px;
  color: #3D3D3D;
  word-break: keep-all;
}

.contract_cnts span.co_act {
  display: inline-block;
  padding: 2px 13px;
  background-color: #FFF6DA;
  border: 1px solid #EBE4CB;
  border-radius: 4px;
  text-align: center;
  color: #131313;
}

.contract_cnts h5.cont_md_title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 29px;
}

.contract_cnts .scroll_wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.contract_cnts .scroll_wrap::-webkit-scrollbar {
  height: 5px;
}

.contract_cnts .scroll_wrap::-webkit-scrollbar-thumb {
  height: 30%;
  background: #B6B6B6;
  border-radius: 10px;
}

.contract_cnts .scroll_wrap::-webkit-scrollbar-track {
  background: #DCDCDC;
}

.contract_btns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
}

.contract_btns .btn_cancel {
  background-color: #F1F1F5;
  border: 1px solid #F1F1F5;
  color: #3D3D3D;
  box-shadow: 0 4px 4px rgb(61, 61, 61, 0.1);
}

.contract_date {
  margin-top: 40px;
  text-align: center;
}

.tbl_contract {
  width: 100%;
  vertical-align: middle;
  margin-top: 30px;
  border-collapse: collapse;
}

.tbl_contract.parttime {
  margin-top: 15px;
  margin-bottom: 15px;
}

.tbl_contract th {
  background-color: #FAFAFA;
  height: 45px;
  text-align: center;
  border: 1px solid #eeeeee;
  font-size: 15px;
}

.tbl_contract td {
  border: 1px solid #eeeeee;
  padding: 18px;
  text-align: left;
  font-size: 15px;
}

.tbl_contract td p {
  margin-bottom: 15px;
}

@media screen and (max-width:1000px) {
  .modal_contract .modal__inner {
    padding: 33px 11px;
    max-width: 90%;
  }

  .contract_review {
    height: calc(100% - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
  }

  .contract_review h3.contract_title {
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 28px;
  }

  .contract_cnts .cont_div {
    margin-bottom: 24px;
  }

  .contract_cnts p.co_p {
    font-size: 14px;
    line-height: 27px;
  }

  .contract_cnts span.co_act {
    font-size: 14px;
    padding: 1px 8px;
  }

  .contract_cnts h5.cont_md_title {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 2px;
  }

  .tbl_contract,
  .tbl_contract * {
    word-break: keep-all;
    font-size: 13px;
    line-height: 20px;
  }

  .tbl_contract th {  
    height: 38px;
    font-size: 14px;
  }

  .tbl_contract td {
    padding: 5px;
  }
}