

/* Customize the nav-justified links to be fill the entire space of the .navbar */
@media(min-width:768px)
{
.nav-justified {
  background-color: #eee;
  border: 0px solid #ccc;
  border-radius: 0px;
  margin:0;
  padding:0;
}
.nav-justified > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
  font-weight:700;
  color: #fff;
  text-align: center;


  background:rgba(215,16,34,1);
  background:url(../images/menu-bg.png);
  background-repeat: repeat-x; /* Repeat the gradient */
  border-left: 1px solid #fff;
}
    .nav-justified > li > a:hover {
        background: rgba(206,0,12,1);
        background:url(../images/menu-bg-hover.png);
    }

.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
  background:#24cc40;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
          box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
}
.nav-justified > li:first-child > a {
  border-radius: 6px 0 0 6px;
  border-left: 0px solid #fff;
}
.nav-justified > li:last-child > a {
  border-bottom: 0;
  border-radius: 0 6px 6px 0;

}
.navbar-default .nav-justified > .disabled > a,
        .navbar-default .nav-justified > .disabled > a:hover,
        .navbar-default .nav-justified > .disabled > a:focus {
            color: #fff;
            background-color: #24cc40;
            border-left-color:#fff;
        }

        
        .navbar-default .nav-justified > .open > a,
        .navbar-default .nav-justified > .open > a:hover,
        .navbar-default .nav-justified > .open > a:focus {
            color: #fff;
            background-color:#24cc40;
            border-left-color:#fff;
        }

.sub-menu .active a{ background:rgba(206,0,12,1);}
.sub-menu .active a:hover {background: rgba(36,204,64,1);}

@media (min-width: 768px) {
  .nav-justified {
    max-height: 52px;
  }
  .nav-justified > li > a {
    border-right: 0px solid #d5d5d5;
    border-left: 1px solid #fff;
  }

}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .masthead,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
}
