html, body {
    height: 99%;
    margin: 0;
    padding: 0;
}

#container {
    width: 100%;
    min-width: 800px; /* same min-width as the main website */
    height: 100%;
}

#demo {
    height: 100%;
}

h2 {
    margin: 5px 0 8px 0;
    padding: 3px 6px;
    font-family: Calibri, Arial, sans-serif;
    color: #fff;
    background-color: #005480;
    font-size: 1.5em;
}

h3 {
    margin: 5px 0 8px 0;
    padding: 3px 6px;
    font-family: Calibri, Arial, sans-serif;
    color: #513770;
    font-size: 1em;
}

h3 a {
    color: #005480;
    text-decoration: underline;
}

td {
    font-size: 1em;
    font-family: Calibri, Arial, sans-serif;
    color: #513770;
}

a {
    color: #005480;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

legend {
    font-family: Calibri, Arial, sans-serif;
    font-size: 1em;
    color: #513770;
}

#divCUSIP, #divBond, #divInsType {
    position: absolute;
    padding: 6px 2px 2px 6px;
    color: #FFF;
    background-color: #005480;
    font-size: 0.9em;
    /* #divInsType has special width */
    width: 398px;
    border-radius: 5px;
    border-width: 1px; 
    text-align: left;
    font-family: Calibri, Arial, sans-serif;
}

#floater {
    float: left; 
    height: 75%;
}

#top {
    float: right; 
    width: 100%; 
    text-align: center;
}

#content {
    clear: both; 
    position: relative;
}

#divDisclaimer {
    width: 85%;
    min-width: 660px;
    max-width: 1200px;
    margin: auto;
    height: 85%;
    background-color: #cccccc;
    padding: 30px 5px 20px 5px;
}

#divDisclaimerTable {
    width: 90%; 
    overflow: auto;
    height: 90%;
    margin: auto;
    background-color: #ffffff;
}

.generalButton {
    border-radius: 5px;
    color: #fff;
    background-color: #005480;
    height: 25px;
    cursor: pointer;
}

.generalButton1 {
    border-radius: 5px;
    color: #005480;
    background-color: #fff;
    cursor: pointer;
}

.sectionHeader {
    border: 1pt solid #dddddd;
    background-color: #dddddd;
    padding: 2px 5px;
}

/* Updated DataTables stylesheet */

/* Target both .dataTable and table.display for safety */
table.dataTable thead th,
table.display thead th {
    background-color: #cccccc;
    background-image: none;
    font-size: 1em;
    font-family: Calibri, Arial, sans-serif;
    color: #513770;
    padding: 3px 0 3px 10px;
    cursor: default;
    text-align: left;
}
table.dataTable tbody tr.even {
  background-color: pink;
}

table.dataTable tbody tr.odd {
  background-color: lightblue;
}

table.dataTable thead tr th {
    padding: 5px;
}

table.dataTable td.right,
table.display td.right {
    text-align: right;
    padding-right: 0px;
}

/* Processing indicator */
.dataTables_processing {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 30px;
    margin-left: 0;
}

/* Length control */
.dataTables_length {
    width: 30%;
    float: right;
}

/* Table info */
.dataTables_info {
    width: 30%;
}

/* Pagination */
.dataTables_paginate {
    padding-top: 0;
}

/* Empty message */
.dataTables_empty {
    color: #005480;
}

/* Header/Footer for custom table */
#myDataTableHeader td {
    border: 1px solid #B0B4B5;
    background-color: #B0B4B5;
}

.top, .bottom {
    padding: 3px 5px 2px 5px;
    background-color: #B0B4B5;
    border: 1px solid #B0B4B5;
    font-family: Calibri, Arial, sans-serif;
    color: #513770;
}

.top {
    padding-top: 1px;
    font-size: 90%;
}

.bottom {
    padding-bottom: 20px;
    font-size: 90%;
}

/* Table body font size */
#myDataTable tbody td {
    font-size: 90%;
    padding-top: 0;
    padding-bottom: 0;
}
table.dataTable>tbody>tr>th, table.dataTable>tbody>tr>td {
    padding: 2px 5px;
}

table.dataTable tbody tr {
    min-height: 40px;
    height: 40px;  /* Adjust row height as per your need */
}

/* Arrange length menu and pagination on one line */
.dataTables_wrapper .top {
    display: flex;
    justify-content: space-between; /* left/right alignment */
    align-items: center;
    flex-wrap: nowrap; /* prevent moving to 2nd line */
}

div.dataTables_wrapper .top-controls > div {
    float: none !important;
    width: auto !important;
    margin: 0 5px;
}
div.dataTables_wrapper .bottom-controls > * {
  margin: 0 10px;
}

.dt-length, .dt-info, .dt-paging {
  white-space: nowrap;
}
.bottom-controls , .top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;       /* Prevent wrapping */
  gap: 1rem;                /* Optional: spacing */
  font-size: 15px;
  border: 1px solid #B0B4B5;
  background-color: #B0B4B5;
  font-family: Calibri, Arial, sans-serif;
  color: #513770;
}

.bottom-controls > div {
  white-space: nowrap;     /* Prevent text from wrapping inside */
  display: flex;           /* Make internal items inline if needed */
  align-items: center;
}

.top-controls > div {
  white-space: nowrap;     /* Prevent text from wrapping inside */
  display: flex;           /* Make internal items inline if needed */
  align-items: center;
}
.dt-length,
.dt-info,
.dt-paging {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

table.dataTable tbody tr {
    height: 25px;
}

div.dt-container select.dt-input {
  background-color: #f0f0f0; /* Background inside the dropdown */
  color: #513770;            /* Text color */
  border: 1px solid #ccc;  /* Optional: border styling */
  padding: 4px 8px;        /* Optional: more compact spacing */
  border-radius: 4px;      /* Optional: rounded corners */
  font-size: 15px;
  font-family: Calibri, Arial, sans-serif;
  
}