/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/**
start minimal css
 */

.load-img {
  text-align: left;
  width: max-content;
  padding: 2%;
}

p {
  text-wrap: balance;
}

/**
end minimal css
*/
.wrap-wrap {
  flex-wrap: wrap;
}
.help-title{
  font-size: 65%;
  text-wrap: wrap;
}
.border-1:has(input:focus){
  border: 1px solid black;
}
.border-1:has(select:focus){
  border: 1px solid black;
}
.help.title {
  font-size: 75%;
}

.dp-flex {
  display: flex;
}
.a-i-center{
  align-items: center;
}

.txt-center {
  text-align: center;
}

.wid-80 {
  width: 80%;
}
.wid-50 {
  width: 50%;
}
.wid-100 {
  width: 100%;
}


.justify-around {
  justify-content: space-around;
}
.justify-evenly {
  justify-content: space-evenly;
}

.col {
  flex-direction: column;
}

.row {
  flex-direction: row;
}

.pad-5 {
  padding: 5%;
}
.pad-t-5 {
  padding-top: 5%;
}
.pad-b-1 {
  padding-bottom: 1%;
}
.pad-b-5 {
  padding-bottom: 5%;
}

.on-drag {
  cursor: grabbing !important;
}

.drag {
  /* border: 3px solid green; */
  cursor: grab !important;
}

.none {
  display: none;
}

.bg-red {
  background-color: red;
}

.btn-container {
  display: flex;
  flex-direction: row;
  width: 100%;
}

#btnAction {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: end;
  width: 100%;
  padding: 1% 1% 0% 0%;
}

#btnAction>button {
  padding: 0.25%;
  margin: 0% 0% 0% 1%;
}

.bg-green {
  background-color: green;
}

#custom-calendar-form {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  padding: 1% 0 1% 0;
  justify-content: space-around;

  label {
    /* display: none; */
    font-size: clamp(0.65dvw, 0.5vw, 1.5dvw);
  }

  input {
    /* background-color: grey; */
    text-align: center;
    font-size: 0.8em;
  }
}

.error {
  font-size: small;
  margin: auto;
  color: red;
  background: none;
  transition: ease-in;
  padding: 0.5%;
  text-align: center;
  /* border: 0.1dvh solid black; */
}

.success {
  font-size: small;
  margin: auto;
  color: green;
  background: none;
  transition: ease-in;
  text-align: center;
  padding: 1.5%;
  width: max-content;
  /* border-radius: 5%; */
  /* border: brown solid; */
}

.update-div span {
  font-size: 0.8em;
}

.update-div p {
  font-weight: bold;
}

.update-div li {
  list-style: none;
}

.update-div p,
.update-div ul {
  font-size: 1em;
  width: 80vw;
}

.update-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #dfe0e5;
  color: grey;
  width: 100vw;
  height: 100vh;
  user-select: none;
  overflow-y: scroll;
  padding-top: 4%;
}

p.date-error {
  font-size: small;
  margin: auto;
  color: red;
  background: none;
  transition: ease-in;
  padding: 1.5%;
  text-align: center;
  width: 60%;
  /* border: brown solid; */
  /* border-radius: 5%; */
}

#selectJson:hover,
#createButton:hover {
  cursor: pointer;
  transform: scale(1.2);
}

#solo:checked:hover {
  color: black !important;
  background: none;
}

#solo:checked {
  color: green;
  background: auto;
}

.label-custom:hover {
  opacity: 0.5;
}

#heightCell:hover,
#heightCalendar:hover {
  cursor: e-resize;
}

input[type="radio"]+label {
  border: none;
  width: 25%;
  transform: scale(1.2);
}

input[type="radio"]:checked+label {
  border: 0.1dvw solid #2c3e50;
  color: green;
  width: 25%;
  color: rgb(141, 141, 141) !important;
  /* transform: scale(1.2); */
  transform: scale(1);
}

#play-pause-label:hover {
  cursor: pointer !important;
  background: none !important;
  transform: scale(1.2);
}

input[type="radio"]:checked+label:hover {
  cursor: default !important;
  background: none !important;
  transform: scale(1);
}

/* input[type="radio"]:hover {

} */

th[isHoliday]::after {
  color: red;
  content: '(férié)';
  display: block;
}

/* label{
  border: none;
} */
/* #solo:checked + label{
  border: 1px solid black;
} */
#selectJson {
  text-align: center;
  font-size: clamp(0.65dvw, 0.5vw, 1.5dvw);
  border: none;
  appearance: inherit;
  background-color: #ddd;
  width: 100%;
}

#deleteTb {
  position: absolute;
  margin-left: 60%;
  max-width: min-content;
  font-size: xx-small;
  display: inline-flex;
  align-self: center;
  display: none;
}

.th-div:hover {
  span {
    transform: translateY(0);
  }
}

.th-div:hover {
  span {
    transform: translateY(0);
  }
}

/* get span where is parent has an input focus  */
.th-div:has(input:focus) {
  span {
    transform: translateY(0);
  }
}

.th-div {
  display: flex;
  flex-direction: column;

  /* width: 10vw; */
  span {
    font-size: clamp(0.65dvw, 0.5vw, 1.5dvw);
    transform: translateY(150%);
  }

  input {
    width: 8.6vw;
    text-align: center;
  }

  .th-div {
    padding-left: 0.5%;
    padding-right: 0.5%;
  }
}

.opacity-zero {
  position: absolute;
  z-index: -100;
  opacity: 0;
}

#custom-calendar-form>input,
#custom-calendar-form>button {
  /* max-width: max-content; */
  text-align: center;
  /* padding: 1%;
  vertical-align: top; */
  /* display: table-cell; */
}

#contratsM {
  padding-top: 5%;
  text-align: center;
  font-size: inherit;
  /* height: 15vh; */
}

.nav-link {
  position: fixed;
  display: flex;
  width: min-content;
  /* background: #eaebf0; */
  z-index: 99999999999;
  font-size: 1rem;
  top: 2%;
  padding: 0;
  margin: 0;
  right: 0;
}

/* class one */
ul.ul-link li {
  list-style: none;
  /* height: 4dvh; */
}

.one {
  /* text-align: end; */
  text-align: center;
  /* opacity: 0; */
  transform: scale(0.5);
  background-color: transparent;
  z-index: 1;
  /* display: none; */
}

.nav-link:has(.active:hover) .one,
.nav-link:has(li:hover) .one {
  /* display: block; */
  /* transform: scale(1.05); */
  /* opacity: 1; */
  z-index: 99999999 !important;
}

.nav-link:has(li:hover) .one:has(li:hover) {
  transform: scale(1);
}

.one:hover {
  transform: scale(1);
  background: #dfe0e5;
}

ul.ul-link {
  margin: 0;
  padding: 0;
  width: 14dvw;
  height: 13dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: scroll;
}

.active {
  background: #dfe0e5;
  /* opacity: 1!important; */
  transform: scale(1);
  text-align: start !important;
  /* overflow: hidden; */
  border-left: 10px solid rgba(141, 141, 141, 0.141);
  padding: 1%;

  a {
    text-decoration: none;
  }
}

.active:hover a {
  cursor: default !important;
}

.img-l {
  margin: auto;
  width: 5dvw;
}

.img-s {
  margin: auto;
  width: 3dvw;
  animation: fadeImg 2s;
}

.fc-btnSetNewDate-button:has(span.fc-icon) {
  background: transparent;
  border: none;
}

.fc-button-group:has(input.set-new-date) .fc-btnSetNewDate-button {
  display: none;
}

input.set-new-date {
  display: inline-block;
  position: fixed;
  top: 8%;
  right: 20%;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

#custom-calendar-form>.th-div {
  padding-left: 0.3%;
  padding-right: 0;
  align-self: end;
}

.btn-fixed {
  /* position: fixed; */
  display: flex;
  flex-direction: column;
  /* border: 1px solid black; */
  z-index: 999999999;
  font-size: xx-small;
}

.div-btn {
  display: flex;
  flex-direction: row;
}

.div-btn button {
  width: 33.3%;
}

tr[draggable="true"] textarea {
  cursor: grab;
}

.options-planning {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* width: 50%; */
  font-size: 1.8dvh;
  padding: 1%;
}

.fc-direction-ltr .fc-toolbar>*> :not(:first-child) {
  margin-left: 0.75dvw;
}

.fc .fc-button-primary:hover {
  background-color: #4b5055;
  border-color: #4b5055;
  color: #646464;
}

/*==============================*/
/*custom range input            */
/*==============================*/
input[type="range"].custom-slider.custom-slider-bullet {
  height: max-content;
  color: #fff;
  background: transparent;
  background-image: linear-gradient(to bottom, #fff, #999, #fff);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 25%;
  /* width: 50%; */
}

/*==============================*/
/* cursor                       */
/*==============================*/
input[type="range"].custom-slider.custom-slider-bullet::-webkit-slider-thumb {
  width: 0.5dvw;
  /* padding: 0.25em; */
  border: 0.5px solid #888;
  border-radius: 50%;
  box-shadow: 0 0 0.5em #fff inset;
  background: linear-gradient(#888, #fff) content-box,
    linear-gradient(-90deg, #888, #ddd) border-box;
}

input[type="range"].custom-slider.custom-slider-bullet::-moz-range-thumb {
  width: 0.5dvw;
  /* padding: 0.25em; */
  border: 0.5px solid #888;
  border-radius: 50%;
  box-shadow: 0 0 0.5em #fff inset;
  background: linear-gradient(#888, #fff) content-box,
    linear-gradient(-90deg, #888, #ddd) border-box;
}

input[type="range"].custom-slider.custom-slider-bullet::-ms-thumb {
  width: 0.5dvw;
  /* padding: 0.25em; */
  border: 0.5px solid #888;
  border-radius: 50%;
  box-shadow: 0 0 0.5em #fff inset;
  background: linear-gradient(#888, #fff) content-box,
    linear-gradient(-90deg, #888, #ddd) border-box;
}

.fc .fc-button-primary {
  background-color: #272727;
  border-color: #272727;
  color: white;
}

.choice-next-tr {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-size: x-small !important;
  align-items: center;
  width: 100%;
}

.choice-next-tr label {
  opacity: 0.5;
}

.choice-next-tr label:hover {
  opacity: 1;
}

.choice-next-tr:has(input[type="radio"]) label:hover {
  cursor: pointer;
  color: green;
  background-color: #888;
}

#durationSelect {
  text-align: center;
}

.center,
.color-inputs {
  padding: 0;
  display: flex;
  flex-direction: column;
  width: max-content;
  margin: auto;
  align-items: center;
  position: relative;
}

.div-for-colors {
  display: flex;
  justify-content: space-evenly;
  position: relative;
}

.div-for-colors input {
  border: none;
  width: 100%;
}

.div-for-colors .color-div {
  position: absolute;
  width: 5vw;
}

#inputTc:hover,
#colorText:hover {
  cursor: pointer;
}

#inputBc:hover,
#colorBackground:hover {
  cursor: cell;
}

.input-title-color {
  width: 100%;
}

.label-title-color {
  z-index: 999999999999;
  width: max-content;
  margin: 5%;
}

.label-title-color:hover {
  cursor: pointer;
}

/* #inputBc,
#colorBackground {
  width: 100%;
  z-index: 997;
  position: absolute;
  height: 90%;
  bottom: 5%;
  border: none;
  background: none;
  padding: 0;
} */

/* #inputTc,
#colorText {
  width: 90%;
  z-index: 998;
  border: none;
  background: none;
  margin: 5%;
} */

/* #inputTc {
  display: none !important;
} */

#inputTitle,
.create-button,
#createInput {
  z-index: 999;
  text-align: center;
  padding: 0;
}

#play-pause {
  display: none;
}

label {
  cursor: default;
}

#play-pause:checked+#play-pause-label::after {
  content: "❙❙";
}

#play-pause-label::after {
  content: "►";
  font-size: 1rem;
}

.select-file {
  display: flex;
  flex-direction: row;
}

#Maintenances .cell input[type="color"] {
  width: 50% !important;
}

#Evenements .cell input[type="color"] {
  width: 50% !important;
}

.planning {
  width: 100%;
  height: 70vh;
  margin-bottom: 100%;
  border-collapse: collapse;

  th {
    font-weight: bold;
    background-color: #ddd;
  }

  th,
  td {
    padding: 0;
    width: 12.5vw;
  }

  input {
    border: none;
    width: 100%;
  }
}

input:disabled {
  color: inherit !important;
}

textarea:disabled {
  color: inherit !important;
}

td>input {
  border: none;
  width: 100%;
  height: 100%;
  font-family: Verdana, Helvetica, Arial, FreeSans, sans-serif;
  font-size: 0.8rem;
  padding: 0 1% 0 1%;
}

td>input:focus {
  border: 0.1rem solid #41f41a;
  outline: none;
}

#selectEmployee {
  border: 1px solid;
  background: none;
  cursor: pointer;
  outline: 0;
  text-align: center;
}

#external-events {
  z-index: 9999999999;
  /* first */
  position: fixed;
  /* right: 0; */
  top: 25%;
  left: 25%;
  /* bottom: 0; */
  width: max-content;
  padding: 0 1%;
  border: 0.1rem solid #ccc;
  background: #eee;
  text-align: center;
  display: none;
  flex-direction: column;
}

#external-events:hover {
  cursor: grab;
}

.table-custom {
  overflow: auto;
  /* margin: auto; */
  padding-bottom: 1%;
  max-width: 100%;
}

.div-custom {
  padding: 0 0 3% 0;
  display: flex;
  height: 70vh;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 15%;
  box-shadow: inset 0 -3em 3em rgba(60, 174, 60, 0.3), 0 0 0 0.055em black,
    0.2em 0.1em 1.5em rgba(30, 2, 2, 0.6);
}

.table-custom thead,
.table-custom tbody {
  display: block;
}

.table-custom tbody {
  /** make it easy to read */
  overflow-y: scroll;
  overflow-x: hidden;

  th:hover {
    color: red;
  }

  td {
    text-align: center;
    user-select: none;
    cursor: pointer;
    font-size: clamp(0.65rem, 0.5vw, 1.5rem);
    width: 9vw;
  }
}

.table-custom td {
  white-space: break-spaces;
}

#employeeForm {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 90dvh;
  margin-bottom: 100%;
  button{
    cursor: pointer;
    width: 100%;
  }
  button:hover{
    background-color: black;
    color: white;
  }
  input:focus-visible{
    outline: 0;
  }
}

#ulDrag {
  height: 30vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

.ul-drag {
  text-align: center;
  margin: auto;
}

.li-drag {
  text-align: center;
  user-select: none;
  cursor: pointer;
  border: 1px solid black;
}

li.li-drag::marker {
  color: green;
  font-size: 1em;
}

li.dragging::marker {
  color: red;
  font-size: 1em;
}

.li-drag:hover {
  transform: scale(1.2);
  z-index: 99999999999;
  background-color: #888;
}

.li-drag.dragging {
  opacity: 0.5;
  /* display: none; */
}

/* display: flex; go go go */
.maybe-later {
  display: none;
  flex-direction: column;
  width: max-content;
  padding-left: 2%;
}


/* force wp margin/padding/size */

.fc-event-title-container {
  display: flex !important;
  cursor: pointer;
}


.fc-v-event .fc-event-title,
.fc-v-event .fc-event-time,
.fc-daygrid-block-event .fc-event-time,
.fc-daygrid-block-event .fc-event-title {
  margin: auto;
  text-align: center;
  padding: 0%;
}

.navigate .options-planning button,
#btnAction button {
  cursor: pointer;
}
.navigate .options-planning button:hover,
#btnAction button:hover {
  background-color: black;
  color: white;
}

.without-week-end {
  th {
    width: 16.67vw !important;
  }

  #sat,
  #sun {
    display: none;
  }

  .lundi textarea,
  .mercredi textarea,
  .vendredi textarea {
    background-color: #e6e8e9;
  }

  .half-cell>input {
    width: 16.5vw !important;
    /* display: none; */
  }

  .half-cell>textarea {
    width: 16.5vw !important;
    /* color: black !important; */
  }

  .cell:hover>.btn-delete {
    font-size: 0.8rem;
    cursor: pointer;
  }

  .cell:hover>.color-click-show {
    width: inherit !important;
    width: 8.25vw;
  }

  .cell:hover>.btn-delete {
    /* width: inherit !important; */
    width: 8.25vw !important;
  }


  .matin6,
  .matin7,
  .soir6,
  .soir7 {
    display: none !important;
  }

  .cell>input {
    width: 16.5vw !important;
    /* height: 100%; */
  }

  .soir6,
  .matin6,
  .matin7,
  .soir7 {
    display: none !important;
  }

  tbody {
    max-width: 100vw;
    max-height: 90vh;
    height: 100%;
    /* animation: scrollUpDown 10s infinite; */
  }
}

.planning {
  .solo {

    .half-cell>.soir1,
    .half-cell>.soir2,
    .half-cell>.soir3,
    .half-cell>.soir4,
    .half-cell>.soir5,
    .half-cell>.soir6,
    .half-cell>.soir7 {
      display: none;
    }
  }

  padding: 0;
  padding-bottom: 5%;

  th {
    text-align: center;
    padding: 0;
    width: 12.5vw;
  }

  .lundi,
  .mardi,
  .mercredi,
  .jeudi,
  .vendredi,
  .samedi,
  .dimanche {
    padding: 0;
    border: 0.25px solid black;
  }

  .lundi textarea,
  .mercredi textarea,
  .vendredi textarea {
    background-color: #e6e8e9;
  }

  .half-cell>input {
    text-align: center;
    padding: 0;
    width: 12.5vw;
    height: 100%;
    /* display: none; */
  }

  .half-cell>textarea {
    text-align: center;
    padding: 0;
    margin: 0;
    width: 12.5vw;
    height: 100%;
    resize: none;
    overflow: hidden;
    border: none;
    background: none;
    white-space: break-spaces;
    -moz-text-align-last: center;
    text-align-last: center;
    font-weight: lighter;
    font-family: initial;
    color: inherit !important;
    font-size: small;
  }

  .half-cell>textarea:focus {
    z-index: 99999999;

    /* overflow-x: hidden;
    overflow-y: auto; */
  }

  .half-cell {
    background-color: transparent;
  }

  .btn-delete {
    margin: auto;
  }

  .cell:hover>input {
    font-size: 0.8rem;
    height: 3.3dvh;
    vertical-align: bottom;
    border-radius: 20%;
  }

  .cell>.btn-delete, .cell>.color-click-show {
    display: none;
  }

  .cell>input {
    text-align: center;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
    width: 12.5vw;
    color: inherit;
    font-weight: bold;
    /* height: 100%; */
  }

  .cell:hover>.btn-delete {
    font-size: 0.6rem;
    cursor: pointer;
  }

  .cell:hover>.color-click-show {
    width: inherit !important;
    width: 6.25vw;
  }

  .cell:hover>.btn-delete {
    /* width: inherit !important; */
    width: 6.25vw;
  }


  .tr-head {
    position: sticky;
    top: 0;
    height: 10vh;
    /* 90% tbody */
  }

  .cell {
    /* background: #b1afb1 !important; */
    vertical-align: middle;
    padding: 0;
  }

  .half-cell {
    width: max-content;
    padding: 0;
    display: flex;
    flex-direction: column;
    /* height: 10vh; */
    justify-content: center;
    font-size: 1rem;
  }

  /* #Evenements .half-cell {
    height: auto !important;
  }
  
  #Evenements textarea {
    height: 100%;
  } */

  .soir6,
  .matin6,
  .matin7,
  .soir7 {
    background-color: rgb(95, 62, 62) !important;
  }

  thead {
    overflow: hidden;
    display: block;
    height: 10vh;
  }

  tbody,
  thead {
    display: inline-block;
  }

  thead {
    width: 100.5vw;
  }

  tbody {
    padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    max-width: 100vw;
    max-height: 90vh;
    height: 100%;
    background: white;
    /* animation: scrollUpDown 10s infinite; */
  }

  tbody:hover {

    .matin6,
    .matin7,
    .soir6,
    .soir7 {
      color: white !important;
      /* font-size: 1.1rem; */
    }
  }
}

.table-custom tbody {
  max-height: calc(50vh - 2em);
  display: flex;
  flex-direction: column-reverse;
  max-width: 90vw;
  /* height: 70vh; */
}

.th-span {
  word-wrap: break-word;
}

.table-custom th,
.table-custom td {
  /* min-width: 2em;
  padding: 0.5em; */
}

.table-custom th {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 2;
}

#external-events h4 {
  font-size: 16px;
  margin-top: 0;
  padding-top: 1em;
}

#wrap>table:hover {
  /* animation: moreDetail 0.1s; */
  border-collapse: separate;
  border: 0.1rem solid black;
}

#external-events .fc-event :hover {
  cursor: grab;
  transform: scale(1.1);
}

/* text title ellipsis */
#planning {
  text-align: center;
  height: 13dvh;
}

.fc-event-title-container {
  display: inline-block;
  width: 100%;
}

.fc-h-event .fc-event-title-container {
  min-width: auto;
}

/* .fc-event-main-frame {
  white-space: nowrap;
  overflow: hidden;
  .fc-event-title-container {
    display: inline-block;
    width: 100%;
    .fc-event-title {
      position: relative;
      overflow: hidden;
      text-overflow: ellipsis;
      left: 0px;
    }
  }
  &:active,
  &:hover {
    .fc-event-title-container {
      width: auto;
      .fc-event-title.fc-sticky {
        animation: moveToL 4s infinite 1s;
        width: max-content;
      }
    }
    .fc-event-main {
      width: auto;
    }
    .fc-event-time {
      display: none;
    }
  }
} */

@keyframes moveToL {

  0%,
  100% {
    left: center;
  }

  50% {
    left: calc(0% - 50%);
  }

  51% {
    left: calc(0% - 50%);
  }

  100% {
    left: center;
  }
}

@keyframes fadeImg {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

/* @keyframes moreDetail {
  0% {
    border-collapse: collapse;
    border: 0.01em solid black;
  }

  100% {
    border-collapse: separate;
    border: 0.1em solid black;
  }
} */

/* make it center  */
.fc .fc-daygrid-day-top {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#external-events p {
  margin: 1.5em 0;
  font-size: 11px;
  color: #666;
}

#external-events p input {
  margin: 0;
  vertical-align: middle;
}

#calendar-wrap>a {
  cursor: pointer;

  &:active {
    cursor: grabbing !important;
  }
}

.fc-button {
  font: inherit !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
  background-color: green;
  border-color: #272727;
  color: #272727;
}

div.fc-toolbar-chunk {
  /* width: 30vw; */
}

.fc .fc-toolbar-title {
  font-size: 1rem;
  margin: 0;
  text-align: center;
}

div.fc-header-toolbar.fc-toolbar {
  display: flex;
  flex-direction: row;
  width: 85vw;
  height: 8vh;
  position: fixed;
  top: 0;
  z-index: 999999999999999999;
  padding: 1%;
  /* justify-content: space-around; */
}

div.fc-header-toolbar.fc-toolbar:hover {
  background-color: #e6e8e9;
}

.fc td,
.fc th {
  vertical-align: middle !important;
}

#nameWeek .choice-next-tr {
  display: none;
}

#nameWeek:hover {

  /* opacity: 1; */
  .choice-next-tr {
    display: flex;
    width: 100% !important;
    height: 100% !important;
  }
}

#calendar {
  max-width: 100dvw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  padding-top: 15dvh;
  user-select: none;
  overflow: hidden;
  font-size: 1dvw;
  margin-bottom: 100%;
}

.fc .fc-timegrid-axis-cushion {
  font-size: 0.6em;
  text-align: center;
}

li.client_name:before {
  content: "Nom: ";
}

li.postal_code:before {
  content: "CodePostal: ";
}

li.city:before {
  content: "Ville: ";
}

li.date_create:before {
  content: "Début du contrat: ";
}

li.nb_passes:before {
  content: "Nb. de passages: ";
}

li.code:before {
  content: "Code: ";
}

li.contrat_name:before {
  content: "Nom du contrat: ";
}

li.notes:before {
  content: "Notes: ";
}

li.last_passe:before {
  content: "Dernier passage: ";
}

li.lastUp:before {
  content: "Derniere modif.: ";
}

.tool {
  display: none;
  position: absolute;
  background-color: #f0f0f0;
  border: 0.1dvw solid #ccc;
  border-radius: 3%;
  padding: 0;
  margin: 0;
  width: max-content;
  height: max-content;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  padding-left: 1%;
  padding-right: 1%;
  box-shadow: inset 0 -3em 3em rgba(221, 219, 219, 0.05), 0 0 0 0px #f2f2f2, 0.3em 0.3em 1em rgba(200, 0, 0, 0.6);
}

.div-tool {
  /* font-size: clamp(0.8dvw,2.5dvw,1dvw); */
}

.top-p span {
  font-size: large;
  color: #272727;
}

.top-p {
  font-size: larger;
  font-weight: bold;
  font-family: sans-serif;
}

.ask-user {
  font-size: 0.8em;
  margin: 0% 0% 2% 0%;
}

.footer-tool {
  display: flex;
  justify-content: center;
  font-size: small;
}

.header-tool {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: end;
}

p.above {
  text-align: center;
}

.details {
  text-shadow: 1px 1px 2px pink;
}

p.date-details {
  font-size: small;
  text-align: center;
}

.content-tool {
  width: 100%;
  height: 80%;
  background-color: #2c3e50;
  color: white;
  padding: 1%;
  border-radius: 5%;
  font-size: 0.8rem;
  margin-bottom: 5%;
}

.content-tool .center {
  width: auto;
}

.header-tool {
  /* background-color: rgb(145, 131, 131); */
}

.delete-event-tool {
  cursor: pointer;
  display: inline-block;
}

.delete-event-tool:hover {
  transform: scale(1.3);
  color: green;
}

.close-tool {
  cursor: pointer;
  font-size: initial;
  font-family: sans-serif;
  /* align-self: flex-end; */
}

.close-tool:hover {
  color: #ff0000;
}