#ddmenu, #ddmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	z-index:100;
}


#ddmenu {
	max-width: 840px;
	margin: 0px auto;
	border: 0px solid #222;
	
}

#ddmenu:before,
#ddmenu:after {
	content: "";
	display: table;
	height: 0;    
  	overflow: hidden;
}

#ddmenu:after {
	clear: both;
}

#ddmenu {
	zoom:1;
}

#ddmenu li {
	float: left;
	border-right: 1px solid #385E7C;
	box-shadow: 0px 0 0 #444;
	position: relative;
	z-index:100;
}

#ddmenu a {
	float: left;
	padding: 12px 18px;
	color:  #fff;
	font-family:'trocchi', serif;
	text-decoration: none;
	text-shadow: 0 0px 0 #000;


}

#ddmenu li a { font-size: 20px; margin-top:0px;	padding: 12px 18px;}
#ddmenu li:hover > a { font-size: 20px; margin-top:0px;	padding: 12px 18px; text-decoration:underline;}
	
#ddmenu ul li a { font-size: 16px; margin-top:0px;	padding: 8px 18px; }
#ddmenu ul li:hover > a { font-size: 16px; margin-top:0px; padding: 8px 18px;}
#ddmenu ul ul li a { font-size: 16px; margin-top:0px;	padding: 10px;}
#ddmenu ul ul li:hover > a { font-size: 16px; margin-top:0px;	padding: 10px;}


#ddmenu li:hover > a {
	color: #fafafa;
}

*html #ddmenu li a:hover { /* IE6 only */
	color: #fafafa;
}


/*  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   START OF SUBMENUS    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   */

#ddmenu ul {
	margin: 10px 0 0 0;
	_margin: 0; /*IE6 only*/
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 47px;
	left: 0;
	z-index: 100;    
	background: #003157;	
	background-image: linear-gradient(bottom, #003157 25%, #004980 87%);
	background-image: -o-linear-gradient(bottom, #003157 25%, #004980 87%);
	background-image: -moz-linear-gradient(bottom, #003157 25%, #004980 87%);
	background-image: -webkit-linear-gradient(bottom, #003157 25%, #004980 87%);
	background-image: -ms-linear-gradient(bottom, #003157 25%, #004980 87%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.25, #003157),
		color-stop(0.87, #004980)
	);


	box-shadow: 0 -1px 0 rgba(255,255,255,.3);	
	border-radius: 6px;
	transition: all .3s ease-in-out;  
    -moz-transition: all .3s ease-in-out; 
	-webkit-transition:margin .3s ease-in-out, opacity .3s ease-in-out;

 	-o-transition: all .3s ease-in-out;  /* Opera */

 
}

#ddmenu li:hover > ul {
	opacity: 1;
	visibility: visible;
	margin: 0;
}

#ddmenu ul ul {
	top: 0;
	left: 255px;
	margin: 0 0 0 20px;
	_margin: 0; /*IE6 only*/
	box-shadow: -1px 0 0 rgba(255,255,255,.3);	
}

#ddmenu ul li {
	float: none;
	display: block;
	border: 0;
	_line-height: 0; /*IE6 only*/
	box-shadow: 0 1px 0 #00599B, 0 2px 0 #01233F;
}

#ddmenu ul li:last-child {   
	box-shadow: none;    
}

#ddmenu ul a {    
	padding: 10px;
	width: 220px;
	_height: 10px; /*IE6 only*/
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
}

#ddmenu ul a:hover {
	background-color: #005695;
	background-image: linear-gradient(#0075CC, #005695);
}


/*  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   FIRST & LAST ELEMENT STYLES    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   */

#ddmenu ul li:first-child {
	border-top:0;
}

#ddmenu ul li:first-child > a {
	border-radius: 6px 6px 0 0;
}

#ddmenu ul li:first-child > a:after {
	content: '';
	position: absolute;
	left: 40px;
	top: -8px;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #0092FD;
}

#ddmenu ul ul li:first-child a:after {
	left: -6px;
	top: 50%;
	margin-top: -6px;
	border-left: 0;	
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	border-right: 6px solid #0072C6;
}

#ddmenu ul li:first-child a:hover:after {
	border-bottom-color: #0072C6; 
}

#ddmenu ul ul li:first-child a:hover:after {
	border-right-color: #0072C6; 
	border-bottom-color: transparent; 	
}

#ddmenu ul li:last-child > a {
	border-radius: 0 0 6px 6px;
}
.last-menu-item { border-right:0px !important; margin-right:5px !important; padding-right:0 !important;}


/*  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   */
/*  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   								  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   */
/*  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>            Mobile Menu			  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   */
/*  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   								  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   */
/*  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   */

#ddmenu-trigger { /* Hide it initially */
	display: none;
}


@media only screen and (max-width: 1000px) {

	#ddmenu {
		max-width: 700px;
	}
		
	#ddmenu li a { font-size: 18px; margin-top:0px;	padding: 12px 10px;}
	#ddmenu li:hover > a { font-size: 18px; margin-top:0px;	padding: 12px 10px; text-decoration:underline;}
		
	#ddmenu ul li a { font-size: 14px; margin-top:0px;	padding: 8px 18px; }
	#ddmenu ul li:hover > a { font-size: 14px; margin-top:0px; padding: 8px 18px;}
	#ddmenu ul ul li a { font-size: 14px; margin-top:0px;	padding: 10px;}
	#ddmenu ul ul li:hover > a { font-size: 14px; margin-top:0px;	padding: 10px;}
	
	#ddmenu ul {
	top: 46px;
	}
	
}

@media only screen and (max-width: 775px) {

	#ddmenu {
		max-width: 625px;
	}
		
	#ddmenu li a { font-size: 16px; margin-top:0px;	padding: 12px 7px;}
	#ddmenu li:hover > a { font-size: 16px; margin-top:0px;	padding: 12px 7px; text-decoration:underline;}
		
	#ddmenu ul li a { font-size: 14px; margin-top:0px;	padding: 8px 18px; }
	#ddmenu ul li:hover > a { font-size: 14px; margin-top:0px; padding: 8px 18px;}
	#ddmenu ul ul li a { font-size: 14px; margin-top:0px;	padding: 10px;}
	#ddmenu ul ul li:hover > a { font-size: 14px; margin-top:0px;	padding: 10px;}
	
	#ddmenu ul {
	top: 44px;
	}
	
}

@media screen and (max-width: 605px) {

	.hsbcnavigation {
		position: relative;
		z-index:1000;
	}

	.hsbcnavigation * {
		box-sizing: border-box;
	}

	#ddmenu-trigger {
		display: block; /* Show it now */
		height: 40px;
		line-height: 40px;
		cursor: pointer;		
		padding: 0 0 0 35px;
		border: 0px solid #222;
		color: #fafafa;
		font-weight: bold;
                /* Multiple backgrounds here, the first is base64 encoded */
		background: #003157;	
		background-image: linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -o-linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -moz-linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -webkit-linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -ms-linear-gradient(bottom, #003157 25%, #004980 87%);
		
		background-image: -webkit-gradient(
			linear,
			left bottom,
			left top,
			color-stop(0.25, #003157),
			color-stop(0.87, #004980)
		);
	}

	#ddmenu {
		margin: 0; padding: 2px 0 2px 0;
		position: absolute;
		top: 40px;
		width: 100%;
		z-index: 1;
		display: none;
		box-shadow: none;	
		background: #005695;	
		background-image: linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -o-linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -moz-linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -webkit-linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -ms-linear-gradient(bottom, #003157 25%, #004980 87%);
		background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.25, #003157),
		color-stop(0.87, #004980)
		);	
	}

	#ddmenu:after {
		content: '';
		position: absolute;
		left: 25px;
		top: -8px;
		border-left: 8px solid transparent;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #fff;
	}	

	#ddmenu li a { font-size: 14px; margin:0; padding:2px; text-transform:uppercase; font-weight:bold;}
		#ddmenu li:hover > a { font-size: 10px; margin:0; padding:2px;}
	#ddmenu ul li a { font-size: 14px; margin:0; padding:2px; text-transform:none; font-weight:normal;}
		#ddmenu ul li:hover > a { font-size: 14px; margin:0; padding:2px;} 
	#ddmenu ul ul li a { font-size: 14px; margin:0; padding:2px; text-transform:none; font-weight:normal;} 
		#ddmenu ul ul li:hover > a { font-size: 14px; margin:0; padding:2px;} 
	



	#ddmenu ul {
		position: static;
		visibility: visible;
		opacity: 1;
		margin: 0;
		background: none;
		box-shadow: none;
		
	}

	#ddmenu ul ul {
		margin: 0 0 0 20px !important;
		padding: 0 !important;
		box-shadow: none;		
	}

	#ddmenu li {
		position: static;
		display: block;
		float: none;
		border: 0;
		margin: 5px;
		padding:0 !important;
		box-shadow: none;	
	}

	#ddmenu ul li{
		margin-left: 20px;
		box-shadow: none;		
	}

	#ddmenu a{
		display: block;
		float: none;
		margin:0;
		padding: 0;
		color: #fff;
		font-size:14px !important;
		line-height:20px !important;
	}

	#ddmenu a:hover{
		color: #fff;
	}	

	#ddmenu ul a{
		padding: 0;
		width: auto;		
	}

	#ddmenu ul a:hover{
		background: none;	
	}

	#ddmenu ul li:first-child a:after,
	#ddmenu ul ul li:first-child a:after {
		border: 0;
	}		

}

@media screen and (min-width: 605px) {
	#ddmenu {
		display: block !important;
	}
}	

/* iPad */
.no-transition {
	transition: none;
	opacity: 1;
	visibility: visible;
	display: none;  		
}

#ddmenu li:hover > .no-transition {
	display: block;
}
