.modalDialogCustom {
  margin-top: 2% !important;
  margin-bottom: auto !important;
  transform: none !important;
  top: 0 !important;
}

@media only screen and (max-width: 767px) {
  .modalDialogCustom {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.modalHeader {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

@media only screen and (max-width: 767px) {
  .modalHeader {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
}

.modalTitle {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 0;
  line-height: 1.5;
}

.modalBody {
  background-color: var(--bg-body);
  color: var(--text-body);
  padding: 10px;
  max-height: calc(98vh - 50px);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  flex: 1 1 auto;
}

@media only screen and (max-width: 767px) {
  .modalBody {
    max-height: calc(50vh - 60px);
    padding: 0.5rem;
    overflow-y: auto;
  }
}

.table-responsive-exposure-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-exposure-table {
  background-color: none;
  color: var(--text-table, #212529);
  margin-bottom: 0;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.table-exposure-table thead {
  background-color: none;
}

.table-exposure-table thead th {
  background-color: none;
  padding: 5px;
  font-size: 16px;
  white-space: nowrap;
  vertical-align: middle;
  font-weight: 600;
  border:0 !important;
}

.table-exposure-table tbody {
  background-color: none;
}

.table-exposure-table tbody td {
  background-color: var(--bg-table, #ffffff);
  padding: 5px;
  font-size: 16px;
  white-space: nowrap;
  vertical-align: middle;
  border-bottom: 1px solid #dee2e6 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-top: 1px solid #dee2e6 !important;
}

.table-exposure-table td,
.table-exposure-table th {
  /* border: 1px solid #dee2e6 !important; */
}

.table-exposure-table a {
  color: #0d6efd;
  text-decoration: underline;
}

.table-exposure-table a:hover {
  text-decoration: none;
}
