/* Layout contenitore form */
#profili-form-wrap {
  background: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 30px;
  max-width: 1200px;
  margin: 30px auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
}

/* Ogni gruppo campo in riga */
#profili-form-wrap p {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

/* Label allineate a sinistra */
#profili-form-wrap label {
  width: 250px;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
}

/* Input, select e textarea a destra */
#profili-form-wrap input[type="text"],
#profili-form-wrap input[type="file"],
#profili-form-wrap textarea,
#profili-form-wrap select {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  box-sizing: border-box;
}

#profili-form-wrap textarea {
  min-height: 100px;
  resize: vertical;
}

/* Pulsanti */
#profili-form-wrap input[type="submit"],
#profili-form-wrap .button-primary {
  background-color: #005f9e;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#profili-form-wrap input[type="submit"]:hover,
#profili-form-wrap .button-primary:hover {
  background-color: #00487a;
}

/* Messaggi */
#profili-form-wrap .success {
  color: green;
  font-weight: bold;
}

#profili-form-wrap .error {
  color: red;
  font-weight: bold;
}

#adminmenu .wp-menu-image img {
	padding: 5px 0 0; 
}

#profili-form-wrap select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml;utf8,<svg fill='black' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 12px center;
  background-size: 16px 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 15px;
  box-sizing: border-box;
}


#elenco-aziende {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
  justify-content: center; /* CENTRA I BOX */

}

#elenco-aziende .box-azienda {
  background: #f7f7f7;
  border-radius: 12px;
  width: 280px;
  text-align: center;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}




#elenco-aziende .box-azienda .foto-thumb {
  width: 100%;
  height: 150px;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
	overflow:hidden;
}
 

#elenco-aziende h3 {
  margin-top: 10px;
	padding:20px;
}

#elenco-aziende  h2 {
  font-size: 26px;
  margin-bottom: 10px;
	padding:20px;
}

#elenco-aziende h4 {
  font-size: 20px !important;
  margin-bottom: 10px;
	padding:20px;
}

 
#elenco-aziende .box-azienda .scheda-azienda p{
	padding:20px;
 	margin-bottom: 10px;
}

#elenco-aziende .box-azienda .galleria-immagini {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}


#elenco-aziende .box-azienda  .foto-scheda {
  width: 280px;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

 
.logo-azienda {

	height:70px !important;
	float:left;
	margin-right:30px;
}	
.sezione1 {
  width: 48%;
  float: left;
  padding-right: 2%;
}

.sezione2 {
  width: 48%;
  float: left;
  padding-left: 2%;
  border-left: 1px solid #23743E;
}

/* ✅ Stile responsive */
@media screen and (max-width: 768px) {
  .sezione1,
  .sezione2 {
    width: 100%;
    float: none;
    padding: 0;
    border: none;
	   margin-top: 20px;
  }
}	

#elenco-aziende .box-azienda .settore {  
	font-size:14px;
	padding:0 20px 40px 20px;
	line-height:1.5;
	text-align:center;
}

.blocco0{
background-color:#23743E;
height:auto;
}

.foto-azienda-basse{
max-width: 48%;
max-height:500px;
margin-right:1%;
float:left;
overflow:hidden;

}
.blocco1{
	width:140px;
	min-height:60px;
	border-radius:0 5px 5px 0; 
	background-color:#23743E;
	float:left; 
	color:white;
	padding:6px;
	 display: flex;
   align-items: center; 
	font-size:14px;
	font-weight:bold;
	justify-content: center;
}

.blocco2{
	width:350px;
	min-height:60px;
	border-radius:0 5px 5px 0; 
	background-color:#46B450;
	float:left; 
	color:white;
	padding:6px;
	margin-left:-5px;
	line-height:1.1;
	font-size:14px;
 	display: flex;
   align-items: center; 
}

.clear{clear:both;height:5px}


