/*
---------------------------------------------------------------
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-black-bottom > li > a { ... } instead of .sm-b a { ... }
---------------------------------------------------------------*/

/* Menu box
===================*/
.sm-black-bottom {
background: #111111;
background: -moz-linear-gradient(#444444, #111111);
background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111111),color-stop(1, #444444));
background: -webkit-linear-gradient(#444444, #111111);
background: -o-linear-gradient(#444444, #111111);
background: -ms-linear-gradient(#444444, #111111);
background: linear-gradient(#444444, #111111);
border-radius: 5px;
-moz-border-radius: 5px;
box-shadow: 0 2px 1px #9C9C9C;
-moz-box-shadow: 0 2px 1px #9C9C9C;
-webkit-box-shadow: 0 2px 1px #9C9C9C;
padding: 10px 0 0 0;
height: 45px;
}

.sm-bbrink-top {
xbackground: #111111;
xbackground: -moz-linear-gradient(#444444, #111111);
xbackground: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111111),color-stop(1, #444444));
xbackground: -webkit-linear-gradient(#444444, #111111);
xbackground: -o-linear-gradient(#444444, #111111);
xbackground: -ms-linear-gradient(#444444, #111111);
xbackground: linear-gradient(#444444, #111111);
xborder-radius: 5px;
x-moz-border-radius: 5px;
xbox-shadow: 0 2px 1px #9C9C9C;
x-moz-box-shadow: 0 2px 1px #9C9C9C;
x-webkit-box-shadow: 0 2px 1px #9C9C9C;
padding: 10px 0 0 0;
xheight: 45px;

height: 48px;
border-top:    2px solid  #003580;

border-bottom: 2px solid #003580;

}

.sm-black-bottom ul {
background: #444444;
background: -moz-linear-gradient(#444444, #111111);
background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444444));
background: -webkit-linear-gradient(#444444, #111111);
background: -o-linear-gradient(#444444, #111111);
background: -ms-linear-gradient(#444444, #111111);
background: linear-gradient(#444444, #111111);
-moz-border-radius: 5px;
border-radius: 5px;
box-shadow: 0 0 2px rgba(255,255,255,.5);
-moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
-webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
}

.sm-bbrink-top ul {
background: #FFFFFF;
xbackground: -moz-linear-gradient(#444444, #111111);
xbackground: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444444));
xbackground: -webkit-linear-gradient(#444444, #111111);
xbackground: -o-linear-gradient(#444444, #111111);
xbackground: -ms-linear-gradient(#444444, #111111);
xbackground: linear-gradient(#444444, #111111);
x-moz-border-radius: 5px;
xborder-radius: 5px;
box-shadow: 0 0 2px rgba(0,0,0,.5);
-moz-box-shadow: 0 0 2px rgba(0,0,0,.5);
-webkit-box-shadow: 0 0 2px rgba(0,0,0,.5);
}


/* Menu items
===================*/
.sm-black-bottom a {
padding: 0 20px;
color: #FFFFFF;
text-transform: uppercase;
font: bold 12px/25px Arial, Helvetica;
text-decoration: none;
text-shadow: 0 1px 0 #000000;
}

.sm-bbrink-top a {
padding: 0 20px;
color: #003580;
text-transform: uppercase;


font-family:  Arial, Helvetica;
font-size: 13px;
font-weight: bold;
line-height: 25px;
text-decoration: none;
xtext-shadow: 0 1px 0 #000000;
}

.sm-black-bottom ul li a {
padding-top: 5px;
padding-bottom: 5px;
}

.sm-bbrink-top ul li a {
padding-top: 5px;
padding-bottom: 5px;
}

.sm-black-bottom li:hover > a {
color: #FAFAFA;
background: #0186BA;
background: -moz-linear-gradient(#04ACEC,  #0186BA);
background: -webkit-gradient(linear, left top, left bottom, from(#04ACEC), TO(#0186BA));
background: -webkit-linear-gradient(#04ACEC,  #0186BA);
background: -o-linear-gradient(#04ACEC,  #0186BA);
background: -ms-linear-gradient(#04ACEC,  #0186BA);
background: linear-gradient(#04ACEC,  #0186BA);
}

.sm-bbrink-top li:hover > a {
color: #FAFAFA;
background: #003580;
xbackground: -moz-linear-gradient(#04ACEC,  #0186BA);
xbackground: -webkit-gradient(linear, left top, left bottom, from(#04ACEC), TO(#0186BA));
xbackground: -webkit-linear-gradient(#04ACEC,  #0186BA);
xbackground: -o-linear-gradient(#04ACEC,  #0186BA);
xbackground: -ms-linear-gradient(#04ACEC,  #0186BA);
xbackground: linear-gradient(#04ACEC,  #0186BA);
}


.sm-black-bottom ul li {
float: none;
margin: 0;
padding: 0;
display: block;
-moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
-webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

.sm-bbrink-top ul li {
float: none;
margin: 0;
padding: 0;

display: block;

border-top:    1px solid  #777777;
border-left:    1px solid  #777777;
border-right:    1px solid  #777777;


x-moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
x-webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
xbox-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

.sm-black-bottom ul li:last-child {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}

.sm-bbrink-top ul li:last-child {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;



}


.sm-black-bottom ul li:last-child > a {
-moz-border-radius: 0 0 5px 5px;
border-radius: 0 0 5px 5px;
}

.sm-bbrink-top ul li:last-child > a {
x-moz-border-radius: 0 0 5px 5px;
xborder-radius: 0 0 5px 5px;

xborder-top: none;
border-bottom: 1px solid #777777;
}

.sm-black-bottom ul li:first-child > a {
-moz-border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
}

.sm-bbrink-top ul li:first-child > a {
x-moz-border-radius: 5px 5px 0 0;
xborder-radius: 5px 5px 0 0;

border-top: none;


}


/* Sub menu indicators
===================*/

.sm-black-bottom a span.sub-arrow {
position:absolute;
top: -12px;
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:6px; /* tweak size of the arrow */
border-style:dashed dashed solid dashed;
border-color: transparent transparent #04ACEC transparent;
}


.sm-bbrink-top a span.sub-arrow {
position:absolute;
bottom: -12px;
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:6px; /* tweak size of the arrow */
border-style:solid dashed dashed dashed;
border-color: #003580 transparent transparent transparent;
}



.sm-black-bottom ul a span.sub-arrow {
bottom:auto;
top:45%;
margin-top:-5px;
right:2px;
left:auto;
margin-left:0;
border-style:dashed dashed dashed solid;
border-color:transparent transparent transparent #a4cde1;
}

.sm-bbrink-top ul a span.sub-arrow {
bottom:auto;
top:45%;
margin-top:-5px;
right:2px;
left:auto;
margin-left:0;
border-style:dashed dashed dashed solid;
border-color:transparent transparent transparent #003580;
}

/* **************************************************** STOP HERE */

/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/
.sm-simple span.scroll-up, .sm-simple span.scroll-down {
position:absolute;
display:none;
visibility:hidden;
overflow:hidden;
border:solid #bbb;
border-width:1px 0;
background:#fff;
height:22px;
/* width and position will be automatically set by the script */
}
.sm-simple span.scroll-up-arrow, .sm-simple 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 #555 transparent;
}
.sm-simple span.scroll-down-arrow {
top:6px;
border-style:solid dashed dashed dashed;
border-color:#555 transparent transparent transparent;
}


/*
---------------------------------------------------------------
Responsiveness
These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


@media screen and (max-width: 640px) {

/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
ul.sm-simple{width:auto !important;}
ul.sm-simple ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
ul.sm-simple>li{float:none;}
ul.sm-simple>li>a,ul.sm-simple ul.sm-nowrap>li>a{white-space:normal;}
ul.sm-simple iframe{display:none;}

/* Uncomment this rule to disable completely the sub menus for small screen devices */
/*.sm-simple ul, .sm-simple span.sub-arrow, .sm-simple iframe {
display:none !important;
}*/


/* Menu box
===================*/

.sm-simple ul {
border:0;
/* darken the background of the sub menus */
background:rgba(100,100,100,0.1);
-moz-box-shadow:none;
-webkit-box-shadow:none;
box-shadow:none;
}


/* Menu items
===================*/

.sm-simple a {
padding-top:13px;
padding-bottom:13px;
background:transparent !important;
color:#555 !important;
}
.sm-simple a.current {
background:#555 !important;
color:#fff !important;
}
.sm-simple a.has-submenu {
padding-right:23px;
}
/* add some text indentation for the 2+ level sub menu items */
.sm-simple ul a {
border-left:8px solid transparent;
}
.sm-simple ul ul a {
border-left:16px solid transparent;
}
.sm-simple ul ul ul a {
border-left:24px solid transparent;
}
.sm-simple ul ul ul ul a {
border-left:32px solid transparent;
}
.sm-simple ul ul ul ul ul a {
border-left:40px solid transparent;
}


/* Sub menu indicators
===================*/

.sm-simple a span.sub-arrow {
right:auto;
margin-left:-14px;
}
/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
.sm-simple a.highlighted span.sub-arrow {
display:none !important;
}


/* Items separators
===================*/

.sm-simple li {
border-left:0;
border-top:1px solid rgba(0,0,0,0.05) !important;
}
.sm-simple li:first-child {
border-top:0 !important;
}

}