:root {
  --half-vw: 50vw;
  --half-vh: 50vh;

  --notificationItemwidth: 220px;
  --notificationItemwidthContent: 218px;
  /* Doit etre meme valeur opposée */
  --notificationItemWindowPadding: 5px;
  --notificationItemWindowGap: -5px;

}

.hidden {
  display: none;
  visibility: hidden;
}

a.redLink,
a.redLink:link,
a.redLink:visited,
a.redLink:hover,
a.redLink:active {
  color: #BB2121 !important;
  font-size: 20px !important;
  /* text-decoration: none !important;  */
}

.grid-sizer {
  max-width: 296px !important;
  min-width: 250px !important;
}

.bulma-title {
  font-size: 23px !important;
}

.bulma-card {
  background-color: #f8f8f8 !important;
}

.main-header-title {
  color: #BB2121 !important;
}

.tar {
  text-align: right !important;
}

.tac {
  text-align: center !important;
}

.back-to-top {
  position: fixed;
  display: block;
  right: 5px;
  bottom: 5px;
  z-index: 99;
}


h1.logoText {
  color: #000000;
}

/* #footer,#footer a:link,#footer a:hover,#footer a:active,#footer a:visited {
  color: white;
} */

.bold {
  font-weight: bold;
}

.specific {
  color: #ff0000;
}

.logoSVG {
  background-image: url(./../img/logoBlackWithCircleText.svg);
  background-size: 140px;
  /* left */
  background-position-x: 10px;
  /* top */
  background-position-y: 20px;
  background-repeat: no-repeat;
}

.backgroundSVG {
  background-image: url(./../img/architectureHouseGrey_compressed.png);
  background-size: 300px;
  background-position: center;
  background-position-y: 10px;
  background-repeat: no-repeat;
}

.backgroundSVG2 {
  background-image: url(./../img/architectureRoundGrey_compressed.png);
  background-size: 250px;
  background-position: right;
  background-position-y: 10px;
  background-repeat: no-repeat;
}


/* TOOLTIP */
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  /* Optional: Dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  /* Set the desired width for your tooltip */
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  /* Position below the element */
  left: 50%;
  /* Center horizontally */
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show tooltip on hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* SCROLL EFFECT */

/* Bandeau */
.tag-list {
  /*   width: 100%;*/
  max-width: 96vw;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 1rem 0;
  position: relative;
  bottom: -135px;
  padding: 1.5rem 0;
  overflow: hidden;
}

.loop-slider {
  .inner {
    display: flex;
    width: fit-content;
    animation-name: loop;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: var(--direction);
    animation-duration: var(--duration);
  }
}

.tag {
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0 0.2rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  background-color: #000000;
  border-radius: 0.4rem;
  /* padding: 0.7rem 1rem;  */
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-right: 1rem;
  /* Must used margin-right instead of gap for the loop to be smooth */
  box-shadow:
    0 0.1rem 0.2rem rgb(0 0 0 / 20%),
    0 0.1rem 0.5rem rgb(0 0 0 / 30%),
    0 0.2rem 1.5rem rgb(0 0 0 / 40%);

  span {
    font-size: 1.2rem;
    color: #64748b;
  }
}

.fade {
  pointer-events: none;
  /* background: linear-gradient(90deg, #1e293b, transparent 30%, transparent 70%, #1e293b);  */
  position: absolute;
  inset: 0;
}

@keyframes loop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* FULL CALENDAR */
/* Reduce padding and margins */
.fc .fc-toolbar {
  padding: 5px 0;
}

.fc .fc-header-toolbar {
  margin-bottom: 5px;
}

.fc .fc-daygrid-day-number {
  font-size: 0.8em;
  /* Smaller day numbers */
  padding: 2px;
}

.fc .fc-daygrid-event {
  padding: 2px 4px;
  font-size: 0.75em;
  /* Smaller event font */
}

.fc .fc-daygrid-block-event .fc-event-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Compact event titles */
}

.fc .fc-timegrid-event .fc-event-title {
  font-size: 0.75em;
  padding: 2px 4px;
  /* Smaller event box */
}

.fc .fc-daygrid-day-top {
  padding: 2px;
}

.fc .fc-scrollgrid {
  border-spacing: 1px;
  /* Reduce space between cells */
}

/* FULL CALENDAR */
.fc-day,
a.fc-col-header-cell-cushion,
a.fc-daygrid-day-number,
.bulma-tab>a {
  color: #000000 !important;
}

button.fc-button,
button.fc-today-button,
button.fc-button-primary {
  color: #ffffff !important;
  background-color: #000000 !important;
}

/* SPINNER */
.loader {
  animation: rotateLoader 1s infinite;
  height: 50px;
  width: 50px;
  left: var(--half-vw);
  top: var(--half-vh);
  position: fixed;
  z-index: 9999;
}

.loader:before,
.loader:after {
  border-radius: 50%;
  content: '';
  display: block;
  height: 20px;
  width: 20px;
}

.loader:before {
  animation: ball1loader 1s infinite;
  background-color: #cb2025;
  box-shadow: 30px 0 0 #f8b334;
  margin-bottom: 10px;
}

.loader:after {
  animation: ball2loader 1s infinite;
  background-color: #00a096;
  box-shadow: 30px 0 0 #97bf0d;
}

@keyframes rotateLoader {
  0% {
    -webkit-transform: rotate(0deg) scale(0.8);
    -moz-transform: rotate(0deg) scale(0.8);
  }

  50% {
    -webkit-transform: rotate(360deg) scale(1.2);
    -moz-transform: rotate(360deg) scale(1.2);
  }

  100% {
    -webkit-transform: rotate(720deg) scale(0.8);
    -moz-transform: rotate(720deg) scale(0.8);
  }
}

@keyframes ball1loader {
  0% {
    box-shadow: 30px 0 0 #f8b334;
  }

  50% {
    box-shadow: 0 0 0 #f8b334;
    margin-bottom: 0;
    -webkit-transform: translate(15px, 15px);
    -moz-transform: translate(15px, 15px);
  }

  100% {
    box-shadow: 30px 0 0 #f8b334;
    margin-bottom: 10px;
  }
}

@keyframes ball2loader {
  0% {
    box-shadow: 30px 0 0 #97bf0d;
  }

  50% {
    box-shadow: 0 0 0 #97bf0d;
    margin-top: -20px;
    -webkit-transform: translate(15px, 15px);
    -moz-transform: translate(15px, 15px);
  }

  100% {
    box-shadow: 30px 0 0 #97bf0d;
    margin-top: 0;
  }
}

/* NOTIFICATIONS  */
.notification-bottom {
  width: var(--notificationItemwidth);
  position: fixed;
  bottom: 0;
  left: 245px;
  display: none;
  z-index: 50;
  border: 1px solid #000000;
  margin: 5px;
  padding: 5px;
  text-align: center;
  color: #000000;
}

.notification-header {
  width: var(--notificationItemwidthContent);
  position: relative;
  float: top left;
  top: -5px;
  left: -5px;
  font-weight: bold;
  font-size: 1rem;
  border-bottom: #000000 1px solid;
  padding: 3px;
  margin-bottom: 0px;
  color: #000000;
}

.notification-field {
  width: var(--notificationItemwidthContent);
  position: relative;
  float: bottom left;
  bottom: var(--notificationItemWindowGap);
  left: var(--notificationItemWindowGap);
  padding: 3px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  color: #000000;
}

#popOver {
  display: none;
  position: absolute;
  z-index: 99999;
  padding: 0px;
  margin: 0px;
  border: 2px solid #ffffff;
  pointer-events: none;
}

/* DAILY RATES SCROLL HORIZONTAL */
.dailyRateContainer {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 5px;
  margin: 0 auto;
  width: 98%;
  border: 0px solid #ccc;
  margin-bottom: 5px !important;
  margin-top: 5px !important;
  scroll-behavior: smooth;
  /* Smooth scrolling */
}

.dailyRateItem {
  flex: 0 0 auto;
  width: 80px;
  font-size: 70%;
  text-align: center;
  padding: 5px;
  background-color: #f5f5f5;
  color: #000000;
  border: 1px solid #ddd;
  margin-right: 5px;
  border-radius: 0px;
  user-select: none;
  /* Prevents text selection */
}

.dailyRateScrollBtn {
  display: flex;
  margin: 0 auto;
  align-items: center;
}


.icon-low::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0c8";
  font-weight: 900;
  color: #00a096;
  position: relative;
  top: -8px;
  left: -8px;
}

.icon-peak::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0c8";
  font-weight: 900;
  color: #cb2025;
  position: relative;
  top: -8px;
  left: -8px;
}

.icon-high::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0c8";
  font-weight: 900;
  color: #f8b334;
  position: relative;
  top: -8px;
  left: -8px;
}



.triangle:before {
  content: '';
  position: relative;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #f00; /* Triangle color */
}

.menu-label {
    position: absolute;
  right: 50px;
  top: 10px;
  font-size: 0.8rem;
  color: #ffffff;
}
