/* Définition de la police personnalisée */
@font-face {
  font-family: "lexend"; /* Le nom que vous utiliserez dans votre CSS */
  src: url("../fonts/Lexend-Medium.ttf") format("truetype"); /* Chemin relatif depuis style.css vers fonts/ */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Très recommandé */
}

/* Surcharger le bouton primaire */
.btn-primary {
  background-color: #4caf81; /* Votre nouvelle couleur de fond */
  border-color: #4caf81; /* Assurez-vous que la couleur de la bordure correspond */
}

/* Changer la couleur du texte sur le bouton primaire au survol */
.btn-primary:hover {
  background-color: #4caf81; /* Une teinte plus foncée au survol */
  opacity: 0.8;
}

/* Changer la couleur du texte et du fond du bouton primaire en mode actif/focus */
.btn-primary:active,
.btn-primary:focus {
  background-color: #4caf81 !important;
  border-color: #4caf81 !important;
  opacity: 1 !important;
}

body {
  margin: 0;
  padding: 0;
  font-family: "lexend", sans-serif;
  background-color: #f4f4f4;
}

.large {
  width: 100%;
}

.bodlogin {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-family: "lexend", sans-serif;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.logoimg {
  width: 105px;
  margin-right: 0px;
}

.logoimg2 {
  width: 150px;
  margin-right: 0px;
}

.smallcontainer {
  width: 400px;
}

.restylecolor {
  background: #4caf81;
  border: 1px solid #4caf81;
}

.restylecolor:hover,
.restylecolor:focus {
  opacity: 0.8;
  background: #4caf81;
  border: 1px solid #4caf81;
}

.navbarx {
  background-color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  height: 65px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  padding: 0px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.containerx-fluidx {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0px 20px;
  width: 100%;
  height: 65px;
  align-items: center;
}

.navbar-brandx {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: bold;
}

.profilicon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfdfdf;
  margin: 0px 5px;
}

.profilicon i {
  font-size: 20px;
}

.restyledropdown {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #333;
  border: none;
}

.restyledropdown.moreaction i {
  font-size: 20px;
  margin-left: 8px;
}

.restyledropdown.moreaction {
  background: #eee;
}

.restyledropdown:hover,
.restyledropdown:focus {
  background-color: #eee !important;
  color: #333 !important;
  border: none !important;
}

.d-flex {
  display: flex;
  justify-content: space-between;
}

.margebody {
  display: flex;
  flex-direction: column;
  margin: 30px 40px;
  padding: 5px;
}

.linkbtnx {
  display: flex;
  padding: 10px 20px;
  background: #003366;
  color: #fff;
  text-decoration: none;
  outline: none;
  border-radius: 8px;
  display: block;
  float: left;
  width: 150px;
  margin-bottom: 20px;
}

.body {
  position: absolute;
  top: 60px;
  left: 270px;
  right: 0;
  bottom: 0;
  overflow: auto;
  display: block;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background-color: transparent;
  color: #333;
  position: fixed;
  top: 90px;
  bottom: 0;
  left: 20px;
  overflow-y: auto;
  /* box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15); */
  padding: 1rem;
}

.sidebar .nav-link {
  display: block;
  color: #333;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition:
    0.2s,
    transform 0.2s;
  border-radius: 8px;
  margin-bottom: 5px;
}

.sidebar .nav-link i {
  font-size: 22px;
  margin-right: 5px;
}

.sidebar .nav-link:hover {
  background-color: #eee;
  transform: translateX(4px);
}

.sidebar .nav-link.active {
  background-color: #fff;
  color: #4caf81;
  border: 1px solid #eee;
  /* transform: translateX(4px); */
}

.contentdash {
  display: block;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #dfdfdf;
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.flexline {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.flexlinex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.flexlinex .moreaction i {
  margin-left: 0;
}

.flexlinex .moreaction {
  margin-left: 8px;
  padding: 2px 6px;
}

.pharmaciecard {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  border-top: 1px solid #dfdfdf;
}

.pharmaciecard:first-child {
  border-top: 1px solid transparent;
}

.itemmarge {
  margin: 0px 20px;
}

.flexitem {
  display: flex;
  align-items: center;
}

.itemmedocphoto {
  width: 90px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.iconpharmacie {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 80px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 20px;
}

.iconpharmacie i {
  font-size: 40px;
  color: #888;
}

.iconpharmacie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iconuser {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 20px;
}

.iconuser i {
  font-size: 40px;
  color: #888;
}

.dropdown-item {
  cursor: pointer;
}

.iconcmd {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #d1ffe9;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 10px;
  border: 1px solid #78e1b0;
}

.iconcmd i {
  font-size: 30px;
  color: #4caf81;
}

.itemname {
  font-size: 24px;
  font-weight: bold;
}

.itemloalisation {
  color: #777;
  font-size: 14px;
}

.itemtype {
  color: #4caf81;
  font-size: 14px;
}

.dropdown-toggle::after {
  display: none;
}

.form-control {
  height: 45px;
}

table {
  border: 1px solid #dfdfdf;
  border-left: 0px solid transparent;
  border-right: 0px solid transparent;
  border-collapse: collapse;
}

table td {
  border-left: 1px solid #dfdfdf;
  border-top: 1px solid #dfdfdf;
}

table td:first-child {
  border-left: 1px solid transparent;
}

table th {
  border-left: 1px solid #dfdfdf;
  background: #fafafa;
}

table th:first-child {
  border-left: 1px solid transparent;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
  color: inherit;
  margin: 15px;
}

.etattext {
  padding: 5px 8px;
  border-radius: 6px;
  background: #cdecdc;
}

.etattext.red {
  background: #eccdd3;
}

.etattext.orange {
  background: #ffc48e;
}

.descbox {
  color: #444;
  font-weight: normal;
  text-align: justify;
  line-height: 24px;
}

.labelphoto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 200px;
  border: 4px dashed #dfdfdf;
  border-radius: 10px;
  margin-bottom: 30px;
  cursor: pointer;
  overflow: hidden;
}

.labelphoto i {
  font-size: 80px;
  color: #ccc;
  transition: 0.3s;
  position: absolute;
}

.labelphoto:hover i {
  width: 240px;
  height: 190px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  z-index: 2;
}

.labelphoto img {
  width: 250px;
  height: 200px;
  position: relative;
  z-index: 1;
  object-fit: cover;
}

.linkreturn {
  text-decoration: none;
  outline: none;
  color: #888;
  transition: 0.3s;
}

.linkreturn:hover {
  color: #333;
}

.ql-toolbar-style {
  width: 100%;
  margin: 20px auto;
}

.loader {
  display: flex;
  width: 10px;
  height: 10px;
  border-radius: 25px;
  border: 3px solid #fff;
  border-left: 3px solid transparent;
  margin-right: 10px;
  transition: 0.3s;
  animation: rotate 0.7s linear infinite;
  transform: rotate(0deg);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.blue {
  background: #bce7f8;
}
