﻿:root {
  --color-custom-extra-rgb: 200, 209, 231;
  --color-grey: #dee2e6;
  --bs-red: #dc3545;
}

html, body {
  height: 100%;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.loading-section {
  text-align: center;
  height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.loading-section h2 {
  color: rgb(81, 149, 158);
}

.loader-dot {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: rgb(81, 149, 158);
  display: inline-block;
  -webkit-animation: grow 2.1s infinite ease-in-out both;
  animation: grow 2.1s infinite ease-in-out both;
}

.loader-dot.dot1 {
  -webkit-animation-delay: -0.96s;
  animation-delay: -0.96s;
}

.loader-dot.dot2 {
  -webkit-animation-delay: -0.48s;
  animation-delay: -0.48s;
}

@-webkit-keyframes grow {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
.login-image-top {
  z-index: -1 !important;
  background-size: auto 100%;
  height: 130px;
  background-repeat: no-repeat;
  background-position: right;
}

.login-image-bottom {
  z-index: -1 !important;
  background-size: auto 100%;
  height: 110px;
  background-repeat: no-repeat;
  background-position: left;
}

.primary-color-svg-custom {
  filter: brightness(0) saturate(100%) invert(50%) sepia(60%) saturate(282%) hue-rotate(139deg) brightness(94%) contrast(93%);
}

.primary-color-svg-lighter-custom {
  filter: brightness(0) saturate(100%) invert(88%) sepia(4%) saturate(3217%) hue-rotate(172deg) brightness(107%) contrast(76%);
}

.img-login-background-top {
  background-image: url("../images/background-top.svg");
}

.img-login-background-top-lighter {
  background-image: url("../images/background-top-lighter.svg");
}

.img-login-background-bottom-lighter {
  background-image: url("../images/background-bottom-lighter.svg");
}

.img-login-background-bottom {
  background-image: url("../images/background-bottom.svg");
}

.login-image {
  background-image: url("../images/login.svg");
  background-size: 130px;
  width: 130px;
  height: 130px;
}

.logo-application {
  background-image: url("../images/logo-labelon.svg");
  background-size: 325px;
  background-repeat: no-repeat;
  height: 80px;
}

.logo-header {
  background-image: url("../images/logo-labelon-outline-white.svg");
  background-size: 130px;
  background-repeat: no-repeat;
  height: 40px;
  background-position: 80px 5px;
}

.logo-footer-first {
  height: 30px;
}

.logo-footer-second {
  height: 20px;
  font-size: 11px;
}

.validation-message {
  color: #dc3545;
  font-size: 10pt;
  font-weight: bold;
}

.e-success {
  box-shadow: none !important;
  border-color: #CED4DA !important;
}

.bg-light-scrollbar::-webkit-scrollbar {
  width: 12px;
}

.bg-light-scrollbar::-webkit-scrollbar-thumb {
  background: #C8D1E7;
  border-radius: 6px;
  border: 3px solid #ffffff;
}

.bg-light-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgb(81, 149, 158);
}

.bg-light-scrollbar::-webkit-scrollbar-button:vertical:start:increment,
.bg-light-scrollbar::-webkit-scrollbar-button:vertical:end:decrement {
  display: none;
}

.e-chart-scroll-container::-webkit-scrollbar {
  width: 12px;
}

.e-chart-scroll-container::-webkit-scrollbar-thumb {
  background: #C8D1E7;
  border-radius: 6px;
  border: 3px solid #ffffff;
}

.e-chart-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgb(81, 149, 158);
}

.e-chart-scroll-container::-webkit-scrollbar-button:vertical:start:increment,
.e-chart-scroll-container::-webkit-scrollbar-button:vertical:end:decrement {
  display: none;
}

.body-content {
  padding-bottom: 40px;
  height: calc(100% - 40px - 36px);
}

.navigator {
  margin-top: 40px;
}

.background-color-sidebar, .background-color-header {
  background-color: rgb(81, 149, 158) !important;
}

.div-curve-bottom-menu {
  width: 290px;
  height: 40px;
  border-bottom-left-radius: 20% 100%;
  border-bottom-right-radius: 20% 100%;
  box-shadow: 0px 4px 0px 0px rgba(var(--color-custom-extra-rgb), 0.8) !important;
}

.div-curve-top-menu {
  width: 290px;
  height: 30px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding-top: 3px;
}

.sidebar-treeview {
  width: 290px;
}

.tree-menu-scroll {
  height: calc(100% - 273px);
  padding-bottom: 10px;
  padding-left: 16px;
  padding-right: 4px;
}

.border-menu {
  border-right: 1px solid #C8D1E7;
}

.sidebar-treeview .e-treeview .e-icon-collapsible,
.sidebar-treeview .e-treeview .e-icon-expandable {
  float: right;
}

.sidebar-treeview .e-treeview .e-icon-collapsible,
.sidebar-treeview .e-treeview .e-icon-expandable {
  margin: 8px;
}

.sidebar-treeview .e-treeview .e-list-icon {
  height: 15px !important;
}

.sidebar-treeview .e-treeview .e-list-text {
  padding-top: 2px;
}

.sidebar-treeview .e-treeview .e-text-content {
  padding-left: 0px;
}

.sidebar-treeview .e-treeview .e-fullrow {
  border-radius: 30px;
}

.e-breadcrumb li:first-child {
  margin-top: -5px !important;
}

.e-breadcrumb .e-breadcrumb-text, .e-breadcrumb .e-breadcrumb-separator {
  font-size: 12px !important;
}

.gantt-projects {
  height: calc(100% - 80px) !important;
}

.scroll-shadows {
  overflow: auto;
  background: linear-gradient(#f8f9fa, #f8f9fa) center top, linear-gradient(#f8f9fa, #f8f9fa) center bottom, radial-gradient(farthest-side at 50% 0, rgba(var(--color-custom-extra-rgb), 1), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(var(--color-custom-extra-rgb), 1), rgba(0, 0, 0, 0)) center bottom;
  background-repeat: no-repeat;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}

#TabProjects .e-tab-header {
  display: none;
}

.e-customize.e-skeleton.e-shimmer-wave::after {
  background-image: linear-gradient(90deg, transparent calc(50% - 100px), var(--color-grey) 50%, transparent calc(50% + 100px));
}

.e-gantt .e-gantt-chart .e-custom-holiday {
  background-color: #C8D1E7 !important;
}

.e-gantt .e-gantt-chart .e-weekend {
  background-color: rgba(var(--color-custom-extra-rgb), 0.4) !important;
}

.e-gantt .e-gantt-chart .e-gantt-manualparenttaskbar, .e-gantt-manualparenttaskbar-left, .e-gantt-manualparenttaskbar-right {
  display: none !important;
}

.e-gantt .e-gantt-chart .e-gantt-child-manualtaskbar {
  background: #92a3d0 !important;
  outline: 1px solid rgb(81, 149, 158) !important;
  border-radius: 15px !important;
}

.e-gantt .e-gantt-chart .e-gantt-parent-taskbar {
  border-radius: 15px !important;
  margin-top: 5px !important;
}

.e-gantt .e-gantt-chart .e-baseline-bar {
  height: 10px !important;
  border-radius: 15px !important;
}

.e-gantt .e-gantt-chart .e-right-label-container {
  margin-left: -40px !important;
  z-index: 1080 !important;
}

.gantt-custom-label {
  height: 22px;
  margin-top: 8px;
  width: 50px;
  text-align: center;
  font-size: 12px;
}

.gantt-markers-deadline {
  border-left-color: var(--bs-red) !important;
}

#TabProjects .e-content, .e-item {
  height: 100%;
}

.height-content-50 {
  height: calc(100% - 80px) !important;
}

.sidebar-right {
  width: 550px !important;
  z-index: 1030 !important;
}

.sidebar-right-large {
  width: 750px !important;
  z-index: 1030 !important;
}

.section-grid-products {
  height: calc(50% - 40px);
  overflow: visible;
}

.section-grid-tasks {
  height: 50%;
  overflow: visible;
}

.preserve-return-line {
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

.overflow-auto {
  overflow: auto !important;
}
