@charset "utf-8";
/* CSS Document */
@import "fonts.css";

* {
  outline: none;
}

body:not(#tinymce) {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  text-align: justify;
  color: #333;
  font: normal 12px / normal "Trebuchet MS", Verdana, Arial, Helvetica,
    sans-serif;
  background: #ccc url(../images/fondAdmin.png) no-repeat right 70px;
  counter-reset: holiday;
}

body.local {
  background-color: cadetblue !important;
}

body a {
  font-weight: bold;
  color: blue;
  /*color: #755B00;*/
  text-decoration: none;
}

body a:hover {
  font-weight: bold;
  color: #434e00;
  text-decoration: underline;
}

a img {
  border: none;
}

a.active {
  color: #ffffff !important;
  background-color: #ed6e00;
}

a[onclick]:hover {
  cursor: pointer;
}

.TabbedPanelsTab.modified {
  color: #0000ff !important;
  background-color: aquamarine;
}

.TabbedPanelsTab.modified:after {
  content: " *";
}

#bd {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 2px;
  font-style: italic;
}

@media screen {
  #conteneur {
    z-index: 0;
    left: 0;
    right: 0px;
    margin: 25px 0 0;
    overflow: hidden;
  }

  #conteneur.connecte {
    height: 100%;
    margin-top: calc(20% - 60px);
    min-width: 200px;
  }

  #conteneur.connecte table {
    margin: auto;
  }

  #contenu {
    position: absolute;
    top: 25px;
    bottom: 0px;
    right: 0;
    left: 0;
    overflow: auto;
  }

  #contenu.switch {
    background-color: #99ff99;
  }

  #contenu > form {
    margin: 50px;
  }

  #contenu > form > * {
    margin-right: auto;
    margin-left: auto;
  }

  #mire_connexion {
    position: absolute;
    width: 420px;
    /*height:200px;*/
    left: 50%;
    top: 50%;
    margin-left: -230px;
    margin-top: -150px;
    padding: 20px;
    background-color: #8a8c8f;
    -moz-box-shadow: 5px 5px 10px #673191;
    -webkit-box-shadow: 5px 5px 10px #673191;
    box-shadow: 5px 5px 10px #673191;
  }

  #mire_connexion table {
    width: 100%;
    -moz-box-shadow: 2px 2px 3px #222;
    -webkit-box-shadow: 2px 2px 3px #222;
    box-shadow: 2px 2px 3px #222;
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#222222', Direction=135, Strength=3);
  }

  /************* Page formulaire ******************/
  /************* Liste d'items ******************/
  .panel_liste {
    /*float:left;*/
    overflow: auto;
    overflow-x: hidden;
    width: 370px;
    text-align: center;
    font-size: 10px;

    position: absolute;
    top: 37px;
    bottom: 0px;
    left: 0px;
    padding: 10px;
  }

  .panel_liste .contenu_liste {
    border: 1px solid #000;
    border-radius: 5px;
    box-shadow: 5px 5px 5px #666;
    padding: 5px;
    background: #666;
  }

  .panel_liste ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
  }

  .panel_liste li {
    list-style: none outside none;
    display: block;
    clear: both;
    text-align: left;
    height: 34px;
    border: 1px solid #cccccc;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 0 5px;
    background-color: #eeeeee;
  }

  .panel_liste li:hover {
    background-color: #ffc;
    border-color: #000000;
    text-decoration: none;
  }

  .panel_liste li.active {
    background: -moz-linear-gradient(
      left,
      rgba(153, 0, 0, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    /* FF3.6-15 */
    background: -webkit-linear-gradient(
      left,
      rgba(153, 0, 0, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(
      to right,
      rgba(153, 0, 0, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  }

  .panel_liste td.lien,
  td.groupe {
    color: #333333;
    font-weight: bold;
    cursor: pointer;
  }

  .panel_liste td.lien {
    line-height: 30px;
  }

  .panel_liste li {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .panel_liste li.active {
    color: white;
  }

  .panel_liste li span.lien {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    flex-grow: 1;
    padding: 10px 5px 10px 0;
  }

  .panel_liste li span.lien.span {
    color: #990000;
    text-decoration: underline;
  }

  .panel_liste li span.lien:hover {
    text-decoration: underline;
  }

  .panel_liste li.active span.lien {
    color: #fff;
  }

  .panel_liste td.groupe {
    color: #3300ff;
  }

  .panel_liste td.lien span {
    color: #990000;
    text-decoration: underline;
  }

  .panel_liste li.active td.lien,
  .panel_liste li.active td.lien span {
    color: white;
  }

  .panel_liste .message {
    font-size: 14px;
    background-color: #eee;
    padding: 5px 0;
  }

  .panel_liste .message span {
    font-weight: bold;
  }

  .panel_liste li table {
    border-collapse: collapse;
    width: 100%;
    height: 100%;
  }

  .panel_liste li td {
    background: none !important;
    padding: 0 !important;
  }

  .panel_liste li td.bo span {
    float: right;
  }

  th#response {
    font-size: 16px;
    color: brown !important;
  }

  th#response b {
    font-weight: bold;
    color: #0a246a;
  }

  @keyframes etc {
    0% {
      width: 0px;
      margin-right: 18px;
    }
    50% {
      width: 18px;
      margin-right: 0px;
    }
    100% {
      width: 0px;
      margin-right: 18px;
    }
  }
  span#etc {
    display: inline-block;
    overflow: hidden;
    animation-name: etc;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }

  input[type="range"] + span {
    font-size: 18px;
    font-weight: bold;
    padding-left: 5px;
  }

  span.form_statut {
    display: inline-block;
    width: 20px;
    height: 20px !important;
    margin: 1px;
    text-decoration: none !important;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    /*border:1px solid #FFF;*/
    box-shadow: inset 1px 1px 1px 1px #333;
  }

  #conteneur table.statistiques tr.pair td {
    background-color: #eff;
  }

  #conteneur table.statistiques tr:hover td {
    background-color: #ccc;
  }

  table.statistiques th,
  table.statistiques td:not(.prix) {
    text-align: center;
  }

  table.statistiques a {
    color: #090;
  }
  li.procedure {
    background-image: url(../graphiques/error.png) !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    padding-right: 14px !important;
    margin-right: 2px !important;
  }

  td.prix {
    text-align: right;
  }

  /************* Fiche formulaire ******************/
  .panel_fiche {
    position: absolute;
    top: 37px;
    bottom: 0px;
    left: 390px;
    padding: 10px;
    overflow: auto;
  }

  /************* Champs de formulaire ******************/
  .form_bloc {
    /* bloc de champs dans un formulaire */
    display: block;
  }

  .form_bloc:after {
    clear: both;
    content: " ";
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
  }

  .form_bloc label {
    float: left;
    font-weight: bold;
    margin-right: 10px;
    line-height: 25px;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    background: #fff;
    font: 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  }

  input[readonly="readonly"],
  textarea[readonly="readonly"] {
    /*background: none!important;*/
    border: none !important;
    color: #666;
  }

  input[type="text"][disabled="disabled"],
  textarea[disabled="disabled"],
  input[type="email"][disabled="disabled"],
  input[type="tel"][disabled="disabled"] {
    background: none !important;
    border: none !important;
    color: #666;
  }

  input[data-oblig],
  textarea[data-oblig],
  select[data-oblig] {
    border-color: red;
  }
  input[type="radio"][data-ctrl] ~ label {
    color: red;
  }

  input + input {
    margin-left: 5px;
  }

  input[type="radio"] + label {
    margin-right: 10px;
  }

  input[type="radio"]:checked + label {
    font-weight: bold;
    text-transform: uppercase;
  }

  /* erreur */
  td.erreur,
  th.erreur,
  input[type="text"].erreur,
  input[type="password"].erreur,
  input[type="radio"].erreur,
  textarea.erreur,
  select.erreur {
    /* erreur sur champs de saisie */
    background-color: #ff9999 !important;
    color: #000000;
  }

  span.erreur {
    color: red;
  }

  /************* Table ******************/
  #conteneur table {
    /* on précise conteneur pour ne pas perturber les tables DHTML_suite */
    border-collapse: separate;
    border-spacing: 2px;
    /*margin:auto;
		width:100%;*/
  }

  #conteneur table#raise td {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #conteneur table#raise td:first-of-type {
    text-align: left;
  }

  #conteneur table.aide {
    color: #0a246a;
    font-size: 14px;
    background-color: #eee;
    border: 1px solid #666;
    border-radius: 4px;
    box-shadow: 3px 3px 3px #999;
  }

  form > table,
  .AccordionPanelContent > table {
    -moz-box-shadow: 3px 3px 3px #999;
    -webkit-box-shadow: 3px 3px 3px #999;
    box-shadow: 3px 3px 3px #999;
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#999999', Direction=135, Strength=2);
  }

  #Accvin.Accordion {
    max-width: 800px;
  }

  #Accvin .AccordionPanelTab {
    text-align: left;
    font-weight: normal;
    padding-left: 10px;
  }

  /** Shift colors **/
  /* Workers: base yellow */
  /* Security: base blue */
  /* Office: base purple */
  /* Night: dqrker color */
  td.GS {
    background-color: rgb(255, 255, 0) !important;
  }
  td.NIS,
  td.NIS1,
  td.NIS2 {
    background-color: rgb(150, 150, 0) !important;
  }
  td.OFF {
    background-color: #ff00dd !important;
  }
  td.SEC2,
  td.SEC4 {
    background-color: rgb(0, 255, 255) !important;
  }
  td.SEC1,
  td.SEC3,
  td.SEC5 {
    background-color: rgb(0, 180, 180) !important;
  }
  #conteneur th,
  #colorbox th {
    text-align: center;
    color: #000033;
    background-color: #eee;
    border: 2px ridge #ccc;
    padding: 3px;
  }
  #colorbox table.alarm th {
    background-color: #ffb6c1;
  }
  #colorbox table.alarm td {
    background-color: #fdd;
  }
  #colorbox table.alarm tr.punchImportant th {
    border-color: red;
  }
  #colorbox table.alarm tr.punchImportant td {
    border: 1px solid red;
  }
  #colorbox table.check th {
    background-color: #fc6;
  }
  #colorbox table.check td {
    background-color: #fec;
  }
  #colorbox table.check tr.punchImportant th {
    border-color: rgb(255, 166, 0);
    font-size: 16px;
  }
  #colorbox table.check tr.punchImportant td {
    border: 1px solid red;
  }
  #colorbox input + span:not(.bo_bouton) {
    display: inline-block;
    margin: 3px 0 0 5px;
  }
  #colorbox table tr.punchImportant p:first-child {
    margin-top: 0;
  }
  #colorbox table tr.punchImportant p:last-child {
    margin-bottom: 0;
  }

  #conteneur #table_synthese_import th {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
  }

  #conteneur th.alerte {
    padding: 10px;
    color: #f00;
    font-size: 14px;
    text-transform: uppercase;
  }

  #conteneur td,
  #colorbox td {
    background-color: #eee;
    padding: 3px;
    vertical-align: middle;
  }

  #conteneur td.justified ul {
    text-align: left;
    margin-left: -25px;
  }

  #conteneur .facture th,
  #conteneur .facture td {
    background-color: #fcf;
  }

  #conteneur .mceEditor td {
    padding: 0;
  }

  #conteneur td > table,
  th > table {
    margin-left: -3px;
    /* compenser le padding du td*/
    margin-right: -3px;
    /* compenser le padding du td*/
  }

  #conteneur td.td_blanc {
    vertical-align: top;
    background: none;
  }

  .textarea-hidden {
    max-width: 600px;
  }

  table.tarif tr:only-child {
    display: none;
  }

  .ui-tabs .ui-tabs-nav li.tarif-OK {
    background-color: #ffff99;
    text-transform: uppercase;
    border-color: #000;
  }

  #conteneur table.genderF th {
    background-color: #ffb6c1;
  }

  #conteneur table.genderM th {
    background-color: #00ccff;
  }

  #conteneur table tr.genderF th {
    background-color: rgba(255, 182, 193, 0.5);
  }

  #conteneur table tr.genderM th {
    background-color: rgba(0, 205, 255, 0.3);
  }

  span.bloc {
    display: inline-block;
    margin-right: 10px;
  }

  #conteneur table#tab-items tr:hover td {
    background-color: #ccc;
  }

  #conteneur table#tab-items tr.break td {
    border-bottom: 2px solid #000;
  }

  #conteneur td.center {
    text-align: center;
  }

  #conteneur td.right {
    text-align: right;
  }

  .tablesorter tbody input {
    float: left;
    margin: 0 2px;
  }

  .tablesorter tbody input {
    float: left;
    margin: 0 2px;
  }

  select.tablesorter-filter option:first-of-type {
    font-weight: bold;
    text-transform: uppercase;
  }

  div.header {
    margin: auto;
    display: table;
    text-align: center;
  }

  div.header span.sunday,
  div.header span.today,
  div.header span.holiday {
    display: block;
    border: 1px solid #000;
    border-radius: 5px;
    margin-top: 10px;
  }

  div.header span.sunday {
    background-color: yellow;
  }

  div.header span.today {
    background-color: #9f9;
  }

  div.header span.holiday {
    background-color: #ffcc33;
  }

  #attendance.tablesorter-blue td[data-column="0"] input.tablesorter-filter {
    max-width: 100%;
  }

  #raise.tablesorter-blue td[data-column="1"] input.tablesorter-filter,
  #exceptional.tablesorter-blue td[data-column="0"] input.tablesorter-filter,
  .tablesorter-blue input.tablesorter-filter[data-column="1"] {
    max-width: none !important;
  }

  table.attendance td {
    text-align: right;
    width: 80px;
  }

  table.attendance th.over {
    border-color: #f00 !important;
  }

  table.attendance td.over {
    background-color: #fdd !important;
  }

  td.attCostStatus.OK,
  td.attLeaveStatus.OK {
    background-color: green !important;
  }

  td.attCostStatus.KO,
  td.attLeaveStatus.KO {
    background-color: red !important;
  }

  /* Numérotation jours fériés */
  h4 {
    margin: 0;
  }

  h4.holiday::before {
    content: counter(holiday);
    counter-increment: holiday;
    float: left;
    padding: 3px 5px;
    width: 15px;
    text-align: right;
  }

  /**************** POUR LISTE DYNAMIQUE AJAX ********************/
  .ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #666 !important;
    box-shadow: 2px 2px 2px #333333;
  }

  .ui-autocomplete-loading {
    background: white url("images/ui-anim_basic_16x16.gif") right center
      no-repeat !important;
  }

  .ui-autocomplete .ui-menu-item div {
    /*white-space: nowrap;*/
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 60px;
  }

  .ui-autocomplete .ui-menu-item div:hover {
    max-height: none;
  }

  .ui-autocomplete .ui-menu-item div b {
    color: #000;
  }

  .ui-autocomplete .ui-menu-item div u {
    color: #000;
    background-color: #ffff00;
    text-decoration: none;
    font-weight: bold;
  }

  .ui-autocomplete .ui-menu-item:nth-of-type(even) {
    background: white;
  }

  .ui-autocomplete .ui-menu-item:nth-of-type(odd) {
    background: #ddd;
  }

  .ui-autocomplete .ui-state-active {
    border: 1px solid #900;
    background: #900;
    color: #fff;
  }

  span.champ {
    background-color: #999999;
    color: #ffffff;
    padding-left: 2px;
    padding-right: 2px;
  }

  #navigue .bo_titre {
    display: none;
  }
  /***** Boîte message *****/
  .popup_message {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
  }

  .popup_message > table {
    font: normal 11px / normal "Trebuchet MS", Verdana, Arial, Helvetica,
      sans-serif;
    -moz-box-shadow: 5px 5px 10px #666;
    -webkit-box-shadow: 5px 5px 10px #666;
    box-shadow: 5px 5px 10px #666;
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#666666', Direction=135, Strength=3);
    border: 3px solid #000;
    background-color: #444;
    border-collapse: collapse;
    width: 100%;
  }

  .popup_message > table td,
  .popup_message > table th {
    font-size: 14px;
    text-align: left;
    font-weight: bold;
    background-color: #eee;
    padding: 3px;
    vertical-align: middle;
    border: 1px solid #ccc;
  }

  .popup_message > table td {
    color: #666;
  }

  .popup_message > table th {
    text-align: center;
    color: #333;
  }

  .popup_message form > table {
    margin: 0;
  }

  .popup_message td.boutons {
    text-align: center;
  }

  .popup_message input[type="text"],
  .popup_message input[type="password"],
  .popup_message textarea {
    background-color: #fff;
  }

  .popup_message ul {
    text-align: left;
    font-size: 12px;
    margin: 6px;
  }

  .popup_message h1 {
    background: none;
    position: static;
    font-size: 18px;
    font-weight: bold;
    width: auto;
  }

  .popup_message h1 span {
    color: #666;
  }

  .popup_message h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 6px;
  }

  .popup_message h3 {
    margin: 6px;
  }

  .popup_message p {
    margin: 6px 0;
  }

  .popup_message span.bo_titre {
    /*color:#333333;*/
  }

  #td_message {
    /*max-height:600px;*/
    overflow: auto;
    display: block;
    padding: 10px;
  }

  #td_message ul {
    padding-left: 10px;
  }

  .tr_bandeau th {
    background-color: #333 !important;
  }

  .titre_message {
    padding: 0 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 23px;
    color: #ddd;
    float: left;
    text-transform: uppercase;
    white-space: nowrap;
  }

  #colorbox table.settle tr th:not(only-child) {
    text-align: left;
    white-space: nowrap;
  }

  #colorbox table.settle td {
    white-space: nowrap;
  }

  #colorbox table.settle td + td {
    min-width: 90px;
  }

  /************* Divers ******************/
  #wait {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px;
    top: 50%;
    z-index: 10;
  }

  .noscreen {
    display: none !important;
  }

  .drapeau {
    -khtml-opacity: 0.5;
    -moz-opacity: 0.5;
    opacity: 0.5;
    filter: alpha(opacity=50);
    white-space: nowrap;
  }

  .drapeau span:not(.form_statut) {
    display: block;
    float: left;
    /*height:30px;*/
    /*background-position:center center;*/
    /*background-repeat:no-repeat;*/
  }

  .drapeau span img {
    /*visibility: hidden;*/
  }

  .AccordionPanelTab .drapeau {
    margin: 2px 5px;
  }

  .drapeau img {
    margin-left: 2px;
  }

  .xdebug-error {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
  }

  table.suivi_newsletter th,
  table.suivi_newsletter td {
    font-size: 10px !important;
    white-space: nowrap;
  }

  /************************** UPLOAD ************************/
  #progressbox {
    border: 1px solid #f15412;
    padding: 1px;
    position: relative;
    width: -webkit-calc(100% - 10px);
    width: -o-calc(100% - 10px);
    width: calc(100% - 10px);
    border-radius: 3px;
    margin: 0;
    display: none;
    text-align: left;
  }

  #progressbar {
    height: 20px;
    border-radius: 3px;
    background-color: #ffa367;
    width: 1%;
  }

  #statustxt {
    top: 3px;
    left: 50%;
    position: absolute;
    display: inline-block;
    color: #000000;
  }

  .no-mail + label {
    font-weight: normal;
    color: #900;
  }

  input[type="checkbox"]:checked + label {
    color: blue;
    font-weight: bold;
  }

  /************************** UTILISATEURS ************************/
  table.affecte {
    width: 100%;
  }

  table.affecte th {
    width: 25%;
    white-space: nowrap;
    font-size: 16px;
    text-transform: uppercase;
  }

  #conteneur table.droits td {
    vertical-align: top;
  }

  ul#droits > li {
    margin-bottom: 5px;
  }

  ul#droits,
  ul#droits ul {
    list-style: none outside none;
  }

  ul#droits > li {
    white-space: nowrap;
  }

  ul#droits > li > label {
    font-weight: bold;
    text-transform: uppercase;
  }
}

li.ligne.option div:first-child {
  font-weight: bold;
  background-color: #fc9 !important;
}

li.ligne.ok div:first-child,
li.ligne.option.ok div:first-child {
  color: #006;
  background-color: #cff !important;
}

tr.ligne.ok td,
tr.ligne.ok td input {
  color: #006;
  background-color: #cff !important;
}

td.avoir,
tr.ligne.ok td.avoir {
  display: none;
  background-color: #ffcc99 !important;
}

th.avoir {
  display: none;
}

.avoir input.reste {
  background-color: #f00;
  color: #fff;
}

li.ligne.titre span.non-titre > * {
  display: none;
}

li.ligne.saut div:first-child {
  border-top: 2px solid #00f;
}

tr.retard td {
  color: #900;
  font-weight: bold;
}

span#intro {
  max-width: 200px;
  display: block;
  text-align: left;
  margin-top: 10px;
  color: #666;
  font-style: italic;
}

.dialogue {
  z-index: 999999;
}

/*************************** Barre Graphe **********************/
.barre {
  display: block;
  float: left;
  height: 12px;
  width: 12px;
  border: 1px solid #999999;
}

.barre_legende {
  display: block;
  font-size: 12px;
}

.barre_legende span {
  display: inline-block;
  height: 6px;
  width: 6px;
  margin: 6px 6px 0;
}

.barre,
.barre_legende span {
  background-color: #00ccff;
}

.barre + .barre,
.barre_legende + .barre_legende span {
  background-color: #ff9900;
  border-left: none;
}

table.tablesorter {
  background-color: #fff;
  margin: 10px 0pt 15px;
}

table.tablesorter thead tr .header {
  background-image: url(../graphiques/bg.gif);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
  padding-right: 20px !important;
}

table.tablesorter thead tr .headerSortUp {
  background-image: url(../graphiques/asc.gif);
}

table.tablesorter thead tr .headerSortDown {
  background-image: url(../graphiques/desc.gif);
}

table.tablesorter thead tr .headerSortDown,
table.tablesorter thead tr .headerSortUp {
  background-color: #ccc !important;
}

table.tablesorter tbody tr:hover {
  background-color: #ccc !important;
}
table#raise {
  background-color: #fff;
  margin: 10px auto 15px;
}
table#raise input.previous {
  background-color: #ccc;
  font-style: italic;
}

/***************************************************************/
#conteneur span.toggle {
  background: url(../images/closed.png) no-repeat left center;
  /*width: 20px;*/
  /*min-width: 20px;*/
  padding-left: 20px;
  white-space: nowrap;
}

#conteneur span.toggle {
  min-height: 10px;
}

#conteneur span.toggle input[type="text"][readonly="readonly"] {
  background: none;
  color: #000000;
  font-weight: bold;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#conteneur span.toggle.active {
  background: url(../images/opened.png) no-repeat left center;
}

#conteneur td.statut {
  padding: 2px;
  border: 2px outset #666;
}

option.nonTarife {
  color: #999;
}

ul.statut {
  list-style: none outside none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  margin: 0;
}

ul.statut > li {
  align-content: center;
  background-color: #cccccc;
  background-image: url("images/ui-bg_highlight-soft_75_cccccc_1x100.png");
  background-position: 50% 50%;
  background-repeat: repeat-x;
  padding: 0;
  text-align: center;
  /*box-shadow: -3px -3px 15px rgba(120, 120, 120, .9);*/
}

ul.statut > li.statut-on {
  background-image: none;
}

ul.statut > li + li {
  border-left: 1px solid #999;
}

ul.statut + ul.statut {
  border-top: 1px solid #999;
}

ul.statut li > span {
  display: inline-block;
  width: 100%;
  padding: 2px 0;
  font-size: 16px;
  font-weight: bold;
  color: #777;
  cursor: pointer;
}

ul.statut li > span:hover {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.5);
}

ul.statut li > div {
  display: none;
  position: absolute;
  margin-top: 5px;
  border: 2px solid #333;
  background-color: #eee;
  z-index: 100;
  padding: 3px;
  font-size: 14px;
  box-shadow: 3px 3px 5px rgba(120, 120, 120, 0.8);
}

ul.statut li span.bo_bouton {
  margin: 0 0 -4px 5px;
}

ul.statut li > div > div {
  display: inline-block;
}

ul.statut li>div>input

/*[type='range']*/ {
  margin-top: 10px;
  margin-left: 5px;
  font-size: 11px;
  float: none;
}

ul.statut li > div > label {
  font-size: 16px;
}

ul.statut li>div>

/*input[type='range'] ~*/
span {
  display: inline-block;
  position: relative;
  top: -5px;
  margin-left: 5px;
  font-size: 16px;
}

ul.statut li.pourcent-10 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 8%, #cccccc 12%);
}

ul.statut li.pourcent-20 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 18%, #cccccc 22%);
}

ul.statut li.pourcent-30 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 28%, #cccccc 32%);
}

ul.statut li.pourcent-40 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 38%, #cccccc 42%);
}

ul.statut li.pourcent-50 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 48%, #cccccc 52%);
}

ul.statut li.pourcent-60 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 58%, #cccccc 62%);
}

ul.statut li.pourcent-70 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 68%, #cccccc 72%);
}

ul.statut li.pourcent-80 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 78%, #cccccc 82%);
}

ul.statut li.pourcent-90 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 88%, #cccccc 92%);
}

ul.statut li.pourcent-100 {
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 100%, #cccccc 100%);
}

ul.statut span.ferme {
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-top: 5px;
  text-indent: -2000px;
  background: url(images/controls.png) no-repeat -100px -25px;
  cursor: pointer;
}

ul.statut span.ferme:hover {
  background-position: -100px 0;
}

.on-off {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 46px;
  line-height: 20px;
  vertical-align: middle;
  margin: auto;
}

.back {
  width: 80px;
  min-width: 80px;
  height: 40px;
  margin-left: 46px;
  border: 3px solid #666;
  background: #cff url(../images/Day-shift.png) right;
  position: relative;
  border-radius: 10px;
  transition: background-color 300ms linear;
}

.night .back {
  background: #ccc url(../images/Night-shift.png) left;
}

.front {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 3px solid #666;
  border-radius: 10px;
  position: relative;
  left: -86px;
  background-color: lightgrey;
  transition: left 300ms ease-in-out, right 300ms ease-in-out;
  background: lightskyblue url(../images/sun-icon.png) no-repeat center;
  background-size: cover;
}

.night .front {
  left: -46px;
  background: #333 url(../images/moon-icon.png) no-repeat center;
  background-size: cover;
}

th.bloque label {
  display: inline-block;
  background-image: url(../graphiques/iconesBO.png);
  background-repeat: no-repeat;
  background-position: left -1360px;
  color: #f00;
  padding-left: 20px;
  line-height: 20px;
}

/* AIDE */
select.aide {
  float: none;
  font-size: 14px;
}

span.tab-aide label {
  padding-right: 10px;
  font-size: 16px;
}

#conteneur table.aide,
#conteneur table.nouveau {
  color: #0a246a;
  font-size: 14px;
  background-color: #eee;
  border: 1px solid #666;
  border-radius: 4px;
  box-shadow: 3px 3px 3px #999;
}

#conteneur table.aide {
  max-width: 70%;
  margin-bottom: 20px;
}

.aide,
#tinymce {
  font-size: 14px;
  counter-reset: h2;
  text-align: left;
  color: #333;
}

.aide img,
#tinymce img {
  margin-bottom: -4px;
}

.aide strong,
#tinymce strong {
  color: #990000;
}

.aide p,
#tinymce p,
.aide li,
#tinymce li {
  line-height: 20px;
}

.aide a,
#tinymce a {
  color: #0000ff;
  background-color: #fcefa1;
}

.aide * + h2,
#tinymce * + h2 {
  margin-top: 30px;
}

.aide h1 + h2 {
  margin-top: 10px;
}

.aide h1 {
  font-size: 24px;
  border-radius: 25px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  margin-top: 0;
  padding: 4px;
  color: #fff;
  background-color: #45828d;
}

.aide h2,
#tinymce h2 {
  color: #000;
  counter-reset: h3;
  font-size: 20px;
  border: 2px solid #ccc;
  border-radius: 5px;
  background-color: gold;
  font-variant-caps: small-caps;
}

.aide h2:before,
#tinymce h2:before {
  content: counter(h2) ". ";
  counter-increment: h2;
}

.aide h3,
#tinymce h3 {
  color: #000;
  counter-reset: h4;
  font-size: 16px;
  display: table;
  background: aquamarine;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 16px;
  margin-left: 10px;
}

.aide h3:before,
#tinymce h3:before {
  content: counter(h2) "." counter(h3) ". ";
  counter-increment: h3;
}

.aide h4,
#tinymce h4 {
  color: #000;
  font-size: 14px;
  display: table;
  background-color: #decfff;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-left: 20px;
}

.aide h4:before,
#tinymce h4:before {
  content: counter(h2) "." counter(h3) "." counter(h4) ". ";
  counter-increment: h4;
}

.aide table,
#tinymce table {
  border-collapse: collapse !important;
  border: none;
}

.aide table td,
.aide table th,
#tinymce table td,
#tinymce table th {
  border: 1px solid #999;
  padding: 0 5px;
}

.aide img.colorbox,
.vignette img.colorbox {
  cursor: pointer;
  max-width: 100%;
  height: auto;
}

.aide img.colorbox:hover {
  box-shadow: 0 0 5px #000;
}

.aide > :last-child {
  margin-bottom: 50px;
}

#panel-doc .aide {
  border-bottom: 2px solid #000;
  padding: 10px;
  width: calc(50% - 22px);
  background-color: rgba(255, 255, 240, 0.9);
}

#panel-doc #doc-gauche {
  left: 0;
}

#panel-doc #doc-droite {
  border-left: 4px double #000;
  left: calc(50% - 2px);
}

span.champ-desc {
  border: 1px solid #999;
  background-color: #eee;
  border-radius: 5px;
  padding: 0 3px;
  font-weight: bold;
  white-space: nowrap;
}

progress[value] {
  width: 210px;
  height: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 10px;
}

progress[value]::-moz-progress-bar {
  border-radius: 10px;
}

/***** Dashboard ***********/
#dashboard {
  border: 1px solid #000;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  max-width: 280px;
}
#dashboard span.bo_titre {
  font-size: 20px;
}
fieldset {
  float: left;
  border: 2px solid;
  border-radius: 10px;
  margin: 20px;
  background: #fff;
}

fieldset legend {
  background: #fff;
  border: 1px solid;
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
}

.depasse {
  font-weight: bold;
  color: red;
}
input.depasse{
  color: red !important;
  font-weight: bold;
}
/****** Attendance calendar ******/
#calendar {
  display: grid;
  margin: auto;
  max-width: 200px;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1fr;
  grid-auto-rows: 1fr;
  font-size: 14px;
  margin-top: 20px;
  background-color: #fff;
}

#calendar .day {
  border: 1px solid;
  padding: 0 2px;
  max-height: 20px;
  text-align: center;
}

#calendar .day.curmonth:not(:empty) {
  background-color: #fff;
}

#calendar .day.curmonth.curday {
  font-weight: bold;
  background-color: #ffcb70 !important;
}

#calendar .day.curmonth.ratio-1 {
  background-color: rgba(0, 255, 0, 0.1);
}

#calendar .day.curmonth.ratio-2 {
  background-color: rgba(0, 255, 0, 0.2);
}

#calendar .day.curmonth.ratio-3 {
  background-color: rgba(0, 255, 0, 0.3);
}

#calendar .day.curmonth.ratio-4 {
  background-color: rgba(0, 255, 0, 0.4);
}

#calendar .day.curmonth.ratio-5 {
  background-color: rgba(0, 255, 0, 0.5);
}

#calendar .day.curmonth.ratio-6 {
  background-color: rgba(0, 255, 0, 0.6);
}

#calendar .day.curmonth.ratio-7 {
  background-color: rgba(0, 255, 0, 0.7);
}

#calendar .day.curmonth.ratio-8 {
  background-color: rgba(0, 255, 0, 0.8);
}

#calendar .day.curmonth.ratio-9 {
  background-color: rgba(0, 255, 0, 0.9);
}

#calendar .day.curmonth.holiday,
#calendar .day.curmonth.sunday {
  background-color: #ff0 !important;
}

#calendar .day.week {
  font-weight: bold;
  background-color: #cff;
}

#calendar .day:empty {
  background-color: #ccc;
}

/* for individual attendance */
td > #calendar {
  margin-top: 0;
  max-width: none;
  grid-auto-flow: row;
  grid-template-rows: repeat(auto-fill, minmax(20px, 1fr));
  background-color: transparent;
}

td > #calendar .day {
  max-height: none;
  width: 74px;
  padding: 0;
}

td#calendar .day.curmonth:not(:empty) {
  background-color: transparent;
}

td > #calendar .day.week {
  height: 15px;
  max-height: 15px;
  margin-top: 15px;
}

td > #calendar .day.curmonth {
  display: grid;
  grid-template-areas: "H0 H1 H3" "H0 H2 H4";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background-color: transparent !important;
}

td > #calendar .day.curmonth.OK {
  background-color: #fff !important;
}

td > #calendar .day.curmonth.OK.sunday {
  background-color: #ffff99 !important;
}

td > #calendar .day.curmonth.OK.holiday {
  background-color: #ffcc00 !important;
}

td > #calendar .day input {
  border: none;
  width: 22px;
  min-width: 22px;
}

td > #calendar .day span {
  grid-area: H0;
  border: none;
  align-self: center;
}

td > #calendar .day input {
  max-width: 8px;
  font-size: 14px;
  font-weight: bold;
}

td > #calendar .day input:first-of-type {
  grid-area: H1;
}

td > #calendar .day input:nth-of-type(2) {
  grid-area: H2;
}

td > #calendar .day input:nth-of-type(3) {
  grid-area: H3;
}

td > #calendar .day input:nth-of-type(4) {
  grid-area: H4;
}

td > #calendar .day span a {
  cursor: pointer;
  padding: 0 2px;
}

.day input.att_hours,
.day input.att_sick_leave,
#categories .att_hours,
#categories .att_sick_leave {
  text-align: center;
  background: #7fffd4;
}

.day input.att_over_time,
.day input.att_leave,
#categories .att_over_time,
#categories .att_leave {
  text-align: center;
  background: #ffdab9;
}

#categories .att_hours span,
#categories .att_sick_leave span,
#categories .att_over_time span,
#categories .att_leave span {
  display: block;
  border: none;
}

.day input + input {
  margin-left: 0;
}

#categories {
  display: flex;
  justify-content: space-around;
}

#categories span {
  border: 1px solid;
  cursor: pointer;
  padding: 2px 5px;
  font-size: 14px;
}

#categories span:hover {
  font-weight: bold;
}

#calendar .day input.hidden {
  visibility: hidden;
}

input[type="range"] {
  width: 100%;
  max-width: 100px;
}

input.range {
  font-size: 16px;
  font-weight: bold;
}

div#tokenChoice {
  display: none;
  border: 2px solid;
  background: #fff;
  position: absolute;
  box-shadow: 2px 2px 2px #666;
}

div#tokenChoice ul {
  margin: 0;
  padding: 2px 5px;
}

div#tokenChoice li {
  list-style: none outside none;
  cursor: pointer;
}

div#tokenChoice li:hover {
  background: greenyellow;
}

#TPanelsPageAdmin > .TabbedPanelsTabGroup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#loader {
  margin: auto;
  border: 20px solid #f3f3f3; /* Light grey */
  border-top-color: brown;
  border-bottom-color: brown;
  border-radius: 50%;
  width: 0px;
  height: 0px;
  animation: spin 2s linear infinite;
  margin-top: -40px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media print {
  .TabbedPanelsContent {
    display: block !important;
  }

  .noprint,
  .TabbedPanelsContent.noprint,
  table.aide {
    display: none !important;
  }

  body {
    overflow: visible;
    background: none;
  }

  #menu,
  .panel_liste,
  #TPanelsPageAdmin > .TabbedPanelsTabGroup,
  .TabbedPanelsTab,
  .mceEditor,
  span.bo_bouton,
  #calemdar,
  #deconnecte,
  #bd,
  div.bo,
  tr[role="search"] {
    display: none;
  }

  table {
    width: 100%;
    border: 1px solid #666666;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-collapse: collapse;
  }

  table td,
  table th {
    padding: 5px;
    border: 1px solid #cccccc;
  }

  th h2 {
    margin: 0;
    text-transform: uppercase;
  }

  #conteneur table#raise td {
    max-width: 100px;
    white-space: nowrap;
  }

  #conteneur table#raise td:first-of-type {
    text-align: left;
    white-space: normal;
  }
}
