/*----------------------------------------------------------------
  Copyright:
  Copyright (C) 2009 danielfajardo web
  Based on:
  * Superfish v1.4.8 - jQuery menu widget
  * Copyright (c) 2008 Joel Birch
  * http://users.tpg.com.au/j_birch/plugins/superfish/
  * Dual licensed under the MIT and GPL licenses:
  *   http://www.opensource.org/licenses/mit-license.php
  *   http://www.gnu.org/licenses/gpl.html

  Author:
  danielfajardo - http: //wwww.danielfajardo.com
---------------------------------------------------------------- */


/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
  list-style:    none;
}
.sf-menu {
  line-height:  1.0;
}
.sf-menu ul {
  position:    absolute;
  top:      -999em;
  width:      16em; /* 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-menu a {
  display:    block;
  position:    relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
  left:      -1px;
  top:      27px; /* match top ul list item height */
  z-index:    99;
}
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:      16em; /* 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:      16em; /* match ul width */
  top:      0;
}

/*** THE MainMenu ***/

#mainmenu ul {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  list-style: none;
  }
  #mainmenu ul li {
    display: inline;
    margin-right: 4px;
    }
    #mainmenu ul li a {
      font-weight: bold;
      padding: 8px 20px;
      color: white;
    }
    #mainmenu ul li a:link,
    #mainmenu ul li a:visited {
      -webkit-box-shadow: inset 0 3px 3px rgba(0,0,0,0.3);
      -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
      box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
        background-color: rgba(0, 0, 0, 0.3);
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0;
        color: white;
    }
    #mainmenu ul li.selected > a,
    #mainmenu ul li.sfHover > a,
    #mainmenu ul li a:active   {
      -webkit-box-shadow: inset 0 3px 3px rgba(0,0,0,0.3);
      -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
      box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
        background-color: #e00023;
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0;
        color: white;
      }
    #mainmenu ul li a:hover {
      -webkit-box-shadow: inset 0 3px 3px rgba(0,0,0,0.3);
      -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
      box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
        background-color: #e00023;
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0;
        color: white;
      }

  #mainmenu ul ul {
    margin: 0;
    padding: 0;
    opacity:0.97;
    border: 1px solid white;
    background-color: #999;
    }
    #mainmenu ul ul a {
      padding: 8px 10px;
      border-bottom: 1px solid white;
    }
    #mainmenu ul ul li.last a {
      border-bottom: none;
    }


/*** THE UserMenu ***/

#usermenu {
  color: #686868;
  float: right;
  margin: 0 0 0 20px;
  padding: 5px 8px;
}

#usermenu div.caption {
}
#usermenu div.tab {
}

#usermenu ul {
  margin: 0;
  list-style: none;
  height: 11px;
  overflow: hidden;
  }
  #usermenu ul li {
    display: inline;
    padding: 0 5px;
    border-right: 1px solid #686868;
    line-height: 8px;
    color: #0093E0;
    }
  #usermenu ul li.last {
    border-right: none;
    padding-right: 0;
    }
    #usermenu a, #usermenu a:link, #usermenu a:hover, #usermenu a:active, #usermenu a:visited {
    }