:root {
  --red-neon: rgba(255, 49, 49, 1);
  /* --red-neon: rgba(18, 18, 18, 1); */
  --blue-neon: rgba(18, 18, 18, 1);
  --blue-neon-90: rgba(18, 18, 18, 0.9);
  --blue-neon-80: rgba(18, 18, 18, 0.8);
  --blue-neon-70: #f8f8f8;
  --border-card: #cccccc;
  --blue-neon-60: rgba(18, 18, 18, 0.6);
  /* --blue-neon-10: rgba(18, 18, 18, 0.1); */
  --blue-neon-10: rgba(0, 206, 206, 0.1);
  --yellow-neon: rgba(250, 237, 39, 1);

  --bs-table-hover-bg: rgba(0, 0, 0, 0.075) !important;
}

@font-face {
  font-family: CommercialScript BT;
  src: url("comsc.ttf");
}

@font-face {
  font-family: Corbel;
  font-weight: normal;
  src: url("corbel.ttf");
}

@font-face {
  font-family: Corbel;
  font-weight: bold;
  src: url("corbelb.ttf");
}

::-webkit-scrollbar {
  display: none;
}

[data-bs-theme="light"] {
  /* --mom-bg-body: rgba(208 206 206);
  --mom-bg-body-1: rgba(64 64 64); */
  --mom-bg-body-004: rgba(171 32 32 / 4%);
  --mom-bg-body-05: rgba(171 32 32 /50%);
  --mom-bg-body: rgba(171 32 32);
  --mom-text-on-bg-body: #ffffff;
  --bg-context-menu: #ffffff;
}

[data-bs-theme="dark"] {
  /* --mom-bg-body: rgba(21, 23, 24, 0.7);
  --mom-bg-body-1: rgba(21, 23, 24, 1); */
  /* --mom-bg-body-004: rgba(67 15 15 / 20%); */
  --mom-bg-body-004: rgba(43, 8, 8, 0.2);
  --mom-bg-body: rgba(171 32 32);
  --mom-text-on-bg-body: #ffffff;
  --bg-context-menu: #212529;
}

body {
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  /* color: var(--blue-neon); */
  /* background: linear-gradient(0deg, rgba(18,18,18,1) 0%, rgba(18,18,18,1) 50%, rgba(255,0,0,0.38699229691876746) 100%); */
  transform-style: preserve-3d;
  perspective: 500px;
}

body > div {
  /* background: linear-gradient(180deg, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 1) 5%, rgb(125 0 0 / 39%) 100%); */
  /* background: linear-gradient(180deg, rgb(18, 18, 18) 0%, rgb(18, 18, 18) 5%, rgba(0, 206, 206, 0.1) 100%); */
}

/* MOM COLORS */
.mom-bg-body-004 {
  background-color: var(--mom-bg-body-004);
}

/* MOM BODY COLOR */
.mom-bg-body {
  background-color: var(--mom-bg-body);
}

.mom-text-body {
  color: var(--mom-bg-body);
}

.mom-text-bg-body {
  background-color: var(--mom-bg-body);
  color: var(--mom-text-on-bg-body);
}

.border-mom-body {
  border-color: var(--mom-bg-body) !important;
}

.mom-text-first-letter-body::first-letter {
  color: var(--mom-bg-body);
}

/* MOM border */
.mom-border {
  border-color: var(--mom-bg-body) !important;
}

/* Aspect Ratio */
.aspect-ratio-1-1{
  aspect-ratio: 1 / 1;
}
/* Width */

.w-30 {
  width: 30%;
}

.w-33 {
  width: 33%;
}

.w-350px {
  width: 350px;
}
.w-100px{
  width: 100px;
}

/* Height */
.h-0 {
  height: 0;
}

.h-24px {
  height: 24px;
}

.h-30px {
  height: 30px;
}

.h-36px {
  height: 36px;
}

/* Padding */
.p-2px {
  padding: 2px;
}

/* Context Menu */
.context-menu {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: var(--z-index-context-menu);
  background-color: var(--bg-context-menu) !important;
  border-radius: 10px;
  box-shadow: 0 3px 10px -5px #000000;
  max-height: 45vh;

  &.top-left,
  &.top-right,
  &.bottom-left,
  &.bottom-right {
    transform: scale(0);

    &.show {
      transform: scale(1);
    }
  }

  &.top-left {
    transform-origin: 0 0;
  }

  &.top-right {
    transform-origin: 100% 0;
  }

  &.bottom-left {
    transform-origin: 0 100%;
  }

  &.bottom-right {
    transform-origin: 100% 100%;
  }

  &.top {
    transform-origin: 50% 0;
  }

  &.bottom {
    transform-origin: 50% 100%;
  }

  &.left {
    transform-origin: 0 50%;
  }

  &.right {
    transform-origin: 100% 50%;
  }

  &.top,
  &.bottom {
    transform: scaleY(0);

    &.show {
      transform: scaleY(1);
    }
  }

  &.left,
  &.right {
    transform: scaleX(0);

    &.show {
      transform: scaleX(1);
    }
  }

  &.anim {
    transition: transform 0.1s;
  }
}

.context-menu-list {
  margin: 0;
  display: flex;
  width: 100%;
  padding: 8px 0px;

  & + .context-menu-list {
    border-top: var(--bs-border-width) solid var(--bs-border-color-translucent);
  }
}

.context-menu-button {
  font: inherit;
  border: 0;
  padding: 2px 10px;
  padding-right: 36px;
  /* border-radius: 8px; */
  text-align: left;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  /* background-color: var(--color-bg-secondary); */

  &:hover {
    background-color: var(--bs-table-hover-bg);
  }

  & svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    stroke: var(--color-text-primary-offset);

    &:nth-of-type(2) {
      margin-right: 0;
      position: absolute;
      right: 8px;
    }
  }
}

.context-menu-button-in-row {
  font: inherit;
  border: 0;
  padding: 8px 8px;
  /* padding-right: 36px; */
  border-radius: 0.25rem;
  text-align: left;
  display: flex;
  align-items: center;
  position: relative;
  /* background-color: var(--color-bg-secondary); */

  &:hover {
    background-color: var(--bs-table-hover-bg);
  }
}

.mom-text-bg-body {
  background-color: var(--mom-bg-body);
  color: var(--mom-text-on-bg-body);
}

.mom-card-header {
  margin: 0 !important;
  font-weight: bold;
}

/* Div with border only */
.div-border {
  border-radius: var(--bs-border-radius-xl);
  border: 1px solid var(--border-card);
  color: black;
}

/* UL in card */
.ul-in-card li:not(:last-child) {
  border-bottom: var(--bs-border-width) var(--bs-border-style)
    var(--bs-border-color);
}

.ul-in-card li:hover {
  background-color: var(--bs-tertiary-bg);
}

/* UL on side, on body */
.mom-ul-side li:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.2);
}

.mom-ul-side li.active {
  background-color: rgba(var(--bs-primary-rgb), 1);
}

.mom-ul-side li.active .li-buttons,
.mom-ul-side li:hover .li-buttons {
  display: block;
}

/* Ul Left part */
.mom-ul-left {
  --edge: 20px;
}

.mom-ul-left .mom-ul-title {
  font-weight: bold;
}

.mom-ul-left .mom-ul li {
  border: 1px solid var(--border-card);
}

/* Modal */

.modal-content {
  /* background-color: rgba(255, 255, 255, 1); */
}

.border-clipped-be {
}

/* Width */
.w-33 {
  width: 33%;
}

.mr-3 {
  margin-right: 1rem;
}

.text-connection {
  color: #20218f;
}

.bg-image-machine {
  position: relative;
}

.bg-image-machine:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../img/image1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  /* clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%, 0 100%); */
  /* border : 2px solid black; */
  /* transform: translate(-0, -0); */
}

/* Context Menu */
.context-menu {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: var(--z-index-context-menu);
  background-color: var(--bg-context-menu) !important;
  border-radius: 10px;
  box-shadow: 0 3px 10px -5px #000000;
  max-height: 45vh;

  &.top-left,
  &.top-right,
  &.bottom-left,
  &.bottom-right {
    transform: scale(0);

    &.show {
      transform: scale(1);
    }
  }

  &.top-left {
    transform-origin: 0 0;
  }

  &.top-right {
    transform-origin: 100% 0;
  }

  &.bottom-left {
    transform-origin: 0 100%;
  }

  &.bottom-right {
    transform-origin: 100% 100%;
  }

  &.top {
    transform-origin: 50% 0;
  }

  &.bottom {
    transform-origin: 50% 100%;
  }

  &.left {
    transform-origin: 0 50%;
  }

  &.right {
    transform-origin: 100% 50%;
  }

  &.top,
  &.bottom {
    transform: scaleY(0);

    &.show {
      transform: scaleY(1);
    }
  }

  &.left,
  &.right {
    transform: scaleX(0);

    &.show {
      transform: scaleX(1);
    }
  }

  &.anim {
    transition: transform 0.1s;
  }
}

.context-menu-list {
  margin: 0;
  display: flex;
  width: 100%;
  padding: 8px 0px;

  & + .context-menu-list {
    border-top: var(--bs-border-width) solid var(--bs-border-color-translucent);
  }
}

.btn-svg {
  /* box-sizing: content-box; */
  width: 20px;
  height: 20px;
  border: 0;
  padding: 8px 8px;
  /* padding-right: 36px; */
  border-radius: 8px;
  text-align: left;
  display: flex;
  align-items: center;
  position: relative;
  /* background-color: var(--color-bg-secondary); */

  &:hover {
    background-color: var(--bs-table-hover-bg);
  }
}

.btn-l-svg {
  /* box-sizing: content-box; */
  width: 30px;
  height: 30px;
  border: 0;
  /* padding: 8px 8px; */
  /* padding-right: 36px; */
  /* border-radius: 8px; */
  text-align: left;
  display: flex;
  align-items: center;
  /* position: relative; */
  /* background-color: var(--color-bg-secondary); */

  &:hover {
    background-color: var(--bs-table-hover-bg);
  }
}

.btn-xl-svg {
  /* box-sizing: content-box; */
  width: 40px;
  height: 40px;
  border: 0;
  /* padding: 8px 8px; */
  /* padding-right: 36px; */
  /* border-radius: 8px; */
  text-align: left;
  display: flex;
  align-items: center;
  position: relative;
  /* background-color: var(--color-bg-secondary); */

  &:hover {
    background-color: var(--bs-table-hover-bg);
  }
}

.mom-inside-bg-20 {
  background-color: rgba(255, 49, 49, 0.2);
}

.mom-text-color,
.mom-text-color::placeholder {
  color: var(--blue-neon);
}

.mom-button-neon {
  /* border : #ff3131 0.125rem solid; */
  text-shadow: 0 0 0.8em var(--blue-neon);
  box-shadow: 0 0 2px 1px var(--blue-neon), inset 0 0 2px 1px var(--blue-neon);
  background: transparent;
  color: var(--blue-neon);
  font-weight: bold;
  border: none;
}

/* Nav */
nav {
  position: relative;
}

.nav-item {
  /* text-shadow: 0 0 0.8em var(--blue-neon); */
  font-weight: bold;
}

/* Card */
.mom-card,
.mom-card-filling-left-list {
  /* border-radius: var(--bs-border-radius-xl); */
  /* overflow: hidden; */
}

.mom-card-header {
  margin: 0 !important;
  font-weight: bold;
}

/* Div with border only */
.div-border {
  border-radius: var(--bs-border-radius-xl);
  border: 1px solid var(--border-card);
  color: black;
}

/* UL in card */
.ul-in-card li:not(:last-child) {
  border-bottom: var(--bs-border-width) var(--bs-border-style)
    var(--bs-border-color);
}

.ul-in-card li:hover {
  background-color: var(--bs-tertiary-bg);
}

/* UL on side, on body */
/* .mom-ul-side li:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.2);
} */

.mom-ul-side li.active {
  background-color: rgba(var(--bs-primary-rgb), 1);
}

.mom-ul-side li.active .li-buttons,
.mom-ul-side li:hover .li-buttons {
  display: block;
}

/* Ul Left part */
.mom-ul-left {
  --edge: 20px;
}

.mom-ul-left .mom-ul-title {
  font-weight: bold;
}

.mom-ul-left .mom-ul li {
  border: 1px solid var(--border-card);
}

/* Modal */

.modal-content {
  /* background-color: rgba(255, 255, 255, 1); */
}

/* clipped border */
.border-clipped-be {
}

/* Button */
.mom-button {
  background-color: var(--mom-bg-body);
  font-weight: bold;
  color: white;
  border-radius: var(--bs-border-radius-xl);
}

.mom-button.active {
  background-color: green;
}

.mom-button-sm {
  background-color: var(--mom-bg-body);
  font-weight: bold;
  color: white;
  border-radius: var(--bs-border-radius-xl);
}

.mr-3 {
  margin-right: 1rem;
}

.text-connection {
  color: #20218f;
}

.bg-image-machine {
  position: relative;
}

.bg-image-machine:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../img/image1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  /* clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%, 0 100%); */
  /* border : 2px solid black; */
  /* transform: translate(-0, -0); */
}

.text-logo {
  font-family: CommercialScript BT, Corbel;

  font-size: 60px;
  line-height: 0px;
  /* color: red; */
  color: var(--mom-bg-body);
}

.btn-svg {
  /* box-sizing: content-box; */
  width: 20px;
  height: 20px;
  border: 0;
  padding: 8px 8px;
  /* padding-right: 36px; */
  border-radius: 8px;
  text-align: left;
  display: flex;
  align-items: center;
  position: relative;
  /* background-color: var(--color-bg-secondary); */

  &:hover {
    background-color: var(--bs-table-hover-bg);
  }
}

.downloadButton {
  --bs-badge-padding-x: 0.65em;
  --bs-badge-padding-y: 0.35em;
  --bs-badge-font-size: 0.75em;
  --bs-badge-font-weight: 500;
  --bs-badge-color: #fff;
  --bs-badge-border-radius: var(--bs-border-radius);
  display: inline-block;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--bs-badge-font-size);
  font-weight: var(--bs-badge-font-weight);
  line-height: 1;
  color: var(--bs-badge-color);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius);
}

.form-control:focus {
  /* border-color: transparent; */
  box-shadow: none;
}

.hover-active:hover {
  background-color: var(--mom-bg-body-05);
}
.hover-active-tertiary:hover{
  background-color: var(--bs-tertiary-bg) ;
}

/* Media */
@media (orientation: landscape) and (min-width: 1400px) {
  .flex-landscape-row {
    flex-direction: row !important;
  }

  .flex-landscape-column {
    flex-direction: column !important;
  }
}

@media (orientation: portrait) {
  .flex-portrait-row {
    flex-direction: row !important;
  }

  .flex-portrait-column {
    flex-direction: column !important;
  }
}

.list-bordered > div:not(:first-child){
  border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;;
}
/* #list-quot-req > div:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0; 
  top: -0.5rem;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: rgba(var(--bs-secondary-rgb), 0.2);
} */



/* OVERWRITE BOOTSTRAP */
.shadow{
  box-shadow: 0 2px 5px 3px rgb(0 0 0 / 15%) !important;
}