body {
    font-family: arial,helvetica,geneva;
    font-size: 14px;
    --bleutvmfonce: #1a9bd2;
    --bleutvm: #22b2d3;
    --bleutvmclair: #6ce8d7;
    --bleutvmtresclair: #c3ecf5;
}

div#header {
    background: var(--bleutvm);
    color: #fff;
    padding: 6px 10px;
    display: flex;
    border-radius: 5px;
    justify-content: center;
}

h1 {
    margin: 0;
    font-size: 16px;
}

.asterisque {
    max-width: 700px;
    width: 90%;
    margin: auto;
}

.petiteinfo {
    font-size: 14px;
}

select {
    height: 30px;
}

div[id^="ligne"] {
    margin: 30px auto;
    width: 510px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: var(--bleutvm) 2px solid;
    padding: 2px;
    border-bottom-left-radius: 13px;
    color: var(--bleutvm);
    font-weight: bold;
    font-size: 16px;
    box-shadow: rgb(0 0 0 / 7%) 1px 3px 5px 1px;
}

div#lignepoids:after
{
    content:"(en kg)";
    position: absolute;
    right: -6px;
    transform: translateX(100%);
    font-weight: normal;
    font-style: italic;
}

div[id^="ligne"] > :first-child {
    background: var(--bleutvm);
    padding: 6px 31px;
    color: #fff;
    border-bottom-left-radius: 10px;
}


input[type="text"] {
    height: 25px;
    border: var(--bleutvm) solid 1px;
    border-radius: 3px;
    text-align: center;
    width: 80px;
    font-size: 14px;
    color: var(--bleutvmfonce);
}

table {
    width: 90%;
    max-width: 700px;
    margin: 25px auto;
    border: 2px solid var(--bleutvm);
    border-spacing: 0;
    table-layout: fixed;
    border-radius: 5px;
    box-shadow: rgb(0 0 0 / 7%) 1px 3px 5px 1px;
}
table tr 
{
    display: flex;
    flex-flow: row;
}

table#posologie
{
    border-color:var(--bleutvm);
}
table#posologie tr:first-child
{
    background:var(--bleutvm);
    color:#fff;
}
table#cout
{
    border-color:#ff9400;
}
table#cout tr:first-child
{
    background:#ff9400;
    color:#fff;
}
table#simulation
{
    border-color:#bfd070;
}
table#simulation tr:first-child
{
    background:#bfd070;
    color:#fff;
}

table td {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width:10px;
    flex-grow: 1;
    padding:10px;
    font-size: 16px;
    min-height: 35px;
    display:flex;
    flex-flow:column;
    justify-content:center;
}
table td:first-child
{
    flex-basis:40%;

}
table tr:first-child td:not(:first-child)
{
    justify-content:center;
    text-align:center;
}
table tr:first-child
{
    font-weight:bold;
}
table td:last-child {
    border-right: none;
}
table tr:last-child td {
    border-bottom: none;
}

form {
    margin: auto;
    width: fit-content;
    border: #f00 1px dotted;
    padding: 10px;
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    margin: 50px auto;
}