body{
  width: 98%;
  margin: auto;
  margin-bottom: 200px;
  /* padding-bottom: 60px;
  background-color: #a9bffc; */
}

.content {
  background: url(../img/patern-bg.gif) #f2f2f2;
}

.section-heading, .section-heading_search {
  margin: 0 10px 20px;
  text-align: center;
}

h2.section-heading2  {
  /* margin: 0 10px 20px; */
  text-align: center;
  font-size: 26px;
  margin-right: 80px;
  /* border-bottom: 1px solid #14769e; */
}

.titre h2.section-heading_search {
  margin-top: 20px;
  margin-right: 200px;
  font-size: 26px;
}

h2.section-heading_search  {
  text-align: center;
  font-size: 26px;
  margin: 0 180px 20px;
}

.grandtitre{
  clear: both;
  /* margin-top: 20px; */
  /* position: fixed; */
  width: 95%;
}

.titre, .titre_search{
  clear: both;
  /* width: 88%; */
  /* margin-top: 20px; */
  /* padding-right:50px; */
  /* position: fixed; */
  /* background-color:rgba(0, 0, 0, 0.5); */
}

.soustitre{
  clear: both;
  width: 88%;
  margin: auto;
  text-align: center;
  font-size: 24px;
  color: #14769e;
  margin-bottom: 15px;
}

.div_valider{
  width:99%;
  position: fixed;
  bottom: 35px;
  background-color:rgba(23, 102, 128, 0.6);
  text-align: center;
  padding: 14px 0px 14px 0px;
}

.div_valider button{
  text-align: center;
  padding: 5px 15px 5px 15px;
  cursor: pointer;
  font-size:22px;
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 1px solid #000000;
}

#research input[type="button"]{
  text-align: center;
  padding: 2px 5px 2px 5px;
  cursor: pointer;
  font-size:18px;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border: 1px solid #000000;
  min-width: 119px;
  /* width: 150px; */
  width: 95%;
}


.div_valider button:hover, .div_valider button:active, .div_valider button:focus,
#research input[type="button"]:hover, #research input[type="button"]:active, #research input[type="button"]:focus{
  background-color: #cbfc05;
}

.info_valid{
  font-family: arial;
  color: #fdfc02;
  font-weight: bold;
  font-size: 20px;
}

.titre h2{
  clear: both;
  /* margin-top: 20px; */
}

.fa-arrow-circle-up, .fa-arrow-circle-down{
  font-size: 14px;
  padding: 10px;
  cursor: pointer;
}

.fa-arrow-circle-up:hover, .fa-arrow-circle-up:active, .fa-arrow-circle-up:focus, 
.fa-arrow-circle-down:hover, .fa-arrow-circle-down:active, .fa-arrow-circle-down:focus{
  color: #cbfc05;
}

h2 {
  /* font-weight: 900; */
  font-size: 30px;
}

a, h2, h4 {
  color: #14769e;
}

.welcome{
  position: absolute;
  top: 10px;
  right: 140px;
  font-size: 20px;
  color: #14769e;
  text-align: center;
}

.recherche{
  /* position: absolute; */
  /* width: 85%; */
  /* top: 10px; */
  /* text-align: center; */
  margin-bottom: 15px;
}

.recherche .formdiv{
  text-align: right;
  /* width: 70%; */
  border: 1px solid #2c9cd1;
  border-left: 6px solid #2c9cd1;
  border-right: 6px solid #2c9cd1;
  /* padding: 8px 10px 8px 10px; */
  margin: auto;
  font-family: arial;
  font-size: 18px;
  background-color: #e5f0f4;
  position: relative;
  margin-top: 60px;
}

.recherche .anal_formdiv{
  text-align: right;
  width: 70%;
  border: 1px solid #2c9cd1;
  border-left: 6px solid #2c9cd1;
  border-right: 6px solid #2c9cd1;
  /* padding: 8px 10px 8px 10px; */
  margin: auto;
  font-family: arial;
  font-size: 18px;
  background-color: #e5f0f4;
}

.recherche .formdiv .button{
  padding: 1px 10px 1px 10px;
  font-family: arial;
  font-size: 16px;
  cursor: pointer;
  margin-left: 8px;
}

.formdiv table, .anal_formdiv table{
  border-collapse: collapse;
  width: 100%;
}

.formdiv table td{
  text-align: center;
  vertical-align: top;
  border: 2px solid white;
}

.anal_formdiv table td{
  text-align: center;
  vertical-align: middle;
  border: 2px solid white;
}

.formdiv .td1{
  width: 25%;
}

.formdiv .td2{
  width: 36%;
}

.formdiv .td3{
  width: 20%;
}

.formdiv .td1 input{
  text-align: center;
  font-size: 17px;
}

.formdiv .td2 input{
  font-size: 17px;
}

.formdiv .td1h{
  /* width: 20%; */
}

.formdiv .td2h{
  /* width: 20%; */
}

.formdiv .td3h{
  /* width: 20%; */
}

.formdiv .td4h{
  /* width: 20%; */
}

.formdiv .td5h{
  /* width: 20%; */
}

.formdiv .td6h{
  /* width: 20%; */
}
  
.td6h #annee{
  font-size: 18px;
  color: #35a6ea;
}
  
.reinit{
  position: absolute;
  top: -50px;
  right: 55px;
}
  
.reinit .button{
  padding-left: 40px !important;
  padding-right: 20px !important;
}

.reinit .fas.fa-sync-alt{
  position: absolute;
  left: 15px;
  top: 5px;
}

.td1h input, .td2h input, .td3h input, .td4h input, .td4h select{
  text-align: center;
  font-size: 17px;
}

.height_7{
  height:7px;
}

.logo{
  float: left;
}

.logout{
  float: right;
  z-index: 100;
}

.logout .fas{
  font-size: 38px;
  padding-right: 30px;
  padding-top: 15px;
  /* color: #14769e; */
}

.logout .fas:hover, .logout .fas:active, .logout .fas:focus{
  /* font-size: 42px; */
  color: red;
  cursor: pointer;
}

.petit_retour{
  margin-left: -25px;
  font-family: arial;
  color: #14769e;
  font-style: italic;
  font-weight: bold;
}

.petit_retour:hover, .petit_retour:active, .petit_retour:focus{
  color: red;
  cursor: pointer;
}

.les_retours a{
  color: #14769e !important;
  cursor: pointer;
}

.les_retours a:hover, .les_retours a:active, .les_retours a:focus{
  color: red !important;
}

.login{
  width: 400px;
  border: 1px solid #14769e; 
  margin-top: 10px;
  font-size: 20px;
  color: #14769e;
}

.login label{
  font-size: 28px;
  color: #14769e;
}

.login input{
  font-size: 28px;
  color: #14769e;
  text-align: center;
}

.submit_form{
  text-align: center;
  margin-top: 30px;
  padding: 5px 30px 5px 30px;
  font-size: 16px;
  width: auto;
  cursor: pointer;
}

#submit_form{
  text-align: center;
  padding: 5px 15px 5px 15px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 1px solid #000000;
  margin: auto;
}

#submit_form:hover, #submit_form:active, #submit_form:focus{
  background-color: #83fc02;
}

.page{
  width: 100%;
  margin: auto;
  text-align: center;
  font-size: 16px;
  /* padding-top: 60px; */
}

.page_archive{
  width: 50%;
  margin: auto;
  text-align: left;
  font-size: 16px;
  padding-top: 60px;
  font-size: 18px;
  color: #14769e;
  border: 1px solid #14769e;
  padding: 15px;
  background-color: #fff6e2;
}

.notok{
  font-size: 20px;
  color: red;
}

.forget{
  font-style: italic;
  text-decoration: underline;
}

.anal{
  /* width:90%; */
  border: 2px solid #14769e;
  border-collapse: collapse;
  margin: auto;
  margin-bottom: 100px;
}

.anal td{
  padding: 0 10px 0 10px;
}

.histo{
  /* width:90%; */
  border: 2px solid #14769e;
  border-collapse: collapse;
  margin: auto;
  margin-bottom: 100px;
}

.btn_histo, .btn_anal{
  font-size: 18px;
  font-style: italic;
  padding: 2px 15px 2px 15px;
  margin-top: 5px;
  margin-left: 5px;
  background-color: #2c9cd1;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border: 1px solid #047192;
}

.btn_histo:hover, .btn_histo:active, .btn_histo:focus,
.btn_anal:hover, .btn_anal:active, .btn_anal:focus{
  background-color: #ffffff;
  color: #2c9cd1;
  border: 1px solid #047192;
}

.btn_admin{
  font-size: 18px;
  font-style: italic;
  padding: 2px 15px 2px 15px;
  margin-top: 10px;
  margin-left: 5px;
  background-color: #fce005;
  color: #a08080;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border: 1px solid #047192;
}

.btn_admin:hover, .btn_admin:active, .btn_admin:focus{
  background-color: #a08080;
  color: #fce005;
  border: 1px solid #047192;
}

.anal{
  /* width:90%; */
  /* border: 2px solid #14769e; */
  border-collapse: collapse;
  margin: auto;
  margin-bottom: 100px;
}

.div_retour_anal{
  float: right;
  margin-right: 220px;
}

.anal_button{
  font-size: 22px;
  font-style: italic;
  padding: 3px 17px 3px 17px;
  margin: 12px 0 12px 0;
  background-color: #2c9cd1;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border: 1px solid #047192;
}

.anal_button:hover, .anal_button:active, .anal_button:focus{
  background-color: #ffffff;
  color: #2c9cd1;
  border: 1px solid #047192;
}

.btn_retour{
  font-size: 18px;
  font-style: italic;
  padding: 2px 15px 2px 15px;
  margin-left: 35px;
  /* margin-top: 5px; */
  position: absolute;
  top: 60px;
  background-color: #2c9cd1;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border: 1px solid #047192;
}

.btn_retour:hover, .btn_retour:active, .btn_retour:focus{
  background-color: #ffffff;
  color: #2c9cd1;
  border: 1px solid #047192;
}

.affect{
  width:100%;
  border: 2px solid #14769e;
  border-collapse: collapse;
  margin: auto;
  /* margin-bottom: 100px; */
}

/* .affect tr:not(:first-child):nth-child(even){ */
.select_ligne:nth-of-type(even){
  background-color: #e0f0f7;
}

.select_ligne:hover{
  background-color: #cdfca9;
}

.valid1{
  width:100%;
  /* border: 2px solid #14769e; */
  border-collapse: collapse;
  margin: auto;
  margin-bottom: 200px;
}

.last_comm{
  font-style: italic;
  color: black;
}

.masque{
  border: 0;
  color: red;
  font-family: arial;
  font-style: italic;
  font-weight: bold;
}

.valid1 tr:nth-child(2){
  border-top: 2px solid #14769e;
  border-left: 2px solid #14769e;
  border-right: 2px solid #14769e;
}

.valid1 tr:last-of-type{
  border-bottom: 2px solid #14769e;
}

.valid1 tr:not(:first-child) td:nth-child(2){
  border-left: 2px solid #14769e;
}

.valid1 tr:not(:first-child) td:last-child{
  border-right: 2px solid #14769e;
}

.entetes{
  text-align: center;
  /* background: url(../img/patern-bg.gif) #14769e; */
  background: #2c9cd1;
  color: white;
  border: 1px solid #ffffff;
  font-size: 22px;
  font-family: arial;
  font-weight: bold;
  line-height:25px;
  position: sticky;
  padding: 0 4px 35px 4px;
}

.affect .entetes{
  font-size: 16px;
  line-height:30px;
}

.lignes, .lignes0, .lignes00, .lignes1, .lignes2, .lignes3, .lignes4{
  padding: 0px 4px 0px 4px;
  text-align: center;
  color: #14769e;
  border: 1px solid #14769e;
  font-size: 18px;
  font-family: arial;
  /* line-height:32px; */
  height: 30px;
  /* width: 98%; */
}

.affect input{
  background-color: #ffffe5;
  border: 1px solid grey;
  font-size: 16px;
  height: 24px;
  text-align: center;
  color: #14769e;
}

.affect .lignes{
  font-size: 16px;
  line-height: 18px;
  width: 16%;
  white-space: nowrap;
}

.lignes a{
   padding: 10px 0px 10px 0px;
}

.affect .lignes a{
   padding: 6px 0px 6px 0px;
}

.lignes textarea{
  font-size: 18px;
  font-family: arial;
}

.fa-plus-square::before {
  font-size: 40px;
  /* color: red; */
  padding: 10px;
  cursor: pointer;
}

.fa-plus-square:hover, .fa-plus-square:active, .fa-plus-square:focus {
  color: #83fc02;
}

.affect .fa-sync-alt::before, .affect .fa-user-times::before {
  font-size: 24px;
  cursor: pointer;
  padding-left: 10px;
}

.affect .fa-sync-alt{
  color: red;
}

.affect .fa-thumbs-up{
  display: none;  
  font-size: 24px;
  padding-left: 10px;
  color: #01a02c;
}

.affect .fa-sync-alt:hover {
  color: #000000;
}

.affect .fa-user-times:hover {
  color: red;
}

.les_retours .fa-user-plus::before{
  color: #0791fa;
}

.les_retours a.fa-user-plus:hover::before{
  color: #69fa07;
}

.fa-glasses::before {
  font-size: 30px;
  /* color: red; */
  cursor: pointer;
  padding: 4px 10px 4px 10px;
  /* border: 2px solid white; */
}

.fa-glasses:hover, .fa-glasses:active, .fa-glasses:focus {
  /* background-color: #aaaaaa; */
  color: #83fc02;
  padding: 4px 8px 4px 8px;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 2px solid #83fc02;
}

.fa-check-square::before {
  font-size: 40px;
  color: #cbfc05;
  padding: 10px;
  cursor: pointer;
}

.fa-square::before {
  font-size: 40px;
  /* color: red; */
  padding: 10px;
  cursor: pointer;
}

.fa-square:hover, .fa-square:active, .fa-square:focus {
  color: #83fc02;
}

.square_bleu::before {
  color: #14769e;
}

.square_gris::before {
  color: #a68895;
  cursor: unset;
}

.tr_off{
  background-color: #ffffff;
}

.tr_on{
  background-color: #14769e !important;
}

.td_off{
  color: #14769e;
  border: 1px solid #14769e;
}

.td_on{
  color: #ffffff;
  border: 1px solid #ffffff;
}

.pdf{
  width: 45px;
}

.overall{
  position: absolute;
  top: 0;
  padding-top: 2%;
  display: none;
  width: 99%;
  height: 99%;
  background-color: rgba(1, 1, 1, 0.6);
  z-index: 1000;
}

.overall_content_largeur{
  width: 88%;
  margin: auto;
  text-align: center;
}

.overall_content{
  /* width: 100%; */
  /* height: 70%; */
  z-index: 1000;
  background-color: #ffffff;
  border:1px solid #66695b;
  padding: 4px 10px 0px 10px;
  margin: auto;
  font-family: arial;
  font-size: 16x;
}

#mail_yes{
  display: none;
}

#mail_wait{
  display: none;
}

#mail_not{
  display: none;
}

#mail_bap{
  display: none;
}

#multi_mail_form_not{
  display: none;
}

.info_mail{
  font-family: arial;
  font-size: 18px;
  color: #222222;
  margin: auto;
  text-align: center;
}

.info_mail2{
  /* width: 100%; */
  background-color: #ffffff;
  font-family: arial;
  font-size: 18px;
  color: #222222;
  margin: auto;
  text-align: center;
  border-width: 0 1px 0 1px;
  border-style: solid;
  border-color: #66695b;
}

.destinataire, .expediteur, .objet, .corps{
  text-align: left !important;
}

.expediteur{
  padding-top: 10px;
} 

.expediteur input{
  border: 0;
  font-size: 16px;  
  font-family: monospace;
  font-weight: bold;
  color: #4a82d0;
  width: 90%;
} 

.destinataire input{
  font-size: 16px;  
  font-family: monospace;
  font-weight: bold;
  color: #4a82d0;
  width: 90%;
} 

.objet input{
  width: 94%;
  font-size: 16px;
  font-family: monospace;
  font-weight: bold;
  color: #4a82d0;
}

.mail_form .corps{
  width: 99%;
}  

.corps textarea{
  font-size: 16px;
  font-weight: bold;
  font-family: monospace;
  color: #4a82d0;
  width: 99%;
  height: 115px;
}

.mail_result_ok{
  margin-bottom: 15px;
  color: green;
  width: 98%;
  text-align: center;
  font-weight: bold;
  font-family: arial;
  font-size: 24px;
  background-color: #fade6d;  
}

.mail_result_nok{
  margin-bottom: 15px;
  color: red;
  width: 98%;
  text-align: center;
  font-weight: bold;
  font-family: arial;
  font-size: 24px;
  background-color: #fade6d;  
}

.submit_mail{
  /* width: 99%; */
  background-color: #ffffff;
  padding: 14px;
  border-width: 0 1px 0 1px;
  border-style: solid;
  border-color: #66695b;
}

#submit_mail{
  text-align: center;
  padding: 5px 15px 5px 15px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 1px solid #000000;
  margin: auto;
}

#submit_mail:hover, #submit_mail:active, #submit_mail:focus{
  background-color: #83fc02;
}

.overall_content_largeur #close{
  background-color: #623625;
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 1px solid #000000;
  float: right;
  margin:10px;
  /* display:none; */
}

.titre_choix{
  width: 40%;
  /* margin: auto; */
  margin: 0 auto 20px;
  padding: 7px;
  border: 1px solid #14769e;
  font-size: 29px;
  font-family: arial;
  color: #f9f9f9;;
  background-color: #5daee2;
}

.choix_cp{
  border: 1px solid #14769e;
  background-color: white;  
}

.choix_cp ul{
  list-style-type: none;
  margin-left: -35px;
}

.choix_cp button{
  font-size: 20px;
  min-width: 300px;
  margin: 3px 0px 3px 0px;
  padding: 5px;
  cursor: pointer;
}

.choix_liste{
  border: 1px solid #14769e;
  background-color: white;  
}

.choix_liste ul{
  list-style-type: none;
  margin-left: -35px;
}

.choix_liste button{
  font-size: 20px;
  min-width: 400px;
  margin: 10px 0px 10px 0px;
  padding: 5px;
  cursor: pointer;
  width: 80%;
}

.flag_sg{
  font-size: 15px;
  color: #418da5;
  font-weight: bold;
}

.a_valider{
  color: #111111;
}

.conforme{
  color: #0eb302;
}

.en_attente{
  color: #ff8000;
}

.non_conforme{
  color: #ff0000;
}

#div_analytics_content{
  position: absolute;
}

#div_analytics_contentheader{
    padding: 10px;
    cursor: move;
    z-index: 10;
    background-color: #2C9CD1;
    color: #fff;
    height: 4px;
}

.analytics{
  z-index: 120;
  top: 5px;
  width: 99%;
  /* height: 30%; */
  display: none;  
}

.analytics_content{
  /* height: 80%; */
  /* width: 50%; */
  /* top: 30px; */
  /* left: 25%; */
  margin: auto;
  border: 3px solid #278ebe;
  width: 60%;
  background-color: #e8f2f6;
  position: fixed;
  top: 70px;
  left: 20%;
  padding: 30px 3px 10px; /* évite le chevauchement de la barre de scroll sur la bordure*/
  z-index: 1000;
}

.analytics_content #closex{
  font-family: Comic Sans MS;
  background-color: #b62424;
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  /* margin: 5px; */
  margin: 5px 25px 5px 5px;
/*   border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px; */
  
  border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
  
  border: 1px solid #000000;
  float: right;
  /* position: relative; */
  z-index: 200;
  
  position: absolute;
  right: -56px;
  top: -8px;
}

.analytic_title{
  margin-bottom: 20px;
  font-size: 26px;
  color: #14769e;
  font-family: arial;
}

.iframe_analytics{
  width: 100%;
  border: 0;
  overflow: auto;
  /* height: 200px; */
  min-height: 250px;
  /* min-height: 150px;*/
  max-height: 500px;
  vertical-align: middle;
  margin-top: -30px;
  margin: auto;
}

.iframe_analytics .page{
  overflow: auto;
  height: auto;
}

.linettes{
  padding: 0 !important;
  width: 40px;
  height: 40px;
  display: inline-block;
  background: url(../img/linetes_double_image.png) no-repeat center bottom;
  margin-top: 6px;
  cursor: pointer;
}

.linettes:hover, .linettes:active, .linettes:focus{
  background-position: center top;
}

.hidden_div{
  display: none;
  height: 160px;
}

#iframe_ptt_yes, #iframe_ptt_wait, #iframe_ptt_not{
  /* width: 80%; */
  height: 100%;
}



/*------------------------------------
 * AJOUTS BEN
 * -----------------------------------*/

#analytics body{
  padding-bottom:0;
}


/* .analytics_content{
  position:relative;
}
.analytics_content:after{
  content:"...";
  
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  background-color:rgba(23, 102, 128, 0.6);
  color:#fff;
  font-weight:bold;
  font-size:30px;
  
  height:50px;
} */
 
/* PAGE choose_cpt.php ---------------*/
.choix_liste button {
    min-width: unset;
}


/* PAGE choose_sg.php ----------------*/



/* PAGE valid1.php -------------------*/
.div_valider{
  left:0.5%;
}

.info_valid {
  margin-top:10px;
}


/* PAGE histo.php --------------------*/
.td1h input, .td2h input, .td3h input, .td4h input {
  width: 94%;
}


/* PAGE anal.php --------------------*/
.td1a input, .td2a input, .td3a input, .td4a input {
  width: unset;
}

.clear_right_date{
  margin-bottom:5px;
}

.recherche .formdiv .button{
  margin-left:0;
}


/* PAGE analytique.php --------------------*/

 

@media (max-width: 1600px){
  /* PAGE histo.php --------------------*/
  .anal .lignes,
  .histo .lignes{
    font-size: 14px;
  }

  .anal .entetes,
  .histo .entetes{
    font-size: 17px;
    line-height: 20px;
    padding: 10px 4px 13px 4px;
  }
}

@media (max-width: 1400px){
  /* PAGE valid1.php -------------------*/
  .entetes {
    font-size: 16px;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 14px;
  }
  
  .titre{
    /* margin-top:15px; */
    margin-top: 35px;
    float:left;
    width: 100%;
  }
  
  .titre_choix{
    clear: both;
  }
  
  .page:not(.choose_sg) .titre h2{
    text-align:left;
    width: 65%;
  }
  
  .choose_sg .titre{
    width:100%;
  }
  
  .valid1 td{
    /* word-break: break-word; */
  }
  
  .lignes{
    font-size: 20px;
  }
    
  .lignes textarea {
    width: 97%;
  }
  
  .masque{
    font-size:13px;
  }
  
  
  /* PAGE histo.php --------------------*/

}


@media (max-width: 1200px){
  /* PAGE valid1.php -------------------*/
  .entetes{
    font-size: 14px;
    line-height: 16px;
    padding-top: 10px;
    padding-bottom: 13px;
  }
  
  .lignes{    
    word-break: normal;
    font-size: 20px;
  }
  
  .pdf {
    width: 40px;
  }
  
  .histo .entetes{
    font-size: 14px;
    line-height: 16px;
    padding: 10px 2px 13px 2px;    
  }
  
  .histo .lignes {
    /* font-size: 13px; */
    font-size: 12px;
    padding: 0px 2px 0px 2px;    
  }
    
  /* CADRE analytics -------------------*/
  .analytics_content{
    width:70%;
    left:15%;
  }
  
}


@media (max-width: 1100px){
  /* PAGE choose_cpt.php ---------------*/
  .titre_choix {
    width: 98%;
    float:left;
    clear:left;
  }
  
  
  /* PAGE anal.php ---------------------*/
  /* PAGE histo.php --------------------*/
  .td1a, .td2a, .td3a, .td6a,
  .td1h, .td2h, .td3h, .td4h, .td5h, .td6h:not(.reinit) {
    display:block;
    float:left;
    width:100%;
    clear:both;
  }
  
  #research input[type="button"]{
    width:150px;
  }
  
  /* body.page-historique .titre{     */
  .titre{    
    width:100%;
  }
  
  /* body.page-historique .titre h2.section-heading_search { */
  .titre h2.section-heading_search {
    margin-top: 40px;
    margin-left:0;
  }
  
  .td1h, .td2h, .td3h, .td4h, .td5h, .td6h:not(.reinit), 
  .td1a, .td2a, .td3a, .td4a, .td5a, .td6a {
  /* body.page-historique .td1h,
  body.page-historique .td2h,
  body.page-historique .td3h,
  body.page-historique .td4h,
  body.page-historique .td5h,
  body.page-historique .td6h { */
    text-align:left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    box-sizing: border-box;
    
    padding:10px;
    background-color:#e5f0f4;
    margin-bottom:1px;
    
    -webkit-box-align: center;
    -ms-flex-align: center;
            -ms-grid-row-align: center;
        align-items: center;
  }
  
  
  /* body.page-historique .td1h div,
  body.page-historique .td2h div,
  body.page-historique .td3h div,
  body.page-historique .td4h div,
  body.page-historique .td5h div,
  body.page-historique .td6h div */
  .clear_right_date,
  .td1h div,
  .td2h div,
  .td3h div,
  .td4h div,
  .td5h div,
  .td6h div{
    display:none;  
  }
  
  /* body.page-historique .td1h input,
  body.page-historique .td2h input,
  body.page-historique .td3h input,
  body.page-historique .td4h input,
  body.page-historique .td5h input,
  body.page-historique .td6h input  */
  .td1h input,
  .td2h input,
  .td3h input,
  .td4h input,
  .td5h input,
  .td6h input {
    width: auto;
    display:inline-block;
  }
  
  /* body.page-historique .td1h label,
  body.page-historique .td2h label,
  body.page-historique .td3h label,
  body.page-historique .td4h label,
  body.page-historique .td5h label,
  body.page-historique .td6h label */
  .td1h label,
  .td2h label,
  .td3h label,
  .td4h label,
  .td5h label,
  .td6h label {
    margin-right:15px;
  }
  
  
  /* body.page-historique .td1h input[type="text"],
  body.page-historique .td2h input[type="text"],
  body.page-historique .td3h input[type="text"],
  body.page-historique .td4h input[type="text"],
  body.page-historique .td5h input[type="text"],
  body.page-historique .td6h input[type="text"],
  body.page-historique .td1h input[type="date"],
  body.page-historique .td2h input[type="date"],
  body.page-historique .td3h input[type="date"],
  body.page-historique .td4h input[type="date"],
  body.page-historique .td5h input[type="date"],
  body.page-historique .td6h input[type="date"] */
  .td1h input[type="text"],
  .td2h input[type="text"],
  .td3h input[type="text"],
  .td4h input[type="text"],
  .td5h input[type="text"],
  .td6h input[type="text"],
  .td1h input[type="date"],
  .td2h input[type="date"],
  .td3h input[type="date"],
  .td4h input[type="date"],
  .td4h select,
  .td5h input[type="date"],
  .td6h input[type="date"] {
    flex: 1 1 10%;
    margin: 0 15px 0 0;
  }
  
  .td6h #annee{
    font-size: 18px;
  }
    
  /* body.page-historique .recherche .formdiv{ */
  .recherche .anal_formdiv,
  .recherche .formdiv{
    font-size: 16px;   
    border: 0;    
    border-right: 0;    
    /* border-left: 6px solid #2c9cd1; */
    background-color: transparent;
  }  
  
  /* CADRE analytics -------------------*/
  .analytics_content{
    width:80%;
    left:10%;
  }

  /* anal.php --------------------------*/
  .recherche .anal_formdiv,
  .anal{
    width: 100%;
  }
  
  .td6a{
    -webkit-box-pack:center;
    -ms-flex-pack:center;
        justify-content:center;
        background-color:transparent;
  }
  
  .anal_button{
    margin-top:0;
  }
  
  .height_7{
    display:none;
  }
  
  .td1a input,
  .td2a input,
  .td3a input{
    margin-left: 20px;
    -webkit-box-flex:1;
      -ms-flex:1;
          flex:1;
  }
  
  .td2a label:not(:first-of-type){
    margin-left:20px;
  }

  .reinit {
    right: unset;
  }
  
  
}


@media (max-width: 910px){
  /* PAGE valid1.php -------------------*/
  .titre h2{
    /* width: 65%; */
  }
}

.tri{
  padding: 2px 0 2px 0;
  position: absolute;
  bottom: 5px;
  width: 100%;
}

.tri_up,.tri_down{
  font-size: 16px;
  cursor: pointer;
  display: inline;
}

.temp{
  font-size: 16px;
  color: red;
}

.heure{
  font-size: 16px;
}

.script_frame, #script_frame{
  width: 100%;
  height: 200px;
}

#closediv{
  background-color: #623625;
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 1px solid #000000;
  float: right;
}

#closediv:hover{
  background-color: red;
}

#add_user_container, #promo_user_container{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: none;
  background-color: rgba(9, 101, 132, 0.3);
}

#add_user, #promo_user{
  position: relative;
  top: 20px;
  margin: auto;
  padding: 10px;
  padding-bottom: 60px;
  border: 2px solid #5286ae;
  background-color: white;
  width: 950px;
  height: auto;
  border-radius: 15px 15px 15px 15px;
  -moz-border-radius: 15px 15px 15px 15px;
  -webkit-border-radius: 15px 15px 15px 15px;
}

#add_user_container #closediv, #promo_user_container #closediv{
  background-color: #623625;
  color: #ffffff;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 1px solid #000000;
  float: right;
}

#add_user_container #closediv:hover, #promo_user_container #closediv:hover{
  background-color: red;
}

#add_user_container fieldset, #promo_user_container fieldset{
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 1px solid #5286ae;
  margin-top: 5px;
}

#add_user_container #valide, #promo_user_container #valide{
  margin: 5px;
}

#archiv fieldset{
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 1px solid #5286ae;
  text-align: center;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 15px;
  width: 70%;
}

#archiv select{
  width: 150px;
  font-size: 18px;
  margin-left: 30px;
  text-align: center;
  color: #4685c9;
  border: 1px solid #5286ae;
  border-radius: 5px 1px 1x 5px;
  -moz-border-radius: 5px 1px 1x 5px;
  -webkit-border-radius: 5px 1px 1x 5px;
}

#archiv #ok_archiver{
  width: 150px;
  font-size: 22px;
}

#form_container{
  width: 80%;
  margin-top: 15px;
  margin-right: auto;
  margin-left: auto;
}

.oblig{
  color: red;
  font-style: italic;
  font-size: 14px;
  text-align: center;
}

.info_promo{
  color: #329fde;
  font-style: italic;
  font-size: 16px;
  text-align: center;
  margin-bottom: 15px;
}

#new_user h3{
  font-size: 22px;
  font-style: italic;
  font-weight: bold;
  line-height: 0px;
  text-align: center;
}

#new_user label{
  width: 25%;
  margin-left: 20%;
  display: inline-block;display: inline-block;
  line-height: 30px;
}

#new_user input, #new_user select{
  /*float: right;*/
  margin-right: 20%;
  clear: right;
  display: inline-block;
  font-size: 16px;
  width: 200px;
}

#new_user #valide{
  width: 100px;
}

/* Placeholder text color -- selectors need to be separate to work. */
#new_user input::-webkit-input-placeholder {
  color: #686868;
  font-size: 16px;
  font-style: italic;
}

#new_user input:-moz-placeholder {
  color: #686868;
  font-size: 16px;
  font-style: italic;
}

#new_user input::-moz-placeholder {
    color: #686868;
    opacity: 1;
    /* Since FF19 lowers the opacity of the placeholder by default */
  font-size: 16px;
  font-style: italic;
}

#new_user input:-ms-input-placeholder {
  color: #686868;
  font-size: 16px;
  font-style: italic;
}

#new_user option:disabled{
  font-size: 16px;
  font-style: italic;
}

#message_container{
  width: 100%;
  position: fixed;
  text-align: center;
  margin: auto;
  top: 30px;
}

#archiv_message_container{
  width: 100%;
  position: fixed;
  text-align: center;
  margin: auto;
  top: 130px;
}

#record_ok{
  display: none;
  text-align: center;
  width: 18%;
  margin: auto;
  border: 2px solid #5085aa;
  background-color: #fafee2;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
}

#update_ok{
  display: none;
  text-align: center;
  width: 18%;
  margin: auto;
  border: 2px solid #5085aa;
  background-color: #fafee2;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
}

#delete_ok{
  display: none;
  text-align: center;
  width: 18%;
  margin: auto;
  border: 2px solid #5085aa;
  background-color: #fafee2;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
}

#admin_ok{
  display: none;
  text-align: center;
  width: 18%;
  margin: auto;
  border: 2px solid #5085aa;
  background-color: #fafee2;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
}

#archiv_ok{
  display: none;
  text-align: center;
  width: 18%;
  margin: auto;
  border: 2px solid #5085aa;
  background-color: #fafee2;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
}

#archiv_notok{
  display: none;
  text-align: center;
  width: 18%;
  margin: auto;
  border: 2px solid #ff2600;
  background-color: #fee892;
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
}

#record_ok h3{
  color: #00b255;
}

#btn_autres{
  display: none;
  text-align: center;
}

#btn_autres input{
  margin: 0px 30px 0px 30px;
}

.promote{
  margin-top: 20px;
  margin-bottom: 20px;
}

#btn_promote{
  font-size: 18px;
  color: #35789b;
  padding: 2px 11px 2px 11px;
  cursor: pointer;
}

#div_comptes{
  margin: auto;
  text-align: center;
  width: 100%;
}

#tab_promo{
  margin: auto;
  border: 1px solid #73b6dc;
  border-collapse: collapse;
  margin-top: 7px;
}

#tab_promo .key{
  border: 1px solid #73b6dc;
  border-top: 1px solid #73b6dc;
  padding: 1px 30px 1px 30px;
}

#tab_promo .key_box{
  border: 1px solid #73b6dc;
  border-top: 1px solid #73b6dc;
  padding: 1px 5px 1px 5px;
}

#tab_promo .val{
  border: 1px solid #73b6dc;
  border-top: 1px solid #73b6dc;
  padding: 1px 10px 1px 10px;
}

#tab_promo .val_box{
  border: 1px solid #73b6dc;
  border-top: 1px solid #73b6dc;
  padding: 1px 3px 1px 3px;
}

#promote_user #btn_valide{
  text-align: center;
}

#promote_user #btn_valide #valide{
  font-size: 20px;
  height: 35px;
  width: 135px;
  cursor: pointer;
}

#tab_promo input[type=checkbox]{
  display: none;
}

/**
 * Checkbox Two
 */
.checkboxTwo {
  width: 50px;
  height: 20px;
  background: #136d9a;
  margin: 6px 29px;
  border-radius: 50px;
  position: relative;
}
/**
 * Create the line for the circle to move across
 */
.checkboxTwo:before {
  content: '';
  position: absolute;
  top: 18px;
  left: 6px;
  height: 1px;
  width: 36px;
  background: #136d9a;
}
/**
 * Create the circle to click
 */
.checkboxTwo label {
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  transition: all .2s ease;
  cursor: pointer;
  position: absolute;
  top: 1px;
  z-index: 1;
  left: 3px;
  background: #ddd;
}
/**
 * Create the click event for the checkbox
 */
/* .checkboxTwo input[type=checkbox]:checked + label { */
.checkboxTwo input[type=checkbox]:checked + label {
  left: 30px;
  background: #fbf809;
}

.choix_dest{
  /* width: 90%; */
  margin-left: 0px;
  padding: 20px 0 10px 0;
  text-align: left;
}

.margebas{
  height: 120px;
}

thead th{
  position: sticky;
  top: 0;
}

thead th:not(last-child):after{
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: white;
  display:block;
}

thead th:last-child:after{
  display: none;
}



 