
  nav { 
	line-height: 100%;
  	font-size: 18px;
	font-family: verdana;
    position: relative;
    top: 14%;
    display: block;
    text-align: center;
	}
	
   @media screen and (-moz-images-in-menus:0) 
   {
	nav { 
    position: absolute;
    top: 24%;
	left:0;
	right: 0;
	margin-left: auto;
	margin-right:auto;
    } 
	}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
	{  
   /* IE10+ specific styles go here */  
	nav { 
    position: absolute;
    top: 24%;
	left:0;
	right: 0;
	margin-left: auto;
	margin-right:auto;
    } 
	}

@media \0screen {
   /* IE9- specific styles go here */  
	nav { 
    position: absolute;
    top: 24%;
	left:0;
	right: 0;
	margin-left: auto;
	margin-right:auto;
	
	}
	}


  .nav{  
    vertical-align: top; 
    display: inline-block;
    border-radius:6px;
  }

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

	.nav ul {
    margin-left:-0.85em;
    left: 0%;
	}

	.nav li li li a {
    left: 8%;
	}

	.nav a {
    display:block; 
    text-decoration: none;
/*    padding: 0.8em 1.8em; */
/*   text-transform: uppercase;  */
    font-size: 90%;
	letter-spacing: 1px;
    position: relative;
  }

  .nav li{position: relative;}
  
  .nav > li  { 
    float:left; 
	margin-bottom:0px;
	display: block;
	text-decoration: none;
	margin-top: 0px;
	margin-right: 12px; /* space between links */
	color: white; /* color scris */
	background: #0b71ad;
	width: 10em; /* adjust as needed or use auto */
	height: 3em;
/*	padding-top: 0.0em;*/
	font-weight:normal;
	line-height: 1.50em;
	-moz-border-radius: 25px;
	-webkit-border-radius:25px;
	border-radius: 25px;
	} 

.nav > li > a 
	{ 
	margin-bottom:0px;
	display: block;
	text-decoration: none;
	text-align:middle;
	margin-top: 0px;
	margin-right: 12px;  /*space between links */
	color: white; /* color scris */
	background:#0b71ad;
	width: 10em; /* adjust as needed or use auto */
	padding: 9px;
	height: 3em;
	font-weight:normal;
	line-height: 3.00em;
	-moz-border-radius: 25px;
	-webkit-border-radius:25px;
	border-radius: 25px;
	}

.nav li li a   
	{ 
	margin-bottom:0px;
	display: block;
	text-decoration: none;
	margin-top: 10px;
	margin-right: 12px; /* space between links */
	color: white; /* color scris */
	background: #0b71ad;
	width: 12em; /* adjust as needed or use auto */
	height: auto;
	padding: 8px;
	font-weight:normal;
	line-height: 1.50em;
	-moz-border-radius: 25px;
	-webkit-border-radius:25px;
	border-radius: 25px;
	}
/*
  .nav > li:hover 
	{ color:black; 
	background:green;
	margin-bottom:0px;
	display: block;
	text-decoration: none;
	margin-top: 10px;
	margin-right: 12px; 
	width: 10em; 
	height: 4em;
	padding: 8px; 
	font-weight:normal;
	line-height: 1.50em;
	-moz-border-radius: 25px;
	-webkit-border-radius:25px;
	border-radius: 25px;
	}
*/
  .nav > li:hover >a 
	{ color:black; 
	background:yellow;
	margin-bottom:0px;
	display: block;
	text-decoration: none;
	margin-top: 10px;
	margin-right: 12px; /* space between links */
	width: 10em; /* adjust as needed or use auto */
/*	height: 4em;*/
/*	padding: 8px;*/
	font-weight:normal;
	line-height: 3.00em;
	-moz-border-radius: 25px;
	-webkit-border-radius:25px;
	border-radius: 25px;
	}
  
/*-----------------------------------*/

  .nav li:hover > a 
	{ color:black; 
	background:#e8f1f7;
	margin-bottom:0px;
	display: block;
	text-decoration: none;
	margin-top: 0px;
	margin-right: 12px; /* space between links */
	width: 10em; /* adjust as needed or use auto */
/*	height: 4em;*/
/*	padding: 8px;*/
	font-weight:normal;
	line-height: 3.00em;
	-moz-border-radius: 25px;
	-webkit-border-radius:25px;
	border-radius: 25px;
	}

	
/*-----------------------------------*/
/*-----------------------------------*/
	
	
	.nav li li:hover> a   
	{ 
	margin-bottom:0px;
	display: block;
	text-decoration: none;
	margin-top: 10px;
	margin-right: 12px; /* space between links */
	color: black; /* color scris */
	background:#e8f1f7;
	width: 12em; /* adjust as needed or use auto */
	height: auto;
	padding: 8px;
	font-weight:normal;
	line-height: 1.50em;
	-moz-border-radius: 25px;
	-webkit-border-radius:25px;
	border-radius: 25px;
	}

/*-----------------------------------*/

    .nav li a:first-child:nth-last-child(2):before { 
     content:""; 
     position: absolute; 
     height:0; 
     width: 0; 
     border: 5px solid transparent; 
     top: 50% ;
     right:5px;  
   }
   
   
   /* submenu positioning*/
.nav ul {
  text-align:center;
  position: absolute;
  white-space: wrap;
  border-bottom: 0px solid  orange;
  z-index: 1;
  left: -99999em;
}
.nav > li:hover > ul {
	height:auto;
  left: auto;
  padding-top: 5px  ;
  min-width: 100%;
}

.nav > li li ul {  /* border-left:1px solid #fff; */  }


.nav > li li:hover > ul { 
 /* margin-left: 1px */
  left: 100%;
  top: -10px;
}


/* sageti  hover styling   */

.nav > li > a:first-child:nth-last-child(2):before { 
  border-top-color: orange; 
}
.nav > li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-bottom-color: orange; 
  margin-top:-5px
}
.nav li li > a:first-child:nth-last-child(2):before {  
  border-left-color: #aaa; 
  margin-top: -5px
}
.nav li li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-right-color: orange;
  right: 10px; 
