@media screen and (max-width: 767px) {
	.Container{
	  width: 100%;
	  margin-right: auto;
	  margin-left: auto; 
	  text-align: left;
	}
}

@media screen and (min-width: 768px) and (max-width: 1366px)  {
	.Container{
	  width: 100%;
	  margin-right: auto;
	  margin-left: auto;
	}
}

@media screen and (min-width: 1367px) {
	.Container{
	  width: 1367px;
	  margin-right: auto;
	  margin-left: auto;
	}
}


@media screen and (max-width: 767px) {
	div#TemplateMain_Box{
	  width: 100%;
	  text-align: left;
	  min-height: 350px;
	}	
	div#TemplateMain_Pad{
	  padding: 15px;
	}
}
@media screen and (min-width: 768px) {
	div#TemplateMain_Box{
	  width: 100%;
	  text-align: left;
	  float: left;
	  min-height: 350px;
	}
	
	
	div#TemplateMain_Pad{
	  padding: 20px 10px 10px 30px;
	}
}

@media screen and (max-width: 767px) {

    div#TemplateTop_Box{
	  display: hidden;
	}

	div#SocialIco_Box{
   	  display: none;
    }
		
	div#LogoRow{
	  padding-top: 80px;
	  padding-left: 10px;
	  background-color: #FFFFFF;
	  height: 120px;
	  padding-bottom: 20px;
	}
	
	div#TemplateLogo_Box{
	  width: 100%;
	  padding-left: 0px;
	  padding-top: 0px;
	  text-align: center;
	  float: left;
	}	
	
	div#TemplateMenuInfo{
	  display: none;  
	}
	
	div#MenuInfo_Box{
	  display: none;  
	}
	
	
}

@media only screen and (min-width: 768px) and (max-width: 1165px){
	div#LogoRow{
	  padding-top: 0px;
	  height: 120px;
	  width: 100%;
	  text-align: left;
	  border-top: 8px solid #42240C;
	}
	
	div#TemplateLogo_Box{
	  width: 22%;
	  padding-left: 0px;
	  text-align: left;
	  margin-top: 10px;
	  float: left;
	}
	
	div#MenuInfo_Box{
	  width: 78%;
	  background-color: transparent;
	  float: right;
    }
	div#MenuInfo_Pad{ 
	  padding-top: 0px;
    }
	
	.InfoButton_Box{
	  float: left;
	  color: #FFFFFF;
	  padding: 0x 0px 0px 0px;
	  text-align: center;
	  min-width: 90px; 
	  
	  transition-property: background-color; /*standard*/
	  transition-duration: 0.5s;
	 
	  -webkit-transition-property: background-color; /*Safari e Chrome */
	  -webkit-transition-duration: 0.5s;
			 
	  -o-transition-property: background-color;      /*Opera*/
	  -o-transition-duration: 0.5s;
			 
	  -moz-transition-property: background-color;    /*Firefox*/
	  -moz-transition-duration: 0.5s;
	}
	
	.InfoButton_Box > a:hover{
	  color: #FFFFFF;
	}
	
	.InfoButton_Pad:link, .InfoButton_Box:visited {
		border-radius: 0px;
		color: #2D9CA3;
		text-decoration: none;
		padding: 0px 10px 0px 10px;
		background-color: #043574;
		-webkit-transition: color .5s linear, background-color .5s ease-in-out;
		-moz-transition: color .5s linear, background-color .5s ease-in-out;
		-o-transition: color .5s linear, background-color .5s ease-in-out;
		transition: color .5s linear, background-color .5s ease-in-out;
	}
	
	
	.InfoButton_Pad{
	  padding: 20px 15px 20px 15px;
	  color: #043574;
	  font-size: 1.2rem;
	}
	
	
	.InfoButton_Pad:hover{
	 /* background-image:url(img/menu_bg.png);
	  background-repeat:no-repeat;
	  background-position:center;*/
	  border-bottom: 2px solid #2D9CA3;
	  color: #2D9CA3;
	  
	  -webkit-border-radius: 0px;
	  -moz-border-radius: 0px;
	  border-radius: 0px;
	  
	  -webkit-transition: background-color .25s ease-in-out;
	  -moz-transition: background-color .25s ease-in-out;
	  -o-transition: background-color .25s ease-in-out;
	  transition: background-color .25s ease-in-out;
	}	

}


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

    div#TemplateTop_Box{
	  height: 60px;	
	}
	div#TemplateTop_Pad{
	  padding: 10px;
	}
	
	div#SocialIco_Box{
	  float: left;
	  width: 50%;
	  text-align: left;
	}
	div#SocialIco_Pad{
	   padding: 5px 0px 0px 0px;
	}
	
	div#TemplateMenuInfo{
	  width: 50%;
	  text-align: right; 
	  float: right;
	  padding-top: 15px;
	  padding-right: 15px;
	  padding-bottom: 80px;
	  font-size: 1em;	  
	}
	div#TemplateMenuInfo a{
	  color: #42240C;	  
	}

}

@media screen and (max-width: 767px) {
	.HeaderMenuInline{
	  display: none;
	}
}

@media screen and (min-width: 768px) {
	div#TemplateMenuInfo{
	  display: flex;
	  align-items: center;
	  justify-content: flex-end;
	  gap: 14px;
	  flex-wrap: wrap;
	}
	.HeaderMenuInline a{
	  color: #42240C;
	  text-decoration: none;
	  margin-left: 12px;
	  white-space: nowrap;
	}
	.HeaderMenuInline a:hover{
	  text-decoration: underline;
	}
}

@media screen and (min-width: 1166px) {
    div#LogoRow{
	  padding-top: 0px;
	  padding-left: 0px;
	  height: 120px;
	  border-top: 8px solid #42240C;
	}
	
	div#TemplateLogo_Box{
	  width: 22%;
	  padding-top: 20px;
	  padding-bottom: 5px;
	  padding-right: 0px;
	  padding-left: 5%;
	  text-align: left;
	  float: left; 
	}
		
	.InfoButton_Box{
	  float: left;
	  color: #FFFFFF;
	  margin-top: 10px;
	  margin-left: 20px;
	  padding: 0px 0px 0px 0px;
	  text-align: center;
	  min-width: 90px; 
	  
	  transition-property: background-color; /*standard*/
	  transition-duration: 0.5s;
	 
	  -webkit-transition-property: background-color; /*Safari e Chrome */
	  -webkit-transition-duration: 0.5s;
			 
	  -o-transition-property: background-color;      /*Opera*/
	  -o-transition-duration: 0.5s;
			 
	  -moz-transition-property: background-color;    /*Firefox*/
	  -moz-transition-duration: 0.5s;
	}
	
	.InfoButton_Box > a:hover{
	  color: #FFFFFF;
	}
	
	.InfoButton_Pad:link, .InfoButton_Box:visited {
		border-radius: 0px;
		color: #2D9CA3;
		text-decoration: none;
		padding: 40px 10px 0px 10px;
		background-color: #043574;
		-webkit-transition: color .5s linear, background-color .5s ease-in-out;
		-moz-transition: color .5s linear, background-color .5s ease-in-out;
		-o-transition: color .5s linear, background-color .5s ease-in-out;
		transition: color .5s linear, background-color .5s ease-in-out;
	}
	
	.InfoButton_Pad{
	  padding: 40px 15px 15px 15px;
	  color: #043574;
	  font-size: 1rem;  
	}
	
	
	.InfoButton_Pad:hover{
	  /*background-image:url(img/menu_bg.png);
	  background-repeat:no-repeat;
	  background-position:center;*/
	  
	  border-bottom: 2px solid #2D9CA3;
	  color:#2D9CA3;
	  
	  -webkit-border-radius: 0px;
	  -moz-border-radius: 0px;
	  border-radius: 0px;
	  
	  -webkit-transition: background-color .25s ease-in-out;
	  -moz-transition: background-color .25s ease-in-out;
	  -o-transition: background-color .25s ease-in-out;
	  transition: background-color .25s ease-in-out;
	}
}




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

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

div#MobileMenu{
  display:none;
}

div#Login_Box{
  float: right;
  width: 40%;
  text-align: right;
  height: 60px;
}

div#Login_Pad{
   padding: 10px 0px 0px 0px;
}

/***************** Div della parte centrale del template *********************/
div#HomeMainCategories_Box{
  font-size: 1.2em;
  height: 65px;
  text-align: right;
  color: #FFFFFF;
}
div#HomeMainCategories_Pad{  
 padding: 18px 0px 5px 0px;  
}


/***************** Div della parte centrale del template *********************/
div#HomeFlash_Box{
  border-bottom: 1px solid #EF7916;
}

div#TemplateColSX_Box{
  width: 25%;
  min-height: 350px;
  float: left;
  background-color: #FFFFFF;
  text-align: left;
}

div#TemplateColSX_Pad{
  padding: 0px 0px 0px 20px;
}


div#TemplateColDX_Box{
  float: left;
  width: 75%;
  background-color: #FFFFFF;
}


div#VerticalMenu_Box{
  text-align: center;
  width: 90%;
}


/***************** Div della parte centrale del template *********************/
div#TemplateBottom_Box{
    background-color: #EF7916;
	vertical-align: top;	
    color: #FFFFFF;
	font-size: 1em;
	text-align: left;
}
div#TemplateBottom_Box a{
    color: #FFFFFF;
}

div#TemplateBottom_Pad{
    padding: 30px 20px 20px 20px;  
}


/*/////////////// BOTTOM //////////////////////////////////////////////*/

div#InfoBottom_Box{
  color: #000000;
  background-image: url(img/infobottom_bg.png);
  height: 141px;
  text-align: right;
  font-size: 1.1em;
  line-height: 25px;
}

div#InfoBottom_Pad{
  padding: 50px 20px 0px 5px;
}

div#LeftBottom_Box{  
  width: 25%;
  font-weight: 300;
  color: #000000;
  float: left;
  height: 240px;
  line-height: 26px;
  text-align:justify;
}

div#LeftBottom_Pad{
  padding: 5px 0px 25px 0px;
}


div#MiddleBottom_Box{
  width: 25%;
  font-weight:300;
  color: #000000;
  line-height: 26px;
  float: left;
  text-align: left;
}

div#MiddleBottom_Pad{
  padding: 5px 0px 25px 25px;
 
}

div#RightBottom_Box{  
  width: 49%;
  font-size: 1em;
  font-weight: 300;
  color: #000000;
  text-align: right;
  line-height: 26px;
  float: left;
}

div#RightBottom_Pad{
  padding: 25px 0px 25px 25px;
}

div#SoftwarePoint{
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  text-align: right;
}

}

@media screen and (max-width: 767px) {
div#Slogan_Box{
  display: none;
}
div#HomeFlash_Box{
 display:none;
}

div#TemplateColSX_Box{
 display: none;
}

div#TemplateColDX_Box{
  width: 100%;
}


div#TemplateBottom_Box{
    width: 100%;
    color: #fff;
	background-color: #42240C;
	vertical-align: top;	
    color: #FFFFFF;
	font-size: 1em;
	text-align: left;
}

div#TemplateBottom_Pad{
    padding: 30px 20px 20px 20px;  
}

div#LeftBottom_Box{ 
  display: none;
}

div#MiddleBottom_Box{
  display: none;
}

div#RightBottom_Box{  
  width: 100%;
  font-size: 1em;
  font-weight: 300;
  color: #FFFFFF;
  text-align: right;
  line-height: 26px;
}

div#SoftwarePoint{
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: right;
}

}

/********** HOME FLASH ***********/
@media screen and (min-width: 768px) {

	.HomeReparto_Box{ 
		font-weight: normal;
		font-size: 1.1em;
		float: left;
		width: 33%;
		text-align: left;	
	}
	.HomeReparto_Box:hover{
	 	background-color: #043574;
	}
	
	.FotoReparto{
	  overflow: hidden;
	  height: 200px;
	  border-radius: 25px;
	}
	
	.HomeReparto_Pad{
		margin: 8px 8px 8px 8px; 
		background-color: #DEDEDE;
		padding: 20px 20px 8px 20px;
	}
	
}

@media screen and (max-width: 767px) {

	.HomeReparto_Box{ 
		font-weight: normal;
		font-size: 1.1em;
		width: 98%;
		text-align:center;
	    margin-right: auto;
	    margin-left: auto; 
	}
	.HomeReparto_Box:hover{
	 	background-color:#DDD;
	}
	
	.FotoReparto{
	  overflow: hidden;
	  width: 90%;	  
	  margin-right: auto;
	  margin-left: auto; 
	}
	
	.HomeReparto_Pad{
		margin: 8px 8px 8px 8px; 
		background-color: #DDD;
		padding: 15px 0px 8px 0px;
	}
	
}

@media screen and (min-width: 1281px) {
  div#SoftwarePoint{
    width: 1280px;
    margin-right: auto;
    margin-left: auto;
  }
}


/********** HOME FLASH ***********/
@media screen and (min-width: 768px) {
	div.HomeFlash span{
		font-size: 2em;
		color: #FFFFFF;
		position: absolute;
		min-height: 300px;
		bottom: 0px;
		right: 0px;
		width: 35%;
		padding-top: 90px;
		background-color: #42240C;
		opacity: 0.9;
		filter: alpha(opacity=90);  
		cursor: pointer;
		text-align: center;
	}
	div.HomeFlash a:hover span{
		border-top: 5px solid #5E5D5B; 
		color: #AAA; 
	} 
	
}

@media screen and (max-width: 480px) {
  div#HomeNews{
    padding: 2%; 
	text-align:justify;
  }
  div#HomeStatoRiparazioni{
    padding: 2%;
  }
}

@media screen and (min-width: 481px) {
  div#HomeNews{
    width:46%; 
	float:left; 
	padding: 2%; 
	text-align:justify;
  }
  div#HomeStatoRiparazioni{
    width:48%; 
	float:left; 
	padding: 1%;
  }
}

@media screen and (min-width: 768px) {
	div#PrivatiButton_Box{
	  float: right;
	  width: 30%;
	  text-align: center;
	  height: 40px;
	  background-color:#42240C;
	  border-top-right-radius: 10px;
	  margin-right: 0px;
	  cursor: pointer;
	  font-weight: bold;
	  color:#FFFFFF;
	  
	}
	
	div#PrivatiButton_Pad{
	   padding: 10px 0px 0px 0px;
	}
	
	div#MenuRappresentanze{
	  width: 100%;
	  height: 40px;
	  background-color:#42240C;
	  padding-top: 15px;
	}
	
	
	div#DealerButton_Box{
	  float: right;
	  width: 30%;
	  text-align: center;
	  height: 40px;
	  background-color:#EF7916;
	  border-top-right-radius: 10px;
	  margin-right: 10px;
	  cursor: pointer;
	  font-weight: bold;
	  color:#FFFFFF;
	}
	
	div#DealerButton_Pad{
	   padding: 10px 0px 0px 0px;
	}
	
	div#MenuCommerciale{
	  width: 100%;
	  text-align: center;
	  height: 40px;
	  background-color: #EF7916;
	  padding-top: 15px;
	}
}


@media screen and (max-width: 767px) {
  div#MenuRappresentanze{ 
    display:none;
  }
  div#MenuCommerciale{
    display:none;
  }
}

/*
================================================================================
TEMPLATE REFRESH (formerly StyleSheet/div_template.css + div_template_refresh.css)
Merged into a single file to avoid cascade fights between two template stylesheets.
================================================================================
*/

/* Light, non-invasive refresh for header/footer.
   Keeps legacy layout (floats/media queries) intact. */

/* Modern font stack (no external downloads) */
html, body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

input, button, select, textarea{
  font: inherit;
}

/* Modernize legacy <li> icon (replaces li.gif) */
li{
  list-style-image: none;
}

li::marker{
  content: "▸  ";
  color: #EF7916;
}

/* Logo: keep it crisp and readable */
.Logo{
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Logo size: tuned vs legacy rules */
@media screen and (max-width: 480px) {
  .Logo{ width: 60%; }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
  .Logo{ width: 30%; }
}
/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1165px) {
  div#TemplateLogo_Box img.Logo{
    width: 100%;
    max-width: min(100%, 280px);
  }
}
@media screen and (min-width: 1166px) {
  .Logo{ width: 54%; }
}

/* Header: avoid splitting the white menu area with a grey line */
div#LogoRow{
  border-bottom: 0;
}

/* Header: slightly more modern (same colors, no layout changes) */
div#LogoRow{
  box-shadow: none;
}

/* Top action button: make it feel like a pill */
div#DealerButton_Box{
  border-radius: 999px;
  overflow: hidden;
}

div#DealerButton_Pad{
  letter-spacing: .02em;
}

/* Footer: improve readability/spacing without altering structure */
div#TemplateBottom_Pad{
  padding-top: 36px;
}

div#LeftBottom_Pad b,
div#MiddleBottom_Pad b{
  letter-spacing: .03em;
}

/* Ragione sociale (footer): allineamento a destra — override di .ArticlesMenuTitle in div_articles.css */
div#RightBottom_Pad .ArticlesMenuTitle{
  letter-spacing: .03em;
  display: block;
  text-align: right;
}

div#TemplateBottom_Box a{
  text-decoration: none;
}

div#TemplateBottom_Box a:hover{
  text-decoration: underline;
}

/* Slightly smoother hover on top buttons */
div#PrivatiButton_Box,
div#DealerButton_Box{
  transition: background-color .18s ease, filter .18s ease;
}

div#PrivatiButton_Box:hover,
div#DealerButton_Box:hover{
  filter: brightness(0.96);
}

/* Footer: improve readability without changing structure */
div#TemplateBottom_Box{
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

div#TemplateBottom_Box a{
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Footer facelift (keep brand colors) */
div#TemplateBottom_Box{
  background: linear-gradient(180deg, rgba(239,121,22,1) 0%, rgba(239,121,22,0.92) 100%);
}

div#LeftBottom_Pad,
div#MiddleBottom_Pad,
div#RightBottom_Pad{
  color: rgba(255,255,255,0.92);
}

div#TemplateBottom_Box a{
  color: rgba(255,255,255,0.92);
}

div#TemplateBottom_Box a:hover{
  color: #FFFFFF;
}

/* Legal bar under footer */
#FooterLegalBar{
  background: #42240C;
  color: rgba(255,255,255,0.92);
}

#FooterLegalPad{
  padding: 12px 20px;
  font-size: 0.95em;
  line-height: 1.3;
  text-align: center;
}

#FooterLegalPad .FooterLegalSep{
  padding: 0 8px;
  opacity: 0.6;
}

/* Top nav: better spacing, no separators */
#MenuCommerciale .NavTopLink{
  display: inline-block;
  padding: 8px 10px;
  margin: 0 2px;
  border-radius: 10px;
  line-height: 1;
}

#MenuCommerciale .NavTopLink:hover{
  text-decoration: none;
  background: rgba(255,255,255,0.12);
}

/* Area Clienti + link footer → popup login */
#MenuCommerciale .js-login-modal-open{
  display: inline-block;
  padding: 8px 12px;
  margin: 0 0 0 10px;
  border-radius: 10px;
  line-height: 1;
  vertical-align: middle;
}

#MenuCommerciale .js-login-modal-open .AChiaro{
  display: inline-block;
  padding: 0;
}

#RightBottom_Box .ArticlesMenuTitle a.js-login-modal-open{
  text-decoration: none;
}

#RightBottom_Box .ArticlesMenuTitle a.js-login-modal-open:hover{
  text-decoration: underline;
}

/* Slideshow: enforce "cover" and remove white gaps */
#HomeFlash_Box .fotorama__stage,
#HomeFlash_Box .fotorama__stage__shaft{
  background: transparent;
}

#MenuCommerciale{
  padding-top: 0;
  height: 55px; /* keep visual height but align contents */
}

#HomeFlash_Box{
  margin-top: -6px; /* pull up slightly: no overlap with nav */
}

#HomeFlash_Box,
#HomeFlash_Box .fotorama{
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Full-bleed slideshow (override centered layout gutters) */
#HomeFlash_Box{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

#HomeFlash_Box .fotorama{
  width: 100% !important;
  max-width: none !important;
}

#HomeFlash_Box .fotorama__img{
  object-fit: cover;
}

