/*
  ------------------------------------
  PVII Menu CSS Express Drop-Down Menu
  by Project Seven Development
  www.projectseven.com
  ------------------------------------
*/
.clearit {
  clear: both;
  height: 0;
  line-height: 0.0;
  font-size: 0;
}

#p7menubar, #p7menubar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/*
Root-Level Links.  Do not change the first two properties.
Adjust padding values to make the root links taller and to offset them
from the left and right edges of the link box. The border right creates a
separator between links. Font-size is set here and will apply to all menu levels.
Font color is set to light gray.
*/
#p7menubar a {
  display: block;
  text-decoration: none;
  padding: 7px 12px;
  font-size: 12px;
  color: #000000;
}

.navseperator {
  position: relative;
  top: 5px;
  width: 1px;
  height: 16px;
  background: white;
}

#p7menubar a.trigger {
  padding: 7px 18px 5px 12px;
  background-image: url(../../images/tpl_main/more_arrow.gif);
  background-repeat: no-repeat;
  background-position: right center;
}

/* main lvl nav width. adjust as needed */
#p7menubar > li {
	margin: 0 3px;
}
#p7menubar li {
  display: block;
	position: relative;
}

@media screen and (max-width: 800px) {
  .navseperator {
    display: none;
  }
}

@media screen and (min-width: 800px) {
	#p7menubar li {
    display: inline-block;
		margin: 0;
		position: relative;
		width: 9em;
	}
}

/* drop down menu width */
#p7menubar li ul {
	width: calc(100% - 2px);
	position: relative;
	z-index: 9999;
}

#p7menubar ul li {
	width: 100%;
}

/*
The sub-menu links. We set color and turn off the right border, which
would otherwise be inherited from the root link rule. We set top and
bottom padding less than the root items and increas the left padding
to indent the sub-menu links a small amount in from the root links.
*/
#p7menubar ul li a {
  text-align: left;
  font-size: .85em;
  color: #565656;
  border-right: 0;
  display: block;
  padding: 5px;
}

/*
Sub-Menu Unordered Lists describes each dropdown sub-menu grouping.
Positioned Absolutely to allow them to appear below their root trigger.
Set to display none to hide them until trigger is moused over.
Background Color must be set or problems will be encountered in MSIE.
Right and bottom borders are set to simulate a raised look.
A gradient background image is assigned.
*/
#p7menubar li ul {
  position: absolute;
  display: none;
  background-color: #E3E3E3;
  border-right: 1px solid #000000;
  border-left: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.navdropseperator {
  position: relative;
  clear: both;
  width: 9em;
  height: 1px;
  background-color: #ff0000;
}

/*
Changes the Text color and background color when the Root-Level
menu items are moused over. The second selector sets color and background
when Root-Level items are accessed with the keyboard tab key. The third
selector sets an active state to support keyboard access in MSIE. The fourth
selector is assigned to IE5 and IE6 Windows via the P7_ExpMenu script.
Note that IE7 supports hover on elements other than links and so behaves
like Firefox, Opera, and Safari - making the menu operable even if JavaScript
is not enabled.
*/
#p7menubar li:hover a, #p7menubar a:focus,
#p7menubar a:active, #p7menubar li.p7hvr a {
  color: #ffffff;
  background-color: #606060;
}

/*
Set the Sub-Menu UL to be visible when its associated
Root-Level link is moused over. The second selector is
assigned to IE5 and IE6 via the P7_ExpMenu script.
*/
#p7menubar li:hover ul, #p7menubar li.p7hvr ul {
  display: block;
}

/*
Sets the Text color of the Sub-Level links when the Root-Level
menu items are moused over. The second selector is
assigned to IE5 and IE6 via the P7_ExpMenu script.
The color set should march the normal Sub-Level link color
in the rule: #p7menubar ul li a. The background color must be
transparent to allow the underlying gradient background on the UL
to show through.
*/
#p7menubar li:hover ul a, #p7menubar li.p7hvr ul a {
  color: #000000;
  background-color: transparent;
}

/*
The normal hover class for Sub-Level links. The Important directive
is required for older browsers. We set a background color, which shows
over the gradient background. We set text color to white.
*/
#p7menubar ul a:hover {
  background-color: #606060 !important;
  color: #FFFFFF !important;
}

/* The single backslash \ character inside this comment
causes IE5 Mac to ignore the following rule, which allows other
browsers to render top-level menu items to their natural width.
Do not edit this rule in any way. */
#p7menubar li {
  width: auto;
}