@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,500;0,700;1,500;1,700&family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
	--VERDE: #0a7638;
	--ROSSO: #ff0038;
}

.toggle, .sub-toggle, [id^=drop] {
	display: none;
}

section {
	position: fixed;
	display: inline-block;
	border: 0px solid #fff;
	z-index: 10;
}

nav {
	margin:10px;
	padding: 0;
	background-color: none;
	font-family: 'Roboto Condensed', sans-serif;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav::after {
	content: "";
	display: table;
	clear: both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */

nav ul {
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
}

/* Positioning the navigation items inline */
nav ul li {
	margin: 1px;
	display: block;
	text-align: left;
//	background-color: var(--ROSSO);
	background-color: none;
	width: 150px;
}

/* Styling the links */
nav a, disable {
	display: block;
	padding: 5px 10px;
	color:#FFF;
	font-size:20px;
	text-decoration:none;
	font-weight: bold;
	text-shadow: 4px 4px 5px #000, -4px -4px 5px #000, -4px 4px 5px #000, 4px -4px 5px #000, 0px 0px 8px #000;
}
nav a:hover {
	text-shadow: 2px 2px 2px var(--VERDE), -2px -2px 2px var(--VERDE), -2px 2px 2px var(--VERDE), 2px -2px 2px var(--VERDE), 4px 4px 5px var(--ROSSO), -4px -4px 5px var(--ROSSO), -4px 4px 5px var(--ROSSO), 4px -4px 5px var(--ROSSO), 0px 0px 12px var(--ROSSO);
}
nav a:active {
	color:  var(--VERDE);
	text-shadow: 4px 4px 5px #fff, -4px -4px 5px #fff, -4px 4px 5px #fff, 4px -4px 5px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff;
}

nav a::before {
	font-size: calc(80%);
	content: '\2605';
	margin-right: 10px;
}
disable {
	text-shadow: 4px 4px 5px #fff, -4px -4px 5px #fff, -4px 4px 5px #fff, 4px -4px 5px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff;
	color: var(--VERDE);
	background: #000;
}
disable::before {
	font-size: calc(80%);
	content: '\2605';
	margin-right: 10px;
}
nav ul li ul li:hover { background: none; }

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute;
	/* has to be the same number as the "line-height" of "nav a" */
	margin-top: -32px;
//	left: 154px;
	margin-left: 150px;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
	width: 170px;
	float: none;
	display: list-item;
	position: relative;
}

/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
//	top: -60px;
	/* has to be the same number as the "width" of "nav ul ul li" */
//	left:170px;
	margin-left: 20px;
}

#arrow::after {
	content: ' \27A3';
	margin-left: 15px;
}

/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {
	section {
		border: 0px solid #fff;
		display: block;
		width: 100%;
		top: 0;
		margin-bottom: 20px;
	}
	#content {
		padding-top: 50px;
	}
	#symbol_menu {
		font-weight: bold;
		text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000;
	}
	#symbol_menu::before {
		content: "\2630";
		font-size: calc(130%);
	}
	#symbol_menu::after {
		margin-left: 20px;
		position: fixed;
		top: 5px;
		content: url('../img/logo_mobi.png');
	}

	nav {
		margin: 0;
	}

	nav a {
		padding: 6px 10px;
	}

	nav ul li {
		margin-bottom: -1px;
		border-bottom: 2px solid #fff;
	}
	nav ul li a {
		font-size: 20px;
		font-weight: bold;
		letter-spacing: 2px;
		background-color: var(--ROSSO);
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.sub-toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: var(--VERDE);
		padding: 14px 20px;
		color:#FFF;
		font-size: 24px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000000;
	}

	.sub-toggle {
		display: block;
		background-color: var(--ROSSO);
		padding: 4px 10px;
		color: #FFF;
		font-size: 20px;
		font-weight: bold;
		text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000, 0 0 8px #000;
		letter-spacing: 2px;
		text-decoration:none;
		border:none;
	}

	.sub-toggle::before {
		content: '\2605 ';
		margin-right: 7px;
	}
	.sub-toggle::after {
		content: ' \290B';
	}

	.sub-toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
	}
	nav ul ul {
		margin-top: 0px;
		margin-left: 40px;
	}

	nav ul ul .toggle,
	nav ul ul .sub-toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 40px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: var(--VERDE);
	}
 	nav ul ul ul a:hover {
		background-color: #000;
	}

	nav ul li ul li .toggle,
	nav ul li ul li .sub-toggle,
	nav ul ul a,
	nav ul ul ul a{
		padding: 12px 20px;
		color: #FFF;
		font-size: 18px;
	}

	nav ul li ul li .toggle,
	nav ul li ul li .sub-toggle,
	nav ul ul a {
		background-color: var(--VERDE);
		border: 1px solid #fff;
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}

	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}

	nav a:hover {
		background-color: #000;
	}

	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */
	}
}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}