﻿

#divNav
{
    background-color: #ddd;
    margin: 0;
    padding: 0;
    height: 31px;
    width: 952px;
    font-size:16px;
}

#nav
{
    position: relative;
   -moz-padding-start:0px;
   -webkit-padding-start: 0px;
   margin:0;
    height: 31px;
    width: 952px;
    color: #FFF;
}

#nav ul{margin: 0;}

#nav li ul, #nav li ul
{
    margin: 0;
    padding: 0 0;
}

#nav a
{
    color:#444;
    text-decoration: none;
}

#nav li
{
    /*float the main list items*/
    margin: 0;
    float: left;
    display: block;
}

#nav li ul
{
    display: none;
}

#nav li ul, #nav li ul
{
    /*put the subnav below*/
    position: absolute;
    top: 31px;
    left: 0;
    
    /*background: #D7092D;*/
    height: 31px;
    width: 952px;
}

#nav li ul
{
  
}

#nav li:hover ul, #nav li.over ul
{
    /*for ie
    background: #D7092D;*/
}
#nav, #liBirthdays:hover ul, #nav, #liBirthdays.over ul
{
    /*for ie*/
    background: #D7092D;
}
#nav, #liMore:hover ul, #nav, #liMore.over ul
{
    /*for ie*/
    background: #8B8577;
}

#nav li a
{
    font-weight: bold;
    display: block;
    padding: 0;
    color: #444;
}

#nav li a
{
   
}

#nav li ul a, #nav li ul a
{
    border: 0;
    float: left; /*ie doesn't inherit the float*/
    width: auto;
}

#nav #liBirthdays ul a, #nav li ul a, .ylmSubNavHeight, .ylmNavPadding, .ylmSubNavHeight2
{
    
    background: #D7092D !important;
    border-bottom: Solid 1px #D7092D;
    color:#fff !important;
}

#nav li:hover ul a, #nav li.over ul li a
{
    /*for ie - the specificity is necessary*/
}


#nav, #liBirthdays:hover ul a, #nav, #liBirthdays.over ul li a
{
    /*for ie - the specificity is necessary*/
    background: #D7092D;
    color:#444;
}

#nav, #liMore:hover ul a, #nav, #liMore.over ul li a
{
    /*for ie - the specificity is necessary*/
    background: #8B8577;
}

#nav li.on ul
{
    display: block;
}

#nav li:hover ul, #nav li.over ul
{
    display: block;
    z-index: 6000;
}

#nav li a:hover, #nav li a:hover
{
    color: #FFF;
}

/*do the image replacement

#nav li span
{
    position: absolute;
    left: -9384px;
}*/

#liObits a, #liMemoriams a, #liThanks a, #liBirths a, #liBirthdays a, #liMore a, #liDate a
{
    display: block;
    position: relative;
    height: 30px;
    padding-right:16px;
    background-color: #FFF; /*contains all hover states*/
}

/*first, put the initial states in place*/

#liObits a
{
   background:url(/images/navbar_back_gradient.gif) repeat-x;
  color:#444 !important;
  border-left:Solid 1px #bbb;
  border-bottom:Solid 1px #aaa;
  text-align:center;
  width:138px;
  padding-left:16px;
  padding-right:16px;
  text-decoration:none;
  font-size:16px;
  height:30px;line-height:30px;
}

#liMemoriams a
{
     background:url(/images/navbar_back_gradient.gif) repeat-x;
  color:#444 !important;
  border-left:Solid 1px #bbb;
  border-bottom:Solid 1px #aaa;
  text-align:center;
  width:142px;
  padding-left:16px;
  padding-right:16px;
  text-decoration:none;
  font-size:16px;
  height:30px;line-height:30px;
}

#liThanks a
{
    background:url(/images/navbar_back_gradient.gif) repeat-x;
  color:#444 !important;
  border-left:Solid 1px #bbb;
  border-bottom:Solid 1px #aaa;
  text-align:center;
 width:115px;
  text-decoration:none;  height:30px;line-height:30px;
}

#liBirths a
{
    background:url(/images/navbar_back_gradient.gif) repeat-x;
  color:#444 !important;
  border-left:Solid 1px #bbb;
  border-bottom:Solid 1px #aaa;
  text-align:center;
 width:105px;
  text-decoration:none;  height:30px;line-height:30px;
}

#liBirthdays a
{
    background: red url(/images/navbar_back_gradient.gif) repeat-x;
    color:#444;
    border-left:Solid 1px #bbb;
    border-bottom:Solid 1px #aaa;
    text-align:center;
    width:158px;
    text-decoration:none;  height:30px;line-height:30px;
}


.BirthdaysSelected a
{
    background: red url(/images/navbar_tab_back_red.gif) repeat-x !important;
    color:#fff !important;
    border-bottom:Solid 1px #D7092D !important; 
    text-align:center;
    width:158px;
    text-decoration:none;  height:30px;line-height:30px;
}


#liMore a
{
    line-height:30px;
    background:url(/images/navbar_back_gradient.gif) repeat-x;
    color:#444 !important;
    border-left:Solid 1px #bbb;
    border-bottom:Solid 1px #aaa;
    text-align:center;
    width:97px;
    text-decoration:none;  height:30px;
}


#liDate a
{
      line-height:30px;
      background:url(/images/navbar_back_gradient.gif) repeat-x;
      color:#444 !important;
      border-left:Solid 1px #bbb;
      border-bottom:Solid 1px #aaa;
      text-align:right;
      vertical-align:middle;
      width:169px;
      font-weight:normal !important;
      font-size:12px !important;
      cursor:default !important;
      text-decoration:none;
      border-right:Solid 1px #bbb;
      height:30px;
}

/*active area - for this demo - the code could be based on a body class, and probably work better.*/

/*add selectors for the other li's and background-positions*/

/*hover states*/

#liObits a:hover, #liObits:hover a, #liObits.over a
{
    background: url(/images/navbar_tab_back_purple.gif) repeat-x;
    cursor: pointer;
    color: #FFF !important;
}

#liMemoriams a:hover, #liMemoriam:hover a, #liMemoriam.over a
{
    
    background: url(/images/navbar_tab_back_brown.gif) repeat-x;
    cursor: pointer;
    color: #FFF !important;
}

#liThanks a:hover, #liThanks:hover a, #liThanks.over a
{
    background: url(/images/navbar_tab_back_green.gif) repeat-x;
    cursor: pointer;
    color: #FFF !important;
}

#liBirths a:hover, #liBirths:hover a, #liBirths.over a
{
    background: url(/images/navbar_tab_back_orange.gif) repeat-x;
    cursor: pointer;
    color: #FFF !important;
}

#liBirthdays a:hover, #liBirthdays:hover a, #liBirthdays.over a
{
    background: url(/images/navbar_tab_back_red.gif) repeat-x;
    cursor: pointer;
    color: #FFF !important;
    border-bottom:Solid 1px #D7092D;
    
}

#celebPillar{cursor: default !important;}
#celebPillar a{cursor: default !important;}

#liMore a:hover, #liMore:hover a, #liMore.over a
{
       background: url(/images/navbar_tab_back_grey.gif) repeat-x;
    cursor: pointer;
    color: #FFF !important;
}
#liDate a:hover, #liDate:hover a, #liDate.over a
{
   background:url(/images/navbar_back_gradient.gif) repeat-x;
  cursor:default !important;
}

/*subnav formatting*/

#nav li ul a, #nav li ul a
{
  
    display: block;
    /*background-color: #D7092D;*/
    color: #fff;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    font-weight:normal;
    /*padding-left: 25px;*/
}

#nav li ul a:hover, #nav li ul a:hover
{    text-decoration: underline;
    background:none;
}



/*.ylm15LeftPadding{padding-left:24px;}
.ylm15RightPadding{padding-right:15px;}
/*.ylmNavPadding{padding-left:12px;padding-right:14px;}*/
/*.ylmSubNavHeight{line-height:30px; }
.ylmSubNavHeight2{line-height:30px; width:148px; height:31px;}
.ylmSubNavHeight3{padding-left: 20px; width:89px; line-height:31px; height:32px; background-color:#D7092D; color:White;}
.ylmNavPadding5{padding-right:5px !important;}*/

.ylm15LeftPadding{padding-left:24px;}
.ylm15RightPadding{padding-right:15px;}
.ylmSubNavHeight{line-height:31px; width:auto; height:31px;}
.ylmSubNavHeight2{line-height:31px; width:183px; height:31px;}
.ylmSubNavHeight3{padding-left: 20px;width:89px; height:32px;  line-height:31px; background-color:#D7092D; color:White;}
.ylmNavPadding{padding-right:3px;}
.ylmNavPadding5{padding-right:8px !important;padding-left:10px !important;}


/* BOLD SUB NAV ON HIGHLIGHT */
.SubNavBirthdayBold{ text-decoration:underline !important;}
.SubNavAnniBold{ text-decoration:underline !important; }
.SubNavEngagementBold{ text-decoration:underline !important; }

/* icons for past 7 days */
.ylmIconBox { width: 100%; }
.ylmIcons { float: left; font-size: 12px; white-space: nowrap; padding-right: 10px; padding-top: 6px; padding-bottom: 2px; }
.ylmIcons img { margin-right: 4px; }
.spacer { clear: left; }