/* Add here all your css styles (customizations) */
main {
  display: flex;
  flex-direction: column;
}

.dzsparallaxer .container {
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* 
.btn {
  border-radius: 30px !important;
} */

a[href^="mailto:"] {
	text-decoration: underline;
}

section.evento p,
section.evento div {
  font-size: 1.15rem;
}

.modal-xl {
  min-width: 1200px;
}

.float-right {
  float: right;
}

.bg-primary {
  background-color: #E76028;
}

.bg-bianco {

	background-color: white !important;
	color: black !important;
}

.bg-nero {
	background-color: black !important;
	color: white !important;
}

.bg-grigio {
	background-color: #747475 !important;
	color: white !important;
}

.bg-grigio-chiaro {
	background-color: #DDDDDD !important;
	color: black !important;
}

.bg-arancione {
	background-color: #e84921 !important;
	color: white !important;
}

.bg-verde {
	background-color: #387755 !important;
	color: white !important;
}

.bg-blu {
	background-color: #4d5ca6 !important;
	color: white !important;
}

.h100 {
	height: 100px !important;
}

.h200 {
	height: 200px !important;
}

.h300 {
	height: 300px !important;
}

/*  */


.blocchi {
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-auto-flow: dense;
	/* border: 1px solid black; */
}

.blocco {
	overflow: hidden;
	aspect-ratio: 1;
	padding: 1.5rem;
	margin: 0 !important;
	background-size: cover !important;
	position: relative;
	overflow-wrap: break-word;
}

a.blocco {
	text-decoration: none !important;
	transition: filter .5s ease;
}

.g-bg-lime {
	background-color: #C8D10A;
}

.g-bg-lime-opacity-0_8--after::after {
    background-color: rgba(200, 209, 10, 0.8) !important;
}

.g-bg-grigio-opacity-0_8--after::after {

    background-color: rgba(124, 124, 123, 0.5) !important;
}

.g-bg-lime-opacity-1--after::after {
    background-color: rgba(200, 209, 10) !important;
}

.g-bg-lobster {
	background-color: #E83C3B;
}

.g-bg-lobster-opacity-0_8--after::after {
    background-color: rgba(232, 60, 59, 0.8) !important;
}

.g-bg-lobster-opacity-1--after::after {
    background-color: rgba(232, 60, 59) !important;
}

.grayscale {
	filter: grayscale(100%);
}

a.blocco:hover:not(.grayscale) {
	filter: brightness(80%) grayscale(10%);
}
a.blocco.g-bg-secondary:hover, a.blocco.g-bg-primary:hover {
	color: inherit;
}

a.blocco.grayscale:hover {
	filter: grayscale(10%);
}

.b1x1 {
	aspect-ratio: 1;
}

.b1x2 {
	aspect-ratio: 1 / 2;
	grid-row-start: span 2;
}

.b2x1 {
	aspect-ratio: 2;
	grid-column-start: span 2;
}

.b2x2 {
	grid-row-start: span 2;
	grid-column-start: span 2;
}

.b3x2 {
	aspect-ratio: 3 / 2;
	grid-row-start: span 2;
	grid-column-start: span 3;
}

.b1x0 {
	aspect-ratio: 2;
}

.b2x0 {
	aspect-ratio: 4;
	grid-column-start: span 2;
}

.bHeaderPagina {
	aspect-ratio: 3 / 2.25;
	grid-row-start: span 2;
	grid-column-start: span 2;
}

.fixGrigio {
	border-bottom: 1px solid white;
}

@media only screen and (max-width: 992px) {
	.blocchi {
		/* display: block; */
		grid-template-columns: repeat(3, 1fr);
	}

	/* .b2x1, .b2x2 {
		aspect-ratio: 2;
		grid-column-start: span 3;
	} */
	.b2x1 {
		aspect-ratio: 1;
		grid-column-start: span 1;
	}
	.b2x2 {
		aspect-ratio: 2;
		grid-column-start: span 3;
	}
	.bHeaderPagina {
		aspect-ratio: 2;
		grid-column-start: span 3;
	}
	.fixGrigio {
		border-bottom: initial;
	}
}

#menuIuav {
	border: 1px solid black;
}

#menuIuav .nav-item {
	border: 1px solid white;
	flex: 1;
	font-weight: bold;
	padding: .25rem;
	color: white !important;
	transition: background-color .25s ease;
}
#menuIuav .nav-spacer {
	border: 1px solid white;
	flex: 1;
	padding: .75rem .25rem;
	color: white;
}

#menuIuav .nav-link, #menuIuav .nav-link:hover {
	color: inherit;
}

#menuIuav .dropdown-item {
	font-weight: bold;
}

#menuIuav .nav-item:hover {
	background-color: var(--primary);
}
#menuIuav .dropdown-menu {
	min-width: initial;
	width: 100%;
}
#menuIuav .dropdown-toggle::after {
	content: '';
}
#menuIuav .nav-item:hover .dropdown-menu {
	display: block;
	margin-top: 0;
}

#menuIuav .dropdown-item {
	transition: background-color .25s ease;
	white-space: initial;
}
#menuIuav .dropdown-item:hover {
	background-color: var(--primary);
}

.bg-universita{
	background-color: black;
	color:white
}

body, main {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.dropdown-menu {
	z-index: 1030;
}