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


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

	.sm-clean {
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	background-color: #003366;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
	margin: 0;
}
	.sm-clean-vertical {
	padding: 0;
	background-color: #CFF;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	margin: 0;
	}
	.sm-clean ul {
	border: 1px solid #bbb;
	padding: 5px 0;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 0 5px 9px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 5px 9px rgba(0,0,0,0.2);
	box-shadow: 0 5px 9px rgba(0,0,0,0.2);
	background-color: #CFF;
	z-index: 150;
	}
	/* first sub level carets */
	.sm-clean ul ul {
	border: 1px solid #bbb;
	padding: 5px 0;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 0 5px 9px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 5px 9px rgba(0,0,0,0.2);
	box-shadow: 0 5px 9px rgba(0,0,0,0.2);
	background-color: #FFFFCC;
	z-index: 200;
	}
	/* 2nd sub level carets */	
	.sm-clean > li > ul:before {
		content:'';
		position:absolute;
		top:-18px;
		left:30px;
		width:0;
		height:0;
		overflow:hidden;
		border-width:9px; /* tweak size of the arrow */
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #CFF transparent;
		z-index: 201;
	}
	.sm-clean > li > ul:after {
		content:'';
		position:absolute;
		top:-16px;
		left:31px;
		width:0;
		height:0;
		overflow:hidden;
		border-width:8px;
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #FFFFCC transparent;
	}
	/* no carets for vertical main */
	.sm-clean-vertical > li > ul:before, .sm-clean-vertical > li > ul:after {
		display:none;
	}


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

	.sm-clean a {
	color: #FFFFCC;
	font-size: 14px;
	line-height: 15px;
	font-family: 'Lucida Sans Unicode', 'Lucida Sans', 'Lucida Grande', Arial, sans-serif;
	text-decoration: none;
	font-weight: bold;
	padding-top: 12px;
	padding-right: 12px;
	padding-bottom: 8px;
	padding-left: 12px;
	}
	.sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active,
	.sm-clean a.highlighted {
	color: #FF9900;
	}
	.sm-clean-vertical a:hover, .sm-clean-vertical a:focus, .sm-clean-vertical a:active,
	.sm-clean-vertical a.highlighted {
	background-color: #CFF;
	}
	.sm-clean a.has-submenu {
		padding-right:23px;
	}
	.sm-clean-vertical a,
 	.sm-clean ul a {
		padding:10px 20px;
	}
	.sm-clean-vertical a.has-submenu,
 	.sm-clean ul a.has-submenu {
		padding-right:40px;
	}
	.sm-clean ul a {
	font-size: 12px;
	color: #069;
	}
	.sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active,
	.sm-clean ul a.highlighted {
	color: #FF6600;
	background-color: rgba(66,99,66,0.2);
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-clean ul ul a {
	font-size: 12px;
	color: #FF9900;
	}
	.sm-clean ul ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active,
	.sm-clean ul ul a.highlighted {
	color: #FF3333;
	background-color: rgba(255,51,0,0.2);
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */	.sm-clean a.current, .sm-clean a.current:hover, .sm-clean a.current:focus, .sm-clean a.current:active {
	color: #FF6600;
	}


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

	.sm-clean a span.sub-arrow {
		position:absolute;
		right:12px;
		top:57%;
		margin-top:-3px;
		/* 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:4px; /* tweak size of the arrow */
		border-style:solid dashed dashed dashed;
		border-color:#cc9 transparent transparent transparent;
	}
	.sm-clean-vertical a span.sub-arrow,
 	.sm-clean ul a span.sub-arrow {
		right:15px;
		top:50%;
		margin-top:-5px;
		border-width:5px;
		border-style:dashed dashed dashed solid;
		border-color:transparent transparent transparent #069;
	}


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

	.sm-clean span.scroll-up, .sm-clean span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#fff;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-clean span.scroll-up:hover, .sm-clean span.scroll-down:hover {
		background:#eee;
	}
	.sm-clean span.scroll-up-arrow, .sm-clean span.scroll-down-arrow {
		position:absolute;
		top:0;
		left:50%;
		margin-left:-6px;
		/* 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 #555 transparent;
	}
	.sm-clean span.scroll-up:hover span.scroll-up-arrow {
		border-color:transparent transparent #D23600 transparent;
	}
	.sm-clean span.scroll-down-arrow {
		top:8px;
		border-style:solid dashed dashed dashed;
		border-color:#555 transparent transparent transparent;
	}
	.sm-clean span.scroll-down:hover span.scroll-down-arrow {
		border-color:#D23600 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: 480px) {

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-clean{width:auto !important;}
	ul.sm-clean 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-clean>li{float:none;}
	ul.sm-clean>li>a,ul.sm-clean ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-clean iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-clean ul, .sm-clean span.sub-arrow, .sm-clean iframe {
		display:none !important;
	}*/


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

	.sm-clean {
	padding: 0;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	background-color: #069;
	}
	.sm-clean ul {
	border: 0;
	padding: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-color: #39C;
	}
	.sm-clean ul ul {
	border: 0;
	padding: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-color: #99CCCC;
	}
	/* no carets */
	.sm-clean > li > ul:before, .sm-clean > li > ul:after {
		display:none;
	}


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

	.sm-clean a {
	padding: 13px 5px 13px 28px !important;
	color: #9CC 
	background-color: #039!important;
	}
	.sm-clean a.current {
	color: #FF3300 !important;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-clean ul a {
	color: #039;
	background-color: #9CC;
	border-left: 15px solid transparent;
	}
	.sm-clean ul ul a {
	border-left: 30px solid transparent;
	background-color: #9FF;
	color: #039;
	}
	.sm-clean ul ul ul a {
	border-left: 45px solid transparent;
	color: #039;
	background-color: #F66;
	}
	.sm-clean ul ul ul ul a {
		border-left:60px solid transparent;
	}
	.sm-clean ul ul ul ul ul a {
		border-left:75px solid transparent;
	}


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

	.sm-clean a span.sub-arrow,
	.sm-clean ul a span.sub-arrow {
	top: 50%;
	margin-top: -9px;
	right: auto;
	left: 6px;
	margin-left: 0;
	width: 17px;
	height: 17px;
	font: normal 16px/16px monospace !important;
	text-align: center;
	border: 0;
	text-shadow: none;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	background: #39C;
	}
		/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
	.sm-clean a.highlighted span.sub-arrow {
		display:none !important;
	}


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

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

/* Menu Hide Bottun
===================*/

#menu-button {
  display:none;
  /* style it as you like... */
}
#menu-button:before {
  content:url("../img/icon_menu_close.png");
}
#menu-button.collapsed:before {
  content:url("../img/icon_menu_open.png");
}

  /* show the button on small screens */
  #menu-button {
    display:inline-block;
  }
  /* hide the menu when it has the "collapsed" class set by the script */
  #main-menu.collapsed {
    display:none;
  }

#box_menu-button a{
	color: #FFF;
	padding: 0px;
	float: right;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-color: #069;
	width: 100%;
	text-align: right;
}
#box_menu-button {
	margin: 0px;
	padding: 0px;
	width: 100%;
	float: right;
}
#menubar {
	margin: 0px;
	padding: 0px;
	width: 100%;
}
#main-menu {
	margin: 0px;
	padding: 0px;
	width: 100%;
}
