@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

body {
	background: url(../imgs/background.jpg) no-repeat center;
	background-size: cover;
	/*height: 100vh;
	min-height: 100vh;*/
	margin: 0;
	padding: 0 20px;
	font-family: 'Lato', sans-serif;
}

.container {
	/*height: 100%;*/
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	min-height: 100vh;
	padding: 15px 0;
	box-sizing: border-box;
}

p.macro {
	font-size: 120px;
	color: #fff;
	opacity: .2;
	position: absolute;
	top: -40px;
	left: -20px;
	margin: 0;
	font-weight: 900;
	z-index: -1;
}
@media screen and (min-width: 700px) {
	p.macro {
		font-size: 190px;
		top: -70px;
	}
}


p {
	font-size: 17px;
	color: #fff;
}

p.data {
	margin: 0 0 10vh 0;
	font-weight: 400;
}

p.lead {
	font-size: 22px; 
}

a {
	transition: .3s all;
}

p a {
	color: #fff;
	text-decoration: none;
	transition: .3s all;
}

p a:hover {
	color: #ffcb09;
}

.col1-2 {
	flex: 0 0 100%;
}

.col1-3 {
	flex: 0 0 100%;
}

.col2-3 {
	flex: 0 0 100%;
}

.right {
	order: 1;
	text-align: right;
}
.left {
	order: 2;
}

.left .content {
	padding: 0 40px;
	text-align: center;
}

@media screen and (min-width: 700px) {
	.col1-2 {
		flex: 0 0 50%;
	}
	
	.col1-3 {
		flex: 0 0 33.333333%;
	}

	.col2-3 {
		flex: 0 0 66.666666%;
	}
	
	.right {
		order: 2;
	}
	.left {
		order: 1;
		align-self: center;
	}
	
	.left .content {
		text-align: left;
	}
}

.right.loginPage {
	background: rgba(0,0,0,.4);
	margin: -20px -20px 0;
	flex: 0 0 calc(100% + 40px);
	margin-bottom: 30px;
}

@media screen and (min-width: 700px) {
	.right.loginPage {
		background: transparent;
		margin: 0;
		flex: 0 0 33.333333%;
		margin-bottom: 0;
	}
}

p.linksToSerypoint {
	margin: 50px 0;
}

a.serypoint img {
	width: 300px;
	max-width: 90%;
}

a.inprint img {
	width: 200px;
	max-width: 70%;
}

.contatti {
	margin-top: 50px;
}

contatti p {
	margin: 0;
}

.contatti p a {
	padding: 5px 0 5px 30px;
	margin-right: 20px;
	background-position: left center;
	background-size: 25px;
	background-repeat: no-repeat;
	font-weight: 700;
	display: inline-block;
}

.contatti p a.phone {
	background-image: url(../imgs/icon-phone.svg);
}

.contatti p a.mail {
	background-image: url(../imgs/icon-mail.svg);
}



/* RIGHT*/ 

.right a.inprint img {
	width: 140px;
	max-width: 70%;
	margin: 0 20px;
	display: none;
}

.contatti {
	margin: 20px 0;
}

.contatti p {
	display: table;
	margin: 20px auto;
	font-size: 15px;
}

@media screen and (min-width: 700px) {
	.contatti p {
		display: initial;
		margin: 20px 0;
	}
}

@media screen and (min-width: 700px) {
	.right a.inprint img{
		display: initial;
	}
}

.button {
	display: inline-block;
	height: 140px;
	width: 140px;
	text-align: center;
	line-height: 140px;
	border-radius: 50%;
	background: #ffcb09;
	color: #004380;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	margin: 30px auto;
	border: 3px solid #004380;
}

.button:hover {
	color: #ffcb09;
	background: #004380;
	border-color: #ffcb09;
}

a#sendFileForm {
	background: green;
	color: #fff;
	border-color: #fff;
	height: 90px;
	width: 90px;
	line-height: 90px;
	font-size: 16px;
}

a#sendFileForm:hover {
	background: #fff;
	color: green;
	border-color: green;
}

@media screen and (min-width: 700px) {
	.button {
		margin: 30px 30px 30px auto;
	}
}

/* FORM */

form {
	margin: 50px 0 0 0;
	text-align: left !important;
}

form p {
	margin: 0 0 10px;
}

p.area input{
	background: #014d7c;
	height: 40px;
	border-radius: 14px;
	border: 0;
	padding: 5px 20px;
	color: #fff;
	font-size: 17px;
	font-weight: 300;
	width: 100%;
}

p.enter a {
	display: table;
	height: 40px;
	text-align: center;
	line-height: 40px;
	border-radius: 14px;
	background: #ffcb09;
	color: #004380;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	margin: 30px 0 0 auto;
	padding: 5px 30px;
}

p.enter a:hover {
	color: #ffcb09;
	background: #004380;
	cursor: pointer;
}

@media screen and (min-width: 700px) {
	form {
	max-width: 350px;
	}
	p.area input {
		width: auto;
	}
}


/***************************************
 * 
 * DIALOG POPUP UPLOAD FILE * 
***************************************/
dialog {
	pointer-events: none;
	opacity: 0;
	transition: all 0.5s;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	display: none;
	max-width: 400px;
	width: 80vw;
}

dialog button {
	cursor: pointer;
}

dialog h2 {
	margin: 0;
	font-weight: 900;
	color: #004380;
}

dialog[open] {
	display: flex;
	opacity: 1;
	pointer-events: inherit;
	background: #fff;
	border: 6px solid #ffcb09;
	border-radius: 15px;
	color: #004380;
	padding: 40px 20px 20px 20px;
}

button.cancelDialog {
	display: block;
	height: 40px;
	width: 40px;
	text-indent: -9999em;
	border-radius: 50%;
	border: 0;
	position: absolute;
	top: 8px;
	right: 8px;
	cursor: pointer;
	transition: .3s all;
	background: url(../imgs/close.svg) no-repeat center #ffcb09;
	background-size: 20px;
}

button.cancelDialog:hover {
	transform: scale(1.2);
}

dialog::backdrop {
	background-color: rgba(0,0,0,.8);
}

.spinnerUpload {
	display: none;
}

.lds-ring {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}
.lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 8px solid black;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #004380 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
}

dialog ul#filelist {
	padding: 0;
}

dialog ul#filelist li {
	margin: 5px 0;
	list-style: none;
	text-align: center;
}

dialog #container button {
	margin: 0 3px;
	padding: 10px 30px;
	border-radius: 10px;
	font-size: 17px;
	transition: .3s all;
}

button#browse {
	background: #004380;
	color: #ffffff;
	border: 3px solid #023666;
}

button#browse:hover {
	background: #ffffff;
	color: #023666;
}


button#start-upload {
	background: green;
	color: #ffffff;
	border: 3px solid green;
}

button#start-upload:hover {
	background: #ffffff;
	color: green;
}

button[disabled] {
	background: #ddd !important;
	color: #ffffff !important;
	border: 3px solid #ccc !important;
	pointer-events: none;
}



@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}




