*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	background-color: #a0def6;
	display: flex;
	flex-direction: column;
	height: 100vh;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}


.header {
	background-color: #fff;
	padding: 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
}

#site-logo-inner {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

.site-title {
	margin-right: 20px;
}

.site-title img {
	max-height: 80px;
}

.subsite-title {
	font-size: 2rem;
	font-weight: 600;
	color: #003890;
	text-align: left; /* Allinea il testo a sinistra */
	margin-top: 20px;
	display: flex;
	justify-content: space-between; /* Questo separa il titolo dal login/logout */
	align-items: center;
	width: 100%;
}

.subsite-title .login-link {
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px 15px;
	font-size: 0.9rem;
	background-color: #1b4e9c;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.subsite-title .login-link:hover {
	background-color: #003890;
}



.app-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 20px;
	flex: 1 0 auto;
}

.app {
	flex: 1 1 calc(25% - 20px);
	margin: 10px;
	text-align: center;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	transition: transform 0.3s ease;
}

.app:hover {
	transform: translateY(-10px);
}

.app img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.titleapp {
	font-size: 1.5rem;
	color: #003890;
	font-weight: bold;
	margin-bottom: 10px;
}

.descapp {
	font-size: 1rem;
	color: #555;
	line-height: 1.5;
}




.footer {
	background-color: #003890;
	color: #fff;
	padding: 20px;
	margin-top: auto;
	display: flex;
	align-items: center; /* Allinea verticalmente l'immagine e il testo */
	justify-content: space-between; /* Posiziona gli elementi ai bordi */
}

.footer img {
	max-height: 40px;
	margin-right: 20px; /* Distanza tra l'immagine e il testo */
}

.footer p {
	margin: 0;
	text-align: center;
	flex-grow: 1; /* Il testo occupa lo spazio rimanente, centrato */
}

