
/*	-------------------------------------------------------------------------- */
/*	Mobile  
/*	-------------------------------------------------------------------------- */
	@media screen and (max-width: 440px) {

		#Header {
			position:fixed;
			left:0px;
			top:0px;
			display:block;
			width:100%;
			height:9rem;
			background-color:var(--Palette1);
			color:var(--Header_Text_Color);
			z-index: 100;
			font-family: var(--Title_Font);
			box-sizing: border-box;
			z-index: 9999;
			box-shadow: 3.8px -1px 18px rgba(0.4, 9.8, 9.2, 0.7);
		}
		#Header > .Inner {
			display:block;
			position:relative;
			width:100%;
			height:100%;
		}
		#Header > .Inner > .Logo {
			display: none;
		}
		#Header > .Inner .mobileLogo {
			position:absolute;
			left:2rem;
			top: 2.2rem;
			display: block;
			height: 4rem;
			z-index:1;
		}
		#Header > .Inner .mobileLogo IMG {
			height: 4.9rem;
		}
		

		#Header #MobileMenu {
		/*	display: block;
			position: absolute;
			right: 2rem;
			top: 3rem;
			font-size: 2.9rem;
			line-height: 1em;
			color: var(--Palette3);   */
			position: absolute;
		    right: 1.3rem;
		    top: 2.2rem;
		    width: 4.5rem;
		    height: 50%;
		    transform: scale(.6);
		    cursor: pointer;
		    display: flex;
		    justify-content: center;
		    align-items: center;
		}
		#MobileMenu > .hamburger {
			height: 12%;
		    background-color: var(--Palette3);
		    width: 100%;
		}
		.hamburger::after,
		.hamburger::before,
		.hamburger {
			transition: 1s;
		    position: absolute;
		    width: 100%;
		    background-color: var(--Palette3);
		    content: '';
		    transition:  all 0.3s ease-in-out;
		}

		.hamburger::after {
		    height: 100%;
		    top: -1.4rem;
		    border-radius: 50px 50px 0 0; 
		}

		.hamburger::before {
		    height: 100%;
		    top: 1.4rem;
		    border-radius: 0 0 50px 50px; 
		}
		.active .hamburger {
		    transform: rotateZ(45deg);
		    border-radius: 50px;
		}

/* --------------------------Animazione------------------------------- */

		.active .hamburger::after {
		    top: 0;
		    transform: rotateZ(90deg);
		    border-radius: 50px;
		}

		.active .hamburger::before {
		    top: 0px;
		    transform: rotateZ(0deg);
		    border-radius: 50px;
		}





		#Header #UserMenu {
			display: block;
			position: absolute;
			right: 4.7rem;
			top: 1.15rem;
			font-size: 2.2rem;
			line-height: 1em;
		}
		#Header > .Inner .LoginButton {
			display: block;
		    position: relative;
		    top: 3.1rem;
		    left: 18.5rem;
		    color: var(--Palette3);
		    width: 10%;
		}
		#Header > .Inner > .LoginButton > i {
			display: block;
			font-size: 2.4rem;
		}
		#Header > .Inner > .LoginButton > .Text {
			display: none;
		}
		#Header #HeaderMenu {
			display: none;
			position: fixed;
			left: 0;
			top: 9rem;
			background: rgba(0, 0, 0, 0.9);
			backdrop-filter: blur(7px);
			width: 100%;
			overflow: hidden;
			overflow-y: auto;
			height: calc(100vh - 6rem);
			overscroll-behavior: contain;
			transition: height 0.3s ease;
		}

		#HeaderMenu.open {
		    height: calc(100vh - 6rem);
		}
		
		.blocca-scroll {
    		overflow: hidden;
		}
		#Header #HeaderMenu > UL, 
		#Header #HeaderMenu > UL > LI,
		#Header #HeaderMenu > UL > LI > UL,
		#Header #HeaderMenu > UL > LI > UL > LI {
			margin:0;
			padding:0;
			list-style: none;
			list-style-type: none;
			display: block;
		}
		#Header #HeaderMenu > UL > LI,
		#Header #HeaderMenu > UL > LI > UL > LI {
			font-size: 1.5rem;
			font-weight: 400;
			line-height: 8rem;
			border-bottom: 1px solid var(--Header_Background_Border_Color);
			color: var(--Palette3);
			padding-left: 1rem;
			padding-right: 1rem;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			box-sizing: border-box;
			width:100vw;
			-webkit-tap-highlight-color: transparent;
			-webkit-touch-callout: none;
			-webkit-user-select: none;
			-khtml-user-select: none;
			-moz-user-select: none;
			-ms-user-select: none;
			user-select: none;
		}
		#Header #HeaderMenu > UL > LI > A,
		#Header #HeaderMenu > UL > LI > UL > LI > A {
			display: block;
			text-decoration: none;
			color: var(--Palette3);
			margin-left: -1rem;
			margin-right: -1rem;
			padding-left: 1rem;
			padding-right: 1rem;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			box-sizing: border-box;
			width:100vw;
			height: 6rem;
			outline: none;
			text-align: center;
			font-size: 2.5rem;
			font-family: var(--Font_Title);
		}
		#Header #HeaderMenu > UL > LI > UL {
			display: none;
			background-color: #ffffff;
			margin-left: -1rem;
			margin-right: -1rem;
			border-bottom: 2px solid var(--Palette1);
		}
		#HeaderMenu > UL > LI:ACTIVE,
		#HeaderMenu > UL > LI:FOCUS,
		#HeaderMenu > UL > LI:HOVER,
		#HeaderMenu > UL > LI > A:ACTIVE,
		#HeaderMenu > UL > LI > A:FOCUS,
		#HeaderMenu > UL > LI > A:HOVER,
		#HeaderMenu > UL > LI > UL > LI:ACTIVE,
		#HeaderMenu > UL > LI > UL > LI:FOCUS,
		#HeaderMenu > UL > LI > UL > LI:HOVER,
		#HeaderMenu > UL > LI > UL > LI > A:ACTIVE,
		#HeaderMenu > UL > LI > UL > LI > A:FOCUS,
		#HeaderMenu > UL > LI > UL > LI > A:HOVER {
			background-color: var(--Palette1) !important;
			color: #ffffff !important;
		}
		#HeaderMenu > UL > LI:HOVER > UL,
		#HeaderMenu > UL > LI > UL:HOVER {
			display: block !important;
		}
		#HeaderMenu > UL > LI > UL > LI {
			background-color: #f5f5f5;
		}


		#Header > .Inner #SearchBlock {
			position: absolute;
			right: 1rem;
			bottom: 1rem;
			margin: 0px;
			padding: 0px;
			line-height: 2.6rem;
			height: 2.6rem;
			width: calc(100% - 2rem);
			-webkit-border-radius: 0.25rem;
			-moz-border-radius: 0.250rem;
			border-radius: 0.25rem;
			background-color: #fafafa;
			border: 0.05rem solid #999999;
		}
		#Header > .Inner #SearchBlock .GsTextBox {
			margin: 0px;
			padding: 0px;
			outline: none;
			font-size: 1.2rem;
			line-height: 2.6rem;
			height: 2.6rem;
			padding-left: 0.7rem;
			width: 21.4rem;
			color: #666666;
			font-weight: 400;
			float: left;
			border: 0px;
			background-color: transparent;
			font-family: var(--Header_Search_Box_Font);
		}
		#Header > .Inner #SearchBlock #bt {
			font-size: 1.5rem;
			line-height: 2.6rem;
			height: 2.5rem;
			color: #666666;
			cursor: pointer;
			float: right;
			width: 2.6rem;
			text-align: center;
		}
		
	}

/*	-------------------------------------------------------------------------- */
/*	Desktop  
/*	-------------------------------------------------------------------------- */
	@media screen and (min-width: 441px) {

		#Header {
			position:fixed;
			left:0px;
			top:0px;
			display:block;
			width:100%;
			height:8rem;
			background-color:var(--Palette1);
			color:var(--Header_Text_Color);
			z-index: 100;
			font-family: var(--Header_Font);
			box-sizing: border-box;
			z-index: 9999;
			box-shadow: 5px 5px 23px rgba(0.4, 9.8, 9.2, 1.5);
		}

		#Header > .Inner {
			margin-left:auto;
			margin-right:auto;
			display:flex !important;
			align-items: center !important;
    		justify-content: flex-end !important;
			position:relative;
			width:90%;
			height:100%;
		}
		#Header > .Inner > .mobileLogo {
			display: none;
		}
		#Header > .Inner .Logo {
			position:absolute;
			left:0rem;
			top: 1.5rem;
			display: block;
			height: 5rem;
			z-index:1;
		}
		#Header > .Inner .Logo IMG {
			height: 5rem;
		}
		#Header #MobileMenu {
			display: none;
		}
		#Header #UserMenu {
			display: none;
		}
		#Header > .Inner #SearchBlock {
			display: none;
			position:absolute;
			right:15rem;
			top:1.7rem;
			margin:0px;
			padding:0px;
			line-height:2rem;
			height:2rem;
			width:18rem;
			-webkit-border-radius:0.250rem;
			-moz-border-radius:0.250rem;
			border-radius:0.250rem;
			background-color:#fafafa;
			border:0.050rem solid #999999;
		}
		#Header > .Inner #SearchBlock .GsTextBox {
			margin:0px;
			padding:0px;
			outline: none;
			font-size:1rem;
			line-height:2rem;
			height:2rem;
			padding-left:0.700rem;
			width:15rem;
			color:#666666;
			font-weight:400;
			float:left;
			border:0px;
			background-color:transparent;
			font-family: var(--Header_Search_Box_Font);
		}
		#Header > .Inner #SearchBlock #bt {
			font-size:1.3rem;
			line-height:2rem;
			height:2rem;
			color:#666666;
			cursor:pointer;
			float:right;
			width:2.1rem;
			text-align:center;
		}
		#Header > .Inner .LoginButton {
			display:block;
			cursor:pointer;
			text-align:center;
			padding-left: 1.3rem;
    		padding-right: 1.3rem;
    		margin-left: 1rem !important;
    		border-radius: 1.5rem;
    		transition: background 0.3s ease;
		}
		#Header .Inner .fa-user {
			display: block;
		    color: var(--Palette3);
		    font-size: 1.1vw;
		    margin-right: 0.8rem;
		    position: relative;
		    bottom: 0.1rem;
		}
		#Header > .Inner .LoginButton .Text {
			font-size: 1.3vw;
			color:var(--Palette3);
			text-align:left;
			float:left;
			display:block;
			font-family: var(--Font_Title);
			line-height: 2.2rem;
		}
		#Header > .Inner .LoginButton:HOVER {
			background-color: #9A1516;
		}
		#Header > .Inner > .LoginButton {
			display: flex;
		    align-items: center;
		    flex-direction: row;
		}

		#Header #HeaderMenu {
			margin: 0px;
			padding: 0px;
			display: block;
			-webkit-user-select: none; 
			-ms-user-select: none; 
			user-select: none; 
			font-family: math;
			margin-left: 0.5rem;
		}
		#HeaderMenu ul, #Menu li {
			margin: 0;
			padding: 0;
			display: block;
			list-style: none;
			list-style-type: none;
		}
		#HeaderMenu > ul { /* MAIN MENU */
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 0.5rem;
		}
		#HeaderMenu > ul > li { /* MAIN MENU ITEM */
			position: relative;
			padding-left: 1.3rem;
			padding-right: 1.3rem;
			line-height: 2.2rem;
			font-size: 0.875rem;
			font-weight: 500;
			text-transform: uppercase;
			text-decoration: none;
			cursor: default;
			color:var(--Palette3);
			background-color: var(--Palette1);
			font-family: var(--Font_Title);
			font-size: 1.6rem;
			text-transform: none;
			border-radius: 1.5rem;
			transition: background 0.3s ease;
		}


		#HeaderMenu > ul > li:HOVER {
			background-color: #9A1516;
		}
		#HeaderMenu > ul > li > A { /* MAIN MENU ITEM LINKED */
			padding-left: 1.3rem;
			padding-right: 1.3rem;
			margin-left: -1rem;
			margin-right: -1rem;
			color:var(--Palette3);
			font-weight: 500;
			text-transform: uppercase;
			text-decoration: none;
			line-height: 2.2rem;
			cursor: pointer;
			display: block;
			font-family: var(--Font_Title);
			font-size: 1.3vw;
			text-transform: none;
		}
		#HeaderMenu > ul > li > A:HOVER {
			background-color:transparent;
			color:var(--Header_Menu_Buttons_Text_Hover) !important;
		}
		#HeaderMenu > ul > li:HOVER > A {
			color:var(--Header_Menu_Buttons_Text_Hover) !important;
		}

		#HeaderMenu > ul > li > ul { /* SUBMENU */
			visibility: hidden;
			opacity: 0;
			position: absolute;
			transition: all 0.5s ease;
			top: 2.0rem;
			left: 0;
			display: none;
			overflow: hidden;
			z-index: 99;
			background-color: var(--Header_SubMenu_Background);
			border:4px solid var(--Header_Menu_Buttons_Background_Hover);
		}
		#HeaderMenu > ul > li:last-child > ul { 
			left: unset;
			right:0;
		}
		#HeaderMenu > ul > li > ul > li { /* SUBMENU MENU ITEM */
			display: block;
			font-size: 1rem;
			line-height: 2.2rem;
			position: relative;
			cursor: default;
			white-space: nowrap;
			padding-left: 1rem;
			padding-right: 1rem;
			white-space: nowrap !important;
			color:var(--Header_SubMenu_Buttons_Text) !important;
			background-color:var(--Header_SubMenu_Buttons_Background) !important;
		}
		#HeaderMenu > ul > li > ul > li:HOVER { /* SUBMENU MENU ITEM */
			color:var(--Header_SubMenu_Buttons_Text_Hover) !important;
			background-color:var(--Header_SubMenu_Buttons_Background_Hover) !important;
		}
		#HeaderMenu > ul > li > ul > li A { /* SUBMENU MENU ITEM LINKED */
			font-size: 0.875rem;
			font-weight: 600;
			text-transform: uppercase;
			text-decoration: none;
			line-height: 2.2rem;
			padding-left: 1rem;
			padding-right: 1rem;
			margin-left: -1rem;
			margin-right: -1rem;
			display: block;
			color:var(--Header_SubMenu_Buttons_Text) !important;
			background-color:var(--Header_SubMenu_Buttons_Background) !important;
		}
		#HeaderMenu > ul > li > ul > li A:HOVER {
			color:var(--Header_SubMenu_Buttons_Text_Hover) !important;
			background-color:var(--Header_SubMenu_Buttons_Background_Hover) !important;
		}

		#HeaderMenu > ul > li:HOVER ul,
		#HeaderMenu > ul > li ul:HOVER {
			visibility: visible;
			opacity: 1;
			display: block;
			min-width: calc(100% - 8px);
		}

		#HeaderMenu ul li ul li {
			clear: both;
			width: 100%;
		}


	}

