/* 
	WordPress Menubar Plugin
	ssf-grey.css stylesheet for the Superfish template

	Credits:

	Superfish v1.4.8 - jQuery menu plugin by Joel Birch
	http://users.tpg.com.au/j_birch/plugins/superfish/

	Search box design by the LightWord theme
	http://www.lightword-theme.com/
*/

/*** start superfish.css ***/

/*** ESSENTIAL STYLES ***/
.ssf-grey, .ssf-grey * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.ssf-grey {
	line-height:	1.0;
}
.ssf-grey ul {
	position:		absolute;
	top:			-999em;
	width:			auto; /*10em;*/ /* left offset of submenus need to match (see below) */
}
.ssf-grey ul li {
	width:			100%;
}
.ssf-grey li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.ssf-grey li {
	float:			left;
	position:		relative;
}
.ssf-grey a {
	display:		block;
	position:		relative;
}
.ssf-grey li:hover ul,
.ssf-grey li.wpm-hover ul {
	left:			0;
	top:			auto;/*2.8em;*/ /* match top ul list item height */
	z-index:		99;
}
ul.ssf-grey li:hover li ul,
ul.ssf-grey li.wpm-hover li ul {
	top:			-999em;
}
ul.ssf-grey li li:hover ul,
ul.ssf-grey li li.wpm-hover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.ssf-grey li li:hover li ul,
ul.ssf-grey li li.wpm-hover li ul {
	top:			-999em;
}
ul.ssf-grey li li li:hover ul,
ul.ssf-grey li li li.wpm-hover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** arrows **/
.ssf-grey a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.wpm-hover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.ssf-grey ul .sf-sub-indicator { background-position:  -10px 0; }
.ssf-grey ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.ssf-grey ul a:focus > .sf-sub-indicator,
.ssf-grey ul a:hover > .sf-sub-indicator,
.ssf-grey ul a:active > .sf-sub-indicator,
.ssf-grey ul li:hover > a > .sf-sub-indicator,
.ssf-grey ul li.wpm-hover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

/*** end superfish.css ***/

.ssf-grey-wrap {
	clear:			both;
	margin: 		10px 0 0 0;
	padding:		0;
	font-size: 		12px;
	font-weight: 	bold;
	height:			auto;
	background:		#7E7E7E;			/* color 1 */
	position:		relative;
	z-index:		49;
}

/*** DEMO SKIN ***/
.ssf-grey {
	float:			left;
	width:			100%; 
	display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; 
}
.ssf-grey a {
	border:			0;
	padding: 		.75em 1em;
	text-decoration: none;
	border-right:	1px solid #f4f4f4;	/* border color */	
    height:         100%;
}
.ssf-grey li li a {
	border:			0;
	padding: 		.75em 1em;
	text-decoration: none;
	border-top:		1px solid #f4f4f4;	/* border color */	
	border-left:	1px solid #f4f4f4;	/* border color */	
}
.ssf-grey a, .ssf-grey a:link, .ssf-grey a:visited  {
	color:			white;				/* text color 1 */
}
.ssf-grey li li a, .ssf-grey li li a:link, .ssf-grey li li a:visited  {
	color:			#fff;			/* text color 2 */
}
.ssf-grey li {
	height:			auto;
	background:		#808080;			/* color 1 */
}
.ssf-grey li li {
	height:			auto;
	background:		#808080;			/* color 2 */
}
.ssf-grey li:hover, .ssf-grey li.wpm-hover,
.ssf-grey a:focus, .ssf-grey a:hover, .ssf-grey a:active {
	text-decoration: none;
	background:		#aaa;			/* color 3 */
	outline:		0;
}

.ssf-grey li.selected, 
.ssf-grey li.current-cat, 
.ssf-grey li.current-cat-parent, 
.ssf-grey li.current_page_item, 
.ssf-grey li.current_page_parent,
.ssf-grey li.current_page_ancestor {
	background:		#808080;			/* color 3 */
}

.ssf-grey li.right {
	float: right;
}

.ssf-grey li.right a, 
.ssf-grey li.right form {
	border-left:	1px solid #8EC3F7;	/* border color */	
	border-right:	0;
}

.ssf-grey form {
	margin: 0;
	padding: 0;
	background: url('searchbox.png') no-repeat center center;
	height: 30px;
	width: 195px;
	border-right:	1px solid #8EC3F7;	/* border color */	
}

.ssf-grey form input.wpm-text {
	border: 0;
	background: transparent;
	margin: 6px 0 0 6px;
	width: 154px;
	}

.ssf-grey form input.wpm-submit {
	border: 0;
	background: transparent;
	cursor: pointer;
	height: 20px;
	width: 26px;
}

.ssf-grey-after {
	clear: both;
	margin: 0;
	padding: 0;
	background: url('shadow2.png') repeat-x;
	height: 6px;
}
