/* ------------------------------------------------------ */
/* ############### 1. dshift modal css    ############### */
/* ------------------------------------------------------ */

.test-modal-content {
    height:90vh;
}
.test-modal-body {
    height:40vh;
    overflow-y:scroll;
}

.dshift-modal-content {
    height:90vh;
}
.dshift-modal-body {
    height:40vh;
    overflow-y:scroll;
}

.delete-modal-content .modal-footer-manager-staff .text-delete-type-button {
  color: #fff !important;
  background-color: #dc3545 !important;
  border: 1px solid #dc3545 !important;
  padding: 0.65rem 0.75rem !important;
}
.delete-modal-content .modal-footer-manager-staff .text-delete-type-button:hover {
  background-color: #9d1d2a !important;
  border: 1px solid #9d1d2a !important;
}

.text-type-button {
  color: gray !important;
  border: none !important;
  background-color: #fff !important;
  height: 40px !important;
  padding: 0px 8px !important;
}

.text-close-type-button {
  color: gray !important;
  border: 1px solid gray !important;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem !important;
}

.text-close-type-button:hover {
  color: #fff !important;
  border: 1px solid #fff !important;
  background-color: gray !important;
  padding: 0.65rem 0.75rem !important;
}

.text-type-button-none-outline {
  text-decoration: underline;
  border: 1px solid transparent !important;
}

.text-type-button-none-outline:hover {
  text-decoration: none !important;
  color: #008737 !important;
  background-color: #fff !important;
  border: 1px solid transparent !important;
}

.modal-header-padding-custom {
  padding: 16px 16px 16px 24px !important;
}

.modal-footer-padding-custom {
  padding: 16px 24px !important;
}
.modal-header-manager-staff {
  border-bottom: 1px solid #e9ecef !important;
}
.modal-footer-manager-staff {
  background-color: #fff !important;
  border-bottom-left-radius: .3rem;
  border-bottom-right-radius: .3rem;
}

.modal-footer-manager-staff button {
  border-radius: 3px !important;
}

.modal-footer-manager-staff .btn-save-action {
  background-color: #008737 !important;
  color: #fff !important;
  border: 1px solid #008737 !important;
  border-radius: 3px;
}

.modal-footer-manager-staff .btn-save-action:hover {
  background-color: #1D6E3E !important;
  color: #fff !important;
  border: 1px solid #1D6E3E !important;
  border-radius: 3px;
}

.modal-content {
    height:80vh;
}
.modal-body {
    height:40vh;
    overflow-y:scroll;
}

.modal-header .modal-header-bold-title {
    line-height: 30px;
}
.dshift-modal-dialog-manager-select-notify-timing .modal-content {
  height: 80vh !important;
}

.staff-modal-body-custom {
  overflow-y: hidden !important;
}

.sub-modal-staff-list-custom {
  height: 100% !important;
}

.manager-setting-body-custom {
  overflow-x: hidden;
}

.custom-radio {
  display: flex;
  align-items: center;
}

.custom-radio input[type="radio"] {
  display: none;
}

.custom-radio .checkmark {
  position: relative;
  height: 16px;
  width: 16px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

.custom-radio input[type="radio"]:hover + .checkmark {
  background-color: #b3b3b3;
}

.custom-radio input[type="radio"]:checked + .checkmark {
  background-color: #008737;
}

.custom-radio .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-radio input[type="radio"]:checked + .checkmark:after {
  display: block;
}

.custom-radio .checkmark:after {
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
}

.dshift-modal-manager-staff-custom {
  width: 478px !important;
  height: 139px !important;
  margin-top: calc((100vh - 139px) / 2) !important;
  overflow-y: hidden;
  border-radius: 3px !important;
  -webkit-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dshift-modal-content-manager-staff-custom {
  border: none !important;

}

.dshift-modal-body-manager-staff-custom {
  padding: 24px 24px 0 24px !important;
}

.dshift-modal-footer-manager-staff-custom {
  padding: 0 24px 24px 24px !important;
  border-top: none !important;
}

.dshift-modal-footer-manager-staff-custom .submodal-btn-apply {
  font-weight: bold;
  font-size: 20px !important;
  line-height: 20px;
  color: #fff;
  border: 1px solid #008737;
  border-color: #008737 !important;
  background-color: #008737 !important;
  padding: 0.65rem 0.75rem !important;
  margin: 0 0 0 8px !important;
  pointer-events: auto;
  height: auto !important;
  min-width: 140px !important;
  border-radius: 3px;
  cursor: pointer;
}

.dshift-modal-footer-manager-staff-custom .submodal-btn-apply:hover {
  background-color: #1D6E3E !important;
  color: #fff !important;
  border: 1px solid #1D6E3E !important;
  border-radius: 3px;
}

.dshift-modal-footer-manager-staff-custom .submodal-btn-cancel {
  font-weight: bold;
  font-size: 20px !important;
  line-height: 20px;
  color: #6C757D !important;
  border: 1px solid #6C757D !important;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem !important;
  margin: 0 !important;
  pointer-events: auto;
  height: auto !important;
  min-width: 140px !important;
  border-radius: 3px;
  cursor: pointer;
}

.dshift-modal-footer-manager-staff-custom .submodal-btn-cancel:hover {
  color: #fff !important;
  border: 1px solid #6C757D !important;
  background-color: #6C757D !important;
  padding: 0.65rem 0.75rem !important;
}

.dshift-modal-footer-manager-staff-custom button.submodal-btn-reject {
  font-weight: bold;
  font-size: 20px !important;
  line-height: 20px;
  color: #fff !important;
  border: 1px solid #6C757D !important;
  background-color: #6C757D !important;
  padding: 0.65rem 0.75rem !important;
  margin: 0 0 0 8px !important;
  pointer-events: auto;
  height: auto !important;
  min-width: 140px !important;
  border-radius: 3px;
  cursor: pointer;
}

.dshift-modal-footer-manager-staff-custom button.submodal-btn-reject:hover {
  color: #fff !important;
  border: 1px solid #5A6268 !important;
  background-color: #5A6268 !important;
  padding: 0.65rem 0.75rem !important;
}

.dshift-modal-footer-manager-staff-custom button.submodal-btn-delete {
  font-weight: bold;
  font-size: 20px !important;
  line-height: 20px;
  color: #fff !important;
  border: 1px solid #dc3545 !important;
  background-color: #dc3545 !important;
  padding: 0.65rem 0.75rem !important;
  margin: 0 0 0 8px !important;
  pointer-events: auto;
  height: auto !important;
  min-width: 140px !important;
  border-radius: 3px;
  cursor: pointer;
}

.dshift-modal-footer-manager-staff-custom button.submodal-btn-delete:hover {
  color: #fff !important;
  background-color: #9d1d2a !important;
  border: 1px solid #9d1d2a !important;
  padding: 0.65rem 0.75rem !important;
}

@media (max-width: 540px) {
  .dshift-modal-manager-staff-custom {
    width: auto !important;
  }
  .dshift-modal-dialog-manager-staff-custom {
    margin: 0 !important;
    padding: 0 15px !important;
  }
}

.modal-footer-button-primary-force {
  color: white !important;
  background-color: #008737 !important;
  border-color: #008737 !important;
  opacity: 1 !important;
}

@media screen and (min-width: 470px) {
  .dshift-modal-dialog-manager-select-notify-timing #notify-comment {
    top: 161px;
  }
}

@media screen and (max-width: 469px) {
  .dshift-modal-dialog-manager-select-notify-timing #notify-comment {
    position: absolute;
    margin-top: 10px;
  }
}

@media screen and (max-width: 570px) {
  .dshift-modal-dialog-manager-select-notify-timing #notify-comment {
    left: 124px;
  }
}

@media (max-width: 375px) {
  .dshift-modal-dialog-manager-select-notify-timing #notify-comment {
      margin-top: 33px;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
      margin: 1.75rem auto;
  }
} 

@media (max-height: 500px) {
  .dshift-modal-dialog-manager-select-notify-timing .modal-content {
    margin-top: 0px !important;
  }
}

@media (max-width: 810px) {
  .modal-content-size-custom {
    max-height: 100% !important;
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
  }

  .modal-dialog-size-custom {
    padding:0.5rem !important;
    margin: 0 !important;
    height: 100%;
    max-width: 810px !important;
  }

  .modal-footer-padding-custom {
    display: flex !important;
    flex-direction: column-reverse;
  }

  .notification-modal-footer {
    flex-direction: column !important;
  }

  .modal-footer-padding-custom .btn {
    width: 100% !important;
    margin: 0px 0px 8px 0px !important;
    padding: 0.65rem 0.75rem !important;
  }

  .modal-footer-padding-custom .btn:first-child {
    margin-bottom: 0 !important;
  }

  .r-qr-modal-footer .right-buttons {
    display: flex;
    flex-direction: column-reverse;
  }

  .r-qr-modal-footer .right-buttons a {
    margin: 0px 0px 8px 0px !important;
  }

  .pdf-guide-close-button {
    padding: 0 !important;
    margin-left: 0 !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
 
  #dshift-modal-manager-help-detail-sub-modal-staff {
    padding: 0 !important;
  }

  #managerAutoshiftfixedModal, #new_message ,#managerTimetableModal{
    height:100%;
  }
}

@media (min-width: 811px) {
  .modal-footer-padding-custom .btn {
    margin-left: 8px !important;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
  }

  .modal-footer-padding-custom .btn {
    min-width: 140px !important;
  }

  .modal-footer-padding-custom .btn:first-child {
    margin-left: 0 !important;
    margin-left: 0;
  }

  .r-qr-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .r-qr-modal-footer .left-buttons {
    display: flex;
    align-items: center;
  }

  .r-qr-modal-footer .right-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .r-qr-modal-footer .right-buttons a {
    margin-left: 8px;
  }

  .modal-footer-manager-staff button {
    width: auto !important;
    min-width: 140px !important;
  }
}

@media (min-width: 992px) {
  .modal-lg, .modal-xl {
    max-width: 800px; } }

@media (min-width: 1200px) {
  .modal-xl {
    max-width:1140px; } }

    body {
      margin: 0;
      font-family: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
      font-size: 1.0rem;
      font-weight: 400;
      line-height: 1.5;
      color: #212529;
      text-align: left;
      background-color: #E9ECEF; }


      a {
        color: #008737;
        text-decoration: none;
        background-color: transparent;
        -webkit-text-decoration-skip: objects; }
        a:hover {
          color: #1D6E3E;
          text-decoration: none; }
