@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import "https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css";
@import "https://cdn.datatables.net/2.0.6/css/dataTables.dataTables.min.css";
@import url('https://fonts.googleapis.com/css2?family=Chocolate+Classical+Sans&display=swap');


body, table{
    font-family: "Chocolate Classical Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.bodyContent{
  margin: 20px;
}

.driverNav{

}

.bodyUser{
  padding: 30px;
}

.container-fluid{
  padding-top: 2rem;
}

.big-icon{
    font-size: 24px;
    color: #0088cc;
}

.alert-icon{
    color: #f33;
}

.alert_stock{
    background-color: #e4606d;
}

.small-inupt{
    max-width: 99px;
}

.navbar{
    border-bottom: 1px solid grey;
}
.navbar a{
    font-size: 13px;
}

.navbar-light .navbar-nav .nav-link{
    color: #000;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.dropdown-menu .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

@font-face {
  font-family: 'Journal';
  src: url('journal.eot');
  src: url('journal.eot?#iefix') format('embedded-opentype'),
       url('journal.woff') format('woff'),
       url('journal.ttf') format('truetype'),
       url('journal.svg#JournalRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.sigPad {
  margin: 0;
  padding: 0;
  width: 200px;
}

.sigPad label {
  display: block;
  margin: 0 0 0.515em;
  padding: 0;

  color: #000;
  font: italic normal 1em/1.375 Georgia,Times,serif;
}

.sigPad label.error {
  color: #f33;
}

.sigPad input {
  margin: 0;
  padding: 0.2em 0;
  width: 198px;

  border: 1px solid #666;

  font-size: 1em;
}

.sigPad input.error {
  border-color: #f33;
}

.sigPad button {
  margin: 1em 0 0 0;
  padding: 0.6em 0.6em 0.7em;

  background-color: #ccc;
  border: 0;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;

  cursor: pointer;

  color: #555;
  font: bold 1em/1.375 sans-serif;
  text-align: left;
}

.sigPad button:hover {
  background-color: #333;

  color: #fff;
}

.sig {
  display: none;
}

.sigNav {
  display: none;
  height: 2.25em;
  margin: 0;
  padding: 0;
  position: relative;

  list-style-type: none;
}

.sigNav li {
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
}

.sigNav a,
.sigNav a:link,
.sigNav a:visited {
  display: block;
  margin: 0;
  padding: 0 0.6em;

  border: 0;

  color: #333;
  font-weight: bold;
  line-height: 2.25em;
  text-decoration: underline;
}

.sigNav a.current,
.sigNav a.current:link,
.sigNav a.current:visited {
  background-color: #666;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  border-radius: 8px 8px 0 0;

  color: #fff;
  text-decoration: none;
}

.sigNav .typeIt a.current,
.sigNav .typeIt a.current:link,
.sigNav .typeIt a.current:visited {
  background-color: #ccc;

  color: #555;
}

.sigNav .clearButton {
  bottom: 0.2em;
  display: none;
  position: absolute;
  right: 0;

  font-size: 0.75em;
  line-height: 1.375;
}

.sigWrapper {
    clear: both;
    height: 55px;
    border: 1px solid #ccc;
    position: relative;
    max-width: 100%;  /* Ensure the wrapper doesn't exceed its container's width */
    box-sizing: border-box;
  }
  
  .sigWrapper.current {
    border-color: #666;
  }
  
  .signed .sigWrapper {
    border: 0;
  }
  
  .pad {
    position: relative;
  }
  
  canvas {
    width: 100%;  /* Make the canvas responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove default inline styling */
  }
  
  @media (orientation: portrait) {
    .sigWrapper {
      height: auto; /* Adjust height for portrait orientation */
    }
  }
  
  @media (orientation: landscape) {
    .sigWrapper {
      height: auto; /* Adjust height for landscape orientation */
    }
  }
  

.current .pad {

  cursor: url("../assets/pen.cur"), crosshair;

  cursor: url("pen.cur") 16 16, crosshair;

  -ms-touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.typed {
  height: 55px;
  margin: 0;
  padding: 0 5px;
  position: absolute;
  z-index: 90;

  cursor: default;

  color: #145394;
  font: normal 1.875em/50px "Journal",Georgia,Times,serif;
}

.typeItDesc,
.drawItDesc {
  display: none;
  margin: 0.75em 0 0.515em;
  padding: 0.515em 0 0;

  border-top: 3px solid #ccc;

  color: #000;
  font: italic normal 1em/1.375 Georgia,Times,serif;
}

p.error {
  display: block;
  margin: 0.5em 0;
  padding: 0.4em;

  background-color: #f33;

  color: #fff;
  font-weight: bold;
}

#btnSaveSign {
        color: #fff;
        background: #f99a0b;
        padding: 5px;
        border: none;
        border-radius: 5px;
        font-size: 20px;
        margin-top: 10px;
}
#signArea{

}
.sign-container {
        width: 60%;
        margin: auto;
}
.sign-preview {
        width: 150px;
        height: 50px;
        border: solid 1px #CFCFCF;
        border-radius: 3px;
        margin: 10px 5px;
}
.tag-ingo {
        font-family: cursive;
        font-size: 12px;
        text-align: left;
        font-style: oblique;
}

.iconDriver{
    font-size: 60px;
    border: 5px solid;
    border-radius: 5px;
    padding: 10px;
}

.invoice-box {
        max-width: 800px;
        margin: auto;
        padding: 30px;
        border: 1px solid #eee;
        box-shadow: 0 0 10px rgba(0, 0, 0, .15);
        font-size: 16px;
        line-height: 24px;
        font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
        color: #555;
    }
    
    .invoice-box table {
        width: 100%;
        line-height: inherit;
        text-align: left;
    }
    
    .invoice-box table td {
        padding: 5px;
        vertical-align: top;
    }
    
    .invoice-box table tr td:nth-child(3) {
        text-align: right;
    }
    
    .invoice-box table tr.top table td {
        padding-bottom: 20px;
    }
    
    .invoice-box table tr.top table td.title {
        font-size: 45px;
        line-height: 45px;
        color: #333;
    }
    
    .invoice-box table tr.information table td {
        padding-bottom: 40px;
    }
    
    .invoice-box table tr.heading td {
        background: #eee;
        border-bottom: 1px solid #ddd;
        font-weight: bold;
    }
    
    .invoice-box table tr.details td {
        padding-bottom: 20px;
    }

    .blink_me {
        animation: blinker 1s linear infinite;
    }
    
    .invoice-box table tr.item td{
        border-bottom: 1px solid #eee;
    }
    
    .invoice-box table tr.item.last td {
        border-bottom: none;
    }
    
    .invoice-box table tr.total td:nth-child(2) {
        border-top: 2px solid #eee;
        font-weight: bold;
    }
    
    @media only screen and (max-width: 600px) {
        .invoice-box table tr.top table td {
            width: 100%;
            display: block;
            text-align: center;
        }
        
        .invoice-box table tr.information table td {
            width: 100%;
            display: block;
            text-align: center;
        }
    }
    

    .rtl {
        direction: rtl;
        font-family: Tahoma, 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
    }
    
    .rtl table {
        text-align: right;
    }
    
    .rtl table tr td:nth-child(2) {
        text-align: left;
    }






/* Style de base pour la table */
.report {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* En-tête de la table */
.report th {
  background-color: #4CAF50; /* Vert moderne */
  color: #ffffff;
  padding: 12px 15px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cellules de la table */
.report td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
  color: #333333;
  font-weight: 400;
}

/* Lignes alternées */
.report tr:nth-child(even) {
  background-color: #f7f7f7;
}

.report tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Lignes au survol */
.report tr:hover {
  background-color: #e8f5e9;
  cursor: pointer;
}

/* Bordures */
.report th, .report td {
  border-right: 1px solid #e0e0e0;
}

.report th:last-child, .report td:last-child {
  border-right: none;
}

/* Ajustement des coins arrondis pour l'en-tête */
.report th:first-child {
  border-top-left-radius: 8px;
}

.report th:last-child {
  border-top-right-radius: 8px;
}

/* Pied de table (si utilisé) */
.report tfoot td {
  background-color: #f1f1f1;
  font-weight: bold;
  color: #555555;
  text-align: right;
  padding: 10px 15px;
}





/*
    .alert-info{
        background-color: rgba(41, 46, 104, 1);
        color: #FFF;
        text-align: center;
    }

    .btn-primary, .badge-info{
        background-color: rgba(41, 46, 104, 1);
        color: #FFF;
        text-align: center;
        border: none;
    }

    .badge-warning{
        background-color: rgba(215, 104, 44, 0.9);
        background: rgba(215, 104, 44, 0.9);
        color: #FFF;
    }


    .headerred{
        background-color: rgba(215, 44, 44, 1);
        background: rgba(215, 44, 44, 1);
        color: #FFF;
    }


    .badge{
        font-size: 13px;
    }

    .redlabel{
        background-color: rgba(215, 44, 44, 1);
        background: rgba(215, 44, 44, 1);
        color: #FFF;
        text-align: center;
        border: none;
    }*/

.H5_loading{
    z-index: 999999;
    display: none;
    background-color: rgba(0,0,0,.2);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    filter: alpha(0);
    -moz-opacity: 0;
}
@-webkit-keyframes fadeIn{
    from{opacity: 0;}
    to{opacity: 1;}
}
@keyframes fadeIn{
    from{opacity: 0;}
    to{opacity: 1;}
}
@-moz-keyframes fadeIn{
    from{-moz-opacity: 0;}
    to{-moz-opacity: 1;}
}
@-ms-keyframes fadeIn{
    from{filter:alpha(0);}
    to{filter:alpha(1);}
}
@keyframes fadeOut{
    from{opacity: 1;}
    to{opacity: 0;}
}
@-webkit-keyframes fadeOut{
    from{opacity: 1;}
    to{opacity: 0;}
}
@-moz-keyframes fadeOut{
    from{-moz-opacity: 1;}
    to{-moz-opacity: 0;}
}
@-ms-keyframes fadeOut{
    from{filter:alpha(1);}
    to{filter:alpha(0);}
}
.H5_loading .H5_loading_process{
    width: 7rem;
    height: 7rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -3.5rem;
    margin-left: -3.5rem;
    border-radius: 50%;
}
.H5_loading .H5_loading_process div{
    width: 1rem;
    height: 1rem;
    position: absolute;
    border-radius: 50%;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
}
.H5_loading .H5_loading_process div:nth-child(1){
    top: 0;
    left: 50%;
    margin-left: -0.5rem;
    animation: loading_process 1s 0s infinite;
    -webkit-animation: loading_process 1s 0s infinite;
}
.H5_loading .H5_loading_process div:nth-child(2){
    top: 25%;
    right: 25%;
    margin-right: -1rem;
    margin-top: -0.75rem;
    animation: loading_process 1s 0.125s infinite;
    -webkit-animation: loading_process 1s 0.125s infinite;
}
.H5_loading .H5_loading_process div:nth-child(3){
    top: 50%;
    right: 0;
    margin-top: -0.5rem;
    animation: loading_process 1s 0.25s infinite;
    -webkit-animation: loading_process 1s 0.25s infinite;
}
.H5_loading .H5_loading_process div:nth-child(4){
    bottom: 25%;
    right: 25%;
    margin-right: -1rem;
    margin-bottom: -0.75rem;
    animation: loading_process 1s 0.375s infinite;
    -webkit-animation: loading_process 1s 0.375s infinite;
}
.H5_loading .H5_loading_process div:nth-child(5){
    bottom: 0;
    left: 50%;
    margin-left: -0.5rem;
    animation: loading_process 1s 0.5s infinite;
    -webkit-animation: loading_process 1s 0.5s infinite;
}
.H5_loading .H5_loading_process div:nth-child(6){
    bottom: 25%;
    left: 25%;
    margin-left: -1rem;
    margin-bottom: -0.75rem;
    animation: loading_process 1s 0.625s infinite;
    -webkit-animation: loading_process 1s 0.625s infinite;
}
.H5_loading .H5_loading_process div:nth-child(7){
    bottom: 50%;
    left: 0;
    margin-bottom: -0.5rem;
    animation: loading_process 1s 0.75s infinite;
    -webkit-animation: loading_process 1s 0.75s infinite;
}
.H5_loading .H5_loading_process div:nth-child(8){
    top: 25%;
    left: 25%;
    margin-left: -1rem;
    margin-top: -0.75rem;
    animation: loading_process 1s 0.875s infinite;
    -webkit-animation: loading_process 1s 0.875s infinite;
}

@keyframes loading_process{
    87.5% {transform: scale(1.1);}
    93.75% {transform: scale(1.5);}
    100% {transform: scale(1.1);}
}
@-webkit-keyframes loading_process{
    87.5% {-webkit-transform: scale(1.1);}
    93.75% {-webkit-transform: scale(1.5);}
    100% {-webkit-transform: scale(1.1);}
}

video {
    width: 100%;
    height: auto;
}




.modal{
    z-index: 999999;
}



.bodyContent{
    padding: 30px;
    /*margin-left: auto;
    margin-right: auto;
    max-width: 80%;*/
}


.fixed-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff; /* Couleur de fond du menu */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Ombre pour un effet flottant */
  z-index: 1000; /* Assurez-vous qu'il est toujours au-dessus */
}

.fixed-menu ul {
  display: flex;
  flex-wrap: wrap; /* Permet d'aller à la ligne si nécessaire */
  justify-content: flex-start; /* Alignement des éléments au début */
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fixed-menu li {
  flex: 1; /* Chaque élément prend un espace égal */
  max-width: 20%; /* Limite la largeur à 20% pour 5 éléments sur une ligne */
  text-align: center;
}

.fixed-menu a {
  display: flex;
  flex-direction: column; /* Aligner l'image et le texte verticalement */
  align-items: center;
  justify-content: center;
  padding: 10px 5px;
  text-decoration: none;
  color: #333; /* Couleur du texte */
  font-size: 14px;
}

.fixed-menu a img {
  width: 24px; /* Taille des icônes */
  height: 24px;
  margin-bottom: 5px;
}

.fixed-menu a span {
  font-size: 12px; /* Taille du texte en dessous de l'icône */
}

/* Styles responsives pour les petits écrans */
@media screen and (max-width: 600px) {
  .fixed-menu li {
      max-width: 25%; /* Limite à 4 éléments maximum par ligne */
  }
}

@media screen and (max-width: 400px) {
  .fixed-menu li {
      max-width: 33.33%; /* Limite à 3 éléments maximum par ligne */
  }
}





/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
      background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  
    background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }