/*
---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-blue > li > a { ... } instead of .sm-blue a { ... }
---------------------------------------------------------------*/

/* Menu box
===================*/
	#nav{
		width:100%;
	}
	
	#nav > li:last-child{
		float:right;
	}
	.sm-blue {
		background:#f5f5f5; /* Old browsers */
		background-image:-moz-linear-gradient(top,#fff 0%,#f5f5f5 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ebe7e5),color-stop(100%,#f5f5f5));
		background-image:-webkit-linear-gradient(top,#fff 0%,#f5f5f5 100%);
		background-image:-o-linear-gradient(top,#fff 0%,#f5f5f5 100%);
		background-image:-ms-linear-gradient(top,#fff 0%,#f5f5f5 100%);
		background-image:linear-gradient(top,#fff 0%,#f5f5f5 100%);
		-moz-border-radius:8px;
		-webkit-border-radius:8px;
		border-radius:8px;
		-moz-box-shadow:0 1px 1px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3);
		box-shadow:0 1px 1px rgba(0,0,0,0.3);
	}
	
	.sm-blue ul {
		border:1px solid #a9a9a9;
		padding:7px 0;
		background:#fff;
		-moz-border-radius:0 0 4px 4px;
		-webkit-border-radius:0 0 4px 4px;
		border-radius:0 0 4px 4px;
		-moz-box-shadow:0 5px 12px rgba(0,0,0,0.3);
		-webkit-box-shadow:0 5px 12px rgba(0,0,0,0.3);
		box-shadow:0 5px 12px rgba(0,0,0,0.3);
	} 
	
	/* for 2+ level horizontal main menu subs round all corners */
	/*.sm-blue ul ul {
		-moz-border-radius:4px;
		-webkit-border-radius:4px;
		border-radius:4px;
	}*/


/* Menu items
===================*/

	.sm-blue a {
		padding:13px 24px;
		color:#333333;
		font-size:15px;
		line-height:23px;
		font-family:"PT Sans Narrow","Arial Narrow",Arial,Helvetica,sans-serif;
		font-weight:normal;
		text-decoration:none;
		text-shadow:0 1px 0 rgba(255,255,255,0.3);
	}
	
#nav .fa{
	margin-right:5px;	
}
	
@media only screen and (device-width: 768px) {
	.sm-blue a {
		padding:10px 16px;
		/* color:#d70022; */
		font-size:14px;
		line-height:15px;
		font-family:"PT Sans Narrow","Arial Narrow",Arial,Helvetica,sans-serif;
		font-weight:bold;
		text-decoration:none;
		text-shadow:0 1px 0 rgba(255,255,255,0.3);
	}
  /* For general iPad layouts */
}

.sm-blue-small a {
		padding:10px 16px;
		/* color:#d70022; */
		font-size:14px !important;
		line-height:25px;
		font-weight:bold;
		text-decoration:none;
		text-shadow:0 1px 0 rgba(255,255,255,0.3);
	}
	
.sm-blue a:hover {
	color:#949498;
}

	
#menuLogoRight{
	text-align:right !important;
	padding:10px !important;
	background:transparent !important;
	background-image:none !important;
}
	
	.sm-blue ul a {
		padding:9px 40px 8px 23px;
		background:transparent;
		color:#555;
		font-size:16px;
		text-shadow:none;
	}
	.sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active,
	.sm-blue ul a.highlighted {
		/*
		background:#d7d7d7; 
		background-image:-moz-linear-gradient(top,#ebe7e5 0%,#d7d7d7 100%);
		background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ebe7e5),color-stop(100%,#d7d7d7));
		background-image:-webkit-linear-gradient(top,#ebe7e5 0%,#d7d7d7 100%);
		background-image:-o-linear-gradient(top,#ebe7e5 0%,#d7d7d7 100%);
		background-image:-ms-linear-gradient(top,#ebe7e5 0%,#d7d7d7 100%);
		background-image:linear-gradient(top,#ebe7e5 0%,#d7d7d7 100%);
		color:#fff;
		*/
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-blue a.current {
		/*background:#ff2900; 
		background-image:-moz-linear-gradient(top,#dd001f 0%,#ff2900 100%);
		background-image:-webkit-gradient(linear,left top, left bottom,color-stop(0%,#dd001f),color-stop(100%,#ff2900));
		background-image:-webkit-linear-gradient(top,#dd001f 0%,#ff2900 100%);
		background-image:-o-linear-gradient(top,#dd001f 0%,#ff2900 100%);
		background-image:-ms-linear-gradient(top,#dd001f 0%,#ff2900 100%);
		background-image:linear-gradient(top,#dd001f 0%,#ff2900 100%);
		color:#fff;*/
		text-shadow:0 1px 0 rgba(0,0,0,0.3);
	}
	/* round the left corners of the first item for horizontal main menu */
	.sm-blue > li:first-child > a {
		-moz-border-radius:8px 0 0 8px;
		-webkit-border-radius:8px 0 0 8px;
		border-radius:8px 0 0 8px;
	}


/* Sub menu indicators
===================*/

	.sm-blue a span.sub-arrow {
		position:absolute;
		bottom:2px;
		left:50%;
		margin-left:-5px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-width:5px; /* tweak size of the arrow */
		border-style:solid dashed dashed dashed;
		border-color:#555 transparent transparent transparent;
	}
 	.sm-blue ul a span.sub-arrow {
		bottom:auto;
		top:50%;
		margin-top:-5px;
		right:15px;
		left:auto;
		margin-left:0;
		border-style:dashed dashed dashed solid;
		border-color:transparent transparent transparent #555;
	}


/* Items separators
===================*/

	.sm-blue li {
		border-left:0px solid #eee;
	}
	.sm-blue li:first-child,
	.sm-blue ul li {
		border-left:0;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

	.sm-blue span.scroll-up, .sm-blue span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#ffffff;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-blue span.scroll-up-arrow, .sm-blue span.scroll-down-arrow {
		position:absolute;
		top:-2px;
		left:50%;
		margin-left:-8px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-width:8px; /* tweak size of the arrow */
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #247eab transparent;
	}
	.sm-blue span.scroll-down-arrow {
		top:6px;
		border-style:solid dashed dashed dashed;
		border-color:#247eab transparent transparent transparent;
	}



/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/

/* decrease horizontal main menu items left/right padding to avoid wrapping */
@media screen and (max-width: 850px) {
	.sm-blue:not(.sm-blue-vertical) > li > a {
		padding-left:18px;
		padding-right:18px;
	}
}
@media screen and (max-width: 750px) {
	.sm-blue:not(.sm-blue-vertical) > li > a {
		padding-left:10px;
		padding-right:10px;
	}
}
