
/* CSS Custom per Portale Fornitori */

@media(min-width: 1200px) {
	.container {
		width: 1250px;
	}
}
  
.control-container { /* non serve!? */
	border: none;
}

.crmEntityFormView {
	padding-top: 8px;
	padding-bottom: 8px;
}

h3 {
	line-height: 2em;
}

table.simpletable {
  width: 100%;
  border-collapse: collapse; /* Removes double borders */
  font-size: 16px;
  /* font-family: Arial, sans-serif; */
}

.simpletable th, .simpletable td {
  border: 1px solid #ccc;
  padding: 4px 8px;
  text-align: left;
}

.simpletable th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.simpletable tr:nth-child(even) {
  background-color: #fafafa; /* Zebra striping */
}

.simpletable tr:hover {
  /* Highlight on hover */
  /* background-color: #f1f1f1; */
  background-color: rgb(253, 231, 36);
}

/* .simpletable td.folder { 
    border-color: white;
    border-left: none;
    text-decoration: underline;
} */

/*  ------ UPLOAD ---------------------------------- */
input[type="file"].custom-file-upload {
  display: none;
}

.custom-file-upload {
  color: #706e15;
}

.custom-file-upload-initial {
  background: #fff9ad;
  border: solid 1px #ddd;
}

.custom-file-upload-loaded {
  background: #eeeeee; 
  border: solid 1px #ddd;
}

span#file-selected { /* nome del file caricato */
    display: inline-block;
}

button.uploadBtn {
  background: white;
  border: solid 4px #add8e6;
  color: #155970;
  display: block;
}

button.uploadBtn, .custom-file-upload {
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 32px;
  font-weight: bold;
  width: 200px;
  margin: 4px;
  text-align: center;
}

.realFolder {
    /* border-left: solid 2em #d6f67c; 
    border-radius: 6px;
    */
    padding: 4px;
    margin: 8px;
    display: inline-block;
    /* font-weight: bold; */
}

.upload-ok-info {
    font-size: 16px;
    font-weight: bold;
    color: green;
    padding: 4px;
    background: #dcf8dc;
    display: inline-block;
    margin: 4px;
    border-radius: 6px;
}

/*---------------- document-upload ------------------ */

div.document-upload {
  font-size: 16px;
  width: 100%;
  max-width: 900px;
}

.document-upload-row {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ccc;
}

.document-upload-row .document-upload-info {
  padding: 32px 8px;
  text-align: left;
  flex: 1 1 50%;
}

.document-upload-row .folder {
  padding: 32px 8px;
  text-align: left;
  flex: 1 1 50%;
}

.document-upload-row.even-row {
  background-color: #eeeeee; /* Zebra striping - classe applicata via JS globalmente */
}

.document-upload-row:hover {
  /* Highlight on hover */
  /* background-color: #f1f1f1; */
  /* background-color: rgb(247, 230, 84); */
  background-color: #ddd;
}

@media (max-width: 600px) {
  .document-upload-row .document-upload-info,
  .document-upload-row .folder {
    flex: 1 1 100%;
  }
}

.document-expired {
    background: pink;
    padding: 4px;
    margin-bottom: 4px;
    display: inline-block;
}

/* -------------------- Progress bar del riepilogo */

 /* multi step progress bar */

 .progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 400px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}
.progress-steps {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.progress-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  color: #999;
  font-size: 22px;
  font-weight: 500;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #e0e0e0;
  transition: all 200ms ease;
  transition-delay: 0s;
}

.progress-circle.progress-done {
  transition-delay: 100ms;
  background: rgb(189, 207, 255);
  border-color: #4070f4;
  color: #4070f4;
}

.progress-circle.progress-active {
  transition-delay: 100ms;
  border-color: #4070f4;
  color: #4070f4;
}

.progress-bar {
  position: absolute;
  height: 4px;
  width: 100%;
  /* background: #e0e0e0; */
  background: #4070f4;
  z-index: -1;
}

/*
.progress-indicator {
  position: absolute;
  height: 100%;
  width: 0%;
  background: #4070f4;
  transition: all 300ms ease;
}
*/

button.ConfirmActionBtn {
    width: 250px;
    margin: auto;
    margin-top: 16px;
    background-color: #4070f4;
    /* background-color: #5c59e7; */
    border-radius: 4px;
}

.version-number {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}

.link-riepilogo {
    display: inline-block;
    padding: 16px;
    background: rgb(33 184 33 / 70%);
    font-size: 28px;
    border-radius: 4px;
}
