/* Half Menu */
#gj-halfmenu {
  margin-top:15px;
}

/* Full Menu */
#gj-fullmenu-wrapper .navbar {
  margin-top:0;
}
#gj-fullmenu-wrapper .container {
	width:1170px;
    margin-left:auto;
    margin-right:auto;
}
#gj-fullmenu-wrapper {
  height:40px;
  background: #ffffff; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQ3JSIgc3RvcC1jb2xvcj0iI2Y2ZjZmNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlZGVkZWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-8 */
}
#gj-fullmenu-lines {
  height:40px;
  background: transparent url('../images/backgrounds/menu-bg-lines.png') repeat 0 0;
}

/* begin menu */
#gj-halfmenu ul.menu a,
#gj-fullmenu ul.menu a {
  font:bold 14px Arial, Helvetica, sans-serif;
}

#gj-halfmenu ul.menu,
#gj-fullmenu ul.menu {
  float:right;
  margin:0;
  padding:0;
}
#gj-fullmenu ul.menu {
  float:left;
}
#gj-halfmenu li,
#gj-fullmenu li {
  position:relative; 
  display:inline; 
  float:left;
  margin-left:0; 
  padding:0 4px; 
  font-size: 14px;
  min-height: 40px;
  line-height: 40px;
  background-image:none; /* lets make sure no list style images show */
  color: #ffffff; 
  font-family: sans-serif;
  font-weight: bold;
}
#gj-fullmenu ul.menu > li > a {
  padding: 10px 15px 10px;
}
/* submenus */
#gj-halfmenu ul ul,
#gj-fullmenu ul ul {
  display: none; /* hides submenu */
  right:0; 
  margin: 0;
  position: absolute; 
  z-index: 999; /* makes sure the submenu is on top */
  text-align:right; /* aligns the sub menu items which you can align left, center, or right */
  border-bottom:9px solid #85B82F; /* adds a nice border to the bottom of the submenus */
}
#gj-fullmenu ul ul {
  left:0;
  text-align:left;
}
#gj-halfmenu ul ul ul,
#gj-fullmenu ul ul ul {
  right: 175px; /* positions next to the 2nd level menu */
  width: 200px; /* adjust the width if your items are long */
  top: 0;
}
#gj-fullmenu ul ul ul {
  left: 175px; /* positions next to the 2nd level menu */
  width: 200px; /* adjust the width if your items are long */ 
  top: 0;
}

#gj-halfmenu ul ul:before,
#gj-fullmenu ul ul:before {
  background: transparent url('../images/menu_arrow.png') no-repeat 0 0;
  content: "";
  display: block;
  height: 10px;
  right: 26px;
  position: absolute;
  top: -10px;
  width: 14px;
}
#gj-fullmenu ul ul:before {
  left:26px;
}

#gj-halfmenu ul ul ul:before,
#gj-fullmenu ul ul ul:before {
  display: none;
}

#gj-halfmenu ul ul li,
#gj-fullmenu ul ul li {
  width:200px; /* adjust the width if your items are long */
  margin:auto; 
  height:auto;
  min-height: 22px;  
  padding:0;
  border-top: 1px solid #ececec;
}
#gj-halfmenu ul ul li:first-child,
#gj-fullmenu ul ul li:first-child {
  border:none;
}
#gj-halfmenu ul.menu ul a,
#gj-fullmenu ul.menu ul a {  
  height:12px; 
  line-height:12px; 
  padding:12px 12px 15px 12px; 
  font-size:12px; /* font size of your submenus */
  width:auto; 
  display:block; 
  
}
#gj-halfmenu ul li:hover > ul,
#gj-fullmenu ul li:hover > ul {
  display: block;
  width:200px; /* adjust the width if your items are long */
  padding:0;
  background-color:#fff;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow:  0 0 6px rgba(0, 0, 0, .5);
    box-shadow:  0 0 6px rgba(0, 0, 0, .5);
}
#gj-fullmenu ul li:hover > ul {
  background-color:#fff;
}

/* style of hovering a submenu and when active */
#gj-halfmenu ul ul li:first-child:hover,
#gj-halfmenu ul ul li:last-child:hover,
#gj-fullmenu ul ul li:first-child:hover,
#gj-fullmenu ul ul li:last-child:hover {
	border-radius:6px 6px 0 0;
}
#gj-halfmenu ul ul li:last-child:hover,
#gj-fullmenu ul ul li:last-child:hover {
	border-radius:0;
}
#gj-halfmenu ul ul li:hover,
#gj-halfmenu ul.submenu li.current,
#gj-halfmenu ul.submenu li.active.parent,
#gj-fullmenu ul ul li:hover,
#gj-fullmenu ul.submenu li.current,
#gj-fullmenu ul.submenu li.active.parent {
	background: #f2f2f2 repeat 0 0;
}
#gj-halfmenu ul.sub-menu ul.sub-menu,
#gj-fullmenu ul.sub-menu ul.sub-menu {
	padding-top:0;
}

/* colours */
#gj-halfmenu ul.menu a,
#gj-fullmenu ul.menu a,
#gj-halfmenu ul.menu li.current a:first-child,
#gj-fullmenu ul.menu li.current a:first-child
{
  color:#f2f2f2;
}
#gj-halfmenu ul.menu a:hover,
#gj-halfmenu ul.menu li.current a:first-child:hover,
#gj-halfmenu ul.menu li.active > a,
#gj-halfmenu ul.menu ul.sub-menu li.active > a,
#gj-halfmenu ul.menu ul.sub-menu ul.sub-menu li.active > a,
#gj-fullmenu ul.menu a:hover,
#gj-fullmenu ul.menu li.active > a {
  text-decoration:none;
  color:#85b82f;
}
#gj-fullmenu ul.menu ul.sub-menu li.active a,
#gj-fullmenu ul.menu ul.sub-menu ul.sub-menu li.active a {
  text-decoration:none;
  color:#ffffff;
}

/* Mobile Menu Styling */
@media (min-width: 220px) and (max-width: 979px) {
	a.btn-navbar {margin-top:5px;}
	#gj-halfmenu {
		margin-top:0;
		padding:0 10px;
	}
	#gj-halfmenu ul.submenu,	
    #gj-fullmenu ul.submenu {
		display: block!important;
		height: auto!important;
		margin: 0!important;
		overflow: visible!important;
		padding: 0!important;
		position: static!important;
		width: 100%!important;
	}
	#gj-halfmenu > ul,
    #gj-fullmenu > ul  {
        margin-bottom: 20px!important;
  }
	#gj-halfmenu ul li,
    #gj-fullmenu ul li {
		border: none!important;
		line-height: 28px!important;
		min-height: 28px!important;
		display:block!important;
		width:98%!important;
		text-align:left;
    }
    #gj-halfmenu ul li,
    #gj-fullmenu ul li  {
		border-top:1px solid #e5e5e5!important;
	}	
	#gj-halfmenu > ul > li:first-child,	
    #gj-fullmenu > ul > li:first-child {
		border-top: none!important;	
	}
	#gj-halfmenu ul li a,
	#gj-halfmenu ul ul li a,
	#gj-halfmenu ul ul ul li a
    #gj-fullmenu ul li a,
    #gj-fullmenu ul ul li a,
    #gj-fullmenu ul ul ul li a{
		color: #777!important;
		font-weight: normal!important;
		line-height: 28px!important;
		margin: 0!important;
		min-height: 28px!important;
		padding: 0!important;
	}	
	#gj-halfmenu ul li.current,
    #gj-halfmenu ul li:active,
    #gj-halfmenu ul li:focus,
	#gj-halfmenu ul li:hover
    #gj-fullmenu ul li.current,
    #gj-fullmenu ul li:active,
    #gj-fullmenu ul li:focus,
    #gj-fullmenu ul li:hover  {
		background: #f2f2f2 url('../images/backgrounds/menu-bg-lines.png') repeat 0 0!important;
		color: #585656;
	}
	
	#gj-halfmenu ul li a,
    #gj-fullmenu ul li a {
		font-size: 13px;
		padding: 0 15px!important;
	}	
	#gj-halfmenu ul li li a,
    #gj-fullmenu ul li li a{
		font-size: 12px;
		padding: 0 15px 0 30px!important;
	}
	#gj-halfmenu ul li li li a,
    #gj-fullmenu ul li li li a{
		font-size: 11px;
		padding: 0 15px 0 50px!important;
	}	
	#gj-halfmenu ul li li li li a,
    #gj-fullmenu ul li li li li a {
		font-size: 10px;
		padding: 0 15px 0 70px!important;
	}
    #gj-halfmenu > ul,
    #gj-fullmenu > ul   {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 5px;
    }
    #gj-halfmenu ul ul,
    #gj-fullmenu ul ul {
        background: #fff;
        border: none!important;
        box-shadow: none!important;
        position: static;
        width: 100%;
    }
	#gj-halfmenu ul ul:before,
    #gj-fullmenu ul ul:before,
	#gj-halfmenu ul ul ul:before
    #gj-fullmenu ul ul ul:before{
		display: none;
	}
	
	}


/* Footer menu on very bottom */

#gj-footer ul.menu {
	margin:0 auto 0;
}
#gj-footer li {
	display:inline;  
	padding: 0 7px; 
	float:none; 
	background-image:none;
	font-size:11px;
}
#gj-footer li:first-child {
	padding-left:0;
}
#gj-footer li a {
	color:inherit;
	}
#gj-footer li a:hover {
	color:#fff;
	}