body {
  padding-top: 20px;
}

.footer {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
  background-color: #eee;
  background:url(../images/nav_bg.jpg);
  -webkit-background-size:auto;
  -moz-background-size:auto;
  -o-background-size:auto;
  background-size:auto;
  z-index:100;
}
.nav-justified > li > a {
  margin-bottom: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  color: #fff;
  font-size:1.2em;
  text-align: center;

}

.nav-justified > .active > a, 
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background-color: #000;
  background-image: none;
  box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
  color:#fff;
}
.nav-justified > li:first-child > a {
  border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 0 5px 5px;
}

@media (min-width: 768px) {
  .nav-justified {
    max-height: 50px;
  }
  .nav-justified > li > a {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
  }
  .nav-justified > li:first-child > a {
    border-left: 0;
  }
  .nav-justified > li:last-child > a {
    border-right: 0;
  }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
}
