
body {
    overflow: scroll;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin: 0;

}

h1 {
  margin-bottom: 0; /* Removes the margin at the bottom */
  line-height: 1; /* Decreases the line height */
  padding-bottom: 0; /* Removes the padding at the bottom */
  font-size: 22px;
}

#maintable {
  font-family: inherit;
  border-collapse: collapse;
  margin-left:auto; 
  margin-right:auto;
  text-align: left;
  width: 50%;
  word-wrap: break-word;
}

#maintable td, #maintable th {
  border: 1px solid #ddd;
  /*border-color: #ddd;*/
  padding: 8px;
  border-radius: 5px;
 
}

textarea {
    width: 100%;
    font-family: inherit;
    font-size: 16px;
}

@media (max-width: 480px) {
  /* Adjust table for screens smaller than 480px */
  #maintable td, #maintable th, #maintableSidebar td, #maintableSidebar th {
    font-size: 16px;
    padding: 5px;
  }
  
    #maintableSidebar td, #maintableSidebar th {
    font-size: 16px;
    padding: 2px;
  }
  
  #maintable, #maintableSidebar, #footertable {
      width: 100%;
      max-width: 100%;
  }
  
  textarea {
    width: 100%;
    max-width: 100%;
}

}

#maintable tr:nth-child(even){background-color: #edfced;}

#maintable tr:hover {background-color: #d3f8d3;}

#maintable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  font-family: inherit;
  background-color: #04AA6D;
  color: white;
}

#maintableSidebar {
  font-family: inherit;
  border-collapse: collapse;
  margin-left:auto; 
  margin-right:auto;
  text-align: left;
  width: 70%;
  top: 0;
  word-wrap: break-word;
}

#maintableSidebar td, #maintableSidebar th {
  border: 0;
  padding: 8px;
  border-radius: 5px;
}
#maintableSidebar th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  font-family: inherit;
  background-color: #04AA6D;
  color: white;
}
 /*
#maintableSidebar td {
  padding: 8px 16px; 
  Add other styles for table cells as needed 
}*/

#footertable {
  font-family: inherit;
  border-collapse: collapse;
  width: 50%;
}

#footertable {
  margin-left:auto; 
  margin-right:auto;
}

#footertable th {
  padding-top: 10px;
  padding-bottom: 2px;
  background-color: #04AA6D;
  color: white;
  text-align: right;
  font-size: 10px;
   height: 35px;
   border-radius: 5px;
}

select.mainSelect{
    background: #20d492;
    color: #fff;
    padding: 0 10px;
    font-size: 16px;
    border-radius: 5px;
}
select.mainSelect option{
	color: #000;
    padding: 0 10px;
    border-radius: 5px;
    background: #50C878;
}

.button {
  background: #20d492;
  color: white;
  padding: 2px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border: 1px solid black;
  transition-duration: 0.4s;
  border-radius: 5px;
}

.button:hover {
  background-color: #04AA6D;
  color: white;
}

.mylink:link, .mylink:visited {
  background-color: #20d492;
  font-size: 16px;
  color: white;
  padding: 2px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  border: 1px solid black;
  transition-duration: 0.4s;
  max-width: 80%;
}

.mylink:hover, .mylink:active {
  background-color: #04AA6D;
}


.site-content {
    margin-top: 0;
    padding-top: 0;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: inherit;
  padding: 2px 4px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #04AA6D; /*#4CAF50;*/
  color: white;
  border-radius: 5px;
}

.pagination a:hover:not(.active) {
  background-color: #d3f8d3;
  border-radius: 5px;
}

.pagination span {
  float: inherit;
  padding: 2px 4px;
  text-decoration: none;
  background-color: #04AA6D; /*#4CAF50;*/
  color: white;
  border-radius: 5px;
}


img {
    border-radius: 5px;
}
input[type="text"] {
  border-radius: 5px;
}

input[type="file"] {
  border-radius: 5px;
}

input[type="checkbox"] {
  border-radius: 10px;
}

#tooltip {
    position: absolute;
    display: none;
    background-color: #04AA6D;
    color: white;
    border: 1px solid black;
    border-radius: 5px;
    opacity: 0.85;
}

#tooltip a {
  color: white;
}

.sidebar {
    left: 40px;
    top: 107px;
    position: absolute;
    width: 80%;
    height: 130%;
    margin: 5px;
    border: 1px solid #ddd;
    z-index: 9000;
    border-radius: 5px;
    display: none;
    background-color: #edfced;
    padding: 10 0;
    
}

@media screen and (max-width: 767px) {
  .sidebar {
    display: none;
  }
}
.keyboard-container {
    position: absolute;
    display: none;
    background-color: #04AA6D;;
    color: white;
    border: 1px solid black;
    border-radius: 5px;
    opacity: 0.85;
    z-index: 9001;
    left: 230px;
    top: 670px;
}

.table-container {
  display: block; /* or display: block; depending on your layout needs */
  max-height: none; /* or any desired maximum height */
  min-height: 433px; /* or any desired minimum height */
  width: auto; /* this is the default value, but setting it explicitly won't hurt */
}
