/* display-csv.css */
/* MBaggett; baggett.michael@gmail.com */

html {
    background-color: #2d2d2d;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: white;
  }

body {
    padding-bottom: 2rem;
}

.welcome h1 {
    margin: 2rem 0 1.5rem 0;
  }
  
  ul {
    margin-bottom: 2rem;
  }

  a.btn {
    color: white;
    background-color: #336699;
    padding: 0 .2rem;
    border-radius: 4px;
    border: 1px solid white;
    text-decoration: none;
  }
  a.btn:hover {
    color: white;
    background-color: #336699;
  }

  a.btn:active {
    color: orange;
    background-color: red;
  }

  a {
    color: #F4D03F;
  }
  
  a:hover {
    color: #5DADE2;
  }
  
  a:active {
    color: red;
  }
  
  pre {
    width: fit-content;
    background: black;
    padding: 1rem;
    box-shadow: white 0 0 2px 2px;
    border-radius: 4px;
  }
  
  .body-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 1.5rem 0 1.5em 0!important;
    padding: 0;
  }

  #csvTable, #csvTableAlt1 {
    width: 90%; /* Allow the table to adjust based on content */
    max-width: 100%; /* Ensure the table does not exceed the container width */
    margin: 0 0 1rem 0;
    border-collapse: collapse;
    table-layout: auto; /* Explicitly allow automatic table layout */
}

.table-container {
    overflow-x: auto;
/*    max-width: 100%;
    border-radius: 4px;
    border: 1px solid white;  */
}

.table-container a {
 text-decoration: none!important;
}

.table-container a:link {
 color: white;
 background-color: #336699;
 padding: .2rem;
 border-radius: 4px;
}

.table-container a:hover {
 color: white;
 background-color: #00A9E0;
 padding: .2rem;
}

.table-container a:active {
 color: orange;
 background-color: red;
 padding: .2rem;
}

th {
    background-color: #336699;
    color: white;
   }

tr:nth-child(even) {
    background-color: lightgray;
    color: black;
}

tr:nth-child(odd) {
    background-color: white;
    color: 
    
    black;
}

td, th {
  padding: .5rem; /* Keep your padding */
  text-align: left; /* Align text to the left */
  white-space: nowrap; /* Prevent text from wrapping */
}

p {
  margin: 1rem 0 1.5rem 0;
}