/* accès au droits utilisateurs */

body{
  overflow: hidden;
}

.hidden{
  display: none;
}
sup{
  color:red;
}

.droitsButton{
    position: fixed;
    display: block;
    right: 0%;
    top: 0%;
    z-index: 1000;
    max-width: 5%;
}
.droitsButton img{
    display: block;
}
.droitsButton:hover{
  cursor: pointer;
}

.btnSupprimer{
    padding: 0;
}
/* popup */
.popupListe, .popupCreationModification{
  display: none;
  float: center;
  position: absolute;
  top: 5%;
  left: 7.5%;
  z-index: 0;
  width: 85%;
  height: 80%;
  border: 1vw ridge rgba(215, 226, 232, .6);/*bordure gris clair*/
  outline: .2vw solid #565c62;/*bordure externe gris foncé*/
  background-color: #d9dadc;
    background:
  linear-gradient(180deg, rgba(189,190,192,1), rgba(217,218,220,0) 10%), 
  linear-gradient(90deg, rgba(189,190,192,1), rgba(217,218,220,1) 10%);  
  box-shadow: 2em 4em 3em 3em rgba(0, 8, 40, .5), inset .2em .2em 0 0 rgba(0, 0, 0, .6), inset .4em .4em .3em .3em rgba(130, 140, 150, .3);/* offset-x | offset-y | blur-radius | spread-radius | color */
}

.popupCreationModification{
  top: 10%;
  z-index: 9000;
  width: 40%;
  height: 82%;
}

.popupListe *, .popupCreationModification *{
  font-family: 'Verdana';
}

/* Communs aux 2 popup*/ 
.titre{
  width: 40%;
  position: absolute;
  padding-top: 2%;
  color: #FFFFFF;
  height: 6%;
  font-weight: bold;
  text-align: center;
  font-family: 'Verdana';
  vertical-align: middle;
  font-size: 1vw;
  background-color: #454c52;/*gris foncé*/
  display: table-cell;
}
.popupCreationModification .titre{
  width: 67%;
}

@media only screen and (min-width: 1000px) {
  .popupCreationModification{
    height: 70%;
    width: 35%;
    margin-left: 25%;
  }
}
@media only screen and (max-width: 999px) {
  .popupCreationModification{
    height: 81%;
    width: 35%;
    margin-left: 25%;
    margin-top: -1em;
  }
}

button{
  border :0 !important;
  background-color: transparent;
}

button img {
width: 100%;
}

button:hover{
  cursor: pointer;
}

/* pour la liste des utilisateurs */

#listeUsers{
  display: block;
  float: center;
  width: 90%;
  height: auto;
  position: absolute;
  top: 9vh;
  left: 4.3vw;
}

/* pour la liste des sites à affecter à un utilisateur */
select{
  display: block;
  float: center;
  width: 100%;
  height: auto; 
  font-size: 0.9vw;
  border :2;
}

.aideParcSelection{
  font-size: 0.6em;
  font-style: italic;
}

.ensemblePOPUP {
  width: 100%;
  height: auto;
  display: block;
  text-align: center;
  margin: 8% auto;
  margin-bottom: 0;
}

@media only screen and (max-width: 999px) {
  #divFermer {
    width: 13%;
  }
}



.TABLEAU {
  width: 100%;
  height: auto;
  display: block;
  text-align: center;
  margin: 8% auto;
  margin-bottom: 0;
}

th{
  padding-left: 1em !important;
  padding-right: 1em !important;
}
td.clickable-row{
  white-space: break-spaces !important;
}

.divTableUsers{
  width: 100%;
  height: 100%;
}

.texte_centrer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container {
 display: block;
 width: 100%;
 float: center;
 margin:0 auto;
}

#divPlus{
  text-align: left;
  width: 50vw;
  display: block;
  margin-left: 5%;
  font-size: 0.95vw;
  font-family: 'Verdana';
  float: left;
  position: absolute;
  top: 89%;
  left: 0;
  padding-top: 1em;
}
.plus{
  position: relative;
  left: 0;
  width: 5%;
}
.plus img{
  width: auto;
}

.textPlus{
  border: 0;
  vertical-align: top;
  height: 3em;
  background: transparent;
  color: #000000;
  font-size: 0.8em;
}
td label{
    position: absolute;
    padding-left: 2%;
    padding-top: 0.5%;
    font-size: 0.95vw;
    font-family: 'Verdana';
}

#divFermer{
  position: absolute;
  right: -1%;
  text-align: right;
  width: 100%;
  bottom: -2%;
}
#divFermer button{
  width: 10%;
}


.fermerPopup:hover{
  cursor: pointer;
}

/* création/édition d'un utilisateur */
#createUsers {
    display: inline-block;
    width: 50%;
    float: center;
    margin: 0 auto;
    /* position: absolute; */
    top: 26%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
}

.divUserButton{
  display: inline-block;
}
.divUserButton button{
    width: 43%;
    padding-left: 0;
    padding-top: 1em;
    display: inline-block;
}
.validerUser{
    position: relative;
    right: -27% !important;
}

.container form-container register-container {
width: 100%;
}

.contenant {
  position: relative;
  text-align: center;
  color: #000;
  display: table-cell;
}

.table-striped {
  width:100% !important;
  margin-right: 0;  
}
#table_wrapper {
display: block;
width: 100%;
}

.tableFixHead       { overflow: auto; height: 50%; }
.table-responsive   { display: table}

.tableFixHead thead th { position: sticky; top: 0; z-index: 1}
table  {
  border-collapse: collapse;
  width: 99%;
  border: 0.2rem solid !important;
  border-color: #ffffff !important;
  outline-color: #C3CBCE;
  outline-style: solid;
  outline-width: 0.4rem;
}

th, td {
  padding: 1% 3%;
  text-align:  center !important;
  font-size: 0.95vw;
  font-family: 'Verdana';
 
}

th:nth-child(odd){
    background:
  linear-gradient(0deg, rgba(163,172,179,1), rgba(112,117,120,1) 98%); 
  border-bottom: 1px solid #FFF; 
}
th:nth-child(even){
    background:
  linear-gradient(0deg, rgba(182,191,196,1), rgba(131,139,143,1) 98%);  
  border-bottom: 1px solid #FFF; 
}
tr:nth-child(odd){
    background:
  linear-gradient(90deg, rgba(189,190,192,1), rgba(229,229,231,1) 5%);  
}
tr:nth-child(even){
    background:
  linear-gradient(90deg, rgba(189,190,192,1), rgba(242,243,245,1) 5%);  
}

/*tbody{
    display: block;
    height: 80%;
    overflow-y: auto;
}*/

td{
    margin: 1%;
  }

.table-row{
  cursor:pointer;
}
td.details-control {
  background: url('../img/details_open.png') no-repeat center center;
  cursor: pointer;
  background: #ACB7BD;
}


.horizontal-scroll-except-first-column {
  width: 100%;
  overflow: auto;
}

.horizontal-scroll-except-first-column > table {
  margin-left: 8em;
}

.horizontal-scroll-except-first-column > table > * > tr > th:first-child,
.horizontal-scroll-except-first-column > table > * > tr > td:first-child {
  position: absolute;
  width: 8em;
  margin-left: -8em;
  background: #ccc;
}

.horizontal-scroll-except-first-column > table > * > tr > th,
.horizontal-scroll-except-first-column > table > * > tr > td {
  /* Without this, if a cell wraps onto two lines, the first column
   * will look bad, and may need padding. */
  white-space: nowrap;
}

#table_filter, .dt-buttons{
  display: none;
}

#createUsers input, #createUsers label{
  width: initial;
  font-size: 0.9vw;
  color: #000;
  font-family: 'Verdana';
  font-weight: normal;
  margin :initial;
  width: 98%;
}
#createUsers label{
  /*text-transform: capitalize;*/
}
#createUsers [type=button]{
  width: 100%;
}
#createUsers [type=checkbox]{
  width: 9%;
}

#createUsers div{
  text-align: left;
  padding-top: 0.5em;
  

}

.captcha *{
  margin-left: inherit !important;
  vertical-align: middle;
}
.size1{
  font-size: 0.6em;
}
.captcha {
  cursor: pointer;
}

[type=password]{
  display: block;
}

#password-error{
  display: block;
}

.dtfc-right-top-blocker{
  display: none !important;
}
.dataTables_scrollHead, .dataTables_scrollFoot {
  background-color: transparent;
}
.dataTables_scrollBody{
  width: 100% !important;
  border-left: 0.35rem solid #C3CBCE !important;
  outline-width: 0.4rem;
}
.dataTables_scrollFoot {
  width: 98% !important;
  border-left: 0.35rem solid #C3CBCE !important  
}
.dataTables_scrollFoot .dataTable {
  border-top: 0 !important;
}

.dataTables_scrollHead .dataTable {
  border-bottom: 0rem solid !important;
}
.dataTables_scrollBody .dataTable {
  border-top: 0rem solid !important;
}

.dataTables_scrollHeadInner{
  padding-left: 5px;
}

.inline-block{
  display: inline-block !important;
}

input[required="required"]{
  border: 1px solid red;
}