html {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9; /* #f2f2f2 */
    margin: 0;
}

.menu {
    background-color: white;
    display: flex;
    margin: 0 auto;
    padding: 10px 0px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    position: relative; /* static/relative/absolute/fixed/sticky */
    /*    bottom: 0;  bottom/top/left/right */
}
.menuPart {
    margin-left: 5%;
    display: flex;
    align-items: flex-end;
}
nav {
    margin: 0px;
    padding: 0px;
}

nav ul {
    list-style-type: none;
    display: flex;
    padding: 10px 0px;
/*    color: black; */
}

nav li {
    position: relative;
    text-align: center;
    font-family: arial, sans-serif;
    font-weight: bold;
    display: block;
}
nav li:nth-child(1) {
    background-color: #0091b3; /*lightgrey*/
    border-color: #0091b3;
    border-style: outset; /* groove/ridge/inset/outset */
/*    border-width: 2px; */
    border-radius: 10px;
    /*margin: 1%;
width: 170px; */
}
nav li:nth-child(2) {
    background-color: #d31b9a;
    border-color: #d31b9a;
    border-style: outset; /* groove/ridge/inset/outset */
    /*    border-width: 2px; */
    border-radius: 10px;
    /*margin: 1%;
width: 170px; */
}
nav li:nth-child(3) {
    background-color: #6abf4b; /* rgba(255, 227, 7,1) */
    border-color: #6abf4b;
    border-style: outset; /* groove/ridge/inset/outset */
    /*    border-width: 2px; */
    border-radius: 10px;
    /*margin: 1%;
width: 170px; */
}
nav li:nth-child(4) {
    background-color: rgba(255, 227, 7,1);
    border-color: rgba(255, 227, 7,1);
    border-style: outset; /* groove/ridge/inset/outset */
    /*    border-width: 2px; */
    border-radius: 10px;
    /*margin: 1%;
width: 170px; */
}
nav li:nth-child(1) a {
    color: white;
}
nav li:nth-child(2) a {
    color: white;
}
nav li:nth-child(3) a {
    color: white;
}
nav li:nth-child(4) a {
    color: darkmagenta;
}
nav a {
    text-decoration: none;
    display: block;
    padding: 10px;
    /* color: black; */
    /*    background-color: yellow; */
}

#form, #loginForm{
    text-align: center;
}

.input::placeholder{
    color: #d6d6d6;
}

#mandatory{
    color: red;
}

.input{
    margin: 10px;
    font-family: Arial, sans-serif;
    border-radius: 5px;
}

#getUsers input[type="text"], #getUsers input[type="password"]{
    width: 200px;
    display: inline-block;
}

#updateForm input[type="text"]{
    width: 100px;
    display: inline-block;
}
#comments{
    display: inline-block;
}

#loginForm input[type="text"], input[type="password"]{
    width: 200px;
    display: inline-block;
}
#loginButton{
    width: 100px;
    height: 30px;
}
#updateForm .whole input[type="text"]{
    width: 200px;
    display: inline-block;
}

#updateForm .align label{
    display: inline-block;
    width: 180px;
    text-align: left;
    clear: left;
}

#updateForm .whole label{
    display: inline-block;
    width: 50px;
    text-align: left;
    clear: left;
}
#updateForm .bottom-form label {
    display: inline-block;
    width: 150px;
    text-align: left;
    clear: left;
}

#updateForm .align{
    display: flex;
    justify-content:center;
    align-items: baseline;
    margin-bottom: 0;
    margin-top: 0;
}
.left{
    margin-right: 1%;
}
#form{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2%;
    width: 100%;
}
.input1, .input2, .input3, .input4 {
    margin: 1%;
    padding: 1%;
    border-style: groove; /* groove/ridge/inset/outset */
/*    border-width: 2px; */
    border-radius: 10px;
    background-color: lightgrey;
    /*  border-inline: 2px solid grey; */
    /*  border-block: 3px solid grey; */
}

div.whole, .bottom-form{
    clear: both;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.input:hover{
    background-color: #f2f2f2;
}

#output {
    display: flex;
    justify-content: start;
    align-items: center;
    table-layout: fixed;
    width: 100%;
/*  margin-bottom: 50px;
    width: 100%; 
    height: 100%; 
    overflow: auto; */
}

/*Add a fixed width to the table */
table {
    width: 100%;
    /*border-collapse: collapse;*/
    margin: 0 2%;
    /*make the size of the table smaller*/
    font-size: 0.8em;
    /*Obtener todas las filas de la tabla*/
    /*var filas = table.getElementsByTagName("tr");*/
    /*Iterar sobre las filas y hacer algo con cada una*/
    /*for (var i = 0; i < filas.length; i++) ( */
    /*filas [i].style.backgroundColor = "lightblue"; */
    /*)*/
}

#table-cr1, #table-kr1,
#table-kr2, #table-kf1, #table-kf2, #table-cr2,
#table-cf1, #table-cf2, #table-rbonus, #table-bonus2 {
    /*width: 20px;*/
    text-align: center;
}
#table-cminq, #table-kminq {
    text-align: right;
}
#table-model, #table-comments, #table-status, #table-make {
    text-align: left;
}
#table-comments {
    width: 250px;
}
#table-status {
    width: 50px;
}
#table-model {
    width: 120px;
}
.table-row-1 {
    background-color: white; /*transparent; Change for preferred colors*/
}
.table-row-2 {
    background-color: #f1f1f1; /*Change for preferred colors*/
}
.table-contents{
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 3%;
}
thead {
    padding: 10px;
/*  display: table;
    padding-block-end: 10px;*/
}
thead th{
    position: sticky;
    top: 0;
}
#headers-main {
    background-color: white; /*#a3a3a3 */
    color: black; /*white*/
    border-inline: 2px solid #d1d1d1;
    border-block: 2px solid #d1d1d1;
    border-radius: 5px;
}
#headers-mono {
    background-color: black;
    color: white;
    border-inline: 2px solid black; /*#d6d6d6;*/
    border-block: 2px solid black; /*#d6d6d6;*/
    border-radius: 5px;
}
#headers-color {
    background-color: rgba(255, 227, 7,1); /*yellow #fcb900 #ffe307cf*/
    color: #007bff; /*cyan #007bff*/
    /*font-weight: bold;*/
    border-inline: 3px solid #d31b9a; /*magenta*/
    border-block: 3px solid #d31b9a; /*magenta #f78da7 #cf61ad*/
    /*padding-block-end: 10px;*/
    border-radius: 5px;
}
#headers-bonus {
    background-color: green;
    color: white;
    border-inline: 3px solid #6abf4b;
    border-block: 3px solid #6abf4b;
    border-radius: 5px;
}
#headers-comments {
    background-color: white; /*#a3a3a3 */
    color: black; /*white*/
    border-inline: 2px solid #d1d1d1; /*#d6d6d6;*/
    border-block: 2px solid #d1d1d1; /*#d6d6d6;*/
    border-radius: 5px;
}
tbody td {
    border-inline: 1px solid white; /*#f1f1f1; grey*/
    border-block: 1px solid white; /*#f1f1f1; grey*/
    border-radius: 2.5px;
    /*width: 100px;*/
}
/*tbody {
    display: block;
   overflow-y: auto;
    max-height: 300px; 
}*/
#logo {
    height: 60px;
    width: 196px;
    margin: 0px 10px;
    padding: 0px;
}

h1 {
    text-align: center;
    background-color: black; /*lightgrey, #6abf4b*/
    color: white;
    border-color: white;
    /*  margin: 1%; */
    padding: 0.5%; 
    border-style: outset; /* groove/ridge/inset/outset */
    /*    border-width: 2px; */
    border-radius: 10px;
}
@media screen and (max-width: 850px) {
    #form {
        display: block;
    }

    .input1, .input2, .input3, .input4 {
        margin-bottom: 5%;
    }
    .select1, .select2, .select3 {
        margin-bottom: 5%;
    }
    /*Make sure the table fits
    #output {
        width: 100%;
        overflow-x: auto;
    }

    #output table {
        width: 100%;
    }*/

    .menu {
        display: block;
    }

    .menuPart, .logoPart {
        /*center items to the middle of the page*/
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    #updateForm .align label {
        width: 100%;
        text-align: center;
    }

    #updateForm .align {
        margin-top: 5%;
        margin-bottom: 5%;
    }

    #updateForm .align .left, .align .right {
        display: block;
        width: 100%;
        text-align: center;
    }

    #updateForm .whole label, #updateForm .bottom-form label {
        text-align: center;
    }
    #comments {
        width: 40ch; /* Sets the width to hold 40 characters */
        height: 3em; /* Sets the height to hold 3 lines of text */
    }
}
