html,
body {
  width: 100%;
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
}

body {
  position: relative;
}

.body--tapBar .title-font,
.body--tapBar .search_area {
  opacity: 0;
  transition: 300ms all ease-out;
}

.assets__container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  min-height: 100vh;
  height: 100%;
  max-height: 100%;
  width: 100vw;
}

.assets {
  position: absolute;
  z-index: -1;
  transition: all 150ms ease-out;
}

input[type="file"] {
  display: none;
}

.top_button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
}

.top_button::before {
  --icon-size: 1.5rem;
  content: "";
  display: inline-block;
  height: var(--icon-size);
  width: var(--icon-size);
  margin-right: 0.5rem;
  background-repeat: no-repeat;
  background-size: cover;
}

.top_button--back::before {
  background-image: url("../content/image/svg/arrow-back.svg");
}

.top_button--cancel::before {
  --icon-size: 1rem;
  background-image: url("../content/asclepios/images/a-icon-cross-black.svg");
}

.top_button--pm {
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
}

.top_button--pm::before {
  --icon-size: 1.25rem;
  background-image: url("../content/image/svg/add-picture.svg");
}

.add_button {
  z-index: 2;
  width: calc(85%);
  position: fixed;
  left: 50%;
  bottom: -4rem;
  transform: translateX(-50%);
  opacity: 1;
  transition: 0.5s all ease-in-out;
  font-size: 0.9rem;
}

@media screen and (max-width: 360px) {
  .add_button {
    width: calc(100% - 24px);
  }
}

.modal-epiox__background {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.25);
  z-index: 999999;
}

.modal-epiox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 1;

  width: calc(100% - 24px);
  padding: 24px;

  background-color: var(--primary-lighter-color);
  border-radius: 1rem;
  box-shadow: var(--primary-shadow);
}

.modal-epiox--animate {
  animation-name: modal-appareance;
  animation-duration: 0.3s;
  animation-timing-function: ease-in;
}

.modal-epiox--disappear {
  animation-name: modal-disappear;
  animation-duration: 0.3s;
  animation-timing-function: ease-in;
}

.modal-epiox__button {
  display: block;
  padding: 8px 24px;
  border-radius: 5rem;
  border: 1px solid var(--black-color);
}

@keyframes modal-appareance {
  from {
    top: 100%;
    opacity: 0;
  }

  to {
    top: 50%;
    opacity: 1;
  }
}

@keyframes modal-disappear {
  from {
    top: 50%;
    opacity: 1;
  }

  to {
    top: 100%;
    opacity: 0;
  }
}

.tabs__container {
  --margin-bootstrap: calc(var(--bs-gutter-x) * 0.5);
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  padding-left: var(--margin-bootstrap); /*bootstrap dependancy*/
  padding-right: var(--margin-bootstrap); /*bootstrap dependancy*/
}

.tab__movin {
  content: "";
  display: block;
  height: 100%;
  width: calc(calc(100% / 3) - var(--margin-bootstrap));
  position: absolute;
  top: 0;
  left: var(--margin-bootstrap);
  background-color: var(--primary-color);
  z-index: 1;
  border-radius: 0.5rem;
  transition: 0.3s all ease;
}

.tabs__container .tab {
  position: relative;
  display: inline-block;
  list-style: none;
  padding: 1rem 1rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  width: calc(100% / 3);
  z-index: 2;
}

.tabs__container .tab--actif {
  font-weight: 600;
  color: var(--white-color);
}

.grey {
  color: var(--neutral-dark-color);
}

.smallText {
  font-size: 0.8rem;
  color: var(--neutral-color);
}

.red {
  color: var(--error-color);
}

.loader-ellipsis {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-ellipsis div {
  position: absolute;
  width: 15%;
  height: 15%;
  border-radius: 50%;
  background: var(--primary-color);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loader-ellipsis div:nth-child(1) {
  left: 10%;
  animation: lds-ellipsis1 0.6s infinite;
}

.loader-ellipsis div:nth-child(2) {
  left: 10%;
  animation: lds-ellipsis2 0.6s infinite;
}

.loader-ellipsis div:nth-child(3) {
  left: 40%;
  animation: lds-ellipsis2 0.6s infinite;
}

.loader-ellipsis div:nth-child(4) {
  left: 60%;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(200%, 0);
  }
}

.disconnection {
  all: unset;
  border-radius: 0.75rem;
  padding: 0.25rem 0.25rem 0.35rem 0.25rem;
  margin: 0.5rem 0.25rem 0 0;
}

.disconnection::before {
  content: "";
  display: block;
  height: 1.3rem;
  aspect-ratio: 1/1;
  background-image: url("../content/asclepios/images/a-icon-disconnection.svg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* width */
::-webkit-scrollbar {
  width: 0.5rem;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--neutral-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light-color);
  border-radius: 0.25rem;
  opacity: 1;
  transition: all 0.3s ease;
}
