  #paginazione {text-align:center;margin-top:10px;font-size:11px;}
#paginazione a{color:#444;}
		#nav
		{
			
			font-family: 'Open Sans', sans-serif;
			font-weight: 400;
            position: relative;z-index:0;
		/*	position: absolute;
			top: 25%;
			left: 50%;*/

          /*  padding-top: 2em;*/
		}


#nav > ul > li .licat {	background: #CD1F23;}

#nav > ul > li .licat a{color:white;}

#nav > ul > li > ul >li > a	{font-size:1em;}
#nav > ul > li > ul >li	{border-bottom:1px solid #ddd;}
			#nav > a
			{padding-left:12px;
				display: none;background: #BE0000;-webkit-border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 6px;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
border-top:1px solid #BE0000;
border-left:1px solid #BE0000;
border-right:1px solid #BE0000;
			}

			#nav li
			{
				position: relative;
			}
				#nav li a
				{
					color: #444;
					display: block;
				}
				#nav li a:active
				{
					background-color: #c00 !important;
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #efa585;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
				height: 6.25em; /* 60 */
				background-color: #ffffff;
			}
				#nav > ul > li
				{
					width: 13%;
				/*	height: 100%;*/
					float: left;
				}
					#nav > ul > li > a
					{
						height: 100%;
						font-size: 1.1em; /* 24 */
						line-height: 2em; 
						text-align: center;
					}
						#nav > ul > li > a
						{
							border-right: 1px solid #cc470d;
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
					                            
                            	background-color: #CD1F23;color: #ffffff;
						}
#nav > ul > li > a:hover{color: #ffffff;}

				/* second level */

				#nav li ul
				{	background-color: #fafafa;
					display: none;
					position: absolute;
					top: 100%;width:260px;
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							font-size: 0.8em; /* 20 */
						/*	border-top: 1px solid #e15a1f;*/
							padding: 0.25em; /* 15 (20) */
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: #eaeaea;
							}






@media only screen and ( min-width: 960px ) 
		{
		  
     	#nav > ul > li > a{	font-size: 0.9em; padding-top:80px; padding-bottom:8px;}  
          #nav > ul > li > #paddingpers{	padding-top:68px; }  
	#nav > ul > li > a{line-height: 12px; }
#nav > ul > li > ul >li > a	{font-size:1em;}
#nav > ul > li > ul >li {border-left: 1px solid #CC470D;border-right: 1px solid #CC470D;}
}

		@media only screen and ( max-width: 960px ) 
		{
			html
			{
			/*	font-size: 75%; */
			}

			#nav
			{
			position: relative;
			margin: 0 0 0 260px;
            padding:54px 0 0 0 ;
			}
		
     
        		#nav > a
				{
				/*	width: 3.125em; 
					height: 3.125em;
					text-align: left;
					text-indent: 40px;
					background-color: #e15a1f;
					position: relative;*/
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 2px solid #fff;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
					top: 50%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}
 

			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li > a
						{
							border-right: none;
							border-bottom: 1px solid #bbb;
						}


				/* second level */

				#nav li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
				}
		}
        /*
@media only screen and ( max-width: 768px ) 
{
#nav > ul > li > ul >li:first-child	{padding-top:10px;}
#nav > ul > li > ul >li	{border-bottom:1px solid #ddd;}
#nav > ul > li > ul >li > a	{font-size:1em;}
#nav > ul > li >  a	{font-size:1.2em;}
}*/
#nav > ul > li > ul > li:first-child  {border-top:1px solid #BE0000;}
	#nav > ul > li:last-child  {border-bottom:1px solid #BE0000;}
	@media only screen and ( min-width: 320px ) and ( max-width: 480px )
		{  
		  #nav > ul > li > ul >li a{font-size:1.2em;font-weight:normal;}
         #nav > ul > li a{font-size:1.2em;font-weight:bold;}

      	#nav > a
				{font-size:1em;
					width: 3.125em; 
					height: 3.125em;
					text-align: left;
					text-indent: -9999px;
					background-color: #BE0000;
					position: relative;bottom:5px;
				}    
    	#nav > ul {margin-top:-5px;}      
	#nav > ul > li{width:320px;margin-left:-260px;background:#fff;}
		}

	@media only screen and ( min-width: 480px ) and ( max-width: 768px )
		{   #nav > ul > li > ul >li a{font-size:1.2em;font-weight:normal;}
         #nav > ul > li a{font-size:1.2em;font-weight:bold;}
		  	#nav > ul {margin-top:-2px;} 
          .gomenu {font-size:2em;color:#fff;}
	#nav > ul > li{width:480px;margin-left:-260px;background:#fff;}
		}
  .gomenu {font-size:2em;color:#fff;}
  
  	@media only screen and ( min-width: 960px )  {
  	     .boxap {width:20%;float:left;border:1px solid red;margin-left:2%;padding:1%;
         -webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;}
         
         
  	 	#nav > ul > li > ul >li:last-child  {border-bottom:1px solid #BE0000;}
		#nav > ul > li:last-child  {border-bottom:none;}
}
#nav ul li .active {background:#BE0000;}
#nav ul li .active a{color:white;}
@media only screen and ( min-width: 1140px ) 
	 {
	   
       .boxap {width:20%;float:left;border:1px solid red;margin-left:2%;padding:1%;}
	#nav > ul > li > a{	font-size: 0.9em; padding-top:84px; padding-bottom:4px;} 	
    #nav > ul > li > #paddingpers{	padding-top:74px; } 
}
	#nav > ul > li .licat a:hover {	background: #CD1F23;}	  
    
  