/* Altezza minima per pagine con poco contenuto */
body {
    min-height: 100vh;
    
}


.contenuto span, p, .contenuto ul, .contenuto ol, .contenuto a {
   font-size: 16px;
   line-height: 23px;
}
.contenitore_lingue {
    margin-right: 33px;
}

.accua-form input, textarea {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ddd;
    padding: 7px !important;
}
/*.contenuto a {
    color: #666;
    text-decoration: underline;
}*/

p.sottotitolo {
    font-size: 20px;
    line-height: 23px;
}
  .alignright{
    text-align: right;
  }
.white{
    color: #fff;
}

ul {
  margin:0px;
  padding:0px;
}

.contenuto ul {
	list-style:disc;
	padding-left:20px;
	margin-bottom:20px;
}

.avviso_abc .grid-container {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
	z-index:10;
}

.avviso_abc {
	z-index: 1000;
    position: relative;
    background: #fff;
}

.contenuto li {
	margin-bottom:10px;
}
.box_sopra_foto{
    padding: 15px 24px; 
    margin: -300px 0px 30px 0px; 
    z-index: 5; 
    background: white;
}

.left_logo {
  height: 44px;
  padding-top: 15px;
}

.right_logo {
  height: 44px;
  padding-top: 15px;
    float:right;
}

.scritta_left_right {
  height:30px;
  border-bottom:1px solid #ddd;
  text-align:center;
  padding-top:5px;
}

.menu-menu_left_logo-container ul {
  list-style:none;
}

.menu-menu_left_logo-container li {
  float: left;
}

#logo img {
    height: 60px;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* search */
#searchform {
  /*text-align: center;*/
}

/* HOME */
.slideshow {
  border:1px solid #ddd;
}

.slideshow, .slideshow img, .slideshow a{
 width: 100% !important;
     height: 400px !important;
    object-fit: cover;
}


#box_banner .row{
  position:relative;
}

.feature {
	float: right;
    position: absolute;
    right: 64px;
    text-align: center;
    top: 96px;
    width: 300px;
    z-index: 999;
    line-height: 46px;
    font-size: 36px;
    color: #fff;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 2px 2px 2px #000;
}
#menu-acces {
	display:none;
}
.border-top {
    border-top: 2px solid #000;
}

 

#copyright {
    margin-bottom: 30px;
    /* text-align: right; */
    padding-top: 15px;
    margin-top: 30px;
}

#footer li{
  float:left;
  list-style: none;
  padding:15px;
  border-right:1px solid #ddd;
}


ul.page-numbers li span, ul.page-numbers li a {
	padding:5px;
	display:block;
}

ul.page-numbers li .current {
	background:#333;
	color:#fff;
	display:block;
}

input#s {
  border:1px solid #ddd;
  padding:3px;
  width: 120px;
  height: 18px;
    padding: 0 !important;
}
#searchsubmit {
  background:#ddd;
  border:1px solid #ccc;
  padding:3px;
  height: 26px;
}
#searchsubmit-mobile {
    background-image: url(../i/search.png);
}

img {
  max-width:100%;
  height:auto;
}

hr {
    border-color: #ccc;
    border-style: dashed;
}

.border_top {
    padding-top: 40px;
}

#menu-menu_left_logo li {
	padding:15px 20px;
}

#menu-menu_left_logo {
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	margin-bottom:10px;
	min-height:47px;
}

.menu-home a {
    text-decoration: none;
}

.underline {
	text-decoration:underline;
}

.campi_newsletter {
	width: 33%;
    float: left;
    margin: 14px 0;
}

.campi_newsletter  input {
	width:90%;
}

#newsletter .inside {
    padding: 15px;
    margin-top: 0px;
    color: white;
    /*border-bottom: 1px solid;*/
    padding-bottom: 30px;
} 
#newsletter .inside h2{
    color: white;
}

.fascia-in-home-2{
    padding: 50px 0;
}

.fascia-white{
    margin-bottom: 30px;
    padding: 15px 0;
    background: #fff;
    color: #000;
}
.fascia-foto-home{
    background-image: linear-gradient(rgba(255, 255, 255, 0.67), rgba(0, 0, 0, 0.5)), url(../i/elfa-circuitboard.jpg);
    margin-top: 30px;
    color: white;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
.fascia-foto-home h2, .fascia-foto-home a, .fascia-foto-home h3{
    color: white;
}

/*
.fascia-eventi {
    border-left: 5px solid #fabaa6;
    padding-left: 15px;
}*/

.fascia-color h2,.fascia-color a{
    color: white;
}
.grid-service-list-1 .inside p {
    /*border-left: 5px solid #fabaa6;
    padding-left: 15px;*/
    padding-bottom: 0px;
    margin: 5px 0;
}

.grid-service-list-1 .inside {
    padding: 10px 25px 25px;
}

.grid-service-list-2 p {
    min-height: 92px;
}
.grid-service-list-2 h3 {
    min-height: 64px;
    margin: 5px 0;
}
.grid-service-list-2 a{
    text-decoration: none;
}

.grid-help-list img{
    height: 270px;
}

.grid-service-list-2 img {
    border: 1px solid #fff;
    max-height: 185px;
    object-fit: cover;
}

.menu-home { 
    background: white;
    width: 100%; 
}

.grid-service-list-1 .allineato-destra{
    text-align: right;
    font-size: 12px;
}

.grid-item.contenuto img {
    max-width: 100% !important;
}
.grid-item.contenuto div>img {
    max-width: 100% !important;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay #language_list li {
    display: block;
    color: white;
}

.overlay #language_list a {
  padding: 8px;
  text-decoration: none;
  font-size: 16px;
  color: #c1c1c1;
  display: block;
  transition: 0.3s;
}

.overlay a {
    padding: 6px;
    text-decoration: none;
    font-size: 20px;
    color: #c1c1c1;
    display: block;
    transition: 0.3s;
}

.overlay h3{
    color: #c1c1c1;
    margin-top: 25px;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

#openNav{
    padding: 7px;
    font-size: 30px;
    cursor: pointer;
    color: #456ca3;
    top: 13px;
    position: absolute;
    right: 13px;
}

#cookieChoiceInfo {
    background-color: #dedede !important;
    color: #000;
    left: 0;
    margin: 0;
    padding: 4px;
    position: fixed;
    text-align: center;
    top: 0;
    height: 30px;
    width: 100%;
    z-index: 9999;
}

a.more_white.header {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border: 2px solid #fff;
    padding: 10px;
    display: block;
}
div.wp-caption{
 max-width: 100%;
}
a.news-title {
    text-decoration: none;
}

.border-img{
    border: 2px solid #fff;
}

.wp-caption-text {
    font-size: 15px;
    color: #4c4c4c;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

p.accua-qtrans-content-available-languages {
    background: #fff9c3;
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #fedec3;
}

.item-grid.border{
    border: 1px solid #ddd;
    background: white;
    margin-bottom: 15px;
}
a.pulsante-consulenza {
    background: #e23125;
    padding: 5px 15px;
    display: inline-block;
    color: #ffff;
    margin: 10px 0;
    margin-bottom: 30px;
    border-radius: 10px;
    text-decoration: none;
}

a.pulsante-consulenza:hover{
    color: #ffff;
    background: #989898;
}
/*.tondino-sottopagina {
    text-align: center;
    padding: 0 30px;
}*/
.tondino-sottopagina h3 {
    font-size: 17px;
    /*padding: 0 25px;*/
    /*color: #e23125;*/
    align-self: center; 
    padding-bottom: 8px;
}
.tondino-sottopagina a{
    text-decoration: none;
}

/*
.bordo-img{
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 100%;
}*/
.bordo-img img{
    border: 1px solid #ddd;
    border-radius: 100%;
    
    /*min-height: 150px;*/
}

.border-img.radius{
    border-radius: 100%;
}


/* STILE 2026 */
.mobile-space {
    height: 50px;
}
.position-relative{
    position: relative;
}
.link-over-div-single-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
/* pulsanti */
a.btn, a.btn-2:hover, 
#menu-main-menu-inglese li.menu-contatti,
#menu-main-menu li.menu-contatti,
button[type="submit"] {
    background: #222;
    padding: 10px 25px;
    display: inline-block;
    color: #ffff;
    margin: 10px 0;
    border-radius: 50px;
    text-decoration: none; 
    border: 1px solid #222;
    text-align: center;
}
a.btn:hover svg path[stroke="#fff"],
a.btn:hover svg line[stroke="#fff"] {
    stroke: #222;
}
a.btn-2, a.btn:hover {
    background: #fff;
    padding: 10px 25px;
    display: inline-block;
    color: #222;
    border: 1px solid #222;
    margin: 10px 0;
    border-radius: 50px;
    text-decoration: none; 
    text-align: center;
}
a.btn-2:hover svg path[stroke="#222"],
a.btn-2:hover svg line[stroke="#222"] {
    stroke: #fff;
}
 #menu-main-menu li.menu-contatti>a,
 #menu-main-menu-inglese li.menu-contatti>a{
    color: #fff !important;
 }

 .header-menu.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s, transform 0.7s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  }
  .header-menu.fixed.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

/* home */
.bannerone-img{
    background-image: url(../i/banner-elfa-sito.jpg);
    background-size: 35%;
    background-position: 80%;
    height: 600px;
    position: relative;
    display: grid;
    background-repeat: no-repeat; 
}
.over-bannerone-img {
    grid-row-start: 1;
    grid-column-start: 1;
    z-index: 10;
    padding: 20px 0;
    /*background: linear-gradient(180deg, #ffffff00, #ffffff);*/
}


/* FASCIA 1 HOME */
.process-section{
    padding-bottom:90px;
}

.process-title{
text-align:center;
font-size:38px;
margin-bottom:50px;
font-weight:600;
}

/* linea sopra */

.process-timeline{
position:relative;
display:flex;
justify-content:space-between;
max-width:900px;
margin:0 auto 40px;
}

.process-timeline:before{
content:"";
position:absolute;
top:50%;
left:0;
right:0;
height:1px;
background:#d8dde6;
z-index:1;
}

.process-timeline span{
background:#fff;
padding:0 14px;
position:relative;
z-index:2;
font-weight:600;
color:#3b6cff;
}

/* grid */

.process-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

/* card */

.process-card{
background:#f6f8fb;
border:1px solid #e4e7ec;
border-radius:14px;
padding:40px;
position:relative;
transition:all .35s ease;
}

.process-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 30px rgba(0,0,0,0.06);
background:#fff;
}

/* numero interno */

.process-number{
position:absolute;
top:18px;
left:20px;
font-size:14px;
font-weight:600;
color:#8a95a5;
background:#eef2f6;
padding:6px 10px;
border-radius:6px;
}

/* icone */

.process-icon{
margin:20px 0;
}

.process-icon svg{
width:60px;
height:60px;
stroke:#222;
transition:transform .35s ease;
}

.process-card:hover svg{
transform:scale(1.1);
}

/* testo */

.process-card h3{
font-size:20px;
margin-bottom:12px;
font-weight:600;
}

.process-card p{
font-size:15px;
line-height:1.6;
color:#667085;
}

/* Pagina attiva nella sidebar */
.process-card.active-page{
background:#fff;
border:2px solid #667085;
box-shadow:0 4px 16px rgba(59,108,255,0.15);
}

.process-card.active-page .process-number{
background:#667085;
color:#fff;
}

.process-card.active-page h3{
color:#667085;
}


.process-card{
opacity:0;
transform:translateY(30px);
animation:fadeProcess .8s ease forwards;
}

.process-card:nth-child(2){
animation-delay:.15s;
}

.process-card:nth-child(3){
animation-delay:.3s;
}
 
.process-grid{ 
margin:auto;
}

@keyframes fadeProcess{
    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* form */
form.accua-form {
    background: #f6f8fb;
    border: 1px solid #e4e7ec !important;
    border-radius: 14px;
    padding: 40px;
    position: relative;
    transition: all .35s ease;
}
form.accua-form input, form.accua-form textarea, form.accua-form select {
    border-color: #e4e7ec !important;
}
.accua-form-view-standard .pfbc-select {
    background-color: #fff !important;
}

/* NEWS CARDS - Stile moderno */
.single_news_home-grid {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.single_news_home-grid:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.single_news_home-grid .img-news {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #f6f8fb;
}

.single_news_home-grid .img-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single_news_home-grid:hover .img-news img {
    transform: scale(1.05);
}

.single_news_home-grid .img-news::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.single_news_home-grid:hover .img-news::after {
    opacity: 1;
}

.single_news_home-grid > div:last-child {
    padding: 28px 26px 26px;
}

.single_news_home-grid h3.news-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 600;
    transition: color 0.3s ease;
    min-height: auto;
    height: auto;
}

.single_news_home-grid a.news-title:hover h3 {
    color: #3b6cff;
}

.single_news_home-grid .text-news {
    font-size: 15px;
    line-height: 1.6;
    color: #667085;
    margin-bottom: 16px;
    min-height: auto;
}

.single_news_home-grid a.more_red {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.single_news_home-grid a.more_red:hover {
    color: #3b6cff;
    border-bottom-color: #3b6cff;
    padding-left: 4px;
}

/* Layout grid per le news */
.fascia-news {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-content{
    padding: 25px;
}


.view-mobile{
    display: none;
}
@media only screen and (max-width: 1200px){
    .hero-button{
        top: 73% !important;
    }   
    
    h1 {
        font-size: 48px;
        line-height: 50px;
    }
    .hero-text {
        top: 40% !important;
    }
}
@media only screen and (min-width: 900px){
    .p-b-60 {
        padding-bottom: 60px;
    }
    .header-mobile, .show-mobile{
        display: none;
    }
    .align-right-desktop img{
        justify-self: right;
        align-self: center;
    }
    .grid-item.menu_header ul li {
        float: left;
        list-style: none;
        padding: 20px 15px;
    }
     
    .overlay a {font-size: 20px}
      .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
      }
    #myNav, #openNav{
        display: none;
    }
    .desktop-120{
        margin-top: -50px !important;
    }
    
}

/***** Phone (portrait 300px) *****/
@media only screen and (max-width: 899px) {
    .view-mobile{
        display: block;
    }
    .riga-con-logo img {
        width: 150px;
    }
    .bannerone-img{
        height: auto;
        background: none;
    }
    .colonna-interna.grid-container-2,
    .colonna-interna .grid-container-2{
        grid-template-columns: 1fr;
        display: grid;
    }

    .process-grid{
        grid-template-columns:1fr;
    }

    .process-timeline{
        display:none;
    }
    
    /* News cards mobile */
    .fascia-news {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .single_news_home-grid .img-news {
        height: 200px;
    }
    
    .fascia-top-pagine{
        top: 75px !important;
        height: 465px !important;
    }
    .pfbc-label{
        width: 100% !important;
    }
    #cookieChoiceInfo {
        background-color: #dedede !important;
        height: 60px;
    }
    .mobile-space{
        height: 0;
    }
	
    #row_logo{
        position: absolute;
        width: 100%;
        height: 55px;
    }
    #logo img {
        height: 35px;
        margin-top: 13px;
        margin-left: 15px;
    }
    .box_sopra_foto{
        margin: 0 !important;
        padding: 0 !important;
    }
    .header-mobile{
        padding: 25px;
    }
    .show-desktop{
        display: none;
    }
    .hero-button{
        top: 80% !important;
    }
	#menu-acces {
		display:block;
		background-color: #eee;
		line-height: 50px;
		text-indent:20px;
		background-image:url(../i/menu.svg);
		background-position: right 15px top 16px;
		background-size: 30px 30px;
		background-repeat: no-repeat;
	}
    #menu-access {
		display:block;
		background-color: #eee;
		line-height: 50px;
		text-indent:20px;
		background-image:url(../i/menu.svg);
		background-position: right 15px top 16px;
		background-size: 30px 30px;
		background-repeat: no-repeat;
	}
	
	.navbar_ul {
		display:none;
	}
	
	#menu-menu_left_logo li {
		border-bottom: 1px solid #fff;
		float: none;
	}
	
	
	ul.sub-menu {
		position: static !important;
		display: block;
		
	}
	#menu-menu_left_logo .sub-menu li {
		padding: 10px;
		width: 100%;
		border:0px;
	}
	
	#menu-menu_left_logo .sub-menu li:before {
		content: " - ";
	}
  #row_logo {
    padding-top:0px;
	padding-bottom: 0px;
  }
  .right_logo {
    padding:0px;
    height:auto;
    border:0px;
      float: right;
  }
  #searchform {
    text-align:left;
  }
    
  #searchform-mobile {
    text-align:center;
  }

  #footer li {
      border: 0px;
      border-bottom: 1px solid #ddd;
      float: none;
      padding: 10px;
  }
  .accua-form-view-sidebyside .pfbc-element {
    width:99%;
  }
    
  .slideshow, .slideshow img, .slideshow a {
    width: 100% !important;
    height:192px !important;
      object-fit: cover;
  }
  .feature {
      font-size: 23px;
      line-height: 30px;
      padding-bottom: 10px;
      right: 64px;
      top: 20px;
      width: 215px;
  }
  ul.products li {
    width: 240px;
    height: auto;
}
  ul.products li  h3 {
	font-size:18px;
  }
  
  .left_logo_grid {
    width: auto;
    float: left;
  }
  
  .right_logo_grid {
    width: auto;
    float: right;
      display: none;
  }
  
  .left_logo {
    border: 0px;
    padding: 0px;
    height: auto;
  }
  .messaggio_top .column.grid_3 {
	display:none;
  }
  
  .social {
    padding-right: 0px;
	}
	input#s {
		width:100px;
        padding: 0 !important;
	}
    
    #menu_dinamico_1{
        display: grid;
    }
    #menu_dinamico_1 li{
        border-bottom: 1px solid white;
    }
    .menu_dinamico_2{
        display: grid;
        position: static;
    }
    #menu_dinamico_1 li{
        padding: 15px 20px;
    }
    ul.menu_dinamico_2 li{
        padding: 10px 20px !important;
    }
        
    #menu_dinamico_1 .menu_dinamico_2{
     display: none;   
    }
    .menu_dinamico_2.show{
        display: grid !important;
    }
}

@media only screen and (max-width: 500px) {
    .align-right-desktop img{
        justify-self: center;
        align-self: center;
    }
}

/* Header Menu Fixed on Scroll */
.header-menu.fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease-in-out;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    background: #fff;
}

.header-menu.fixed.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Smooth transition per l'elemento dopo l'header */
.header-menu + * {
    transition: margin-top 0.7s ease-in-out;
}
