input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    width: unset;
    border-radius: unset;
    padding: unset;
    transition: unset;
}
table td, table th {
    padding: unset;
    line-height: unset;
    vertical-align: unset;
    border: 1px solid hsla(0, 0%, 50.2%, .5019607843);
}
#engines,#equipment{
    margin-bottom: 14px;
}
.container{
    width: 80%;
    margin: auto;
}
input,select{
    border-radius: 5px !important;
    padding: 8px 3px !important;
}
select{
    width: 194px !important;
    display: inline-block !important;
}
.p1ii label{
    width: 140px;
    display: inline-block;
    text-align: end;
}
.inlineblocky{
    display: inline-block;
}
.checkybox{
    text-align: left;
}
.p1ii{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}
.p1iiv{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}
.twoply{
    display: flex;
    justify-content: space-evenly;
    width: 286px;
}
.twoply div:nth-child(1){
    margin-right: 10px;
    align-content: center;
}
.twoply div:nth-child(2){
    margin-left: 10px;
    align-content: center;
}
.p1h{
    display:Flex;
    align-items:center;
}
.p1ii div:nth-child(3),.p1ii div:nth-child(4){
    align-content:center;
}
.secthead{
    font-size: larger;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}
hr {
    margin: 30px 0px;
}
textarea{
    width: 90%;
    border-radius: 5px;
    padding: 4px 10px;
    height: 80px;
}
#export:disabled:hover,
#export:disabled,
#deleteButton:disabled:hover,
#deleteButton:disabled,
#editButton:disabled:hover,
#editButton:disabled {
  background-color: #d3d3d3;
  color: #6c757d;
  border-color: #ccc;
}
.table-container {
    height: 300px; /* Set a fixed height for the container */
    overflow-y: auto; /* Enable vertical scrolling when content exceeds */
    border: 1px solid black; /* Optional: Border for the container */
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

/* Table header should always stay fixed at the top */
thead {
    background-color: #f2f2f2; /* Optional: Background color */
    position: sticky;
    top: 0; /* Stick it to the top */
    z-index: 1; /* Make sure the header stays on top of the body content */
}

thead th {
    padding: 10px;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #ddd;
    width: 20%;
}
.smaller{
    font-size: 12px;
    text-align: left;
}

td, th {
    padding: 4px !important;
    border: 1px solid #ddd; /* Optional: Border around cells */
    text-align: left;
    font-weight: bold;
}

.boldy{
    font-weight: bold;
}

.midbut{
    margin:0px 10px;
}
.p1h button{
    padding:6px 20px;
    font-size: medium;
}
.p1h input{
    padding:6px 20px;
    font-size: medium;
}

tbody tr:nth-child(odd) {
    background-color: #f0f8ff; /* Very light blue (Alice Blue) */
}

/* Style for the row when hovering */
.clickable-row:hover,.clickable-rowy:hover {
    background-color: #f1f1f1; /* Light gray background on hover */
    cursor: pointer;
}

/* Style for the row when clicked */
.clickable-row.highlight,.clickable-rowy.highlight {
    background-color: #a5d6a7; /* Light green background when clicked */
}

/* Modal background */
.modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
}

/* Modal content box */
.modal-content {
background-color: #fff;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 500px;
}

/* Close button (X) */
.close {
color: #aaa;
font-size: 28px;
font-weight: bold;
position: absolute;
right: 10px;
top: 0;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

/* Loading animation */
#loading-spinner {
display: none; /* Initially hidden */
width: 50px;
height: 50px;
border: 5px solid #f3f3f3; /* Light gray */
border-top: 5px solid #3498db; /* Blue */
border-radius: 50%;
animation: spin 1s linear infinite;
margin: auto;
}
.reqstar{
color:red;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/*------*/

@media only screen and (max-width: 760px){
    .p1ii{
        flex-direction: column;
    }
}