/*
---------------------------------------------------------------
  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
===================*/
.container{
position:relative	
}
	.sm-clean {
		padding:0 10px;
		background:transparent;
	}
	.sm-clean-vertical {
		padding:10px 0;
	}
	.sm-clean ul {
		padding:5px 0;
		background:#fff;
		z-index:9999;
	}
	/* no carets for vertical main */
	.sm-clean-vertical > li > ul:before, .sm-clean-vertical > li > ul:after {
		display:none;
	}
	
	.nav {
    /*float: left;*/
    height: 46px;
    background-color: transparent;
    background-image: url(../img/bg_nav.gif);
    background-repeat: repeat-x;
    background-position: left top;
	width:100%;
	z-index:20;
}


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

	.sm-clean a {
		padding: 0px 15px 10px 0px;
		color: #FFF;
		/*font-family: "Trebuchet MS",Arial,Helvetica;*/
		text-decoration:none;
		font-size: 16px;
line-height: 25px;
	}
	
	.sm-clean ul a{
	color:#666;	
	}
	.sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active,
	.sm-clean a.highlighted {
	}
	.sm-clean-vertical a:hover, .sm-clean-vertical a:focus, .sm-clean-vertical a:active,
	.sm-clean-vertical a.highlighted {
		background:#fff;
	}
	.sm-clean a.has-submenu {
		padding-right:25px;
	}
	.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:16px;
	}
	
	.sm-clean ul ul a, .sm-clean ul ol a {
	 font:normal 12px Verdana;	
	 padding:3px 5px;
	}
	
	 .sm-clean ul ol{
	padding:0px;
	margin:0px;	 
	 }
	.sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active,
	.sm-clean ul a.highlighted {
	}
	/* 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 {
	}

.nav > li > a:hover{
color:#000;	
}

ul.sm ul {
    background-color: #f9f9f9;
	z-index:20;
}

/* 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: 850px) {
	.sm-clean:not(.sm-clean-vertical) > li > a {
		/*padding-left:8px;
		padding-right:8px;*/
	}
	.sm-clean:not(.sm-clean-vertical) > li > a.has-submenu {
		padding-right:25px;
	}
}
@media screen and (max-width: 750px) {
	.sm-clean:not(.sm-clean-vertical) > li > a {
		padding-left:3px;
		padding-right:3px;
	}
	.sm-clean:not(.sm-clean-vertical) > li > a.has-submenu {
		padding-right:25px;
	}
}


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

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-clean{width:auto ;}
	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!important;}
	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:5px;
		-webkit-border-radius:5px;
		border-radius:5px;
	}
	.sm-clean ul {
		border:0;
		padding:0;
		background:rgba(130,130,130,0.1);
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	.sm-clean > li > ul:before, .sm-clean > li > ul:after {
		display:none;
	}


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

	.sm-clean a.current {
		color:#D23600 ;
	}
	.sm-clean ul a {
		border-left:8px solid transparent;
	}
	.sm-clean ul ul a {
		border-left:16px solid transparent;
	}
	.sm-clean ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-clean ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-clean ul ul ul ul ul a {
		border-left:40px solid transparent;
	}


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

	

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

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

}

.main-menu-btn {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  text-indent: 28px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  background-color: #FFF;
  z-index:10;
}

.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
  position: absolute;
top: 50%;
left: 4px;
height: 2px;
width: 20px;
background: #2940A7 none repeat scroll 0% 0%;
transition: all 0.25s ease 0s;
  
    background: #2940A7 none repeat scroll 0% 0%;
  z-index:10;
}
.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#main-menu-state {
  position: absolute;
  top: -99999px;
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}
.main-menu-btn {
    background-color: #E6F5FC;
    border: 1px solid #C8EBF6;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}
.mega-menu > li > div > ul {
    position: relative;
    top: 0px;
    left: 0px;
}

.mega-menu > li > div {
    padding:0px
}

h2 > a{
    color: #9EA81B!important;
	margin:0px;
	padding:0px!important;	
}

@media screen and (min-width:768px) {

  .main-menu-btn {
    position: absolute;
    top: -99999px;
	left:0px;
  }

  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
  .sm-clean ul{
  padding: 8px 10px;
  }
  
  .large-sub{
	 min-width:420px; 
  }
  
  .nav > li:hover > a {
    text-decoration: none;
    background-position: center bottom;
    color: #333333;
    background-image: url(../img/nav_arrow.png);
    background-repeat: no-repeat;
}

.nav > li:first-of-type:hover > a {
    background-position: top left;
}

}

@media  screen and (max-width:768px){
.nav {
    height: auto;
    background-color: #93a000;
    background-image: none;
	width:100%;
}


}

@media (min-width:768px) and (max-width:991px){
.nav > li > a {
    font-size: 13px;
    line-height: 23px;
    padding: 10px 7px 10px;
}	

li#navHome {
    margin-left: 4px;
}
}