* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none; 
    -webkit-user-select: none;
    background-color: #34485C ;
    height:100vh;
    margin:0px;
    padding:0px;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-right, 0px);
    width:100%;
}

.border-green {
  border: 0px #fff solid;
  background-color: #303F53 ;
  border-radius:1em;
  width:100%;
  aspect-ratio: 1 / 1;
}

.border-green-defi {
  border: 0px #fff solid;
  background-color: #303F53 ;
  border-radius:1em;
  padding:20px;
  width:100%;
}

.loader {
    /* Dimensions du cercle */
    width: 50px;
    height: 50px;
    /* Transformation en cercle */
    border-radius: 50%;
    /* Définition initiale des couleurs des bords */
    border: 5px solid #f3f3f3; /* Couleur claire pour le fond */
    border-top: 5px solid #3498db; /* Couleur de la partie mobile (bleu) */
    background-color: #303F53;
    /* Animation */
    animation: spin 1s linear infinite; /* Nom, durée, type de rythme, répétition */
    margin:auto;
    margin-top:50px;
}

/* Définition de l'animation */
@keyframes spin {
    0% {
        transform: rotate(0deg); /* Commence sans rotation */
        border-top-color: #3498db; /* Bleu */
    }
    25% {
        border-top-color: #2ecc71; /* Vert */
    }
    50% {
        border-top-color: #f1c40f; /* Jaune */
    }
    75% {
        border-top-color: #e74c3c; /* Rouge */
    }
    100% {
        transform: rotate(360deg); /* Termine une rotation complète */
        border-top-color: #3498db; /* Retour au bleu pour la continuité */
    }
}


.montserrat-global {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.cursor {
  cursor:pointer; 
}

.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.dark-green {
    color: #303F53;
}

.light-green {
    color: #34485C;
}

.btn {
    border-radius: 20px;
    padding-right:20px!important;
    padding-left:20px!important;
    padding-top: .575rem;
    padding-bottom: .575rem;
}

.btn-green {
    color: #fff!important;
    background-color: #303F53!important;
    border-color: #303F53!important;
}

.table-primary {
  background-color: #303F53!important;
  --bs-table-bg: #303F53;
}

.icoTop {
  line-height: 39px!important;
  color: #fff;
  background-color: #303F53;
  width: 40px;
  height: 40px;
  border: 1px solid #303F53;
  border-radius: 50%;
  text-align: center;
  display: inline-block;
}

.icoTopXLRed {
    line-height: 50px !important;
    color: #fff;
    background-color: #d3404c;
    width: 50px;
    height: 50px;
    border: 1px solid #d3404c;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    margin-bottom: 5px;
}

.red{
    background-color: #d3404c!important;
}

.vert{
    background-color: #14a834!important;
}

.alert-danger {
    color: #fff;
    background-color: #d3404c;
    border-color: #d3404c;
}

.form-check-input:checked {
    background-color: #303F53;
    border-color: #303F53;
}

.icoTopXL {
  line-height: 55px!important;
  color: #fff;
  background-color: #34485C;
  width: 55px;
  height: 55px;
  border: 1px solid #34485C;
  border-radius: 50%;
  text-align: center;
  display: inline-block;
  margin-bottom:10px;
}

.footer{
  position:fixed;
  bottom:0px;
  left:0px;
  right:0px;
  /*background-color: #5E2CED;*/
  z-index:16000;
}

.footerGradient{
  position:fixed;
  bottom:46px;
  left:0px;
  right:0px;
  height:15px;
  z-index:16000;
}

.headerGradient{
    position: fixed;
    top: 49px;
    left: 0px;
    right: 0px;
    height: 15px;
    z-index: 1000;
}

.btn:focus, .btn.focus {
  outline: 0;
  box-shadow: none;  
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0;
  content: "";
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.dropleft .dropdown-toggle::before {
  display: inline-block;
  margin-right: 0;
  content: "";
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

.modal-header {
  border-bottom: 0px;
}

.modal-content {
  border-radius: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #ecf0f140;
}

.card {
  background-color: transparent;
  border-radius: 0;
  border: 0px solid rgba(0, 0, 0, .125);
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: transparent;
  border: 1px solid rgba(0,0,0,0.125);
  font-size:110%;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #FBFBFB;
  opacity: 1;
}


.form-control, .form-select {
    background-color: #303F53!important;
    background-clip: padding-box;
    color:#fff!important;
    border: 0;
    border-radius: 20px;
    padding-left: 20px;
    outline: 0 !important;
    padding-right:20px!important;
    padding-left:20px!important;
    padding-top: .575rem;
    padding-bottom: .575rem;
}

.form-control:focus, .form-select:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.bars {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin-top: 14px;
  margin-left: 20px;
}

.bar{
  width:40px;
  height:5px;
  background-color:#ffffff;
  margin-bottom:6px;
}

#bgOverlay {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.4);
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 18;
}

#bgOverlay img {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translateX(-50%);
}

#application {
    position:relative;
    z-index: 1;
    padding-top: 80px;
}

.flexVertical {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-direction: column;
}

.content-wrapper {
    text-align: center; /* Assure le centrage horizontal du texte à l'intérieur de l'élément */
}

.badge {
  font-size: 80%;
}

input[type="date"] {
    /* Style de base pour l'input */
    padding-right: 30px; /* Ajoute de l'espace pour l'icône */
    
    /* 1. Cacher l'icône par défaut */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Cacher l'indicateur du calendrier dans WebKit */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute; /* Place l'indicateur sur l'input */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer; /* Garde le curseur cliquable */
}

/* 2. Ajouter l'icône personnalisée */
input[type="date"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='15' viewBox='0 0 24 24'><path fill='white' d='M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Positionne l'icône */
    background-size: 18px; /* Taille de l'icône */
}

input[type="time"] {
    /* Réinitialise l'apparence native pour un meilleur contrôle */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Laisse de la place pour l'icône à droite */
    padding-right: 30px; 
    
    /* 2. Ajoute votre icône d'horloge SVG personnalisée */
    /* REMPLACER: L'URL du SVG doit être l'image d'une HORLOGE et vous pouvez changer 'red' par la couleur souhaitée */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'><path fill='white' d='M12 2c5.53 0 10 4.47 10 10s-4.47 10-10 10S2 17.53 2 12 6.47 2 12 2zm0 18c4.41 0 8-3.59 8-8s-3.59-8-8-8-8 3.59-8 8 3.59 8 8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.62z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

/* 1. Cache l'indicateur (pour le rendre cliquable mais invisible) */
input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

input[type="number"]:focus  {
    background-color: #fafafa!important;
}

#validation-feedback{

    padding: 13px;
    background-color: #303F53;
    width: 90%;
    font-size: 16px;
    font-weight: bold;

}


input[type="number"]{
  outline: none;
  width:50px;
  box-shadow:none !important;
  background-color: #fafafa!important;
  color:#000!important;
  border:1px solid #fafafa!important;
  border-radius:1em;
  text-align: center;
  font-size: 30px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="time"], textarea {
  outline: none;
  box-shadow:none !important;
  background-color: #303F53!important;
  color:#fff!important;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="time"]:focus, textarea:focus {
    background-color: #303F53!important;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #ffffff!important;
}
 
 input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
  color: #ffffff!important;
  visibility: visible !important;
 }
 
.input-group-text {
  background-color: transparent !important;
  border-bottom: 1px solid #ccc !important;
  border:0;
  border-radius: 0;
}

.mt-6 {
    margin-top: 5rem!important;
}

.menuBar {
    cursor:pointer;
}

.panneauLateral {
    background-color: #34485C;
    position:fixed;
    z-index: 16002;
    width:100%;
    top:0;
    left:-9999px;
    bottom:0;
    overflow-y: auto;
}

.panneauLateral.open {
    left:0!important;
}

.panneauLateralNotif {
    background-color: #34485C;
    position:fixed;
    z-index: 16002;
    width:100%;
    top:0;
    left:-9999px;
    bottom:0;
    overflow-y: auto;
}

.panneauLateralNotif.open {
    left:0!important;
}

.overlay {
    position:fixed;
    z-index: 16001;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: rgba(0,0,0,0.4);
}

#top {
  display: none;
  position: fixed; 
  bottom: 20px; 
  right: 30px; 
  z-index: 99; 
  border: none;
  outline: none;
  background-color: #E74C3C;
  color: white;
  cursor: pointer;
  padding: 10px 17px 10px 17px;
  border-radius: 50%;
  font-size: 20px;
}

.overlay-blue {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-color: #2C3E50;
}

.header {    
    color:#fff;
    position:fixed;
    top:0;
    right:0;
    left:0;    
    z-index:16000;
    background-color: #303F53!important;
    height:60px;
}

.fa-2x {
    font-size:1.6rem!important;
}

.dropdown-menu:not([class*=bg-]) .dropdown-item.active:not(.disabled) .uniform-checker span {
  border-color: #fff;
  color: #fff; }

.dropdown-menu:not([class*=bg-]) .dropdown-item.active:not(.disabled) .uniform-choice span {
  border-color: #fff; }

.dropdown-item.form-check .form-check-label {
  padding-left: 3.25rem; }

.dropdown-item.form-check .uniform-checker,
.dropdown-item.form-check .uniform-choice {
  margin-top: 0.50002rem;
  left: 1rem; }

.dropdown-item.form-check.form-check-right .form-check-label {
  padding-right: 3.25rem; }

.dropdown-item.form-check.form-check-right .uniform-checker,
.dropdown-item.form-check.form-check-right .uniform-choice {
  left: auto;
  right: 1rem; }

.dropdown-menu[class*=bg-]:not(.bg-white):not(.bg-transparent):not(.bg-light) .uniform-checker span {
  border-color: #fff;
  color: #fff; }

.dropdown-menu[class*=bg-]:not(.bg-white):not(.bg-transparent):not(.bg-light) .uniform-choice span {
  border-color: #fff; }

  .cordova-camera-select {
      opacity:0;
      display:none;
  }