.calendar_title {
  font-size: 1.6rem;
  font-weight: 700;
  padding: 20px 0 10px 0;
}

.overflowx-s {
  overflow-x: auto;
}

@media (min-width: 850px) {
  .overflowx-s {
    overflow-x: unset;
  }
}

table.calendar_view {
  width: 100%;
  min-width: 800px;
  /* border-top: 1px solid black; */
  font-size: 1.1rem;
  border-spacing: 0px;
  border-collapse: separate;
  position: relative;
}

table.calendar_view thead {
  /* position: sticky; */
  /* inset-block-start: 0; */
  background: #a30c0c;
  top: 50px;
  z-index: 8888888;
}

table.calendar_view th:first-child,
table.calendar_view td:first-child {
  /* Apply a left border on the first <td> or <th> in a row */
  border-left: 1px solid black;
}

/* table.calendar_view thead tr {
  border: 1px solid black;
  
  border-collapse: separate;

}  */
table.calendar_view th {
  background-color: white;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
}

table.calendar_view th.today {
  background-color: red;
  color: white;
}

table.calendar_view td,
table.calendar_view th {
  border-bottom: 1px solid black;
  border-right: 1px solid black;

  font-weight: normal;
}

.calendar_view__employee {
  font-weight: 700;
}

.calendar__day__header {
  position: relative;
  width: 30px;
  text-align: center;
}

.calendar__day__container {
  position: relative;
  height: 60px;
  width: 30px;

  text-align: center;
}

.calendar__day {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.calendar__day__M {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-bottom: 1px solid black;
}

.calendar__day__A {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
}

.calendar__day__link {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  justify-content: center;
}

.calendar__day__link img {
  width: 18px;
  height: 18px;
}

.calendar__day__link__blue:hover {
  background: #0522ff;
}

.calendar__day__link__opacity:hover {
  background: white;

  opacity: 0.6;
}

.calendar__day__type__nocontract {
  background-color: gray;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.5) 2px,
    rgba(255, 255, 255, 0.5) 4px
  );
}
.calendar__day__does_not_exist {
  background-color: gray;
}
.calendar__day__weekend {
  background-color: gray;
}

.calendar__day__partialtime {
  background-color: rgb(202, 194, 194);
}

.calendar__day__vacation_pending {
  background-color: rgb(255, 166, 0);
}

.calendar__day__vacation_approved {
  background-color: rgb(30, 255, 0);
}

.calendar__day__vacation_reject {
  background-color: rgb(247, 1, 54);
}

.tooltip {
  position: absolute;
  background-color: white;
  top: 0;
  visibility: hidden;
  /* transform: translateY(-100%) translateX(-50%); */
  transform: translateY(-110%);
  opacity: 0;
  /* left: 50%; */
  z-index: 9999999999999999999999999;
  transition-delay: 0.5s;
  transition-property: opacity;
  color: white;
  background-color: black;
  border-radius: 4px;
  padding: 8px 12px;
  width: 300px;
  text-align: left;
  padding: 15px;
}

.tooltip-right {
  right: 0;
}

.tooltip.active {
  transition-delay: 250ms;
  transition-property: opacity;
  visibility: visible;
  opacity: 1;
}

.planning_tooltip_status {
  margin-bottom: 4px;
  padding: 4px;
  font-weight: 700;
}

.username {
  text-align: right;
  font-size: 1.2rem;
  padding-bottom: 20px;
}



.solde {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 20px;
  /* padding: 3rem 3rem;
    margin: 3rem 0.5rem; */
  background-color: #007b8d;
  border: 4px solid #007b8d;
  color: white;
  font-weight: 700;
  position: relative;
  margin-left: auto;
  margin-right:  10px;
}

.solde_cdd {
  border-radius: 15px;
  width: 400px;
  margin: 20px;
  background-color: #e84e0e;
  border: 4px solid #e84e0e;
  color: white;
  padding: 10px;
  letter-spacing: 0.4px;
  margin: 0 auto 15px auto;
}

.solde_cdd__title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.solde_cdd__details {
  display: grid;
  grid-template-columns: repeat(2, auto);
  font-size: 1.4rem;
  gap: 10px;
}

.solde_cdd_tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 0;
  cursor: help;
  font-weight: 400;
}

/* Tooltip text */
.solde_cdd_tooltip .solde_cdd_tooltiptext {
  visibility: hidden;
  width: 500px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  top: 100%;
  left: 50%;
  margin-top: 100px;
  margin-left: -350px;
  position: absolute;
  z-index: 999999999999;
  font-size: 1.3rem;
  text-align: left;
}

/* Show the tooltip text when you mouse over the tooltip container */
.solde_cdd_tooltip:hover .solde_cdd_tooltiptext {
  visibility: visible;
}

.solde_info {
  margin: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  cursor: help;
  top: 50%;
  transform: translateY(-50%);
}

.solde_info_1,
.solde_info_2,
.solde_info_4 {
  font-size: 1.1rem;
  font-weight: 400;
}

.solde_info_3 {
  font-size: 1.6rem;
  font-weight: 700;
}

.solde .solde_tooltip {
  /* visibility: hidden; */
  width: 350px;
  background-color: black;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 15px;
  /* opacity: 0; */
  /* transition: visibility 0.3s linear, opacity 0.3s linear; */
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  right: 128%;
  position: absolute;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 400;
}

.solde_tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #555;
}

/* .solde:hover .solde_tooltip {
  visibility: visible;
  opacity: 1;
} */

.myplanning__news {
  display: flex;
  width: 95%;
  align-items: center;
  box-sizing: border-box;
  justify-content: flex-start;
  padding: 20px;
  margin: 20px;
  gap: 20px;
  border-radius: 16px;
  border: 1px solid grey;
}

.myplanning__news__title {
  font-size: 1.6rem;
  font-weight: 600;
}

.myplanning__news__body {
  font-size: 1.2rem;
}
