/**
 * Drupal theme for Mote.hu
 *
 * @file
 *   superfish.css
 *
 * Styles for superfish enabled menus
 *
 * Created by Attila Beregszaszi <attila@frontseed.com> - Front Seed Labs
 * Based on the stock superfish css created by Joel Birch.
 */

/**
 * Drupal overrides
 */
.block .sf-menu ul {
  padding: 0;
}
ul.catalog li {
  list-style-image: none;
  list-style-type: none;
  padding: 0;
}
.block-uc_catalog ul.menu li {
  background: none repeat scroll 0 0 #EEEEEE;
  border-bottom: 1px solid #FFFFFF;
  margin: 0;
}

/**
 * Essentials
 */
.sf-menu * {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sf-menu {
  line-height: 1.0;
}
.sf-menu ul {
  position: absolute;
  top: -999em;
  width: 12em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
  width: 100%;
}
.sf-menu li:hover {
  visibility: inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
  float: left;
  position: relative;
}
.sf-vertical li {
  float: none;
}
.sf-menu a {
/*  background: #eee; */
  color: #000;
  display: block;
  line-height: 18px;
  padding-right: 20px;
  min-height: 20px;
  padding: 7px 10px 4px;
  position: relative;
  text-shadow: 0 1px 1px #fff;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
  left: 0;
  top: 20px; /* match top ul list item height */
  z-index: 10000; /* Need to bid over cloud-zoom's 9999 value */
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
  top: -999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
  left: 12em; /* match ul width */
  top: 0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
  top: -999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
  left: 12em; /* match ul width */
  top: 0;
}

/**
 * Theme specific
 */
.sf-menu {
  /*box-shadow: 0 0 10px rgba(0,0,0,.21);*/
  /*-moz-box-shadow: 0 0 10px rgba(0,0,0,.21);*/
  /*-webkit-box-shadow: 0 0 10px rgba(0,0,0,.21);*/
}
.sf-menu ul {
  /*background: url('../images/primary-sub-bg.png');*/
  background: #999;
  box-shadow: 0 0 10px rgba(0,0,0,.21);
  -moz-box-shadow: 0 0 10px rgba(0,0,0,.21);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,.21);
  font-size: 12px;
}
.sf-menu ul a {
  background: #eee;
  border-top: 0;
  color: #000;
  font-weight: normal;
  line-height: 20px;
  min-height: 20px;
  text-shadow: none;
/*  width: 12em;*/
}
.sf-menu ul a:hover {
  background: #d8d8d8;
  color: #000;
}
.sf-menu li:hover,
/*.sf-menu li.sfHover a.sf-with-ul,*/
.sf-menu a:focus,
.sf-menu a:hover,
.sf-menu a:active {
  /*background: url('../images/primary-hover-bg.png') repeat-x scroll 0 0 transparent;*/
/*  background-color: #d8d8d8;*/
  color: #000;
  outline: 0;
  text-decoration: none;
}
.sf-menu a.active-trail, .sf-menu a.active {
  background: #e4e4e4;
  color: #000;
}
.sf-menu a.active-trail:hover, .sf-menu a.active:hover {
  background: #e0e0e0;
  color: #000;
}

/**
 * Arrows
 */
.sf-menu a.sf-with-ul {
  padding-right: 2em;
  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('../images/ui.png') no-repeat 0 -200px; /* 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: -770px -190px; /* 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.sfHover > a > .sf-sub-indicator {
  background-position: -10px -190px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position: -770px -200px; }
.sf-menu ul a > .sf-sub-indicator { background-position: -770px -200px; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
  background-position: -780px -200px; /* arrow hovers for modern browsers*/
}


/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
.sf-vertical, .sf-vertical li {
  width: 220px;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
  left: 218px; /* match ul width */
  top: 0;
}

/*** alter arrow directions ***/
.sf-vertical .sf-sub-indicator { background-position: -780px -200px; } /* IE6 gets solid image only */
.sf-vertical a > .sf-sub-indicator { background-position: -770px -200px; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.sf-vertical a:focus > .sf-sub-indicator,
.sf-vertical a:hover > .sf-sub-indicator,
.sf-vertical a:active > .sf-sub-indicator,
.sf-vertical li:hover > a > .sf-sub-indicator,
.sf-vertical li.sfHover > a > .sf-sub-indicator {
  background-position: -780px -200px; /* arrow hovers for modern browsers*/
}
