/* CSS Document */

@charset "utf-8";

#apertura {
	max-height: 100vh;
	position: relative;
	overflow: hidden;

}

#apertura video {
	width: 100%;
	max-height: 100vh;
	object-fit: fill;
	position: fixed;

}

#apertura > .Message {
	display: none;

}

.desktop #apertura > img {
	display: block;
	width: 100%;
	visibility: hidden;

}

.desktop #apertura > .bg_move {
	max-height: 100vh;
	position: fixed;
	width: 100%;
	height: 56.25vw;
	overflow: hidden;
	background: #000;
	z-index: 0;

}

.desktop .sliderfade {
	max-height: 100vh;
	position: fixed;
	width: 100%;
	height: 56.25vw;
	overflow: hidden;
	background: #000;
	opacity: 0;
	z-index: 1;

}

.desktop #apertura > .bg_move > .moveable {
	width: 100%;
	height: 100%;
	background-size: 120% auto !important;
	background-position: right bottom !important;
	animation-name: bgmove;
	animation-duration: 2s;
	animation-delay: 1s;
	animation-fill-mode: forwards;
	animation-timing-function: linear;
	opacity: 0;

}

@keyframes bgmove {
	0% {
		background-size: 120% auto;
		background-position: right bottom;
	}
	100% {
		background-size: 100% auto;
		background-position: center top;
		opacity: 1;
	}
}

.desktop .slidebuttons {
	color: #fff;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-block;
	padding: 0.15rem;
	cursor: pointer;
	border-radius: 100%;
	background: #fff;
	border: 0.2rem solid #fff;

}

.desktop .slidebuttons.slideselect {
	background: #d90202;

}

.desktop .boxes5.afterapertura .outerbox {
	margin-top: -3.65rem;
	
}

.boxes5 .outerbox {
	width: 23%;
	margin-left: 1%;
	margin-right: 1%;
	color: #222222;

}

.afterapertura .outerbox .box {
	cursor: pointer;
}

.desktop .boxes5 .outerbox.toggle {
	background: #ffffff;

}

.boxes5 .box {
	padding: 0;

}

.desktop .row.event {
	cursor: pointer;
}

.desktop .boxes5 .box:hover {
	background: #0000009e;
	color: #ffffff;

}

.desktop .boxes5.afterapertura .toggle .box:hover {
	background: #ffffff;
	color: #222222;

}

.boxes5 .box h4 {
	text-align: center;
	font-size: 1.5rem;
	padding-left: 2rem;
	padding-right: 2rem;

}

.boxes5 .box h4 .Sottotitolo {
	font-size: 1.2rem;
	font-weight: normal;

}

.desktop .boxes5.afterapertura .box h4 {
	background: #00000073;
	color: #ffffff;
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);

}

.desktop .boxes5.afterapertura .box h4 {
	padding: 1rem 0;
	padding-bottom: 1rem;

}

.desktop .boxes5.afterapertura .box:hover h4 {
	background: #0000009e;
	color: #ffffff;

}

.desktop .boxes5.afterapertura .box h4.selected {
	background: #ffffff;
	color: #222;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);

}

.desktop .boxes5 .outerbox.toggle h4 {
	background: #ffffff;
	color: #0000009e;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);

}

.desktop .boxes5 .box:hover h4.selected {
	background: #222;;
	color: #ffffff;

}

.boxes5 .box img {
	width: 100%;
	padding: 1rem 2rem;
	padding-top: 2rem;

}

.boxes5 .box p {
	padding: 1rem 2rem;

}

.boxes5.event .box p {
	text-align: center;
}

#news {
	background: #0000009e;
	text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);

}

.desktop #news a:hover {
	text-decoration: underline;

}

#multimedia {
	text-align: center;
	/*background: #727f9766;*/
	/*background: #0000009e;*/
	background: #ffffff;
	/*text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);*/

}

#multimedia .table {
	display: table;
	width: 100%;

}

#multimedia h4 {
	padding-bottom: 2rem;
	color: #0000009e;

}

.desktop #multimedia h4 {
	width: 100%;
	height: 9rem;
	display: table-cell;
	vertical-align: bottom;
	padding-bottom: 2rem;

}

.desktop #multimedia iframe {
	height: 11.6vw;

}

.titlebox {
	padding-bottom: 1rem;

}

.mobile .istituzioni {
	padding-bottom: 0;

}
.desktop .istituzioni {
    /*padding-top: 7.5rem;*/
    padding-bottom: 7.5rem;

}
.desktop .istituzioni h3 {
    /*padding-top: 7.5rem;*/
	padding-top: 3rem;
	padding-bottom: 3rem;
	color: #222;
	
}

.desktop .istituzioni img {
	padding: 0.5rem;
	padding-left: 2rem;
	padding-right: 2rem;
	max-height: 10.5rem;
	/*max-height: 5.5rem;*/
	margin: auto;
    display: block;
	width: auto;
}
