:root {
  --colore-background: #fafcff;
  --colore-background-sidebar: #fff;
  --colore-box-shadow: #f1f6ff;
  --colore-box-istruzioni: #e2edfd;
  --colore-scrollbar: #a0badd;
  --colore-scrollbar-hover: #e2edfd;

  --colore-eliminazione: #e40000;
  --colore-modifica: #799fd0;
  --colore-aggiungi: #026efa;
  --colore-bianco: #fff;

  --colore-font: #000;
  --colore-font-hover: #026efa;
  --colore-font-sottotitoli: #acacac;
}

@font-face {
  font-family: "Inter";
  src: url(./font/inter/Inter-VariableFont_slnt,wght.ttf);
}

body {
  min-height: 100vh;
  padding: 24px;
  background-color: var(--colore-background) !important;
  font-family: "Inter";
  font-style: normal;
  line-height: normal;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--colore-scrollbar) !important;
  border-radius: 18px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--colore-scrollbar-hover) !important;
}

/* scrollbar */

/* colori */
.colore-custom-bg-aggiungi {
  background: var(--colore-aggiungi) !important;
}

.colore-custom-bg-modifica {
  background: var(--colore-modifica) !important;
}

.colore-custom-bg-elimina {
  background: var(--colore-eliminazione) !important;
}

.colore-custom-1 {
  color: var(--colore-font-hover) !important;
}

.colore-custom-2 {
  color: var(--colore-font) !important;
}

.colore-custom-3 {
  color: var(--colore-font-sottotitoli) !important;
}

/* colori */

/* font */

.font-custom-1 {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.font-custom-2 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.font-custom-3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.font-custom-4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.font-custom-5 {
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}

.custom-hover-1:hover {
  font-weight: 500;
}

.custom-hover-2:hover {
  color: var(--colore-font-hover) !important;
}

.custom-hover-3:active {
  background-color: var(--colore-bianco) !important;
}

/* font */

/* navbar */
.sidebar-desktop {
  background-color: var(--colore-background-sidebar) !important;
  min-height: calc(100vh - 48px);
  border-radius: 8px;
  box-shadow: 0px 0px 4px 4px var(--colore-box-shadow) !important;
  position: fixed;
  padding: 24px;
  display: block;
  z-index: 1030;
}

/* mobile */
.sidebar-mobile {
  display: none;
  position: fixed;
  z-index: 1030;
}

.hamburger-btn {
  background-color: var(--colore-font-hover) !important;
  padding: 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1030;
}

.hamburger-btn:active {
  opacity: 0.8;
}

.custom-banner-utente {
  position: fixed;
  width: calc(100% - 48px);
  display: flex;
  justify-content: end;
  z-index: 1029;
  background-color: var(--colore-background) !important;
  padding: calc(32px + 24px) 0px 32px 0px;
  margin-top: -24px;
}

@media (max-width: 1400px) {
  .sidebar-mobile {
    display: block;
  }

  .sidebar-desktop {
    display: none;
  }

  .custom-banner-utente {
    padding: calc(24px + 9px) 0px 32px 0px;
    margin-top: -24px;
  }
}

/* navbar */

/* btn */
.btn-custom-1 {
  border-radius: 8px;
  padding: 8px 16px;
  gap: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  color: var(--colore-bianco);
  font-size: 16px;
  font-weight: 500;
}

.btn-custom-1:active,
.btn-custom-1:hover {
  opacity: 0.8;
}

/* btn */

.collapse-card-1 {
  background-color: var(--colore-background) !important;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
}

.card-istruzioni {
  border-radius: 8px;
  background: var(--colore-box-istruzioni) !important;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.card-breadcrumb {
  margin-bottom: 24px;
}

.custom-gap-1 {
  gap: 16px;
}

.custom-card-1 {
  margin: 24px 0px;
  padding: 24px;
  border-radius: 8px;
  background: var(--colore-background-sidebar) !important;
  box-shadow: 0px 0px 4px 4px var(--colore-box-shadow) !important;
}

.card-custom-2 {
  padding: 24px;
  border-radius: 8px;
  background: var(--colore-background) !important;
  box-shadow: 0px 0px 4px 4px var(--colore-box-shadow) !important;
}

/* modal */
.modal-body {
  padding: 36px;
}

.modal-content {
  border-radius: 8px;
  background: var(--colore-background-sidebar);
  box-shadow: 0px 0px 4px 4px var(--colore-box-istruzioni);
  border: 0;
}

.modal.fade.show {
  backdrop-filter: blur(6px);
}

.dropdown-menu.show {
  position: absolute;
  top: 28px !important;
  left: calc(100% - 160px) !important;
  transform: none !important;
}

/* modal */

.grafico-planning {
  height: 30vh;
}

@media screen and (max-width: 1440px) {
  .grafico-planning {
    height: 50vh;
  }
}
