*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

main div.page {
	position: relative;
	width: 100vw;
	min-height: 100vh;
}

/* Page 1 */
main div.page#page1 {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url('../img/bilancio/sfondo.png');
	background-repeat: no-repeat;
	background-position: center 50vh;
	background-size: cover;
}

main div.page#page1 div.illustrazione {
	background-image: url('../img/bilancio/risorsa.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 40%;
	height: 465px;
	position: relative;
	margin-left: 20%;
}

/* Page 2 */
main div.page#page2 {
	background-color: #EAEAEA;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
}

/* ----- Title container ----- */
div.page#page2 div.titleContainer {
	position: relative;
	width: 80%;
	padding-bottom: 10%;
}

div.page#page2 div.titleContainer h1 {
	text-align: center;
	font-family: 'GBlack';
	font-size: 49px;
	line-height: 59px;
	color: var(--rosa);
}
/* ----- ----- */

/* ----- Conferma mail check ----- */
div.confermaMailContainer {
	position: relative;
	width: 80%;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-bottom: 50px;
	padding-top: 50px;
	background-color: white;
	border-radius: 15px;
	margin: auto;
	margin-top: 0;
}

div.confermaMailContainer div.titleSection {
	position: relative;
	width: 100%;
	padding-bottom: 25px;
}

div.confermaMailContainer div.titleSection h2 {
	font-family: 'GMedium';
	color: var(--rosa);
	font-size: 25px;
	line-height: 30px;
	text-align: center;
}

div.confermaMailContainer div.textContainer {
	position: relative;
	width: 90%;
}

div.confermaMailContainer div.textContainer p {
	font-family: 'GBook';
	color: var(--viola);
	font-size: 20px;
	line-height: 25px;
	text-align: center;
}

div.confermaMailContainer div.textContainer p a {
	color: var(--rosa);
}

div.confermaMailContainer div.textContainer p a:hover {
	color: var(--viola);
}
/* ----- ----- */

/* ----- login check ----- */
/*main div.page#page2 div.loginCheckContainer {
	position: relative;
	width: 100%;
	min-height: calc(100vh - 200px);
	display: flex;
	justify-content: center;
	align-items: center;
}*/

main div.page#page2 div.loginCheck {
	position: relative;
	width: 90%;
	margin: auto;
	max-width: 1024px;
	height: auto;
	min-height: 400px;
	margin-top: 0;
	background-color: white;
	border-radius: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	padding-top: 2.5%;
	padding-bottom: 2.5%;
}

main div.page#page2 div.loginCheck div.titleContainer {
	position: relative;
	width: 90%;
	text-align: center;
}

main div.page#page2 div.loginCheck div.titleContainer h2 {
	font-family: 'GBlack';
	font-size: 40px;
	line-height: 45px;
	color: var(--rosa);
}

main div.page#page2 div.loginCheck div.descContainer {
	position: relative;
	width: 90%;
	max-width: 800px;
	text-align: center;
}

main div.page#page2 div.loginCheck div.descContainer:nth-child(1) {
	margin-bottom: 25px;
}

main div.page#page2 div.loginCheck div.descContainer p {
	font-family: 'GMedium';
	font-size: 22px;
	line-height: 27px;
	color: var(--viola);
}

main div.page#page2 div.loginCheck div.descContainer p a,
main div.page#page2 div.loginCheck div.descContainer p a:visited,
main div.page#page2 div.loginCheck div.descContainer p a:link {
	color: var(--rosa);
}

main div.page#page2 div.loginCheck div.descContainer p a:hover {
	color: var(--footer);
}
/* ----- ----- */

/* ----- section of graph ----- */
div.page#page2 div.graphBox {
	position: relative;
	width: 100%;
	height: auto;
	max-height: 600px;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	padding-left: 10%;
	padding-right: 10%;
	padding-bottom: 10%;
}

div.page#page2 div.graphBox div.boxGraph {
	position: relative;
	width: 25%;
	max-width: 300px;
	min-width: 200px;
	height: auto;
}

div.page#page2 div.graphBox div.box {
	width: 40%;
	max-width: 800px;
	min-width: 400px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-color: white;
	border-radius: 15px;
	padding: 5%;
}

div.page#page2 div.graphBox div.box div.title {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

div.page#page2 div.graphBox div.box div.title label {
	color: var(--viola);
	font-family: 'GBlack';
	font-size: 29px;
	line-height: 39px;
	margin-right: 50px;
}

div.page#page2 div.graphBox div.box div.title select {
	width: 150px;
	height: 25px;
	border: none;
	font-family: 'GBook';
	font-size: 18px;
	line-height: 23px;
	color: var(--viola);
	border-bottom: 1px solid var(--viola);
	text-align: center;
}

div.page#page2 div.graphBox div.box div.title select option {
	text-align: center;
}

div.page#page2 div.graphBox div.box div.totalTable {
	position: relative;
	display: flex;
	justify-content: center;
	padding-top: 5%;
}

div.page#page2 div.graphBox div.box div.totalTable div.table {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

div.page#page2 div.graphBox div.box div.totalTable div.table div.row {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

div.page#page2 div.graphBox div.box div.totalTable div.table div.row div.column {
	position: relative;
	width: 50%;
	text-align: center;
	font-family: 'GBook';
	font-size: 18px;
	line-height: 23px;
	color: var(--viola);
}

div.page#page2 div.graphBox div.box div.totalTable div.table div.row:nth-child(1) div.column {
	font-family: 'GBlack';
	font-size: 20px;
	line-height: 25px;
	color: var(--rosa);
}
/* ----- ----- */

/* ----- Table container ----- */
div.page#page2 div.tabCont {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
}

div.page#page2 div.tabCont div.table {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

div.page div.tabCont div.table table {
	position: relative;
	width: 90%;
	max-width: 1024px;
	border: none;
	padding-bottom: 5%;
	padding-top: 5%;
	padding-left: 5%;
	padding-right: 5%;
	background-color: white;
	border-radius: 15px;
	margin-bottom: 5%;
}

div.page div.tabCont div.table table tr {
	position: relative;
	width: 100%;
}

div.page div.box div.totalTable table tr.r19,
div.page div.box div.totalTable table tr.r20,
div.page div.box div.totalTable table tr.r21,
div.page div.tabCont div.table table tr.r20,
div.page div.tabCont div.table table tr.r21,
div.page div.tabCont div.table table tr.r19 {
	display: none;
}

div.page div.tabCont div.table table tr.out td {
	color: var(--rosa);
}

div.page div.tabCont div.table table tr td {
	height: 25px;
	font-family: 'GBook';
	font-size: 18px;
	line-height: 23px;
	color: var(--viola);
}

div.page div.tabCont div.table table thead tr#title td {
	font-family: 'GBlack';
	font-size: 20px;
	line-height: 25px;
	color: var(--rosa);
	height: 50px;
}

div.page div.tabCont div.table table tr td.prima,
div.page div.tabCont div.table table tr td.terza {
	width: 100px;
}

div.page div.tabCont div.table table tr td.terza {
	/*text-align: right;*/
}

div.page div.tabCont div.table table tr td.seconda {
	width: calc(100% - 200px);
}

@media (max-width: 1200px) {
	div.page#page2 div.graphBox {
		flex-direction: column-reverse;
		max-height: none;
	}

	div.page#page2 div.graphBox div.box {
		margin-bottom: 5%;
		width: 90%;
		max-width: 1024px;
		padding-left: 5%;
		padding-right: 5%;
	}

	div.page#page2 div.graphBox div.boxGraph {
		width: 30%;
	}
}

@media (max-width: 1000px) {
	div.page#page2 div.graphBox div.boxGraph {
		width: 300px;
	}

	div.page#page2 div.graphBox div.box {
		margin-bottom: 10%;
		max-width: 1024px;
		padding-left: 5%;
		padding-right: 5%;
	}
}

@media (max-width: 900px) {
	/* Page 1 */
	/*main div.page#page1 div.illustrazione {
		width: 60%;
	}*/
}

/* Per iPhone portrait*/
@media only screen
	and (max-device-width: 980px)
	and (min-device-height:  480px)
	and (orientation:portrait) {
		main div.page#page1 {
			min-height: 70vh;
			height: 70vh;
			max-height: 70vh;
			background-position: center 30vh;
		}

		main div.page#page1 div.illustrazione {
			/*position: relative;
			width: 80%;
			left: 0;
			margin-right: 40vw;
			margin-top: -35vh;
			bottom: -25vh;*/
			margin-left: 0;
			width: 70%;
		}

		div.page#page2 div.graphBox {
			width: 100%;
		}

		div.page#page2 div.graphBox div.box {
			position: relative;
			width: 100%;
			min-width: 50px;
			max-width: none;
		}

		div.page#page2 div.graphBox div.box div.title {
			width: 100%;
		}

		/* ----- section of graph ----- */
		main div.page#page2 div.loginCheckContainer div.loginCheck {
			width: 80%;
			min-height: 30vh;
		}
		/* ----- ----- */

		main div.page#page2 div.graphBox {
			margin-top: 10%;
		}

		main div.page#page2 div.tabCont {
			margin-top: 10%;
		}

		div.page div.tabCont div.table table tr td {
			height: 25px;
			font-family: 'GBook';
			font-size: 15px;
			line-height: 20px;
			color: var(--viola);
		}

		div.page div.tabCont div.table table thead tr#title td {
			font-family: 'GBlack';
			font-size: 17px;
			line-height: 22px;
			color: var(--rosa);
			height: 50px;
		}
	}

/* Per iPhone landscape*/
@media screen
	and (max-height:  480px)
	and (orientation:landscape) {
		main div.page#page1 {
			background-position: center 30vh;
			min-height: 130vh;
		}

		div.page div.titleContainer {
			margin-top: 40vh;
		}
	}