.sweet-alert input:focus {
  border-color: #008737;
  outline: none;
}

.sweet-alert button {
  background-color: #008737 !important;
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 500;
  min-width: 130px;
  border-radius: 3px;
  cursor: pointer;
}

.sweet-alert .sa-button-container {
  margin: 24px 0 0 0 !important;
}

.btn-outline-primary{
  border-color: #008737;
  background-color: #fff;
  color: #008737;
}

.sweet-shift-modal-add-frame img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.sweet-shift-modal-add-frame {
  margin-top: -180px !important;
}

/* sweet-modal confirm 削除パターン */
.two-choice-delete-btn button.confirm {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
  border: 1px solid #6C757D;
  background-color: #6C757D !important;
  padding: 0.65rem 0.75rem;
  pointer-events: auto;
}

.two-choice-delete-btn button.cancel {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #6C757D;
  border: 1px solid #6C757D;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem;
}

.two-choice-delete-btn h2 {
  margin: 0 !important;
}

.two-choice-delete-btn p {
  text-align: left !important;
}

.two-choice-remove-btn button.confirm {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
  border: 1px solid #DC3545;
  background-color: #DC3545 !important;
  padding: 0.65rem 0.75rem;
  pointer-events: auto;
}

.two-choice-remove-btn button.cancel {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #6C757D;
  border: 1px solid #6C757D;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem;
}

.two-choice-remove-btn h2 {
  margin: 0 !important;
}

.two-choice-remove-btn p {
  text-align: left !important;
}

/* sweet-modal confirm 保存・確定パターン */
.two-choice-save-btn  button.confirm {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
  border: 1px solid #008737;
  background-color: #008737 !important;
  padding: 0.65rem 0.75rem;
  pointer-events: auto;
}

.sweet-alert.two-choice-save-btn .sa-button-container button.cancel {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #6C757D !important;
  border: 1px solid #6C757D;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem;
}

.two-choice-save-btn h2 {
  margin: 0 !important;
}

.two-choice-save-btn p {
  text-align: left !important;
}

/* sweet-modal ２択の選択肢 */
.sweet-alert-two-factor-select_shift-detail-save-confirm button {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  padding: 0.65rem 0.75rem;
}

.sweet-alert-two-factor-select_shift-detail-save-confirm .sa-button-container {
  display: flex;
}

.sweet-alert-two-factor-select_shift-detail-save-confirm .sa-confirm-button-container {
  flex: 1;
  max-width: calc(50% - 4px);
}

.sweet-alert-two-factor-select_shift-detail-save-confirm .confirm {
  width: 100%;
}

.sweet-alert-two-factor-select_shift-detail-save-confirm .cancel {
  width: 100%;
  max-width: calc(50% - 4px);
  margin-right: 8px;
  flex: 1;
}

.sweet-alert-two-factor-select_shift-detail-save-confirm h2 {
  margin: 0 !important;
}

.sweet-alert-two-factor-select_shift-detail-save-confirm p{
  text-align: left;
}

#sweet-alert-notify-comment {
  max-width: calc(50% - 4px);
  text-align: center;
  margin-top: 3px;
}

/* sweet-modal successパターン */
.success-confirm-button button.confirm {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #6C757D;
  border: 1px solid #6C757D;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem;
}

/* sweet-modal successパターン */
.error-confirm-button button.confirm {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #6C757D;
  border: 1px solid #6C757D;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem;
}

/* sweet-modal successパターン */
.error-custom-button button.confirm {
  font-weight: bold;
  font-size: 20px;
  line-height: 20px;
  color: #6C757D;
  border: 1px solid #6C757D;
  background-color: #fff !important;
  padding: 0.65rem 0.75rem;
}

/* 並列ボタン折り返し時の余白 */
@media screen and (max-width: 481.5px) {
  .sp-success-confirm-button button.confirm {
    margin-top: 20px;
  }
}

/* sweet-modal button-size-fix*/
.sweet-alert-change-desided-shift .sa-button-container {
  display: block;
}

.sweet-alert-change-desided-shift .cancel {
  width: auto;
}
/* hover */
@media (hover: hover) and (pointer: fine) {
  .sweet-alert.two-choice-save-btn .sa-button-container button.cancel:hover {
    color: #fff !important;
    background-color: #6C757D !important;
  }
  
  .two-choice-save-btn button.confirm:hover {
    background-color: #1D6E3E !important;
  }
  
  .two-choice-save-btn button.cancel:hover {
    background-color: #6C757D !important;
    color: #fff;
  }

  .two-choice-delete-btn button.confirm:hover {
    background-color: #5A6268 !important;
  }
  
  .two-choice-delete-btn button.cancel:hover {
    background-color: #6C757D !important;
    color: #fff;
  }

  .two-choice-remove-btn button.confirm:hover {
    background-color: #C42E3C !important;
  }
  
  .two-choice-remove-btn button.cancel:hover {
    background-color: #6C757D !important;
    color: #fff;
  }

  .error-confirm-button button.confirm:hover {
    background-color: #6C757D !important;
    color: #fff;
  }

  .error-custom-button button.confirm:hover {
    background-color: #6C757D !important;
    color: #fff;
  }
  
  .success-confirm-button button.confirm:hover {
    background-color: #6C757D !important;
    color: #fff;
  }

  .sweet-alert-two-factor-select_shift-detail-save-confirm .sa-button-container button:hover {
    background-color: #1D6E3E !important;
  }
}

/* active */
.sweet-alert.two-choice-save-btn .sa-button-container button.cancel:active {
  color: #fff !important;
  background-color: #6C757D !important;
}

.two-choice-save-btn button.confirm:active {
  background-color: #006328 !important;
}

.two-choice-save-btn button.cancel:active {
  background-color: #6C757D !important;
  color: #fff;
}

.two-choice-delete-btn button.confirm:active {
  background-color: #5A6268 !important;
}

.two-choice-delete-btn button.cancel:active {
  background-color: #6C757D !important;
  color: #fff;
}

.two-choice-delete-btn button.confirm:active {
  background-color: #C42E3C !important;
}

.two-choice-delete-btn button.cancel:active {
  background-color: #6C757D !important;
  color: #fff;
}

.error-confirm-button button.confirm:active {
  background-color: #6C757D !important;
  color: #fff;
}

.error-custom-button button.confirm:active {
  background-color: #6C757D !important;
  color: #fff;
}

.success-confirm-button button.confirm:active {
  background-color: #6C757D !important;
  color: #fff;
}

.sweet-alert-two-factor-select_shift-detail-save-confirm .sa-button-container button:active {
  background-color: #006328 !important;
}