@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --portalThemeColor090: rgba(255, 255, 255, 0.6);
}

.logoimg {
  width: auto;
  height: 45px;
  margin: 0 10px;
}

.button1-large {
  font-size: 20px !important;
}

.homeMainContainer {
  margin: 40px;
  width: auto;
}

.homeContentContainer {
  background: linear-gradient(to right, rgb(255, 183, 143), rgb(255, 255, 255));
  border-radius: 12px;
  width: auto;
}

.p-footer {
  color: var(--portalThemeColor090);
}

.p-footer-title {
  color: var(--portalThemeColor7);
  font-size: large;
  font-weight: 600;
}

.p-footer-copyright {
  color: var(--portalThemeColor7);
}

.container-padding-left {
  padding-left: 10px;
}

.row-padding-bottom {
  padding-bottom: 20px;
}

.crmEntityFormView,
.entitylist {
  border: none !important;
}

.crmEntityFormView .actions {
  border-top: none !important;
}

.btn-for-delete {
  padding: 5px !important;
  ;
}

.form-label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}

.col-float-right {
  float: right;
}

/* Progress indicator */
#modalBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Sfondo nero trasparente */
  z-index: 999;
  display: none;
}

#progressContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#progressIndicator {
  /* Aggiungi il tuo indicatore di progresso, ad esempio un'animazione */
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid var(--portalThemeColor4);
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#progressMessage {
  color: white;
  font-size: 18px;
}

/* Progress indicator */

.btnMargin {
  margin-right: 10px;
}

.orangeLabel {
  color: var(--portalThemeColor4);
}

.file-upload {
  border: 2px dashed var(--portalThemeColor4);
  padding: 100px 30px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
}

.file-upload.dragover {
  border-color: var(--portalThemeColor4);
  background-color: #f0f8ff;
}

.file-items {
  width: 100%;
  max-width: 500px;
  height: 50px;
  overflow-y: auto;
  word-wrap: break-word;
  border: 1px solid var(--portalThemeColor4);
  padding: 5px;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-size: x-small;
}

/* Stile della finestra modale */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  margin-left: 20px;
}

.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

/* .section tbody tr td div.control{
  clear: none !important;
  float: right;
} */

.crmEntityFormView fieldset {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  border: 2px solid var(--portalThemeColor4);
  margin-bottom: 0 !important;
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);  Effetto ombra leggero */
}

/* Get Collection */

.form-container-collection {
  width: 100%;
  margin: 0 auto;
}

.form-container-collection-border {
  width: 100%;
  margin: 0 auto;
  border: 2px solid var(--portalThemeColor4);
  border-radius: 10px;
}

.form-row-5-collection {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  /* Spaziatura tra le colonne */
  margin-bottom: 15px;
  border: 2px solid var(--portalThemeColor4);
  border-radius: 10px;
}

.form-row-4-collection {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
  border: 2px solid var(--portalThemeColor4);
  border-radius: 10px;
}

.form-row-4-collection-noborder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.form-row-3-collection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
  border: 2px solid var(--portalThemeColor4);
  border-radius: 10px;
}

.form-field-collection {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
}

.form-field-collection-noflex {
  flex-direction: row;
  align-items: center;
  padding: 10px;
  font-size: small;
}

.form-field-collection label {
  font-weight: bold;
  margin-right: 5px;
  margin-bottom: 0;
  /*color: #eb5305;  Colore delle etichette */
}

.field-value-collection {
  float: right;
  color: #333;
  min-width: 35px;
}

/* End Get Collection */

legend {
  width: auto !important;
  padding-left: 5px;
  padding-right: 5px;
}

.form-custom-actions {
  margin-bottom: 0 !important;
}

legend h3 {
  font-size: large;
  margin-bottom: 22px;
}

.row.collection {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.query.form-control {
  border: 2px solid var(--portalThemeColor4);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding-left: 5px;
}

/* tr[data-entity="ava_image"] td[data-attribute="statuscode"][data-value*="100000002"] {
  color: red;
} */

tr[data-entity="ava_image"]:has(td[data-attribute="statuscode"][data-value*="100000002"]) td {
  color: #ff0000;
  /* color: var(--portalThemeColor4); */
  /* background-color: rgba(235, 83, 5, 0.5) */
}

/* .manualContainer {
  max-height: 100px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 10px;
  border: 2px solid var(--portalThemeColor4);
} */

.emailSupportContainer fieldset, .manualContainer fieldset {
  padding-top: 0;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  border: 2px solid var(--portalThemeColor4);
}

.helpLegend {
  border: 0 !important;
  margin-bottom: 0 !important;
}

/* .breadcrumbDetails {
  font-weight: normal;
  color: #7e7e7e;
  color: var(portalThemeColor8)
} */

/* .advancedTooltip {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 10;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.advancedTooltip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.advancedTooltip .close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
  font-size: 14px;
} */