/******
 * -- REDEFINITIONS GENERIQUES --
 */
:root {
    --color-green-base: #83ac10;
    --color-green-light: #b9da6f;
    --color-red-dark: #970044;
    --color-fuschia-bg: #ffdb90;
    --color-fuschia-border: #ffaa2a;
    --color-green-dark: #205300;
    --color-text: #333;
    --color-border: #666;
    --color-input-bg: #f9fff0;
    --color-input-border: #cee0c0;
}
div,
table,
tr,
td,
img,
form {
    border-width: 0;
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

body {
    height: 100%;
    color: #333;
    background-color: white;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 0.8em;
    padding: 0;
    margin: 0;
    border: none;
}
acronym {
    cursor: help;
}

/******
 * -- FORMULAIRES --
 */

input,
select,
textarea {
    color: black;
    background-color: white;
    border: 1px solid #666;
    padding: 2px;
}
#formulaire {
    white-space: nowrap;
    padding: 10px;
}
td.label {
    text-align: right;
    padding: 8px;
}
label {
    color: #666;
    background-color: transparent;
}
td.input {
    text-align: left;
    padding: 21px;
}
.inputError {
    background-color: #fd6;
}
.inputText {
    font-weight: normal;
    color: inherit;
    background-color: #f9fff0;
    border-top: 1px solid #f9fff0;
    border-right: 1px solid #f9fff0;
    border-bottom: 1px solid #cee0c0;
    border-left: 1px solid #f9fff0;
    /*cross-browser*/
    cursor: pointer;
    cursor: hand;
}
.inputText:hover {
    color: black;
    background-color: transparent;
    border: 1px solid #cee0c0;
}
.inputText[readonly="readonly"] {
    border: 1px solid gray;
    background-color: #eee;
    cursor: crosshair;
    color: inherit;
}
input[type="submit"],
input[type="button"],
input[type="reset"] {
    /* idem "input,select,textarea" */
    color: #442;
    border: 1px solid #664;
    cursor: pointer;
    cursor: hand;
}

/******
 * -- PAGE > ENTETE --
 */

#entete {
    clear: both;
    width: 100%;
    height: 50px;
    color: white;
    background: var(--color-green-base) url('/image/entete_bg.png?ver=2') repeat-x 100% 50%;
    font-size: 21px;
    padding: 2px 20px;
    margin: 0;
}
#entete td {
    vertical-align: middle;
    //background: url("image/entete_bg.png?ver=2") no-repeat 100% 50% transparent; /* vert base */
}

#entetelogin {
    clear: both;
    width: 100%;
    height: 50px;
    color: white;
    background: var(--color-green-base) url('/image/entete_bg.png?ver=2') repeat-x 100% 50%;
    font-size: 21px;
    padding: 2px 20px;
    margin: 0;
}
body.dev #entete,
body.dev #entetelogin {
    //background: var(--color-green-base) url('/image/entete_bg.png?ver=2') repeat-x 100% 50%;
}

/******
 * -- MENU > BARRE TITRES --
 */

#menubar {
    clear: both;
    height: 20px;
    background-color: white;
    color: black;
    padding: 0 8px;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
    margin: 0;
}
#menubar td {
    width: 78px;
}
#menubar a {
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    background-color: transparent;
    padding: 0 10px;
}
#menubar a:hover {
    color: white;
    background-color: var(--color-green-base); /*vert base */
}
#menubar img {
    border-width: 0;
    /* vertical-align:middle; */
}

@media (max-width: 1000px) {
    #menubar_quit {
        display: none;
    }
}

/******
 * -- MENU > SOUS-MENUS --
 */

#menuslayer {
    z-index: 2;
    position: absolute;
    top: 71px;
    margin: 0;
    border: 0;
    padding: 0;
}
.menufly {
    opacity: 0.9;
    width: 180px;
    position: absolute;
    /*visibility:visible;*/
    font-size: 12px;
    font-weight: bold;
    line-height: 12px;
    color: #333;
    background-color: #b9da6f; /* vert eau */
    margin: 0;
    padding: 0;
}
.menufly ul {
    padding: 0;
    border: 1px solid #666;
    margin: 0;
}
.menufly li {
    list-style: none;
    margin: 0;
    border-top: 1px solid #b9da6f; /* vert eau */
    border-bottom: 1px solid #b9da6f; /* vert eau */
    padding: 0;
}
.menufly a {
    display: block;
    text-decoration: none;
    font-weight: normal;
    color: #333;
    background-color: #fff;
    margin: 0;
    border-width: 0;
    padding: 2px 0px 4px 4px;
}
.menufly a:hover {
    font-weight: normal;
    color: white;
    background-color: var(--color-green-base); /*vert base */
    border-width: 0;
}
.menufly img {
    border-width: 0;
    vertical-align: middle;
}

/******
 * -- PAGE > BLOC PRINCIPAL --
 */
#ajaxStatus {
    overflow: auto;
    position: fixed;
    top: 72px;
    left: 0;
    color: inherit;
    background: url("image/body_bg.png") repeat-x transparent;
    padding: 0px 20px 6px 0px;
    margin-right: 2px;
    height: 10px;
    width: 100%;
    text-align: right;
    /* background-color: #83ac10; vert base */
    font-size: 10px;
    font-style: italic;
    opacity: 0.8;
    filter: alpha(opacity: 80);
}
#page {
}
#ajaxContainer {
    padding: 20px 20px;
    text-align: left;
}
#ajaxContainer h1 {
    color: #970044; /* rouge foncÃ©*/
    background-color: transparent;
    font-size: 1.4em;
    letter-spacing: -1px;
    border-bottom: 1px solid #666; /* gris */
    text-shadow: #fff 0 2px 3px;
    font-family: serif;
    white-space: nowrap;
}
#ajaxContainer h2 {
    color: #970044; /* rouge foncÃ©*/
    background-color: transparent;
    font-size: 1.2em;
    letter-spacing: -1px;
    text-shadow: #fff 0 1px 2px;
    font-family: serif;
}
#ajaxContainer table {
    border-spacing: 0px;
    border-collapse: collapse;
}
#ajaxContainer th {
    padding: 1px 8px;
    border-bottom: 2px solid #000;
    margin: 0;
}
#ajaxContainer td {
    padding: 2px 4px;
    margin: 0;
}
#ajaxContainer td.numeric {
    text-align: right;
}
#ajaxContainer .tableCadre {
    color: inherit;
    background-color: #ffdb90; /* fushia ultra-light fond */
    border: 1px solid #ffaa2a; /* fushia ultra-light contour */
    border-spacing: 10px;
    border-collapse: separate;
}

.hidden {
    display: none;
}

/******
 * -- PIED DE PAGE --
 */

#topmost {
    position: fixed;
    height: 80px;
    width: 100%;
    margin: 0 auto;
    left: 0px;
    top: 0px;
}
#topseparator {
    height: 80px;
}
#copyright {
    bottom: 0;
    padding: 0px 20px 6px 0px;
    height: 10px;
    text-align: center;
    font-size: 10px;
    font-style: italic;
    opacity: 0.8;
    filter: alpha(opacity: 80);
}

/******
 * -- PANEL DE STATUS INTERMITANT --
 */

#ajaxLoading {
    position: fixed;
    color: red;
    background: #fff none repeat scroll 0%;
    height: 100%;
    width: 100%;
    bottom: 0px;
    align-items: center;
    justify-content: center;
    display: flex;
    right: 0px;
    left: 0px;
    top: 50px;
    bottom: 0px;
    z-index: 200;
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
    opacity: 0.8;
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
}
#ajaxLoadingText {
  display: flex;
  gap:.5rem;
  flex-wrap: wrap;
}
#ajaxLoadingProgress {
  display: flex;
  width: 100%;
  justify-content: center;
  font-size: .8rem;
}
#divErreur {
    display: block;
    position: absolute;
    text-align: center;
    font-weight: bold;
    color: #970044; /* rouge foncÃ© */
    background-color: yellow;
    padding: 10px 0 10px 0;
    margin: auto;
    width: 100%;
    top: 50px;
}
/******
 * -- TABLEAU TRIABLE --
 */

table.sortable a.sortheader {
    color: #205300; /* vert foncÃ© */
    background-color: transparent;
    text-decoration: none;
    display: block;
    padding: 0;
    margin: 0;
}
table.sortable span.sortarrow {
    color: #666;
    text-decoration: none;
}
table.sortable a.sortheader:hover {
    color: black;
    background-color: transparent;
}
table.sortable tbody tr:hover {
    color: black;
    background-color: #b9da6f; /* vert eau */
    /*cross-browser*/
}
table.sortable tbody td {
    padding: 4px 8px;
}
table.sortable tfoot tr {
    color: #999;
    background-color: transparent;
    font-style: italic;
    font-family: serif;
    border: 1px solid #999;
}

/******
 * -- PANELS / TRIGGERS --
 */

ul#triggers {
    padding: 0;
    margin: 0;
    white-space: nowrap;
}
ul#triggers li {
    display: inline;
    padding: 0 6px;
    margin: 0 6px;
    /*cross-browser*/
    cursor: pointer;
    cursor: hand;
}
li.selected {
    color: white;
    background-color: var(--color-green-base); /* vert base */
    border: 1px solid #333;
}
li.grayed {
    color: gray;
    background-color: transparent;
    border: 1px solid #b9da6f; /* vert eau */
}
li.grayed:hover {
    color: black;
    background-color: #b9da6f; /* vert eau */
}
div.panel {
    padding-top: 20px;
    /*visibility:hidden;*/
}

/******
 * -- DRAG AND DROP --
 */
.dropzone {
    background-color: #bbef68;
}
.dropactive {
    background-color: #fc9;
}
.drophover {
    background-color: #ffc;
}

/******
 * -- TESTS TEMPORAIRES --
 */

.simplepanel {
    width: 400px;
    height: 150px;
    padding: 10px;
    border: 1px solid silver;
    margin: 50px auto;
    background-color: #fbfbfb;
}

.selected {
    color: white;
    background-color: var(--color-green-base); /* vert base */
    border: 1px solid #333;
}

.clickable {
    cursor: pointer;
    cursor: hand;
}

.masked {
    opacity: 0.3;
    filter: alpha(opacity: 30);
}

.totalmask {
    opacity: 0;
    filter: alpha(opacity: 0);
}
.inlinemsg{
    z-index:999;
}
.ui-datepicker-trigger{
    display:none !important;
}
.ui-corner-all {
    border-radius: 4px;
}
.ui-menu.ui-widget.ui-widget-content {
    border-radius: 4px;
    border: 1px solid #aaaaaa;
    font-size: 1em;
    font-family: Verdana,Arial,sans-serif;
}
#ajaxContainer .ui-widget input{
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
    width: 80%;
    padding: 2px;
    line-height: 1.3rem;
}
.ui-menu.ui-widget.ui-widget-content .ui-menu-item{
    padding:2px;
}
.ui-menu.ui-widget.ui-widget-content .ui-menu-item > div{
  text-decoration: none;
  display: block;
  padding: 2px .4em;
  line-height: 1.5;
  min-height: 0;
  color: #333;
}
.ui-menu.ui-widget.ui-widget-content .ui-menu-item > div.ui-state-active{
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    color: #333;
    background: #dadada;
}