* {
  outline: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  margin: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(var(--background-primary), 1);
}

body {
  font-family: var(--font-family), sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: var(--font-weight);
  font-size: var(--font-size);
  letter-spacing: var(--letter-spacing);
  font-display: swap;
  color: rgba(var(--text-primary), var(--text-opacity));
  background-color: rgba(var(--background-primary), var(--background-opacity));
}

html,
body {
  overflow-x: hidden;
}

/* Body noise */
body.noised {
  &::after {
    background: transparent;
    background-image: url(/InvidiaFramework/medias/images/noise.png);
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: var(--bg-grain-opacity);
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
    pointer-events: none;
    z-index: 3000;
  }
}

/* End body noise */

#noScriptDiv {
  min-height: calc(100vh) !important;
}

main {
  min-height: calc(100vh - 250px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 3rem;
  padding-left: 3rem;
}

@media (max-width: 767px) {
  main {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

a,
a:hover,
a::after,
a::selection,
a:focus,
button,
button:hover,
button::after,
button:focus,
button:checked {
  color: currentColor;
  text-decoration: none;
  cursor: pointer !important;
}

.text-underline {
  text-decoration: underline !important;
}

.text-bold {
  font-weight: bold !important;
}

hr {
  background-color: rgba(var(--background-tertiary), var(--background-opacity));
  color: rgba(var(--background-tertiary), var(--text-opacity));
}

.svg-desc {
  margin: 0px;
  margin-top: 5px;
  font-size: 95%;
}

.span-msg-discussion-date {
  color: rgba(var(--text-secondary), var(--text-opacity));
  font-size: 80%;
}

.span-discussion-date {
  color: rgba(var(--text-secondary), var(--text-opacity));
}

.textarea-msg-send,
.btn-msg-send {
  min-height: 50px !important;
}

.textarea-msg-send,
.textarea-task-send {
  border-bottom-left-radius: 10px !important;
  border-top-left-radius: 10px !important;
  border-bottom-right-radius: 0% !important;
  border-top-right-radius: 0% !important;
}

.btn-msg-send,
.btn-task-send {
  border-bottom-left-radius: 0% !important;
  border-top-left-radius: 0% !important;
  border-bottom-right-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.textarea-task-send {
  width: 177%;
}

.btn-task-send {
  margin-left: 75%;
  width: 25%;
}

.display-more-msg-label {
  color: rgba(var(--blue-primary), var(--text-opacity));
}

.task-list-member {
  border: 3px rgba(var(--background-secondary), var(--border-opacity)) solid;
}

.task-list-member-selected {
  border: 3px rgba(var(--blue-primary), var(--border-opacity)) solid;
}

.prevent-select {
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.fill-height-available {
  height: -webkit-fill-available;
}

.fill-width-available {
  width: -webkit-fill-available;
}

.max-width-100 {
  max-width: 100% !important;
}

.max-width-75 {
  max-width: 75% !important;
}

.max-width-50 {
  max-width: 50% !important;
}

.max-width-25 {
  max-width: 25% !important;
}

@media (min-width: 576px) {
  .max-width-100-sm {
    max-width: 100% !important;
  }

  .max-width-75-sm {
    max-width: 75% !important;
  }

  .max-width-50-sm {
    max-width: 50% !important;
  }

  .max-width-25-sm {
    max-width: 25% !important;
  }
}

@media (min-width: 768px) {
  .max-width-100-md {
    max-width: 100% !important;
  }

  .max-width-75-md {
    max-width: 75% !important;
  }

  .max-width-50-md {
    max-width: 50% !important;
  }

  .max-width-25-md {
    max-width: 25% !important;
  }
}

@media (min-width: 992px) {
  .max-width-100-lg {
    max-width: 100% !important;
  }

  .max-width-75-lg {
    max-width: 75% !important;
  }

  .max-width-50-lg {
    max-width: 50% !important;
  }

  .max-width-25-lg {
    max-width: 25% !important;
  }
}

@media (min-width: 1200px) {
  .max-width-100-xl {
    max-width: 100% !important;
  }

  .max-width-75-xl {
    max-width: 75% !important;
  }

  .max-width-50-xl {
    max-width: 50% !important;
  }

  .max-width-25-xl {
    max-width: 25% !important;
  }
}

@media (min-width: 1400px) {
  .max-width-100-xxl {
    max-width: 100% !important;
  }

  .max-width-75-xxl {
    max-width: 75% !important;
  }

  .max-width-50-xxl {
    max-width: 50% !important;
  }

  .max-width-25-xxl {
    max-width: 25% !important;
  }
}

.min-width-100 {
  min-width: 100% !important;
}

.min-width-75 {
  min-width: 75% !important;
}

.min-width-50 {
  min-width: 50% !important;
}

.min-width-25 {
  min-width: 25% !important;
}

@media (min-width: 576px) {
  .min-width-100-sm {
    min-width: 100% !important;
  }

  .min-width-75-sm {
    min-width: 75% !important;
  }

  .min-width-50-sm {
    min-width: 50% !important;
  }

  .min-width-25-sm {
    min-width: 25% !important;
  }
}

@media (min-width: 768px) {
  .min-width-100-md {
    min-width: 100% !important;
  }

  .min-width-75-md {
    min-width: 75% !important;
  }

  .min-width-50-md {
    min-width: 50% !important;
  }

  .min-width-25-md {
    min-width: 25% !important;
  }
}

@media (min-width: 992px) {
  .min-width-100-lg {
    min-width: 100% !important;
  }

  .min-width-75-lg {
    min-width: 75% !important;
  }

  .min-width-50-lg {
    min-width: 50% !important;
  }

  .min-width-25-lg {
    min-width: 25% !important;
  }
}

@media (min-width: 1200px) {
  .min-width-100-xl {
    min-width: 100% !important;
  }

  .min-width-75-xl {
    min-width: 75% !important;
  }

  .min-width-50-xl {
    min-width: 50% !important;
  }

  .min-width-25-xl {
    min-width: 25% !important;
  }
}

@media (min-width: 1400px) {
  .min-width-100-xxl {
    min-width: 100% !important;
  }

  .min-width-75-xxl {
    min-width: 75% !important;
  }

  .min-width-50-xxl {
    min-width: 50% !important;
  }

  .min-width-25-xxl {
    min-width: 25% !important;
  }
}

.max-w-none {
  max-width: none !important;
}

.max-h-none {
  max-height: none !important;
}

/* Page loader */
.loader-container {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100svh;
  width: 100vw;
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  transition: all 0.5s ease-in-out;
  pointer-events: none !important;
  overflow: hidden;
}

.loader-container.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-div {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 8px solid #f3f3f3;
  /* Light grey */
  border-top: 8px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
}

.loader-img-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.loader-img-div .img-loader {
  width: 50px;
  height: 50px;
}

.loader-text-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  text-align: center;
  color: rgba(var(--text-primary), var(--text-opacity));
  font-weight: bold;
  margin-top: 50px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* End Page loader */


/* Flex behavior */
.d-flex-ajc {
  display: flex;
  align-items: center;
  justify-content: center;
}


.limit-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sign-register-form {
  min-width: 250px;
  margin: auto;
}

.dev-banner {
  position: fixed;
  top: -15px;
  left: -45px;
  background-color: rgba(255, 0, 0, 0.9);
  color: rgba(var(--text-primary), 1);
  height: 15px;
  width: 150px;
  font-size: 0.8em;
  z-index: 10000;
  transform: rotate(-45deg);
  animation: devBannerFlash 20s linear infinite;
  cursor: pointer;
}

@keyframes devBannerFlash {
  0% {
    background-color: rgba(255, 0, 0, 0.9);
    color: rgba(var(--text-primary), 1);
  }

  97% {
    background-color: rgba(255, 0, 0, 0.9);
    color: rgba(var(--text-primary), 1);
  }

  98% {
    background-color: #fff;
    color: #000;
  }

  99% {
    background-color: #fff;
    color: #000;
  }

  100% {
    background-color: rgba(255, 0, 0, 0.9);
    color: rgba(var(--text-primary), 1);
  }
}