/*    Applied Seismology Consultants Ltd.    */
/*    Site CSS for navigation tabs/menus      */
/*    Author: Saurabh Pandya		     */

#NavList { border-style: none;
    background: rgb(218, 224, 210) url(../images/tabs/bg.gif) repeat-x scroll center bottom;
    float: left;
    font-size: 93%;
    line-height: normal;
    width: 100%;
    min-width: 850px;
    /* IE Dynamic Expression to set the width, ignored by other browsers */
    width:expression(document.body.clientWidth < 851 ? "850px" : "100%" );

    }

  #NavList ul { padding: 10px 10px 0pt;
    margin-top: 0pt;
    margin-right: 0pt;
    margin-bottom: 0pt;
    list-style-type: none;
    list-style-image: none;
    list-style-position: outside;
    }

  #NavList li { border-style: none;
    margin-top: 0pt;
    margin-right: 0pt;
    margin-bottom: 0pt;
    padding-top: 0pt;
    padding-right: 0pt;
    padding-bottom: 0pt;
    display: inline;
    }

  #NavList a { border-bottom: 1px solid rgb(119, 102, 85);
    margin: 0pt 0pt 0pt 9px;
    padding: 0pt 0pt 0pt 9px;
    background: transparent url(../images/tabs/left_both.gif) no-repeat scroll left top;
    float: left;
    text-decoration: none;
    }

  #NavList a span { padding: 5px 15pt 4px 6px;
    background-image: url(../images/tabs/right_both.gif);
    background-attachment: scroll;
    float: left;
    display: block;
    font-weight: bold;
    color: rgb(119, 102, 85);
    opacity: 1;
    background-repeat: no-repeat;
    background-position: right top;
    }

  #NavList a span { float: none;
    }

  #NavList a:hover span { color: rgb(51, 51, 51);
    }

  #NavList #current a { border-width: 0pt;
    background-position: 0pt -150px;
    }

  #NavList #current a span { background-position: 100% -150px;
    color: rgb(51, 51, 51);
    padding-bottom: 5px;
    }

  #NavList a:hover { background-position: 0% -150px;
    }

  #NavList a:hover span { background-position: 100% -150px;
    }

  #NavList #sub { display: none;
    background-position: left bottom;
    }

  #NavList #currentsub { display: none;
    margin-top: 10px;
    background-position: left bottom;
    }

  #NavList ul#currentsub { display: inline;
    position: absolute;
    top: 95px;
    width: 768px;
    height: 22px;
    left: 1px;
    padding-left: 19px;
    }

  #NavList ul#currentsub a { border-style: none none none solid;
    border-color: rgb(204, 204, 204);
    border-width: medium medium medium 1px;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 50%;
    padding-right: 12px;
    padding-left: 12px;
    color: rgb(153, 153, 153);
    font-weight: bold;
    text-decoration: none;
    margin-right: 15px;
    margin-left: -15px;
    
    }

   #NavList ul#currentsub a:hover { color: rgb(0, 0, 0);
    border-left-style: solid;
    border-left-color: rgb(204, 204, 204);
    }
   
   #activesub a { color: rgb(0, 0, 0) ! important;
   }

  #NavList li ul{ display:none;
     }