/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/* RESET INIZIALE */
.grid_casehistory .w-grid-list {
  display: block;
  overflow: hidden; /* Contiene i float */
}

.grid_casehistory .w-grid-item {
  width: 100%;
  margin-bottom: 10px;
  float: none;
  clear: both;
	padding: 0px !important;
}

/* ELEMENTI AFFIANCATI */
.grid_casehistory .w-grid-item:nth-child(3n+2),
.grid_casehistory .w-grid-item:nth-child(3n+3) {
  width: calc(50% - 10px); /* Sottrae metà del gap */
  float: left !important; /* FORZA il float */
  clear: none !important;
  margin-bottom: 20px;
}

/* POSIZIONAMENTO PRECISO */
.grid_casehistory .w-grid-item:nth-child(3n+2) {
  margin-right: 10px; /* Gap a destra */
  margin-left: 0;
}

.grid_casehistory .w-grid-item:nth-child(3n+3) {
  margin-left: 10px; /* Gap a sinistra */
  margin-right: 0;
}


/* MOBILE RESET */

@media (max-width: 600px) {
  .grid_casehistory .w-grid-item,
  .grid_casehistory .w-grid-item:nth-child(3n+2),
  .grid_casehistory .w-grid-item:nth-child(3n+3) {
    width: 100% !important;
    float: none !important;
    margin: 0 0 20px 0 !important;
  }
}



/* FORM CONTATTO VERDE */
 
 .wpcf7 .form-privacy{
	padding-top:20px;
	display:flex;
	flex-direction:column;
	align-items:start;
	gap:10px;
}

 .wpcf7 .form-privacy input[type="checkbox"] {
  border-radius: 5px;
}
 .wpcf7 .form-invio,
.wpcf7-form-control.wpcf7-submit{
	padding-top:20px;
	display:flex;
	width:100%;
	justify-content:center;
	text-align:center;
}


@media screen and (min-width: 660px) {
	  .wpcf7 .form-riga {
	  display: flex;
	  gap: 20px;
	  flex-wrap: nowrap;
	  margin-bottom: 20px;
	}

	 .wpcf7 .form-riga > div {
	  flex: 1;
	}
}



/* RASSEGNA STAMPA DATE  */
.rassegna_stampa .w-tabs-item.active {\
  background: #d6fd44!important;
  color: black!important ;
}

.rassegna_stampa .w-tabs-item {
  color: black ;
}
.w-tabs-item.active{
	background-color:#D6FD44;
}

/* SCHEDA TEAM*/
a.w-person-link {
    color: black;
}


/*LISTA FAQ */

.table_faq_junker .w-tabs-sections.titles-align_none.icon_chevron.cpos_right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.table_faq_junker .w-tabs-section.has_text_color {
    background-color: #65D7C0 ;
    color: black !important;
    border-radius: 32px ;
    overflow: hidden;
}


.table_faq_junker .w-tabs-section-header {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    width: 100%;
    padding: 16px 32px !important;
    background: none ;
    border: none !important;
    text-align: left;
}


.table_faq_junker .w-tabs-section-header:hover {
    background-color: #60ceb8 ;
}

.table_faq_junker .sottosezione .w-tabs-section-title {
  font-weight: 400 !important;
  font-size: 18px;
}