#cl_tb {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    max-width: 50em;
}

#cl_tb td, #cl_th th {
    border: 1px solid #ddd;
    padding: 8px;
}

#cl_tb tr:nth-child(even) {background-color: #f2f2f2;}

#cl_tb tr:hover {background-color: #ddd;}

#cl_th th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

button {
    margin-bottom: 0.8em;
}

#ch_i, #d_hc {
    /*width: 100%;*/
    min-height: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
    max-width: 40em;
    justify-content: flex-start;
}

#ch_i div {
    margin-bottom: 0.8em;
}

label {
    margin-right: 0.3em;
    /*margin-top: 0.1em;*/
}

input {
    height: 1.3em;
    margin-right: 0.3em;
}

input[type=text] {
    width: 20em;
}

input[type=number] {
    width: 3em;
}

select {
    width: 9em;
    height: 1.7em;
    margin-right: 0.3em;
}

textarea {
    margin-bottom: 0.8em;
}

.l_ {
    width: 100%;
    margin-bottom: 0.3em;
}

.d_ {
    /*width: 100%;*/
    /*margin-bottom: 0.3em;*/
    border: black solid thin;
    padding: 0.4em;
}

#d_c {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#d_c label {
    width: 7em;
}

#d_c input {
    width: 1.2em;
    margin-right: 30em;
}

input:invalid, select:invalid {
    background-color: ivory;
    border: none;
    outline: 2px solid red;
    border-radius: 5px;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#a_m {
    width: 100%;
    max-width: 50em;
    padding: 20px;
    background-color: #f44336; /* Red */
    color: white;
    margin-bottom: 15px;
    display: none;
}

#x_a {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

#x_a:hover {
    color: black;
}