/* SweetAlert IE10에서 오류 수정 */
.swal-overlay { z-index: -1; }
.swal-overlay--show-modal { z-index: 10000 !important;}

/* select2 validation 추가 */
.was-validated .select2:invalid + .select2 .select2-selection,.was-validated .is-invalid + .select2 .select2-selection {
  border-color: #dc3545;
  padding-right: 3rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.was-validated .select2:valid + .select2 .select2-selection,.was-validated .is-valid + .select2 .select2-selection {
  border-color: #28a745;
  padding-right: 3rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.was-validated .select2:invalid + .select2 .select2-selection__placeholder,.was-validated .is-invalid + .select2 .select2-selection__placeholder {
  color: #dc3545;
}
/* select2 multiple 에서 placeholder를 나타나게 하기 위함 */
.select2 input.select2-search__field {
  width: 100% !important;
}
.was-validated .select2:invalid + .select2 .select2-selection--multiple input::placeholder,.was-validated .is-invalid + .select2 .select2-selection--multiple input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #dc3545;
  padding-left: 10px;
  opacity: 1; /* Firefox */
}
.was-validated .select2:invalid + .select2 .select2-selection--multiple input:-ms-input-placeholder,.was-validated .is-invalid + .select2 .select2-selection--multiple input:-ms-input-placeholder {
  color: #dc3545;
}
.was-validated .select2:invalid + .select2 .select2-selection--multiple input::-ms-input-placeholder,.was-validated .is-invalid + .select2 .select2-selection--multiple input::-ms-input-placeholder {
  color: #dc3545;
}
.was-validated .select2:invalid + .select2 .select2-search__field,.was-validated .is-invalid + .select2 .select2-search__field::placeholder {
  color: #dc3545;
}
.select2 .select2-selection--multiple input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999;
  padding-left: 10px;
  opacity: 1; /* Firefox */
}
.select2 .select2-selection--multiple input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #999;
}
.select2 .select2-selection--multiple input::-ms-input-placeholder { /* Microsoft Edge */
  color: #999;
}

/* home page item */
.card .card-stats .item2 {
  width: 50% !important;
}
.card .card-stats .item4 {
  width: 25% !important;
}
.card .card-stats .item5 {
  width: 20% !important;
}

/* table의 버튼 */
table th.table-btn, table td.table-btn {
  min-width: 80px !important;
  padding: 0px !important;
  text-align:center !important;
}

.readonly {
  background-color: #e9ecef;
  opacity: 1;
}