/********** RESET **********/

	html {
		/*font-size: 16px;*/ /* E' pari al default del browser, ma non lo definiamo */
	}
	
	html, body {
		background-color: var(--wec-color-bg);
		color: var(--wec-color-fg);
	}
	
	svg {
		color: var(--wec-color-fg);
	}
	
	svg[fill="none"] > path { /* icone outline flowbite/heroicons */
	    fill: none;
	    stroke: currentColor;
	}
	
	svg:not([fill="none"]) > path { /* icone solid flowbite/heroicons */
	    fill: currentColor;
	    stroke: none;
	}
	
	table {
		width: 100%;
	}
	
/* --------- RESET --------- */

/********** REGOLE ACCESSIBILITA' **********/

	table.table_form thead.just_for_aria_rules,
	table.table_data thead.just_for_aria_rules {
		font-size: 0px; /* Costrutto html utile solo a screenreaders */
	}

/* --------- REGOLE ACCESSIBILITA' --------- */

/********** FIX JGROWL **********/

/* --------- FIX JGROWL --------- */

/********** FIX JPLAYER **********/

	.my-jp-container {
		box-sizing: content-box;
	}

/* --------- FIX JPLAYER --------- */

/********** FIX BXSLIDER **********/

	.bx-wrapper {
		box-sizing: content-box;
	}
	
	.bx-wrapper .bx-pager.bx-default-pager a {
		border: 1px solid #000;
		background: #fff !important;
		font-size: 16px; /* Regole per Accessibilità perchè il bx-wrapper è un tag a */
		color: var(--wec-color-fg); /* Regole per Accessibilità perchè il bx-wrapper è un tag a */
	}

	.bx-wrapper .bx-pager.bx-default-pager a.active  {
		background: var(--wec-color-fg) !important;
		color: var(--wec-color-bg); /* Regole per Accessibilità perchè il bx-wrapper è un tag a */
	}

/* --------- FIX BXSLIDER --------- */

/********** FIX AUTOCOMPLETE **********/

	.ui-autocomplete {
		z-index: 1000;
	}
	
	.ui-autocomplete.ui-menu .ui-menu-item {
		height: auto;
	}
	
	.ui-autocomplete.ui-menu .ui-menu-item {
		margin: 0;
		padding: 2px 5px;
		cursor: pointer;
		display: block;
		width: 100%;
		overflow: hidden;
		font-size: 12px;
	}
	
	.ui-autocomplete.ui-menu .ui-menu-item .ui-menu-item-wrapper {
		padding: 0;
		font-weight: normal;
		border: none;
	}
	
	.ui-autocomplete.ui-menu .ui-menu-item .ui-menu-item-wrapper.ui-state-active {
		color: #97a2a6;
		background: #fff;
	}
	
	.ui-autocomplete-loading {
		background: #fff url("/mediaweb/std_ec/images/ui-anim_basic_16x16.gif") right center no-repeat !important;
	}
	
	.ui-autocomplete-mobile {
		display: none;
	}

/* --------- FIX AUTOCOMPLETE --------- */

/********** IUBENDA **********/

/*
	#iubenda-cs-banner {
		background-color: #333 !important;
		opacity: 0.9;
	}
	
	#iubenda-cs-banner .iubenda-cs-content {
		background-color: #333 !important;
	}
*/

/* --------- IUBENDA --------- */

/********** PAGINATORE **********/

/* Nota: le regole del paginatore arrivano dal modulo task (task.css) */

	.paginatore {
	}

/********** FINE PAGINATORE **********/

/********** ELEMENTI GENERICI **********/

	.flex_filler {
		height: 0 !important;
		width: 0 !important;
		min-height: 0 !important;
		min-width: 0 !important;
		border: none !important;
		padding: 0 !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;

		/* NO! I seguenti no, altrimenti riprende sbarellamento */

		/*
		max-width: 0px !important;
		max-height: 0px !important;
		margin: 0px !important;
		*/
	}
	
	div.clear {
		clear: both;
	}
	
	div.min_width_unset_important {
		min-width: unset !important;
	}
	
	.search_index_score {
		display: none;
	}

	ul.sortable li {
		list-style: none;
	}
	
	ul.errorlist {
		list-style: none;
		padding: 0 0 2px;
	}

	ul.errorlist > li {
		color: #fff;
		background-color: #DC2626;
		padding: 2px;
	}
	
	.form_legenda {
		font-size: 0.8em;
	}

	#comet_website_update {
		width: 489px;
		padding: 10px;
		margin-left: auto;
		margin-right: auto;
		font-size: 1.5em;
		font-weight: bold;
		background-color: #fff;
	}

	.ajaxerror_status {
		font-weight: bold;
		color: #f00;
	}

	/* Sì... ma anche no, meglio definirlo caso per caso nei vari contesti
	.my-ui-state-focus {
		color: var(--wec-color-focus);
	}
	*/
	
	.my-ui-state-disabled {
		opacity: 0.35;
	}
	
	/* Override themeroller */
	
	.ui-widget.ui-widget-content {
		border: 1px solid #000;
	}

	.ui-widget-header {
		background: none;
		border: none;
	}

/* --------- ELEMENTI GENERICI --------- */

/********** NAVBAR TAB **********/

	/* Non contemplato per il desktop */

/* --------- NAVBAR TAB --------- */


/********** PRINTER **********/

	@media print {
		@page {
			size: 210mm 297mm;
			margin: 10mm;
		}
		
		* {
			background: transparent !important;
			color: #000 !important;
		}
		
		#body,
		body {
			font-family: Verdana, Geneva, sans-serif;
			font-size: 10px;	
		}
		
		.carrello .carrello_elenco_articoli .carrello_prezzo_unitario .carrello_prezzo_barrato {
			background-image: none;
		}
	}

/********** FINE PRINTER **********/
