.bg-darker {
  background: #111111 !important;
}

.text-shadow {
  color: white;
  text-shadow: 1px 1px 1px black, -1px -1px 1px black, 1px -1px 1px black, -1px 1px 1px black;
}

.border-intern {
  outline: 3px solid var(--bs-success);
  outline-offset: -4px;
  box-shadow: 2px 2px 0 var(--bs-success) inset, -2px -2px 0 var(--bs-success) inset !important;
}

.border-intern::after {
  content: "";
  outline: 3px solid var(--bs-success);
  outline-offset: -4px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-shadow: 2px 2px 0 var(--bs-success) inset, -2px -2px 0 var(--bs-success) inset !important;
  pointer-events:none;
}

/* @media (prefers-color-scheme: dark) {
  body, .card {
    background: var(--bs-dark);
    color: var(--bs-light);
  }

  * {
    color: var(--bs-light);
  }

  .navbar {
    background: black;
  }

  #logo {
    filter: invert(1);
  }
} */

.color-hover{
  color:#8A8787
}
.color-hover:hover {
  color:#545050
}

.zoom-hover {
  transition: transform .5s ease;
  transform: scale(1.0);
}
.zoom-hover:hover {
  transform: scale(1.2);
}

/*======================================*\
=============== DESIGN 2023 ==============
\*======================================*/


@font-face {
  font-family: 'quicksand';
  src: url('/static/fonts/Quicksand-Light.ttf') format("opentype");
  font-weight: 100 300;
}
@font-face {
  font-family: 'quicksand';
  src: url('/static/fonts/Quicksand-Regular.ttf') format("opentype");
  font-weight: 301 400;
}
@font-face {
  font-family: 'quicksand';
  src: url('/static/fonts/Quicksand-Medium.ttf') format("opentype");
  font-weight: 401 500;
}
@font-face {
  font-family: 'quicksand';
  src: url('/static/fonts/Quicksand-SemiBold.ttf') format("opentype");
  font-weight: 501 600;
}
@font-face {
  font-family: 'quicksand';
  src: url('/static/fonts/Quicksand-Bold.ttf') format("opentype");
  font-weight: 700 1000;
}


:root {
  --primary: #fce200;
  --bg-0: #cdddd5;
  --bg-1:#f2f2f2;
  --bg-2:#ffffff;
  --text-1: #333333;
  --text-2: #808080;
  --color-0: #555555;
  --widthAside: 16.666%;
  --color-x: #ff1d25;
  --color-y: #7ac943;
  --color-z: #3fa9f5;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --primary: #fce200;
    --bg-0: #040505;
    --bg-1:#1a1a1a;
    --bg-2:#333333;
    --text-1: #ffffff;
    --text-2: #999999;
  }
} */

.design-darker {
  background: var(--bg-1);
  color: var(--text-2);
}

.design-lighter {
  background: var(--bg-2);
  color: var(--text-1);
}

* {
  font-family: "quicksand";
  color: var(--text-2);
  margin: 0;
  padding: 0;
}

a {
  color: var(--text-2);
}

main > aside {
  background: var(--bg-2);
  user-select: none;
  overflow-y: auto;
}

main > #aside-left > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-2);
  color: var(--text-1);
  padding: 1em;
}

main > #aside-left > article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-0);
  color: var(--text-1);
  font-weight: bold;
  padding: 0.5em;
}

.detail_design {
  background: var(--bg-1);
}

.design-design > summary::-webkit-details-marker {
  content: "A";
  width: 50px;
  width: 50px;
}

.detail_design > summary {
  position: relative;
  background: var(--f2f2f2);
  color: var(--text-1);
  margin-left: .5em;
  padding: 0.2em;
}

.detail_design > summary > * {
  display: inline-block;
  vertical-align: middle;
}

.detail_design > summary > div {
  position: absolute;
  top:0;
  right: 0;
  background: var(--bg-1);
  padding-right: 0.5em;
}

.detail_design > summary > div > #eye {
  vertical-align: middle;
}

.detail_design > summary > #name {
  color: var(--text-1);
  padding-left: 0.5em;
  font-weight: 500;
  font-size: 1rem;
  overflow: hidden;
}

.detail_design > summary::before {
  position:unset;
  color: var(--text-1) !important;
  vertical-align: middle;
}

.design-container-entity {
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--bg-2);
  color: var(--text-1);
  border-left: 1px solid black;
  margin-left: 1em;
  margin-top: 0.2em;
  box-shadow:-1em 0px 0px 0px var(--bg-2);
  padding-left: 1em;
  padding-right: 0;
  font-weight: 400;
}

.design-container-entity-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--bg-2);
  color: var(--text-1);
  border-left: 1px solid black;
  margin-left: 1em;
  box-shadow:-1em 0px 0px 0px var(--bg-2);
  padding-left: 1em;
  padding-right: 0;
  width: calc(100% - 1px - 1em);
}

.image-upload>input {
  display: none;
}

.image-upload>label>img {
  width: 3rem;
  height: 3rem;
}

.listGroup{
  margin-bottom: 0%;
  padding-left: 0%;
}

.listGroup > li{
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 0.25em 0;
  justify-content: center;
  border-radius: 0.3rem;
}

.drawsTable{
  margin-top: 0.5rem;
  padding-left: 0%;
}

.drawsTable > li{
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 0.25em 0;
  justify-content: center;
  border-radius: 0.3rem;
}

.drawsTable > .selected{
  background: var(--primary);
}

.design-entity {
  cursor: pointer;
  list-style: none;
  background: var(--bg-2);
  padding: 0.25em 0;
}


.detail_design > ul > .selected {
  background: var(--primary);
}

.detail_design > ul >  .selected > div {
  color: var(--text-1);
}

.detail_design > ul >  .selected > div > span {
  color: var(--text-1);
}

.design-entity > div > #entity_name {
  margin-right: auto;
  overflow: hidden;
}

.design-entity > div {
  position:relative;
  display: inline-flex;
  align-items: center;
}

.design-entity > div > #eye-div {
  position:absolute;
  right: 0;
  top: 0;
  background: var(--bg-2);
  padding-right: 0.5em;
  padding-left: 0.5em;
}

.design-entity > div > .selected{
  background: var(--primary) !important;
}

main > #aside-right > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-2);
  color: var(--text-1);
  padding: 1em;
}
#entity_icon::before {
  color:var(--text-1);
}

main > #aside-right > #entity_buttons {
  display: flex;
  margin: 1em;
}

main > #aside-right > #entity_buttons > a {
  text-decoration: none;
  width: 100%;
  text-align: center;
}

main > #aside-right > #entity_buttons > a:not(:first-child) {
  border-left: 1px solid var(--text-1);
}

#main-ui {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 51;
  pointer-events: none;
}

#main-ui > main {
  display: block;
  width: 66.668%;
}

#aside-left {
  pointer-events: auto;
  width: var(--widthAside);
  height: 100%;
}

#aside-left * {
  white-space: nowrap;
}

#aside-right {
  pointer-events: auto;
  width: var(--widthAside);;
  height: 100%;
  transition-property: transform;
  transition-duration: 0.5s;
  transform: translateX(100%);
}

.show-aside-right {
  transform: translateX(0%) !important;
}

main .btn-light {
  background: var(--bg-2);
  border-color: var(--bg-2);
  color: var(--text-1);
}

main .badge {
  border-radius: 100px;
  color: var(--bg-2);
  background: var(--text-2);
  font-size: 0.7em;
  padding: 0.55em 0;
  width: 1.1em;
  height: 1.1em;
  padding-top: 0.1em;
  margin: calc(24px - 1.1em);
}

.visual-toggle::before {
  font-size: 14px;
}

.ts-control {
  background: none !important;
}

.ts-control input[type="select-one"] {
  color: var(--text-1) !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
input[type="number"],
select,
.ts-wrapper
{
  background: var(--bg-1) !important;
  border: none !important;
  border-bottom: 2px solid var(--text-2) !important;
  color: var(--text-1) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="file"]:focus,
input[type="number"],
select:focus,
.ts-wrapper:focus
{
  background: var(--bg-1) !important;
  border: none !important;
  border-bottom: 2px solid var(--text-2) !important;
  box-shadow: 0 0 0 0.1rem var(--text-2) !important;
  color: var(--text-1) !important;
}

input[type="text"]:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled,
input[type="file"]:disabled,
input[type="number"],
select:disabled,
.ts-wrapper:disabled
{
  opacity: 0.4 !important;
}

.bg-light {
  background: var(--bg-1) !important;
  color: var(--text-1) !important;
}


.progress-bar-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  pointer-events: auto;
  border-radius: 50%;
}

#global-loading {
  width: 2.5em;
  height: 2.5em;
}

.progress-bar-circle::before {
  content: attr(cssvalue);
  font-size: 0.75em;
  color: black;
}

#context-info > div > span {
  color: var(--text-1);
  display: inline-block;
  width: 80px;
}