@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

/* *{
  border: 1px solid red;
} */

/* GENERAL TAGS */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Poppins", sans-serif !important;
  overflow-x: hidden;
  padding-top: 96px;
}

/* ---------- CUSTOM CLASSES ---------- */

/* CUSTOM MODAL */

.modal-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  z-index: 1001;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  min-height: 100px;
  padding: 25px 15px;
}

.modal-card lottie-player{
  height: 250px;
  width: 100%;
  max-width: 95%;
}

/* MODAL */

.modal-content {
  border-radius: 10px;
}

.modal-body {
  background-color: var(--bs-neutralalt);
}

.modal-header {
  border: none;
}

.modal-header .btn-close {
  margin-right: 2px;
}

.modal-footer {
  border: none;
}

.modal-dialog.large {
  width: 98%;
  margin: 1.75rem auto;
  max-width: 1200px;
}

.modal-dialog.medium {
  width: 98%;
  margin: 1.75rem auto;
  max-width: 1000px;
}

.modal-dialog.auto {
  min-width: 300px;
  width: fit-content;
  margin: 1.75rem auto;
  max-width: 98%;
}

/* DIVS */

#bodyFirstEl {
  position: relative;
}

.divider-vertical {
  height: 40px;
  max-height: 100%;
  background-color: var(--bs-lightgray);
  width: 1px;
  margin: 0 10px;
}

.card-section {
  width: 100%;
  border-radius: 7px;
  padding: 25px;
  z-index: 100;
  background-color: white;
}

.card-section.notl{
  border-top-left-radius: 0;
}

.counterChip {
  border-radius: 10px;
  display: inline-block;
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0 7px;
}

.tableCard {
  background-color: white;
  border-radius: 7px;
  padding: 10px;
  max-height: 55vh;
}

.noRes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.noRes img {
  min-width: 300px;
  max-height: 300px;
  object-fit: contain;
  margin: 5px 15px;
  max-width: 90%;
}

.noRes p {
  font-size: 1.2rem;
  text-align: center;
}

/* RIEPILOGO MODAL */

.item-riepilogo {
  min-width: 200px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
}

.item-riepilogo.col-riepilogo {
  min-width: 200px;
  display: inline-flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.item-riepilogo p {
  font-size: 0.9rem;
  padding: 0;
  margin: 0;
}

.item-riepilogo p.label {
  font-weight: 600;
}

.chipIcon-circular {
  border-radius: 50%;
  display: inline-block;
  min-width: 35px;
  height: 35px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #ddeefd;
}

.chipIcon-circular span {
  font-size: 1rem;
  font-weight: bold;
  color: var(--bs-secondary) !important;
}

.profIcon {
  border-radius: 50%;
  width: fit-content;
  height: fit-content;
  object-fit: contain;
  overflow: hidden;
}

.profIcon img {
  width: 35px;
  height: 35px;
}

.item-riepilogo .orario {
  font-size: 1.1rem;
  color: var(--bs-accent);
  font-weight: 500;
}

.item-riepilogo .data {
  font-size: 0.75rem;
  color: var(--bs-gray);
  font-weight: 500;
  margin-top: -2px;
}

.cont-riepilogo .card-section {
  height: 67px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#modalRiepilogoAppBody {
  flex-wrap: wrap;
}

/* BUTTONS */

.buttonIcon {
  margin-right: 5px;
  transform: translateY(22%);
}

.rnd-btn {
  border-radius: 50%;
}

.roundBtn {
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 0.9rem;
  margin: 5px 6px;
}

.roundBtn-big {
  font-size: 1.2rem !important;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 0.9rem;
  margin: 5px 6px;
}

.cardButton {
  border-radius: 10px;
  padding: 10px 20px 10px 15px;
  background-color: var(--bs-neutral);
  margin: 7px 10px 5px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.cardButton img {
  height: 40px;
  max-width: 100px;
  object-fit: contain;
}

.cardButton p {
  margin: 0 0 0 10px;
  padding: 0;
}

.filledBtn {
  border-radius: 7px;
  padding: 10px 20px 10px 15px;
  margin: 7px 10px 5px 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 58px;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: 0.2s;
}

.filledBtn img {
  height: 40px;
  max-width: 100px;
  object-fit: contain;
  color: inherit;
}

.filledBtn span {
  margin: 0 10px 0 0;
  color: inherit;
}

.filledBtn p {
  margin: 0;
  padding: 0;
  color: inherit;
}

.filledBtn:hover {
  background-color: var(--text-color);
  color: white;
}

/* NAVBAR */

#navbar {
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in;
}

.navbar-toggler {
  border: 0;
}

.navbar-toggler-icon {
  margin-top: 0;
}

.nav-link {
  cursor: pointer;
}

.nav-link.active {
  color: #3ac7c8 !important;
  font-weight: 500;
}

.nav-item a {
  color: var(--bs-text) !important;
}

.nav-item .active,
.roundBtn-big.active {
  color: var(--bs-secondary) !important;
  box-shadow: 0 3px 4px 0 rgba(33, 151, 242, 0.1),
    0 3px 3px -2px rgba(33, 151, 242, 0.08),
    0 1px 8px 0 rgba(33, 151, 242, 0.14);
}

.nav-item a:hover {
  box-shadow: 0 3px 4px 0 rgba(3, 100, 116, 0.1),
    0 3px 3px -2px rgba(3, 100, 116, 0.08), 0 1px 8px 0 rgba(3, 100, 116, 0.14);
}

#profileBox p {
  font-size: 0.9rem;
}

.profImg {
  width: 35px;
  height: 35px;
  object-fit: contain;
  border-radius: 35% 35% 35% 35% / 35% 35% 35% 35%;
}

/* OTHERS */

p.label-small {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
}

.focus-none:focus {
  box-shadow: none !important;
  outline: none !important;
}

.marquee {
  animation: marquee 5s linear infinite;
  display: block;
  overflow: hidden;
  width: 300%;
}

.marquee span {
  float: left;
  width: 50%;
}

@keyframes marquee {
  0% {
    left: 0;
  }
  100% {
    left: 150%;
  }
}

h1,
h2,
h3,
h4,
h5,
p,
a,
span {
  color: var(--bs-text);
}

.contextualMenu {
  width: 150px;
  position: absolute;
}

.circledProfImg {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, 0 0 0 7px var(--data-color);
}

.smallText {
  font-size: 0.75rem;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/* SHADOWS */

.shadowed {
  box-shadow: 0px 0px 42px 0px rgba(109, 110, 113, 0.45);
  -moz-box-shadow: 0px 0px 42px 0px rgba(109, 110, 113, 0.45);
  -webkit-box-shadow: 0px 0px 42px 0px rgba(109, 110, 113, 0.45);
}

.shadow-text {
  text-shadow: 0px 0px 12px rgba(128, 128, 128, 0.8);
}

.shadow-text-light {
  text-shadow: 0px 0px 8px rgba(155, 155, 155, 0.5);
}

.shadow-light {
  -webkit-box-shadow: 0px 6px 10px 5px rgb(0, 0, 0, 3%);
  box-shadow: 0px 6px 10px 5px rgb(0, 0, 0, 3%);
}

.btn.shadow-light {
  box-shadow: 0 3px 4px 0 rgba(150, 150, 150, 0.1),
    0 3px 3px -2px rgba(150, 150, 150, 0.08),
    0 1px 8px 0 rgba(150, 150, 150, 0.14);
  /*  -webkit-box-shadow: 0px 4px 10px 8px rgb(244, 248, 249);
  box-shadow: 0px 4px 10px 8px rgb(244, 248, 249); */
}

.drop-shadow {
  filter: drop-shadow(0px 0px 42px rgba(109, 110, 113, 0.45));
}

.drop-shadow-medium {
  filter: drop-shadow(0px 0px 21px rgba(150, 150, 150, 0.45));
}

.drop-shadow-light {
  filter: drop-shadow(0px 0px 15px rgba(216, 216, 216, 0.5));
}

/* TABLES */

.tableScroller {
  width: 100%;
  overflow: auto;
  white-space: nowrap;
}

.table thead th {
  border: none;
}

.table tbody tr:nth-child(even) .counterChip {
  background-color: #e0f3e0;
  color: var(--bs-accent) !important;
}

.table tbody tr:nth-child(odd) .counterChip {
  background-color: #ddeefd;
  color: var(--bs-secondary) !important;
}

tbody td img {
  width: 30px;
  max-height: 30px;
  object-fit: contain;
  margin: 0 5px;
}

tbody tr td {
  height: 61px;
}

.table td {
  vertical-align: middle;
}

table tr:last-child td {
  border: 0;
}

/* RESPONSIVE */

.mobile-col {
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 992px) {
  .mobile-col {
    display: flex !important;
    flex-direction: row !important;
  }
  .footer .col:first-child {
    text-align: left !important;
  }
  .footer .col:last-child {
    text-align: right !important;
  }
}

/* TABS */

.tab-item {
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  background-color: var(--bs-primarylight);
  display: flex;
  flex-direction: column;
  min-width: 90px;
  padding: 10px 20px;
  margin: 0 10px 0 0;
  cursor: pointer;
  position: relative;
  z-index: 99;
  transition: all 0.25s ease !important;
  -webkit-box-shadow: 0px -8px 8px 0 rgb(0, 0, 0, 3%);
  box-shadow: 0px -8px 8px 0 rgb(0, 0, 0, 3%);
}

.tab-item .tab-title {
  color: var(--bs-textalt);
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

.tab-item .tab-subtitle {
  color: var(--bs-textalt);
  font-size: 0.8rem;
  text-align: center;
}

.tab-item.active {
  background-color: var(--bs-neutral);
}

.tab-item.active .tab-title {
  color: var(--bs-primary);
}

.tab-item.active .tab-subtitle {
  color: var(--bs-primary);
}

/* FORMS */

textarea {
  min-height: 60px !important;
}

.form-control[readonly] {
  background-color: initial;
  opacity: 1;
}

/* ------------------------------------------------------------------ */
/* COLORS AND SCROLLBAR */
/* ------------------------------------------------------------------ */

:root {
  --bs-primary: #036474 !important;
  --bs-primarylight: #06a6bf !important;
  --bs-secondary: #2197f2 !important;
  --bs-secondarylight: #ddeffd !important;
  --bs-accent: #4ab542 !important;
  --bs-neutral: #ffffff !important;
  --bs-neutralalt: #f4f8f9 !important;
  --bs-neutraldark: #c7c7c7 !important;
  --bs-dark: #6d6e71 !important;
  --bs-text: #58595b !important;
  --bs-textalt: #ffffff !important;
  --bs-lightgray: #eeeeee !important;
  --bs-gray: #adadad !important;
  --bs-warn: #fa9f47 !important;

  --bs-primarylux: #dcfafe !important;
  --bs-secondarylux: #e2f2fd !important;
  --bs-accentlux: #e6f6e5 !important;
  --bs-warnlux: #feeddc !important;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar {
  width: 15px;
  background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
  border-radius: 50px;
  border: 3px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  background-color: #bebcbc;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #969696;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.btn:hover {
  color: var(--bs-primary) !important;
  box-shadow: 0 3px 4px 0 rgb(33 151 242 / 10%),
    0 3px 3px -2px rgb(33 151 242 / 8%), 0 1px 8px 0 rgb(33 151 242 / 14%);
}

.btn.text-white:hover {
  color: white !important;
  box-shadow: 0 3px 4px 0 rgb(33 151 242 / 10%),
    0 3px 3px -2px rgb(33 151 242 / 8%), 0 1px 8px 0 rgb(33 151 242 / 14%);
}

.btn.bg-danger:hover {
  color: var(--bs-neutral) !important;
  box-shadow: 0 3px 4px 0 rgb(255 0 0 / 10%), 0 3px 3px -2px rgb(255 0 0 / 8%),
    0 1px 8px 0 rgb(255 0 0 / 14%);
}

.btn-primary {
  color: #fff;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  transition: all 0.25s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--bs-primarylight) !important;
  border-color: var(--bs-primarylight) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-primarylight {
  background-color: var(--bs-primarylight) !important;
}

.bg-primarylux {
  background-color: var(--bs-primarylux) !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.bg-secondarylux {
  background-color: var(--bs-secondarylux) !important;
}

.bg-accent {
  background-color: var(--bs-accent) !important;
}

.bg-accentlux {
  background-color: var(--bs-accentlux) !important;
}

.bg-neutral {
  background-color: var(--bs-neutral) !important;
}

.bg-neutralalt {
  background-color: var(--bs-neutralalt) !important;
}

.bg-neutraldark {
  background-color: var(--bs-neutraldark) !important;
}

.bg-lightgray {
  background-color: var(--bs-lightgray) !important;
}

.bg-dark {
  background-color: var(--bs-dark) !important;
}

.bg-warn {
  background-color: var(--bs-warn) !important;
}

.text-default {
  color: var(--bs-text) !important;
}

.text-alt {
  color: var(--bs-textalt) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-primarylight {
  color: var(--bs-primarylight) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.text-accent {
  color: var(--bs-accent) !important;
}

.text-neutral {
  color: var(--bs-neutral) !important;
}

.text-neutralalt {
  color: var(--bs-neutralalt) !important;
}

.text-neutraldark {
  color: var(--bs-neutraldark) !important;
}

.text-lightgray {
  color: var(--bs-lightgray) !important;
}

.text-gray {
  color: var(--bs-gray) !important;
}

.text-warn {
  color: var(--bs-warn) !important;
}

.text-green {
  color: #009c00 !important;
}

.text-red {
  color: #a00000 !important;
}

.toast-container {
  z-index: 1065 !important;
}

@media (max-width: 576px) {
  .toast-container {
    left: 50%;
    transform: translateX(-50%);
  }
}

.toast {
  animation: toast-slide-in 0.3s ease-in;
  position: relative;
}

@keyframes toast-slide-in {
  0% {
  }
  100% {
  }
}
