body, html {
	height: 100%;
	margin: 0;
	font-family: "Nunito", sans-serif;
	font-optical-sizing: auto;
	font-size: 12pt;
	font-weight: 200;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Saira', sans-serif;
  font-weight: 700;
}

.ff-nunito {
  font-family: 'Nunito Sans', sans-serif;
}

.ff-saira {
  font-family: 'Saira', sans-serif;
  font-weight: 600;
}

.fs-7 {font-size: 0.9rem;}
.fs-8 {font-size: 0.8rem;}
.fs-9 {font-size: 0.7rem;}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(0px); /* Opzionale: applica uno sfocato all'immagine */
    z-index: -1;
}

/* Loading Content */
#loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent white background */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Adjust as needed to make sure it's on top of your content */
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 144px;
  height: 144px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
.lds-ripple p.msg1{
  position: relative;
  top: 0;
  margin: 50px 0 0 13px;
  font-size: 1.5em;
  font-weight: 800;
  color: #fff;
  text-align: center;
  opacity: 1;
}
.lds-ripple p.msg2{
  position: relative;
  top: 0;
  margin: 0 0 0 13px;
  font-size: 1.0em;
  font-weight: 500;
  color: #fff;
  text-align: center;
  opacity: 1;
}
@keyframes lds-ripple {
  0% {
    top: 72px;
    left: 72px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 72px;
    left: 72px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 72px;
    left: 72px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 144px;
    height: 144px;
    opacity: 0;
  }
}


@media screen and (max-width: 360px) {
	.welcBox {
		width: 90%;
		max-width: 300px;
	}
	.loginBox {
		width: 100%;
		border-radius: 20px;
	}
	.loginBox h3 {
		margin: 20px 0 0 0;
	}
}
@media screen and (min-width: 361px) and (max-width: 767px) {
	.welcBox {
		width: 90%;
		max-width: 500px;
	}
	.loginBox {
		width: 100%;
		border-radius: 20px;
	}
	.loginBox h3 {
		margin: 20px 0 0 0;
	}
}
@media screen and (min-width: 768px) {
	.welcBox {
		width: 100%;
		max-width: 700px;
	}
	.loginBox {
		width: 40%;
		border-radius: 0 20px 20px 0;
	}
	.loginBox h3 {
		margin: 60px 0 0 0;
	}
}
@media screen and (min-width: 768px) and (max-height: 700px) {
	.welcBox {
		height: 90%;
	}
}
@media screen and (min-width: 768px) and (min-height: 701px) {
	.welcBox {
		height: 350px;
	}
}

.login-container {
    display: flex;
	justify-content: center;
    align-items: center;
    height: 100%;
}

.welcBox {
/*	margin: 100px auto 0 auto;*/
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.welcomeMsg {
	position: relative;
	width: 60%;
	margin: 0;
	padding: 40px;
	font-size: 0.95rem;
	color: #fff;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.85);
	border-radius: 20px 0 0 20px;
}
	.welcomeMsg h1#logoSX {
		padding: 0px 0 0 0;
		font-family: "Saira",sans-serif;
		font-size: 3.0rem;
		font-weight: 700;
		color: #FF6F0F;
		text-align: center;
	}
		.welcomeMsg h1#logoSX span {
			color: #fff;
		}
	.welcomeMsg p#diffida {
		position: absolute;
		left: 0;
		bottom: 0;
		padding: 20px 20px 10px 20px;
		font-family: 'Arial', sans-serif;
		font-size: 0.68rem;
		font-weight: 400;
		line-height: 1.1em;
		color: #ccc;
		text-align: center;
	}

.loginBox {
	padding: 40px 10px;
    text-align: center;
	box-sizing: content-box;
	background-color: rgba(230, 230, 230, 0.95);
}
	.loginBox h1#logoDX {
		margin: 0 0 0 0;
		padding: 0 0 5px 0;
		font-family: "Saira",sans-serif;
		font-size: 2.0em;
		font-weight: 700;
		color: #FF6F0F;
		text-align: center;
/*		border-bottom: solid 1px #ccc;*/
		border-radius: 20px 20px 0 0;
		background-color: rgba(0, 0, 0, 0.85);
	}
		.loginBox h1#logoDX span {
			color: #fff;
		}
	.loginBoxForm {
		max-width: 300px;
	}
	.loginBox #msgTitle {
		margin: 10px 0 0 0;
		padding: 0 0 0 0;
		font-family: "Saira",sans-serif;
		font-size: 1.5em;
		font-weight: 700;
		color: #000;
		line-height: 1em;
		text-align: center;
	}
	.loginBox h6 {
		margin: 0 0 20px 0;
		padding: 0 0 0 0;
		font-size: 0.8rem;
		font-weight: 400;
		color: #333;
		text-align: center;
	}

	.loginBox form {
		display: block;
		margin: 0;
		padding: 0;
	}

	.loginBox .input-container {
		position: relative;
		margin: 0 0 10px 0;
	}

	.loginBox i.bisx {
		position: absolute;
		left: 10px;
		top: 50%;
		transform: translateY(-50%);
		color: #015ca7;
	}

	.loginBox .input-container {
		position: relative;
	}
		.loginBox .input-container .toggle-password {
			position: absolute;
			right: 10px; /* Sposta l'icona a destra */
			top: 50%; /* Centra verticalmente */
			transform: translateY(-50%); /* Allinea al centro verticale */
			cursor: pointer;
			font-size: 1.2rem;
			color: #6c757d;
		}

	.loginBox input {
		width: 100%;
		padding: 5px 10px;
		font-size: 0.9em;
		text-align: center;
		border: solid 1px #015ca7;
		border-radius: 5px;
	}

	.loginBox button {
		width: 100%;
		margin: 10px 0 0 0;
		padding: 5px 10px;
		color: #fff;
		background-color: #015ca7;
		border: none;
		border-radius: 5px;
		cursor: pointer;
	}

	.loginBox button:hover {
		background-color: #003366;
	}
	.loginBox p#msgBlock {
		margin-top: 20px;
		line-height: 1.1em;
		text-transform: uppercase;
		text-align: center;
	}
	.loginBox p#diffidaMob {
		margin-top: 20px;
		padding-top: 10px;
		font-family: 'Arial', sans-serif;
		font-size: 0.68rem;
		font-weight: 400;
		line-height: 1.1em;
		color: #666;
		text-align: center;
		/*border-top: solid 1px #ccc;*/
	}
