css Open In Editor Edit Copy code * {
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
}


:root {
  /* ACCCES COLORS */
  --clr-main: #ff3366;
  --clr-bg: #fcfcfc;

  /* ACCENTS COLORS */
  --clr-red: #E83B3B;
  --clr-blue: #30679A;
  --clr-yellow: #EF736A;
  /* --clr-blue-opacity: #A9E0C9; */

  /* PASTELS  COLORS */
  --clr-red-pastel:rgba(239, 115, 106, 0.071);
  /* --clr-blue-opacity-pastel: #EFF9F5; */
  /* --clr-yellow-pastel: #FFF9EB; */
  --clr-blue-opacity: rgba(48, 103, 154, 0.25);
  --clr-bg-pink:#FEF5F7;
  --clr-baby-blue: #36BAC1;
  /* --clr-baby-blue:#f4deab; */

  /* CONTRAST COLORS */
  --clr-light: white;
  --clr-dark: #404040;

}

/* COLORS */
/* our own class color utilities */
.my-text-dark {
  color: var(--clr-dark);
}

/* RED */
.my-text-red {
  color: var(--clr-red);
}

.my-bg-red {
  background-color: var(--clr-red);
}

.my-bg-red-pastel {
  background-color: var(--clr-bg-pink);
}

/* GREEN */
.my-text-green {
  color: var(--clr-main);
}

.my-border-green{
  border-color: var(--clr-main) !important;
}

.my-bg-green {
  background-color: var(--clr-main);
}
.my-bg-green-medium {
  color: var(--clr-main);
  background-color: var(--clr-blue-opacity);
  &:hover{
    color: var(--clr-main);
    background-color: var(--clr-blue-opacity);
  }
}

.my-bg-green-pastel {
  background-color: var(--clr-bg-pink);
}
.my-border-clr-main{
  border-bottom-color: var(--clr-main) !important;
}

/* BLUE */
.my-text-blue {
  color: var(--clr-blue);
}

.my-bg-blue {
  background-color: var(--clr-blue-opacity);
}

.my-bg-blue-pastel {
  background-color: var(--clr-bg-pink);
}

.my-bg-baby-blue {
  background-color: var(--clr-baby-blue);
}

/* YELLOW */
/* .my-text-yellow {
  color: var(--clr-red);
} */

.my-bg-yellow {
  background-color: var(--clr-red);
}

.my-bg-yellow-pastel {
  background-color: var(--clr-bg-pink);
}

.my-bg-baby-yellow {
  background-color: var(--clr-baby-blue);
}


.my-bg-gray{
  background-color: #f3f3f3;
}

/* ----------------------------------------- */
/* ----   Style for elements  ----- */

/* CLEAR-GREEN */

.my-text-clr-blue-opacity {
  color: var(--clr-blue-opacity);
}

.my-bg-clr-blue-opacity {
  background-color: var(--clr-blue-opacity);
}

/* ----------------------------------------- */
/* ----   Style for buttons / elements  ----- */

.my-btn-red {
  background-color: var(--clr-red);
  transition: .25s;


  &:hover {
    transform: translateY(-5px);
    background-color: var(--clr-red);
  }
}

.my-btn-green {
  background-color: var(--clr-main);
  transition: .25s;

  &:hover {
    transform: translateY(-5px);
    background-color: var(--clr-main);
  }
}
.my-btn-green-pastel {
  background-color: var(--clr-blue-opacity);
  transition: .25s;

  &:hover {
    /* transform: translateY(-5px); */
    background-color: var(--clr-blue-opacity);
  }
}

.my-btn-yellow {
  background-color: var(--clr-red);
  transition: .25s;

  &:hover {
    transform: translateY(-5px);
    background-color: var(--clr-red);
  }
}

/* .my-btn-blue {
  background-color: var(--clr-red);
  transition: .25s;

  &:hover {
    transform: translateY(-5px);
    background-color: var(--clr-blue);
  }
} */

.my-btn-blue-no-hover {
  background-color: var(--clr-blue);
}


/* PALE-GREEN */

/* ----------------------------------------- */
/* ----   Style for link navigation   ----- */
.my-link-item-hover {

  position: relative;
  padding-bottom: 5px; /* Ajustez cette valeur en fonction de vos besoins */
  display: inline-block;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px; /* Épaisseur de la ligne */
  background-color: #fbf8f8; /* Couleur de la ligne */
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out; /* Transition pour l'agrandissement */
}

.nav-link:hover::after {
  width: 100%; /* La ligne s'agrandit à 100% */
  left: 0; /* La ligne s'étend de gauche à droite */

  /* &:hover {
    background: var(--clr-bg);
    color: var(--clr-main);

  } */
}
a.my-active {
  background: var(--clr-bg);
  color: var(--clr-main);
}
img.my-active{
  border: 2px  solid var(--clr-bg);
}


/* ----------------------------------------- */
/* ----   Style for calendar  ----- */

.calendar-container {
  max-width: 80%; /* Adjust this to control the width */
  margin: 0 auto; /* Center the calendar */
  padding: 20px;  /* Add some padding */
}

#calendar {
  width: 100%; /* Ensure the calendar takes the full width of its container */
}


/* Special situations */
/* taille cards */
/* --------------------------------------------- */

.my-ratio {
  height: 280px;

}


.my-circle {
  width: 40px !important;
  aspect-ratio: 1/1 !important;
  border-radius: 50%;
}


.my_slider_tilte_height {
  height: 50px;
}

.my-required {
  color: red;
  font-size: 1.2em;
  vertical-align: top;
}

.my-container-custom-logo{
  width: 400px !important;
  display: inline-block;
}


/* --------------------------------------------- */
/* Reset */
img {
  object-fit: cover;
  width: 100%;
}


/* --------------------------------------------- */
body {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  color: var(--clr-dark);
  background-color: var(--clr-bg);
}


.black{
  color: black !important;
}

/* --------------------- Style pour les TITRES ------------------------ */

.h1 {
  font-size: 3.5rem;
  font-weight: bolder;
}

.h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.h4 {
  font-size: 1.3rem;
  font-weight: bold;
}

.h5 {
  font-size: 1.1rem;
  font-weight: bold;
}



/* NAV NAVIGATION */
.navbar {
  background-color: var(--clr-main) !important;

}

.navbar-nav{
  z-index: 100;
}

.my-modal-container{
  z-index: 2000;
}


.user-profil {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

/* LOGO */
/* .navbar-brand {
  color: var(--clr-light);
  font-weight: 900;
  font-size: 2rem;
} */

.custom-logo {
  width: 30% !important; /* Smaller size for mobile devices */

}

@media (max-width: 992px) {
  .custom-logo {
      width: 30% !important; /* Smaller size for mobile devices */

  }
}

/* LIENS  BARRE DE NAVIGATION */
.nav-link {
  color: var(--clr-light);
  font-size: 1rem;
  margin:0 2rem;
}

/* ICONES  BARRE DE NAVIGATION */
.icon {
  color: var(--clr-light);
  font-size: 1.6rem;
}

.icon-container {
  display: inline-block;
  margin: 0 20px;
  padding: 5px;
}

.onlineSpan{
  position: absolute;
  top: -6px;
  right: 6px;

}

/* PHOTO BARRE DE NAVIGATION */
.profile-picture {
  display: inline-block;
  margin: 0 20px;
  padding: 5px;
}




/* FOOTER */
.container-footer {
  background-color: var(--clr-main) !important;
}

.social-icons {
  font-size: 1.7rem;
}





/* PAGE INDEX TWIG */

.bg-yellow {
  background-color: #F9C44E;
}

.my-overlay-gradient {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.482), rgba(0, 0, 0, 0.071));
}

/* Carroussel */
.custom-carousel-control-prev,
.custom-carousel-control-next {
  width: 5%;
  height: 100%;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.custom-carousel-control-prev {
  left: -5% !important;
}

.custom-carousel-control-next {
  right: -5% !important;
}

.card_user-profil {
  width: 100%;
  aspect-ratio: 1/1;

}

.carousel-indicators {
  margin-bottom: -40px !important;
}


/* CAROUSEL TITLE HR */

.hr, .hr-white {
  align-items: center;
  display: flex;
  text-align: center;
}

.hr::before,
.hr::after {
  background: #a6a4a47b;
  content: "";
  flex: 1;
  height: 0.06em;
  margin: 0 .5em;

}

/* CUSTOM HR */

.hr-white::before, .hr-white::after {
  color: white;
  border-style:solid;
  background: #a6a4a47b;
  content: "";
  flex: 1;
  height: 0.06em;
  margin: 0 .5em;
}




/* PAGE ANNUAIRE */

.searchAnnuaire {
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  height: 80px;

}


/* Supprimer le focus des inputs */
.inputSearch:focus {
  outline: none;
}

/* ********************************************Titre ressource******************************************** */


.directoryTitle{
  font-size: 40px;
}

/* **************************************Media query Titre ressource************************************** */

@media (max-width:768px ) {
  .directoryTitle {
      font-size: 45px

  }
}

@media (max-width:576px ) {
  .directoryTitle {
      font-size: 35px

  }
}

@media (max-width:576px) {
  .directoryTitle {
    font-size: 40px;
  }
}

@media (max-width: 195px) {
  .directoryTitle {
    font-size: 15px;
  }
}
/* ******************************************************************************************************* */

.directoryHero{
  max-height: 40vh;
}

@media (max-width: 576px) {
  .title-res {
    font-size: 45px !important; /* Smaller size for mobile devices */

  }
}



/* ----  Profile page Styles ------*/
.my-img-cover {
  height: 150px;
}

.my-img-profile {
  width: 150px;
  aspect-ratio: 1/1;
  border: 4px solid rgb(255, 255, 255);
  margin-top: -75px;
}

.menu_container li a {
  display: block;
  text-align: left;
  border: none;
  background: transparent;
  background: var(--clr-text-2);
  color: var(--clr-text-1);

  &:hover {
    background: var(--clr-main-pastel);
    color: var(--clr-text-1);
  }
}

.aside-menu-item{

  &:hover{
    background: var(--clr-blue-opacity) !important;
    color: var(--clr-main) !important;
  }

  &.my-active{
    background: var(--clr-blue-opacity);
    color: var(--clr-main);
  }

}
.menuBi li a{
  cursor: pointer !important;
}
.excludeMargin{
  margin: 0 !important;
}

@media (max-width: 575px) {
  .justify-content-xs-center {
    justify-content: center;
  }
}


.description {
  min-height: 150px; /* Adjust height as needed */
  margin-bottom: 0; /* Prevent extra margin at bottom */
}


.section-main {
background-color: #404040;

}


/* CSS */
.button-75 {
  align-items: center;
  /* background-image: linear-gradient(135deg, #f34079 40%, #fc894d); */
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  /* color: #fff; */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  /* font-family: "Codec cold",sans-serif; */
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: ; */
  font-style: normal;
  font-size: .8rem;
  height: 40px;
  justify-content: center;
  letter-spacing: .4px;
  line-height: 1;
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 3px;
  text-decoration: none;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-75:active {
  outline: 0;
}

.button-75:hover {
  outline: 0;
}

.button-75 span,.button-75 a span {
  transition: all 200ms;
}

.button-75:hover span,.button-75:hover a span {

  opacity: .75;
}

@media screen and (max-width: 991px) {
  .button-75 {
    font-size: .8rem;
    height: 50px;
  }

  .button-75 span {
    line-height: 50px;
  }
}


/* ************************* Style pour la MESSAGERIE ************************* */

.message.sent, .message.received {
  background-color: var(--clr-main);
  /* width: 40%; */
  background-size: auto;
  align-self: flex-end;
  padding: .5rem;
  margin: 0.5rem;
  border-radius: 8px;
  max-width: 80%; /* Adjust the max width of the message bubble */
  word-wrap: break-word; /* Allow text to wrap when it exceeds the container width */
  white-space: normal; /* Ensure text wraps onto the next line */
}

.message.sent {
  background-color: var(--clr-main);
  align-self: flex-end;
  text-align: end;
}

.message.received {
  background-color: var(--clr-baby-blue);
  align-self: flex-start;
  text-align: start;
}

.chat-window {
  display: flex;
  flex-direction: column;
  height: 83vh; /* Make it take the full screen height */
  max-height: 100vh;
}

.messages {
  overflow-y: auto; /* Enable scrolling inside the messages area */
  max-height: 70vh; /* Adjust based on your layout */
  flex-grow: 1;
  display: flex;
  flex-direction: column-reverse; /* Show the most recent messages first */
}

.message-input {
  position: sticky;
}

.placeholder-message {
  width: 92%;
  align-self: center;
  border: 1px solid black;
  border-radius: 8px;
  padding: .5rem 0;
}

.placeholder-message::placeholder{
  padding: .5rem;
}

.btn-messagerie {
  width: 50px;
  height: 50px;
  background-color: var(--clr-main);
  border-radius: 100%;
  color: #fcfcfc;
  padding: .2rem;
}

/* ************************* Style pour le fil d'actualité ************************* */

.unread-marker {
  position: absolute;
  top: 18px;
  right: 30px;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}


/* ************************* Style pour la pagination ************************* */

.pagination .page-link {
  color: black; /* Changes the text color to red */
}

.pagination .page-item.active .page-link {
  background-color: #92a0d3; /* Active page background color */
  border-color: #92a0d3; /* Border color for active page */
  color: white; /* Active page text color */
}


