/* stili per il layout */
html,body { margin:0; padding:0; width:100%; }

body {
	font-family: 'Lato', sans-serif;
  font-family: 'Noto', sans-serif;  
	font-size: 14px;
	text-decoration: none;
	text-align: center;
	color: #3b2b2b;
	background-color:#FFFFFF;
	background-image: url("images/sfondo_cartapaglia_chiara.jpg");
	background-repeat: repeat;
	background-position: top center;
  background-attachment: fixed;
}

p {
  margin: 0 0 10px;
  line-height: 20px;
}
h1 { font-size: 1.5em; font-family: 'Yusei Magic', sans-serif; color: #428504; color: #516f21; margin-top: 0; text-transform: uppercase; } 
h2 { font-size: 1.2em; font-family: 'Yusei Magic', sans-serif; }
h3 { font-size: 1.1em; }

.small { font-size: 0.8em; }
.bigger { font-size: 1.2em; }
 
.steps img {
  max-height: 45px;
  vertical-align: middle;
}
.steps .freccia {
  max-height: 30px;
  vertical-align: middle;
}
.steps span {
  display: inline-table;
  width: 80px;
  line-height: 3px;
  height: 3px;
  background-color: #3a2b2b;
}
.steps-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 450px;
  height: auto;
  font-weight: bold;
  margin: -10px auto 10px;  
}
.steps-text span {
  width: 27%;
  text-align: center;
}

/* preferiti */
a.preferiti {
  display: inline-flex;
  color: #8d9a81; /* come l'icona */ 
  font-size: 18px;
}
a.preferiti img {
  margin-right: 4px;
}  

.novita {
  display: inline-flex;
  color: #b4864d; /* come la pera dell' header */ 
  font-size: 18px;
}  

/* form ricerca pagina riassunto prodotti */    
.form_ricerca_prodotto .colonna_sx { 
  display: inline-block;
  width: 300px;
  text-align: right;
  border: 0px dotted red;
}
.form_ricerca_prodotto .colonna_dx { 
  display: inline-block; 
  width: 80px;
  text-align: left;
}
.form_ricerca_prodotto input[type="text"] { 
  width: 220px;
}    
    
/* trasformazione di un radio button in un toggle */
.yc-form {
  display: inline-flex;
  margin-left: 10px;
  background-color: #ffffff80;
  color: #ffffff00;
  border: 1px solid #b2afb5;  /* grigio */  
  border-radius: 10px;
}

.yc-form input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
}

.yc-form label {
  font-size: 12px;
  text-align: center;
  padding: 1px 8px;
}

.yc-form label:hover {
  cursor: pointer;
}

.yc-form input.toggle_on:checked+label {
  background-color: #516f21;
}

.yc-form input.toggle_off:checked+label {
  background-color: #b2afb5;
}
.yc-form label:first-of-type {
  border-radius: 20px 0 0 20px;
    border-radius: 10px;
}
.yc-form label:last-of-type {
  border-radius: 0 20px 20px 0;
    border-radius: 10px;
}
 
.boxer,
fieldset { 
  position: relative;
  display: inline-block;  
	margin: 0 auto 20px;
  background-color: #ffffff80;
  border-radius: 12px;        
  border: 0px solid #3a2b2b;
  padding: 6px 4px;
    min-width: 51%; /* serve per non far affiancare il blocco da altro blocco, di defaul non voglio che accada! */
}
.border {
  display: block;
  width: fit-content;
  border: 2px solid #3b2b2b;
	margin: 0 auto 20px;
}

.stato .boxer { 
  display: block;  
}
.boxer .nopadd { 
  padding: 0px !important; 
}
.stato .boxer {
  max-width: 500px;
  display: block;
}
.boxer.in_colonna {
  min-width: unset;
}
.ordini_correnti_bacheca {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}
.ordini_correnti_bacheca > div {
  width: 33%;
  border: 0;
}  
.ordini_correnti_bacheca > div:not(:last-child) {
  border-right: 2px solid;
}

fieldset.fullwidth { 
  display: block;  
}

a { 
  color:#69594F; 
		color: #3b2b2b;
  /*font-family: 'Sue Ellen Francisco', cursive; text-decoration:none;*/ 
  font-weight: bold; 
  text-decoration: none;
  /*line-height: 1.2em;*/ 
}
a.light {
  font-weight: normal;
}
.current,
a:not(.brown_button):hover {
  color:#EE112D;
    color: #d31a17 !important; 
  font-weight: bold;
}
.data_loading,
.only_smart,
#producer_moreinfo,
#container:not(.admin) #msg_acquisto {
  display: none;
}
     
#data_loading { display: block; position: absolute; width: 90%; height: 90%; top: 5%; left: 5%; padding-top: 200px; }
#data_ok{ display: none; }
#container { /*display: none;*/ }

.confezione_smart,
.details {
  font-size: 0.9em;
  display: none;
}
.colonna_confezione,
.open-details:hover .details {
  display: block;
}

#nav {
	position: fixed;
  width: 1200px;
	height: 50px;  /* 50-6-6 */
  	height: 45px; 
	top: 0px;
	margin: 210px auto 0;
  display: block;
  line-height: 36px;
	text-align: center;
	font-size: 18px;
	background-image: url("images/sfondo_cartapaglia_chiara.jpg");
	background-repeat: repeat;
	background-position: top center;
	border-top: 6px dotted #3b2b2b;
	border-bottom: 6px dotted #3b2b2b;
	z-index: 300;
    font-family: 'Yusei Magic', sans-serif;
    font-size: 18px; 
}
#nav a { 
  color: #3b2b2b; 
}
#nav a.current { 
	color: #3b2b2b;
}
#nav table tr td { 
  vertical-align: middle !important;
}

.nav_flex_child { 
  display: flex; 
  flex-flow: row nowrap; 
  justify-content: space-evenly; 
    margin: 0px;
  line-height: 42px;    
}

#nav_smart,
#header {
	display: block;
	position: fixed;
	width: 1200px;
  height: 210px;
	top: 0;
	margin: 0 auto;         
  padding-top: 0px;
	background-image: url("images/sfondo_cartapaglia_chiara.jpg");
	background-repeat: repeat;
	background-position: top center;
	text-align: center;
	z-index: 500;
}
#nav_smart {
  display: none;
}   
.header_login {
	position: absolute;
  width: 180px;
    width: auto;
      min-width: 130px;
  height: 145px;
  top: 0px;
  right: 0;
  margin-top: 0px;
  margin-right: 10px;
  background-color: #efefef80;
  padding: 24px 6px 6px;
	text-align: right;
  border-bottom-left-radius: 16px;    
  border-bottom-right-radius: 16px;    
  z-index: 700;
}
.smart_login {
  position: relative;
  width: 100%;
  margin: 11px 0 10px;
  padding: 0;
  display: none;
}

.header_login .form-login {
  text-align: right;
}
.brown_button {
  display: inline-block;
  margin: 4px auto 0;
  cursor: pointer;
  background-color: #3b2b2b;
  color: #efefef;
  font-size: 14px;
  font-weight: normal;
  border: 0;
  border-radius: 2px;
  padding: 6px 6px;
  text-transform: uppercase;
}
.brown_button:hover {
  background-color: #d31a17;
  color: #efefef !important;
  font-weight: normal !important;
}
.brown_button.disabled:hover,
.brown_button.disabled {
  background-color: #cec7c7;
  color: #979090;
  cursor: auto;
}

.login_form input[type=password],
.login_form input[type=text] {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid #3b2b2b;
  width: 150px; 
  margin: 0;
}
.smart_login .login_form input[type=password],
.smart_login .login_form input[type=text] {
  width: 35%;
  margin-right: 3%;
}

.brown_button.small,
.cart .brown_button,
.login_form .brown_button {
  padding: 1px 6px;
}
.header_login .logo-login {
  width: 18px !important;
  height: 18px !important;
  vertical-align: bottom;
}
.header_login .login-wishlist,
.header_login .login-user,
.header_login .login-cart {
  display: inline-block;
  width: 49%;
    width: 85px;
  float: right;
  text-align: center;
}
.header_login .login-wishlist img,
.header_login .login-user img,
.header_login .login-cart img {
  display: block;
  margin: 0 auto;
  max-width: 50px;
}

.hub .header_login .login-user img {
  max-width: 75px;
}

.header_login .login-wishlist > *,      
.header_login .login-cart > * {
  display: block;
}    
.header_login .login-name {
  display: block;
  width: 100%;
  text-align: right;
  margin-bottom: 10px;
  font-weight: bold;
}                             

.dots-over-header {
	position: absolute;
  width: 100%;
  height: 20px;
  top: 0px;
  margin-top: 10px;
	border-top: 6px dotted #3b2b2b;
  z-index: 1000;
}

.wishlist-exploded,
.cart-exploded,
.user-exploded {
	position: relative;
	width: 180px;
  height: 0;
  top: 0;
  right: 6px;
  background-color: #efefef;
  /*border-bottom-left-radius: 16px;*/
  /*border-bottom-right-radius: 16px;*/
  border-radius: 12px;
	z-index: 20000;
  padding: 0;
  text-align: left; 
    overflow: hidden;
  transition: height .25s ease-in-out;
    display: none;
}
.user-exploded {
  width: 130px;
  right: 50px; 
}
.consiglio .user-exploded,
.admin .user-exploded {
  width: 180px;
  right: 100px; 
}
.cart-exploded {
  right: 94px; 
    right: 55px; 
}
.wishlist-exploded {
  width: 130px;
  right: 6px;
  text-align: center; 
}
.user-exploded li {
  margin-bottom: 1px !important;
}  
.user-exploded li a {
  font-size: 12px;
}
#header .login-user li {
  margin-bottom: 4px;
  text-align: right;
}
.white,
#header .login-wishlist:hover,
#header .login-cart:hover,
#header .login-user:hover {
  background-color: #efefefff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
#header .login-wishlist:hover .wishlist-exploded,
#header .login-cart:hover .cart-exploded,
#header .login-user:hover .user-exploded {
  display: block !important;
  height: 400px;
  height: 100%;
  padding: 18px 10px 10px;
} 
#header .login-wishlist .wishlist-exploded,
#header .login-cart:hover .user-exploded,
#header .login-user:hover .cart-exploded {
  display: none !important;
  height: 0;
}

.acquista:hover,
#header .login-wishlist:hover img,
#header .login-cart:hover img,
#header .login-user:hover img {
  transform: scale(1.1);
} 
.non_disponibile {
  cursor: unset;
}
.cart-exploded .cart fieldset {
  background-color: unset;
  font-size: 0.8em;
}
.cart-exploded .cart table {
  line-height: normal;
}
.cart-exploded .cart .cropped_thumb {
  width: 40px;
  height: 40px;
}
.carrello .boxer {
  max-width: 500px;
  margin: 0 auto 10px;
}
.carrello .cart .cropped_thumb {
  width: 80px;
  height: 80px;
}

#content {
  position: relative;
  display: table; /* permette che sia alto quanto i contenuti che contiene! */
	width: 100%;
  height: auto;
    min-height: 400px;
	margin: 280px auto 18px;
  padding: 0;
	text-align: center;
}
#manutenzione {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  margin: 220px auto 50px;
}

.page {
  position: relative;
  width: auto;
  height: auto;
  margin: 0 0 10px;
  text-align: center;
	padding: 20px 20px;
    background-color: #ffffff80;
    border-radius: 12px;
}
.homepage-area {
  margin: 30px auto 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: stretch;
}
.carrello #main,
.consegna #main,
.categoria #main,
.pertipologia #main,
.produttori #main,
.homepage #main {
  background-color: unset;
}

#footer {
	position: relative;
	margin: 10px auto 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	line-height: 24px;     
  padding: 10px;
	border-top: 6px dotted #3b2b2b;
}


/* ************************************* */

#container {
  position: relative;   			
  width:1024px;
    width:1200px;    
  margin:0 auto; 
	text-align:center;
  padding: 0; 
  border: 0px dashed red; 
}

.like_a_table {
    display: table;
    width: auto;
    overflow: auto;
    margin: 0 auto;
		text-align: left;
    border: 0px dashed yellow;      
} 

.page img,
.like_a_table img {
  width: 100%;
  max-width: 100%;
}
.page.produttore img {
  max-height: 280px;
}
img.icon {
  width: 14px;
  height: 14px;
}

.like_a_table img {
  max-width: 1000px;
}
.box_container {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin: 20px 0px;
}
.box_container.box_aligncenter {
  justify-content: center;
}

.box_meta_meta {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}  

.box_meta_meta > div:nth-child(1) {
  width: 49%;
  margin: 0 auto;
  display: inline-table;
}
.box_meta_meta > div:nth-child(2) {
  width: 49%;
  margin: 0 auto;
  display: inline-table;
  border-left: 2px solid #333333;
}

.produttori .page {
  display: flex !important;
  flex-flow: row wrap;
  padding: 6px 14px !important;
  margin-bottom: 20px;
}
.produttori .page #content {
  width: auto;
}
.produttori .page #footer {
  width: 100%;
}
.produttori .page {
  align-items: center;  
} 
.produttori .page > div:nth-child(1) {
  width: 30%;
  margin-right: 2%;
  text-align: right;
}
.produttori .page > div:nth-child(2) {
  width: 65%;
  text-align: left;
}
.produttori .page .immagine_produttore {
  max-width: 80%;
}
.prodotti .page .immagine_produttore {
  width: auto !important;
  padding-top: 8px;
  border: 0px solid #3b2b2b;
  border-radius: 4px;  
}
.prodotti .produttore > div:nth-child(1) {
  width: 400px;
  float: left;
}
.prodotti .produttore > div:nth-child(2) {
  margin-left: 420px;
  text-align: left;
}

.chisiamo #video > div:nth-child(1) {
  float: left; 
  width: 40%; 
  padding-right: 40px;
}
.chisiamo #video > div:nth-child(2) {
  float: left;
  width: 49%; 
  display: contents; 
}

.box_prodotto,
.box_tipologia {
  position: relative;
  width: 15%;
	text-align: center;
  margin: 6px;  /* mi server per impaginare correttamente i box nella sezione 'pertipologia' */
  padding: 10px 2px;        
    padding: 6px 2px;        
  background-color: #ffffff80;
  border-radius: 12px;
}

.box_tipologia.fiori,
.box_tipologia.idee_regalo,
.box_tipologia.cosmetici,
.box_tipologia.piantine {
  background-color: #aec3b7b6;      /* sfondo verdino */
}
.box_prodotto.fiori,
.box_prodotto.idee_regalo,
.box_prodotto.cosmetici,
.box_prodotto.piantine {
  background-color: #e2ebe6b6;      /* sfondo verdino ma diverso */
}

.box_prodotto {
  min-width: 180px;   
  padding: 6px 2px 0px;     
  margin: 0 0.5% 20px;    
}
.tabella_carrello {
  min-width: 460px;
}    
.tabella_carrello input[name="note"] {
  width: 70%;
  min-width: 230px;
  min-width: 195px;
  display: inline-block;
}
.tabella_carrello input[name="salva_nota"] {
  width: 25%;
  min-width: 95px;
  display: inline-block;
}
.tabella_carrello input[name="authcode"] {
  width: 50px;
}  

.tabella_carrello p,
.box_prodotto p {
  margin-bottom: 2px;
}
.tabella_carrello .scelta_consegna * {
  margin-bottom: 6px;
}

.tabella_carrello.mini p {
  line-height: inherit;
}
.tabella_carrello.mini .cropped_thumb {
  width: 40px;
  height: 40px;
}
.icona_frigo {
  margin-left: 4px; 
}
.tabella_carrello.mini .icona_frigo {
  display: none;
}  

.tabella_carrello.mini tr {
  vertical-align: top;
}

.nome_prodotto { 
  font-size: 16px; 
  font-weight: bold; 
  text-transform: uppercase;
  word-break: break-word;
}
.prodotto .nome_prodotto {
  font-size: 24px;
}    
.conf_prodotto {
  font-size: 12px;
}
.prezzo_prodotto {
  font-size: 14px;
}
.note_prodotto {
  font-style: italic;
}
.note_prodotto.acquistato {
  background-color: #516f20;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  width: 100%;
  bottom: -2px;
  left: 0;
  color: #ffffff;
  line-height: 28px;
}

.box_tipologia .cropped_thumb {
  width: 120px;
  height: 120px;
}
  
#header_smart {
	display: none;
			width:100%;
			height:180px;   /* vecchio header = 180 */
}
#header img,
#header_smart img {
  /*width:100%;*/
}
#header img {
  /*height: 230px;*/    
}
#header_smart img {
  height: 245px;    
    height: auto;    
}

.msg_error {
	position:relative;
	width: 780px;
	  width: 1024px;
    width: 98%;
	height: auto;
	margin: 0 auto;
	z-index: 100;
	margin-top: 6px;
  margin-bottom: 16px;
  padding: 6px 4px; /* sopra e sotto - dx e sx */
	text-align: left;
	font-size: 1.1em;
	border: 0;
  border-radius: 5px;
  background-color: #E80017;
  background-color: #CC2C3C; /* nuovo rosso 2021 */
  background-color: #aa323a; /* rosso pomodooro 2022 */
  background-color: #c95159; /* rosso un po più scuro 2025 */
  color: #fcfcfc;
  text-align: left;          
}
.msg_bar {
	position:relative;
  display: inline-block;
  width: auto;
	height: auto;
	min-width: 480px;
	max-width: 98%;
  margin: 0 auto;
	z-index: 100;
	margin-top: 6px;
  margin-bottom: 16px;
  background-color: #7a9043; /* verde foglia header */
	font-size: 1.1em;
	text-align: left;
  color: #fcfcfc;
  padding: 6px 4px; /* sopra e sotto - dx e sx */
	border: 0;
  border-radius: 5px;
}

.homepage-box {
  width: 30%;
  text-align: center;
  margin: 0px 1% 0px;
    margin: 0;
}
.homepage-box .boxer {
  background-color: #ffffff80;
  font-size: 16px;
  text-align: justify;
  padding: 16px 0px 10px;
}
.homepage-box .boxer > * {
  padding: 0px 10px;
}
.homepage-box .boxer a {
  display: block;
  text-align: center;
  margin-top: 16px;
}
.homepage-box .over-the-boxer {
  height: 140px;
  text-align: center;
}
.homepage-box .over-the-boxer img {
  max-height: 100%;
}

.fullwidth {
  width: 99% !important;
}

.bg_different {
  background-color: #ffffff80;
}

#nav_smart .smart_menu_bar {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: normal;
}
#nav_smart .smart_menu_bar > div {
  /*width: 9%;*/       
  /*margin: 0 3%;*/
  /*padding: 0 2px;*/    
  width: 36px;
  height: 36px;
  background-color: #3a2b2b;
  border-radius: 10px;
}
#nav_smart .smart_menu_icon {
  width: 90%;
  height: auto;  
}
#wishlist_smart, 
#carrello_smart {
  color: #ffffff;
  font-weight: bold;
  margin-top: -8px;
    /* novità 2023 -> numero prodotti in un bollo e non più sotto all'icona carrello */
    position: absolute;
    margin-left: 24px;
    background-color: #a93e45;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
}
.smart_cart_info {
  width: 50%;
  height: 20px;
  margin-left: 50%;
  color: #333333;
  border-bottom: 1px solid #333333;
}
.filter_bar {
  width: 100%;
  padding: 20px 4px;
  display: -webkit-flex;
  flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
  -webkit-justify-content: space-around;
}

table {
  padding: 2px;
  line-height: normal;
    line-height: 20px;
  overflow-x: auto;            
}
td {
  vertical-align: top;
  line-height: normal;
}
table.allineamento_verticale_basso td { vertical-align: bottom; }

table.smart_table tr { display: table-row; }
table.smart_table td { width: auto; }
table.smart_table td > label { display: block; }

.nuovoutente table, 
.richiesta_iscrizione table { 
  width: 70%; 
}
  
.with_border { 
  border: 2px solid #3a2b2b !important; 
  border-radius: 4px; 
  margin-bottom: 10px; 
  padding: 10px; 
}

table.brownarea {
  width: 100%;             
  background-color: #3b2b2b; /* #50433b;*/
  color: #EFEFEF;
  padding: 0 !important;
}  
table.brownarea td {
  width: 50%;    
  padding: 0 !important;
}  
table.brownarea td.text {
  padding-left: 10px !important;
  text-align: left;
}  

.aligncenter {
	text-align: center !important;
}
.alignleft {
	text-align: left !important;
  /*display: inline-table;*/
}
.alignright {
	text-align: right !important;
  /*display: inline-table;*/
}

.floatleft {
  float: left;
}
.floatright {
  float: right;
  margin: 10px;
}
div.clear { 
  clear: both;
}
div.last {
  clear: left;
}

/* stili generici, header, ecc */
 
.error { background-color: #E80017; background-color: #c95159; color: #efefef; font-weight: normal; display:inline-block; width: auto; padding: 4px 24px; border-radius: 4px; }
.error a { color: #efefef; }
.error a:hover { color: #ffffff !important; }

.nome_produttore { color: #428504; font-size:16px; font-weight:normal; line-height:20px; }  /* verde chiaro */
.dim { background-color: #3a2b2b; color: #fefefe; font-size: 10px; padding: 0 4px; margin-left: 0px; }
.brown_data { background-color: #3a2b2b; color: #fefefe; padding: 1px 4px; }
.titolo_paragrafo { display: block; font-weight: bold; margin-top: 6px; }

.smart_menu_icon { width:80px; height:80px; }  
.smart_image { width:auto; height:auto; }
.smart_icon { width:auto; height:auto; max-height: 24px; cursor: pointer; }
.smart_icon.acquista { width:32px; max-height:32px; position:relative; top:-2px; right:-2px; }
.smart_a_capo { display: inline-block; }    

.pay-icon { width: 18px; height: 18px; border: 0; }
.social-icons { width: 28px; height: 28px; margin-top: -2px; margin-right: 12px; border: 2px solid !important; border-radius: 50%; }

/* 2020 */
.cropped_thumb:hover img { transform: scale(1.1); }

/* 2019 */
.locandina {
  float: left;
  margin: 0 10px 10px 0;
  max-width: 200px;
}

/* varie */
.prezzo_scontato {
  display: inline-block;
  min-height: 24px;
  min-width: 20px; 
  background-image:url("images/icon/spunta_rossa.png");                   
  background-repeat: no-repeat;
  background-position: top center;
}
  
.documentiamoci h3 {
  margin: 0px 2px;
  padding: 4px 2px 0px;    
}  

.tab_disp { display:block; width:32px; border:1px solid #ABADB3; background-color: #efefef; text-align:left; }

/* input butto etc */
.conti_add input[type="text"], 
.conti_add input[type="email"], 
.conti_add input[type="date"], 
.conti_add select { 
  width: 90%; 
}

input:focus { border: 0 !important; }

input[type="text"]:focus { background: #da761d; }
input[type='checkbox']:before {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #222;
  -webkit-border-radius: 9px;
  border-radius: 9px;
  background: #9F0000;
}

/* new 14/06/2019 */
input[type="text"].long:focus,
input[type="email"].long:focus {
  width: 250px;
  transition: ease-in-out, width .35s ease-in-out;
}
input[type="number"].long:focus {
  width: 80px;
  transition: ease-in-out, width .35s ease-in-out;
}
  
/* new 19/02/2020 */
a.in_evidenza {
  background-color: white !important;
  padding: 4px 10px 2px;
  border-radius: 4px;
  font-size: 1.2em !important;  
    display: inline-block;
}
/* new 12/05/2020 */
button.in_evidenza,
input.in_evidenza {
    background-color: white !important;
    padding: 8px 14px 6px;
    border-radius: 4px;
    font-size: 1.35em !important;  
}
button.in_evidenza .freccia,
input.in_evidenza .freccia {
  max-height: 14px;
}

/* new 22/01/2020 */
.like_a_button {
  cursor: default;
  background-color: buttonface;
  padding: 0px 6px;
  border: 1px solid gray;
  border-radius: 3px;
  font-weight: normal;  
}
.like_a_button:hover {
  background-color: #efefef;
  color: inherit;
  font-weight: normal;  
}
input[type="checkbox"] { 
  width: 18px; 
  height: 18px; 
  vertical-align: middle;
}

input[type="radio"].visibile { 
  border: 2px solid green; 
}

.mycheckbox { width:20px; height:20px; background: #FFFFFF; border: 1px solid #222;  -webkit-border-radius: 9px; border-radius: 9px; }
.mycheckbox_small { width:14px; height:14px; }
.button { background-color: transparent !important; border: 0; }
.nosubmit { cursor: pointer; color:#3b2b2b; font-size:1.0em; border:none; background-color: transparent; text-decoration:none; font-weight:bold; line-height:20px; }
.nosubmit:not(.disabilitato):hover { color:#E80017; line-height:20px; }
.nosubmit.disabilitato { cursor: inherit !important; background-color: #eae8e3 !important; color: #ffffff; font-weight: normal; }

.image_button { padding:0; border:0; background:transparent; cursor:pointer; transition-duration: 0.2s; }
.image_button:hover { transform: scale(1.01); }

li { margin-left:0px; padding-left: 2px; list-style:none; }

textarea { width: 98%; resize: vertical; overflow-x: hidden; /* disabilitare la scrollbar in IE */ }
input.text { background: transparent; border: 2px dotted #8D9A81; color:#E80017; width:145px; }
input.cerca { width:250px; font-size:1.1em; padding: 4px 6px; color:#8D9A81; margin:0; font-weight:normal; border: 2px dotted #8D9A81; background-color: transparent; }
input.disp { width:20px; }
input.cerca:focus { border: 2px dotted #8D9A81; background-color: transparent; }
.my_select select { background: transparent; border: 2px dotted #8D9A81; color:#E80017; width:145px; }

.questions-text-area { width: unset !important; resize: vertical; overflow-x: hidden; margin: 10px 0 0 16px; }
         
/* add 06/04/18 per personalizzare radio button del sondaggio! */
input[type="radio"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; }
input[type="number"] { width: 50px; max-width: 95%; }
input[type="email"] { width: 200px; max-width: 95%; } 

.nuovoutente input[type="email"], 
.richiesta_iscrizione input[type="email"] { width: 98%; max-width: 98%; } 
 
/* altro ancora */  
.nowrap { display: flex; display: -webkit-flex; flex-flow: row nowrap; -webkit-flex-flow: row nowrap; }
.double_underline { text-decoration: underline; padding: 0px 0px 1px 0px; border-bottom: solid 1px #000000; }
.single_product_image { float: left; display: inline-block; width: 30%; }
.single_product_data { /*margin-left: 30%;*/ display: inline-block; width: 65%;  }
.single_product_data > * { text-align: left; }

.product_thumb { width:auto; height:auto; max-width:100px; max-height:80px; }

.cropped_thumb, 
.cropped_thumb_mini, 
.cropped_thumb_maxi { 
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;    
  margin: 0 auto 10px;
  background-color: #FFFFFF;
} 
.cropped_thumb_mini { 
  width: 40px !important; 
  height: 40px !important; 
  max-width: 40px; 
  max-height:40px; 
}  
.cropped_thumb_maxi { 
  width: 240px;
  height: 240px;
  border-radius: 120px;
}
 
.cropped_thumb > img,
.cropped_thumb_mini > img,
.cropped_thumb_maxi > img {
  height: 100%;
  width: auto; 
  /* margin-left: -50px; */  
} 

.prod_image_grande { width:auto; height:auto; max-width:300px; max-height:300px; }
.icon { width:auto; height:auto; max-width:20px; max-height:20px; }

.tr_light td { background-color: rgba(0,0,0,0.1); }
.tr_dark td { background-color: rgba(100,100,100,0.1); }
.bottomline { border-bottom: 1px solid #69594F; }
.sopralineato { border-top: 1px solid #69594F; margin-top: 4px; padding-top: 0px; display: inline-block; }

/* colori pagina gestione prodotti */
.brown { color: #69594F; }
.green { color: #428504 !important; }
.red { color: #CC2C3C !important; }
.orange { color: #cc7700 !important; }
.lightblue { color: #0d73c1 !important; }
.lightbrown { color: #9C887C !important; }

.bk_brown { background-color: #69594F; color: #fefefe; padding: 1px 4px; }
.bk_green { background-color: #428504; color: #fefefe; padding: 1px 4px; }
.bk_red { background-color: #CC2C3C; color: #fefefe; padding: 1px 4px; }


.bold_row td { font-weight: bold; }
.red_row td { background-color: #CC2C3C; padding: 2px 4px; font-weight: normal; }
.green_row td { background-color: #428504; padding: 2px 4px; font-weight: normal; }
.brown_row td { background-color: #69594F; color: #fcfcfc; padding: 2px 4px; font-weight: normal; }
.brown_row td a { color: #fcfcfc !important; }
.del_row { text-decoration:line-through; }
.msg_cat { width:auto; max-width: 850px; margin: 16px auto; padding:2px; font-family:'Arial narrow'; color:#69594F; font-size:1.1em; font-style:italic; font-weight:bold; line-height:20px; text-transform:uppercase; }
.msg_cat:before, .msg_cat:after { content: ''; }

/* per evitare i bordi sulle immagini che fungono da link */
a:link img, a:visited img { border: 0px solid #808080; vertical-align: middle; }
a:hover img, a:active img, a:focus img, #sel img, #sel:hover img { border: 0px solid #ffffff; outline:none; }

/* pagina prodotti */
p.link-mod-prod {
  position: absolute;
  width: 100%;
  bottom: -20px;
}    

.flexslider {
 	position: relative;
	width: 1200px;
  height: 410px; 
  top: 0;    
	margin-bottom: 10px !important;
}
.flex-control-nav { 
  bottom: 0 !important; 
}  
.flex-viewport {
  width: 100%;
  left: 0;
}
.flex-direction-nav a.flex-next:before {
  content: '' !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;    
  background-color: #efefef;
	background-image: url("images/icon/arrow_right_40.png");
	background-repeat: no-repeat;
	background-position: center left;
}
.flex-direction-nav a.flex-prev:before {
  content: '' !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #efefef;
	background-image: url("images/icon/arrow_left_40.png");
	background-repeat: no-repeat;
	background-position: center right;
}
 
.slide_caption {
  position: absolute;
  width: 800px;
  height: 410px;
  top: 0;
  margin-left: 400px;
  background-image: linear-gradient(to right, transparent, #2f2f2fd9);
  z-index: 50000;
    display: table;
}
.slide_caption_area {
  text-align: right;
  padding: 0px 40px 10px 25%;
    display: table-cell;
    vertical-align: middle;
}    
.slide_caption_area h2,
.slide_caption_area p {
  font-family: 'Yusei Magic', sans-serif;
  font-size: 28px;
  font-weight: normal;  
  line-height: 34px;
  color: #efefef;
}
.slide_caption_area h2 {
  font-size: 40px;
  color: #93b545;
    color: #efefef;
  margin-top: 0;
  text-transform: uppercase;
  /*text-decoration: underline;*/
    border-bottom: 4px solid #efefef;
    padding-bottom: 2px;
}

img.slide {
  display: none;
 	position: absolute;
	top: 0;
 	left:0;
	width: 100%;
	height: auto;
 	margin:0 auto;
}

/* pagina preparazione smart */
tr.nome_produttore_smart {
  height: 30px !important;
  font-size: 90%;
  text-transform: uppercase;
}
tr.nome_produttore_smart td {
  vertical-align: bottom;
}
table.border_bottom tr td {
  border-bottom: 2px solid #7b5c4f;
}
td.no_border,
tr.no_border td {
  border: 0 !important;
}

.comefunziona h2 {
  font-family: inherit;
  font-size: 1.0em;
  margin-bottom: 0px;
}

/* 05/10/2021 --> nuovo box di pooup */
#PopUp {
  align-items: center;
  position: absolute;
  z-index: 5000;
  width: 330px;
  min-height: 200px;
  top: 500px;
    top: 120px;
  left: 50%;
  margin-left: -165px;
  padding: 30px 06px 16px;
  background-color: #fcfcfc;
  color: #333333;
  border: 3px solid #2bbb53;
  outline: 4px solid #fcfcfc;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;  
}
#PopUp #popup_close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 10px 4px;
  border-bottom-left-radius: 20px;
  font-family: cursive;
  font-size: 18px;
  color: #3a2b2b;   /* marrone */
  background-color: #ececec;
  cursor: pointer;
}
#PopUp #popup_msg {
  font-size: 16px;
}
#PopUp #popup_link {
  margin-top: 14px;
  padding: 16px 40px;
  border-radius: 25px;
  background-color: #126027;  /* verde scuro */
  background-color: #2bbb53;   /* verde chiaro */
  cursor: pointer;
}
#PopUp #popup_link_light {
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  background-color: #ececec;  /* grigio chiaro */
  cursor: pointer;
}
/* *************************************************************** */
/* *************************************************************** */
/* *************************************************************** */
@media screen and (max-width: 728px) 
{
  h3 { font-size: 14px; }

	table { overflow-x: auto !important; }
  
  #container {
    /*width: 100% !important; -> inutile con max-width 100% */
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  } 
  #header {
    width: 100%;
    height: 75px;
  }
  .steps {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;  
  }
  
  .not_for_smart td,
  .not_for_smart,
  .colonna_confezione,
  #header .dots-over-header,
	#header .header_login, 
	#header .logo { 
    display: none; 
  }
  .only_smart,
  .smart_login,
  .confezione_smart,
  .details {
    display: block !important; 
  } 
  tr.only_smart {
    display: table-row !important; 
  }

  .msg_bar {
    min-width: unset;
    width: 94%;
    text-align: center;
  }
   .error {
    padding: 1px 4px;
  } 
  .smart_login .boxer a, 
  .smart_login .boxer p {
    display: inline-block !important;  
  }
  .smart_login .boxer a { 
    width: 50px !important;  
  }    
	#header .header-image {
    position: relative;
    width: 100%;  
    height: 65px;
    background-image: url(./images/headline_2024_smart.png);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
  }    

	#nav {	display:none; height: 0; }
	#nav_smart { 
    display: block; 
    position: fixed; 
    width: 100%; 
    height: 50px;
    top: 75px;
    padding: 0;    
    z-index: 800; 
  }
  #content { 
    display: block;
    width: 100%;
    margin-top: 125px;   /* 75 header_smart + 50 nav_smart */
  }  
  #manutenzione { 
    margin-top: 125px;
  }
  .produttore #content { 
    margin-top: 155px;   /* 75 header_smart + 50 nav_smart + 30 nome produttore */
  }
  .chisiamo #video > div {
    float: unset !important;
    width: 100% !important; 
    padding: 0 !important;
  }
  .chisiamo #video iframe {
    width: 100%;
    height: auto;
  }
  
  #footer {
    border-top: 2px solid #3b2b2b;
    margin-left: 10px;
    margin-right: 10px;
  }

  fieldset { 
    margin: 10px 10px 20px;
  }
  a.in_evidenza {
    background-color: #3a2b2b !important;
    color: #efefef;
    text-transform: uppercase;
    font-weight: 300;
  } 
  .menu-pagine-smart a {
    width: 50%;
    margin: 0 auto;
  } 
  .produttore .menu-pagine-smart { 
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
  }
  .produttore .menu-pagine-smart a.in_evidenza { 
    font-size: 24px !important;
    font-weight: 700;
    padding: 0px 10px;
    line-height: normal;
  }
  
  .magazzino table tr {
    flex-flow: row wrap;
    display: flex;
  }
  .magazzino table tr:not(:first-child) > td:first-child,
  .magazzino table tr:not(:last-child) > td:last-child {
    display: none;
  }
  .magazzino table tr:first-child > td:nth-child(1),
  .magazzino table tr:not(:first-child) > td:nth-child(2) {
    width: 100% !important; 
  }

  .magazzino_scadenze table tr,
  .scheda_produttore table tr {
    display: flex;
    flex-flow: column;
  }
  .box_meta_meta > div,
  .homepage-box,
  .flexslider, 
  .flexslider .slides img { 
    width: 100% !important; 
    height: auto;
    margin-bottom: 20px !important;    
  }
  .page {
    margin-left: 2%; 
    margin-right: 2%; 
  }
  .boxer {
    width: 94% !important;
    overflow-x: auto;
  }
  .homepage-box {
    margin-top: 16px; 
    margin-bottom: 24px; 
  }
  .homepage-box .boxer {
    margin: 0;
    padding: 10px 0;
  }
  .homepage-box .boxer > * {
    padding: 0px 6px;
  }
  .box_meta_meta > div {
    border-left: 0 !important;
    border-top: 2px solid #333333;
  }
  .box_produttori, 
  .box_container {
    justify-content: center;
    justify-content: space-around;
  }
  .box_container td {
    padding: 0;
  }
  .box_produttori > * {
    width: 100% !important;
  }
  .box_produttori > div:nth-child(1) {
    text-align: center !important;
  }
    
  .utente .box_container {
    flex-flow: column;  
  }  

  .produttori .page > div {
    width: 100% !important;
    margin-top: 10px !important;
    text-align: left !important;
  }
  .produttori .page .immagine_produttore {
    max-width: 200px !important;
  }
  .prodotti .produttore > div {
    width: 100% !important;
    float: unset;
    margin-left: 0 !important;
  }
  
  .box_prodotto, 
  .box_tipologia {
    width: 48%;
    margin: 6px 1%;
    padding-left: 0;
    padding-right: 0;
  }
  .box_prodotto {
    min-width: 45%;
  }    

  .ordini_correnti_bacheca > div {
    width: 100%;
    border-right: 0 !important;
    border-top: 2px solid;
  }  

  .tabella_ordini tr.open-details td:first-child {
    display: block;
    min-width: 70px;
  } 
    
  .tabella_ordini tr.open-details td {
    border-top: 1px solid #3b2b2b;
  }
    
  .tabella_carrello {
    min-width: unset;
  }
  .tabella_carrello p {
    margin-bottom: 0 !important;
  }
  .tabella_carrello tr {
    vertical-align: top;
  }
  .tabella_carrello .cropped_thumb,
  .tabella_carrello .cropped_thumb img {
    width: 45px !important;
    height: 45px !important;
  }
  /*
  .tabella_carrello .scelta_consegna * {
    max-width: 300px;
  }
  */
  .tabella_carrello .scelta_consegna input,
  .tabella_carrello .scelta_consegna select {
    width: 96% !important;
    min-width: unset;
    padding: 0;
  }  
  .single_product_image {
    width: 120px;
  }
  .single_product_data { 
    margin-left: 120px; 
  }
  .cropped_thumb_maxi { 
    width: 104px !important;
    height: 104px !important;
  }    
  
  .responsive-columns td {
    display: block;
  }
  .responsive-columns td input {
    width: 100%;
  }

  .smart_a_capo { display: block; }    

  table.smart_table tr { display: flex; flex-flow: column wrap; }
  table.smart_table td { width: 95%; text-align: left; }
  .nuovoutente table.smart_table tr td:first-child { margin-top: 10px; }
  
  .slide_caption { 
    max-width: 100%; 
    height: auto; 
    margin-left: 0; 
      position: relative;
      display: block;
      width: auto !important;
      background: #3b2b2b;
        display: none;
  }
  .slide_caption_area { padding: 0; display: block; text-align:center; }
  .slide_caption_area > * { 
    max-width: fit-content; 
    text-align: left;
    line-height: normal !important;
    padding: 4px;
  }
  .slide_caption_area h2 { font-size: 20px; margin-bottom: 0; }
  .slide_caption_area p { font-size: 12px; }
  .flex-control-nav { bottom: -10px !important; }
  .flex-direction-nav { display: none; }
}

/* *************************************************************** */
/* *************************************************************** */
/* *************************************************************** */
@media screen and ( min-width:729px ) and ( max-width: 1024px) 
{
  body { /*font-size:24px;*/ }
  div#container { width:1024px; }
  div#slide_2017{ width:1020px; }
  .flexslider { width:1020px; }
  
	div#header { display: block; width:1024px; }
	div#header_smart { display: none; }
 	div#nav {	display: block; }
	div#sidebar {	display: block; }
	div#sidebar_smart {	display: none; }
}

/* *************************************************************** */
/* *************************************************************** */
/* *************************************************************** */
@media screen and (min-width: 1250px) 
{
  div#container { width:1200px; }
	div#header { display: block; width:1200px; }
	div#header_smart { display: none; }
 	div#nav {	display: block; }
	div#sidebar {	display: block; }
	div#sidebar_smart {	display: none; }
}


/* stili 2021 */
    
.small-header #header {
  height: 70px !important;
}
.small-header #header img {
  width: auto !important;
}
.small-header #nav {
  margin-top: 70px !important;
}
.small-header #manutenzione,
.small-header #content {
  margin-top: 120px !important;
}
.small-header #user_tomatoes {
  top: 86px !important;
}

      