.bg-label {
  background-color: #AAEDE8 !important;
}

.mr-minus2 {
  margin-right: -0.125rem;
}

/* button */
.btn-resize {
  white-space: normal;
  width: 14rem;
}

.btn-sm {
  width: auto;
}

.btn-xxl {
  height: 7rem;
  display: inline-block;
  white-space: normal;
  letter-spacing: -1rem;
}

.btn-xxl h5 span {
  letter-spacing: normal;
}

.btn-xxl:hover  small.text-muted {
  color: #ced4da !important;
}

.btn-xxl small {
  line-height: 1.3;
  letter-spacing: -1rem;
}

.btn-xxl small span {
  letter-spacing: normal;
}

.btn-link {
  width: auto;
  color: #4F70CE;
}

.btn-link:hover {
  color: #3556b4;
}

.btn-link-bar {
  width: auto;
  color: #FFFFFFA0;
}

.btn-link-bar:hover {
  color: #FFFFFFE0;
}

.btn-toggle:not(:disabled):not(.disabled).active, .btn-outline-toggle:not(:disabled):not(.disabled):active, .show>.btn-outline-toggle.dropdown-toggle {
  color: #FFF;
  background-color: #4F70CE;
  border-color: #4F70CE;
}
.btn-toggle {
  color: #BABABA;
  background-color: transparent;
  background-image: none;
  border-color: #4F70CE;
}

input.form-check-input {
  margin-left: -1rem;
}

.removeFile .custom-control-input:checked ~ .custom-control-label::before {
  border-color: #dc3545;
  background-color: #dc3545;
}
.removeFile .custom-control-input:focus ~ .custom-control-label::before {
  border-color: #dc3545;
  -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(255,131,147,10);
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(255,131,147,10);
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: #dc3545; }

.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
  background-color: #dc3545; }

/* table */
.dataTable>table {
  table-layout: fixed;
}

.dataTable>td {
  vertical-align: middle !important;
}

.dataTable>thead>tr>th {
  display: table-cell;
  width: auto;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  flex: 1 1 auto!important;
  padding-top: .5rem !important;
  padding-bottom: .5rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.dataTable>tbody>tr>td {
  display: table-cell;
  width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  max-width: 11rem;
}

.table-fluid {
  margin-left: calc(47.5% - 47.5vw) !important;
  margin-right: calc(47.5% - 47.5vw) !important;
}

/* 更新履歴 */
.sticky-flame {
  display: block;
  max-height: 12.5rem;
  overflow: auto;
}

/* 更新履歴 */
.sticky-table {
  table-layout: fixed;
  margin: 0;
}

/* 更新履歴 */
.sticky-table thead th {
  /* 縦スクロール時に固定する */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  /* tbody内のセルより手前に表示する */
  z-index: 1;
}

/* 文言をテーブルの左詰め */
table.dataTable td.dt-empty {
  text-align: left !important; }

/* datepicker */
.datepicker-days th.dow:first-child,
.datepicker-days td:first-child {
  color: #f00;
}
.datepicker-days th.dow:last-child,
.datepicker-days td:last-child {
  color: #00f;
}
.bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
  background: #c3c3c3 !important;
}

/* datetimepicker */
.datetimepicker-input,.month-input {
  background-color: #fff !important;
}

/* terms */
.terms-content {
  border: solid .06rem #808080;
  width: 100%;
  height: 20rem;
  padding: 1.5em 0.5em;
  overflow: auto;
}

/* fileupload */
.custom-file-input:lang(ja) ~ .custom-file-label::after {
  content: "参照";
}
