.dropMenu
{
	width: auto;
	height: auto;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999999999;
	padding: 0px 15px 5px 15px;
	background-color: #fff;
	text-align: right;
	color: #00609E;
}
.logoMenu
{
	position: fixed;
	top: 0;
	left: 0;
	width: auto;
	height: 40px;
	z-index: 999999999;	
}
.iconMenu
{
	font-size: 40px;
	cursor: pointer;
}
.logoMenu img
{
	width: auto;
	height: 80px;
}
@media (max-width:991.98px) {
.dropMenu
{
	width: 100%;
	height: auto !important;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999999999;
	padding: 7px 15px 7px 0px;
	background-color: #fff;
	text-align: right;
	
}
.iconMenu
{
	font-size: 30px;
	cursor: pointer;
}
.logoMenu img
{
	width: auto;
	height: 60px;
}
}
.overlay
{
	height: 0%;
	width: 100%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: rgb(0,0,0);
	background-color: rgba(255,255,255, 0.98);
	/*overflow-y: hidden;*/
	overflow-y: auto; /* AI */
	transition: 0.5s;
	font-family: "Prata", serif;
	font-weight: 500;
	text-align: center !important;
}
.overlay-content
{
	position: relative;
	top: 25%;
	width: 100%;
	text-align: center;
	margin-top: 30px;
	padding-bottom: 60px; /* AI */
}

.overlay a
{
	color: #00609E;
	padding: 8px;
	text-decoration: none;
	font-size: 26px;
	display: block;
	transition: 0.3s;
	margin-bottom: 25px;
}
@media (max-width:998.91px){
.overlay a
{
	margin-bottom: 50px;
	font-size: 20px;
}
.overlay-content
{
	top: 15%;
}
}
.overlay a:hover, .overlay a:focus
{
	color: #212121;
}

.overlay .closebtn
{
	position: absolute;
	z-index: 999999999;
	top: 20px;
	right: 45px;
	font-size: 60px;
}
@media (max-width:991.98px) {
.overlay .closebtn
{
	top: -15px;
	right: 15px;
	font-size: 60px;
}
}
@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}
/* Forza la tendina a seguire il flusso del testo nel menu */
.overlay-content .dropdown-menu
{
    position: relative !important; /* Rientra nel flusso del div */
    float: none;
    background-color: transparent; /* Così non copre lo sfondo blu */
    border: none;
    text-align: center;
    transform: none !important; /* Rimuove i calcoli di Bootstrap */
    width: 100%;
    margin-top: 0;
}

/* Stile per le voci interne della tendina */
.overlay-content .dropdown-item
{
    color: #00609E;
    /*font-size: 24px;*/
    padding: 10px;
}

.overlay-content .dropdown-item:hover
{
    background-color: rgba(255,255,255,0.1);
    color: #333;
}

/* Animazione della freccia (come richiesto) */
.dropdown-toggle::after
{
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 10px;
}
.dropdown-toggle.show::after
{
    transform: rotate(180deg);
}

/* Stile specifico per le bandierine lingua */
.lang-flag
{
    width: 50px; /* Larghezza bandierine */
    height: auto;
    display: block;
    transition: opacity 0.3s;
    border: 1px solid rgba(255,255,255,0.2); /* Opzionale: un sottile bordo */
	margin-right: 25px;
}
.lang-flag:hover {
    opacity: 0.8;
}
@media (max-width:998.91px) {
.lang-flag
{
    width: 36px; /* Larghezza bandierine */
    height: auto;
    display: block;
    transition: opacity 0.3s;
    border: 1px solid rgba(255,255,255,0.2); /* Opzionale: un sottile bordo */
	margin-right: 25px;
}
.lang-flag:hover {
    opacity: 0.8;
}
}