/*form*/
.j-form-base-view form {
	padding-top: 15px;
}
[id^="_view_id_"] input[type="text"],
[id^="_view_id_"] input[type="password"],
[id^="_view_id_"] select,
[id^="_view_id_"] textarea {
	height: 40px;
}
[id^="_view_id_"] input:focus,
[id^="_view_id_"] input:focus-visible,
[id^="_view_id_"] textarea:focus,
[id^="_view_id_"] textarea:focus-visible {
    outline: none;
    box-shadow: none;
}
.bg-primary [id^="_view_id_"] input[type="text"],
.bg-primary [id^="_view_id_"] input[type="password"],
.bg-primary [id^="_view_id_"] select,
.bg-primary [id^="_view_id_"] textarea {
	color: #fff;
}
.j-field-textarea-readonly,
[id^="_view_id_"] input[type="text"],
[id^="_view_id_"] input[type="password"],
[id^="_view_id_"] select,
[id^="_view_id_"] textarea {
	line-height: 40px;
	padding: 0 20px;
}
[id^="_view_id_"] textarea[role="text"] {
	line-height: 18px;
	padding: 10px 20px 10px 20px;
}
[id^="_view_id_"] input[type="text"].j-field-phone-number {
	padding-left: 0;
}
.j-field-reset {
	right: 5px;
}
.j-field-combo-editable-reset svg,
.j-field-reset svg,
.j-field-combo-editable svg,
.j-field-combo-reset svg {
	margin-top: 7px;
}
.j-field label {
	left: 20px;
	bottom: 14px;
}
.bg-primary .j-field label {
	color: #fff;
}
.j-field-data-list-value {
	padding: 5px 15px;
	color: #000;
}
.j-field-data-list-value:hover,
.j-field-data-list-value.selected {
	color: #fff;
	background: #52726d;
}
.j-field-data-list-wrapper {
	border-radius: 10px;
}
[data-password-visibility] {
	right: 5px;
}
.j-field.j-field-image .j-field-light-label,
.j-field.j-field-file .j-field-light-label {
	transform: translateY(-8px);
	color: #8aa09d;
}
form .j-field-light-button {
	height: 30px;
	margin-bottom: 15px;
}

.j-table svg {
	width: 20px;
	height: 20px;
}
.form-cerca .j-field-light-button.j-button svg,
.j-button img,
.j-button:not(.j-form-group-expand-button) svg {
	width: 18px;
	height: 18px;
}

.j-button svg {
	fill: #b8bd3c;
}
.j-field-light-button label {
	left: auto;
	bottom: auto;
}

.j-field.j-field-expand label,
.j-field-textarea label {
	bottom: 80px;
}
.j-field.j-field-data-list-show label,
.j-field.j-field-fill label,
.j-field .j-field-elem-expand:focus ~ label,
.j-field.j-field-phone-country.j-field-focus label,
.j-field.j-field-phone-country.j-field-phone-list-show label,
.j-field .j-field-elem:focus ~ label {
	transform: translateY(-29px);
	left: 15px;
	width: auto;
	padding: 0 2px;
	text-transform: none;
	font-weight: bold;
}
.j-field.j-field-fill.j-field-textarea label,
.j-field.j-field-textarea .j-field-elem-expand:focus ~ label,
.j-field.j-field-textarea .j-field-elem:focus ~ label {
	transform: translateY(-28px);
}
.j-field.j-field-text-editor label {
	transform: none;
}
.j-field-text-editor-wrapper {
	margin-top: 0;
}
.j-field.j-field-fill label {
	color: #8aa09d;
}
.j-form-line {
	margin-bottom: 25px;
}
.bg-primary .j-field.j-field-data-list-show label,
.bg-primary .j-field .j-field-elem-expand:focus ~ label,
.bg-primary .j-field.j-field-phone-country.j-field-focus label,
.bg-primary .j-field.j-field-phone-country.j-field-phone-list-show label,
.bg-primary .j-field .j-field-elem:focus ~ label {
	color: var(--color-lightgray2);
	font-size: 12px;
}
.j-field.j-field-data-list-show label,
.j-field .j-field-elem-expand:focus ~ label,
.j-field.j-field-phone-country.j-field-focus label,
.j-field.j-field-phone-country.j-field-phone-list-show label,
.j-field .j-field-elem:focus ~ label {
	color: #000;
}
.j-field-text-editor .j-field-text-editor-toolbar,
.j-field-image-anteprima {
	background: #c5d0ce;
}
.j-field-text-editor .j-field-text-editor-content {
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}
.j-field-checkboxgroup-list {
	padding-bottom: 5px;
	padding-left: 0;
	padding-right: 5px;
}
.j-tab-header .j-bar-left {
	position: relative;
	height: auto;
}
.j-tab .j-tab-header {
	position: relative;
	margin-bottom: 25px;
}
.j-window-content form .j-tab-content .j-form-group-relation-wrapper .j-form-group:last-child,
.j-form-group-relation-wrapper .j-form-group:last-child,
.j-form-group-relation-border-content,
.j-form-group-border {
	border-color: #e2e7e7;
}
.j-field.j-field-expand label,
.j-field-textarea label {
	background: transparent;
}
.j-field-checkbox-view {
	border-radius: 5px;
	border-width: 1px;
}
.j-field-checkbox-view.checked {
	border: 1px solid #b8bd3c;
}
.j-field-checkbox-view.checked svg {
	fill: #b8bd3c;
	width: 18px;
	height: 18px;
}
.j-field-checkbox-view.checked svg {
	margin-top: -1px;
	margin-left: -1px;
}
.bg-primary .j-field.j-field-checkbox label {
	color: #fff;
}
.bg-primary .j-field.j-field-checkbox label a,
.bg-primary .j-field.j-field-flag .j-field-label a {
	color: #b6bd00;
	font-weight: bold;
}
.bg-primary .j-field:not(.j-field-checkbox):not(.j-field-checkboxgroup) .j-field-box {
	background: #52726d;
}
.j-field.j-field-focus .j-field-box {
	border-color: #b6bd00;
}
.j-field.j-field-data-list-show .j-field-elem {
	padding-left: 15px;
}
.j-field-checkbox-tree label,
.j-field-checkbox-tree .j-field-checkbox-view {
	margin-top: 0;
}
.bg-primary .j-field-box {
	border-color: #52726d;
}
.j-field-box {
	border-color: transparent;
	border-radius: 20px;
	border: 1px solid #e2e7e7;
}
.j-field.j-field-readonly .j-field-box {
	border-color: #e2e7e7;
	background: #e2e7e7;
}
.j-field.j-field-error .j-field-box,
.j-field.j-field-focus.j-field-error .j-field-box,
.j-field.j-field-fill.j-field-error .j-field-box {
	border-color: #da0000;
}
/* File e immagine non hanno j-field-box: in errore etichetta e riquadro in rosso. */
.j-field.j-field-error.j-field-file label.j-field-light-label,
.j-field.j-field-error.j-field-image label.j-field-light-label {
	color: #da0000;
}
.j-field.j-field-error.j-field-file .j-field-light-box,
.j-field.j-field-error.j-field-image .j-field-image-anteprima {
	outline: 1px solid #da0000;
	outline-offset: 3px;
	border-radius: 10px;
}
.j-field-image-delete-button .j-button:hover svg,
.j-field-image-crop-button .j-button:hover svg,
.j-field-image-edit-button .j-button:hover svg {
	fill: #b8bd3c;
}
.j-field-image-window-editor-zoom-add svg,
.j-field-image-window-editor-zoom-rem svg {
	fill: #b8bd3c;
}
.j-field-image-window-editor-zoom-cursor {
	border: 1px solid #b8bd3c;
}
.j-field-image-window-editor-zoom-line::after {
	background: #b8bd3c;
}
.j-field-checkbox-view {
	border: 1px solid #ccc;
	background: transparent;
	border-color: #b6bd00;
}
.j-field-checkbox-view.checked {
	border-width: 2px;
}
.j-field-checkbox-view.checked svg {
	fill: #fff;
	margin-top: 0;
	margin-left: 0;
	width: 14px;
	height: 14px;
}

.j-form-line-with-multiple-type .j-field.j-field-checkbox .j-field-box,
.j-form-line-with-multiple-type .j-field-star .j-field.j-field-checkbox .j-field-box {
	margin-top: 7px;
}
.j-field .j-field-label big,
.j-field label big {
	line-height: 18px;
}
.bg-primary .j-field .j-field-label big,
.bg-primary .j-field label big {
	color: #fff;
}

.j-form-error-text,
.j-field.j-field-error .j-field-label,
.j-field.j-field-error .j-field-elem-expand:focus ~ label,
.j-field.j-field-error .j-field-elem:focus ~ label,
.j-field.j-field-error .j-form-group-label,
.j-field.j-field-error label {
	color: #da0000;
}
.j-form-group-label {
	margin-bottom: 15px;
	color: #1f433c;
	font-size: 14px;
	margin-left: 10px;
	text-transform: none;
}
.j-form-group-border.j-form-group-border-evidenzia > .btn-elimina-group .j-button-icon svg {
	fill: #b8bd3c;
}
[data-password-visibility]:hover svg {
	fill: #b8bd3c;
}
.j-form-group-border {
	border: 1px solid #e2e7e7;
	border-radius: 20px;
}
.j-form-group-border.j-form-group-border-evidenzia {
	border: 1px solid #b8bd3c;
}
.j-field-error-text {
	left: 10px;
}
.j-field-error-text::before,
.j-field-error-text::after {
	border-bottom: 5px solid #da0000;
}
.j-field-error-text::before {
	border-bottom-color: #da0000;
}
.j-field-error-text {
	border: 1px solid #da0000;
	background: #da0000;
	border-radius: 5px;
}
.j-field-combo-arrow svg {
	margin-top: 6px;
}
.j-field.j-field-data-list-show .j-field-combo-arrow svg,
.j-field-combo-reset:hover svg,
.j-field-combo-arrow:hover svg,
.j-field-reset:hover svg,
.j-field-combo-editable-reset:hover svg,
.j-field-combo-editable:hover svg {
	fill: #b8bd3c;
}

.j-field-combo .j-field-button-exe:hover svg {
	fill: #b8bd3c;
}
.j-field-combo .j-field-button-exe:hover svg,
.j-field-button-exe.j-button:hover svg {
	fill: #b8bd3c;
}
.j-field-with-exe .j-field-combo-arrow {
	right: 25px;
}
.j-field-combo .j-field-button-exe {
	height: 30px;
	border-radius: 15px;
	overflow: hidden;
	right: 5px;
}
.j-field-combo .j-field-button-exe svg {
	fill: #65676b;
	margin-top: 6px;
}
.j-field.j-field-flag label {
	color: #000;
}
/* Sui form a sfondo scuro (bg-primary) le etichette delle opzioni Si/No del
   campo flag e il titolo dei gruppi checkbox restano leggibili in bianco. */
.bg-primary .j-field.j-field-flag label,
.bg-primary .j-field-flag-checkbox-list .j-field-checkbox label,
.bg-primary .j-field-label.j-field-label-checkboxgroup {
	color: #fff;
}
.j-field-light-button label {
	color: #b8bd3c;
}

.j-field-light-button:hover label {
	color: #b8bd3c;
}
.j-form-group-relation-wrapper-button:hover svg,
.j-field-dynamic-delete:hover svg {
	border-color: #b8bd3c;
}
.j-field-file-anteprima strong:hover {
	color: #b8bd3c;
}
.j-field-file-anteprima strong:hover svg {
	fill: #b8bd3c;
}
.j-field-file-anteprima .j-button svg:hover {
	fill: #b8bd3c;
}
.j-field-exe:hover svg {
	fill: #b8bd3c;
}
.j-field-file-anteprima .j-button svg,
.j-field-exe svg{
	fill: #474747;
}
.j-field.j-field-fixedtext.j-field-fixedtext-collapse-button .j-field-fixedtext-inner{
	background: #e2e8e7;
	color: #b8bd3c;
}
.j-field.j-field-fixedtext.j-field-fixedtext-collapse-button .j-field-fixedtext-inner svg {
	fill: #b8bd3c;
}
.j-field-text-editor-button.j-button-is-icon.j-button-active .j-button-icon svg,
.j-field-text-editor-button.j-button-is-icon:hover .j-button-icon svg {
	fill: #b8bd3c;
}
.j-field-text-editor-expand-overlay {
	background: #e2e8e7;
}
.datepicker td.day.disabled {
	color:#e2e8e7;
}
.datepicker td.old, .datepicker td.new {
	color:#919191;
}
.datepicker td.active, .datepicker td.active:hover {
	background-color:#b8bd3c;
}
.datepicker td span:hover {
	background:#e2e8e7;
}
.datepicker td span.active {
	background-color: #da0000;
}
#ui-timepicker-div .ui-state-hover.ui-state-active,
#ui-timepicker-div .ui-state-active {
	background: #b8bd3c;
}
#ui-timepicker-div .ui-state-hover {
	background: #e2e8e7;
}
/*form*/

.j-tab-footer-next.j-button.j-button-is-label label,
.j-tab-footer-prev.j-button.j-button-is-label label,
.j-tab-footer-complete.j-button.j-button-is-label label,
.j-form-custom .j-field-file .j-field-light-button.j-button.j-button-is-label label,
.btn-submit.j-button.j-button-is-label label {
	justify-content: center;
	font-size: 15px;
	font-weight: bold;
}
.j-tab-footer-next .j-button-label,
.j-tab-footer-prev .j-button-label,
.j-tab-footer-complete .j-button-label,
.j-form-custom .j-field-file .j-field-light-button .j-button-label,
.btn-submit .j-button-label {
	height: 40px;
	line-height: 40px;
}

.j-tab-footer-next,
.j-tab-footer-prev,
.j-tab-footer-complete,
.j-form-custom .j-field-file .j-field-light-button,
.btn-submit {
	color: #fff;
	width: 150px;
	border-radius: 22px;
	position: relative;
	overflow: hidden;
	border: 1px solid #b6bd00;
}


.j-button.j-tab-footer-next label,
.j-button.j-tab-footer-prev label,
.j-button.j-tab-footer-complete label,
.j-form-custom .j-field-file .j-button.j-field-light-button label,
.j-button.btn-submit label {
	color: #b6bd00;
}
.j-button.j-tab-footer-next:hover label,
.j-button.j-tab-footer-prev:hover label,
.j-button.j-tab-footer-complete:hover label,
.j-form-custom .j-field-file .j-button.j-field-light-button:hover label,
.j-button.btn-submit:hover label {
	color: #0c443c;
	z-index: 1;
}
.bg-primary .j-button.j-tab-footer-next label,
.bg-primary .j-button.j-tab-footer-prev label,
.bg-primary .j-button.j-tab-footer-complete label,
.bg-primary .j-form-custom .j-field-file .j-button.j-field-light-button label,
.bg-primary .j-button.btn-submit label {
	color: #fff;
}

.j-button.j-tab-footer-next,
.j-button.j-tab-footer-prev,
.j-button.j-tab-footer-complete,
.j-form-custom .j-field-file .j-button.j-field-light-button,
.j-button.btn-submit {
	--tw-ease: var(--ease-custom);
    transition-timing-function: var(--ease-custom);
	--tw-duration: .3s;
    transition-duration: .3s;
	transition-property: all;
	overflow: hidden;
}
.j-button.j-tab-footer-next:hover::before,
.j-button.j-tab-footer-prev:hover::before,
.j-button.j-tab-footer-complete:hover::before,
.j-form-custom .j-field-file .j-button.j-field-light-button:hover::before,
.j-button.btn-submit:hover::before {
	content: var(--tw-content);
	--tw-translate-x: calc(var(--spacing) * 0);
	translate: var(--tw-translate-x) var(--tw-translate-y);
}
.j-button.j-tab-footer-next::before,
.j-button.j-tab-footer-prev::before,
.j-button.j-tab-footer-complete::before,
.j-form-custom .j-field-file .j-button.j-field-light-button::before,
.j-button.btn-submit::before {
	content: var(--tw-content);
    --tw-ease: var(--ease-custom);
    transition-timing-function: var(--ease-custom);
	--tw-duration: .3s;
    transition-duration: .3s;
	transition-property: transform, translate, scale, rotate;
	background-color: var(--color-secondary);
	--tw-translate-x: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
	z-index: 0;
	top: calc(var(--spacing) * 0);
	inset: calc(var(--spacing) * 0);
	position: absolute;
	box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
}

.j-tab-footer {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
    align-items: center;
}

.j-tab-footer .j-tab-footer-prev {
    grid-column: 1;
}

.j-tab-footer .j-tab-footer-next {
    grid-column: 3;
}

.j-tab-footer .j-tab-footer-complete {
    grid-column: 4;
}

.j-tab-header .j-bar-left {
    display: flex;
    align-items: center;
    width: 100%;
}

.j-tab-header .j-bar-left .j-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* linea tra gli step */
.j-tab-header .j-bar-left .j-button:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    z-index: 0;
}

.bg-primary .j-tab-header .j-bar-left .j-button:not(:last-child)::after {
    background: #fff;
}

/* nascondo parti non utili */
.j-tab-header .j-bar-left .j-button-icon,
.j-tab-header .j-bar-left .j-button-arrow,
.j-tab-header .j-bar-left .j-button-number {
    display: none;
}

/* cerchio */
.j-tab-header .j-bar-left .j-button.j-button-is-label:not(.j-button-is-icon) .j-button-label,
.j-tab-header .j-bar-left .j-button.j-button-label {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-secondary);
}

.j-tab-header .j-bar-left .j-button-label label {
    font-size: 14px;
    font-weight: bold;
	color: #fff;
	padding: 0;
	text-align: center;
}

/* step attivo */
.j-tab-header .j-bar-left .j-button-active .j-button-label {
    background: var(--color-primary);
    color: #fff;
}

/* step con campi in errore (classe j-tab-error messa da J sul bottone del tab, tenuta
   finche' nel tab resta un campo in errore: vedi assets/js/j-custom.js): cerchio rosso
   e richiamo "Da correggere" con la freccia sotto il cerchio. L'intestazione si allarga
   in basso per fare posto al richiamo. */
.j-tab-header .j-bar-left .j-button.j-tab-error.j-button-is-label:not(.j-button-is-icon) .j-button-label,
.j-tab-header .j-bar-left .j-button.j-tab-error.j-button-label {
    background: #da0000;
}
.j-tab-header .j-bar-left .j-button.j-tab-error .j-button-label label {
    color: #fff;
}
.j-tab-header .j-bar-left .j-button.j-tab-error .j-button-label::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin: 3px 0 0 -6px;
    border: 6px solid transparent;
    border-top: 0;
    border-bottom-color: #da0000;
}
.j-tab-header .j-bar-left .j-button.j-tab-error .j-button-label::after {
    content: "Da correggere";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 9px;
    padding: 0 8px;
    border-radius: 10px;
    background: #da0000;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 18px;
    white-space: nowrap;
}
.j-tab .j-tab-header:has(.j-tab-error),
.j-tab .j-tab-header:has(.j-tab-error) .j-bar-left {
    /* l'intestazione di J e' alta 40px con overflow nascosto: il richiamo sta sotto */
    height: auto;
    overflow: visible;
}
/* step non ancora visitato (opaco) ma con errori: resta ben visibile */
.j-tab-header .j-bar-left .j-button.j-button-disabled.j-tab-error {
    opacity: 1;
}
.j-tab .j-tab-header:has(.j-tab-error) {
    margin-bottom: 56px;
}


.j-form-line-align-right {
	justify-content: right;
}

.link {
	--tw-ease: var(--ease-custom);
    transition-timing-function: var(--ease-custom);
	--tw-duration: .3s;
    transition-duration: .3s;
}
.link:hover {
	color: var(--color-secondary);
}

.j-pos,
.j-content {
	position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
}


.j-tab-header .j-button.j-button-is-label label {
	justify-content: center;
}

.j-tab-header .j-bar-left .j-button:only-child {
    display: none;
}
/* Form custom del sito web (contenitore .j-form-custom, vedi assets/web/js/script.js):
   bottoni con icona a larghezza fissa e label allineata a sinistra senza padding. */
.j-form-custom .j-button .j-button-icon {
	width: 44px;
	min-width: 44px;
	max-width: 44px;
	flex: 0 0 44px;
}
.j-form-custom .j-button.j-button-is-label label,
.j-form-custom .j-button label {
	padding-left: 0;
	text-align: left;
	justify-content: flex-start;
}
/* ...ma non i numeri degli step (intestazione a "pallini" del form a piu' tab): la
   regola sopra li spingeva a sinistra nel cerchio. */
.j-form-custom .j-tab-header .j-bar-left .j-button-label label,
.j-form-custom .j-tab-header .j-bar-left .j-button.j-button-is-label label {
	padding: 0;
	text-align: center;
	justify-content: center;
}
/* La linea tra gli step parte dal bordo del cerchio e finisce al bordo del successivo
   (cerchio da 32px), cosi' non passa mai sopra i pallini. */
.j-tab-header .j-bar-left .j-button:not(:last-child)::after {
	left: calc(50% + 16px);
	width: calc(100% - 32px);
}
/* Pulsanti "Scarica il documento" / "Prosegui" a fine compilazione (script.js,
   bloccoDocumentoForm): stile pill dei pulsanti del form ma larghi quanto l'etichetta. */
.j-button.btn-submit.form-documento-link,
.j-button.btn-submit.form-documento-prosegui {
	display: inline-flex;
	width: auto;
	min-width: 150px;
	height: 40px;
	padding-right: 20px;
}
.j-button.btn-submit.form-documento-link label,
.j-button.btn-submit.form-documento-prosegui label {
	white-space: nowrap;
}

/* Form custom del sito web: label a riposo centrata nell'input da 40px (bottom 10px
   invece di 14px) e traslazione della label flottante aumentata di 4px cosi' resta
   nello stesso punto. Restano esclusi (valgono le regole sopra) i campi con label
   propria: textarea/expand (bottom 80px), pulsanti, text editor, checkbox e light
   label. I :not() contano nella specificita': per questo le esclusioni stanno
   nella regola e non in override successivi. */
.j-form-custom .j-field:not(.j-field-textarea):not(.j-field-expand):not(.j-field-light-button):not(.j-field-text-editor) label:not(.j-field-light-label):not(.j-field-checkbox label):not(.j-field-light-button label) {
	bottom: 10px;
}
.j-form-custom .j-field.j-field-data-list-show:not(.j-field-text-editor) label:not(.j-field-light-label):not(.j-field-checkbox label):not(.j-field-light-button label),
.j-form-custom .j-field.j-field-fill:not(.j-field-text-editor) label:not(.j-field-light-label):not(.j-field-checkbox label):not(.j-field-light-button label),
.j-form-custom .j-field .j-field-elem-expand:focus ~ label,
.j-form-custom .j-field.j-field-phone-country.j-field-focus label,
.j-form-custom .j-field.j-field-phone-country.j-field-phone-list-show label,
.j-form-custom .j-field .j-field-elem:focus ~ label,
.j-form-custom .j-field.j-field-fill.j-field-textarea label,
.j-form-custom .j-field.j-field-textarea .j-field-elem-expand:focus ~ label,
.j-form-custom .j-field.j-field-textarea .j-field-elem:focus ~ label {
	transform: translateY(-33px);
}

/* Form custom del sito web: azioni del combo (freccia, reset, modifica) e reset del
   campo senza sfondo e alte quanto l'input (40px), icona centrata; sui form scuri
   (bg-primary) l'icona e' bianca, con l'accento verde su hover e a lista aperta. */
.j-form-custom .j-field-combo-action,
.j-form-custom .j-field-reset {
	background: transparent;
	height: 40px;
}
.j-form-custom .j-field-combo-arrow svg {
	margin-top: 10px;
}
.j-form-custom .j-field-combo-reset svg,
.j-form-custom .j-field-combo-editable-reset svg,
.j-form-custom .j-field-combo-editable svg,
.j-form-custom .j-field-reset svg {
	margin-top: 12px;
}
.bg-primary .j-form-custom .j-field-combo-action svg,
.bg-primary .j-form-custom .j-field-reset svg {
	fill: #fff;
}
.bg-primary .j-form-custom .j-field.j-field-data-list-show .j-field-combo-arrow svg,
.bg-primary .j-form-custom .j-field-combo-action:hover svg,
.bg-primary .j-form-custom .j-field-reset:hover svg {
	fill: #b8bd3c;
}

/* Form custom del sito web: nelle checkbox annidate (Si/No del flag) il contenitore
   e' flex ma senza centratura verticale, cosi' la label da 25px parte dal bordo alto
   del riquadro da 18px e il testo cade piu' in basso: si centra come nelle checkbox
   singole. */
.j-form-custom .j-field .j-field-checkbox {
	align-items: center;
}

/* Form custom del sito web: il Si/No (flag) obbligatorio senza scelta mostra il
   tooltip "Campo obbligatorio" sotto le opzioni (J di suo lo tiene nascosto e
   colora solo l'etichetta, che qui puo' restare coperta dal tooltip del campo
   precedente). */
.j-form-custom .j-field.j-field-flag.j-field-error > .j-field-error-text {
	display: block;
	top: 100%;
	margin-top: 4px;
}

/* Form custom del sito web, campo file: etichetta su una riga propria (J la mette
   in assoluto sopra un pulsante da 24px e qui si sovrapponeva) e pulsante
   "Seleziona il file" con lo stile pill degli altri pulsanti (regole condivise
   sopra con .btn-submit), largo quanto serve. */
.j-form-custom .j-field.j-field-file .j-field-light-label {
	display: block;
	position: relative;
	transform: none;
	left: auto;
	text-transform: none;
	font-size: 15px;
	color: #000;
	margin-bottom: 8px;
}
.bg-primary .j-form-custom .j-field.j-field-file .j-field-light-label {
	color: #fff;
}
.j-form-custom .j-field.j-field-file label.j-field-light-label big {
	font-size: inherit;
}
.j-form-custom .j-field-file .j-field-file-button .j-field-light-button {
	display: inline-flex;
	width: auto;
	height: 40px;
	margin: 0;
	padding-right: 20px;
}
.j-form-custom .j-field-file .j-field-light-button label {
	height: 40px;
}
.j-form-custom .j-field-file .j-field-file-anteprima {
	margin-bottom: 8px;
}
.bg-primary .j-form-custom .j-field-file-anteprima strong svg,
.bg-primary .j-form-custom .j-field-file-anteprima .j-button svg {
	fill: #fff;
}
.bg-primary .j-form-custom .j-field-file-anteprima strong:hover svg,
.bg-primary .j-form-custom .j-field-file-anteprima .j-button:hover svg {
	fill: #b8bd3c;
}

/* Menu a tendina dei pulsanti J (es. "Carica da app" / "Carica dal computer" del campo
   file): J lo fa largo 150px con voci da 30px, qui il testo andava a capo e si tagliava.
   Il menu sta nel body, fuori dal form: vale per web e my/app (myhub ha il suo CSS). */
.j-menu.j-list-button {
	width: auto;
	min-width: 230px;
	min-height: 0;
	padding: 6px 0;
	border-radius: 10px;
	border-color: #e2e7e7;
}
.j-menu.j-list-button .j-button {
	height: 38px;
	padding: 0 12px 0 6px;
	cursor: pointer;
}
.j-menu.j-list-button .j-button:hover {
	background: #e2e8e7;
}
.j-menu.j-list-button .j-button label {
	white-space: nowrap;
	font-size: 14px;
	line-height: 38px;
	color: #0c443c;
	cursor: pointer;
}
.j-menu.j-list-button .j-button svg {
	fill: #b8bd3c;
}

/* Form custom del sito web: pannello "Carica da app" (modulo Scan, flusso-runner.css)
   dentro il campo file. Il pannello e' chiaro: il testo non deve ereditare il bianco
   dei form scuri e il bottone "Apri lo scanner" puo' andare su due righe. */
.j-form-custom .flusso-scan-campo {
	margin: 10px 0 0;
	color: #1f433c;
}
.j-form-custom .flusso-scan-campo .flusso-scan-titolo {
	color: #1f433c;
}
.j-form-custom .flusso-scan-campo .flusso-bottone {
	height: auto;
	min-height: 40px;
	padding: 8px 18px;
	line-height: 1.3;
	white-space: normal;
}
.j-form-custom .flusso-scan-campo .flusso-scan-tipo {
	color: #1f433c;
	background: #fff;
}
