/*
---------------------------------------------------------------
  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 > li > a { ... } instead of .sm a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/
/* right align and no separator for the last item */
#main-menu {
	text-align:right;
}
#main-menu ul {
	text-align:left;
}
#main-menu > li {
	float:none;
	display:inline-block;
	margin-right:-4px;
	transition: all 0.5s ease 0s;
}
*:first-child+html #main-menu > li { /* for IE7 */
	display:inline;
	margin-right:0;
	zoom:1;
}
* html #main-menu li { /* for IE6 */
	float:none;
	display:inline;
	zoom:1;
}

.sm > li:first-child, .sm > li:last-child {
    
}
.sm > li:last-child {
    
}
.sm {
    background:#fff; /* Old browsers */
}
.sm-vertical {
}
.sm ul {
    padding: 0;
}
/* for vertical main menu subs and 2+ level horizontal main menu subs round all corners */
.sm-vertical ul,
.sm ul ul {

}


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

.sm a {
    padding: 0 15px;
    color:#3db7e9;
    font-size:16px;
    line-height:60px;
    font-weight:600;
    text-decoration:none;
    transition: all 0.5s ease 0s;
}
.sm a:hover, .sm a:focus, .sm a:active,
.sm a.highlighted {
    background:#ffffff; /* Old browsers */
    background-color: #ffffff;
    color:#f58220;
}
.sm-vertical a {
    padding:5px 13px;
    background:#fff; /* Old browsers */
    color:#2f358f;
}
.sm ul a {
    padding:5px 13px;
    background:#fff;
    border:0px;
    font-size:18px;
    text-shadow:none;
    color:#3db7e9;
}

.sm ul a:hover, .sm ul a:focus, .sm ul a:active,
.sm ul a.highlighted {
    background:#ffffff; /* Old browsers */
    color:#f58220;
}
/* current items - add the class manually to some item or check the "markCurrentItem" script option */
.sm a.current, .sm a.current:hover, .sm a.current:focus, .sm a.current:active,
.sm ul a.current, .sm ul a.current:hover, .sm ul a.current:focus, .sm ul a.current:active {
    background:#ffffff; /* Old browsers */
    color:#f58220;
}
/* round the left corners of the first item for horizontal main menu */
.sm > li:first-child > a {
}
/* round the corners of the first and last items for vertical main menu */
.sm-vertical > li:first-child > a {

}
.sm-vertical > li:last-child > a {

}
.sm a.has-submenu {

}


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

.sm a span.sub-arrow {
    position:absolute;
    bottom:5px;
    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:#f0f0f0 transparent transparent transparent;
}
.sm-vertical a span.sub-arrow,
.sm 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 #f0f0f0;
}


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

.sm li {
    border-left:0px solid #f0f0f0;
}
.sm li:first-child,
.sm-vertical li,
.sm ul li {
    border-left:0px solid #f0f0f0;
    text-align: center;
}


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

.sm span.scroll-up, .sm span.scroll-down {
    position:absolute;
    display:none;
    visibility:hidden;
    overflow:hidden;
    background:#ffffff;
    height:25px;
    /* width and position will be automatically set by the script */
}
.sm span.scroll-up-arrow, .sm 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 #636363 transparent;
}
.sm span.scroll-down-arrow {
    top:0px;
    border-style:solid dashed dashed dashed;
    border-color:#fff 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 (min-width: 769px) and (max-width: 960px) {
    #main-menu > li {

    }
    .sm a{
	font-size:15px;
	padding: 0 10px;
    }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
    #main-menu > li {

    }
    .sm a{
	font-size:14px;
	padding: 0 5px;
    }
}
@media screen and (max-width: 480px) {
    #main-menu {
		text-align:left;
    }
    #main-menu > li {
	    display:block;
	    margin-right:0;
    }
    .sm a{
	width:auto;
	padding:0;
    }
    /* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
    ul.sm{width:auto !important;}
    ul.sm 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>li{float:none;}
    ul.sm>li>a,ul.sm ul.sm-nowrap>li>a{white-space:normal;}
    ul.sm iframe{display:none;}



/* Menu box
===================*/

    .sm {
        background:transparent;
        -moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
        -webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
        box-shadow:0 1px 4px rgba(0,0,0,0.3);
    }
    .sm ul {
        border:0;
        padding:0;
        background:#fff;
        -moz-box-shadow:none;
        -webkit-box-shadow:none;
        box-shadow:none;
    }
    .sm ul ul {
        /* darken the background of the 2+ level sub menus and remove border rounding */
        background:rgba(100,100,100,0.1);
    }


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

    .sm a {
        padding:5px 5px 5px 28px !important; /* add some additional left padding to make room for the sub indicator */
	line-height:30px;
        color:#3db7e9 !important;
        text-align: left !important;
        padding-left: 60px !important;
    }
    .sm ul a {
        background:transparent !important;
        color:#3db7e9 !important;
        text-shadow:none !important;
    }
    .sm a.current {

        color:#f58220 !important;
    }
    /* add some text indentation for the 2+ level sub menu items */
    .sm ul a {
        border-left:8px solid transparent;
    }
    .sm ul ul a {
        border-left:16px solid transparent;
    }
    .sm ul ul ul a {
        border-left:24px solid transparent;
    }
    .sm ul ul ul ul a {
        border-left:32px solid transparent;
    }
    .sm ul ul ul ul ul a {
        border-left:40px solid transparent;
    }
    /* round the corners of the first and last items */
    .sm > li:first-child > a {

    }
  


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

    .sm a span.sub-arrow,
    .sm ul a span.sub-arrow {
        top:50%;
        margin-top:-9px;
        right:auto;
        left:6px;
        margin-left:0;
        width:17px;
        height:17px;
        font:bold 16px/16px monospace !important;
        text-align: center;
        border:0;
        text-shadow:none;
        background:rgba(0,0,0,0.1);
 
    }
    /* Hide sub indicator "+" when item is expanded - we enable the item link when it's expanded */
    .sm a.highlighted span.sub-arrow {
        display:none !important;
    }


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

    .sm li {
        border-left:0;
    }
    .sm ul li {
        border-top:1px solid rgba(0,0,0,0.05);
    }
    .sm ul li:first-child {
        border-top:0;
    }

}