/* 
    Document   : index
    Created on : 11 fév. 2014
    Author     : wlaurencine
    Description:
        Purpose of the stylesheet follows.
    Colors:
      header, footer; bg=#bbb4aa;
      text, borders: #2e1606;
      menu, buttons, table-headers: bg=#2e160677;
      menu.em, menu:hover: bg=#2e160699;
*/
@font-face {
  font-family: "ethnocentric";
  src: url("medias/fonts/ethnocentric-rg.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.btn-primary, .bg-primary {
  background-color: #2e160677 !important;
  border-color: #2e160677;
}
.btn-outline-primary {
  color: #2e1606;
  border-color: #2e1606;
}

/* Pour les états hover/focus/active */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #2e1606aa;
  border-color: #2e1606;
}

html, body {
  font-family: /* Trebuchet MS, */ Helvetica, Arial, sans-serif;
  font-size: .9em;
  font-weight: lighter;
  color: #2e1606;
  background: white;
  
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  margin: 0;
  padding: 5px 0 0 0;
  /*
  font-family: hnls, Helvetica Neue LT Std, Trebuchet MS, sans-serif;
  font-weight: lighter;
  font-size: 34px;
  */
}

h1 {
  color: #2e1606;
  font-size: 2em;
  padding: 5px 20px; 
  margin: 0 0 1em 0;
  /* padding-left: 10px; */
  /* border-bottom: solid gray 1px; */ /* Old browsers */ /* FF3.6+ */ /* Chrome,Safari4+ */ /* Chrome10+,Safari5.1+ */ /* Opera 11.10+ */ /* IE10+ */ /* W3C */ /* IE6-9 */; /* FF3.6+ */  /* Chrome,Safari4+ */  /* Chrome10+,Safari5.1+ */  /* Opera 11.10+ */  /* IE10+ */  /* W3C */  /* IE6-9 */; /* FF3.6+ */  /* Chrome,Safari4+ */  /* Chrome10+,Safari5.1+ */  /* Opera 11.10+ */  /* IE10+ */  /* W3C */  /* IE6-9 */;
  background: -moz-linear-gradient(left, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0.2)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */ 
  background: -webkit-linear-gradient(left, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */ 
  background: -o-linear-gradient(left, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */ 
  background: -ms-linear-gradient(left, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* IE10+ */ 
  background: linear-gradient(to right, #bbb4aa 0%, #bbb4aa 30%,#bbb4aa00 100%); /* W3C */ 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */;
  /* border-radius: 20px 0px 0px 20px; */
}

h2 {
  font-size: 1.5em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 10px;
}

h3 {
  margin-bottom: 8px;
}

ul {
  margin: 0; /*padding:0;*/
  padding: 4px 0 4px 16px; 
}

ol {
  margin: 0;
  padding: 4px 0 4px 23px;
}

ol>lh {
  margin-left: -23px;
}

lh, li {
  /*display: block;*/
  /*margin: 0;*/
  /*padding: 0 0 4px 0;*/
}

lh, em {
  font-weight: bold;
  font-style: normal;
  /* line-height: 30px; */
}

a {
  color: #2e160677;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

b, strong {
  font-weight: bold;
}

input[type=submit], input[type=button], input[type=reset] {
  border-radius: 3px;
  border: solid 1px #ccc !important;
  box-shadow: 0 0 6px #333 !important;
  background-color: #2e160677 /* !important */;
  color: white !important;
}

input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover {
  border-color:#2e1606;
  cursor: pointer;
}

textarea {
  resize: both;
}

.menu ul.menu_level1>li a{
    color:white;
}

/*.bande{
    height: 90px;
    background-image: url("../images/logo2.png");
    background-repeat: no-repeat;
    background-position: left top;
    position:absolute;
    width: 250px;
    z-index:4;
}*/

#hello_div {
  position: fixed;
  transform: scaleX(1);
  top: 6px;
  right: 6px;
  display: inline-block;
  text-align: center;
  z-index:4;
}

#hello_div > * {
  display: block;
  margin: 5px 0;
}

#hello_div img.flag {
  /*margin: -14px 0 0;*/  
}

.wl_ajax_background {
  background-color: #2e1606;
  opacity: 0.5;
  z-index: 49 !important;
}

.wl_ajax_popup {
  background-color: rgba(250, 250, 250, 1);
  padding: 30px 10px 10px;
  border: solid 1px white;
  position: absolute !important;
  overflow: hidden;

  box-shadow: 10px 10px 10px black;
  -moz-box-shadow: 0px 0px 5px 0px black;
  -webkit-box-shadow: 0px 0px 5px 0px black;
  -khtml-box-shadow: 0px 0px 5px 0px black;
    
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -khtml-border-radius: 15px;
  
  z-index: 50 !important;
}

.wl_show_content_close_anchor {
  float: right;
  margin: -23px -3px;
}

.wl_login_form td {
  padding: 1px 4px;
  white-space: nowrap;
}

ul.wl_input_list, ol.wl_file_list { 
  margin: 0; padding: 0;
}
ul.wl_input_list {
  -webkit-column-count: 4; /* Chrome, Safari, Opera */
  -moz-column-count: 4; /* Firefox */
  column-count: 4; 
}
ul.wl_input_list>li, ol.wl_file_list>li { 
  break-inside: avoid-column; 
  page-break-inside: avoid; 
  -webkit-column-break-inside: avoid;
}
ol.wl_file_list>li { 
  display: inline-block;
}
ul.wl_input_list>li>input { margin: 0; padding: 0; }
ul.wl_input_list>li>label { margin: 0 0px 0 5px; padding: 0 0 0 15px; }

.wl_file_action_add_list, .wl_file_action_add_list+ul {
  margin:0;padding:0;
}

.wl_file_action_priorities, .wl_file_action_delete {
  display: inline-block;
  margin-right: 16px;
}

.wl_file_input {
    border: solid 1px rgba(124, 124, 124, 0.15);
    border-radius: 3px;
    padding: 5px 10px;
}

input.wl_file_legende {
  border: solid 1px #777;
  border-radius: 3px;
}

.wl_file_action_add_list>li, input.wl_form_add_file {
  margin: 10px 5px 10px 0px;
}

input.wl_form_add_file {
  background-color: #2e160677;
  color: whitesmoke;
  border: 1px solid #2e1606;
  border-radius: 3px;
  text-align: left;
  vertical-align: middle;
  padding: 1px 20px;
  font-weight: bold;
}

input.wl_form_add_file:hover {
  border-color:#2e1606;
}

.wl_search_components_new { margin-top: 20px; margin-bottom: 20px;}
.wl_search_components_new  a { color: #FFFFFF; text-decoration: none; background-color: #2e160677; padding: 6px; border-radius: 5px; margin-bottom: 10px;}
.wl_search_components_search input, .wl_search_components_search select { margin: 0 0 0 5px; border-color: #2e160677; border-radius: 5px; border-width: 1px; text-align: left; max-width: 200px; }
.wl_search_components_search > form > * { margin-left: 5px; }

.result-container { /* overflow: auto; */ padding: 12px 0; /* max-width: calc(100vw - 2em); /* max-height: calc(100vh - 24em); */ }
/* div.result-container, div.result-container > table.result { transform: rotateX(180deg); } */
  
table.result { width: 100%; margin: 0px auto 0 auto; box-shadow: 1px 3px 5px 2px #999; border-spacing: 0px; /* border-radius: 10px 10px; */ border-style: solid; border-color: #bbb4aa; border-width: 0px 0px 10px 0px;}
table.result caption, table.result tr.caption th { text-align: center; /* background-color: #2F333C; */ color: #efefef; border-radius: 10px 10px 0 0; padding: 2px 7px; margin: 0 0 0px 0; /* box-shadow: 3px 3px 2px #999; */ }
table.result th, table.result td { /* text-align: left; */ padding: 1em 2em; }
.wl_login_form table.result { width: auto; }
/*
table.result thead tr:first-child th:first-child { border-top-left-radius: 10px; }
table.result thead tr:first-child th:last-child { border-top-right-radius: 10px; }
table.result>thead>tr>th.firstcol { border-radius: 10px 0 0 0; }
table.result>thead>tr>th.lastcol { border-radius: 0 10px 0 0; }
table.result>thead>tr>th.firstcol.lastcol { border-top-left-radius: 10px 10px 0 0; }
table.result>thead>tr>th.actioncol { border-radius: 10px 10px 0px 0px; }
*/
table.result .headrow>th { text-align: center; background-color: #2e160677; color: white; border-bottom: solid 4px white; }
table.result .headrow>td { /* text-align: left; */ background-color: #2e160677; color: white; border-top: solid 4px black; /* border-left: solid 1px #eee; */ }
table.result .headrow a { color: white; text-decoration: none; }
/* table.result tbody>tr:nth-child(2n)>* { background-color: #dddddd; } */
/* table.result tbody>tr:nth-child(2n+1)>* { background-color: #eeeeee; } */
table.result>tbody>tr.evenrow>* { background-color: rgba(225,225,225,1); /* border-top: solid 1px #ccc; border-left: solid 1px #cfcfcf; */ }
table.result>tbody>tr.oddrow>* { background-color: rgba(255,255,255,1);  /* border-top: solid 1px #ccc; border-left: solid 1px #eee; */ }
table.result>tbody>tr>*.actioncol { border-left: dotted 1px gray; text-align: center; }
table.result>tbody>tr>*.actioncol img { margin: 0 10px; width: 16px; }

.pager_top { margin: 5px 0 10px 0; }
.pager_bottom { margin: 10px 0 0 0; }

.pager_top a, pager_bottom a {
  border: solid 1px white;
  padding: 3px 6px;
  border-radius: 14px;
}
.pager_top a:hover, pager_bottom a:hover {
  border: solid 1px #2e1606;
  font-style: normal;
  text-decoration: none;
}
.pager_top a>em, .pager_bottom a>em {
  background-color: #2e160677;
  color: white;
  padding: 3px 6px;
  border-radius: 14px;
}
table.pager_top td { margin: 0; padding: 0 0 0 0px; }


.main_table {
  /*display: none;*/
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  /* background-image: url('../images/bg.jpg'); */
  background-repeat: no-repeat;
  background-position: center right;
}

.header {
  position: relative;
  z-index: 1;
  text-align: center;
  vertical-align: top;
  padding: 50px 85px 0 0;
  color: #2e1606;
}

.header img.logo {
  float: left;
  margin: 0px 0px -45px;
  height: 123px;
}

.wl_page_tools {
  transform: scaleX(0);
  position: relative;
  width: auto;
  overflow: visible;
  white-space: nowrap;
}

.wl_page_tools>* {
  border: solid 2px transparent;
  border-radius: 3px;
}

.wl_page_tools>a:hover {
  border-color: white;
  background-color: white;
}

.li_menu:hover>div.wl_page_tools {
  transform: scaleX(1);
/*  z-index: 1;
  width: auto;
  overflow: visible;
  margin-right: -150px;*/
}

.menu {
/*
  position: absolute;
  display:inherit;
  height: 65px;
  padding: 0 0 5px 256px;
*/
  padding: 0 0 5px 0;
  position: relative;
  background-color: #bbb4aa; /* rgba(6, 146, 208, 0.7); */
  /* background-image: url("../images/logo_AIMESS-202x160.jpg"); */
  background-repeat: no-repeat;
  background-position: 15px 10px;
  z-index: 3;
  width: 100%;
  text-align: left;
  font-size: 15px;
}

.menu > header {
  max-width: 100vw;
  margin: 0 auto 0 0;
}

select>option[selected] {
  font-weight: bold;
}
select>option[data-is-default-filter] {
  font-style: italic;
  color: #2e160677;
}

.menu td {
  vertical-align: top;
}

.load-duration-container {
  position:absolute;
  top:35px; left:104px;
  margin: 0 0 0 0;
  color: #2e160677;
  font-size:10px;
  z-index: 4;
  pointer-events: none;
}
.menu div.logo {
/*
  position: absolute;
  top:0px;
  left:0px; 
  float: left;
*/
  height: calc(100%);
}
.menu .user-messages {
  position: relative;
  background-color:#ffffff77;
  border: 1px solid #ffffff;
  border-radius: 3px;
  box-shadow: 0 0 12px #777;
  padding: .4em .8em;
  font-style: italic;
  list-style: none;
  margin: 1em 0 0 0;  
}
.menu .user-messages>lh {
  position: absolute;
  top: -1.4em;
  left: 0;
  color: whitesmoke;
  font-weight: normal;
  font-style: italic;
  text-transform: capitalize;
}
.menu div.users {
  overflow: visible;
  /*position: fixed; right: 0;*/
  float: right;
  z-index: 1;
  max-height: 2.5em;
}
.menu div.users>form {
  overflow: hidden;
  margin: 20px 32px !important;
  padding: 4px 6px 2px !important;
  background-color: rgba(255,255,255,0.95);
  border-radius: 3px;
  text-align: right;
  text-align-last: right;
  max-width: 24em;

  max-height: 2.5em;
  opacity: .35;
  transition: all .4s ease-in-out;
}
.menu div.users:hover>form {
  box-shadow: 0 0 6px #777;
  max-height: 20em;
  opacity: 1;
}
.menu div.users>form .groups {
}
.menu div.users>form .roles>span {
  width: 18em;
  text-overflow: ellipsis;
  /*display: inline-block;*/
  overflow: hidden;
  vertical-align: middle;
  word-wrap: anywhere;
}
.menu div.users>form .roles > span:active {
  display: inline;
  width: auto;
}
.menu div.users>form>select {
  padding-top: 0;
  padding-bottom: 0;
  height: 2rem;
  line-height: 1;
}
.menu div.users>form .warning {
  font-size: smaller;
  color: white;
  margin: -24px 0px 0px -6px;
  position: absolute;
}
.menu div.users>form:hover .warning {
  font-weight: bold;
  color: red;
  text-shadow: 1px 1px 6px white;
  background-color: white;
  padding: 0 16px;
  border-radius: 10px;
}
.menu .menu-path {
  font-size: small;
  margin: 10px 0 0 3px;
}
.menu .menu-path a {
  color: #2e160677;
}
.menu .menu-path a:hover {
  color: #2e1606;
}
.menu .menu-path em, .menu .menu-path b {
  /* font-weight: normal; */
  color: #2e1606;
}
/*.menu>ul.menu_level1 {*/
.menu .menu-sub>ul {
  margin: 4px 0 0 0;
  padding: 0 35px 0 0;
}

.menu .menu-sub>ul>li {
  display: inline-block;
  text-transform: uppercase;
  /* margin: 0px 5px; */
  padding: 4px 8px 2px;
  /* height: 100%;*/
  margin: 4px 2px 0 !important;
  border-radius: 15px;
  background-color: #2e160677;
  color: white;
  vertical-align: top;
  text-align: left;
}
.menu .menu-sub>ul>li.selected {
  background-color: #2e1606aa;
}
.menu .menu-sub>ul>li:hover {
  background-color: #2e160699;
}

.menu .menu-sub>ul>li>a {
  font-style: normal;
  text-decoration: none;
  color: white;
}

.menu .menu-sub>ul>li:hover>ul {
  display: block;
}

.menu .menu-sub>ul>li>ul {
  display: none;
  position: absolute;
  z-index: 1;
  margin: 0px;
  padding: 2px 4px 0;
  background-color: #cccccc;
/*  border: solid 1px #aaa;
  border-top-width: 0px;*/
  border-radius: 0 0 5px 5px;
  box-shadow: 0 0 6px #777; 
}

.menu .menu-sub>ul>li>ul ul {
  margin: 0 0 0 15px;
  padding: 0;
}

.menu .menu-sub>ul>li>ul li {
  display: list-item;
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 3px;
}

.menu .menu-sub>ul>li>ul a {
  font-style: normal;
  text-decoration: none !important;
  text-transform: none !important;
  color: #777 !important;
  font-size: small;
}


.content {
  position: relative;
  /* margin-top: 50px; */
  /* z-index: 2; */
  background-color: white;
  /*text-align: center;*/
  vertical-align: top;
  /*padding: 65px 0px 65px 0px;*/
  padding: 5px 0px;
  height: 100%;
  
  /* border: solid 1px #cccccc; */
  
  /* box-shadow: 1px -1px 3px 2px #cccccc; */
  -moz-box-shadow: 1px -1px 3px 2px #cccccc;
  /* -webkit-box-shadow: 1px -1px 3px 2px #cccccc; */
  -khtml-box-shadow: 1px -1px 3px 2px #cccccc;
  /* background-image: url('../images/bg.jpg'); */
  background-repeat: no-repeat;
  background-position-x: center;
}

.content  {
  /*text-align: left;*/
  /*vertical-align: top;*/
}

.content>div.wl_page_description {
  padding: 0px;
}

.content>div.wl_page_description1,.content>div.wl_page_description2,.content>div.wl_page_description3 {
  display: inline-block;
  width: 28.2%;
  margin: 20px 12px;
  padding-bottom: 25px;
}

.content>div.wl_page_description2 {
  padding-left: 25px;
  border-left: 1px solid #eeeeee;
  padding-right: 10px;
  border-right: 1px solid #eeeeee;
}


.content>div.wl_page_description4 {
  padding: 10px 10px 0 10px;
  clear: both;
}

.sendmail_form {
  padding: 10px;
}

.sendmail_form td {
  padding: 2px 10px 2px 0;
}

.sendmail_form th {
  padding: 6px 10px 2px 0;
}

.sendmail_form input {
  vertical-align: middle;
}

.footer {
  /*position: absolute;*/
  /* z-index: 3; */
  bottom:0px;
  text-align: center;
  vertical-align: middle;
  padding: 0px;
  font-size: 15px;
  background-color: #bbb4aa;
  color:white;
  width: 100%;
  /* box-shadow: -1px -3px 10px 0px #999; */
}
.footer>div {
  margin: 4px;
}

.footer a {
  color: #fff;
}

.footer .wl_page_tools {
  display: none;
  /*transform: scaleX(1);*/
}

.footer .flags {
  float: right;
  margin: 0 16px;
}

.wl_map > .menu_level1 {
  /*text-align: center;*/
  display: flex;
  flex-wrap: wrap;
}

.wl_map > .menu_level1 > li {
  /*text-align: center;*/
  flex: 1 1 0;
}

.wl_map .menu_level1 a {
  text-decoration: none;
  color: #2e1606bb;
}

.wl_map .menu_level1 a:hover {
  color: #2e160677;
}

.wl_map .menu_level1 em {
  font-style: normal;
}

.wl_map .menu_level1>li {
  margin: 25px 0 10px 0;
  padding: 5px 25px 5px 5px;
  display: block;
  list-style: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
}

.wl_map .menu_level2 {
  margin: 10px 0 0 20px;
  padding: 0;
}

.wl_map .menu_level2 li {
  margin: 0px;
  padding: 3px 0px;
  list-style: none;
  display: block;
  border: none;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 10px;
}

.wl_login_form {
  display: block;
  margin: 4em 2em !important;
}

.saisir{
  text-align: left;
  border-spacing: 0;
  margin: -10px;
  max-width: 95vw;
  border-collapse:collapse;
}

/* 
.saisir>tbody>tr:nth-child(even){
  background-color: #f3f3f3;
}
*/

.saisir>tbody>tr>*{
  text-align: left;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
}
input[type=button].sendmail, form.sendmail>input[type=button] {
  margin: 0 5px 0 0;
  background-color: #999; /* #bbb4aa; */
  color: whitesmoke;
  border: 0px solid #777;
  border-radius: 3px;
  text-align: left;
  vertical-align: middle;
  padding: 1px 20px;
  font-weight: bold;
}

form.sendmail textarea {
  vertical-align: unset;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 2px 4px;
}

form.sendmail label {
  color: gray;
  padding: 5px 0 0 5px;
  float: left;
  width: 80px;
}

form.sendmail>input[type=text] {
  width: 640px;
  margin:2px 0;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 2px 4px;
}

form.sendmail>input[type=button] {
  margin-top:2px;
}

form.sendmail>input[type=button][name=send] {
  margin-left:85px;
}

.create {
  background-color:#2e160677;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 2px 0px 0px;
  text-align: center;
  box-shadow: 0 1px 6px #aaa;
  white-space: nowrap;
  color: white !important;
  display: inline-block;
  text-transform: uppercase;
}

.commentaires {
  white-space: pre-line;
}

table.result>tbody>tr>td .create {
  color: #2e160699 !important;
  background-color:#bbb4aa;
  border:solid 1px #bbb4aa;
}
table.result>tbody>tr:hover>td .create {
  color: #fff !important;
  border:solid 1px #2e1606;
}

table.result>tbody>tr:hover>td .create:hover {
  background-color: #2e160699;
  border:solid 1px white;
  text-decoration: none;
}

table.result>tbody>tr>td {
  vertical-align: top;
}
table.result>tbody>tr.oddrow_edited>td {
  background:rgba(124, 191, 55, 0.22);
}
table.result>tbody>tr.evenrow_edited>td {
  background:rgba(124, 191, 55, 0.32);
}
table.result>tbody>tr:hover:not(.headrow)>* {
  background:rgba(124, 191, 55, 0.15);
}

table.result>tbody>tr:hover>td a {
  /* text-decoration: none; */
}

table.result>tbody>tr>td>ul>li, table.result>tbody>tr>td>ul>lh {
  list-style-type: none;
}

.suivi {
}

.suivi .actioncol img {
  width: 35px;
}

.display-mode {
  position: fixed;
  top: -10px; 
  left: 10px; 
  z-index: 9999;
}

.display-mode img {
  width: 45px;
}

.suivi h1 {
    font-weight: normal;
    border-bottom: solid gray 1px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px 10px 10px 10px;    
}

.suivi .firstcol h1 {
    border-radius: 10px 10px 10px 10px;
}

.suivi thead {
  font-size: 20px;
}

.suivi .content {
  padding-top: 0px;
}

.wl_search_display > .no-element {
  padding: 1em;
  color: red;
  font-style: italic;
}

.wl_search_display > .no-element:before {
  content: "Résultat de la recherche : ";
  color: #777;
  /* font-style: normal; */ 
  font-weight: bold;
}

.wl_search_display > .search-disabled {
  padding: 1em;
  color: gray;
  font-style: italic;
}

#wl_search_display_wl_user__0 table.result tr>*:nth-child(4) {
  display: none;
}

b.pret    { color: #d00; }  /* en creation */
b.emis    { color: #f60; }  /* édité */
b.valide  { color: blue; }  /* transmis */
b.paye    { color: #0a0; }  /* payé / accepté */
b.cloture { color: #0a0; }  /* clôturé */
b.annule  { color: #777; }  /* annulé */
b.rejete  { color: #700; }  /* rejeté */

b.remise { color: #999; }

#hello_div.fullscreen {
  top: 5px;
}

#hello_div.fullscreen a {
  display: inline-block;
  margin: 0 5px;
}

.fullscreen .content {
  padding: 0;
}

.content .wl_search_components_search, .content .wl_search_components_new, .content .pager_top {
  display: inline-block /* !important */;
  margin: 0 5px 5px 5px !important;
  vertical-align: middle !important;
}

.content .wl_search_components_new a {
  padding: 2px 6px 0;
  margin: 0 5px 0 0;
}

.content table.result>*>tr>*.firstcol {
  padding-left:15px;
}

.content table.result>*>tr>*.lastcol {
  padding-right:15px;
}

.kanban table.result {
  border-color: #888 !important;
}
.kanban table.result .headrow > th {
  background-color: #888 !important;
}

.kanban .content table.result>*>tr>*.mission:first-child {
  padding: 15px !important;
}
.kanban .fullscreen .content h2 {
  margin: -30px 130px 15px -120px;
}

.kanban .content h2 {
  float: right;
  font-size: smaller;
  font-weight: normal;
  margin: -25px 30px 15px -20px;
  border-radius: 5px;
  border: solid 1px #ee8833;
  padding: 3px 6px 2px;
  z-index: 4;
  position: relative;
  background-color: rgba(255,255,255,0.85);
}

.kanban .content table.result>*>tr>* {
  border-radius: 0 !important;
}

.kanban .content table.result>*>tr>td {
  margin:0 !important;
  padding: 0 0 25px 0 !important;
}

.kanban .content table.result>*>tr>td>ul {
  margin:0 !important;
  padding: 1px 1px 15px 3px !important; 
}

.kanban .content table.result>*>tr>td>ul>li {
  margin: 0 0 1px 0 !important;
  padding: 4px 0 0 !important;
  
  border: none !important;
  border-radius: 0px !important;
}

.activities>ul>li {
  color: blue;
}

.conges>ul>li {
  /* color: gray; */
}

.conges>ul>li.decision.null {
  /*color: #ce2e22;*/
}

.conges>ul>li.decision.accepte {
  /*color: red;*/
}

.conges>ul>li.decision.refuse, .conges>ul>li.decision.refuse * {
  /*color: gray;*/
  text-decoration: line-through;
}

table.result.cra {
  margin-top: 4px;
  background-color: white;
}
  
table.result.cra > * > tr > th.firstcol {
  width:90px;
  white-space:nowrap;
  background-color: rgba(0,0,0,0.05);
}

table.result.cra > thead > tr > th {
  text-transform: uppercase;
  border-bottom: solid 4px rgba(255,255,255,1.0);
}

table.result.cra > tbody > tr > * {
  /* border: none; */
  border-top: solid 4px #ddd;
  border-right: solid 1px #ddd;
  padding: 0;
  background-color: white;
}

table.result.cra > tbody > tr > td.out-of-month {
  background-color: aliceblue;
}

table.result.cra > tbody > tr > td.today {
  background-color: rgba(255, 255, 224, 0.5);
}

table.result.cra > tbody > tr > td.weekend {
  width:10%;
}

table.result.cra > tbody > tr > td input[type=checkbox] {
  margin: 4px 0;
  padding: 0;
}

table.result.cra > tbody > tr > td input[type=checkbox]:checked {
  visibility: hidden;
  width: 0px;
}

table.result.cra > tbody > tr > td span.label {
  display: inline-block;
  color: black;
  padding: 6px 0 4px 20px;
  margin: 0 0 0 4px;
}

table.result.cra > tbody > tr > td input + label {
  display: inline-block;
  color: black;
  padding: 0px 8px;
  cursor: pointer;
}

table.result.cra > tbody > tr > td input:checked + label {
  padding-left: 20px;
  font-weight: bold;
}

table.result.cra > tbody > tr > td input:checked + label, 
table.result.cra > tbody > tr > td span.label.absent {
  color: red;
  background: url('../../wl-common/medias/icons/16x16/quit.png') no-repeat 0 0;
}

table.result.cra > tbody > tr > td input:checked[value~="present"] + label, 
table.result.cra > tbody > tr > td span.label.present {
  color: #4d5d93;
  background: url('../../wl-common/medias/icons/16x16/ok.png') no-repeat 0 0;
}

/*
table.result.cra > tbody > tr > td.empty:not(.ferryday):not(.weekend) {
  background-color: rgba(255,161,0,0.1);
}
*/
table.result.cra > tbody > tr > td.empty:not(.out-of-month):not(.ferryday):not(.weekend) > div:not(.filled) {
  background-color: rgba(255,161,0,0.1);
  height: 100%;
}

table.result.cra > tbody > tr > td.ferryday {
  background-color: rgba(128,0,128,0.1);
  border-top: solid 4px purple;
}

table.result.cra > tbody > tr > td.weekend {
  background-color: rgba(0,0,0,0.1);
  border-top: solid 4px gray;
}

table.result.cra > tbody > tr > td > div {
  padding: 8px 12px 8px 12px;
  white-space: nowrap;
  text-align:left;
}

table.result.cra > tbody > tr > td > div hr {
  display: none;
  border: none;
}

table.result.cra > tbody > tr > td > div > .label {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
table.result.cra > tbody > tr > td:hover > div > .label {
  overflow: visible;
}
table.result.cra > tbody > tr > td:hover > div > .label > small {
  background-color: white;
  position: relative;
  border-color: #ddd;
}
table.result.cra > tbody > tr > td > div > .label > em {
  font-weight: 100;
  font-style: normal;
}
table.result.cra > tbody > tr > td > div > .label > small {
  font-weight: 100;
  font-style: normal;
  color: purple;
  padding: 4px 8px 2px 0;
  border-radius: 3px;
  border: 1px solid transparent;
}

table.result.cra > tbody > tr > td > div > .found {
  color: white !important;
  margin: 4px 0 0 0;
  /* padding: 2px 8px 0; */
  border-radius: 3px;
  /* text-shadow: 0 0px 1px black; */
  /* box-shadow: 1px 1px 6px 0px #aaa; */
}
table.result.cra > tbody > tr > td > div > .found * {
/*  color: #4C4C4E !important;*/
}
table.result.cra > tbody > tr > td > div > .found > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
table.result.cra > tbody > tr > td > div > .found > ul > li {
  margin: 0;
  padding: 2px 8px 0;
}

table.result.cra > tbody > tr > td > div a.create {
  font-size: 10px;
  padding: 4px 8px 2px 8px;
  margin: 4px 0;
  display: block;
  border-color: transparent;
}

table.result.cra > tbody > tr > td:hover > div a.create.charge,
table.result.cra > tbody > tr > td > div > .activities.found {
  background-color: rgba(31, 197, 31, 0.55);
  /* border: 1px solid rgba(31, 197, 31, 0.55); */
}
table.result.cra > tbody > tr > td:hover > div a.create.conges,
table.result.cra > tbody > tr > td > div > .conges.found {
  background-color: rgba(255,69,0,0.65);
  color: white;
  /* border: 1px solid rgba(255,0,0,0.65); */
  overflow: hidden;
}
table.result.cra > tbody > tr > td > div > .conges.found .type-annuel {
  background-color: rgba(255,0,0,0.65);
  color: white;
  /* border: 1px solid rgba(255,0,0,0.65); */
}
table.result.cra > tbody > tr > td > div > .conges.found

table.result.cra > tbody > tr > td:hover > div a.create.estimate,
table.result.cra > tbody > tr > td > div > .activities.found.estimate,
table.result.cra > tbody > tr > td > div > .conges.found > ul > li.decision.estimate {
  background-attachment: fixed;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    #ddd 10px,
    #ddd 18px,
    transparent 20px /* determines size */
  );
}

table.result.cra > tbody > tr > td > div.filled {}
table.result.cra > tbody > tr > td > div.holiday {}

table.result.cra > tbody > tr > td > div a.create,
table.result.cra > tbody > tr > td > div:not(.filled) > label,
table.result.cra > tbody > tr > td > div:not(.filled) > input {
  /* display: none; */
  visibility: hidden;
}
table.result.cra > tbody > tr > td:hover > div a.create,
table.result.cra > tbody > tr > td:hover > div:not(.filled) > label,
table.result.cra > tbody > tr > td:hover > div:not(.filled) > input {
  /* display: block; */
  visibility: visible;
}
.total {
  color: #000;
}
.total span {
  font-weight: bold;
}

div > .level0 + div {
  transform: scaleY(0) !important;
  transform-origin: top;
  position: absolute;
  z-index: 10;
  background-color: white;
  border-radius: 6px;
  box-shadow: 3px 3px 6px black;
  padding: 8px 16px 0;
  transition: transform 0.2s;
}

div:hover > .level0 + div {
  transform: scaleY(1) !important;
}

.combo > .label { font-weight: bold; }

.select2-container { min-width: 10em; }
.select2-container ::placeholder, .select2-container .select2-selection--single .select2-selection__placeholder { color: #999; opacity: 50%; }

select:has(option:checked) + .select2-container .select2-selection,
select:not(:has(option:checked)):has(option[data-is-default-filter="1"]) + .select2-container .select2-selection,
input[name=s_keyword]:not(:placeholder-shown)
{ border-width: 2px; /* border: 2px solid black; background-color: #007bff33; */ }
  
select:has(option:checked).is-valid + .select2-container .select2-selection,
select:not(:has(option:checked)):has(option[data-is-default-filter="1"]).is-valid + .select2-container .select2-selection
{ border-color: #28a745; background-color: #28a74533; }

select:has(option:checked).is-invalid + .select2-container .select2-selection,
select:not(:has(option:checked)):has(option[data-is-default-filter="1"]).is-invalid + .select2-container .select2-selection
{ border-color: #dc3545; background-color: #dc354533; }

[data-is-default-filter] { font-weight: bold; color: #2e160677 !important; }

.notifications > lh { margin: 0; padding: 0; }
.notifications > li { list-style: decimal outside !important; margin: .5em 1em; }

.message { background-color: lightyellow; border: 1px solid gray; box-shadow: 3px 3px 6px black; border-radius: 6px; margin: 0.3em 0; padding: 1em; }
.message > .attachments { margin: 0; padding: 0; }
.message > .attachments > lh { margin: 2em 0 0.5em 0; padding: 0; display: block; text-transform: uppercase; }
.message > .attachments > li { margin: 0 0 0 1em; padding: 0; }

/*
@media (orientation: portrait), (max-width: 800px ) {
  ul { margin: 0; padding: 0; }
  
  .wl_login_form { }
  .wl_login_form > table.result { border-radius: 12px; overflow: hidden; box-shadow: 1px 3px 5px 2px #999; }

  .icones li { margin: 1em 0.5em; }
  
  .menu { background: none; }
  div.logo, *.load-duration-container, div.users { display: none; }
  
  div.menu-path { cursor: pointer; margin: 0 3em 0 3em !important; padding: 1em; background: #ccc; width: calc(100vw - 6em); border-radius: 0 0 6px 6px; }
  div.menu-path > span.menu-sep { display: none; }
  div.menu-path > div { display: block !important; margin:0; padding:0; transform-origin: top; transform: scaleY(0); height: 0em; transition-delay: 0s, 3s; transition: transform 0.2s, height 0.2s; }
  div.menu-path:focus > div { transform: scaleY(1); height: 1.4em; }
  div.menu-path > div.selected { display: inline-block !important; transform: scaleY(1); height: 1.4em; }
  
  div.menu-sub { cursor: pointer; margin: 0 4em 0 4em !important; padding: 0 1em; width: calc(100vw - 8em); border-radius: 0 0 6px 6px; border: solid 1px #ccc; border-top: none; }
  div.menu-sub div.wl_page_tools { display: none; }
  div.menu-sub > ul, .menu div.menu-sub > ul > li { margin: 0 !important; padding: 0 !important; }
  div.menu-sub > ul > li { background: none !important; display: list-item !important; list-style: none !important; }
  div.menu-sub > ul > li, div.menu-sub > ul > li > a { color: #aaa !important; }
}

@media (orientation: portrait) {
  table.result > * > tr > *:nth-child(n+3) { display: none; }
}
*/

@media (orientation: portrait), (max-width: 800px) {
  .saisir>tbody>tr { display: block; }
  .saisir>tbody>tr>* { display: block; }
}

.json-container {
  margin-bottom: 40px;
}
.jsoneditor {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
}
.json-data {
  /* display: none; /* Masquer le textarea */
}
.status {
  margin-top: 10px;
  font-weight: bold;
}
.status.valid {
  color: green;
}
.status.invalid {
  color: red;
}

/*
.select2-container {
  width: auto !important;
}
*/

.select2-container li {
  display: block !important;
}

/*
.select2-container li:first-child {
  display: inline-block !important;
}

.select2-container li:nth-child(n+2) {
  display: block !important;
}
*/

select[readonly].select2-hidden-accessible + .select2-container {
  pointer-events: none;
  touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
  background: #eee;
  box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
  display: none;
}