.LightGrayHeader th {background-color: #F5F5F5; text-align: center;}
.LightGrayHeader th.text-right{text-align: right;}
.LightGrayHeader th.text-left{text-align: left;}

#divright {width:75px; display: table-cell; padding-left: 20px;vertical-align: top;}
#divbodyleftpadding {width:75px; display: table-cell;}
#divbody {width:1080px; display: table-cell;}

input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #468847;
  background-color: #DFF0D8;
  border: 1px solid #D6E9C6;
}

span.parsley-error
{
  color: #B94A48 !important;
  background-color: #F2DEDE !important;
  border: 1px solid #EED3D7 !important;
}
input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: #B94A48;
  background-color: #F2DEDE;
  border: 1px solid #EED3D7;
}

.parsley-errors-list {
  margin: 2px 0 3px;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  font-weight: bold; color:red;
  transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
}

a[onclick] {
  cursor: pointer;
}

@media print {
  a[href]:after {
    content: none !important;
  }
}


#divcontenthead { margin : 5px auto 5px;padding: 0 25px; }
#contentheadbody{display: flex; margin-top:20px; width: 100%;}
#divcontent{min-height: 400px;}
.footer{margin: 0 auto;width: 100%;}

.GrilleEdition {width: auto;}
.GrilleEdition td.titre {min-width: 150px;}
.GrilleEdition td.titre {font-weight: bold;}
.GrilleEdition td.titre.req {color: rgb(239, 70, 70);}

/* correctif taille et bordure icones input-group */
.input-group-btn {
  border: 1px solid #ccc;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;}

.left-input-group-btn {
  border-radius: 3px 0px 0px 3px;
  border-right: 0px;
}


.selectRow tbody tr:hover,#ListMakerTable_default tbody tr:hover{
  background-color: #6CAFF1!important;
  color: #333333;
  font-weight: 500;
  cursor:pointer;
}
.selectRow tbody tr:hover a,#ListMakerTable_default tbody tr:hover a{
  color: #333333;
}
.selectRow tbody tr:hover{
   -ms-transform: translate(0, -3px); /* IE 9 */
   -webkit-transform: translate(0px, -3px); /* Safari */
   transform: translate(0px, -3px);
   animation: ease-in-out 0.5s;
   transition: width 0.2s, height 0.2s, transform 0.2s;
 }
.selectRow tbody tr:active{
  transform: translate(5px, 0px);
  animation: ease-in-out 0.2s;
  transition: width 0.2s, height 0.2s, transform 0.2s;
}

#groupfilters{
  padding-left: 0;
}


/************ Format grille chantier, employe, service ... ************/
#list_element_grid {
  background-color: white;
  box-shadow: none;
  display: grid;
  grid-gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  padding: 0;
  width: 100%;
  margin-top: 16px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

#list_element_grid.portait, .listEmployes{
  display: grid;
  grid-gap: 24px;
  grid-template-columns: repeat(auto-fill,minmax(172px,1fr));
}

#list_element_grid .select_chantier_box{
  margin-left: 0;
  margin-right: 0;
}


.container_elementofGrid,.select_chantier_box, .select_employe_box {
  border-radius: 8px;
  border: 1px solid #EBEAEA;
  margin-top: 0px;
  margin-bottom: 0;
  padding: 0;
  text-align: center;
  width: auto;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.container_elementofGrid :hover {
  opacity: 1;
  border-color: white;
}

.container_elementofGrid :hover img {
  border: 0px;
}


.select_service_box:hover img,.select_chantier_box:hover img, .select_employe_box:hover img{ transform: scale(1); -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); }
.select_service_box:hover,.select_chantier_box:hover, .select_employe_box:hover {border-color: #C00000;}




.select_chantier {
  cursor: pointer;
  text-align: center;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  width: auto;
  white-space: normal;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.select_chantier img{
  border-radius: 8px;
  height: 100px;
  max-height: 100px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.select_chantier span{
  display: block;
  text-align: center;
  padding: 4px;
  width: 100%;
}


.button_elementofGrid {
  border: none;
  cursor: pointer;
  text-align: center;
  padding: 4px;
  white-space: normal;
  width: auto;
}
.button_elementofGrid.employe{
  height: 195px;
}

.button_elementofGrid.agence,.button_elementofGrid.service, .button_elementofGrid.materiel, .button_elementofGrid.chantier{
  height: 152px;
}
.button_elementofGrid.agence img,.button_elementofGrid.service img, .button_elementofGrid.materiel img, .button_elementofGrid.fourn img{
 object-fit: contain;
}



.button_elementofGrid img {
  border: none;
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(0.96);
  -webkit-transform: scale(0.96);
  -moz-transform: scale(0.96);
  -ms-transform: scale(0.96);
  -o-transform: scale(0.96);
  width: 100%;
}

.button_elementofGrid svg.icon{
  height: 100px;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  color: var(--primaryColor);
  fill: var(--primaryColor);
}


.button_elementofGrid span,.text_label_employe, .text_label_materiel {
  font-weight: normal;
  font-size: 13px;
  line-height: 14px;
  overflow: hidden;
  text-overflow: clip; 
}

.container-label-elementofGrid{
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 48px;
  max-height: 48px; 
  position: relative;
}

.text_label_chantier i{
  font-size: 11px;
  font-weight: bold;
  line-height: 12px;
}


.select_employe_box,.select_chantier_box  { 
  border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; -ms-border-radius: 8px; -o-border-radius: 8px; 
  padding: 8px;
  position: relative;
  text-align: center; 
}

.select_employe .etiquetteInfo{
  border-radius: 3px;
  bottom: 64px;
  position: absolute;
  width: 100px;
  max-width: 100px;
  z-index: 1;
  padding: 2px 4px;
  margin: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}
.select_employe .etiquetteInfo.newInterim{
  width: 128px;
  max-width: 128px;
}


.ribbon {
  width: 128px;
  height: 128px;
  overflow: hidden;
  position: absolute;
  top: -4px;
  right: -4px;
}
.ribbon::before {
  top: -6px;
  left: 26px;
  border-top-color: transparent;
  border-right-color: transparent;
  position: absolute;
  content: '';
  display: block;
  border: 5px solid #AAAAAA;
  box-sizing: content-box;
  z-index: 1;
}
.ribbon::after {
  bottom: 26px;
  right: -6px;
  border-top-color: transparent;
  border-right-color: transparent;
  position: absolute;
  z-index: 0;
  content: '';
  display: block;
  border: 5px solid #AAAAAA;

}


.img-generique{
  background-color: #f5f5f5;
  color: #C00000;
  display: block;
  width: 180px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  left: -8px;
  top: 37px;
  transform: rotateZ(45deg);
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  z-index: 1;
  font-weight: normal;
  font-size: 11px;
  text-align: center;
}

.select_employe_box .inactif, .select_chantier_box .inactif{
  background-color: #f5f5f5;
  color: #C00000;
  display: block;
  width: 180px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  left: -8px;
  top: 32px;
  transform: rotateZ(45deg);
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  z-index: 1;
}

.select_employe {
  align-items: center;
  background-color: white;
  border:none;
  cursor:pointer;   
  display:flex; 
  flex-direction:column;
  justify-content: center;
  padding:0;
  width: 100%;
}

.select_employe img{
  border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; -ms-border-radius: 8px; -o-border-radius: 8px; 
  display: block;
  object-fit: cover;
  max-width: 156px;
  transform: scale(0.96);
  -webkit-transform: scale(0.96);
  -moz-transform: scale(0.96);
  -ms-transform: scale(0.96);
  -o-transform: scale(0.96);
}


.container_picto_personnel{
  align-items: center;
  display: flex;
  height: 156px;
  justify-content: center;
  width: 156px;
}
.container_picto_materiel{
  height: 100px;
  
}
.container_picto_materiel .fad{
  font-size: 5.8em;
}
.container_picto_materiel:hover .fad{
  font-size: 6em;
}


.select_employe .fa-user, .materiel .fa-wrench{color:#C00000;}




span.req {color:#C00000; font-size: 9px;}
.titre.req {font-weight:bold;}


/*select2*/

a.ui-link-employed {
  color:#337ab7!important;
  text-decoration: none;
}

@media all and (max-width: 767px) {
  .container_elementofGrid {
    margin-top: 0px;
    height: auto;
  }
}

a.no-underline-i:hover, a.no-underline-i:focus {
  text-decoration: none;
}

a.no-underline-i:hover span, a.no-underline-i:focus span {
  text-decoration: underline;
}