
/* The Modal (background) */
.mymodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 150px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.mymodal-content {
  position: relative;
  background-color:var(--tblr-bg-forms);
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 5px;

}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 10px;
  font-weight: bold;
  border-style: solid;
  border-color: red;
  background-color: red;
  text-align: center;
  width:20px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.mymodal-header {
  padding: 2px 5px;
  background-color: #000D42;
  color: white;
  border-radius: 5px 5px 0px 0px;
}

.mymodal-body {padding: 2px 5px;
color: #000;
}

.mymodal-footer {
  padding: 2px 5px;
  background-color: #000D42;
  color: white;
  border-radius: 0px 0px 5px 5px;
}

    .tablemodalFixHead {
        overflow-y: auto; 
        height: 300px; 
    }
    .tablemodalFixHead thead th {
        position: sticky;
        top: 0px; 
    }
    .tablemodal {
        border-collapse: collapse;
        width: 100%;
        color:var(--tblr-body-color);
    }
    .tablemodal th,
    .tablemodal td {
        padding: 5px 5px;
        border: 1px solid #ccc;
    }
    .tablemodal  th {
        background:var(--tblr-bg-forms);
    }