html,
body {
	width: 98%;
	height: 100%;
	max-height: 100%;
	white-space: normal;
	overflow-y: hidden;
	font-family: Arial, Helvetica, sans-serif;
}

ol,
ul,
li {
	line-height: normal;
}

h3,
h4,
h5 {
	line-height: normal;
}

h5 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 2rem;
}

#loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: white;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.lingua {
	width: 2rem;
	height: 2rem;
	cursor: pointer;
}

.white {
	background-color: white;
	box-shadow: 7px 7px 3px gray;
	-webkit-box-shadow: 7px 7px 3px gray;
	-moz-box-shadow: 7px 7px 3px gray;
	transition: box-shadow 0.5s;
	-webkit-transition: box-shadow 0.5s;
	-moz-transition: box-shadow 0.5s;
}

.white:hover {
	background-color: white;
	box-shadow: 4px 4px 3px gray;
	-webkit-box-shadow: 4px 4px 3px gray;
	-moz-box-shadow: 4px 4px 3px gray;
	transition: box-shadow 0.5s;
	-webkit-transition: box-shadow 0.5s;
	-moz-transition: box-shadow 0.5s;
}

.white:active {
	background-color: white;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	transition: box-shadow 0.5s;
	-webkit-transition: box-shadow 0.5s;
	-moz-transition: box-shadow 0.5s;
}

.home {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 1.1em;
	background-color: white;
	box-shadow: 7px 7px 3px gray;
	-webkit-box-shadow: 7px 7px 3px gray;
	-moz-box-shadow: 7px 7px 3px gray;
	transition: box-shadow 0.5s;
	-webkit-transition: box-shadow 0.5s;
	-moz-transition: box-shadow 0.5s;
}

.home:hover {
	background-color: white;
	box-shadow: 4px 4px 3px gray;
	-webkit-box-shadow: 4px 4px 3px gray;
	-moz-box-shadow: 4px 4px 3px gray;
	transition: box-shadow 0.5s;
	-webkit-transition: box-shadow 0.5s;
	-moz-transition: box-shadow 0.5s;
}

.home:active {
	background-color: white;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	transition: box-shadow 0.5s;
	-webkit-transition: box-shadow 0.5s;
	-moz-transition: box-shadow 0.5s;
}

sfondo::before {
	background-image: url('../static/pictures/sfondo.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-filter: opacity(15%);
	filter: opacity(15%);
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	z-index: -1;
}

.watchmovie {
	bottom: 0;
}

.movieplayer {
	position: fixed;
	width: 98%;
	height: 100%;
	background-color: black;
	color: white;
	margin-top: 0%;
	transition: margin-top 1s;
	-webkit-transition: margin-top 1s;
	-moz-transition: margin-top 1s;
	z-index: 3;
}

.movieOff {
	margin-top: -900%;
	transition: margin-top 2s;
	-webkit-transition: margin-top 2s;
	-moz-transition: margin-top 2s;
}

.movie {
	width: 65vw;
	height: 45vw;
	max-width: 65vw;
	max-height: 45vw;
	margin-left: 17.5vw;
	margin-right: 17.5vw;
	margin-top: 2vw;
}

.login a:link {
	color: blue;
	text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}

.login {
	height: 50vh;
	width: 80vw;
	margin-left: 2vw;
	background-color: whitesmoke;
	border-radius: 20px;
	padding: 2vw;
	background: linear-gradient(
		90deg,
		rgba(155, 12, 12, 1) 3.4912718204488775%,
		rgba(155, 12, 12, 0.93) 25.74812967581047%,
		rgba(236, 186, 2, 0.85) 51.433915211970074%,
		rgba(254, 225, 0, 0.75) 57.23192019950125%,
		rgba(0, 0, 0, 0) 98.44139650872819%
	);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	overflow: hidden;
}

.loginField {
	max-width: fit-content;
	height: 30vh;
	margin-top: 2vh;
	margin-bottom: 2vh;
	margin-left: 1vw;
}

.loginMessage {
	max-width: fit-content;
	background-color: yellow;
	color: black;
	border-radius: 20px;
	padding-inline: 2vw;
}

.logout {
	position: absolute;
	top: 0;
	right: 0vw;
	width: fit-content;
	height: fit-content;
	max-width: 5vw;
	min-height: 2vh;
	font-size: 1.1em;
	background-color: red;
	color: black;
	padding: 1vw 2vw;
	text-decoration: none;
	box-shadow: 5px 3px 3px 3px gray;
	-webkit-box-shadow: 5px 3px 3px 3px gray;
	-moz-box-shadow: 5px 3px 3px 3px gray;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.status {
	position: absolute;
	right: 10vw;
	width: fit-content;
	height: fit-content;
	min-height: 2vh;
	font-size: 1.1em;
	background-color: navy;
	color: white;
	padding: 1vw 3vw;
	text-decoration: none;
	box-shadow: 5px 3px 3px 3px gray;
	-webkit-box-shadow: 5px 3px 3px 3px gray;
	-moz-box-shadow: 5px 3px 3px 3px gray;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	cursor: pointer;
	z-index: 5;
}

.status:hover {
	background: blue;
}

.status.contactUp {
	top: -20vh;
}

.status.contactDown {
	top: 0vh;
}

.menu-items {
	display: none;
	position: absolute;
	right: 1vw;
	top: 100%;
	width: 15vw;
	height: auto;
	background-color: navy;
	box-shadow: 5px 3px 3px 3px gray;
	-webkit-box-shadow: 5px 3px 3px 3px gray;
	-moz-box-shadow: 5px 3px 3px 3px gray;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	z-index: 5;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	flex-direction: column;
	padding: 0.5vw 0;
}

.menu-items a {
	display: block;
	color: white;
	padding: 0.5vw 1vw;
	text-decoration: none;
	font-size: 1em;
	width: 100%;
	text-align: center;
	border: 1px solid white;
	box-sizing: border-box;
	white-space: normal;
}

.menu-items a:hover {
	background: blue;
}

.contact,
.normal,
.writerPage {
	min-width: unset;
	width: 100%;
	border-radius: 0;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}

.download {
	position: absolute;
	right: 5vw;
}

.image {
	position: absolute;
	width: 15vw;
	height: 12vw;
	border-radius: 1vw;
	box-shadow: 7px 7px 3px gray;
	-webkit-box-shadow: 7px 7px 3px gray;
	-moz-box-shadow: 7px 7px 3px gray;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.image:hover {
	box-shadow: 4px 4px 3px gray;
	-webkit-box-shadow: 4px 4px 3px gray;
	-moz-box-shadow: 4px 4px 3px gray;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.image:active {
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	border-radius: 16px;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

table {
	padding: 2px;
}

.corano {
	background-color: lightgrey;
	padding: 1px;
}

.bibbiaImg {
	background-color: white;
	padding: 1px;
}

.caption {
	font-family: Verdana, sans-serif;
	font-size: 1.5vmax;
	float: left;
	clear: both;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: hidden;
}

.contentHold {
	position: fixed;
	background-color: OldLace;
	height: 100vh;
	width: 100vw;
	top: 0%;
	white-space: pre-wrap;
	font-size: 1.4em;
}

.contentHoldDown {
	margin-top: 300%;
	transition: margin-top 1s;
	-webkit-transition: margin-top 1s;
	-moz-transition: margin-top 1s;
}

.contentHoldUp {
	margin-top: 0%;
	transition: margin-top 1s;
	-webkit-transition: margin-top 1s;
	-moz-transition: margin-top 1s;
}

.sectionTitle {
	position: absolute;
	font-size: 2.5vw;
	text-align: left;
	top: 1%;
	left: 1%;
	width: 90%;
	font-family: Arial, Helvetica, sans-serif;
	overflow-wrap: break-word;
}

.search {
	position: absolute;
	text-align: left;
	top: 5vw;
	left: 1vw;
	width: auto;
}

.invisible {
	display: none;
}

.innerSearch {
	display: inline-block;
}

.hidden {
	position: absolute !important;
	bottom: 99999px !important;
}

.back {
	position: absolute;
	right: 4%;
	top: 1%;
	width: 2.2vw;
	height: 2.2vw;
}

.closeLabel {
	position: absolute;
}

.up {
	position: absolute;
	left: 40%;
	top: 1%;
	width: 2.8vw;
	height: 2.8vw;
}

.clearfix {
	clear: both;
}

.eng {
	display: none;
}

input {
	padding: 1.5vh;
}

.selectList {
	display: inline-block;
}

.selectHold {
	display: inline-block;
	top: 5;
}

a {
	color: blue;
	cursor: pointer;
}

.titolo {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-justify-content: left;
	-moz-justify-content: left;
	justify-content: left;
	-webkit-align-items: center;
	-moz-align-items: center;
	align-items: center;
	top: 0vh;
	height: 7vw;
	width: 100%;
}

.greeting {
	color: darkred;
	text-shadow: 0.1vw 0.1vw gold;
	font-size: 3vw;
	width: 55%;
	margin-top: 0vmin;
	margin-left: 1vmin;
	padding: 2.5vw 0;
}

.minorGreeting {
	font-size: 1.5vw;
	text-shadow: 0.05vw 0.05vw gold;
}

.copyright {
	position: absolute;
	margin-top: 0;
	width: 1vw;
	height: 1vw;
}

.logo {
	width: 9vw;
	height: 9.5vw;
	float: left;
}

.buttonTable {
	margin-top: 5vh;
	margin-left: 5%;
	margin-right: 5%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	column-gap: 15vw;
	row-gap: 20vw;
	grid-auto-rows: minmax(5vw, 4);
}

.grid1 {
	grid-area: 1 / 1 / 2 / 2;
}

.grid2 {
	grid-area: 1 / 2 / 2 / 3;
}

.grid3 {
	grid-area: 1 / 3 / 2 / 4;
}

.grid4 {
	grid-area: 2 / 1 / 3 / 2;
}

.grid5 {
	grid-area: 2 / 2 / 3 / 3;
}

.grid6 {
	grid-area: 2 / 3 / 3 / 2;
}

.alert {
	display: none;
}

.landscape {
	display: none;
}

.contentMenu {
	height: 5vw;
	max-height: 5vw;
}

.showText {
	position: absolute;
	top: 12vw;
	bottom: 0vw;
	box-sizing: border-box;
	height: auto;
	width: 96%;
	margin-left: 0%;
	margin-right: 1%;
	padding-bottom: 10rem;
	overflow-x: hidden;
	overflow-wrap: break-word;
	font-family: Arial, Helvetica, sans-serif;
}

.showLinked {
	margin-top: 10px;
}

.showLinked p {
	margin: 0 0 5px 0;
	font-weight: bold;
}

.linked-terms-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 10px;
}

.linked-terms-list li {
	display: inline-block;
}

.linked-term {
	text-decoration: none;
	color: #007bff;
	cursor: pointer;
}

.linked-term:hover {
	text-decoration: underline;
}

/* Scrollbar Fallback */
html {
	scrollbar-width: thin;
	scrollbar-color: darkred gold;
}

::-webkit-scrollbar {
	width: 0.5vw;
	transition: width 1s;
	-webkit-transition: width 1s;
}

::-webkit-scrollbar-thumb {
	background: darkred;
	border-radius: 10px;
	border: 0.1vw solid gold;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	transition: background 1s, width 1s;
	-webkit-transition: background 1s, width 1s;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
	width: 1vw;
	background: red;
	transition: background 1s, width 1s;
	-webkit-transition: background 1s, width 1s;
}

.fieldset-generic {
	background: darkred;
	border: 0.6vw solid gold;
	padding: 1%;
	border-radius: 5%;
	color: white;
}

@media screen and (max-width: 767px) and (orientation: portrait) {
	.titolo {
		top: 0;
		display: -webkit-flex;
		display: -moz-flex;
		display: flex;
		-webkit-justify-content: left;
		-moz-justify-content: left;
		justify-content: left;
		-webkit-align-items: center;
		-moz-align-items: center;
		align-items: center;
		height: 24vw;
		width: 100%;
	}

	.lingua {
		width: 6vw;
		height: 6vw;
	}

	.back {
		position: absolute;
		right: 4%;
		top: 1%;
		width: 8vw;
		height: 8vw;
	}

	.status {
		right: 16vw;
		font-size: 0.8em;
		height: 5vh;
		padding: 1vh 2vh;
		writing-mode: unset;
	}

	.logout {
		width: auto;
		height: auto;
		right: 1vw;
		font-size: 0.8em;
		height: 5vh;
		writing-mode: vertical-rl;
		padding: 1vh 2vh;
	}

	.up {
		position: absolute;
		left: 60%;
		top: 1%;
		width: 8vw;
		height: 8vw;
	}

	.greeting {
		color: darkred;
		text-shadow: 0.1vw 0.1vw gold;
		font-size: 8vw;
		width: 55%;
		padding: 3vmin 0;
		margin-left: 1vmin;
	}

	.minorGreeting {
		font-size: 4vw;
		text-shadow: 0.05vw 0.05vw gold;
	}

	.copyright {
		position: absolute;
		margin-top: 0;
		width: 3vw;
		height: 3vw;
	}

	.logo {
		width: 24vw;
		height: 28vw;
		float: left;
	}

	.image {
		position: absolute;
		width: 30vw;
		height: 26vw;
	}

	.buttonTable {
		margin-left: 10%;
		margin-right: 10%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, 1fr);
		column-gap: 10vw;
		row-gap: 35vw;
		grid-auto-rows: minmax(5vw, 2);
	}

	.grid1 {
		grid-area: 1 / 1 / 2 / 2;
	}

	.grid2 {
		grid-area: 1 / 2 / 2 / 3;
	}

	.grid3 {
		grid-area: 2 / 1 / 3 / 2;
	}

	.grid4 {
		grid-area: 2 / 2 / 3 / 3;
	}

	.grid5 {
		grid-area: 3 / 1 / 4 / 2;
	}

	.grid6 {
		grid-area: 3 / 2 / 4 / 3;
	}

	.movie {
		display: none;
	}

	.alert {
		display: block;
		color: white;
		margin: 0;
		width: 90%;
		padding: 5%;
		overflow: hidden;
	}

	.landscape {
		position: fixed;
		display: block;
		width: 90vw;
		height: 70vw;
		margin-bottom: 5%;
		margin-left: 5%;
		margin-right: 5%;
	}

	.contentMenu {
		height: 0vw;
		max-height: 10vw;
	}

	.sectionTitle {
		position: absolute;
		font-size: 5vw;
		text-align: left;
		top: 1%;
		left: 1%;
		width: 90%;
		font-family: Arial, Helvetica, sans-serif;
		overflow-wrap: break-word;
	}

	.search {
		position: absolute;
		text-align: left;
		top: 10vw;
		left: 1vw;
		width: auto;
	}

	.showText {
		position: absolute;
		top: 30vw;
		box-sizing: border-box;
		height: 80%;
		width: 96%;
		margin-left: 0%;
		margin-right: 1%;
		overflow-x: hidden;
		overflow-wrap: break-word;
		font-family: Arial, Helvetica, sans-serif;
	}

	.menu-items {
		width: 40vw;
		right: 1vw;
		padding: 0.5vw 0;
		display: none;
		display: -webkit-flex;
		display: -moz-flex;
		flex-direction: column;
	}

	.menu-items a {
		width: 100%;
		font-size: 0.9em;
		padding: 1vw 1vw;
		text-align: center;
		box-sizing: border-box;
		white-space: normal;
		height: auto;
		min-height: 5vh;
		display: block;
	}

	.status:hover .menu-items,
	.status:active .menu-items,
	.status:focus .menu-items {
		display: -webkit-flex;
		display: -moz-flex;
		display: flex;
	}
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
	.titolo {
		display: -webkit-flex;
		display: -moz-flex;
		display: flex;
		-webkit-justify-content: left;
		-moz-justify-content: left;
		justify-content: left;
		-webkit-align-items: center;
		-moz-align-items: center;
		align-items: center;
		height: 7vw;
		width: 100%;
	}

	.greeting {
		color: darkred;
		text-shadow: 0.1vw 0.1vw gold;
		font-size: 3vw;
		width: 55%;
		margin-top: 6vmin;
		margin-left: 1vmin;
		padding: 2.5vmin 0;
	}

	.minorGreeting {
		font-size: 1.5vw;
		text-shadow: 0.05vw 0.05vw gold;
	}

	.copyright {
		position: absolute;
		margin-top: 0;
		width: 1vw;
		height: 1vw;
	}

	.logo {
		width: 9vw;
		height: 9.5vw;
		float: left;
	}

	.image {
		width: 12vw;
		height: 10vw;
		max-width: 100%;
		left: 50%;
		top: 0;
		transform: translateX(-50%);
	}

	.status {
		right: 12vw;
		font-size: 0.8em;
		white-space: nowrap;
	}

	.logout {
		right: 2vw;
		font-size: 0.8em;
	}

	.buttonTable {
		margin-top: 5vh;
		margin-left: 10%;
		margin-right: 10%;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 1fr);
		column-gap: 6vw;
		row-gap: 6vw;
		grid-auto-rows: minmax(5vw, auto);
	}

	.grid1 {
		grid-area: 1 / 1 / 2 / 2;
	}

	.grid2 {
		grid-area: 1 / 2 / 2 / 3;
	}

	.grid3 {
		grid-area: 1 / 3 / 2 / 4;
	}

	.grid4 {
		grid-area: 2 / 1 / 3 / 2;
	}

	.grid5 {
		grid-area: 2 / 2 / 3 / 3;
	}

	.grid6 {
		grid-area: 2 / 3 / 3 / 4;
	}

	.alert {
		display: none;
	}

	.landscape {
		display: none;
	}

	.contentMenu {
		height: 5vw;
		max-height: 5vw;
	}

	.showText {
		position: absolute;
		top: 12vw;
		bottom: 0vw;
		box-sizing: border-box;
		height: 50%;
		width: 96%;
		margin-left: 0%;
		margin-right: 1%;
		overflow-x: hidden;
		overflow-wrap: break-word;
		font-family: Arial, Helvetica, sans-serif;
	}

	.menu-items {
		position: absolute;
		right: 0vw;
		top: 100%;
		width: 15vw;
		display: none;
		display: -webkit-flex;
		display: -moz-flex;
		flex-direction: column;
		z-index: 5;
	}

	.menu-items a {
		font-size: 0.8em;
		width: 100%;
	}

	.status:hover .menu-items,
	.status:active .menu-items,
	.status:focus .menu-items {
		display: -webkit-flex;
		display: -moz-flex;
		display: flex;
	}

	.buttonTable > div {
		position: relative;
		min-height: 8vw;
	}
}
