.nav-aa.navbar.navbar-expand-lg.bg-dark.navbar-dark {
  background-color: #264378 !important;
  /* Remplacez #333 par la couleur de fond souhaitée */
}

h3.aa {
  color: #264378;
}

.btn .btn-aa {
  padding: 10px 30px 12px 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #84b566 !important;
  background: #fff !important;
  border: none;
  border-radius: 60px;
  box-shadow: inset 0 0 0 0 #202C45;
  transition: ease-out 0.5s;
  -webkit-transition: ease-out 0.5s;
  -moz-transition: ease-out 0.5s;
}

.btn.btn-aa:hover {
  color: #84b566;
  background: #84b566;
  box-shadow: inset 200px 0 0 0 #202C45;
}


.nav-bar .btn.btn-aa {
  color: #84b566;
  background: #ffffff;
  box-shadow: inset 0 0 0 0 #84bc6c;
}


.nav-bar {
  position: relative;
  background: #264378 !important;
}

.nav-item.nav-link {
  position: relative;
  color: #fff !important;
  /* Couleur du texte */
}

.nav-item.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  /* Distance du bas */
  left: 50%;
  width: 0;
  color: #fff !important;
  height: 2px;
  /* Épaisseur de la ligne */
  background-color: #84b566;
  /* Couleur de la ligne */
  transition: width 0.5s ease;
  /* Transition de la largeur */
  transform: translateX(-50%);
}

/* Soulignement pour les liens actifs */
.nav-item.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  /* Distance du bas */
  left: 50%;
  width: 100%;
  height: 2px;
  /* Épaisseur de la ligne */
  background-color: #fff;
  /* Couleur de la ligne pour les liens actifs */
}


.nav-item.nav-link:hover::after {
  width: 100%;
  /* Largeur de la ligne au survol */
}

/* Custum menu button */
button.navbar-toggler {
  border: none;
}

button.navbar-toggler:focus {
  outline: none;
}


.location-form.location-aa {
  background: #f4f9f8;
}

/* Appliquer le style personnalisé */
.table-first-row th,
.table-other-rows td {
  background-color: #264378;
  color: white;
}

.table-other-rows td {
  background-color: #f4f9f8;
  color: #264378;
}

.btn.btn-custom.btn-commander {
  background: #84bc6c !important;
  color: #fff !important;
  text-transform: uppercase !important;
  border-radius: 3px !important;
}

/* Ajoutez des styles CSS supplémentaires ici si nécessaire */
h1.aa-logo {
  text-transform: uppercase;
  /* Convertit le texte en majuscules */
  color: white;
  /* Couleur du texte en blanc */
  font-weight: normal;
  /* Réinitialise le poids de la police */
  font-family: "Ubuntu", 'Barlow', sans-serif;
}

h1.aa-logo::first-letter {
  font-weight: bold;
  /* Première et dernière lettres en gras */
  position: relative;
  /* Position relative pour permettre le positionnement absolu de l'élément enfant */

}

h1.aa-logo span {
  position: absolute;
  /* Position absolue par rapport à l'élément parent */
  left: -0.2em;
  /* Ajuste la position horizontale du cercle */
  top: -0.1em;
  /* Ajuste la position verticale du cercle */
  width: 1em;
  /* Largeur du cercle */
  height: 1em;
  /* Hauteur du cercle */
  border: 2px solid white;
  /* Contour blanc du cercle */
  border-radius: 50%;
  /* Rend le contour du cercle circulaire */
  display: inline-flex;
  /* Permet au span d'être affiché en ligne avec le texte */
  align-items: center;
  /* Alignement vertical du contenu du span */
  justify-content: center;
  /* Alignement horizontal du contenu du span */
}

.card-header.card-aa {

  background: #264378;
  color: #fff;
}

/* Styles pour le bloc de commande */
.command-block {
  right: 0px;
  padding: 10px;
  margin-top: 20px;
  /* Espace supplémentaire pour éviter le chevauchement avec le menu horizontal */
}

@media only screen and (min-width: 992px) {
  .otherServices {
    margin-top: 4rem;
  }
}


.cookie-banner {
  /* height: 40px; */
  width: 100%;
  background-color: #1a1a1a;
  /* Fond gris très foncé */
  color: #fff;
  /* Texte blanc */
  text-align: center;
  /* Centré */
  line-height: 40px;
  /* Centrage vertical */
  position: fixed;
  /* Fixe en bas de la fenêtre */
  bottom: 0;
  left: 0;
  z-index: 9999;
  /* Au-dessus de tout */
  padding: 0.5rem;
}

.discount-banner {
  width: 100%;
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
  line-height: 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 0.5rem;
}

.cookie-btn,
.discount-btn {
  background-color: #84bc6c;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: .25rem;
  box-shadow: none;
}

.cookie-btn:focus,
.discount-btn:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.custom-border {
  border: 1px solid #b3ffb3;
  /* Bordure verte très claire */
  background-color: #e6ffe6;
  /* Fond vert très clair */
  padding: 10px;
}

.custom-title {
  font-weight: bold;
}

.custom-text {
  font-weight: bold;
}

.custom-gray-text {
  color: #808080;
  /* Texte gris */
}

/* Bordure des input et textarea */
.bordrounded {
  border-radius: 5px;
}

/* CSS POUR LA BARRE DE DEFILEMENT DES CATEGORIES SOUS MENU */

/* Style pour la barre de défilement horizontale */
.categoriesscrollbar::-webkit-scrollbar {
  height: 5px;
}

.categoriesscrollbar::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  /* Couleur de fond de la piste */
  border-radius: 10px;
  /* Coins arrondis de la piste */
}

.categoriesscrollbar::-webkit-scrollbar-thumb {
  background-color: #f1f1f1;
  /* Couleur du curseur */
  border-radius: 10px;
  /* Coins arrondis du curseur */
  border: 2px solid #f1f1f1;
  /* Bordure pour rendre le curseur plus fin */
}

.categoriesscrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #f1f1f1;
  /* Couleur du curseur au survol */
}

/* Optionnel : Style pour le coin de la scrollbar */
.categoriesscrollbar::-webkit-scrollbar-corner {
  background-color: #f1f1f1;
}

/* Les deux boutons en bas des services  */
@media only screen and (min-width: 768px) {
  #serviceBtns a {
    margin: 0px 5px;
  }
}

@media only screen and (max-width: 768px) {
  .btn.btn-custom {
    padding: .375rem .75rem;
    font-size: 16px;
  }
}

@media only screen and (max-width: 300px) {
  #serviceBtns div {
    display: block !important;
  }
}

.btn.btn-custom.view,
.btn.btn-custom.order {
  color: #FFF;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-custom.view {
  background: #84bc6c !important;
}

.btn.btn-custom.order {
  background: #202C45 !important;
}

.btn.btn-custom.view:hover {
  background: #84bc6c !important;
  box-shadow: none;
}

.btn.btn-custom.order:hover {
  background: #202C45 !important;
}

/* Bouton PayPal */
.btn.btn-custom.btn-commander.btn-paypal {
  background: #009cde !important;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.btn.btn-custom.btn-paypal:hover {
  background: #009cde !important;
  box-shadow: none;
}

/* Bouton login and register top menu */
.btn.btn-primary.users-login {
  background: #202C45 !important;
  border-color: #202C45;
}

.btn.btn-primary.users-login:active {
  border-color: #202C45;
}

.btn.btn-primary.users-login:focus {
  box-shadow: none !important;
}

.btn.btn-success.users-register {
  background: #84bc6c !important;
  border-color: #84bc6c;
}

@media only screen and (max-width: 454px) {

  .btn.btn-success.users-register,
  .btn.btn-primary.users-login {
    padding: .275rem .45rem !important;
    font-size: .8rem;
  }

  .top-bar .top-bar-text {
    padding-left: 5px;
  }
}


/* Affichage des resultats de recherche */

/* Autocomplete container */
.autocomplete-results {
  position: fixed;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 50vw;
  display: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .autocomplete-results {
    width: 90vw;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Each autocomplete item */
.autocomplete-item {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

/* Style for the image */
.autocomplete-image {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 4px;
  object-fit: cover;
}

/* Style for the text */
.autocomplete-text {
  font-size: 16px;
  color: #333;
}

/* Hover effect for better UX */
.autocomplete-item:hover {
  background-color: #f1f1f1;
}

/* Style the search input */
.search-input {
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar styling (for Webkit browsers like Chrome, Safari, etc.) */
.autocomplete-results::-webkit-scrollbar {
  width: 8px;
  /* Width of the scrollbar */
}

.autocomplete-results::-webkit-scrollbar-track {
  background: #f5f5f5;
  /* Track color */
  border-radius: 10px;
}

.autocomplete-results::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  /* Scrollbar color */
  border-radius: 10px;
  border: 2px solid #f5f5f5;
  /* Adds some padding around the scrollbar thumb */
}

@media only screen and (min-width: 992px) {
  .search-input {
    width: 50%;
  }
}

/* Section devis personnalise sur la home page */
.homesectiondeviscustomized {
  min-height: 25vh;
  background: #202C45;
  border-radius: 5px;
  color: #FFF;
  padding: 10px;
}

.homesectiondeviscustomized a,
.homesectiondeviscustomized h3,
.homesectiondeviscustomized p {
  color: #FFF;
}

/* Single service order stage bloc */
.orderstage {
  border: 1px solid rgba(32, 44, 69, 0.196);
  border-radius: 5px;
}

.orderstage .number {
  font-size: 1rem;
  font-weight: 800;
  margin-right: 1rem;
  background: rgba(32, 44, 69, 0.196);
  border-radius: 50px;
  min-width: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orderstage .icon i {
  font-size: 2.5rem;
}

/* Fil d'ariane */
.breadcrumb {
  background: none;
}

.breadcrumb li a {
  color: #6c757d;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  padding: 0 0.5rem;
  color: #6c757d;
}

/* Page contact */
.ourContactDetails {
  background: #202c45;
}

.ourContactDetails h3,
.ourContactDetails h4,
.ourContactDetails p,
.ourContactDetails a {
  color: #fff;
}

.ourContactDetails p,
.ourContactDetails a {
  font-weight: 300 !important;
}

.ourContactForm {
  border: 1px solid rgba(0, 0, 0, .125);
}

.ourContactForm form select,
.ourContactForm form textarea,
.ourContactForm form input {
  background-color: #f0f2f5;
  padding: 8px 25px;
  border: none;
}

.ourContactForm form select:focus,
.ourContactForm form textarea:focus,
.ourContactForm form input:focus {
  background-color: #f0f2f5;
  padding: 8px 25px;
  border: none;
}

.ourContactForm form select,
.ourContactForm form input {
  height: calc(2em + 1rem + 2px);
}

/* Home page bloc categories */
.homepageAllCategories .singleCategory i {
  font-size: 3rem;
  color: #202c45;
}

.homepageAllCategories .singleCategory {
  background: #FFF;
  padding: 10px 30px 15px;
  box-shadow: 0px 0px 10px 0px #ccc;
  border-radius: 10px;
}

.homepageAllCategories .btn.btn-custom.view {
  max-width: 50%;
}

/* Home page bloc contact us */
.homepageContactUs {
  background: #a0c0e83a;
}

.homepageContactUs a.contactBtn {
  border: 2px solid #202C45;
  border-radius: 0px;
  background: #FFF;
}

.homepageContactUs a.contactBtn:hover {
  border: 2px solid #202C45;
  background: #202C45;
  color: #FFF;
  transition: all 0.3s;
  transform: scale(1.2, 1.2);
}

button#filterDropdown:focus{
box-shadow: none!important;
}

.blog .blog-img img {
  aspect-ratio: 16 / 9;
  object-fit: cover; 
}

#mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
}

.overlay-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.search-box {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: white;
}

.top-bar .top-bar-item .dropdown-toggle::after {
  display: none !important;
}