.topbar {
  width: 100%;
  background-color: rgb(3, 140, 127);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.1875rem 0.375rem;
  box-sizing: border-box;
  height: 50px;
  max-height: 50px;
}

.custom-buttonsave {
  background-color: rgb(3, 140, 127) !important;
  border: 1px solid white !important;
  color: white !important;
  border-radius: 0 !important;  /* Make the button square */
  margin: 0 0.625rem;
  font-size: 1.1875rem;  /* 19px */
  width: 6.25rem;  /* 100px */
  height: 2.5rem;  /* 40px */
}

.custom-buttonsave .p-button-label {
  font-weight: normal !important;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
}

.topbar-logo {
  height: 2.5rem;  /* 40px */
  margin-right: 0.625rem;  /* 10px */
}

.topbar-text {
  color: white;
  font-size: 1.1875rem;  /* 19px */
  margin-right: 1.25rem;  /* 20px */
}

.topbar-button {
  background-color: white;
  color: rgb(3, 140, 127);
  border: none;
  padding: 0.625rem 1.25rem;  /* 10px 20px */
  margin-left: 0.625rem;  /* 10px */
  cursor: pointer;
  transition: background-color 0.3s;
}

.topbar-button:hover {
  background-color: #f0f0f0;
}

.custom-button {
  color: white;
  font-weight: bold;
}

.custom-tool {
  margin: 0rem 0.2rem;  /* 3px */
}

/* Dialog styles */
.info-dialog .p-dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dialog-content {
  text-align: center;
  padding: 1.25rem;  /* 20px */
}

.dialog-logo {
  width: 6.25rem;  /* 100px */
  border-radius: 0.625rem;  /* 10px */
  margin-bottom: 0.625rem;  /* 10px */
}

.info-content {
  font-size: 1.1875rem;  /* 19px */
  margin: 0.625rem 0;  /* 10px */
}

.highlight {
  font-weight: bold;
  color: rgb(3, 140, 127);
}

.dialog-footer {
  margin-top: 1.25rem;  /* 20px */
}

.close-b {
  padding: 0.9375rem 5.625rem !important;  /* 15px 90px */
}

.custom-divider {
  border-left: 1px solid #fff;
  height: 2.5rem;  /* 40px */
  margin: 0 1.25rem;  /* 20px */
}

/* src/components/DownBar.css */
.custom-toolbar {
  background-color: rgb(99, 206, 193);
  color: rgb(77, 77, 77);
  padding: 0.625rem;  /* 10px */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 60px;
  max-height: 60px;
}

.downbar-text {
  width: 15rem;  /* 240px */
  text-align: center;
  font-weight: bold;
  font-size: 1.1875rem;  /* 19px */
  color: rgb(77, 77, 77);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-dividerw {
  border-left: 1px solid white;
  height: 2.5rem;  /* 40px */
  margin: 0 0.625rem;  /* 10px */
}

.custom-dividerb {
  border-left: 1px solid rgb(77, 77, 77);
  height: 0.625rem;  /* 10px */
  margin: 0 1.25rem;  /* 20px */
}

.custom-dividerb.p-divider.p-divider-vertical {
  padding: 0.75rem 0;
}

.custom-dividerb.p-divider-content {
  background-color: rgb(77, 77, 77) !important;
}

.custom-dividerb.p-divider.p-divider-vertical:before {
  border-color: rgb(77, 77, 77);
}

.custom-buttonw {
  font-size: 1.1875rem;  /* 19px */
  color: white;
  margin: 0 0.3125rem;  /* 5px */
}

.custom-buttonb {
  color: rgb(77, 77, 77);
  margin: 0 0.3125rem;  /* 5px */
}

.left-contents, .right-contents {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.desktop-top {
  display: flex; /* Hide toolbar on small screens */
}

@media (max-width: 1279px) {
  .desktop-top {
    display: none !important; /* Hide toolbar on small screens */
  }

  .hamburger-menu {
    display: flex !important;
  }

}

@media (max-width: 650px) {
  .downbar-text {
    width: 10rem !important;  /* 240px */
  }
}

@media (max-width: 580px) {
  .downbar-text {
    width: 5rem !important;  /* 240px */
  }
}

.p-sidebar .p-sidebar-header .p-sidebar-close, .p-sidebar .p-sidebar-header .p-sidebar-icon {
  color: #fff;
}

.p-toolbar {
  border: 0;
  border-radius: 0;
}

.hamburger-menu {
  display: none;
  z-index: 1000;
  border-color: rgb(77, 77, 77);
  background-color: rgb(99, 206, 193);
  color: rgb(77, 77, 77);
  padding: 0.625rem !important;  /* 10px */
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 2.5rem; /* 40px */
  margin: 0 0.625rem; /* 10px */
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.tool-hover:hover {
  background-color: rgb(0, 169, 157);
  border-radius: 0px;
}

.custom-help-button {
  width: 1.875rem; /* 30px */
  height: 1.875rem; /* 30px */
  border: 0.125rem solid rgb(77, 77, 77); /* 2px cornice grigia */
  border-radius: 0; /* Rimuove angoli arrotondati */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent; /* Sfondo trasparente */
  color: rgb(77, 77, 77); /* Colore dell'icona */
  font-size: 1.5rem; /* Dimensione dell'icona */
  cursor: pointer;
  margin: 0px 10px;
}

.custom-tool .orange {
  background-color: #f7931e;
}

.custom-tool .green {
  background-color: #00ff00;
}

.custom-tool .red {
  background-color: #ff0000;
}

.custom-tool.default {
  background-color: transparent;
  border-color: rgb(77, 77, 77);
  color: rgb(77, 77, 77);
}

.side-menu .p-card .p-card-content {
  padding: 0rem !important; 
}