
/***************************************************************************/
/* Generalities */

/*

Colors:

    bleu léger #70c0e0;
    bleu menu: #40a0d0;
    bleu fort  blue


*/

body {
    background: #cce0f7;
    color: #305080;
    font-family: arial, helvetica, sans-serif;
    font-size:12px;
    text-align:center;
    margin:0px;
    width:100%;
    padding:0px;
}

a {
    font-family: sans-serif;
    color: blue;
}

a:hover {
    color: white;
    background: blue;
}

h2 {
    font-size: 20px;
    font-family: serif;
}

p {
    margin:0px;
    padding:0px;
    border-collapse:collapse;
}

table {
    margin:0px;
    padding:0px;
    border-collapse:collapse;
}

img {
    border: 0px;
    margin: 0px;
    padding: 0px;
    border-collapse:collapse;
}


/***************************************************************************/
/* Main table */


table#main {
    width: 100%;
    margin: 0px;
    border-collapse: collapse;
    padding: 0px;
}


/***************************************************************************/
/* Main elements */
 
table#main tr#mainheader {
    /*background-image:url('#path.web#/banner-dsc8019b.jpg');*/
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
}

table#main tr#mainheader td {
    vertical-align: top;
    text-align: left;
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
}

table#main tr#mainheader table {
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
} /* TODO */


/* TODO: Remove space between image and td border */

table#main td#mainmenubar {
    height: 16px;
    background: #40a0d0;
    text-align: left;
    text-decoration: none;
    color: white;
    font-weight: bolder;
    padding: 2px;
}

table#main td#mainmenubar a {
    text-decoration: none;
    color: white;
}

table#main td.side {
    padding: 1px;
    vertical-align:top;
    background: #70c0e0;
    border: #70c0e0 1px solid;
    font-size: 11px;
    padding-bottom: 7px;
    text-align: center;
    width: 130px;
    /* TODO: fixed size */
}

table#main td#partleftside {
}

table#main td#partrightside {
}


table#main td#partmain {
    text-align: center;
    /*width: 80%;; buggied -> 100% ?? */
    height: 100%;
    background: #e7f7f7;
    padding: 7px;
    vertical-align: top;
}

table#main td#mainfooter {
    padding: 1px;
    text-align:center;
    background: silver;
}


/***************************************************************************/




/** Debug */
/*table#main td {
    border: 1px solid blue;
}*/

/***************************************************************************/

/** Sidemenu */

table.sidemenu {
    border: blue 1px solid;
    margin-left: auto;
    margin-right: auto;
    width: 120px;
}

table.sidemenu th {
    background: #70c0e0;
    font-size: 11px;
    font-weight: bolder;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 3px;
    background-image: url(#path.style#backdegrade1.gif);
}

table.sidemenu tr {
}

table.sidemenu td {
    text-align: left;
    background: #e7f7ff;
    padding: 2px;
    /* border: #7777ff solid 1px;*/
}

/***************************************************************************/
/* Form */

table.form {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid blue;
    padding: 5px;
    background: white;
}

table.form th {
    background: #70c0e0;
    color: white;
    font-weight: bolder;
    font-size: 14px;
    padding: 3px;
}

table.form td {
    padding: 3px;
    vertical-align: top;
}

table.form td.label {
    text-align: right;
    font-weight: bold;
}

table.form td.input {
    width: 500px;
}

table.form td textarea {
    width: 350px;
}

table.form td input {
    width: 350px;
}

table.form td select {
    width: 100%;
}

table.form td.tip {
    width: 50%;
    text-align: left;
}


/* Form */

table.queryForm {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid silver;
    background: white;
}


table.queryForm td {
    vertical-align: top;
    padding: 5px;
}

table.queryForm td.label {
    text-align: right;
    font-weight: bold;
}

table.queryForm td textarea {
    width: 350px;
}

table.queryForm td input {
    width: 450px;
}


table.queryForm td.tip {
    width: 50%;
    text-align: left;
}

table.queryForm input.submit {
    width: 120px;
}


/***************************************************************************/

p.spacer50 {
    height: 50px;
}


/***************************************************************************/

table.printInformation {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid blue;
    padding: 5px;
    background: white;
}

table.printInformation th {
    background: #70d070;
    color: white;
    font-weight: bolder;
    font-size: 14px;
    padding: 3px;
}

table.printInformation td {
    padding: 3px;
    vertical-align: top;
}


/***************************************************************************/

table.printError {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid blue;
    padding: 5px;
    background: white;
}

table.printError th {
    background: #d07070;
    color: white;
    font-weight: bolder;
    font-size: 14px;
    padding: 3px;
}

table.printError td {
    padding: 3px;
    vertical-align: top;
}



/***************************************************************************/

table#frmLogin {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

table#frmLogin td.input {
    width: 300px;
    padding: 7px;
}

table#frmLogin td input {
    width: 200px;
}


/***************************************************************************/

table.information {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid blue;
    padding: 3px;
    background: white;
}

table.information th {
    background: #70d070;
    color: white;
    font-weight: bolder;
    font-size: 14px;
    padding: 3px;
}

table.information td {
    padding: 3px;
    vertical-align: top;
}

/***************************************************************************/

table.error {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid blue;
    padding: 3px;
    background: white;
}

table.error th {
    background: #d07070;
    color: white;
    font-weight: bolder;
    font-size: 14px;
    padding: 3px;
}

table.error td {
    padding: 3px;
    vertical-align: top;
}

/***************************************************************************/

div#debugtab {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 100;
    text-align: left;
    visibility: hidden;
    width: 100%;
}

div#debugtoggle {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 10px;
    height: 10px;
    z-index:101;
}

table.debugtable {
    width: 100%;
    background: black;
    border: silver 1px solid;
    color: white;
}

table td.dbgtime {
    width: 50px;
}
table td.dbgmodule {
    width: 150px;
}
table td.dbgmessage {
}

