
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
  width: 100%;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;  
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.nav {
    z-index: 999;
    background-color: rgb(226, 226, 226);
    min-height: 75px;
    margin-top: 7px;
    margin-bottom: 5px;
    width: 100%;
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.45));
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.45));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.45));
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.45));
    box-shadow: inset 0 1px white, inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 2px #dadada, 0 3px #c4c4c4, 0 4px 3px rgba(0, 0, 0, 0.1);
}

.nav > li, .nav:active > .active {
    float: left;
    position: relative;
    margin: 0 0 4px;
    height: 74px;
    color: #595959;
    text-shadow: 0 1px white;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid;
    border-top: 3px solid rgb(65, 64, 64);
    border-color: #cfcfcf #d6d6d6 #c8c8c8;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.45));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.45));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.45));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.45));
    -webkit-box-shadow: inset 0 1px white, inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px #dadada, 0 3px #c4c4c4, 0 4px 3px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px white, inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px #dadada, 0 3px #c4c4c4, 0 4px 3px rgba(0, 0, 0, 0.1);
}
.nav > li:hover {

  height: 74px;
  color: #539f07;
  text-shadow: 0 1px white, 0 0 20px white;
  border-top: 3px solid green;
}

.nav > li.active,
.nav > .active:active,
.nav > li:active {
  z-index: 2;
  margin: 4px 0 0;
  color: #404040;
  background-color: white;
  border-color: #ccc;
  border-width: 1px 0;
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0));
  background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0));
  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0));
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), inset 0 -1px 1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.05), -1px 0 rgba(0, 0, 0, 0.05), 0 1px rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), inset 0 -1px 1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.05), -1px 0 rgba(0, 0, 0, 0.05), 0 1px rgba(255, 255, 255, 0.4);
  
}
.nav > li:active {
  z-index: 3;
}
.nav > li:first-child {
  border-left-width: 1px !important;
  border-left-color: #c6c6c6;
  border-radius: 0 0 0 5px;
}

.nav > li:nth-last-child(2) {
  border-right-width: 1px !important;
  border-right-color: #c6c6c6;
  border-radius: 0 5px 5px 0;
}
.nav > li + li, .nav:active > .active + li, .nav:active > li + .active {
  border-left-width: 0;
}
.nav > .active + li,
.nav > .active:active + li,
.nav > li:active + li,
.nav > li:active + .active {
  border-left-width: 1px;
}
.nav > li > a {
    z-index: 18;
  display: block;
  position: relative;
  line-height: 74px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: bold;
  color: inherit;
  text-decoration: none;
  outline: 0;
}
.nav > li > a:before {
  content: attr(title);
  position: absolute;
  top: 1px;
  left: 20px;
  color: rgba(255, 255, 255, 0.4);
  text-shadow: none;
}
.nav .nav-icon {
  padding: 0 10px;
}
.nav .nav-icon:before {
  display: none;
}

.doNotDisplay {
    display: none !important;
}

.doDisplay {
    display: block !important;
}