@charset "utf-8";
/* CSS Document */


/***************** FORM DI RICERCA GENERICO *******************/

.FormRicerca_Box {
	font-size: 16px;
	vertical-align: middle;
	
	border-bottom-color: #5E5D5B;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-top-color: #5E5D5B;
	border-top-style: solid;
	border-top-width: 1px;
    border-right-color: #5E5D5B;
	border-right-style: solid;
	border-right-width: 1px;
	border-left-color: #5E5D5B;
	border-left-style: solid;
	border-left-width: 1px;
}

.FormRicerca_Pad {
    padding: /*sopra=*/5px /*destra=*/5px /*sotto=*/5px /*sinistra=*/15px;
}


/***************** FORM DI RICERCA nel catalogo *******************/
div#RicercaCatalogo_Box {
    
	font-size: 1rem;
	color: #5E5D5B;
	font-weight: bold;
	padding-top: 20px; 
	height: 60px;
	width: 100%;	
	border: 1px #A5A5A5 solid;
	border-radius: 15px;
}

div#RicercaCatalogo_Pad {
    padding: /*sopra=*/7px /*destra=*/5px /*sotto=*/5px /*sinistra=*/15px;
	text-align:right;
}

/***************** FORM GENERICO CON LE TABELLE *******************/
.MyFormTitle {
	font-family: var(--font-family);
	font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
	font-weight: 500;
	color: var(--color-text-muted);
	height: auto;
	min-height: 0;
	padding: var(--space-md) 0 var(--space-xs);
	margin-top: var(--space-lg);
	margin-bottom: var(--space-sm);
	width: 60%;
	float: left;
	letter-spacing: -0.02em;
	line-height: 1.35;
	position: relative;
	background: none;
	-webkit-text-fill-color: unset;
}

.MyFormTitle::after {
	display: none;
}
.NewButton{    
	width: 28%;	
	float: right;
	padding: 15px 0px 5px 5px;
	text-align: right;	
	margin-top: 30px;
}

.MyForm {
	width: 100%;
	font-size: 0.9375rem;
	font-weight: normal;
	min-height: 34px;
	vertical-align: middle;
	padding: var(--space-md) var(--space-lg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	margin-bottom: var(--space-lg);
	background-color: var(--color-bg-surface);
	box-shadow: var(--shadow-sm);
}

.TableForm {
	width: 100%;
	font-size: 0.9375rem;
	font-weight: normal;
	min-height: 34px;
	vertical-align: middle;
	padding: var(--space-md) var(--space-lg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	margin-bottom: var(--space-lg);
	background-color: var(--color-bg-surface);
	box-shadow: var(--shadow-sm);
}

/********FORMATTAZIONE INPUT ********/
input[type="text"]:focus, input[type="password"]:focus { outline: none; }


.FormRow_Pad {
    padding: /*sopra=*/8px /*destra=*/15px /*sotto=*/6px /*sinistra=*/15px;
}

.Form2 {
	font-size: 13px;
	font-weight: normal;
	padding: 0px;
	line-height: 35px;
}

.Form_TitoloParagrafo {
	font-family: var(--font-family);
	font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
	font-weight: 500;
	color: var(--color-text-muted);
	text-align: center;
	line-height: 1.35;
	padding: var(--space-md) 0 var(--space-xs);
	margin: var(--space-lg) 0 var(--space-sm);
	letter-spacing: -0.02em;
	position: relative;
}

.Form_TitoloParagrafo::after {
	display: none;
}

.FormTitle {
	font-family: var(--font-family);
	font-size: clamp(1.375rem, 2.2vw, 1.75rem);
	font-weight: 600;
	color: var(--color-text);
	text-align: center;
	line-height: 1.3;
	padding: 0 0 0.65rem;
	margin: 0 0 var(--space-md);
	letter-spacing: -0.025em;
	position: relative;
	background: none;
	-webkit-text-fill-color: unset;
}

.FormTitle::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 2.5rem;
	height: 3px;
	background: var(--color-accent);
	border-radius: var(--radius-pill);
	opacity: 0.75;
}

body.site-body--admin #TemplateMain_Pad .FormTitle::after {
	left: 0;
	transform: none;
}

/********FORMATTAZIONE RISULTATI ********/
.SeparazioneRisultato {
	background-color: #FFF;
	width: 99%;
	height: 3px;
}


/*////////////////////////FORM DIV////////////////////////////*/

.InFormResult_Box{
  width: 100%;
  text-align: left;
  font-size: 16px;
  vertical-align: top;
  color: #BBBBBB;
  border-top: #A3A3A3 solid 1px ;
  clear: both; 
}

.InFormResult_Pad{
  padding: 20px 20px 20px 20px;
}


.InForm_Box{
  width: 100%;
  font-size: 16px;
  text-align: left;
  vertical-align: top;
  color: #555555;
  border: #A3A3A3 solid 1px;
}


.InForm_Pad{
  padding: 2% 5% 5% 10%;
}


.InMyFormTitle {
	font-family: var(--font-family);
	font-size: 1.0625rem;
	font-weight: 500;
	padding-top: var(--space-lg);
	margin-bottom: var(--space-md);
	text-align: center;
	color: var(--color-text-muted);
	letter-spacing: -0.015em;
	line-height: 1.4;
	position: relative;
	padding-bottom: 0;
}

.InMyFormTitle::after {
	display: none;
}



/***************** FORM CONTATTO *******************/
div#Form_Box{
    width: 100%;
    margin-right: auto;
    margin-left: auto;    
	font-size: 0.9em;
	font-weight: normal;
	border: #A3A3A3 solid 1px;
	border-radius: 10px;
}

div#Form_Pad{  
	padding: /*sopra=*/5px /*destra=*/30px /*sotto=*/5px /*sinistra=*/50px;
}

div#ContactForm_Box{
    margin-right: auto;
    margin-left: auto;    
	font-size: 1.2em;
	font-weight: normal;
	text-align: left;	
}

div#ContactForm_Pad{  
	padding: /*sopra=*/50px /*destra=*/30px /*sotto=*/50px /*sinistra=*/30px;
}



/****************** Form di registrazione clienti ********************/
.FormRegistrazione {
    background-color: #FFFFFF;
	width: 700px;
	font-size: 11px;
	font-weight: normal;
	
	border-top-color: #A3A3A3;
	border-top-style: solid;
	border-top-width: 1px;
	border-right-color: #A3A3A3;
	border-right-style: solid;
	border-right-width: 1px;
	border-bottom-color: #A3A3A3;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-left-color: #A3A3A3;
	border-left-style: solid;
	border-left-width: 1px;
}

.Form2Registrazione {
    background-color: #FFFFFF;
	width: 700px;
	font-size: 11px;
	font-weight: normal;
}	
	
/***************** PAGINE DI DETTAGLIO DELLADMIN *******************/
.AdminDetailRow_LX{
    width: 20%;  
	font-size: 14px;
	font-weight: normal;
	text-align: right;
	padding: /*sopra=*/5px /*destra=*/15px /*sotto=*/5px /*sinistra=*/0px;
	float: left;
}

.AdminDetailRow_RX{
	font-size: 14px;
	font-weight: bold;
	padding: /*sopra=*/5px /*destra=*/30px /*sotto=*/5px /*sinistra=*/0px;
	float: left;	
}



@media screen and (min-width: 768px) {

	.AdminEditRow_label{
		width: 15%;  
		font-size: 14px;
		font-weight: normal;
		text-align: right;
		padding: /*sopra=*/10px /*destra=*/10px /*sotto=*/15px /*sinistra=*/0px;
		float: left;
	}
	.AdminEditRow_field{
		width: 30%;
		text-align: left;
		font-size: 14px;
		padding: /*sopra=*/10px /*destra=*/10px /*sotto=*/15px /*sinistra=*/0px;
		float: left;	
	}
	
	.AdminEditRow_longfield{
		width: 75%;
		font-size: 14px;
		text-align: left;
		padding: /*sopra=*/10px /*destra=*/30px /*sotto=*/15px /*sinistra=*/0px;
		float: left;	
	}
}

@media screen and (max-width: 768px) {
	
	div#Form_Pad{  
		padding: /*sopra=*/5px /*destra=*/5px /*sotto=*/5px /*sinistra=*/25px;
	}

	.AdminEditRow_label{
		font-size: 14px;
		font-weight: normal;
		text-align: left;
		padding: /*sopra=*/10px /*destra=*/10px /*sotto=*/0px /*sinistra=*/0px;
	}
	.AdminEditRow_field{
		text-align: left;
		font-size: 14px;
		padding: /*sopra=*/10px /*destra=*/10px /*sotto=*/15px /*sinistra=*/0px;
	}
	
	.AdminEditRow_longfield{
		font-size: 14px;
		text-align: left;
		padding: /*sopra=*/10px /*destra=*/10px /*sotto=*/15px /*sinistra=*/0px;
		width: 90%;
        overflow: hidden;
	}


}

/*************** Formattazione degli input ******************/
/* Altezza e stile unificati per input e select: compatti, stesso sfondo e testo */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="password"],
input[type="datetime-local"],
select {
	height: 28px;
	line-height: 26px;
	padding: 0 6px;
	margin: 2px 0;
	font-size: 13px;
	color: var(--color-text, #2d3a52);
	background-color: var(--color-bg-surface, #fff);
	font-family: var(--font-family);
	display: inline-block;
	border: 1px solid var(--color-border, #dfe6f5);
	border-radius: 4px;
	box-sizing: border-box;
	vertical-align: middle;
}

/* Select: allineamento testo e altezza (alcuni browser ignorano height su select) */
select {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235E5D5B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 6px center;
	padding-right: 24px;
	min-height: 28px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
select:focus {
	outline: none;
	border-color: var(--color-brand, #022363);
	box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.2);
}

/* Textarea: stesso colore/sfondo/bordo, altezza variabile */
textarea {
	font-size: 13px;
	color: #5E5D5B;
	background-color: #FFF;
	padding: 4px 6px;
	margin: 2px 0;
	min-height: 52px;
	border: 1px solid var(--color-border, #dfe6f5);
	border-radius: 4px;
	box-sizing: border-box;
	font-family: var(--font-family);
	line-height: 1.35;
	resize: vertical;
}

textarea:focus {
	outline: none;
	border-color: var(--color-brand, #022363);
	box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.2);
}

input[type=submit], .Botton {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: white;
    height: 28px;
    line-height: 28px;
    padding: 0 14px;
    margin: 2px 1.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.25px;
    box-shadow: 0 2px 4px rgba(21, 101, 192, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    font-size: 11px;
    box-sizing: border-box;
    vertical-align: middle;
}

input[type=submit]:hover, .Botton:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    box-shadow: 0 3px 6px rgba(21, 101, 192, 0.28);
    color: #ffffff;
}

input[type=submit]:active, .Botton:active {
    transform: none;
    box-shadow: 0 1px 3px rgba(21, 101, 192, 0.2);
}

/************* SELECT STAMPA ACQUISTI (bottone visibile + select trasparente) **************/
.StampaSelect {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 2px 3px;
	height: 28px;
	min-width: 88px;
}

.StampaSelect-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 28px;
	min-width: 88px;
	padding: 0 20px 0 10px;
	background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
	color: #ffffff;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.25px;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(21, 101, 192, 0.2);
	font-family: var(--font-family);
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.StampaSelect::after {
	content: "";
	position: absolute;
	right: 7px;
	top: 50%;
	width: 0;
	height: 0;
	margin-top: -2px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #ffffff;
	pointer-events: none;
	z-index: 3;
}

.StampaSelect-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	opacity: 0;
	cursor: pointer;
	z-index: 4;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	font-size: 11px;
}

.StampaSelect-overlay:focus {
	outline: none;
}

.StampaSelect--compact {
	min-width: 76px;
}

.StampaSelect--compact .StampaSelect-label {
	min-width: 76px;
	padding: 0 18px 0 8px;
	font-size: 10px;
}

.StampaSelect--compact::after {
	right: 6px;
}

/************* BOTTONI **************/
.BottonLink {
	background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: white;
	font-weight: 600;
    height: 28px;
    line-height: 28px;
    padding: 0 14px;
    margin: 2px 3px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.25px;
    box-shadow: 0 2px 4px rgba(21, 101, 192, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    font-size: 11px;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: center;
}

.BottonLinkChiaro {
	background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
	color: white;
	font-weight: 600;
	height: 28px;
	line-height: 28px;
	padding: 0 14px;
	margin: 2px 3px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	letter-spacing: 0.25px;
	box-shadow: 0 2px 4px rgba(66, 165, 245, 0.22);
	transition: background 0.2s ease, box-shadow 0.2s ease;
	text-transform: uppercase;
	font-size: 11px;
	box-sizing: border-box;
	vertical-align: middle;
	text-align: center;
}

.BottonLink:hover { 
	background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    box-shadow: 0 3px 6px rgba(21, 101, 192, 0.28);
    color: #ffffff;
}

.BottonLink:active {
    transform: none;
    box-shadow: 0 1px 3px rgba(21, 101, 192, 0.2);
}

.BottonLinkChiaro:hover { 
	background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
	box-shadow: 0 3px 6px rgba(66, 165, 245, 0.28);
	color: #ffffff;
}

.BottonLinkChiaro:active {
	box-shadow: 0 1px 3px rgba(66, 165, 245, 0.2);
}

.AlertBottonLink {
	background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
	color: white;
	font-weight: 600;
	height: 28px;
	line-height: 28px;
	padding: 0 14px;
	margin: 2px 3px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	letter-spacing: 0.25px;
	box-shadow: 0 2px 4px rgba(198, 40, 40, 0.22);
	transition: background 0.2s ease, box-shadow 0.2s ease;
	text-transform: uppercase;
	font-size: 11px;
	box-sizing: border-box;
	vertical-align: middle;
	text-align: center;
}

.AlertBottonLink:hover { 
	background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
	box-shadow: 0 3px 6px rgba(198, 40, 40, 0.28);
	color: #ffffff;
}

.AlertBottonLink:active {
	box-shadow: 0 1px 3px rgba(198, 40, 40, 0.2);
}

/* Variante "icona" per azioni distruttive (cestino rosso) */
.AlertBottonIcon {
	background: linear-gradient(135deg, #c62828 0%, #d32f2f 100%);
	color: #ffffff;
	font-weight: 700;
	padding: 6px 10px;
	margin: 0;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	box-shadow: 0 3px 6px rgba(198, 40, 40, 0.25), 0 1.5px 3px rgba(211, 47, 47, 0.15);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: 0.95rem;
	line-height: 1;
}

.AlertBottonIcon:hover {
	background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
	transform: translateY(-1.5px);
	box-shadow: 0 6px 12px rgba(198, 40, 40, 0.35), 0 3px 6px rgba(211, 47, 47, 0.25);
	color: #ffffff;
}

.AlertBottonIcon:active {
	transform: translateY(0);
	box-shadow: 0 1.5px 3px rgba(198, 40, 40, 0.2);
}

/************* BOTTONE CONTATTACI FISSO **************/
#ContactButton {
	position: fixed !important;
	bottom: 35px !important;
	right: 30px !important;
	z-index: 99999 !important;
	pointer-events: auto !important;
	background: #FFFFFF !important;
	border-radius: 10px !important;
	padding: 0 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.ContactButtonLink {
	background-image: linear-gradient(135deg, #022363 0%, #1a4a8a 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	color: transparent !important;
	font-weight: 700 !important;
    padding: 16px 47px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-decoration: none !important;
    letter-spacing: -0.5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: none !important;
    font-size: 1.5rem !important;
	position: relative;
	overflow: visible;
	animation: pulseContact 2.5s infinite;
}

.ContactButtonLink::after {
	content: '';
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 4px;
	background: linear-gradient(90deg, transparent, #3399FF, transparent);
	border-radius: 2px;
	box-shadow: 0 2px 4px rgba(51, 153, 255, 0.3);
	z-index: 0;
}

@keyframes pulseContact {
	0% {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
		transform: scale(1.02);
	}
	100% {
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
		transform: scale(1);
	}
}

.ContactButtonLink:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
	animation: none !important;
}

.ContactButtonLink:active {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15), 0 3px 9px rgba(0, 0, 0, 0.1) !important;
}

/*************** SHITCH ON/OFF *********************/
.onoffswitch {
    position: relative; width: 90px;
   /* -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;*/
}
.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #34A7C1; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 6px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 56px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}



@media screen and (min-width: 768px) {

	.BigButtonBox{
		width: 31%;  		
		background-color:#3399FF;
		text-align: center;
		margin: 1%;
		float: left;
		border-radius: 10px;
		
	}
	.BigButtonBox input{
		background-color:#3399FF;
		font-size: 1.2rem;
		min-height: 100px;
		font-weight: bold;
		width: 100%;
	    margin-right: auto;
	    margin-left: auto;
	}	
}

@media screen and (max-width: 767px) {
	
	.BigButtonBox{
		width: 96%;  		
		font-weight: bold;
		text-align: center;
		margin: 1%;
		padding: 1%;
		background-color:#0033CC;
		color:#FFFFFF;
		border-radius: 10px;
	}
    .BigButtonBox input{
		background-color:#0033CC;
		font-size: 2rem;
		font-weight: bold;
	}
}

/*********TABELLA RESPONSIVE **********/

/* Modali edit pagamento: markup fuori dalla tabella (evita display rotto dentro td/tr) */
.PagamentiModaliFuoriTabella {
	clear: both;
}

.RespTable{
	width: 100%;
	border-collapse: collapse;
}

.RespTable td,.RespTable th{
  padding:5px 5px;
  border: 1px solid #ddd;
  text-align: left;
  font-size:16px;
}

.RespTable th{
	background-color: var(--bg01);
	color:#ffffff;
}

.RespTable tbody tr:nth-child(even){
	background-color: #f5f5f5;
}

/*parte responsiveness*/

@media(max-width: 768px){
	.RespTable thead{
		display: none;
	}

	.RespTable, .RespTable tbody, .RespTable tr, .RespTable td{
		display: block;
		width: 100%;
	}
	.RespTable tr{
		margin-bottom:15px;
	}
	.RespTable td{
		text-align: right;
		padding-left: 50%;
		text-align: right;
		position: relative;
	}
	.RespTable td::before{
		content: attr(data-label);
		position: absolute;
		left:0;
		width: 50%;
		padding-left:15px;
		font-size:15px;
		font-weight: bold;
		text-align: left;
	}
}

/********* toggle validazione pagamento **********/
.PagamentoValidaToggleForm{
	display: inline;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}
.PagamentoValidaToggle{
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 2px 4px;
	line-height: 0;
	vertical-align: middle;
}
.PagamentoValidaToggle img{
	display: block;
}
.PagamentoValidaToggle--si img{
	filter: none;
	opacity: 1;
}
.PagamentoValidaToggle--no img{
	filter: grayscale(1);
	opacity: 0.35;
}
.PagamentoValidaToggle:hover img,
.PagamentoValidaToggle:focus img{
	opacity: 0.85;
}
.PagamentoValidaCell{
	text-align: center;
	white-space: nowrap;
}

/********* check barcode **********/
tr.completato {
  background-color: #e0e0e0 !important;
  color: green;
}
#lettore-barcode {
  font-size: 1.2em;
  padding: 10px;
  margin-top: 20px;
  width: 300px;
}

/********* riepilogo resi carrello (cliente) **********/
td.ResoOrdineRiepilogoCell {
	text-align: left;
}

.ResoOrdineRiepilogo {
	margin: 8px 0;
	text-align: left;
	font-size: 12px;
	line-height: 1.35;
	opacity: 0.9;
}

/********* Jeditable (Scripts/inline_edit.js) — inline edit ***********/
/* La classe form.jeditable-form è impostata dai default del plugin. */

form.jeditable-form {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	gap: 0.35rem 0.5rem;
	vertical-align: middle;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.15rem 0;
	line-height: 1.25;
	position: relative;
	z-index: 5;
}

form.jeditable-form input[type="text"],
form.jeditable-form input:not([type]),
form.jeditable-form input[type="date"],
form.jeditable-form input[type="number"] {
	box-sizing: border-box;
	min-width: 10rem !important;
	width: auto !important;
	max-width: min(100%, 36rem) !important;
	padding: 0.35rem 0.55rem;
	vertical-align: middle;
	border: 1px solid #6c757d;
	border-radius: 0.25rem;
	background-color: #fff;
}

form.jeditable-form input[type="text"]:focus,
form.jeditable-form input:not([type]):focus,
form.jeditable-form input[type="date"]:focus,
form.jeditable-form input[type="number"]:focus {
	outline: 0;
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
}

form.jeditable-form textarea {
	box-sizing: border-box;
	display: block;
	min-width: min(100%, 20rem) !important;
	width: min(100%, 42rem) !important;
	max-width: 100% !important;
	min-height: 5.5rem;
	padding: 0.45rem 0.6rem;
	resize: vertical;
	vertical-align: top;
	border: 1px solid #6c757d;
	border-radius: 0.25rem;
	background-color: #fff;
	line-height: 1.35;
}

form.jeditable-form textarea:focus {
	outline: 0;
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
}

form.jeditable-form select {
	box-sizing: border-box;
	min-width: 12rem !important;
	max-width: min(100%, 28rem) !important;
	padding: 0.3rem 2rem 0.3rem 0.45rem;
	vertical-align: middle;
	border: 1px solid #6c757d;
	border-radius: 0.25rem;
	background-color: #fff;
}

form.jeditable-form select:focus {
	outline: 0;
	border-color: #0d6efd;
	box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
}

form.jeditable-form button[type="submit"],
form.jeditable-form button[type="cancel"] {
	flex-shrink: 0;
	padding: 0.3rem 0.65rem;
	font-size: 0.875rem;
	line-height: 1.2;
	vertical-align: middle;
}

.editpurchase,
.editproductfield,
.editfattura,
.editrighefattura,
.editgruppoacquisto,
.editrigagruppoacquisto,
.editphotourl,
.editphotodidascalia,
.editphotoorder,
.editconfigservizi,
.editconfigservizi_valore,
.editconfigservizi_date,
.editopzionevarianteetichetta,
.editopzionevariantevalore,
.editsconto,
.editsedeindirizzo,
.editsedenr,
.editsedeinsegna,
.editsedecap,
.editcodiceinterno,
.edit,
[class^="editselect"] {
	display: inline-block;
	max-width: 100%;
	vertical-align: baseline;
	box-sizing: border-box;
}

.editproductfield {
	cursor: pointer;
	padding: 2px 4px;
	min-width: 2.5rem;
}

.editproductfield:hover {
	background-color: #f0f0f0;
	border-radius: 3px;
}

button.PagamentoValidatoToggle {
	min-width: 3.25em;
	cursor: pointer;
}

span.PagamentoValidatoHint {
	color: #666;
	font-size: 0.9em;
}


