:root {
  color-scheme: light dark;
}

body {
    font-family: Courier New, Arial, Helvetica;
    color: light-dark(black, white);
    background-color: light-dark(white, black);
}


h1, h2, h3, h4, h5 {
    margin: .4em 0;
    padding: 0;
}

div.leftbox {
    position: absolute;
    top: 8em;
    left: .3em;
    width: 149px;
}

.logobox {
    float: left;
}

div.rightbox {
    position: inherit; /*this can not be relative, absolute or unspecifed*/
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 150px;
    border: thin groove #ff9;
    border-right: 0;
}

.warning {
    color: blue;
    background-color: yellow;
    margin: 1.5em;
    padding: 1.5em;
}

.classic {
    color: #142845;
    background-color: #99C5F0;
}

ul {
    padding-left: 1ch;
}

a.selecteditem {
    color: white;
    background-color: #555599;
    white-space: nowrap;
    text-decoration: none;
}

a:hover {
    color: #FFFFFF;
    background-color: #555599;
}

a {
    color: light-dark(LinkText, #66CCFF);
    background-color: light-dark(white, black);
}

a.nav {
    white-space: nowrap;
}

a.listitem {
    color: light-dark(LinkText, #66CCFF);
    background-color: light-dark(white, black);
    text-decoration: none;
    white-space: nowrap;
}

a.listitem:hover {
    color: white;
    background-color: #555599;
}

li.listitem {
    color: light-dark(LinkText, #66CCFF);
    background-color: light-dark(white, black);
    list-style: none;
    margin: 0;
}

li.listitem:hover {
    color: white;
    background-color: #555599;
}

span.blockspan {
    display: block;
    float: left;
    overflow: hidden;
}

span.blockspan:hover{
    color: white;
    background-color: #555599;
}

/* Displayspan et headerspan sont comme blockspan mais sans hover effect, et headerspan est en vert */
span.displayspan {
    display: block;
    float: left;
    overflow: hidden;
    white-space: nowrap;
}

span.headerspan {
    color: #005700;
    background-color: #ddefef;
    display: block;
    float: left;
    overflow: hidden;
    white-space: normal;
}

div.container {
    margin: .1em;
    padding: 0;
    white-space: nowrap;
}

div.spacer {
    clear : both;
    margin: 0;
    padding: 0;
}

.submit {
    color: black;
    background-color: #ff9;	
    margin: 2px;
    padding: 5px;
}

.bad_input {
    color: black;
    background-color: red;
}

.good_input {
    color: inherit;
    background-color: inherit;
}

/* formulaire tva */

.titre1 {
    color: #FFF;
    background-color: #003A77;
    font-weight: bold;
    letter-spacing: .3pt;
    padding-top: 4px;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.titre2 {
    color: #FFF;
    background-color: #3D7AB3;
    border-bottom: 1px solid #BED5EA;
    font-weight: bold;
}

.titre3 {
    color: #003260;
    background-color: #BED5EA;
    border-bottom: 1px solid #E2ECF6;
    font-weight: bold;
}

td.caseRepere {
    color: #003260;
    background-color: #E2ECF6;
    font-weight: bold;
    text-align: center;
    width: 30px;
}

td.caseBase {
    color: #003260;
    background-color: #FEFBD9;
}

td.caseARemplir {
    text-align: right;
}


td.caseBase,
td.caseRemarque,
td.caseRepere,
td.caseARemplir {
    border-bottom: 1px solid #E0E0E0;
}

td.centered {
    text-align: center;
}

.champCalcule {
    color: #333;
    background-color: #d8d8c8;
    border-color: #d8d8c8;
    border-radius: 0;
    text-align: right;
    cursor: default;
}


/* this one is for Site/contact.pm and the dummy 'email' field used by bots*/ 
.nah {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* test of style_less <th>/<td>*/
.tdNumeric {
    text-align: right;
}

.tdText {
    text-align: left;
}

.thNumeric {
    text-align: right;
}

.thText {
    text-align: left;
}


