.custom-readonly {
  background-color: #e9ecef !important;
}

.dt-button {
  margin-right: 1rem;
  border: none;
}

#dropdownSearch {
  border: 1px solid #ced4da;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

#dropdownSearch:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  background-color: #ffffff;
}

#dropdown-menu-client {
  max-height: 200px;
  overflow-y: auto;
}

#dropdownSearchContainer {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
}

.input-to-label-style {
  border: 1px solid transparent;
  background-color: transparent;
}

.required-field::after {
  content: " *";
  color: red;
}

.form-control-sm {
  min-height: auto;
}

.is-valid {
  border: 2px solid green;
}

.is-invalid {
  border: 2px solid red;
}

#login-backgound {
 background: #fff url(/images/background/deneigement-dark.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

.dropzone {
  border: 2px dashed #ddd;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.file-input {
  opacity: 0; /* Make it invisible */
  position: absolute; /* Take it out of document flow */
  z-index: -1; /* Place it behind the scene */
}

.file-label {
  display: inline-block;
  background-color: #f7f7f7;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: background-color 0.3s;
}

.file-label:hover {
  background-color: #e7e7e7;
}

#icon-account {
  align-self: center;
  display: none;
  width: 24px;
  height: 24px;
}

/* Root Variables */
:root {
  --calendar-top-border-radius: 5px 5px 0 0;
  --calendar-bottom-border-radius: 0 0 5px 5px;
  --calendar-all-border-radius: 5px 5px 5px 5px;
}

.menu__box__section {
  border-radius: 10px 10px 0 0;
}

.menu__list {
  margin: 0;
  padding: 0.5rem;
  list-style: none;
}

.menu__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 3px;
  color: #333;
  text-decoration: none;
  transition-duration: 0.25s;
  background-color: #d0d0d0;
  /* The bellow setting is a test and maybe reverted */
  /* align-items: center; */
  overflow: hidden;
}

.menu__item:hover {
  background-color: #cfd8dc;
}

.menu__collapsible__link {
  display: block;
  padding: 0 0.5rem;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition-duration: 0.25s;
  border-radius: 10px 10px 0 0;
}

.menu__collapsible__link:hover {
  background-color: #cfd8dc;
}

/* Context Menu Styles */
#context-menu {
  position: fixed;
  z-index: 10000;
  width: 150px;
  background: #1b1a1a;
  border-radius: 5px;
  transform: scale(0);
  transform-origin: top left;
}

#context-menu.visible {
  transform: scale(1);
  transition: transform 200ms ease-in-out;
}

#context-menu .item {
  padding: 8px 10px;
  font-size: 15px;
  color: #eee;
  cursor: pointer;
  border-radius: inherit;
}

#context-menu .item:hover {
  background: #343434;
}

/* Calendar Styles */
#calendar {
  display: grid;
  width: 100%;
  min-width: 1000px;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--calendar-all-border-radius);
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 3em 3em 1fr;
  grid-auto-flow: row;
  gap: 0 0;
  grid-template-areas:
    "Calendar-Toolbar Calendar-Toolbar Calendar-Toolbar Calendar-Toolbar Calendar-Toolbar Calendar-Toolbar Calendar-Toolbar Calendar-Toolbar"
    "Team Monday Tuesday Wednesday Thursday Friday Saturday Legend"
    "Calendar-Body Calendar-Body Calendar-Body Calendar-Body Calendar-Body Calendar-Body Calendar-Body Legend-Item";
}

/* Calendar Elements Specific Styles */
.team {
  grid-area: Team;
}

.monday,
.lundi {
  grid-area: Monday;
}

.tuesday,
.mardi {
  grid-area: Tuesday;
}

.wednesday,
.mercredi {
  grid-area: Wednesday;
}

.thursday,
.jeudi {
  grid-area: Thursday;
}

.friday,
.vendredi {
  grid-area: Friday;
}

.saturday,
.samedi {
  grid-area: Saturday;
}

.legend,
.legend-item {
  text-align: center;
}

.legend {
  grid-area: Legend;
}

.legend-item {
  grid-area: Legend-Item;
}

#calendar-toolbar {
  display: flex;
  grid-area: Calendar-Toolbar;
  padding: 5px;
  border-bottom: 1px solid #e3e3e3;
}

.calendar__toolbar__item {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 10px;
}

#calendar-body {
  display: grid;
  grid-area: Calendar-Body;
  gap: 0 0;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-flow: row;
  margin-top: 10px;
}

.header-cell {
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15px;
}

.ellipse {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
}

.ellipse.current {
  background-color: #1967d2;
  color: white;
}

.day-text {
  font-weight: normal;
}

.day-value {
  font-weight: bold;
}

.day-text.current {
  color: #1967d2;
}

.body-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 150px;
  padding: 0 5px;
  border: 1px solid #e3e3e3;
  /* The bellow setting is a test and maybe reverted */
  min-width: 100%;
}

.body-cell > .menu__item {
  margin: 2px;
  font-weight: bold;
}

/* Scrollbar Styles for Webkit and Firefox */
#calendar-body .body-cell::-webkit-scrollbar {
  width: 5px;
}

#calendar-body .body-cell::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

#calendar-body .body-cell::-webkit-scrollbar-thumb {
  background-color: #0d6efd;
  border-radius: 5px;
}

#calendar-body .body-cell {
  scrollbar-width: thin;
  scrollbar-color: #0d6efd #f5f5f5;
}

.draggable {
  cursor: move;
}

.draggable.dragging {
  opacity: 0.5;
}

#btn-previous-week,
#btn-next-week {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: black;
}

#month-display-text {
  color: black;
  font-size: 1.5rem;
}

#btn-today {
  background-color: transparent;
  color: black;
  border: 1px solid #bdbdbd;
  padding: 12px 15px;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

#btn-today:hover {
  background-color: #bdbdbd;
  color: white;
  border: 1px solid transparent;
}

.btn-team-details {
  font-size: 0.7rem;
  background-color: transparent;
  color: black;
  border: 1px solid #bdbdbd;
  padding: 5px 15px;
  margin-top: 5px;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.btn-team-details:hover {
  background-color: #bdbdbd;
  color: white;
  border: 1px solid transparent;
}

.legend-menu {
  border: 1px solid lightgrey;
  margin-top: 10px;
}

.legend-item {
  color: black;
  font-weight: bold;
}

#hamburger-menu-calendar {
  color: black;
  transition: transform 0.5s ease;
}

#hamburger-menu-calendar:hover {
  transform: scale(1.1);
}

.team-item {
  padding-top: 7px;
}

.team-item div {
  text-align: center;
}

.document-icon {
  font-size: 64px;
}

.document-dropzone-feedback {
  display: flex;
  gap: 1rem;
}

.active-projects tbody tr td:last-child {
  width: 2rem;
}

#custom_searchBox {
  max-width: 25%;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  margin-bottom: 10px;
  background-color: rgba(238, 238, 238, 0.9333333333);
}

#custom_searchLabel {
  padding: 5px;
  margin: 0 5px 0 0;
}

#custom_searchInput {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border: none;
  background-color: rgba(238, 238, 238, 0.9333333333);
}

.spinner-centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

/*************************/
/***CUSTOMS MEDIA QUERY***/
/*************************/

@media (max-width: 575px) {
  #icon-account {
    display: block;
  }
}

@media (max-width: 1023px) {
}

@media (max-width: 767px) {
}

/*************************/
/**BOOTSTRAP MEDIA QUERY**/
/*************************/

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  .max-lg-20vw {
    max-width: 20vw;
  }
}

/*X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
}

/*XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
}

.my-custom-class {
  /* Custom styles */
  font-weight: bold;
  color: black;
  background-color: #ccc;
  margin: 5px;
  padding: 2px;
  border-radius: 5px;
}

.fc-event-main > div {
  display: flex;
  flex-direction: column;
}

/* .fc-timeline-header-row-chrono {
  display: none;
} */