/*
 * Ambassador - stile comune delle pagine "a schede" (sellout, clienti, ...).
 * Caricato da skeleton.jsp dopo style.css / style_Damiani.css e prima del CSS di marchio,
 * che puo' quindi personalizzarlo.
 *
 * Struttura tipo:
 *   <div class="amb-page">
 *     <p class="amb-intro">...</p>
 *     <div class="amb-message">...</div>                         messaggio / avviso
 *     <div class="amb-section">1. Titolo <small>nota</small></div> barra di sezione
 *     <div class="amb-card">                                       contenuto della sezione
 *       <div class="row">
 *         <div class="col-xs-12 col-sm-6 amb-field">
 *           <div class="amb-label">Etichetta</div>
 *           <div class="amb-value">Valore o campo</div>
 *         </div>
 *       </div>
 *     </div>
 *     <div class="amb-actions">pulsanti</div>
 *   </div>
 */

/* Il tema centra il testo del contenuto: le schede sono allineate a sinistra */
.amb-page,
.amb-card,
.amb-message {
	text-align: left;
}

/* Titolo e descrizione della pagina restano centrati come nel resto del tema */
.amb-page .news-top,
.amb-page .amb-intro {
	text-align: center;
}

.amb-intro {
	color: #666;
	margin: 5px 0 0;
}

/* Barra di sezione: titolo centrato */
.amb-section {
	text-align: center;
	background: #ebebeb;
	padding: 7px 20px;
	margin: 8px 0 6px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #222;
}
.amb-section small {
	text-transform: none;
	letter-spacing: 0.5px;
	color: #555;
	margin-left: 8px;
}

/* Scheda */
.amb-card {
	border: 1px solid #e6e6e6;
	background: #fff;
	padding: 20px;
	margin-bottom: 15px;
}
.amb-card:after {
	content: "";
	display: table;
	clear: both;
}

/* Scheda prodotto: colonna sinistra con titolo e immagine, destra con i dettagli */
.amb-product {
	padding-right: 20px;
}
/* Titolo sopra l'immagine, centrato come l'immagine */
.amb-product .amb-title,
.amb-product .amb-subtitle {
	text-align: center;
}
.amb-title {
	font-weight: bold;
	font-size: 20px;
	color: #111;
	margin: 0 0 4px;
	line-height: 1.3;
}
/* Collezione in evidenza, descrizione con lo stesso carattere dei valori */
.amb-title-prefix {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 19px;
	font-weight: bold;
	color: #111;
}
.amb-title-desc {
	font-size: 15px;
	font-weight: 500;
	color: #111;
}
.amb-subtitle {
	font-size: 16px;
	letter-spacing: 1px;
	color: #555;
	text-transform: uppercase;
	margin: 0 0 15px;
}
.amb-details {
	border-left: 1px solid #e6e6e6;
	padding-left: 25px;
}

/* Colonna allineata ai dettagli della scheda prodotto (stessa rientranza di .amb-details) */
@media screen and (min-width: 992px) {
	.amb-align-details {
		padding-left: 40px;
	}
}

/* Immagine prodotto (usare <a class="mask"><img class="zoom-img"></a>): al tocco o clic si apre la lightbox (js/amb-lightbox.js) */
.amb-image {
	text-align: center;
	margin-top: 10px;
}
.amb-image img {
	max-height: 380px;
	max-width: 100%;
	width: auto;
	margin: 0 auto;
}
.amb-image a.mask {
	overflow: visible;
}

/* Campo etichetta / valore */
.amb-field {
	margin-bottom: 18px;
	min-height: 44px;
}
/* Etichetta discreta, valore in evidenza */
/* Scheda compatta per i criteri di ricerca: campi piu' ravvicinati */
.amb-card.amb-compact {
	padding: 12px 20px 4px;
}
.amb-card.amb-compact .amb-field {
	margin-bottom: 8px;
	min-height: 0;
}
.amb-card.amb-compact .amb-label {
	margin-bottom: 3px;
}

/* Contrasto etichetta / valore: etichetta grigio medio non in grassetto, valore nero semi-grassetto */
.amb-label {
	font-weight: normal;
	color: #666;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.amb-label .amb-req {
	color: #c0392b;
	margin-left: 2px;
}
.amb-value {
	color: #000;
	font-size: 15px;
	font-weight: 600;
	word-wrap: break-word;
}
.amb-value .form-control,
.amb-value input.amb-date {
	font-weight: normal;
	font-size: 15px;
	color: #111;
}
.amb-value .form-control {
	max-width: 100%;
}
.amb-value .amb-short {
	max-width: 140px;
}
.amb-value .amb-wide {
	width: 100%;
	max-width: 100%;
}
.amb-value input.amb-date {
	width: 110px;
	text-align: right;
	margin-right: 6px;
}
.amb-value textarea.form-control {
	resize: vertical;
}
.amb-help {
	display: block;
	color: #777;
	font-size: 13px;
	font-weight: normal;
	margin-top: 4px;
}
.amb-check {
	display: inline-block;
	font-weight: normal;
	font-size: 16px;
	color: #222;
	margin: 0 20px 6px 0;
	cursor: pointer;
}
.amb-check input {
	margin-right: 5px;
}

/* Pulsanti */
.amb-actions {
	text-align: center;
	margin: 5px 0 20px;
}
.amb-actions .btn {
	min-width: 150px;
	margin: 0 5px 8px;
}
.amb-actions-left {
	text-align: left;
}
.amb-actions-left .btn {
	margin-left: 0;
}

/* Messaggi: errore (default), conferma, informazione */
.amb-message {
	border: 1px solid #e6e6e6;
	border-left: 4px solid #c0392b;
	background: #f7f7f7;
	padding: 14px 20px;
	margin: 10px 0;
	font-size: 15px;
	color: #c0392b;
}
/* Conferme e informazioni nei colori del sito (nero/grigio): solo gli errori sono in rosso */
.amb-message.amb-ok {
	border-left-color: #222;
	color: #222;
	font-weight: 500;
}
.amb-message.amb-info {
	border-left-color: #555;
	color: #333;
}

/* Colonna centrata nelle tabelle DataTables (intestazione e celle), es. colonna Azioni */
table.dataTable th.amb-col-center,
table.dataTable td.amb-col-center {
	text-align: center !important;
}
/* Distanza dalle colonne vicine (le celle DataTables del tema hanno padding 1px) */
table.dataTable thead th.amb-col-center,
table.dataTable tbody td.amb-col-center {
	padding-left: 18px !important;
	padding-right: 8px !important;
	white-space: nowrap;
}

/* Tabelle DataTables dentro una scheda */
.amb-card table.dataTable {
	margin-top: 5px !important;
}

/* Inserimento codice sellout: campo grande centrato, scanner accanto, tastierino sotto */
.amb-code-card {
	text-align: center;
}
.amb-code-row {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 520px;
	margin: 5px auto 0;
}
.amb-code-row .amb-code-input {
	flex: 1 1 auto;
	height: 54px;
	font-size: 24px;
	letter-spacing: 1px;
	text-align: center;
	color: #111;
	border: 1px solid #bbb;
	border-radius: 0;
}
.amb-code-row .amb-code-input:focus {
	border-color: #222;
	box-shadow: none;
}
.amb-code-scan {
	flex: 0 0 auto;
	height: 54px;
	margin-left: 10px;
	padding: 0 8px;
	background: #fff;
	border: 1px solid #bbb;
	cursor: pointer;
}
.amb-code-scan:hover {
	border-color: #222;
}
.amb-code-scan img {
	height: 44px;
}
.amb-code-help {
	text-align: center;
	margin-top: 8px;
}
.amb-code-keypad {
	margin-top: 10px;
}
.amb-code-keypad #keypad {
	display: inline-block;
	max-width: 300px;
}

/* Scheda prodotto Diogene / info prodotto (selectProductDiogene.jsp): etichetta e valore sulla stessa riga */
.amb-sheet .amb-sheet-card {
	padding-top: 15px;
}
.amb-sheet .amb-sheet-card p {
	line-height: 1.4;
	margin: 0 0 6px;
}
.amb-sheet .amb-sheet-card .labelmateriale {
	font-weight: normal;
	color: #666;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-right: 4px;
}
.amb-sheet .amb-sheet-card .infomateriale {
	color: #000;
	font-size: 15px;
	font-weight: 600;
	word-wrap: break-word;
}
.amb-sheet .amb-sheet-card .infomateriale select {
	margin-left: 0 !important;
	min-width: 70px;
	height: 30px;
	border: 1px solid #bbb;
	background: #fff;
}
.amb-sheet .amb-sheet-card img.zoom-img {
	max-height: 320px !important;
	max-width: 100%;
}
.amb-sheet .amb-sheet-card > .row:first-child > .col-xs-4:first-child {
	border-right: 1px solid #e6e6e6;
}
/* Pulsanti (Ritorna, Aggiungi al carrello, ...) centrati; le tabelle sotto restano allineate come prima */
.amb-sheet .no-print {
	text-align: center;
}
.amb-sheet .no-print .btn {
	margin: 5px 5px 10px;
}
.amb-sheet .no-print .dataTables_wrapper {
	text-align: left;
}
@media screen and (max-width: 992px) {
	.amb-sheet .amb-sheet-card > .row:first-child > .col-xs-4:first-child {
		border-right: 0;
	}
	.amb-sheet .amb-sheet-card p {
		line-height: 1.3;
		margin-bottom: 4px;
	}
}

/* Suggerimenti jQuery UI autocomplete (es. id number a stock in inserimento sellout) */
.ui-autocomplete {
	max-height: 480px;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 10000;
	text-align: left;
	font-size: 15px;
	border: 1px solid #e6e6e6;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.ui-autocomplete .ui-menu-item {
	padding: 4px 0;
}
.amb-suggest {
	display: flex;
	align-items: center;
	padding: 2px 6px;
}
.amb-suggest-img {
	flex: 0 0 110px;
	width: 110px;
	height: 110px;
	margin-right: 12px;
	background: #fff;
	border: 1px solid #eee;
	text-align: center;
}
.amb-suggest-img img {
	max-width: 108px;
	max-height: 108px;
}
.amb-suggest-text strong {
	display: block;
	font-size: 16px;
	color: #222;
}
.amb-suggest-text {
	white-space: normal;
	line-height: 1.35;
}
.amb-suggest-desc {
	display: block;
	color: #444;
	font-size: 14px;
	margin: 2px 0;
}
.amb-suggest-text small {
	display: block;
	color: #777;
	font-size: 13px;
}

@media screen and (max-width: 991px) {
	.amb-product {
		padding-right: 0;
	}
	.amb-details {
		border-left: 0;
		border-top: 1px solid #e6e6e6;
		padding-left: 15px;
		padding-top: 20px;
		margin-top: 10px;
	}
	.amb-image img {
		max-height: 320px;
	}
}
@media screen and (max-width: 667px) {
	.amb-card {
		padding: 15px 10px;
	}
	.amb-section {
		padding: 6px 15px;
	}
	.amb-actions .btn {
		min-width: 0;
		width: 100%;
		margin: 0 0 8px;
	}
}

/* Home customer service (customerServiceHomepage.jsp): ricerca clienti e azioni rapide */
.amb-cs-home .news-top h1 {
	margin-bottom: 10px;
}
.amb-cs-search input.form-control {
	height: 44px;
	font-size: 17px;
}
.amb-cs-checks .amb-check {
	font-size: 14px;
}
.amb-quick {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -6px;
}
.amb-quick .amb-quick-item {
	flex: 1 1 220px;
	display: flex;
	align-items: center;
	min-height: 72px;
	margin: 6px;
	padding: 14px 18px;
	border: 1px solid #e6e6e6;
	background: #f7f7f7;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-align: left;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s;
}
.amb-quick .amb-quick-item:hover,
.amb-quick .amb-quick-item:focus {
	background: #fff;
	border-color: #222;
	color: #000;
	text-decoration: none;
}
.amb-quick .amb-quick-item:focus {
	outline: 2px solid #222;
	outline-offset: 2px;
}
.amb-quick .amb-quick-item .fa {
	font-size: 22px;
	width: 30px;
	margin-right: 12px;
	text-align: center;
	color: #555;
}
.amb-quick .amb-quick-item span {
	flex: 1 1 auto;
}
.amb-quick .amb-quick-item .amb-quick-ext {
	font-size: 13px;
	width: auto;
	margin: 0 0 0 10px;
	color: #999;
}
@media (prefers-reduced-motion: reduce) {
	.amb-quick .amb-quick-item {
		transition: none;
	}
}

/* Documentazione rivenditori (resellerDocumentation.jsp): cartelle e documenti */
/* Percorso delle cartelle (sotto la ricerca, stessa larghezza): sezione > cartelle superiori (link) > cartella corrente */
.amb-docs-path {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px;
	max-width: 560px;
	margin: -6px auto 20px;
	padding: 8px 14px;
	background: #F6F4F0;
	border: 1px solid #E6E1D8;
	border-radius: 6px;
	color: #555;
	font-size: 15px;
	line-height: 1.4;
}
.amb-docs-path .fa {
	margin-right: 5px;
	color: #9A9081;
}
.amb-docs-path a {
	color: #555;
	text-decoration: none;
	padding: 3px 6px;
	border-radius: 4px;
	transition: background-color .15s ease, color .15s ease;
}
.amb-docs-path a:hover,
.amb-docs-path a:focus {
	background: #ECE7DE;
	color: #111;
	text-decoration: none;
}
.amb-docs-path-sep {
	color: #B8B0A2;
	font-size: 16px;
}
.amb-docs-path-current {
	color: #111;
	font-weight: 700;
	padding: 3px 6px;
	overflow-wrap: anywhere;
}
.amb-docs-path-current .fa {
	color: #111;
}
/* Nomi lunghi delle cartelle superiori accorciati (nome intero nel title) */
.amb-docs-path a {
	display: inline-block;
	max-width: 170px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
}
/* Oltre 4 livelli: i centrali dietro "..." finche' non si clicca */
.amb-docs-path-moreitem {
	display: none;
}
.amb-docs-path-collapsed .amb-docs-path-moreitem {
	display: inline-block;
}
.amb-docs-path-collapsed .amb-docs-path-mid {
	display: none;
}
.amb-docs-path-more {
	border: 0;
	background: #ECE7DE;
	color: #555;
	font-weight: 700;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 4px;
	cursor: pointer;
}
.amb-docs-path-more:hover,
.amb-docs-path-more:focus {
	background: #E0D9CC;
	color: #111;
}
@media (max-width: 768px) {
	.amb-docs-path {
		font-size: 14px;
		padding: 6px 8px;
	}
}
.amb-docs-folders {
	margin-bottom: 20px;
}
.amb-docs-folders form {
	display: flex;
	flex: 1 1 260px;
	min-width: 0;
	max-width: 100%;
	margin: 6px;
}
.amb-docs-folders .amb-quick-item {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	margin: 0;
	cursor: pointer;
}
.amb-docs-folders .amb-quick-item span {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.amb-docs-folders .amb-quick-item .fa-folder {
	color: #b08d3c;
}
.amb-docs-folders .amb-docs-back {
	flex: 0 1 200px;
}
.amb-docs-folders .amb-docs-back .amb-quick-item {
	background: #fff;
}
.amb-docs-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}
.amb-doc {
	display: flex;
	flex-direction: column;
	margin: 0;
	border: 1px solid #e6e6e6;
	background: #fff;
	text-align: left;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.amb-doc:hover {
	border-color: #bbb;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.amb-doc-preview {
	height: 260px;
	background: #f2f2f2;
	border-bottom: 1px solid #e6e6e6;
	overflow: hidden;
}
/* segnaposto dell'anteprima finche' non arriva a schermo (docsFilter.jspf) */
.amb-doc-lazy {
	height: 100%;
}
.amb-doc-preview iframe,
.amb-doc-preview object {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.amb-doc-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #bbb;
	font-size: 72px;
}
.amb-doc-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px 18px 18px;
}
.amb-doc-title {
	margin: 0 0 8px;
	color: #222;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
.amb-doc-desc {
	flex: 1 1 auto;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.amb-doc-desc p:last-child {
	margin-bottom: 0;
}
.amb-doc-actions {
	margin-top: 16px;
}
.amb-doc-actions .btn {
	width: 100%;
	margin: 0;
}
@media (max-width: 480px) {
	.amb-docs-list {
		grid-template-columns: 1fr;
	}
	.amb-doc-preview {
		height: 200px;
	}
	.amb-docs-folders .amb-docs-back {
		flex-basis: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.amb-doc {
		transition: none;
	}
}
.amb-docs-search {
	position: relative;
	max-width: 560px;
	margin: 14px auto 20px;
}
.amb-docs-search .fa-search {
	position: absolute;
	top: 50%;
	left: 15px;
	transform: translateY(-50%);
	color: #999;
	pointer-events: none;
}
.amb-docs-search input.form-control {
	height: 44px;
	padding-left: 40px;
	padding-right: 40px;
	font-size: 16px;
}
.amb-docs-search input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}
.amb-docs-search-clear {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #777;
	font-size: 22px;
	line-height: 32px;
	cursor: pointer;
}
.amb-docs-search-clear:hover,
.amb-docs-search-clear:focus {
	color: #000;
}
.amb-docs [hidden] {
	display: none !important;
}
.amb-docs-empty {
	margin-bottom: 30px;
}

/* Risultati della ricerca in tutta la sezione (docsFilter.jspf): titolo, percorso e data */
.amb-docs-results {
	max-width: 900px;
	margin: 0 auto 30px;
	text-align: left;
	transition: opacity .15s ease;
}
.amb-docs-results-loading {
	opacity: .55;
}
.amb-docs-results-head {
	margin: 0 0 10px;
	color: #555;
	font-size: 15px;
	font-weight: 700;
}
.amb-docs-results-more {
	display: block;
	margin-top: 2px;
	color: #777;
	font-size: 14px;
	font-weight: 400;
}
.amb-docs-results-error {
	color: #a94442;
	font-weight: 400;
}
.amb-docs-results-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.amb-docs-result {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 10px;
	padding: 14px 16px;
	border: 1px solid #e6e6e6;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.amb-docs-result:hover,
.amb-docs-result:focus {
	border-color: #bbb;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
	outline: none;
}
.amb-docs-result-icon {
	flex: 0 0 auto;
	color: #9A9081;
	font-size: 24px;
}
.amb-docs-result-body {
	flex: 1 1 auto;
	min-width: 0;
}
.amb-docs-result-title {
	color: #222;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.amb-docs-result-path {
	margin-top: 4px;
	color: #777;
	font-size: 13px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
.amb-docs-result-path .fa {
	margin: 0 4px 0 0;
	color: #B8B0A2;
}
.amb-docs-result-path .amb-docs-path-sep {
	margin: 0 6px;
	font-size: 14px;
}
.amb-docs-result-date {
	flex: 0 0 auto;
	color: #777;
	font-size: 13px;
	white-space: nowrap;
}
.amb-docs-result .amb-docs-result-open {
	flex: 0 0 auto;
	margin: 0;
}
@media (max-width: 600px) {
	.amb-docs-result {
		flex-wrap: wrap;
	}
	.amb-docs-result-body {
		flex-basis: calc(100% - 40px);
	}
	.amb-docs-result .amb-docs-result-open {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.amb-docs-results,
	.amb-docs-result {
		transition: none;
	}
}
/* Percorso nei risultati: apre la cartella del documento */
a.amb-docs-result-folder,
a.amb-docs-result-folder:hover,
a.amb-docs-result-folder:focus {
	display: inline-block;
	color: inherit;
	text-decoration: none;
}
a.amb-docs-result-folder:hover .amb-docs-result-path,
a.amb-docs-result-folder:focus .amb-docs-result-path {
	color: #111;
	text-decoration: underline;
}
/* Tendina dei suggerimenti della ricerca documenti */
.amb-suggest-doc {
	padding: 6px 10px;
}
.amb-suggest-doc .amb-suggest-icon {
	flex: 0 0 24px;
	margin-right: 10px;
	color: #9A9081;
	font-size: 18px;
	text-align: center;
}
.amb-suggest-doc .amb-suggest-text strong {
	font-size: 15px;
	font-weight: 600;
}
.amb-suggest-doc .amb-docs-result-path {
	display: block;
	margin-top: 2px;
}
.amb-suggest-all {
	color: #555;
	font-weight: 700;
	border-top: 1px solid #eee;
}
.amb-suggest-all .fa {
	flex: 0 0 24px;
	margin-right: 10px;
	text-align: center;
}
/* Documento scelto dalla ricerca: avviso sopra la cartella con "Mostra tutta la cartella" */
.amb-docs-focus {
	position: relative;
	z-index: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	max-width: 560px;
	margin: 0 auto 20px;
	padding: 10px 14px;
	background: #F6F4F0;
	border: 1px solid #E6E1D8;
	border-radius: 6px;
	color: #555;
	font-size: 15px;
}
.amb-docs-focus .fa {
	color: #9A9081;
}
.amb-docs-focus .btn {
	margin: 0;
}

/* Notifiche rivenditori (resellerNotification.jsp): elenco news con data */
.amb-news-list {
	max-width: 900px;
	margin: 10px auto 30px;
	padding: 0;
	list-style: none;
}
.amb-news {
	display: flex;
	align-items: flex-start;
	margin: 0 0 14px;
	padding: 18px 20px;
	border: 1px solid #e6e6e6;
	border-left: 4px solid #e6e6e6;
	background: #fff;
	text-align: left;
}
.amb-news.amb-news-new {
	border-left-color: #222;
}
.amb-news-date {
	flex: 0 0 72px;
	margin-right: 20px;
	padding: 8px 0;
	background: #f7f7f7;
	border: 1px solid #e6e6e6;
	color: #555;
	text-align: center;
	line-height: 1.2;
}
.amb-news-date .amb-news-day {
	display: block;
	color: #222;
	font-size: 26px;
	font-weight: 600;
}
.amb-news-date .amb-news-month {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.amb-news-date .amb-news-year {
	display: block;
	font-size: 12px;
	color: #888;
}
.amb-news-body {
	flex: 1 1 auto;
	min-width: 0;
}
.amb-news-title {
	margin: 2px 0 8px;
	color: #222;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}
.amb-news-badge {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	background: #222;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	vertical-align: middle;
}
.amb-news-text {
	color: #555;
	font-size: 14px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
.amb-news-text p:last-child {
	margin-bottom: 0;
}
.amb-news-text img {
	max-width: 100%;
	height: auto;
}
@media (max-width: 480px) {
	.amb-news {
		display: block;
		padding: 14px 16px;
	}
	.amb-news-date {
		display: inline-block;
		margin: 0 0 10px;
		padding: 4px 10px;
	}
	.amb-news-date .amb-news-day,
	.amb-news-date .amb-news-month,
	.amb-news-date .amb-news-year {
		display: inline;
		margin-right: 3px;
		font-size: 13px;
	}
}

/* Login (content/login.jsp) */
.amb-login {
	padding: 40px 0 60px;
}
.amb-login-card {
	max-width: 420px;
	margin: 0 auto;
	padding: 32px 32px 28px;
	border: 1px solid #e6e6e6;
	background: #fff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	text-align: left;
}
.amb-login-title {
	margin: 0 0 24px;
	color: #222;
	font-size: 26px;
	text-align: center;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.amb-login-error {
	margin: 0 0 20px;
	font-size: 14px;
}
.amb-login-error .fa {
	margin-right: 6px;
}
.amb-login form {
	width: auto;
}
.amb-login-field {
	margin-bottom: 18px;
}
.amb-login-field label {
	display: block;
	margin-bottom: 6px;
	color: #555;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.amb-login-input {
	position: relative;
}
.amb-login-input > .fa {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	width: 16px;
	color: #999;
	text-align: center;
	pointer-events: none;
}
/* style.css applica a tutti gli input password margini e larghezze del vecchio form contatti */
.amb-login .amb-login-input input.form-control,
.amb-login .amb-login-input input[type="password"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 10px 44px 10px 40px;
	border: 1px solid #d5d5d5;
	background: #fff;
	color: #222;
	font-size: 16px;
	font-weight: normal;
	box-shadow: none;
}
.amb-login .amb-login-input input.form-control:focus {
	border-color: #222;
	outline: 0;
}
.amb-login-eye {
	position: absolute;
	top: 50%;
	right: 4px;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #777;
	font-size: 16px;
	cursor: pointer;
}
.amb-login-eye:hover,
.amb-login-eye:focus {
	color: #000;
}
.amb-login-remember {
	display: block;
	margin: 0 0 22px;
	font-size: 14px;
	font-weight: normal;
}
.amb-login .amb-login-submit {
	width: 100%;
	margin: 0;
	padding: 12px;
	font-size: 15px;
}
.amb-login .amb-login-submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}
@media (max-width: 480px) {
	.amb-login {
		padding: 16px 0 40px;
	}
	.amb-login-card {
		padding: 24px 18px 20px;
		box-shadow: none;
	}
}

/* Barra "Cambia punto vendita" (header/boutiqueSwitch.jsp): manager entrati in una boutique.
   Fissa in cima alla pagina; il menu (navbar-fixed-top) viene spostato sotto dallo script. */
.amb-ctx {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1031;
	background: #222;
	color: #fff;
	font-size: 14px;
	text-align: left;
}
.amb-ctx.amb-ctx-static {
	position: relative;
	top: 0;
}
.amb-ctx [hidden] {
	display: none !important;
}
.amb-ctx .container {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding-left: 15px;
	padding-right: 15px;
}
.amb-ctx-label {
	margin-right: 14px;
	color: #aaa;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
}
.amb-ctx-switch {
	position: relative;
	min-width: 0;
}
.amb-ctx-btn {
	display: flex;
	align-items: center;
	max-width: 480px;
	padding: 5px 12px;
	border: 1px solid #555;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.amb-ctx-btn:hover,
.amb-ctx-btn:focus,
.amb-ctx-btn[aria-expanded="true"] {
	border-color: #fff;
	outline: 0;
}
.amb-ctx-btn[disabled] {
	opacity: 0.6;
	cursor: wait;
}
.amb-ctx-btn .fa-map-marker {
	margin-right: 8px;
}
.amb-ctx-btn .fa-caret-down {
	margin-left: 8px;
}
.amb-ctx-name {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.amb-ctx-code {
	color: #bbb;
}
.amb-ctx-back {
	margin-left: auto;
	padding-left: 14px;
	color: #ddd;
	white-space: nowrap;
}
.amb-ctx-back:hover,
.amb-ctx-back:focus {
	color: #fff;
	text-decoration: none;
}
.amb-ctx-panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	width: 460px;
	max-height: 70vh;
	overflow-y: auto;
	border: 1px solid #ddd;
	background: #fff;
	color: #222;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.amb-ctx-search {
	position: relative;
	padding: 12px;
	border-bottom: 1px solid #eee;
}
.amb-ctx-search .fa {
	position: absolute;
	top: 50%;
	left: 24px;
	transform: translateY(-50%);
	color: #999;
}
.amb-ctx .amb-ctx-search input {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 8px 10px 8px 34px;
	border: 1px solid #ccc;
	background: #fff;
	color: #222;
	font-size: 15px;
}
.amb-ctx .amb-ctx-search input:focus {
	border-color: #222;
	outline: 0;
}
.amb-ctx-panel h6 {
	margin: 12px 14px 6px;
	color: #888;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.amb-ctx-panel ul {
	margin: 0;
	padding: 0 0 6px;
	list-style: none;
}
.amb-ctx-panel li a {
	display: flex;
	align-items: center;
	padding: 9px 14px;
	color: #222;
	text-decoration: none;
}
.amb-ctx-panel li a:hover,
.amb-ctx-panel li a:focus {
	background: #f2f2f2;
	outline: 0;
}
.amb-ctx-panel li a .fa {
	width: 16px;
	margin-right: 10px;
	color: #999;
	text-align: center;
}
.amb-ctx-n {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.amb-ctx-c {
	margin-left: auto;
	padding-left: 12px;
	color: #999;
	font-size: 12px;
	white-space: nowrap;
}
.amb-ctx-empty {
	margin: 12px 14px;
	color: #666;
}
.amb-ctx-keep {
	padding: 10px 14px;
	border-top: 1px solid #eee;
	font-size: 13px;
	color: #555;
}
.amb-ctx-keep input {
	margin: 0 6px 0 0;
	vertical-align: -2px;
}
.amb-ctx-keep label {
	margin: 0;
	font-weight: normal;
	cursor: pointer;
}
@media (max-width: 767px) {
	.amb-ctx-label,
	.amb-ctx-back span {
		display: none;
	}
	.amb-ctx-switch {
		flex: 1 1 auto;
	}
	.amb-ctx-btn {
		width: 100%;
		max-width: none;
	}
	.amb-ctx-back {
		font-size: 18px;
	}
	.amb-ctx-panel {
		position: fixed;
		top: auto;
		left: 8px;
		right: 8px;
		width: auto;
		margin-top: 6px;
	}
}
@media print {
	.amb-ctx {
		display: none;
	}
}

/* Ricerca stock (ricartellinatura/ricercaRicartellinaturaForm.jsp e ricercaRicartellinatura.jsp) */
.amb-stock-slow p {
	max-height: none !important;
	margin: 0;
	font-size: 12px !important;
}
.amb-stock-results {
	overflow-x: auto;
}
.amb-stock-total {
	margin: 0 0 14px;
	padding: 12px 16px;
	border-left: 4px solid #222;
	background: #f7f7f7;
	color: #222;
	font-size: 15px;
}
.amb-stock-total .fa {
	margin-right: 8px;
	color: #555;
}
.amb-stock-note {
	margin-top: 14px;
}

/* Pagine di ricerca: criteri richiudibili dopo la ricerca (js/amb-search.js) */
.amb-search [hidden] {
	display: none !important;
}
.amb-search .amb-search-toggle {
	position: relative;
	cursor: pointer;
	user-select: none;
}
.amb-search .amb-search-toggle:after {
	content: "\f106";
	font-family: FontAwesome;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	letter-spacing: 0;
}
.amb-search.amb-search-collapsed .amb-search-toggle:after {
	content: "\f107";
}
.amb-search .amb-search-toggle:focus {
	outline: 2px solid #222;
	outline-offset: 2px;
}
.amb-search-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 6px 0 20px;
	padding: 10px 16px;
	border: 1px solid #e6e6e6;
	background: #fff;
	text-align: left;
}
.amb-search-summary-text {
	flex: 1 1 400px;
	min-width: 0;
	padding: 4px 0;
	color: #222;
	font-size: 14px;
	line-height: 1.8;
}
.amb-search-summary-title {
	margin-right: 10px;
	color: #666;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.amb-search-summary-item {
	display: inline-block;
	margin: 0 6px 4px 0;
	padding: 1px 10px;
	border: 1px solid #e6e6e6;
	background: #f7f7f7;
	white-space: nowrap;
}
.amb-search-summary-label {
	color: #777;
}
.amb-search-summary-actions {
	flex: 0 0 auto;
	margin-left: auto;
	padding-left: 10px;
}
.amb-search-summary-actions .btn {
	margin: 4px 0 4px 8px;
}
@media (max-width: 767px) {
	.amb-search-summary-item {
		white-space: normal;
	}
	.amb-search-summary-actions {
		width: 100%;
		margin: 6px 0 0;
		padding: 0;
	}
	.amb-search-summary-actions .btn {
		width: 100%;
		margin: 4px 0;
	}
}

/* Le mie informazioni (myInfo.jsp): schede bianche sopra la foto di sfondo */
.amb-myinfo {
	padding: 30px 0 40px;
	text-align: left;
}
.amb-myinfo .container {
	max-width: 1000px;
}
.amb-myinfo-head {
	display: flex;
	align-items: center;
	margin: 10px 0 24px;
	color: #fff;
}
.amb-myinfo-avatar {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	margin-right: 18px;
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	font-size: 30px;
	line-height: 60px;
	text-align: center;
}
.amb-myinfo-name {
	margin: 0 0 4px;
	color: #fff;
	font-size: 28px;
	text-align: left;
}
.amb-myinfo-boutique {
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
}
.amb-myinfo-card {
	/* contesto di sovrapposizione: .customBtn ha z-index -1 e finirebbe sotto lo sfondo della scheda */
	position: relative;
	z-index: 0;
	margin-bottom: 18px;
	padding: 18px 22px 8px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.amb-myinfo-title {
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
	color: #222;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-align: left;
}
.amb-myinfo-title .fa {
	margin-right: 8px;
	color: #777;
}
.amb-myinfo .amb-field {
	margin-bottom: 14px;
	min-height: 0;
}
.amb-myinfo-partners {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}
.amb-myinfo-partner {
	padding: 12px 14px;
	border: 1px solid #e6e6e6;
	background: #fafafa;
	color: #444;
	font-size: 14px;
	line-height: 1.6;
}
.amb-myinfo-partner .fa {
	width: 16px;
	margin-right: 4px;
	color: #999;
	text-align: center;
}
.amb-myinfo-partner-name {
	margin-bottom: 4px;
	color: #222;
	font-size: 15px;
	font-weight: 600;
}
.amb-myinfo-partner-name span {
	margin-left: 6px;
	color: #888;
	font-size: 13px;
	font-weight: normal;
}
.amb-myinfo-partner-piva {
	color: #777;
	font-size: 13px;
}
.amb-myinfo-email {
	display: flex;
	max-width: 520px;
}
.amb-myinfo-email .form-control {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	margin-right: 8px;
}
.amb-myinfo-email .btn {
	flex: 0 0 auto;
	min-width: 0;
	margin: 0;
}
.amb-myinfo-email .btn[disabled] {
	opacity: 0.4;
}
@media (max-width: 480px) {
	.amb-myinfo-head {
		margin-top: 0;
	}
	.amb-myinfo-name {
		font-size: 22px;
	}
	.amb-myinfo-card {
		padding: 14px 14px 4px;
	}
	.amb-myinfo-email {
		flex-wrap: wrap;
	}
	.amb-myinfo-email .form-control {
		margin: 0 0 8px;
	}
	.amb-myinfo-email .btn {
		width: 100%;
	}
}

/* Menu principale (header/*.jsp, navbar Bootstrap): barra bianca, voci in maiuscolo (aperta: sfondo grigio chiaro),
   tendine compatte. Altezza invariata (50px) per non spostare le pagine.
   Nel menu profilo: li.amb-profile (tendina allineata a destra), li.amb-menu-version (versione). */
.navbar-default {
	background: #F4F3F1;
	border: 0;
	border-bottom: 1px solid #e6e6e6;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	min-height: 50px;
}
.navbar-default .navbar-left img { max-height: 30px; margin: 10px 16px 10px 0; }
@media (min-width: 768px) {
	.navbar-default > .container { display: flex; align-items: center; }
	.navbar-default > .container > .navbar-header { float: none; flex: 0 0 auto; }
	.navbar-default > .container > .navbar-collapse { flex: 1 1 auto; padding: 0; }
	.navbar-default .navbar-nav { display: flex; float: none; }
	.navbar-default .navbar-nav > li.amb-profile { margin-left: auto; }
}
.navbar-default .navbar-nav > li > a {
	height: 50px;
	line-height: 50px;
	padding: 0 10px;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #333;
	white-space: nowrap;
	transition: color .15s, box-shadow .15s;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
	background: transparent;
	color: #000;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
	background: #f5f5f5;
}
.navbar-default .navbar-nav > li > a .caret { margin-left: 4px; border-top-width: 4px; border-left-width: 4px; border-right-width: 4px; opacity: .6; }
.navbar-default .dropdown-menu {
	min-width: 230px;
	margin-top: 0;
	padding: 6px 0;
	border: 1px solid #e6e6e6;
	border-radius: 0;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.navbar-default .dropdown-menu > li > a {
	height: auto;
	line-height: 1.4;
	padding: 9px 18px;
	font-size: 15px;
	font-weight: bold; /* Lato Regular nel tema: normal = Light */
	letter-spacing: 0;
	text-transform: none;
	color: #1a1a1a;
	border-left: 3px solid transparent;
}
.navbar-default .dropdown-menu > li > a:hover,
.navbar-default .dropdown-menu > li > a:focus {
	background: #f2f1ee;
	color: #000;
	border-left-color: #222;
}
.navbar-default .navbar-nav > li.amb-profile > .dropdown-menu { right: 0; left: auto; }
/* Telefono (fino a 768px, come .hideSmall in style_Damiani.css): il menu profilo (Notifiche, Risorse, Contattaci,
   Esci...) resta nel menu aperto invece di sparire; la voce "Esci" separata (li.hideLarge subito dopo) non serve piu' */
@media screen and (max-width: 768px) {
	.navbar-default .navbar-nav > li.amb-profile.hideSmall { display: block !important; }
	.navbar-default .navbar-nav > li.amb-profile.hideSmall + li.hideLarge { display: none !important; }
}
.navbar-default .navbar-nav > li.amb-profile > a img { width: 28px !important; margin-top: -4px !important; border-radius: 50%; }
.navbar-default .dropdown-menu > li.amb-menu-version > a { font-size: 11px; color: #999; }
@media (max-width: 1220px) {
	.navbar-default .navbar-nav > li > a { padding: 0 7px; font-size: 12.5px; letter-spacing: .4px; }
}
@media (max-width: 767px) {
	.navbar-default .navbar-nav { display: block; margin: 0 -15px; }
	.navbar-default .navbar-nav > li > a { height: auto; line-height: 1.4; padding: 14px 20px; border-top: 1px solid #f0f0f0; }
	.navbar-default .navbar-nav .open .dropdown-menu { border: 0; box-shadow: none; background: #fafafa; padding: 0; }
	.navbar-default .navbar-nav .open .dropdown-menu > li > a { padding: 11px 20px 11px 34px; }
}
@media (max-width: 767px) {
	.navbar-default > .container { padding: 0 15px; }
	.navbar-default .navbar-left img { margin: 10px 0; padding: 0; }
	.navbar-default .navbar-toggle { margin-right: 0; border-color: #ddd; background: #fff; }
}
/* Gruppi nelle tendine: titolo (li.dropdown-header) e separatore (li.divider); pulizia in js/amb-menu.js */
/* Il titolo e' una fascia chiara tra due righe sottili, diversa dalle voci: si capisce che non si clicca
   (nessun effetto al passaggio del mouse, cursore normale). La fascia separa gia' i gruppi: il separatore non serve. */
.navbar-default .dropdown-menu > li.dropdown-header {
	margin: 0;
	padding: 9px 21px 7px;
	background: #faf8f4;
	border-top: 1px solid #e4dccd;
	border-bottom: 1px solid #e4dccd;
	color: #4a443b;
	font-size: 11px;
	font-weight: bold;
	line-height: 1.3;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: default;
	user-select: none;
	pointer-events: none;
}
.navbar-default .dropdown-menu > li.dropdown-header:first-child {
	margin-top: -6px;
	border-top: 0;
}
.navbar-default .dropdown-menu > li.divider:has(+ li.dropdown-header) {
	display: none;
}
.navbar-default .dropdown-menu > li.divider {
	margin: 6px 0;
	background: #e2e0dc;
}
@media (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu > li.dropdown-header {
		padding: 9px 20px 7px 34px;
	}
}

/* Home boutique (homepage.jsp, boutiqueHomepage.jsp): intestazione, azioni rapide e news sopra la foto di sfondo (#photoflip) */
.amb-home {
	min-height: calc(100vh - 50px);
	padding: 56px 0 48px;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: left;
}
.amb-home .container {
	/* home piu' larga: azioni rapide e news occupano piu' spazio sugli schermi grandi */
	width: 100%;
	max-width: 1440px;
	padding-left: 40px;
	padding-right: 40px;
}
.amb-home-hero {
	margin-bottom: 40px;
}
.amb-home-kicker,
.amb-home-label {
	margin: 0 0 10px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.amb-home-label {
	margin-bottom: 14px;
	font-size: 13px;
	letter-spacing: 2px;
}
.amb-home-title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 46px;
	font-weight: 400;
	line-height: 1.1;
	text-align: left;
}
.amb-home-user {
	color: rgba(255, 255, 255, 0.85);
	font-size: 18px;
}
.amb-home-user .fa {
	margin-right: 6px;
}
.amb-home-status h3 {
	color: #fff;
	text-align: left;
}
.amb-home-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 24px;
	align-items: start;
}
.amb-home-actions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
.amb-home-action {
	display: flex;
	align-items: center;
	min-height: 124px;
	padding: 24px 26px;
	/* vetro smerigliato: si intravede la foto di sfondo */
	background: rgba(255, 255, 255, 0.50);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #222;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s, box-shadow 0.15s;
}
.amb-home-action:hover,
.amb-home-action:focus {
	background: rgba(255, 255, 255, 0.88);
	color: #000;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.amb-home-action:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.amb-home-ic {
	display: flex;
	flex: 0 0 60px;
	align-items: center;
	justify-content: center;
	height: 60px;
	margin-right: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	color: #333;
	font-size: 26px;
}
.amb-home-t {
	display: block;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
}
.amb-home-d {
	display: block;
	margin-top: 5px;
	color: #555;
	font-size: 15px;
}
.amb-home-go {
	margin-left: auto;
	padding-left: 12px;
	color: #bbb;
	font-size: 17px;
}
.amb-home-hint {
	margin-top: 22px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
}
.amb-home-news {
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #222;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.amb-home-news h3 {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 14px 18px 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	color: #222;
	font-size: 13px;
	letter-spacing: 2px;
	text-align: left;
	text-transform: uppercase;
}
.amb-home-news h3 .badge {
	margin-left: 8px;
	border-radius: 10px;
	background: #222;
	font-size: 11px;
	letter-spacing: 0;
}
.amb-home-news ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.amb-home-news li {
	padding: 10px 18px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.amb-home-news-dt {
	color: #666;
	font-size: 12px;
}
.amb-home-news-tt {
	margin: 2px 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}
.amb-home-news-tx {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #444;
	font-size: 13px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
.amb-home-news-new {
	display: inline-block;
	margin-right: 4px;
	padding: 0 6px;
	line-height: 1.7;
	background: #222;
	color: #fff;
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	vertical-align: 2px;
}
.amb-home-news-all {
	display: block;
	padding: 12px 18px;
	color: #222;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.amb-home-news-all:hover {
	color: #000;
}
/* Le news occupano la stessa altezza delle azioni (la riga della griglia la decidono le azioni):
   intestazione e "Tutte le news" fissi, elenco che scorre se le news sono di piu' */
@media (min-width: 992px) {
	.amb-home-grid {
		align-items: stretch;
	}
	.amb-home-newsbox {
		position: relative;
		min-height: 100%;
	}
	.amb-home-newsbox .amb-home-news {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
	}
	.amb-home-newsbox .amb-home-news ul {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
	}
	.amb-home-newsbox .amb-home-news-all {
		border-top: 1px solid rgba(0, 0, 0, 0.08);
	}
}
@media (max-width: 991px) {
	.amb-home-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 600px) {
	.amb-home {
		padding: 28px 0;
	}
	.amb-home-title {
		font-size: 30px;
	}
	.amb-home-actions {
		grid-template-columns: 1fr;
	}
	.amb-home-action {
		min-height: 96px;
		padding: 18px 20px;
	}
	.amb-home-ic {
		flex-basis: 50px;
		height: 50px;
		font-size: 22px;
	}
	.amb-home-t {
		font-size: 18px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.amb-home-action {
		transition: none;
	}
}

/* Pagina di login (content/login.jsp aggiunge body.amb-login-page): stessi colori delle pagine interne
   (css/ambassador-pages.css): fondo grigio caldo #F4F3F1, scheda bianca con ombra, pulsante nero */
body.amb-login-page {
	min-height: 100vh;
	background: #F4F3F1;
}
body.amb-login-page .header-section.two { display: none; }
body.amb-login-page .news.amb-login { padding: 56px 0 60px; background: transparent; }
body.amb-login-page .amb-login-brands { max-width: 760px; margin: 0 auto 34px; text-align: center; }
body.amb-login-page .amb-login-group { display: block; width: 260px; max-width: 70%; margin: 0 auto 22px; }
body.amb-login-page .amb-login-maisons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 26px; margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid #ddd; }
body.amb-login-page .amb-login-maisons img { display: block; height: 52px; width: auto; }
body.amb-login-page .amb-login-card {
	border: 0;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body.amb-login-page .amb-login-title { color: #222; font-weight: 300; letter-spacing: 4px; }
body.amb-login-page .amb-login-field label,
body.amb-login-page .amb-login-remember { color: #777; }
body.amb-login-page .amb-login-field label { font-size: 11px; letter-spacing: 1.5px; }
body.amb-login-page .amb-login-input .form-control { background: #fff; border-color: #ddd; border-radius: 2px; }
body.amb-login-page .amb-login-input .form-control:focus { border-color: #222; box-shadow: none; }
body.amb-login-page .amb-login-submit { background: #111; color: #fff; border-color: #111; border-radius: 0; letter-spacing: 2px; }
body.amb-login-page .amb-login-submit:hover,
body.amb-login-page .amb-login-submit:focus { background: #333; color: #fff; border-color: #333; }
@media (max-width: 767px) {
	body.amb-login-page .news.amb-login { padding-top: 32px; }
	body.amb-login-page .amb-login-brands { margin-bottom: 22px; padding: 0 12px; }
	body.amb-login-page .amb-login-group { width: 200px; margin-bottom: 14px; }
	body.amb-login-page .amb-login-maisons { gap: 2px 6px; }
	body.amb-login-page .amb-login-maisons img { height: 27px; }
}

/* Messaggi di stato (header/statusMessage.jsp): barra sottile sotto il menu, poco invasiva */
.amb-status-bar {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 22px;
	padding: 0 12px;
	border-bottom: 1px solid #d3d3d3;
	background: #f1f1f1;
	color: #6b5a2a;
	font-size: 11.5px;
	line-height: 22px;
}
.amb-status-bar .fa {
	color: #b8912f;
}
.amb-status-tag {
	flex: 0 0 auto;
	padding: 0 6px;
	background: repeating-linear-gradient(-45deg, #f2c44d 0 5px, #e6b230 5px 10px);
	color: #2a2100;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 1.5px;
}
.amb-status-text {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.amb-home-status {
	display: none;
}

/* Tabelle semplici nelle schede (es. ricartellinatura.jsp: prodotti inseriti nella sessione) */
.amb-card .amb-table {
	margin-bottom: 0;
	font-size: 14px;
}
.amb-card .amb-table > thead > tr > th {
	border-bottom: 2px solid #222;
	color: #222;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
	vertical-align: bottom;
}
.amb-card .amb-table > tbody > tr > td {
	vertical-align: middle;
}
.amb-card .amb-table .amb-num {
	text-align: right;
	white-space: nowrap;
}
@media (max-width: 767px) {
	.amb-home .container {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* Ricerca prodotto Diogene (diogene/searchForm.jsp, diogene/resultSearch.jsp e frammenti ajax/diogene/resultManage*.jsp) */
.amb-dg-search {
	position: relative;
	margin: 0;
}
.amb-dg-search .fa-search {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	font-size: 16px;
	pointer-events: none;
}
body .amb-dg .amb-dg-search input.form-control {
	height: 46px;
	padding-left: 42px;
	font-family: inherit;
	font-size: 16px;
	border-color: #ddd;
	border-radius: 2px;
	box-shadow: none;
}
body .amb-dg .amb-dg-search input.form-control:focus {
	border-color: #222;
}
.amb-dg-filters-row {
	margin-top: 18px;
}
.amb-dg .amb-field .form-control {
	width: 100%;
}
.amb-dg-price .amb-label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}
.amb-dg-price-value {
	border: 0;
	background: transparent;
	color: #111;
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
	text-align: right;
	padding: 0;
	width: 60%;
}
.amb-dg #slider-prezzo {
	margin: 12px 8px 6px;
}
.amb-dg .ui-slider-horizontal {
	height: 4px;
	border: 0;
	background: #e2e2e2;
}
.amb-dg .ui-slider .ui-slider-range {
	background: #222;
}
.amb-dg .ui-slider .ui-slider-handle {
	top: -7px;
	width: 16px;
	height: 16px;
	margin-left: -8px;
	border: 2px solid #222;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}

/* Risultati: barra con filtri, ricerca e vista */
.amb-dg-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
}
.amb-dg-toolbar .amb-dg-search {
	flex: 1 1 auto;
	min-width: 0;
}
.amb-dg-filter-btn,
.amb-dg-view-btn {
	flex: 0 0 auto;
	height: 46px;
	min-width: 46px;
	padding: 0 14px;
	border: 1px solid #ddd;
	border-radius: 2px;
	background: #fff;
	color: #333;
	font-size: 16px;
}
.amb-dg-filter-btn:before {
	content: "\f1de";
	font-family: FontAwesome;
	margin-right: 6px;
	color: #777;
}
.amb-dg-filter-btn:hover,
.amb-dg-view-btn:hover {
	border-color: #222;
	background: #fff;
}
.amb-dg-side {
	padding: 14px 16px 18px;
}
.amb-dg-side-title {
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid #eee;
	color: #222;
}
.amb-dg-side .amb-dg-price-value {
	width: 100%;
	text-align: left;
	margin-bottom: 4px;
}
.amb-dg-side #slider-prezzo {
	margin: 10px 8px 14px;
}
/* categorie (ajax/diogene/resultCategories.jsp) */
.amb-dg #categoryData label {
	display: block;
	margin: 16px 0 6px !important;
	color: #777;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.amb-dg #categoryData p {
	height: auto !important;
	margin: 0 0 4px;
	font-size: 13px;
	line-height: 1.4;
}
.amb-dg #categoryData input[type="checkbox"] {
	margin: 0 6px 0 0;
	vertical-align: -1px;
}
.amb-dg #categoryData a {
	color: #555;
	font-size: 12px;
	text-decoration: underline;
}

/* prodotti (ajax/diogene/resultManage.jsp, resultManageBase.jsp) */
.amb-dg #materialData > div:first-child {
	margin-bottom: 10px;
	color: #777;
	font-size: 13px;
}
.amb-dg #materialData > .text-left {
	padding: 14px 24px;
	border-top: 0 !important;
	border-bottom: 1px solid #eee;
	background: #fff;
	cursor: pointer;
	transition: background 0.15s;
}
.amb-dg #materialData > .text-left:hover {
	background: #fafafa;
}
/* vista elenco: immagine stretta e testo subito accanto, righe compatte */
.amb-dg #materialData > .text-left > .row {
	display: flex;
	align-items: center;
}
.amb-dg #materialData > .text-left > .row > .col-md-3 {
	flex: 0 0 180px;
	width: 180px;
	padding: 6px 15px !important;
}
.amb-dg #materialData > .text-left > .row > .col-md-3 img {
	max-height: 130px !important;
}
.amb-dg #materialData > .text-left > .row > .col-md-8 {
	flex: 1 1 auto;
	width: auto;
	padding-top: 6px !important;
	padding-bottom: 6px;
	line-height: 1.75;
}
.amb-dg #materialData .materialGridContainer {
	border: 0;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	cursor: pointer;
	transition: box-shadow 0.15s;
}
.amb-dg #materialData .materialGridContainer:hover {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.amb-dg #materialData .qty-selector {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 6px !important;
	padding-bottom: 0 !important;
}
.amb-dg #materialData .qty-btn {
	width: 28px;
	height: 28px;
	border: 1px solid #ddd;
	background: #fff;
	line-height: 1;
}
.amb-dg #materialData .qty-input {
	width: 40px;
	height: 28px;
	border: 1px solid #ddd;
}
.amb-dg #materialData .qty-selector > button:not(.qty-btn) {
	height: 28px;
	padding: 0 14px;
	border: 1px solid #111;
	background: #111;
	color: #fff;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
}
@media (max-width: 767px) {
	.amb-dg-filter-btn {
		padding: 0 10px;
	}
}
/* style_Damiani.css forza .searchInput su "Lato-Light", font non definito: si vedeva un carattere con grazie */
.amb-dg .searchInput {
	font-family: Lato, sans-serif !important;
	font-weight: 300;
}
/* primo e ultimo elemento dell'elenco: un unico pannello con ombra leggera */
.amb-dg #materialData {
	padding-bottom: 20px;
}
.amb-dg #materialData > .text-left {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Risultati: filtri e prodotti allineati ai bordi della barra di ricerca */
.amb-dg-results > .row {
	margin-left: 0;
	margin-right: 0;
}
.amb-dg-results > .row > #collapseCategory,
.amb-dg-results > .row > #materialData {
	padding-left: 0;
	padding-right: 0;
}
@media (min-width: 992px) {
	.amb-dg-results > .row {
		display: flex;
		align-items: flex-start;
		gap: 20px;
	}
	/* i :before/:after di .row (clearfix) diventerebbero elementi flex e sposterebbero tutto di 20px */
	.amb-dg-results > .row:before,
	.amb-dg-results > .row:after {
		display: none;
	}
	.amb-dg-results > .row > #collapseCategory {
		flex: 0 0 250px;
		width: 250px;
	}
	.amb-dg-results > .row > #collapseCategory.collapse:not(.in):not(.collapsing) {
		display: none;
	}
	.amb-dg-results > .row > #materialData {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}
}
.amb-dg-results .amb-dg-side {
	margin-bottom: 14px;
}

/* Scheda prodotto Diogene (diogene/selectProductDiogene.jsp): pulsanti, tabelle e prodotti correlati come le altre pagine */
.amb-sheet form > .clearfix + .amb-section {
	margin-top: 0;
}
.amb-sheet .amb-sheet-actions {
	padding-top: 4px;
}
.amb-sheet .amb-sheet-actions > .btn,
.amb-sheet .amb-sheet-actions > a > .btn {
	height: 42px;
	min-width: 150px;
	margin: 4px 5px 14px;
	padding: 0 26px;
	border: 1px solid #bbb;
	border-radius: 0;
	background: #fff;
	color: #111;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.amb-sheet .amb-sheet-actions > .btn:hover,
.amb-sheet .amb-sheet-actions > a > .btn:hover {
	border-color: #111;
}
/* azione principale: aggiungi al carrello / richiedi premio */
.amb-sheet .amb-sheet-actions #toCartButton {
	border-color: #111;
	background: #111;
	color: #fff;
}
.amb-sheet .amb-sheet-actions #toCartButton:hover {
	background: #333;
}
.amb-sheet .amb-sheet-table {
	margin-top: 4px;
	overflow-x: auto;
}
.amb-sheet .amb-sheet-table > .infomateriale,
.amb-sheet .amb-sheet-table .infomateriale,
.amb-sheet .amb-sheet-similar > .infomateriale {
	display: block;
	margin-bottom: 10px;
	color: #555;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.amb-sheet .amb-sheet-table table.dataTable thead th {
	border-bottom: 2px solid #222;
	color: #222;
	font-size: 11px;
	font-weight: 700;
	vertical-align: bottom;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.amb-sheet .amb-sheet-similar .testimonial-group .row {
	margin: 0;
}
.amb-sheet .amb-sheet-similar .testimonial-group .col-md-2 {
	padding: 8px !important;
	border: 1px solid #eee !important;
	background: #fff;
	cursor: pointer;
	transition: box-shadow 0.15s;
}
.amb-sheet .amb-sheet-similar .testimonial-group .col-md-2:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

/* Tablet in verticale (768-991px): le voci del menu non ci stanno in una riga (il menu profilo usciva dallo schermo):
   si usa il menu a tendina (pulsante con le tre righe) come sul telefono */
@media (min-width: 768px) and (max-width: 991px) {
	.navbar-default > .container { display: block; padding: 0 15px; }
	.navbar-default > .container > .navbar-header { float: none; }
	.navbar-default .navbar-toggle { display: block; margin-right: 0; border-color: #ddd; background: #fff; }
	.navbar-default .navbar-collapse.collapse { display: none !important; }
	.navbar-default .navbar-collapse.collapse.in { display: block !important; }
	.navbar-default > .container > .navbar-collapse { margin: 0 -15px; padding: 0; border-top: 1px solid #e7e7e7; box-shadow: none; overflow-x: hidden; }
	.navbar-fixed-top .navbar-collapse.in { max-height: calc(100vh - 100px); overflow-y: auto !important; }
	.navbar-default .navbar-nav { display: block; float: none; margin: 0; text-align: left; }
	.navbar-default .navbar-nav > li { float: none; }
	.navbar-default .navbar-nav > li.amb-profile,
	.navbar-default .navbar-nav > li.amb-profile.hideSmall { display: block !important; margin-left: 0; }
	.navbar-default .navbar-nav > li > a { height: auto; line-height: 1.4; padding: 14px 20px; border-top: 1px solid #f0f0f0; }
	.navbar-default .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; border: 0; box-shadow: none; background: #fafafa; padding: 0; }
	.navbar-default .navbar-nav .open .dropdown-menu > li > a { padding: 11px 20px 11px 34px; }
	.navbar-default .navbar-nav .open .dropdown-menu > li.dropdown-header { padding: 9px 20px 7px 34px; }
}

/* body e' un contenitore flex alto quanto lo schermo (style.css): senza questa regola il browser schiaccia i blocchi
   piu' alti dello schermo (es. home della boutique) e la fascia dei marchi in fondo finisce sopra i contenuti */
body > * {
	flex-shrink: 0;
}

/* Casetta / logo a sinistra nel menu: il link e' grande quanto l'icona (prima il margine destro dell'immagine era
   dentro il link e il contorno di focus risultava spostato). Nessun contorno al tocco o al clic, solo con la tastiera */
.navbar-default .navbar-header > a.navbar-left {
	display: flex;
	align-items: center;
	height: 50px;
	margin-right: 16px;
}
.navbar-default .navbar-header > a.navbar-left img {
	margin: 0 !important;
}
.navbar-default .navbar-header > a.navbar-left:focus {
	outline: none;
}
.navbar-default .navbar-header > a.navbar-left:focus-visible {
	outline: 2px solid #222;
	outline-offset: 2px;
}
