#main {
    /*        border: 2px solid #8c8e91;*/
    
    clear: both;
    background: #fff;
    /*padding-top: 2em;*/
    font-family: 'Lato';
}

#contents {
    padding: 1.5em;
    background: #fff;
    min-height: 300px;
}

#header {
  position: relative;
  top: -58px;
  /* display: block; */
  margin: 0 auto;
  height: 50px;
  width: 100%;
  margin: auto;
}

#header ul#primary {
  /* position: relative; */
  /* top: -65px; */
  /* display: inline-block; */
  margin: auto;
    font-size: 12px;
    font-weight: 400;
  /* width: 99%; */
  /* height: auto; */
}

#header ul#primary li {
    display: inline;
    list-style: none;
    width:14.3%;
}

#header ul#primary a,
#header ul#primary span,
#header ul#primary a.current {
    /*        width: 8em;*/
    /*    height: 40px;*/
    
/*    text-transform: uppercase;*/
    display: block;
    float: left;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
/*    margin: 1px 2px 0 0;*/
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 1.25em;
    text-decoration: none;
    color: #fff;
}

#header ul#primary span,
#header ul#primary a.current,
#header ul#primary a.current:hover {
/*    border: 1px solid #333;*/
/*    border-bottom: none;*/
    background: #fdbf11;
/*    padding-bottom: 6px;*/
/*    margin-top: 0;*/
    color: #fff;
    font-weight: bold;
}

#header ul#primary a {
    background: #000;
/*    border: 1px solid #AAA;*/
    border-bottom: none;
    font-weight: bold;
    color: #fff;
}

#header ul#primary a:hover {
    margin-top: 0;
/*    border-color: #8c8e91;*/
    background: #fdbf11;
/*    padding-bottom: 5px;*/
    color: #fff;
}

#header ul#secondary {
    position: absolute;
    margin: 0;
    padding: 0;
    bottom: -1.4em;
    left: 1px;
    width: 50em;
    /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#secondary li a,
#header ul#secondary li span {
    width: auto;
    display: block;
    float: left;
    padding: 0 10px;
    margin: 0;
    text-align: auto;
    border: none;
    border-right: 1px dotted #AAA;
    background: none;
}

#header ul#secondary li a {
    color: #1696d2;
/*    text-decoration: underline;*/
}

#header ul#secondary li a:hover {
    color: #333;
    background: transparent;
    padding: 0 10px;
    border: none;
    border-right: 1px dotted #AAA;
}

#header ul#secondary li a:active {
    color: #000;
    background: transparent;
}

#header ul#secondary li:last-child a {
    border: none;
}