
body {
	 font-family: Poppins, sans-serif;
	 font-size: 1.1em;
	 font-weight: 400;
	 background-color: rgba(242, 242, 242);
	}

h1 {
    font-family: Poppins, Sans-Serif;
    font-size: 1.6em;
    font-weight: 600;
	text-align: center;
    margin: 0 0 20px 00;
    padding: 10px;
    color: rgb(0, 112, 211);
}

.flex-container {
    position: fixed;
    top: 5px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    z-index: 1001;
}

#inputRicerca {
	font-family: Poppins, Sans-Serif;
	border-radius: 5px;
	padding: 5px;
}

#buttonRicerca {
  background-color: rgb(0, 112, 211);
  color: white;
  padding: 5px;
  margin: 2px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
}

#search-button-icon {
	vertical-align: middle;
	max-width: 20px;
	height: auto;
	/*padding-right: 5px;*/
	padding: 0px 2px;
}

#listWrapper {
	display: flex;
	flex-direction: column; 
	align-items: center; 
	justify-content: center;
	/*height: 100vh;*/
	padding: 35px 0 0;
	height: auto;
	box-sizing: border-box;
	background-color: rgba(242, 242, 242, 0.8);
}
	
.listaComuniAttivi {
	display: flex;
	flex-direction: column;
	/*justify-content: flex-start;*/
	padding: 20px;
	margin: 10px;
	box-sizing: border-box;
	width: 50%;
	position: fixed;
	top: 100px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(242, 242, 242, 0.8));
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); 
	overflow-y: auto;
	max-height: calc(100vh - 120px); 
	animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.listaComuniAttivi::-webkit-scrollbar {
  width: 8px;
}
.listaComuniAttivi::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #3498db, #2980b9);
  border-radius: 10px;
}
.listaComuniAttivi::-webkit-scrollbar-track {
  background: rgba(242, 242, 242, 0.5);
}

.listaComuniAttivi ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
	color: rgb(0, 112, 211);
}

.listaComuniAttivi ul li {
	list-style-type: none;
    padding: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 10px;
	transition: background-color 0.3s ease-in-out;
}

.listaComuniAttivi ul li a {
	color: rgb(0, 112, 211);
	font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.listaComuniAttivi ul li:hover {
	background-color: rgba(0, 112, 211, 0.1);
	color: rgb(0, 80, 180);
	text-decoration: underline;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	cursor: pointer;
}

/*a:link {
  text-decoration: none;
}*/

/*a:visited {
  text-decoration: none;
}*/

a:hover {
  text-decoration: underline;
  color: rgb(0, 112, 211);
  transition: color 0.3s;
  
}

a:active {
  text-decoration: underline;
}

#listaComuniAttivi {
	font-family: Poppins, Sans-Serif;
	height: 100vh;
	justify-content: space-around;
	overflow-x: hidden;
	overflow-y: scroll;
}

#buttonRicerca {
	cursor: pointer;
}

/*Responsività smartphone e schermi sotto una certa dimensione*/
@media only screen and (max-width: 915px) {	
		.listaComuniAttivi {
		font-size: 1.2em;
		width: 90%;
		left: 5%;
	}
}