


/**** dropdown submenu ****/
/*https://getbootstrap.com/2.3.2/components.html#dropdowns*/
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}
/* end dropdown submenu */

/* Fenetre modale calcul  */

#modal-calcul {
  margin-top:65px;
  height:300px;
  max-width:600px;
}

.employee-data{
    min-height:380px;
    margin-top:25px;
    max-width:600px;
    overflow: hidden;
}

.employee-no-data{
    display: none;
}

.option-disabled {
    margin-left:30px;
    font-weight:bold;
}

/* Fin modal calcul */

.error-message{
    display:block;
    visibility: hidden;
    color:red;
    font-size: 14px;

}

.orange-flexgroup{
    color:orangered;
}

.margin-bottom-25{
    margin-bottom:25px;
}
.span-employee{
    padding:15px;
}

/* pour la page d'accueil */

.contact {
    margin-top:50px;
    margin-left:65%;
}

/* pour corriger la section des employés et les liste avec hader fixe */

.tableFixHead    { overflow-y: auto; height: 100%; }
/*.tableFixHead th { position: sticky; top: 0; background:#eee; }*/
.tableFixHead th { position: sticky; top: 0; background:#eee; }

table  { border-collapse: collapse; width: 100%; }
th, td { padding: 8px 16px; }

/* Just common table stuff. Really. */
/*.tableFixHead  table  { border-collapse: collapse; width: 100%; }
.tableFixHead  th, td { padding: 8px 16px; }*/

/*.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color:#eee;;
 }*/

#header-employee{
    margin-left:20px;
}

#select-all{
    width:100%;
    text-align:center;
}

#sort-field{
    display: none;
}


/************************** modal excel-message *****************/

#btn-close-error{
    visibility: hidden;
}

#btn-excel-apply{
    visibility: hidden;
}

#excel-message{
    margin-top:8%;
}

#excel-message-title{
    font-size:1.2em;
}

#excel-message-body{
    max-height:500px;
    overflow-y: scroll;
}


/* calcul configuration */
.calcul-placeholder {
  width:500px;
  height:36px;
}
.calcul-button {
  height:36px;
  width:80px;
  background-color:#9e9c9c;
  padding:2px;
}

.calcul-placeholder::placeholder {
  color: #b1a4a4;
  opacity: 2; /* Firefox */
  font-style:italic;
}


.configuration h5 {
    margin-left:60px;
}

#changePayeContent {
  margin-top:-75%;
  border: 1px solid blue;
}


/* create edit deduction, parametreRegime */

.img-logo {
    width:40%;
    height:120px;
    margin-left:20px;
    margin-bottom:10px;
}
.cl-police {
    text-align:right;
}

.montantFixeReduction {
   width:160px;
}

.custom-employe-button {
  width:38px;
  background-color:#e0e0e6;
  padding: 8px 10px 5px 10px; /* top, right, bottom, left */
  border-radius: 3px;
  cursor:pointer;
}
.custom-employe-button:hover {
  background-color:#c4c4ca;
}

.no-border {
  border-style: none;
  color:#555655
}


/* page deduction paye liste des employe */
#table-deduction-paye {
  white-space:nowrap;
  display: inline-block;
  overflow-y: auto;
  overflow-x: auto;
  max-height:650px;
  margin-top:10px;
}

/* barre de recherche  dans deduction liste des employes */

#searchbar::placeholder {
  color:#e0d9d9;
  font-size: 1.0em;
  padding:5px;
}

#div-searches {
  position:fixed;
  margin-top:-30px;
  margin-left:75%;
  border-style:solid;
  border-width:0.5px;
  border-color: #bcb8b8;
  width:380px;
  height:40px;
  padding:5px;
  z-index: 1;
}

.highlighted
{
    background-color: yellow;
}
.highlight
{
    background-color: #fff34d;
    -moz-border-radius: 5px; /* FF1+ */
    -webkit-border-radius: 5px; /* Saf3-4 */
    border-radius: 5px; /* Opera 10.5, IE 9, Saf5, Chrome */
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* FF3.5+ */
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* Saf3.0+, Chrome */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* Opera 10.5+, IE 9.0 */
}
.highlight
{
    padding: 1px 4px;
    margin: 0 -4px;
}

.m-right {
  margin-right:12px;
}


/* Section gestion des clients */

/* page create new client */

.flex-container {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
  }
.dynamic-list {
    width:100%;
    min-height: 200px;
    border:1px solid #F8F9FA;
    margin-top:2px;
    margin-bottom:5px;
    text-align:left;
}
.custom-btn-flex {

    display:inline;
    /*background-color:#d3d3d3;*/
    color:black;
    background-color:#D7D5C1;
    padding-top:5px;
    padding-bottom:5px;
    padding-left:30px;
    padding-right:30px;
    -webkit-border-radius:5px 0 5px 5px;
    -moz-border-radius:5px 0 5px 5px;
    border-radius:5px  5px 5px;
    cursor:pointer;
}

.custom-btn-flex:hover {
    background-color: #a5a8aa;
 }

.custom-button {
  width:100%;
  height:35px;
  /*background-color:#d3d3d3;*/
  background-color:#D7D5C1;
  text-align:center;
  padding-top:4px;
  cursor:pointer;
}

.custom-button:hover {
   background-color: #a5a8aa;
}

.border-table {
  border:1px solid #c9c5c5;
}

.save-group-button {
    text-align:right;
    margin-bottom:5px;
    /*margin-bottom:5px;
    margin-top:5px;
    padding-top:10px;
    padding-bottom:10px;
    padding-right:5px;
    text-align:right;
    -webkit-border-radius:5px 0 5px 5px;
    -moz-border-radius:5px 0 5px 5px;
    border-radius:5px  5px 5px;
    background-color:#e2e0e0;*/
}

#btnAddCoverage {
  margin-top:33px;
  margin-left:-15px;
  height:35px;
  color:black;
  border-color:#D7D5C1;
  background-color:#D7D5C1;
}

#btnAddCoverage:hover {
    background-color: #a5a8aa;
}

.contribution {
  width:70%;
}
.contribution::placeholder {
  color: #ddd9d9;
  opacity: 2; /* Firefox */
  font-style:italic;
}
.contribution::placeholder { /* Internet Explorer 10-11 */
  color:#ddd9d9;
  font-style:italic;
}
.contribution::placeholder { /* Microsoft Edge */
  color:#ddd9d9;
  font-style:italic;
}

#bottom-create-client {
    width:100%;
    height:50px;
    /*background-color:#b2adad;*/
    margin-top:2px;
    border-radius: 5px;
    text-align:right;
    padding-top:10px;
    padding-right:15px;
    background-color:#555655;
}

#div-spinner {
    position: absolute;
    z-index:2;
    margin-left:25%;
    margin-top:22%;
    visibility: hidden;
}
#div-spinner img {
   width:200px;
   height:200px;
}
.spinner {
  margin-left:-55px;
  visibility: hidden;
}
.btn-upload {
  display:inline-block;
  text-align:center;
  padding:1px;
  width:30px;
  height:30px;
  font-size:18px;
  color: white;
  border-color: black;
  background-color: #66a80f;
  -webkit-border-radius:50px;
  -moz-border-radius: 50%;
  border-radius:50%;
  cursor:pointer;
}

.btn-upload:hover {
    background-color:#2b8a3e;
}


/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 500px) {
  .img-logo {
      width:25%;
      height:55px;
  }
  .cl-police {
      display:none;
  }

}
/* media query pour la fenetre calcul */
@media only screen and (min-height: 600px) and  (max-height: 900px) {

  #header-calcul {
    display:none;
  }
  /* Fenetre modale calcul  */
  #modal-calcul {
    margin-top:5px;
  }
  .employee-data{
    min-height:350px;
    margin-top:5px;
    overflow: hidden;
   }

   div.inner.show {
    height:220px;
   }

   /* pour fenetre dans section deduction liste des employés

    /* search bar */
    #div-searches {
        position:fixed;
        margin-top:-42px;
        margin-left:60%;
        border-style:solid;
        border-width:0.5px;
        border-color: #bcb8b8;
        width:380px;
        height:32px;
        padding:5px;
        z-index: 10;
    }



}

/*POur la section KPI */

.width-td {
    width:50%;
}

.color-chart {
  background-color:#E6E6E6;
}

/*Section create client */
#btnSaveAll {
  margin-top: -4px;
}


#btnSaveAll:hover {
 background-color: #0A0D23;
}


#div-create-spinner {
 
  position: absolute;
  z-index:2;
  margin-left:40%;
  margin-top:8%;
  visibility: hidden;
}

#div-create-spinner img {
  width:150px;
  height:150px;
}

.create-client-logo {
  margin:10px 10px 0px 50px;
}

.create-client-header {
  margin:10px 40px 0px 20px;
}

.create-client-l2 {
  margin: 50px 0px 50px 30px;
}

.create-client-police {
  margin:10px 40px 0px 40px; /* top, right , bottom ,left*/
}

.create-client-police-box {
  width:188px;
  min-height:145px;
  border:1px solid #F8F9FA;
  margin-top:2px;
  margin-bottom:5px;
  text-align:left;
  

  /*border: 1px solid black;
  padding:5px;
  margin-bottom:2px;
  width:180px;*/
}

.create-client-button-box {
  width:35px;
  font-size:18px;
  font-weight:bold;
}

.client-create-second-title {
  margin-top:20px;
  margin-bottom:15px;
  color: rgb(242, 101, 34);
  background-color:rgb(228, 220, 220)
}

.client-title-box {
  margin-top:20px;
  margin-bottom:15px;
  color: rgb(242, 101, 34);
}

.client-create-box1 {
  width:450px;
  height:360px;
  border:1px solid #c9c5c5;
  padding:10px;
  margin:20px;
}

.client-create-box-assureur {
  width:350px;
  height:300px;
  border:1px solid #c9c5c5;
  padding:10px;
  margin:20px;
}

.client-create-box2 {
  border:1px solid #c9c5c5;
  padding:10px;
  margin:20px;
}

.client-create-box3 {
  border:1px solid #c9c5c5;
  padding:10px;
  margin-left:50px;

}

.client-create-box4 {
  border:1px solid #c9c5c5;
  margin-top:6px;
  padding:5px;
  padding-top:8px;
  padding-bottom:5px;
  
}

.client-create-box5 {
  width:600px;
  height:485px;
  border:1px solid #c9c5c5;
  padding:10px;
  margin:20px;
}

.client-create-table {
  min-height:140px;
  border-collapse: separate;
  border-spacing: 1px;
  border:1px solid #c9c5c5;
}

.client-create-prolongement {
   padding:5px;
   margin-bottom:10px;
   min-height:150px;
}

.client-create-dgray {
  background-color:#E7E7E7;
}

.client-create-bold {
  font-weight: bold;
  color:black;
}

.client-create-gray {
  background-color:#F2F2F2;
}

.client-create-table-overflow {
  max-height:250px;
  min-height:250px;
  margin-bottom:20px;
  overflow-y:auto
}
.client-create-division {
  width:80px;
}

.client-create-unedit {
  cursor:pointer;
  font-size:20px;
  margin-left:5px;
}

.client-create-clear {
  border:1px solid #f7f7f7;
}

.client-create-logo {
  position:absolute;
  margin-left:225px;
  text-align:right;
}


/*Section edit client */
.green {
  color:#66a80f
}

.red {
  color:crimson
}

.inline-box {
  display: inline;
}

.carre-rouge {
  width:10px;
  height:10px;
  border:0.5px solid black;
  background-color: rgb(255,0,0);
  color:rgb(255,0,0);
  margin-left:35px;
}


/*** Timesheet ***/

.table-timesheet {
  border-collapse: collapse;
  width:100%;
  word-wrap: break-word;
}

.table-timesheet td { /* affecte seulement les td situés dans la classe .table-timesheet*/
  padding:5px;
  font-size:12px;
  height: 55px;
  width: 120px;
  vertical-align: middle;
  
 }
 .timesheet-modify {
   background-color:#F6DA5C;
   word-break: break-all;
 }


.align-center {
  text-align:center;
}

.ajust-top {
  margin-top:26px;
  margin-left:25px;
}

.break-line {
  word-break: break-all;
}

.flexgroup-3 {
  background-color:#D7D5C1;
  color:#F26522;
}

/*** timesheet fenetre modal **/
.timesheet-modal {
  margin-top:25px;
  
}
.div-modal-timesheet {
  max-height: 500px;
  width:455px;
  overflow-y: scroll;
}

.close-timesheet-modal {

  margin-left:430px;
  text-align:center;
  margin-top:15px;
  background-color:#d8dee9;
  font-weight:bold;
  padding:5px;
  cursor:pointer;
  width:35px;

}

.container-style {
  border:0.5px solid rgb(174, 167, 167);
  padding-top: 10px;
  width:60%;
}

.btn-gray {
  background-color:#b8bbc2;
}

.btn-add {
  background-color:transparent;
  border:none;
  font-size:25px;
  color:blue;
  cursor:pointer;
}


/**** page manage report *** /

/**** page KPI importation ***/
.kpi-legende {
  width:100px;
  height:20px;
  padding: 1px 2px 23px 5px;   /* top right bottom left */
  text-align: center;
  margin-right:5px;
}

.table-importation {
  width: 100%;
  text-align: center;
}

.table-importation td {
  border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
  font-size:12px;
  color:black;
  font-weight: bold;
  padding:1px;
}

.bold-th {
  font-size:14px;
  color:black;
}

.format-legend {
  width:100px;
  text-align:center;
}

/* page sommaire des garanties */

/*https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_tabs */

/*#others{
    width:85%;
    margin-left:270px;
    height:55px;
    border-bottom: 1px solid #ccc;
    padding-left: 60%;
}*/

#others{
    margin-left:79%;
    height:56px;
    border-bottom: 1px solid #ccc;
}



#others button {
    border:1px solid #ccc;
    height:45px;
    padding-top:6px;
    margin-left:2px;
    color: #555;  
}

.btnTabs {
    width:50px;
    height:25px;
    border: 1px solid black;
}

.tablinks {
    color: #555;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Style the tab */
.tab {
  overflow: hidden;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: 1px solid white;
  border-bottom:1px solid #ccc;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.somm-footer {
  width:100%;
  height:50px;
  border:1px solid #ccc;
}

/**** page users create modify edit change password***/

.eyeslash {
  margin-left: 250px;
  cursor:pointer;

}
.eyescreate {
  position:absolute;
  margin-left:83%;
  margin-top:-31px;
  cursor:pointer;
}

.padding-edit {
  padding:2px;
}


/*barre de navigation */

.dropdown-submenu {
  position: relative;
}
/*Conserver */
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -9px;
  border-radius: 0px;
  width:250px;
}

.submenu-ul {
  list-style: none;
  height:50px;
}

/*documents*/
.flash-success {
  width:100%;
  height:70px;
  padding:20px;
  margin-left:auto;
  margin-right:auto;
  margin-top:-25px;
  margin-bottom:55px;
  background-color: rgb(98, 177, 98);
  color:black;
  font-weight:bold;
  font-size:16px;
  text-align:center;
}
.flash-errors {
  width:91%;
  height:70px;
  padding:20px;
  margin-left:auto;
  margin-right:auto;
  margin-top:-25px;
  margin-bottom:55px;
  font-weight:bold;
  background-color:rgb(219, 61, 61);
  color:black;
  font-size:16px;
  text-align:center;
}

.table-documents { 
  height:350px;
  overflow-y:auto;
}

.table-striped-inverse {
  tr:nth-child(even) {
    background-color: #f2f2f2;
  }
}

/* page importer taux */

.rate-error {
  width:100%;
  height:50px;
  background-color:red;
  padding:5px;
  font-style: normal;
  color:#0A0D23;
  font-weight: bold;
}
.rate-success {
  width:100%;
  height:50px;
  background-color:#66a80f;
  padding:5px;
  font-style: normal;
  color:#0A0D23;
  font-weight: bold;
}

/*Deduction employe create, edit */
.border-fac {
   border-style:solid;
   border-width: 1px;
   border-color: #e5e9f0;
   padding:5px;
  
}

