/************
NAVIGATION -- Code based on Nick La's code, modified so it
works with yaml. See http://webdesignerwall.com.
April 20, 2012
************/
#nav {
    background: #789;
    height: 30px;
    position: relative;
    z-index: 100;
}
#nav .ym-wrapper {
    width: 90%;
    margin: 0 auto;
}
/* "you are here" selectors. The page body tags are labeled
 * with relevant IDs and the navbar is a descendent of the
 * body. There is a match only when both are satisfied.
*/
#home a#homelink,
#who a#wholink,
#signs a#signslink,
#signs a#issueslink,
#myths a#mythslink,
#myths a#issueslink,
#illegal a#illegallink,
#illegal a#issueslink,
#comments a#commentslink,
#comments a#issueslink,
#contact a#contactlink,
#grab a#grablink {
    color: #fff;
    background: #9ab;
}

/* menu icon */
#menu-icon {
    display: none; /* hide menu icon initially */
}
#unav,
#unav li {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}

/* unav link */
#unav li a {
    padding: 4px 8px;
    display: block;
    color: #eee;
    background: #567;
    border-left: 1px solid #789;
}
#unav li a:hover {
    color: #fff;
    background: #345;
}

/* unav dropdown */
#unav li ul {
    border: none;
    width: auto;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 140px;
    display: none; /* hide dropdown */
}
#unav li ul li {
    float: none;
    margin: 0;
    padding: 0;
}
#unav li ul li a {
    border-right: 1px solid #789;
    border-bottom: 1px solid #789;
}
#unav li:hover > ul {
    display: block; /* show dropdown on hover */
}

/************
MOBILE
************/
@media screen and (max-width: 760px) {
  #nav {
    position: relative;
  }

  /* menu icon */
  #menu-icon {
    width: 90px;
    background: #567 url(../icons/menu-white.png) no-repeat 4px center;
    padding: 5px 10px 7px 34px;
    height: 18px;
    display: block; /* show menu icon */
    color: #eee;
    margin-left: 5%;
    cursor: pointer;
  }
  #menu-icon:hover {
    background: #345 url(../icons/menu-white.png) no-repeat 4px center;
    color: #fff;
  }

  /* main nav */
  #unav {
    clear: both;
    position: absolute;
    top: 30px;
    width: auto;
    z-index: 10000;
    background: #cde;
    display: none; /* visibility will toggle with jquery */
    padding-bottom: 8px;
    border: solid 1px #789;
  }
  #unav li {
    clear: both;
    float: none;
    width: auto;
    margin: 0 8px;
  }
  #unav li a:hover {
    background: #345;
    color: #fff;
  }
  #unav li a,
  #unav li ul a {
    background: #567;
    display: inline;
    padding: 1px 5px 2px 5px;
    color: #eee;
    border: none;
  }
  #unav li a:hover,
  #unav li ul a:hover {
    background: #345;
    color: #fff;
  }

  /* dropdown */
  #unav li ul {
    width: auto;
    position: static;
    display: block;
    background: inherit;
  }
  #unav li ul li {
    margin-left: 15px;
  }
  #unav li ul li a {
    border: none;
    background: #678;
  }

}
@media screen and (min-width: 761px) {
  #unav {
    display: block !important; /* ensure navbar appears */
  }
}


.jqueryslidemenu{
width: 100%;
}

.jqueryslidemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}

.jqueryslidemenu ul.navi-main-lev2 {
    padding: 2px 0 0 0;
}

.jqueryslidemenu ul.navi-main-lev3 {
    padding: 0 0 0 1px;
}

/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items styles*/
.jqueryslidemenu ul.navi-main-lev1 li.no-first a{
  display: block;
  background: transparent; /*background of tabs (default state)*/
  padding: 10px;
  border-right: 1px solid #f3f2f3;
  border-left: 1px solid #f3f2f3;
  color: #606060;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}
.jqueryslidemenu ul.navi-main-lev1 li.no a{
  display: block;
  background: transparent; /*background of tabs (default state)*/
  padding: 10px;
  border-right: 1px solid #f3f2f3;
  color: #606060;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}
.jqueryslidemenu ul.navi-main-lev1 li.no-last a{
  display: block;
  background: transparent; /*background of tabs (default state)*/
  padding: 10px;
  border-right: 0px solid #f3f2f3;
  color: #606060;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}

.jqueryslidemenu ul.navi-main-lev1 li.act-first a {
  display: block;
  background-image : url(../images/css/navi-hover.png);
  background-repeat : no-repeat;
  background-position: top center;
  padding: 10px;
  border-right: 1px solid #f3f2f3;
  border-left: 1px solid #f3f2f3;
  color: #2d2b2b;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}
.jqueryslidemenu ul.navi-main-lev1 li.act a {
  display: block;
  background-image : url(../images/css/navi-hover.png);
  background-repeat : no-repeat;
  background-position: top center;
  padding: 10px;
  border-right: 1px solid #f3f2f3;
  color: #2d2b2b;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}
.jqueryslidemenu ul.navi-main-lev1 li.act-last a {
  display: block;
  background-image : url(../images/css/navi-hover.png);
  background-repeat : no-repeat;
  background-position: top center;
  padding: 10px;
  border-right: 0px solid #f3f2f3;
  color: #2d2b2b;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}

.jqueryslidemenu ul.navi-main-lev1 li.no-first a:hover {
  background-image : url(../images/css/navi-hover.png);
  background-repeat : no-repeat;
  background-position: top center;
  color: #333359;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}
.jqueryslidemenu ul.navi-main-lev1 li.no a:hover {
  background-image : url(../images/css/navi-hover.png);
  background-repeat : no-repeat;
  background-position: top center;
  color: #333359;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
}
.jqueryslidemenu ul.navi-main-lev1 li.no-last a:hover {
  background-image : url(../images/css/navi-hover.png);
  background-repeat : no-repeat;
  background-position: top center;
  color: #333359;
  font-weight: bold;
  text-shadow: 1px 1px 0 #eaeaea;
  text-decoration: none;
  border-right: 0px solid #afafaf;
}

/*Top level menu LEV2 link items styles*/
.jqueryslidemenu ul.navi-main-lev2 li.no-first a,
.jqueryslidemenu ul.navi-main-lev2 li.no a,
.jqueryslidemenu ul.navi-main-lev2 li.no-last a {
  display: block;
  background-image : url(../images/css/1px-trans-no.png);
  background-repeat : repeat;
  border-left: 0px solid #f3f2f3;
  font-weight: normal;
  padding: 8px;
  color: #444444;
  text-shadow: none;
  text-decoration: none;
}

.jqueryslidemenu ul.navi-main-lev2 li.act-first a,
.jqueryslidemenu ul.navi-main-lev2 li.act a,
.jqueryslidemenu ul.navi-main-lev2 li.act-last a {
  display: block;
  background-image : url(../images/css/1px-trans-act.png);
  background-repeat : repeat;
  font-weight: normal;
  padding: 8px;
  color: #000;
  text-shadow: none;
  text-decoration: none;
}

.jqueryslidemenu ul.navi-main-lev2 li.no-first a:hover,
.jqueryslidemenu ul.navi-main-lev2 li.no a:hover,
.jqueryslidemenu ul.navi-main-lev2 li.no-last a:hover {
  color: transparent;
  background-image : url(../images/css/1px-trans-act.png);
  background-repeat : repeat;
  text-shadow: none;
  color: #000;
  font-weight: normal;
  text-decoration: none;
}

/*Top level menu LEV3 link items styles*/
.jqueryslidemenu ul.navi-main-lev3 li.no-first a,
.jqueryslidemenu ul.navi-main-lev3 li.no a,
.jqueryslidemenu ul.navi-main-lev3 li.no-last a {
  display: block;
  background-image : url(../images/css/1px-trans-no.png);
  background-repeat : repeat;
  font-weight: normal;
  padding: 8px;
  color: #000;
  text-shadow: none;
  text-decoration: none;
}

.jqueryslidemenu ul.navi-main-lev3 li.act-first a,
.jqueryslidemenu ul.navi-main-lev3 li.act a,
.jqueryslidemenu ul.navi-main-lev3 li.act-last a {
  display: block;
  background-image : url(../images/css/1px-trans-act.png);
  background-repeat : repeat;
  font-weight: normal;
  padding: 8px;
  color: #000;
  text-shadow: none;
  text-decoration: none;
}

.jqueryslidemenu ul.navi-main-lev3 li.no-first a:hover,
.jqueryslidemenu ul.navi-main-lev3 li.no a:hover,
.jqueryslidemenu ul.navi-main-lev3 li.no-last a:hover {
  color: transparent;
  background-image : url(../images/css/1px-trans-act.png);
  background-repeat : repeat;
  text-shadow: none;
  color: #000;
  font-weight: normal;
  text-decoration: none;
}


* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
	
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
padding: 5px 0px 0px 0px;
position: absolute;
z-index: 500;
left: 0;
display: block;
visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid #81a6df;
}

/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
position: absolute;
top: 15px;
right: 7px;
}

.rightarrowclass{
position: absolute;
top: 13px;
right: 5px;
}






