/* ----------------------------------------------------------------

	Custom CSS

-----------------------------------------------------------------*/

/** cookies section **/

#cookie {
  z-index: 9999;
  padding: 15px;
  background: inherit;
  font-size: 13px;
  text-align: center;
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
}

#accept-button {
  text-decoration: none;
  background: #f27d4f;
  color: white;
  border: none;
  font-weight: 400;
  border-radius: 5px;
  cursor: pointer;
  padding: 4px 6px;
  font-size: 13px;
  margin-left: 15px;
}

#reject-button {
  color: inherit;
  text-decoration: none;
  background-color: inherit;
  font-weight: 400;
  border-radius: 5px;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 13px;
  margin-left: 15px;
}

.cookie-circle {
  cursor: pointer;
  display: none;
  position: fixed;
  z-index: 5;
  bottom: 25px;
  left: 25px;
  opacity: 0.75;
  transition-timing-function: ease;
  transition-duration: 0.4s;
  transition-property: opacity, transform;
}

.cookie-circle:hover {
  opacity: 1;
}

.cookie-circle img {
  width: 70%;
}

.cookie-circle i {
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  font-size: 22px;
  background-color: #212529;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.theme-mode-dark.cookie-circle i,
.theme-mode-dark .cookie-circle i {
  background-color: var(--secondary-bg-color-2);
}

.cookie-circle i:hover,
.cookie-circle i:focus {
  background-color: #f27d4f;
  box-shadow: 0 14px 28px rgba(242, 125, 79, 0.25),
    0 10px 10px rgba(242, 125, 79, 0.22);
}

.primarycolor {
  color: var(--primary-color) !important;
}

/** google-map-section **/

.google-map-section {
  position: relative;

  display: block;

  padding-top: 0px;

  padding-bottom: 0px;
}

.google-map-section .map-outer {
  position: relative;

  height: 600px;

  width: 100%;

  background-color: #222222;
}

.google-map-section .map-canvas {
  position: relative;

  height: 100%;

  width: 100%;
}

/* icones expertises bleu */

#content .row .bi {
  color: var(--cnvs-themecolor);
}

/* Cacher le logo recaptcha */

.grecaptcha-badge {
  bottom: 100px !important;

  box-shadow: none !important;

  visibility: hidden;

  z-index: -100;
}

/* Styles par défaut des boutons */
.button {
  color: black;
  /* Couleur du texte par défaut */
  border-color: black;
  /* Bordure par défaut */
}

/* Styles des boutons en mode sombre */
.dark .button {
  color: white;
  /* Couleur du texte en blanc */
  border-color: white;
  /* Bordure blanche */
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  /* Espacement entre les cartes */
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Ajout d'une transition douce */
  display: flex;
  /* Utilisation de flexbox */
  flex-direction: column;
  /* Orientation verticale */
  justify-content: center;
  /* Centre verticalement */
  align-items: center;
  /* Centre horizontalement */
  height: 100%;
  /* Assurez-vous que la carte prend la pleine hauteur de son conteneur */
}

.card:hover {
  background-color: #f27d4f;
  /* Couleur de fond au survol */
  color: white;
  /* Texte en blanc au survol */
}

.card:hover .bi {
  color: white !important;
  /* icone en blanc au survol */
}

.card:hover .button {
  color: white !important;
  border-color: white !important;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2), 0px 3px 6px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 30px;
  display: flex;
  /* Utilisation de flexbox pour centrer le contenu */
  flex-direction: column;
  /* Orientation verticale */
  justify-content: center;
  /* Centre verticalement */
  align-items: center;
  /* Centre horizontalement */
  height: 100%;
  /* Assurez-vous que le body prend la pleine hauteur de la carte */
}

.card-title {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  /* Centre le texte du titre */
}

.card-text {
  font-size: 1rem;
  text-align: center;
  /* Centre le texte du paragraphe */
}

.author-thumb {
  width: 110px;
  border-radius: 10px;
}

/* Assurez-vous que le texte reste blanc même si la couleur change au survol */
.card:hover .card-title,
.card:hover .card-text,
.card:hover h1,
.card:hover h2,
.card:hover h3,
.card:hover h4,
.card:hover h5,
.card:hover h6 {
  color: white;
  /* Texte en blanc pour le titre et le paragraphe */
}
