/* styles globaux */

/* rendre visible partie sup sur phones */
body {
  padding-top: 120px;
  color: #454A4D;
}

.main-content {
  min-height: 55vh;
}

h1, h2, h3, h4, h5, h6 {
  color: #111518;
}

h1 {
  font-size: 25px;
}

.h1 {
  font-size: 25px;
}

h2 {
  font-size: 22px;
}

.h2 {
  font-size: 22px;
}




label.required:after, legend.required:after {
  content: " *";
  color: red;
}

.bg-footer {
  background-color: #575b5e;
  color: white;
}

/* couleur texte choisi */
::-moz-selection {
  /* Code for Firefox */
  color: #FFF;
  background: #1B9476;
}

::selection {
  color: #FFF;
  background: #1B9476;
}

/* fin styles globaux */

/* nav */
.bg-main {
  background-color: #f5f5f5;
}

.sticky {
  position: sticky !important;
  top: 80px;
  z-index: 100;
  background: white;
}

.navbar-container {
  height: 100%;
}

.navbar-collapse {
  margin-top: -20px;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
}

.fa-stack {
  width: 40px;
  height: 40px;
}

.fa-stack .fas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* pastilles Notifications & New Messages */
.fa-stack[data-count]:after {
  position: absolute;
  right: 20%;
  top: 10%;
  content: attr(data-count);
  font-size: 0.6rem;
  padding: .2em .4em;
  border-radius: 999px;
  line-height: .75em;
  color: white;
  background: #FF2400;
  text-align: center;
  min-width: 2em;
  font-weight: bold;
}

/* fin pastilles Notifications & New Messages  */

/* fin nav */

/* page d'accueil */
.index-zone {
  position: relative;
}

.index-cadre {
  position: absolute;
  top: 66%;
  left: 5.5%;
  z-index: 2;
  background-color: transparent;
  max-width: 50%;
}

.btn-custom {
  background-color: #124660;
  color: white;
  font-size: 21px;
  padding: 12px 20px;
  border-radius: 5px;
  transition: background-color 0.5s, color 0.3s;

}

.btn-custom:hover {
  background-color: #d4d4d4;
  color: #124660;
}

@media (max-width: 576px) {
  .index-cadre {
    max-width: 90%;
  }

  .btn-custom {
    font-size: 18px;
    /* Réduit la taille de la police sur les petits écrans */
    padding: 10px 15px;
    /* Réduit le padding sur les petits écrans */
  }
}

.banner-index {
  display: block;
  height: 100%;
  width: 100%;
  line-height: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

/* fin page d'accueil */

.zone-buttons {
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.40);
  min-height: 50px;
}

/* cartes articles */
[class*="col-6 col-sm-4 col-md-3"] {
  margin-bottom: 2rem;
}

.element-front {
  z-index: 10;
}

/* menu sous categorie vertical*/
.groupe-boutons-sg {
  width: 200px;
  border-width: 5px;
  border-color: #454A4D;
  margin-bottom: 20px;

}

.bouton-sg {
  width: 60%;
  margin-top: 5px;
}

/* caroussel */
#myCarousel {
  width: 60%;
}

.carousel .carousel-item {
  height: 250px;

}

.carousel-item img {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  min-height: 250px;
  width: 100%;

}

/* messages */

.message__bg_not_read {
  color: #486f52;
  background-color: #e8f7ec;
  border-color: #dff3e4;
  position: relative;
}

.message__bg_not_read::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
}

.btn-width {
  width: 100px;
}

/* fin messages */

/* profil */
.radio-choose {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.radio-choose .form-check {
  margin: 5px 0px;
}

/* pour enlever etoile en face des choices pour le sexe */
input[type="radio"]+label.required:after {
  content: "";
}

/* images avatars */
.rounded-image {
  border-radius: 50%;
  object-fit: cover;
}

.big-avatar {
  width: 170px;
  height: 170px;
}

.medium-avatar {
  width: 100px;
  height: 100px;
}

.small-avatar {
  width: 40px;
  height: 40px;

}

.avatar-lettres-small {
  height: 2.5rem;
  font-size: 14px;
  text-align: center;
  line-height: 2.5rem;
  font-weight: bold;
}

.border-orange {
  box-shadow: 0px 9px 28px -3px rgba(0, 0, 0, 0.1);
}

/* fin images avatars */

/* look alertes de notifications */
.notification__trash {
  padding: 15px 15px 15px 15px;
}

.alert-notification i:hover {
  font-size: 20px;
  transition: all ease-out 0.2s;
}

.notification__date {
  color: #454A4D;
  font-size: 0.9rem;
  font-weight: bold;
}

/* fin look alertes de notifications */

/* Spinner 
.loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
}

.loader {
  left: 50%;
  margin-left: -4em;
  font-size: 10px;
  border: .8em solid #F5F5F5;
  border-left: .8em solid #1B9476;
  animation: spin 1.1s infinite linear;
}

.loader, .loader:after {
  border-radius: 50%;
  width: 8em;
  height: 8em;
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -4.05em;
}

@keyframes spin {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}
*/
/* fin Spinner */

/* Filtres dynamiques */

div[id^=data_search_], .zone-echeangeable .form-check {
  margin-left: 5px;
}

#data_search_sort {
  height: auto;
  width: auto;
}

#js-filtres-container {
  box-shadow: 2px 3px 0px 0px rgba(0, 0, 0, 0.40);
  display: flex;
  flex-wrap: wrap;

}

#js-filtres-container .js-dismiss-filtre {
  cursor: pointer;
}

.drop-mobile::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8px;
}

.drop-mobile::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  /* Change to your preferred color */
  box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}


/* fin Filtres dynamiques */

/* blog */

/* espace entre cols des miniatures de blog*/
[class*="col-12 col-lg-6"] {
  margin-bottom: 2rem;
}

[class*="col-12 col-sm-4"] {
  margin-bottom: 2rem;
}

.image-mini-post {
  filter: brightness(66%);
}

.title-min-post {
  position: absolute;
  font-size: 1.6em;
  top: 40px;
  left: 20px;
  color: white;
  font-weight: bold;
}

@media (max-width: 490px) {
  .title-min-post {
    font-size: 1.15em;
    top: 0px;
  }
}

.commentaire-selected-row {
  background-color: #275bb8 !important;
  color: #fff;
}

/* fin blog */

/* rating */
.rating {
  font-size: 3rem;
  color: darkgray;
}

.checked {
  color: #F97C00;
}

.star {
  cursor: pointer;
}

/* fin rating */

/* bouton de chat */
.fixed-button {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 100;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* fin bouton de chat */

/* partie read more */
.read-more-title, .read-more-description {
  font-weight: bold;
  margin-left: 5px; /* Ajoute un petit espace entre les "..." et le lien */
  color: #1B9476;   /* Couleur bleue par défaut pour indiquer un lien */
  cursor: pointer;
  text-decoration: none; /* Pas de soulignement */
  font-size: 0.8rem; /* Taille plus petite pour le texte "Lire la suite" */
}

.read-more-title:hover, .read-more-description:hover {
  text-decoration: underline; /* Soulignement au survol pour indiquer l'interaction */
}

/* fin partie read more */